About two weeks ago, Ruby on Rails 3.2 had been released. To update to the rails 3.2.0 or higher, you not only do the "gem update" or "bundle update" but also copy rails command file and rackup command file manually. There is only one stumbling point when updating to the rails 3.2.0 or higher - despite ruby-gems related with rails are upgraded successfully, rails command and rackup command are NOT.
Thursday, February 2, 2012
Monday, January 30, 2012
Start reading "Refactoring: Ruby Edition"
I have started reading the Japanese edition of "Regular Expressions Cookbook".
The cover of English edition is below:
Contrary to expectations before buying it, there are plenty of sample codes to train refactoring. So that I will take a long time for finishing to read this book.
The cover of English edition is below:
Contrary to expectations before buying it, there are plenty of sample codes to train refactoring. So that I will take a long time for finishing to read this book.
Friday, January 27, 2012
Privacy and Big Data
Labels:
book
This book contains nothing about any programming languages, but, IMHO, this is the greatest one among no-programming-language books ever published by O'Reilly.
As title said, this book is about "Privacy and Big Data". Authors describe how different view of privacy between U.S. and Europe, and they also describe how degree our privacy is protected or violated in nowadays - in the digital age. This book shows us some sub themes how and what courts, companies and agencies have dealt with privacy or big data, with recent news keywords from all over the world:
- Arab Spring
- Right to be forgotten, proposed by EU
- London Riots and censored BlackBerry
- Demo at BART and shutting down cells
This book was published at September 2011, so that there are no mentions about SOPA and PIPA themselves. But, there are certainly mentions about MPAA, RIAA and what they want and how they want to do. If you are programmer or not, and, if your business deals big data or not, we all the people living in the digital age may read this book. And we may reconsider how and what we do for our privacy on and off the Internet.
(Here comes the new topic in phosphorescence: Consumer Privacy Bill of Rights.)
Tuesday, January 24, 2012
Install OpneJDK7 on FreeBSD
FreeBSD deals many kind of JDKs. But, at the time of writing this article, OpenJDK7 is the only one that are ready for Java7. So that I introduce the way to install OpneJDK7 on FreeBSD.
Edit /etc/make.conf for OpenJDK7
Add these definitions to /etc/make.conf:JAVA_VENDOR=openjdk
JAVA_VERSION=1.7
BOOTSTRAPJDKDIR=/usr/local/openjdk7
JAVA_PREFERRED_PORTS=JAVA_PORT_NATIVE_OPENJDK_JDK_1_7
Install via packages (mandatory)
# pkg_add -r openjdk7That's all. Let's check the output of java -version command.
Install via ports (option)
If we want to install openjdk7 via ports, however, we must prepare for another JDK to be installed. In this article, I suggest to install openjdk7 via packages(above) at first, then install openjdk7 via ports.# pkg_add -r openjdk7 # cd /usr/ports/java/openjdk7 # make install clean # pkgdb -FLet's check again java -version command.
Saturday, January 21, 2012
Rebuild Korundum and QtRuby to use Ruby 1.9
In the previous article, I introduce thee way to rebuild portupgrade to use Ruby 1.9 on PC-BSD. By the way, on PC-BSD, there are two more libraries that depend on ruby 1.8 - Korundum and QtRuby. So that I introduce the way to rebuild these to use Ruby 1.9.
Subscribe to:
Posts (Atom)
