Wednesday, February 29, 2012

I understand "git commit --amend"

I had just known that the git command "git commit --amend" was existing. But I didn't know what it was and when/how I could use this. But when I have been researching about Bill of Rights in previous post, I understand it. Like as "amendments" re-define and re-design the last version of United States Constitution, "git commit --amend" re-defines and re-designs the last commit.

Monday, February 27, 2012

Consumer Privacy Bill of Rights

In the book I have introduced contains the difference between US and EU. The typical difference is that EU has taken top-down privacy approach despite US has taken bottom-up privacy approach. But, 3 days ago, US government announced "Consumer Privacy Bill of Rights".

PDF : Consumer Privacy Bill of Rights
News : White House Releases Long-Anticipated Privacy Report

So that US will change its privacy approach to top-down like EU's. I try to the "Privacy and Big Data" authours:


And accept a reply:


I'm looking forward to read the refined book.

Friday, February 24, 2012

PostgreSQL Conference 2012

PostgreSQL Conference 2012 was held at here.

大きな地図で見る
I attended these sessions:

Tuesday, February 21, 2012

The future of MVC4

One week ago, Microsoft announced that ASP.NET MVC4 beta had been released. And Scott Guthrie said some important things in his blog like below:
  • ASP.NET MVC4 installer contains EntityFramework 4.3
  • ASP.NET MVC4 installer contains Razor template engine v2
  • ASP.NET MVC4 only supports .NET Framework 4 and VisualStudio 2010. In other words, it doesn't support .NET Framework 4.5 and VisualStudio 11 at this beta release. These all will be supported at RTW in this September.

Saturday, February 18, 2012

Two little stumbling points of ImageMagick

IMHO, there are two little stumbling points when I use ImageMagick command line. The first one is for Windows only, but the other one is for all platforms.

The Convert issue

The official usage page explains what is "The Convert issue". This is because that any default Windows environment contains convert.exe command, so that there is the risk of conflicting with ImageMagick's convert.exe. This is the reason why Windows installer add ImageMagick's root path to the system path, not to the user's path. And you can also avoid this risk as written in "The Convert issue".

Command options are not liner.

In CUI commands, their command options generally have two simple rules.
  • Command options start with the character -(minus).
  • Command options are interpreted in liner.
But, in ImageMagick, these are not true. In other words, there are another two rules. You could find this in all over ImageMagick examples.
  • Command options start with... not only the character -(minus) but also the character +(plus). Plus option is the shortcut for corresponding minus option with default values.
  • Command options are interpreted with ()(paren) priority.
Off course, these rule is so powerful to generate complex image effects, but it's not easy for ImageMagick newbies.