<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7831820918565515694</id><updated>2012-02-12T18:28:35.743+09:00</updated><category term='rails3'/><category term='QML'/><category term='ECMAScript'/><category term='event'/><category term='FreeBSD'/><category term='regexp'/><category term='F#'/><category term='WebKit'/><category term='MariaDB'/><category term='NetBeans'/><category term='Java'/><category term='book'/><category term='rubykaigi2010'/><category term='MongoDB'/><category term='MVC3'/><category term='mingw'/><category term='PC-BSD'/><category term='cmake'/><category term='QtRuby'/><category term='JRuby'/><category term='git'/><category term='Ruby'/><category term='DB2'/><category term='rubykaigi2011'/><category term='memcached'/><category term='Qt'/><category term='IronRuby'/><category term='Mono'/><category term='rubykaigi2009'/><category term='openSUSE'/><category term='HTML5'/><category term='April_Fool'/><title type='text'>phosphorescence</title><subtitle type='html'>in Japanese : 燐光</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://phosphor-escence.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default?start-index=101&amp;max-results=100'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>370</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4098773599843146069</id><published>2012-02-10T19:43:00.000+09:00</published><updated>2012-02-10T19:43:00.760+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>specular reflection with mini_magick (2)</title><summary type='text'>(continued from phosphorescence: specular reflection with mini_magick (1))

"Specular Reflection" consists of 4 operations.
clone from original image and rotate it
add transparency to cloned image
combine original image and cloned one
resize combined image
In this article, I introduce the operation of both (3) and (4) with referring ImageMagick's sample page and using mini_magick. Roughly </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/02/specular-reflection-with-minimagick-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4098773599843146069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4098773599843146069'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/02/specular-reflection-with-minimagick-2.html' title='specular reflection with mini_magick (2)'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-tizXGsF6FEg/TzOmZnE5uYI/AAAAAAAAAYk/iO4RcUOmgQ0/s72-c/reflected_white.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2420486211824621401</id><published>2012-02-07T21:24:00.000+09:00</published><updated>2012-02-10T20:11:39.851+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>specular reflection with mini_magick (1)</title><summary type='text'>"Specular Reflection" - a.k.a. "mirror effect" - is the most popular effect for image file to be good-looking. This effect consists of 4 operations.
clone from original image and rotate it
add transparency to cloned image
combine original image and cloned one
resize combined image
In this article, I introduce the operation of both (1) and (2) with referring ImageMagick's sample page and using </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/02/specular-reflection-with-minimagick-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2420486211824621401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2420486211824621401'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/02/specular-reflection-with-minimagick-1.html' title='specular reflection with mini_magick (1)'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-TyyAoVLGDio/TzEXrux7eHI/AAAAAAAAAYM/RHLxaE6dThI/s72-c/original.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7485122353382062988</id><published>2012-02-04T20:57:00.000+09:00</published><updated>2012-02-04T20:57:37.152+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JRuby'/><title type='text'>JRuby 1.7 becomes 1.9 mode as default mode</title><summary type='text'>In this issue ticket - http://jira.codehaus.org/browse/JRUBY-6387 - JRuby team surveys that JRuby 1.7 becomes 1.9 mode as default mode or not. And then, decided!!</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/02/jruby-17-becomes-19-mode-as-default.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7485122353382062988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7485122353382062988'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/02/jruby-17-becomes-19-mode-as-default.html' title='JRuby 1.7 becomes 1.9 mode as default mode'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3482931570831479365</id><published>2012-02-02T20:58:00.000+09:00</published><updated>2012-02-03T20:14:49.677+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><title type='text'>Ruby on Rails 3.2 had been released. (with one stumbling point)</title><summary type='text'>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 </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/02/ruby-on-rails-32-had-been-released-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3482931570831479365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3482931570831479365'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/02/ruby-on-rails-32-had-been-released-with.html' title='Ruby on Rails 3.2 had been released. (with one stumbling point)'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5905702725811423058</id><published>2012-01-30T19:09:00.000+09:00</published><updated>2012-01-30T19:09:00.657+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>Start reading "Refactoring: Ruby Edition"</title><summary type='text'>I have started reading the Japanese edition of "Regular Expressions Cookbook".

Refactoring: Ruby Edition
(Japanese Edition) Refactoring: Ruby Edition

The cover of English edition is below:

Contrary to expectations before buyying it, there are plenty of sample codes to train refactoring. So that I will take a long time for finishing to read this book.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/start-reading-refactoring-ruby-edition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5905702725811423058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5905702725811423058'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/start-reading-refactoring-ruby-edition.html' title='Start reading &quot;Refactoring: Ruby Edition&quot;'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2789446383902868158</id><published>2012-01-27T20:50:00.001+09:00</published><updated>2012-01-28T21:55:02.288+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>Privacy and Big Data</title><summary type='text'>
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. </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/privacy-and-big-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2789446383902868158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2789446383902868158'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/privacy-and-big-data.html' title='Privacy and Big Data'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-6413351081214320254</id><published>2012-01-24T19:13:00.000+09:00</published><updated>2012-01-24T19:13:00.205+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PC-BSD'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='FreeBSD'/><title type='text'>Install OpneJDK7 on FreeBSD</title><summary type='text'>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 OpenJDK7Add 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 </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/install-opnejdk7-on-freebsd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6413351081214320254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6413351081214320254'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/install-opnejdk7-on-freebsd.html' title='Install OpneJDK7 on FreeBSD'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4985764173995217897</id><published>2012-01-21T17:52:00.003+09:00</published><updated>2012-01-21T17:52:38.580+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PC-BSD'/><category scheme='http://www.blogger.com/atom/ns#' term='FreeBSD'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='QtRuby'/><title type='text'>Rebuild Korundum and QtRuby to use Ruby 1.9</title><summary type='text'>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.

Before rebuildingPrepare ports on /usr/ports
Install ccache to build Ruby 1.9, on /usr/ports/devel/ccache
Add RUBY_DEFAULT_VER=1.9 to /etc/</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/rebuild-korundum-and-qtruby-to-use-ruby.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4985764173995217897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4985764173995217897'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/rebuild-korundum-and-qtruby-to-use-ruby.html' title='Rebuild Korundum and QtRuby to use Ruby 1.9'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-96482613005695482</id><published>2012-01-19T19:58:00.000+09:00</published><updated>2012-01-19T19:58:51.075+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PC-BSD'/><category scheme='http://www.blogger.com/atom/ns#' term='FreeBSD'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Rebuild portupgrade to use Ruby 1.9</title><summary type='text'>PC-BSD installs portupgrade as default, but, it uses Ruby 1.8 - not Ruby 1.9. In this article, I introduce the way to rebuild portupgrade to use Ruby 1.9.

Before rebuildingPrepare ports on /usr/ports
Install ccache to build Ruby 1.9, on /usr/ports/devel/ccache
Add RUBY_DEFAULT_VER=1.9 to /etc/make.conf
Deinstall Ruby 1.8 on /usr/ports/lang/ruby18
Install Ruby 1.9 on /usr/ports/lang/ruby19

</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/rebuild-portupgrade-to-use-ruby-19.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/96482613005695482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/96482613005695482'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/rebuild-portupgrade-to-use-ruby-19.html' title='Rebuild portupgrade to use Ruby 1.9'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4674757969975085993</id><published>2012-01-16T18:47:00.000+09:00</published><updated>2012-01-16T18:47:00.235+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PC-BSD'/><category scheme='http://www.blogger.com/atom/ns#' term='FreeBSD'/><title type='text'>Dual Boot PC-BSD 9.0 and OS X Lion on Macmini</title><summary type='text'>A few days ago, both FreeBSD 9.0 and PC-BSD 9.0 are officially released, and these handbooks are also upgraded.
FreeBSD Handbook
PC-BSD Users Handbook
IMO, the best advantage of PC-BSD 9.0 compared with FreeBSD 9.0 is that the installer can make easily dual boot with FreeBSD 9.0/PC-BSD 9.0 and Mac OS X 10.5 or later on Macmini, Macbook and any Mac machines. In this article, I introduce the way I </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/dual-boot-pc-bsd-90-and-os-x-lion-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4674757969975085993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4674757969975085993'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/dual-boot-pc-bsd-90-and-os-x-lion-on.html' title='Dual Boot PC-BSD 9.0 and OS X Lion on Macmini'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-3ll3UMYNLho/TxKhY7ybIZI/AAAAAAAAAXw/G-BFJokKRWg/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%2B2012-01-15%2B16.39.18.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5787841937599299755</id><published>2012-01-13T20:20:00.005+09:00</published><updated>2012-01-14T05:48:09.839+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>mini_magick 3.4</title><summary type='text'>At the end of last year, both mini_magick 3.4 and subexec 0.2.1 are released. Before this release, we had to write different codes for POSIX and for Windows as mentioned in phosphorescence: mini_magick - A better RMagick alternative. Then now, since this release, we can write the same codes both for POSIX and for Windows.
require 'mini_magick'
image = MiniMagick::Image.open("http://www.google.com</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/minimagick-34.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5787841937599299755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5787841937599299755'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/minimagick-34.html' title='mini_magick 3.4'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5521451162980152919</id><published>2012-01-10T18:41:00.000+09:00</published><updated>2012-01-11T06:25:03.886+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='regexp'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>I've finished reading "Regular Expressions Cookbook"</title><summary type='text'>I've finished reading Regular Expressions Cookbook.

Between Chapter 1 and Chapter 3, This book makes us learn or re-learn the basis of Regular Expression. It is useful both for newbie and for others.
Between Chapter 4 and Chapter 8, This book is totally "the recipe book". We should re-read each corresponding chapters whenever we need any solutions.
Japanese edition contains how to deal Japanese </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/ive-finished-reading-regular.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5521451162980152919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5521451162980152919'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/ive-finished-reading-regular.html' title='I&apos;ve finished reading &quot;Regular Expressions Cookbook&quot;'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7997842207391455846</id><published>2012-01-07T20:05:00.000+09:00</published><updated>2012-01-07T20:05:00.386+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JRuby'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><title type='text'>Enable G1GC</title><summary type='text'>Since Java7 update 2, Java7 becomes stable, steadily. So that now is the time to try G1GC.
&gt; java -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC Another args...
If you want to use G1GC commonly, set these VM args to environment variable JAVA_OPTS.
JAVA_OPTS="-XX:+UnlockExperimentalVMOptions -XX:+UseG1GC"&gt; java $JAVA_OPTS Another args...Another advantage to set JAVA_OPTS is that other Java programs</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/enable-g1gc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7997842207391455846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7997842207391455846'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2012/01/enable-g1gc.html' title='Enable G1GC'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3957956752303959961</id><published>2011-12-22T21:43:00.000+09:00</published><updated>2011-12-22T21:43:00.357+09:00</updated><title type='text'>Winter brake 2011-2012</title><summary type='text'>I take a winter brake, so I suspend posts and comments to this blog for a moment. Resume will be January 7, 2012. 

I wish you a Merry Christmas and a Happy New Year.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/winter-brake-2011-2012.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3957956752303959961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3957956752303959961'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/winter-brake-2011-2012.html' title='Winter brake 2011-2012'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2023069778287312654</id><published>2011-12-19T20:03:00.002+09:00</published><updated>2011-12-19T20:04:13.211+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><title type='text'>Tips: Which are you using java command, JDK's or JRE's?</title><summary type='text'>This is an easy tips. Which are you using java command, JDK's or JRE's? How do you recognize it? Let's type the command below:
&gt; java -server -version
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)If succeed, that is JDK's , and if not, that is JRE's.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/tips-which-are-you-using-java-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2023069778287312654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2023069778287312654'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/tips-which-are-you-using-java-command.html' title='Tips: Which are you using java command, JDK&apos;s or JRE&apos;s?'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4424005740999486278</id><published>2011-12-16T20:09:00.002+09:00</published><updated>2011-12-17T22:25:24.639+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Qt'/><title type='text'>Qt 4.8.0 and QtCreator 2.4.0 have been released</title><summary type='text'>In a few days, Qt Framework 4.8.0 and QtCreator 2.4.0 have been released. Since this release, Lighthouse project is finally integrated.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/qt-480-and-qtcreator-240-have-been.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4424005740999486278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4424005740999486278'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/qt-480-and-qtcreator-240-have-been.html' title='Qt 4.8.0 and QtCreator 2.4.0 have been released'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4715587694071177558</id><published>2011-12-13T22:36:00.000+09:00</published><updated>2011-12-13T22:36:22.862+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>BigMath</title><summary type='text'>Since Ruby 1.9.3, bigdecimal library has powered up. Especially, BigMath module is so.

irb(main):001:0&gt; require 'bigdecimal/math'
=&gt; true
irb(main):002:0&gt; prec = 10
=&gt; 10
irb(main):003:0&gt; (-BigMath::PI(prec)).to_s
=&gt; "-0.3141592653589793238462643388813853786957412E1"
irb(main):004:0&gt; BigMath::exp(-BigMath::PI(prec), prec).to_s
=&gt; "0.4321391826E-1"
But, unfortunately, bigdecimal library now does </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/bigmath.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4715587694071177558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4715587694071177558'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/bigmath.html' title='BigMath'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-8798848229598855089</id><published>2011-12-10T08:57:00.001+09:00</published><updated>2011-12-15T08:47:17.452+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mono'/><title type='text'>Mono 2.10.7 for Mac has been released</title><summary type='text'>A few days ago, Mono Framework 2.10.7 has been released only for Mac OS X. this release includes fixes for gtk related bug - e.g. Multi-byte characters are garbled on MonoDevelop. So that, since 2.10.7, we just install and use Mono and MonoDevelop without multi-byte font settings like phosphorescence: Modify the default font of Mono after 2.10.3.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/mono-2107-for-mac-has-been-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8798848229598855089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8798848229598855089'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/mono-2107-for-mac-has-been-released.html' title='Mono 2.10.7 for Mac has been released'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2126487852697005020</id><published>2011-12-08T20:48:00.000+09:00</published><updated>2011-12-08T20:48:38.343+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='regexp'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>Ignore case partially</title><summary type='text'>It's easy to ignore case of whole word in regular expression. But How do we do ignore case partially? For example, matching with AbcD, abcD, Abcd and abcd, but not matching ABCD, aBCd and so forth.

In the Japanese edition of "Regular Expressions Cookbook", there are two approaches.

mode toggle "i"In the page #28, surround the word to ignore between (?i) and (?-i):
/(?i)a(?-i)bc(?i)d(?-i)/
group</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/ignore-case-partially.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2126487852697005020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2126487852697005020'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/ignore-case-partially.html' title='Ignore case partially'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3480556564374599557</id><published>2011-12-05T19:41:00.000+09:00</published><updated>2011-12-08T19:11:24.927+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='regexp'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>Start reading Regular Expressions Cookbook</title><summary type='text'>I have started reading the Japanese edition of "Regular Expressions Cookbook".

The cover of English edition is below:
In earlier page, I encountered (?i) that I never knew until reading the Recipe 2.1 on this book.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/start-reading-regular-expressions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3480556564374599557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3480556564374599557'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/start-reading-regular-expressions.html' title='Start reading Regular Expressions Cookbook'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3843743599537412991</id><published>2011-12-02T21:54:00.001+09:00</published><updated>2011-12-02T22:00:17.492+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openSUSE'/><title type='text'>Screenshot of Snippper</title><summary type='text'>In my previous article, I introduced just a little bit about "Snapper". Now then I introduce these screenshots.

The first one is the screenshot about list of snapshots.

The second one is the screenshot about each snapshot.
</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/screenshot-of-snippper.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3843743599537412991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3843743599537412991'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/12/screenshot-of-snippper.html' title='Screenshot of Snippper'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-u_tiTaI376o/TtjLb-1XGOI/AAAAAAAAAXU/fOP1JEFYyB4/s72-c/snapper01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7410929178270761070</id><published>2011-11-29T23:59:00.000+09:00</published><updated>2011-11-30T06:58:59.960+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mingw'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>I've finished reading "Agile Web Development with Rails 4th edition"</title><summary type='text'>I've finished reading Agile Web Development with Rails 4th edition.

Rails 3.1 is significantly different both from rails2 and from rails3.0, so that you should read it if you want to catch up latest rails.
In this book, all samples are written with Ruby 1.9 - there is no exaggeration that Pragmatic Programmers recommend using Ruby 1.9.
In this book, MinGW is introduced as Windows Environment - </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/ive-finished-reading-agile-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7410929178270761070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7410929178270761070'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/ive-finished-reading-agile-web.html' title='I&apos;ve finished reading &quot;Agile Web Development with Rails 4th edition&quot;'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7755862589367473979</id><published>2011-11-26T18:40:00.001+09:00</published><updated>2011-11-30T07:05:39.143+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MongoDB'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><title type='text'>Tips for MongoDB cache store and assets on Rails 3.1</title><summary type='text'>(continued from phosphorescence: How to use MongoDB as model, session store and cache store on Rails3)

MongoDB cache store does not accept binary cacheRails3.1's cache feature caches all – page caches, action caches, fragment caches and caches for files called assets(JavaScripts, stylesheets and images). All these are cached in default. But MondoDB cache store we have chosen in previous article </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/tips-for-mongodb-cache-store-and-assets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7755862589367473979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7755862589367473979'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/tips-for-mongodb-cache-store-and-assets.html' title='Tips for MongoDB cache store and assets on Rails 3.1'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4332609488666626081</id><published>2011-11-24T21:09:00.001+09:00</published><updated>2011-11-26T19:42:39.507+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MongoDB'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><title type='text'>How to use MongoDB as model, session store and cache store on Rails3</title><summary type='text'>When we use rails3 as out-of-the-box, we implicitly choose ActiveRecord for model, Cookie for session store and on-memory for cache store. But we can choose MongoDB for all of them. I start to explain these ways one by one.


MongoDB as modelThere are two de-facto mapping libraries for MongoDB – the one is MongoMapper and the other one is Mongoid. In this article, I choose Mongoid. When we choose</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/how-to-use-mongodb-as-model-session.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4332609488666626081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4332609488666626081'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/how-to-use-mongodb-as-model-session.html' title='How to use MongoDB as model, session store and cache store on Rails3'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-1818909003061133681</id><published>2011-11-21T20:15:00.001+09:00</published><updated>2011-11-21T20:33:17.345+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mono'/><title type='text'>Mono Project is looking for answers to the questionnaire</title><summary type='text'>On download page of Mono project, they are looking for answers to the questionnaire. In current status, Mono project faces to mobile products, and less facing to existing products and features. So, if you want to run ASP.NET MVC, F# and so forth on Mono Framework in the future as same as current, please visit the site and appear with answering the questionnaire.

On download page of Mono project</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/mono-project-is-looking-for-answers-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/1818909003061133681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/1818909003061133681'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/mono-project-is-looking-for-answers-to.html' title='Mono Project is looking for answers to the questionnaire'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-8401077037648713838</id><published>2011-11-18T20:23:00.001+09:00</published><updated>2011-11-18T20:44:31.054+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openSUSE'/><title type='text'>openSUSE 12.1 has been released - for new UXs</title><summary type='text'>2 days ago, openSUSE 12.1 has been released (see this post). This is not only the release for latest packages but also the release for new UXs.

New Installation ExperienceIf you want install from openSUSE 11.3 or former one, or want to clean-install, download and use install media as you done before. But if you want to install from openSUSE 11.4, you can update with this approach. Of course, </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/opensuse-121-has-been-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8401077037648713838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8401077037648713838'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/opensuse-121-has-been-released.html' title='openSUSE 12.1 has been released - for new UXs'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7097162948936872209</id><published>2011-11-15T19:30:00.000+09:00</published><updated>2011-11-15T20:35:06.851+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>Sample for uploading file in Rails3 way on AWDwR 4th chapter21</title><summary type='text'>At page 348 on Agile Web Development with Rails 4th edition chapter21 (ActionView), there are samples for uploading file. But, these are totally in Rails2 way. So I re-write in rails3 way.

Model&gt; rails g model Picture comment:string name:string content_type:string data:binary
migration file : same as on the book

picture.rb :
class Picture &lt; ActiveRecord::Base
  validates :content_type,
</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/sample-for-uploading-file-in-rails3-way.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7097162948936872209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7097162948936872209'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/sample-for-uploading-file-in-rails3-way.html' title='Sample for uploading file in Rails3 way on AWDwR 4th chapter21'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3170701684258267876</id><published>2011-11-12T18:45:00.001+09:00</published><updated>2011-11-14T21:36:57.679+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>Rails3's form helpers are ready to HTML5 input types</title><summary type='text'>On Agile Web Development with Rails 4th edition chapter21 (ActionView), I learn the fact that Rails3's form helpers are ready to HTML5.


Form helper of Rails3Corresponding HTML5 input type
 
search_fieldsearch
telephone_fieldtel
url_fieldurl
email_fieldemail
number_fieldnumber
range_fieldrange
 
There are no form helpers corresponding neither input types related with date or time, nor input type</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/rails3s-form-helpers-are-ready-to-html5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3170701684258267876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3170701684258267876'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/rails3s-form-helpers-are-ready-to-html5.html' title='Rails3&apos;s form helpers are ready to HTML5 input types'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2944007332189549178</id><published>2011-11-10T19:51:00.000+09:00</published><updated>2012-01-14T05:47:46.422+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>mini_magick - A better RMagick alternative</title><summary type='text'>Unfortunately, RMagick has been a vaporware despite new developer had been inherited from former one. There are less activities. So that we should seek its alternative. The better one is mini_magick.

installation&gt; gem list mini_magick
Successfully installed subexec-0.1.0
Successfully installed mini_magick-3.3
UsageIn short, check readme.

For example for POSIX:
require 'mini_magick'
image = </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/minimaick-better-rmagick-alternative.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2944007332189549178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2944007332189549178'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/minimaick-better-rmagick-alternative.html' title='mini_magick - A better RMagick alternative'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5211065422316344512</id><published>2011-11-07T21:18:00.001+09:00</published><updated>2011-11-07T21:24:05.491+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><title type='text'>Install Ruby goodies for ruby 1.9.3 on Windows</title><summary type='text'>If you install Ruby 1.9.3 on Windows from source, there are two lacked features - readline and debugger. This article introduces using these features in Ruby 1.9.3 on Windows.

readlineIf you are a specialist of cygwin or mingw, you may also build readline from source. But, there are an easier way - installing rb-readline.
&gt; gem install rb-readlineAnd you should check rb-readline is active like </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/install-ruby-goodies-for-ruby-193-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5211065422316344512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5211065422316344512'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/install-ruby-goodies-for-ruby-193-on.html' title='Install Ruby goodies for ruby 1.9.3 on Windows'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5591189105226760545</id><published>2011-11-04T19:59:00.002+09:00</published><updated>2011-11-04T20:00:09.883+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Ruby 1.9.3 p0 has been released</title><summary type='text'>A few days ago, finally, Ruby 1.9.3 p0 has been released.

If you are a Windows user, you can download installer from here.

If you are a Windows user and if you want to build from source by yourself, let's refer to the instructions written in phosphorescence: Clean installation Ruby 1.9.3 preview1 with MinGW and MSYS (Of course, ready for Windows 8 preview).</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/ruby-193-p0-has-been-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5591189105226760545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5591189105226760545'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/11/ruby-193-p0-has-been-released.html' title='Ruby 1.9.3 p0 has been released'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7906100245334665687</id><published>2011-10-24T19:35:00.002+09:00</published><updated>2011-10-24T19:35:47.427+09:00</updated><title type='text'>Autumn short vacation 2011</title><summary type='text'>I take a autumn vacation, so I suspend posts and comments to this blog for a moment. Resume will be November 4, 2011.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/autumn-short-vacation-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7906100245334665687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7906100245334665687'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/autumn-short-vacation-2011.html' title='Autumn short vacation 2011'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2407310990898494612</id><published>2011-10-21T21:33:00.000+09:00</published><updated>2011-10-21T21:33:11.691+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ECMAScript'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>make unobtrusive CoffeeScript on AWDwR 4th beta chapter15</title><summary type='text'>On Agile Web Development with Rails 4th edition beta chapter15 (Internationalization), there is one more stuck point not-related with internationalization. In this chapter, JavaScript sample is not unobtrusive one. So I try to rewrite the sample with unobtrusive CoffeeScript.

application.js and application.html.erbIn this tutorial, we should use CoffeeScript only store.js.coffee. So we can omit </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/make-unobtrusive-coffeescript-on-awdwr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2407310990898494612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2407310990898494612'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/make-unobtrusive-coffeescript-on-awdwr.html' title='make unobtrusive CoffeeScript on AWDwR 4th beta chapter15'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-1344596725656149760</id><published>2011-10-18T22:35:00.001+09:00</published><updated>2011-10-18T22:42:39.654+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>Addenda for AWDwR 4th beta chapter15</title><summary type='text'>Agile Web Development with Rails 4th edition beta has a quality almost like final version. But, chapter15 (Internationalization) just has beta one. There are some stuck points. So I try to explain these points.

Configure default locale and available localesIn this book, author creates the file config/initializers/i18n.rb and configure default locale and locales for drop down list in this file. </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/addenda-for-awdwr-4th-beta-chapter15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/1344596725656149760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/1344596725656149760'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/addenda-for-awdwr-4th-beta-chapter15.html' title='Addenda for AWDwR 4th beta chapter15'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5214109346574304466</id><published>2011-10-15T19:36:00.000+09:00</published><updated>2011-10-15T19:36:09.675+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><title type='text'>Rails 3.1.1 never depends on bcrypt-ruby, but must be required.</title><summary type='text'>One week ago, Ruby on Rails 3.1.1 has been released. Since this release, rails never depends on bcrypt-ruby. But, when you use some functions related with encryption, you need to choice from some encryption gems.

For example, if you want to use has_secure_password, you should write onto Gemfile like below:
gem 'bcrypt-ruby', '~&gt; 3.0.0'</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/rails-311-never-depends-on-bcrypt-ruby.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5214109346574304466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5214109346574304466'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/rails-311-never-depends-on-bcrypt-ruby.html' title='Rails 3.1.1 never depends on bcrypt-ruby, but must be required.'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-1982107951280074836</id><published>2011-10-12T18:14:00.000+09:00</published><updated>2011-10-12T18:14:00.191+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MariaDB'/><category scheme='http://www.blogger.com/atom/ns#' term='MVC3'/><title type='text'>MySQL Connector/Net 6.4.4 has been released</title><summary type='text'>In two weeks ago, MySQL Connector/Net 6.4.4 has been released(Check change log).

You may think this release is small bug-fix one. But, for ASP.NET MVC3 / EntityFramework4 developer, this contains big change. Since this release, "Code first" function runs correctly with PluralizingTableNameConvention. So you don't have to remove this convention like this post anymore!</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/mysql-connectornet-644-has-been.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/1982107951280074836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/1982107951280074836'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/mysql-connectornet-644-has-been.html' title='MySQL Connector/Net 6.4.4 has been released'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-8044568096308289943</id><published>2011-10-10T08:52:00.002+09:00</published><updated>2011-10-10T08:52:25.824+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Ruby community announces 1.8.x will be discontinued</title><summary type='text'>Ruby community announces that Ruby 1.8.7 will be stopped developing in June 2012  and will be discontinued including any bug-fixes in June 2013.

Plans for 1.8.7

I strongly welcome this decision. And I also hope for Ruby Association that they will change their Ruby Certification from Ruby 1.8.7 tests to ruby 1.9.3 tests!</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/ruby-community-announces-18x-will-be.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8044568096308289943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8044568096308289943'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/ruby-community-announces-18x-will-be.html' title='Ruby community announces 1.8.x will be discontinued'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-6730714227323651750</id><published>2011-10-07T20:27:00.003+09:00</published><updated>2011-10-20T22:27:55.966+09:00</updated><title type='text'>R.I.P. Steve Jobs</title><summary type='text'>Thank you, Steve. I use OS X Lion on my Macmini, and Windows 8 DP on its Bootcamp comfortably.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/rip-steve-jobs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6730714227323651750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6730714227323651750'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/rip-steve-jobs.html' title='R.I.P. Steve Jobs'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7028058989817192736</id><published>2011-10-04T22:07:00.002+09:00</published><updated>2011-10-04T22:09:19.915+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ECMAScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><title type='text'>Two .js templates in Rails 3.1</title><summary type='text'>In Rails 3.1, there are two JavaScript templates - the one is 'app/views/**/*.js.erb', the other one is 'app/assets/javascripts/*.js.coffee'. What are these? And how different are these?

In short, 'app/views/**/*.js.erb' is bare jQuery with ERb template, and 'app/assets/javascripts/*.js.coffee' is CoffeeScript file.

In more detail, 'app/views/**/*.js.erb' is written for the response of Ajax </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/two-js-templates-in-rails-31.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7028058989817192736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7028058989817192736'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/two-js-templates-in-rails-31.html' title='Two .js templates in Rails 3.1'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2724183998956590594</id><published>2011-10-01T18:34:00.002+09:00</published><updated>2011-10-01T18:40:12.934+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='QML'/><category scheme='http://www.blogger.com/atom/ns#' term='Qt'/><title type='text'>Where will Qt go? (reprise)</title><summary type='text'>10 months ago, I wrote the article: phosphorescence: Where will Qt go?. In today, despite the fact that Qt 4.7.4 and QtCreator 2.3.1 had been released, Qt again encounters the pinch to be discontinued.

The reason is that Meego is discontinued because Intel decide to marge Meego to Samsung's LiMo, and rename these to Tizen. Tizen announces they recommand to use HTML5 as mobile application </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/where-will-qt-go-reprise.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2724183998956590594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2724183998956590594'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/10/where-will-qt-go-reprise.html' title='Where will Qt go? (reprise)'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3531791525934427395</id><published>2011-09-29T18:17:00.000+09:00</published><updated>2011-09-29T18:17:00.175+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='git'/><title type='text'>"git show" nearly equals to "git diff"</title><summary type='text'>git diff has many options and these can do many features. And the most useful feature is to get latest diff.
&gt; git diff HEAD^but, this feature has more useful alias: git show
&gt; git show</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/git-show-nearly-equals-to-git-diff.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3531791525934427395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3531791525934427395'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/git-show-nearly-equals-to-git-diff.html' title='&quot;git show&quot; nearly equals to &quot;git diff&quot;'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4172407998040126978</id><published>2011-09-26T19:32:00.000+09:00</published><updated>2011-09-26T19:32:00.085+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Ruby 1.9.3 RC1 has been released</title><summary type='text'>A few days ago, Ruby 1.9.3 RC1 has been released. If you are Windows user, you can install with doing instructions in phosphorescence: Clean installation Ruby 1.9.3 preview1 with MinGW and MSYS (Of course, ready for Windows 8 preview).</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/ruby-193-rc1-has-been-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4172407998040126978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4172407998040126978'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/ruby-193-rc1-has-been-released.html' title='Ruby 1.9.3 RC1 has been released'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3194657072380207031</id><published>2011-09-23T14:37:00.001+09:00</published><updated>2011-09-23T14:46:03.812+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>What means "fsc" in functional programming?</title><summary type='text'>In functional programming domain, there are 2 executable files named "fsc". Which one is Scala's daemon compiler. Which other one is F# compiler. If you install both and set both to your PATH, a name collision occurs. So that, F# team treats it with renaming F# compiler from "fsc" to "fsharpc" when installer finds there is Scala. That commit is below:

Commit </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/what-means-fsc-in-functional.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3194657072380207031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3194657072380207031'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/what-means-fsc-in-functional.html' title='What means &quot;fsc&quot; in functional programming?'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-521130947974715149</id><published>2011-09-20T20:44:00.000+09:00</published><updated>2011-09-20T20:44:00.545+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mingw'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Ruby 1.9.3 preview on Windows 8 preview</title><summary type='text'>I have installed Ruby 1.9.3 preview1 on Windows 8 preview on Mac mini (Late 2009).
When I installed Windows 8 preview on Mac mini (Late 2009) with using Boot camp, I referred these articles.
How to install Windows 8 Preview using Boot Camp
How To Install Windows 8 On Mac
Then I have installed Ruby 1.9.3 preview1 with using MinGW, referring my phosphorescence: Clean installation Ruby 1.9.3 </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/ruby-193-preview-on-windows-8-preview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/521130947974715149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/521130947974715149'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/ruby-193-preview-on-windows-8-preview.html' title='Ruby 1.9.3 preview on Windows 8 preview'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-uNA9w1tYIbw/TnXib5of8NI/AAAAAAAAAWk/RfF-GS88D-s/s72-c/win8_ruby193.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5018161853013989292</id><published>2011-09-17T21:15:00.002+09:00</published><updated>2011-09-17T21:15:58.991+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ECMAScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>AWDwR 4th beta is ready for Rails 3.1</title><summary type='text'>As you may know, Agile web development with Rails(a.k.a. AWDwR) becomes ready for Rails 3.1. In other words...
Now the edition of AWDwR is 4th beta. And its e-book becomes ready for Rails 3.1 and Ruby 1.9.x.
It's good entry book for starting Rails 3.1 with Ruby 1.9.x.
It's also good book for starting Sass and CoffeeScript. 

Of course, I'm reading this e-book.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/awdwr-4th-beta-is-ready-for-rails-31.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5018161853013989292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5018161853013989292'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/awdwr-4th-beta-is-ready-for-rails-31.html' title='AWDwR 4th beta is ready for Rails 3.1'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4812839252142268779</id><published>2011-09-15T19:35:00.000+09:00</published><updated>2011-09-15T19:35:39.583+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>F# 3.0 is officially announced</title><summary type='text'>In the BUILD conference, F# 3.0 is officially announced.

F# 3.0 Developer Preview Now Available!

Good newsType Providers
LINQ with Query Expression

Bad newsAt this moment, it is released for only MSDN subscriber.
 Despite Windows 8 previrew does not need any subscriptions :-&lt;</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/f-30-is-officially-announced.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4812839252142268779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4812839252142268779'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/f-30-is-officially-announced.html' title='F# 3.0 is officially announced'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3042835446030950657</id><published>2011-09-12T19:23:00.000+09:00</published><updated>2011-09-17T20:59:42.332+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ECMAScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='rails3'/><title type='text'>Two tips for installaing Rails 3.1</title><summary type='text'>About two weeks ago, Ruby on Rails 3.1 had been released. I found there are two tips for installation - compared with the previous version.

You should install node.jsRuby on Rails 3.1 needs server-side ECMAScript because some gems of Rails 3.1 need it  - CoffeeScript and sass. So you should install node.js. Especially, I recommend it for windows user because node.js provides windows binary.

You</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/two-tips-for-installaing-rails-31.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3042835446030950657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3042835446030950657'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/09/two-tips-for-installaing-rails-31.html' title='Two tips for installaing Rails 3.1'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4910296855057026752</id><published>2011-08-29T06:44:00.000+09:00</published><updated>2011-08-29T06:44:21.121+09:00</updated><title type='text'>Summer vacation 2011</title><summary type='text'>I take a summer vacation, so I suspend posts and comments to this blog for a moment. Resume will be September 12, 2011. </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/summer-vacation-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4910296855057026752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4910296855057026752'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/summer-vacation-2011.html' title='Summer vacation 2011'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2275390508059802273</id><published>2011-08-26T21:29:00.001+09:00</published><updated>2011-08-26T21:29:50.728+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Studying F# : async</title><summary type='text'>The sample in phosphorescence: Studying F# : Accumulator, pipe and composition is written as sync program. In this article, I try to re-write that sample to async program with async { } cluase.

Microsoft (R) F# 2.0 Interactive build 2.0.0.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

&gt; let fizzBuzzMapper data =
-     Seq.map ( fun elem -&gt; async { return (elem, (elem % 3 = 0), (</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/studying-f-async.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2275390508059802273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2275390508059802273'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/studying-f-async.html' title='Studying F# : async'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4353492295761540273</id><published>2011-08-23T02:25:00.000+09:00</published><updated>2011-08-23T02:25:00.816+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>I've finished reading "Professional F# 2.0"</title><summary type='text'>I've finished reading Professional F# 2.0. This book is useful for learning F# at first, especially Part0 ~ Part III. But to read this book requires some prerequisites.

Minimum knowledge of OCaml - this book does not contain any explanations about let in clause.
Minimum knowledge of CLR - but that is covered in .NET Book Zero

Contents in Part IV are slightly out of date and slightly out of need</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/ive-finished-reading-professional-f-20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4353492295761540273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4353492295761540273'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/ive-finished-reading-professional-f-20.html' title='I&apos;ve finished reading &quot;Professional F# 2.0&quot;'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5273142042810375108</id><published>2011-08-20T20:24:00.000+09:00</published><updated>2011-08-20T20:30:43.004+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Studying F# : ignore</title><summary type='text'>POSIX shell has /dev/null - a kind of redirect target to ignore standard outputs and error outputs. In F#, there is a similar function, the name is ignore.  To illustrate along the examples in Studying F# : Accumulator, pipe and composition, all the functions using |&gt; ignore return unit. &gt; let fizzBuzzMapper data =
-     List.map ( fun elem -&gt; (elem, (elem % 3 = 0), (elem % 5 = 0) ) ) data;;

val</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/studying-f-ignore.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5273142042810375108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5273142042810375108'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/studying-f-ignore.html' title='Studying F# : ignore'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-9054118496517253654</id><published>2011-08-18T22:08:00.004+09:00</published><updated>2011-08-18T22:18:58.639+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Studying F# : Accumulator, pipe and composition</title><summary type='text'>F#'s collection classes have some accumulator methods.


method namedescription
foldthe base accumulator method to accumulate a collection
fold2the variation of fold method to accumulate two collections
scanthe variation of fold method to return not only last result and but also intermediate results
reducethe special usage of fold method if both accumulator and elements are in same type


And </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/studying-f-accumulator-pipe-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/9054118496517253654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/9054118496517253654'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/studying-f-accumulator-pipe-and.html' title='Studying F# : Accumulator, pipe and composition'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-1858871341638317679</id><published>2011-08-15T21:32:00.000+09:00</published><updated>2011-12-10T09:04:11.633+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mono'/><title type='text'>Modify the default font of Mono after 2.10.3</title><summary type='text'>(Since MonoFramework 2.10.7, there are no needs to do this instructions. Please update your MonoFramework to 2.10.7 or above.)

After Mono Framework 2.10.3, the way was changed how we modify the default font of Mono application like MonoDevelop.  In this post, I write the way to modify from "Lucida Grande" to "Hiragino Maru Gothic Pro".  Detect gtkrc file. If you are a MacOS X user, this file is </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/modify-default-font-of-mono-after-2103.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/1858871341638317679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/1858871341638317679'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/modify-default-font-of-mono-after-2103.html' title='Modify the default font of Mono after 2.10.3'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2328151016269915858</id><published>2011-08-12T22:38:00.000+09:00</published><updated>2011-08-12T22:38:59.168+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>I've finished reading "Semiotics of Programming"</title><summary type='text'>I've finished reading Semiotics of Programming. I recognized these things from this book:

What is "Object-oriented programming", and what is "Functional programming".
Object-oriented programming as trialism.
Why and How "tail call optimization" is.
Why and How "currying" is.
The word "Monad" indicates different meanings - the one for the term of philosophy and the other for the term of </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/ive-finished-reading-semiotics-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2328151016269915858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2328151016269915858'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/ive-finished-reading-semiotics-of.html' title='I&apos;ve finished reading &quot;Semiotics of Programming&quot;'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-8225847153369820053</id><published>2011-08-09T22:14:00.006+09:00</published><updated>2011-11-04T19:58:01.855+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mingw'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Clean installation Ruby 1.9.3 preview1 with MinGW and MSYS</title><summary type='text'>My previous post is only applicable for overwriting onto existing ruby 1.9.x. But, if you want to install ruby 1.9.3 with MinGW and MSYS from zero, we need more instructions. 
Set up MinGW and MSYSAt first, installing msysGit with msysGit-fullinstall-1.x.x-previewyyyymmdd.exe, not Git-1.x.x-previewyyyymmdd.exe, because full installer contains zlib.h, iconv.h and plenty of header files and </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/clean-installation-ruby-193-preview1.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8225847153369820053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8225847153369820053'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/clean-installation-ruby-193-preview1.html' title='Clean installation Ruby 1.9.3 preview1 with MinGW and MSYS'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-6659438942555385574</id><published>2011-08-06T20:24:00.001+09:00</published><updated>2011-08-06T20:44:35.764+09:00</updated><title type='text'>SublimeText2 - a supreme editor I encountered</title><summary type='text'>In fact, now Sublime Text 2 is still beta. But, I have tried it a little, I discover this editor is the one I ever encountered. There are many advantage for me.

Multi language - tons of Static and dynamic languages ready
Multi platform - for Windows, Mac OS X and Linux
Very useful on every platforms
Affordable - 1 user 1license

So I decide to throw past editors away - say good-bye to  xyzzy, </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/sublimetext2-supreme-editor-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6659438942555385574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6659438942555385574'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/sublimetext2-supreme-editor-i.html' title='SublimeText2 - a supreme editor I encountered'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-8253289635552986440</id><published>2011-08-04T21:51:00.005+09:00</published><updated>2011-08-09T22:19:35.716+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mingw'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Build libffi and libyaml on MinGW for Ruby 1.9.3</title><summary type='text'>This article is for overwriting installation. If you want to do clean installation, check phosphorescence: Clean installation Ruby 1.9.3 preview1 with MinGW and MSYS.

Since Ruby 1.9.3, Ruby will become to depend on both libffi and libyaml. If you are Mac user or Linux user, that's easy. But, if you are windows user, it's difficult. In this post, I introduce building both libffi, libyaml and ruby</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/build-libffi-and-libyaml-on-mingw-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8253289635552986440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8253289635552986440'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/build-libffi-and-libyaml-on-mingw-for.html' title='Build libffi and libyaml on MinGW for Ruby 1.9.3'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4392821024265034343</id><published>2011-08-01T19:18:00.002+09:00</published><updated>2011-08-01T19:18:00.302+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openSUSE'/><title type='text'>Kernel 3.0 is coming in openSUSE tumbleweed</title><summary type='text'>http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/
Kernel 3.0 is ready in openSUSE Tumbleweed. Of course, it succeeds to start up.

</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/kernel-30-is-coming-in-opensuse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4392821024265034343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4392821024265034343'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/08/kernel-30-is-coming-in-opensuse.html' title='Kernel 3.0 is coming in openSUSE tumbleweed'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-zdW4wp5ku1c/TjNlw05PPyI/AAAAAAAAAWI/hSTW-Tg6nRc/s72-c/screeshon_on_kernel30.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4029676390130763798</id><published>2011-07-29T18:41:00.000+09:00</published><updated>2011-07-29T18:41:00.878+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Units of measure libraries for ruby</title><summary type='text'>alchemist and vanunits, these are two ruby libraries to manipulate "Units of measure". Most impressive character of both is these can write "Units of measure" codes in rubyish method chain style.

alchemistProsLightconsCannot calculate devision of units
Not ready for String#inspect to show units
vanunitsProsCan calculate devision of units
Ready for String#inspect to show unitsconsToo heavy, </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/units-of-measure-libraries-for-ruby.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4029676390130763798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4029676390130763798'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/units-of-measure-libraries-for-ruby.html' title='Units of measure libraries for ruby'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7300931878456935090</id><published>2011-07-26T19:19:00.002+09:00</published><updated>2011-07-26T19:19:00.188+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rubykaigi2011'/><title type='text'>Retrospective of my LT</title><summary type='text'>Slide (fixed)YetAnotherMVC3vsRails3.pdf
SurveyComparing whole cultures when developing with each framework, not framework itself only.
Comparing de-facto and out-of-the-box libraries and tools with full-stack structure, if each framework consists in loosely coupled.
Ruby and C#, Both my languages.
Where I fixed
incorrect:LINQ to SQL
correct:LINQ to Entities

Sample codeshttps://github.com/dw3w4at</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/retrospective-of-my-lt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7300931878456935090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7300931878456935090'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/retrospective-of-my-lt.html' title='Retrospective of my LT'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2948205901596140923</id><published>2011-07-23T23:59:00.001+09:00</published><updated>2011-07-24T14:26:18.078+09:00</updated><title type='text'>update summaries of RubyKaigi 2011</title><summary type='text'>I update summaries that I attend of RubyKaigi 2011.

phosphorescence: The 1st day of RubyKaigi 2011 (Morning)
phosphorescence: The 1st day of RubyKaigi 2011 (Afternoon)
phosphorescence: The 2nd day of RubyKaigi 2011 (Morning)
phosphorescence: The 2nd day of RubyKaigi 2011 (afternoon)
phosphorescence: The last day of RubyKaigi 2011

I say again thanks to all staffs, speakers and attendees.
</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/update-summaries-of-rubykaigi-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2948205901596140923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2948205901596140923'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/update-summaries-of-rubykaigi-2011.html' title='update summaries of RubyKaigi 2011'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-8883278982990534479</id><published>2011-07-23T10:58:00.003+09:00</published><updated>2011-08-04T21:56:39.140+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openSUSE'/><title type='text'>Congrats, kernel 3.0 is out!</title><summary type='text'>The 3.0 kernel is out

If you want to try kernel 3.0 on your openSUSE, use repository below at your own risk.
http://download.opensuse.org/repositories/Kernel:/HEAD/standard/

And there are no available ones in stable repository and in Tumbleweed repository at now.
(continue to phosphorescence: Kernel 3.0 is coming in openSUSE tumbleweed)</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/congrats-kernel-30-is-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8883278982990534479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8883278982990534479'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/congrats-kernel-30-is-out.html' title='Congrats, kernel 3.0 is out!'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4223625287909040782</id><published>2011-07-21T20:16:00.000+09:00</published><updated>2011-07-21T20:16:00.839+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mingw'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Ruby 1.9.2 p290 and Ruby DevKit 4.5.2 have been released</title><summary type='text'>A few days ago, Ruby 1.9.2 p290 and Ruby DevKit 4.5.2 have been released. If you are Windows user, You are able to choice installing from source with DevKit or installing with RubyInstaller.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/ruby-192-p290-and-ruby-devkit-452-have.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4223625287909040782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4223625287909040782'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/ruby-192-p290-and-ruby-devkit-452-have.html' title='Ruby 1.9.2 p290 and Ruby DevKit 4.5.2 have been released'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-8649113845596652727</id><published>2011-07-18T23:59:00.004+09:00</published><updated>2011-07-24T14:29:56.058+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='event'/><category scheme='http://www.blogger.com/atom/ns#' term='rubykaigi2011'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>The last day of RubyKaigi 2011</title><summary type='text'>Today is the 3rd day of RubyKaigi 2011 and THE LAST DAY of the RubyKaigi.
In this day, I attended these sessions:

Reports of Nihon-ruby-no-kai
Video (Japanese)by some Nihon-ruby-no-kai members
Nihon-ruby-no-kai as General AssociationPlan of establishment: August 2011, on schedule
Advantages of "legal personality"
new member typesregular member
general member
honorary member

activitiesAs before </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/last-day-of-rubykaigi-2011-afternoon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8649113845596652727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8649113845596652727'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/last-day-of-rubykaigi-2011-afternoon.html' title='The last day of RubyKaigi 2011'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-L2XXBX0waZ8/TiUdhCWn07I/AAAAAAAAAWA/uj7LQ6xQb-A/s72-c/PH_315.jpg' height='72' width='72'/><thr:total>0</thr:total><georss:featurename>場所不明</georss:featurename><georss:point>35.73938039496452 139.65375065803528</georss:point><georss:box>35.73938039496452 139.65375065803528 35.73938039496452 139.65375065803528</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4263698577463284008</id><published>2011-07-17T23:59:00.006+09:00</published><updated>2011-07-24T20:22:03.628+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='event'/><category scheme='http://www.blogger.com/atom/ns#' term='rubykaigi2011'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>The 2nd day of RubyKaigi 2011 (afternoon)</title><summary type='text'>In this afternoon, I attended these sessions:

Thread Group
Video (Japanese)by Hidetoshi Nagai
Ruby ThreadGroup in currentThere is no hierarchies between any ThreadGroups
On running, we can change a ThreadGroup that thread belongs to.

Points to improveThere is no API for manipulate threads as groupMake its API

ACL between any ThreadGroupsNew state : dominate

Refine Thread Queue
Most </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/2nd-day-of-rubykaigi-2011-afternoon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4263698577463284008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4263698577463284008'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/2nd-day-of-rubykaigi-2011-afternoon.html' title='The 2nd day of RubyKaigi 2011 (afternoon)'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-kyno6QFGAj8/TiUdcDFYb3I/AAAAAAAAAV4/glYMqdeeRaU/s72-c/PH_310.jpg' height='72' width='72'/><thr:total>0</thr:total><georss:featurename>場所不明</georss:featurename><georss:point>35.73928460244235 139.65369701385498</georss:point><georss:box>35.73928460244235 139.65369701385498 35.73928460244235 139.65369701385498</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-8600492020041868768</id><published>2011-07-17T11:59:00.005+09:00</published><updated>2011-07-23T22:53:11.744+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='event'/><category scheme='http://www.blogger.com/atom/ns#' term='rubykaigi2011'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>The 2nd day of RubyKaigi 2011 (Morning)</title><summary type='text'>Today is the 2nd day of RubyKaigi 2011.
In this morning, I attended these sessions:

Ruby goes to HOLLYWOOD
Video (English)by Elise Huard
A movie film is taken at any different locations in parallel.
A movie soudntrack is also taken at more different location.
A movie director builds these materials as one movie, in the last step.
Oh it's like MapReduce.
In fact, people do smoething in parallel.
</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/2nd-day-of-rubykaigi-2011-morning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8600492020041868768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8600492020041868768'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/2nd-day-of-rubykaigi-2011-morning.html' title='The 2nd day of RubyKaigi 2011 (Morning)'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-JxiOVxpMuO0/TiUdRS2d75I/AAAAAAAAAVw/38h65PVdYnU/s72-c/PH_312.jpg' height='72' width='72'/><thr:total>0</thr:total><georss:featurename>場所不明</georss:featurename><georss:point>35.7393194361001 139.65381503105164</georss:point><georss:box>35.7385139361001 139.65258103105162 35.740124936100095 139.65504903105165</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2293833653934193694</id><published>2011-07-16T23:59:00.002+09:00</published><updated>2011-07-23T21:24:18.779+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='event'/><category scheme='http://www.blogger.com/atom/ns#' term='rubykaigi2011'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>The 1st day of RubyKaigi 2011 (Afternoon)</title><summary type='text'>In this afternoon, I attended these sessions:


Next version of Ruby 1.8 and 1.9
Video (Japanese)by some Ruby committers
There are no futures for Ruby 1.8.xRuby 1.8.7 goes only for maintenance release
Ruby 1.8.6 will become the final maintenance release in the next year

Use Ruby 1.9.x
Ruby 1.9.3Until 1.9.2, The license is dual licenses of "GPLv2 and Ruby license"GPLv3 incompatible

Since 1.9.3, </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/1st-day-of-rubykaigi-2011-afternoon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2293833653934193694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2293833653934193694'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/1st-day-of-rubykaigi-2011-afternoon.html' title='The 1st day of RubyKaigi 2011 (Afternoon)'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-CCKmC4rCwAo/TiUdCbli0AI/AAAAAAAAAVo/_luntLmloV4/s72-c/PH_313.jpg' height='72' width='72'/><thr:total>0</thr:total><georss:featurename>Japan, Tokyo Nerima練馬１丁目１７−３７</georss:featurename><georss:point>35.73925847718903 139.65372920036316</georss:point><georss:box>35.738452977189034 139.65249520036315 35.74006397718903 139.65496320036317</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-951767384441842354</id><published>2011-07-16T11:59:00.005+09:00</published><updated>2011-07-23T14:47:22.283+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='event'/><category scheme='http://www.blogger.com/atom/ns#' term='rubykaigi2011'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>The 1st day of RubyKaigi 2011 (Morning)</title><summary type='text'>The 1st day of RubyKaigi 2011 was held at here.

Google Maps
In this morning, I attended these sessions:

OpeningVideo 1 (Japanese)Video 2 (Japanese)
by Yoshimasa Takahashi
by Koichi Sasada
Opening speech for the last RubyKaigi
Introduction of contents at this year

KeynoteVideo (English)by Aaron Patterson
title: Ruby ruined my life
Boundaries between ruby and rails
Boundaries between the English</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/1st-day-of-rubykaigi-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/951767384441842354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/951767384441842354'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/1st-day-of-rubykaigi-2011.html' title='The 1st day of RubyKaigi 2011 (Morning)'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total><georss:featurename>場所不明</georss:featurename><georss:point>35.739110433924964 139.65365409851074</georss:point><georss:box>35.73749943392497 139.65118659851075 35.74072143392496 139.65612159851074</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7224826734894499920</id><published>2011-07-13T21:22:00.000+09:00</published><updated>2011-07-13T21:22:46.380+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MVC3'/><title type='text'>ViewBag is not living in redirected action</title><summary type='text'>ViewBag - a place holder between action and view - is living in one response. In other words, ViewBag is not living in redirected action despite the fact Rails' flash go living. Then, what should we use? It is TempData

Controller#Edit action
ViewBag.Hello = "Hello ViewBag";
TempData["Hello"] = "Hello TempData";
return RedirectToAction("Index");
Index view
ViewBag : @ViewBag.Hello&lt;br /&gt;
TempData </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/viewbag-is-not-living-in-redirected.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7224826734894499920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7224826734894499920'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/viewbag-is-not-living-in-redirected.html' title='ViewBag is not living in redirected action'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-zoAj0gI39_8/Th2N-u8uwkI/AAAAAAAAAVg/n1gvzJKMFCg/s72-c/TempData.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5777870102760313244</id><published>2011-07-11T19:08:00.001+09:00</published><updated>2011-07-11T19:08:00.802+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mono'/><title type='text'>Mono 2.12 is coming soon</title><summary type='text'>There are a draft of release note for Mono 2.12. This release will make improvement both for SGen and for C# compiler.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/mono-212-is-coming-soon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5777870102760313244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5777870102760313244'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/mono-212-is-coming-soon.html' title='Mono 2.12 is coming soon'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5462350314640871505</id><published>2011-07-08T21:44:00.001+09:00</published><updated>2011-12-19T19:56:32.970+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JRuby'/><category scheme='http://www.blogger.com/atom/ns#' term='event'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><title type='text'>Java7 launch event in Tokyo</title><summary type='text'>In yesterday, Java7 launch event was held at Aoyama, Tokyo. the program is like below:
Opening
Summary of Java7 &amp; Java8
HotRockit / New licenses for Java
NetBeans 7.0 / Project Coin
InvokeDynamic
Fork/Join Framework -&gt; Lambda
More new I/O
Lightning talks
I had two thoughts from this event.
Both G1GC and InvokeDynamic are great technologies. It's good news for LLs (like JRuby) on JVM.
But, new </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/java7-launch-event-in-tokyo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5462350314640871505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5462350314640871505'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/java7-launch-event-in-tokyo.html' title='Java7 launch event in Tokyo'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total><georss:featurename>日本, 東京都港区北青山</georss:featurename><georss:point>35.6712183 139.71867120000002</georss:point><georss:box>35.6630618 139.71096770000003 35.6793748 139.7263747</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2288752982522608113</id><published>2011-07-06T20:30:00.092+09:00</published><updated>2011-07-06T20:30:00.846+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MariaDB'/><category scheme='http://www.blogger.com/atom/ns#' term='MVC3'/><title type='text'>Updated MySQL Connector/Net</title><summary type='text'>Current MySQL Connector/Net is 6.3.7, and this version can do code first in limited condition. This post expresses the instruction of code first with MariaDB.

Do until phosphorescence: Create Simple MVC 3 App with VWDExpress and MariaDB without table creation
Create the initializer classusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/updated-mysql-connectornet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2288752982522608113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2288752982522608113'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/updated-mysql-connectornet.html' title='Updated MySQL Connector/Net'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-8720510485236988398</id><published>2011-07-04T18:30:00.030+09:00</published><updated>2011-07-04T18:30:02.849+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mingw'/><category scheme='http://www.blogger.com/atom/ns#' term='MariaDB'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>mysql2 runs successfully again</title><summary type='text'>after the version 0.2.11 or 0.3.6, mysql2 runs successfully again.

And I introduce the way to run rails 3.0.9 with mysql2 0.2.11 on MariaDB 5.2.7 in Windows.

Install the MariaDB on Windows into C:/MariaDB
Install ruby 1.9.x with Ruby DevKit 4.5.1
Install rails 3.0.9
Install mysql2 0.2.11&gt; gem install mysql2 --version=0.2.11 --platform=ruby -- --with-mysql-include=C:/MariaDB/include --</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/mysql2-runs-successfully-again.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8720510485236988398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/8720510485236988398'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/mysql2-runs-successfully-again.html' title='mysql2 runs successfully again'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-6398826158766177734</id><published>2011-07-01T19:02:00.023+09:00</published><updated>2011-07-01T19:02:00.135+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>Semiotics of Programming</title><summary type='text'>Now I'm reading "Semiotics of Programming". 
The book deals with semiotics. And at the same time, the book also deals with the difference of paradigm between object-oriented programming and functional programming. This book is a interesting academic book, and is also a good introduction for who wants to learn this difference of paradigm.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/semiotics-of-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6398826158766177734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6398826158766177734'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/07/semiotics-of-programming.html' title='Semiotics of Programming'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3556019636920553084</id><published>2011-06-28T22:01:00.002+09:00</published><updated>2011-06-28T22:21:22.627+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rubykaigi2011'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='MVC3'/><title type='text'>Selected as an LTer</title><summary type='text'>I've selected as an Lightning Talker in RubyKaigi2011.

Lightning talks 1 - July 17, 2011 (Main Hall) 

My LT title is Yet Another "ASP.NET MVC 3 vs. Ruby on Rails 3".

I will do my best!!

GoodiesRubyKaigi staffs release some goodies in here.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/selected-as-lter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3556019636920553084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3556019636920553084'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/selected-as-lter.html' title='Selected as an LTer'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3630763010991355495</id><published>2011-06-25T22:28:00.001+09:00</published><updated>2011-06-25T22:33:40.604+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Calculate the firefox year #2</title><summary type='text'>(continued from phosphorescence: Calculate the firefox year)
A rapid pace of growth of IT is often likened to a "dog year". And now, more rapid pace comes! It calls "firefox year".

http://mozilla.jp/firefox/preview/faq/#q-rapid-3
Firefox 5 was released at 2011-06-21.
Firefox 6 will be released at 8 weeks after Firefox 5's one.
Firefox n + 1 will be released at 6 weeks after Firefox n's one.

So </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/calculate-firefox-year-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3630763010991355495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3630763010991355495'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/calculate-firefox-year-2.html' title='Calculate the firefox year #2'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-6825447782968013563</id><published>2011-06-23T21:47:00.003+09:00</published><updated>2011-06-23T21:52:53.753+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Calculate the firefox year</title><summary type='text'>A rapid pace of growth of IT is often likened to a "dog year". And now, more rapid pace comes! It calls "firefox year".

http://mozilla.jp/firefox/preview/faq/#q-rapid-3
Firefox 5 was released at 2011-06-21.
Firefox 6 will be released at 8 weeks after Firefox 5's one.
Firefox n + 1 will be released at 6 weeks after Firefox n's one.

So I try to calculate the year when the version equals release </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/calculate-firefox-year.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6825447782968013563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6825447782968013563'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/calculate-firefox-year.html' title='Calculate the firefox year'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4479176353986324399</id><published>2011-06-20T18:43:00.016+09:00</published><updated>2011-06-20T18:43:00.350+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Studying F# : Combination of Generics and Discriminated Union</title><summary type='text'>We can use generics in Discriminated Union's of clause.
type Component&lt;'a&gt; =
    | Composite of list&lt;Component&lt;'a&gt;&gt;
    | Leaf of 'a
let compositeSample = Composite([ Leaf(2); Composite([ Leaf(1); Leaf(3) ]) ])</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/studying-f-combination-of-generics-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4479176353986324399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4479176353986324399'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/studying-f-combination-of-generics-and.html' title='Studying F# : Combination of Generics and Discriminated Union'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2371731136640302426</id><published>2011-06-17T19:41:00.015+09:00</published><updated>2011-07-06T06:11:00.166+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MariaDB'/><title type='text'>MariaDB 5.2.7 for windows is big change.</title><summary type='text'>In yesterday, MariaDB 5.2.7 has been released. For POSIX, this release is minor release. But. for windows, this release is almost major release with three things.
Upgrading wizard for existing MariaDB windows services.
HeisiSQL is bundled as Defualt client for Windows MariaDB.
Default my.ini is in "MariaDB installation directory\data\my.ini".
</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/mariadb-527-for-windows-is-big-change.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2371731136640302426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2371731136640302426'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/mariadb-527-for-windows-is-big-change.html' title='MariaDB 5.2.7 for windows is big change.'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-2AyDJptVua4/TfoNC2D-3UI/AAAAAAAAAVY/A4TydqEMalY/s72-c/mariadb_service_update.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2452410181932403973</id><published>2011-06-14T20:04:00.000+09:00</published><updated>2011-06-14T20:04:27.547+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Studying F# : Reference cell</title><summary type='text'>Reference cell is a keyword for using immutable binding as mutable container approximately.

define reference cell&gt; let refCellInt = ref 10;;

val refCellInt : int ref = {contents = 10;}change value in reference cell&gt; refCellInt := 20;;
val it : unit = ()
&gt; System.Console.WriteLine(refCellInt.Value);;
20
val it : unit = ()undefine reference cell&gt; let normallInt = !refCellInt;;

val normallInt : </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/studying-f-reference-cell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2452410181932403973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2452410181932403973'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/studying-f-reference-cell.html' title='Studying F# : Reference cell'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7232178890229368944</id><published>2011-06-11T22:32:00.000+09:00</published><updated>2011-06-11T22:32:36.193+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='Mono'/><title type='text'>Comparison of Ruby's Enumerable and C#'s Linq to Object #2</title><summary type='text'>The samples for Grouping in interactive shell.

Ruby 1.9's Enumerable on Mac OS X$ irb1.9
irb(main):001:0&gt; one_to_ten = 1..10
=&gt; 1..10
irb(main):002:0&gt; one_to_ten.group_by {|i| i % 3}
=&gt; {1=&gt;[1, 4, 7, 10], 2=&gt;[2, 5, 8], 0=&gt;[3, 6, 9]}
Mono(C#)'s Linq to Object on Mac OS X$ csharp
Mono C# Shell, type "help;" for help

Enter statements below.
csharp&gt; using System.Linq;
csharp&gt; int[] oneToTen = new </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/comparison-of-rubys-enumerable-and-cs_11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7232178890229368944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7232178890229368944'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/comparison-of-rubys-enumerable-and-cs_11.html' title='Comparison of Ruby&apos;s Enumerable and C#&apos;s Linq to Object #2'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-1758309241369372132</id><published>2011-06-09T19:50:00.000+09:00</published><updated>2011-06-09T19:50:38.877+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='Mono'/><title type='text'>Comparison of Ruby's Enumerable and C#'s Linq to Object #1</title><summary type='text'>The samples for restriction and projection in interactive shell.

Ruby 1.9's Enumerable on Mac OS X$ irb1.9
irb(main):001:0&gt; one_to_ten = 1..10
=&gt; 1..10
irb(main):002:0&gt; one_to_ten.find_all {|i| i % 2 == 1 }.collect {|i| i**2}
=&gt; [1, 9, 25, 49, 81]Mono(C#)'s Linq to Object on Mac OS X$ csharp
Mono C# Shell, type "help;" for help

Enter statements below.
csharp&gt; using System.Linq;
csharp&gt; int[] </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/comparison-of-rubys-enumerable-and-cs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/1758309241369372132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/1758309241369372132'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/comparison-of-rubys-enumerable-and-cs.html' title='Comparison of Ruby&apos;s Enumerable and C#&apos;s Linq to Object #1'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4968473614439972520</id><published>2011-06-06T21:21:00.002+09:00</published><updated>2011-06-06T21:23:49.218+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='event'/><category scheme='http://www.blogger.com/atom/ns#' term='rubykaigi2011'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Timetables of RubyKaigi2011 are revealed</title><summary type='text'>Timetables of RubyKaigi2010(a.k.a. THE LAST RubyKaigi) are revealed now.
Timetable in English
Timetable in Japanese
The most notable and the most misterious session is Yami RubiKaigi. It means roughly "Conference In The Dark".</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/timetables-of-rubykaigi2011-are.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4968473614439972520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4968473614439972520'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/timetables-of-rubykaigi2011-are.html' title='Timetables of RubyKaigi2011 are revealed'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2571367781562088881</id><published>2011-06-03T20:50:00.000+09:00</published><updated>2011-06-03T20:50:00.278+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Studying F# : let in</title><summary type='text'>I confused about "let in" clause because there are no explains and no descriptions about this in the book Professional F# 2.0. So I search about it in another sites, then I guess "let in" clause is used for "throwaway" binding. The sample is below:
&gt; let useForRightSideOfIn arg =
-     System.Console.WriteLine(arg.ToString()) in List.iter useForRightSideOfIn [1;2;3];;
1
2
3
val it : unit = ()
&gt; </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/studying-f-let-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2571367781562088881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2571367781562088881'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/06/studying-f-let-in.html' title='Studying F# : let in'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-198602256370896968</id><published>2011-05-31T18:30:00.045+09:00</published><updated>2011-05-31T18:30:01.586+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Studying F# : inline keyword</title><summary type='text'>When you define simple calculator function, you just write like below:
let add a b = a + b
There is a question. What type of these arguments? In F# interactive console, it's int, so othre numeric types is not accepted for this function.
&gt; let add a b = a + b;;

val add : int -&gt; int -&gt; int

&gt; add 2 3;;
val it : int = 5
&gt; add 2.0 3.0;;

  add 2.0 3.0;;
  ----^^^

stdin(3,5): error FS0001: This </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/studying-f-inline-keyword.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/198602256370896968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/198602256370896968'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/studying-f-inline-keyword.html' title='Studying F# : inline keyword'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5205036747444001483</id><published>2011-05-28T18:34:00.000+09:00</published><updated>2011-05-28T18:34:58.538+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openSUSE'/><title type='text'>openSUSE Tumbleweed on VirtualBox</title><summary type='text'>If you want to launch openSUSE Tumbleweed on your machine directory, you just install from this repository.

http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/

But, if you want to launch openSUSE Tumbleweed on VirtualBox, that is not enough. You should add the repository below:

http://download.opensuse.org/repositories/Virtualization:/VirtualBox_Tumbleweed/</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/opensuse-tumbleweed-on-virtualbox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5205036747444001483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5205036747444001483'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/opensuse-tumbleweed-on-virtualbox.html' title='openSUSE Tumbleweed on VirtualBox'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-337922671438118777</id><published>2011-05-26T21:33:00.004+09:00</published><updated>2011-05-26T22:16:50.003+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MVC3'/><title type='text'>Yet another simple way to associate One-To-One relation and to modify both tables.</title><summary type='text'>There's a sample to associate One-To-One relation and to modify both tables in ASP.NET MVC3.
Creating a More Complex Data Model for an ASP.NET MVC Application (4 of 10)
Reading Related Data with the Entity Framework in an ASP.NET MVC Application (5 of 10)
But there is some margin for more CoC. So I describe yet another simple way.

Associate One-To-One relationNo descriptions in OnModelCreating
</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/yet-another-simple-way-to-associate-one.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/337922671438118777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/337922671438118777'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/yet-another-simple-way-to-associate-one.html' title='Yet another simple way to associate One-To-One relation and to modify both tables.'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-6202748757515634524</id><published>2011-05-23T19:58:00.001+09:00</published><updated>2011-06-06T21:22:32.120+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='event'/><category scheme='http://www.blogger.com/atom/ns#' term='rubykaigi2011'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Tickets for RubyKaigi2011 are on sale</title><summary type='text'>From yesterday, Some tickets about RubyKaigi2011 (a.k.a. THE LAST RubyKaigi) were on sale. There are three SKUs for attending this conference.
Normal Ticket : A ticket for three day pass.
Individual Sponsor : A ticket for three day pass, and an honor as the sponsor.
Student Pass : A free ticket for three day pass, if you are a student.
In addition to these SKUs, there are one more ticket for </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/tickets-for-rubykaigi2011-are-on-sale.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6202748757515634524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/6202748757515634524'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/tickets-for-rubykaigi2011-are-on-sale.html' title='Tickets for RubyKaigi2011 are on sale'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3022894076531326213</id><published>2011-05-20T20:20:00.000+09:00</published><updated>2011-05-20T20:20:25.394+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>O'Reilly's e-books go DRM free in Japan too.</title><summary type='text'>E-books on oreilly.co.jp were not DRM free, despite e-books on oreilly.com had been DRM free already. But that is over. In yesterday, oreilly.co.jp announced they made their e-books DRM free (news release in Japanese).</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/oreillys-e-books-go-drm-free-in-japan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3022894076531326213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3022894076531326213'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/oreillys-e-books-go-drm-free-in-japan.html' title='O&apos;Reilly&apos;s e-books go DRM free in Japan too.'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4733417244807304885</id><published>2011-05-17T19:45:00.001+09:00</published><updated>2011-05-29T18:43:54.000+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Studying F# : Module</title><summary type='text'>In F#, there are namespace like C#. But, it is not normal F# way and F#'s namespace is not permitted nested namespaces. The normal F# way is defining module.

Declarationmodule Examples
let helloWorld() = "Hello World"
module Greeting =
    let helloWorld() = "Hello Module World"
    module Inner =
        let helloWorld() = "Hello Inner Module World"Normally, it is enough that there is just one </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/studying-f-module.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4733417244807304885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4733417244807304885'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/studying-f-module.html' title='Studying F# : Module'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7304863589993200087</id><published>2011-05-14T22:09:00.002+09:00</published><updated>2011-05-15T22:45:22.018+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Studying F# : Generics</title><summary type='text'>In Java or C#, Generics is written as &lt;T&gt;, T is the type parameter.

In F#, it's similar to above, we just write &lt;'a&gt;, 'a is the type parameter.
[&lt;Class&gt;]
type Reflector&lt;'a&gt;() =
    member r.GetMembers() =
        let ty = typeof&lt;'a&gt;
        ty.GetMembers()
let rflc = new Reflector&lt;System.Math&gt;()
// usage
Array.iter (fun it -&gt; System.Console.WriteLine(it.ToString())) (rflc.GetMembers())Function </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/studying-f-generics-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7304863589993200087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7304863589993200087'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/studying-f-generics-1.html' title='Studying F# : Generics'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-7687301765269287937</id><published>2011-05-11T19:57:00.000+09:00</published><updated>2011-05-11T19:57:49.071+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Studying F# : Interface</title><summary type='text'>F# has interfaces. we can define it and use it like other object-oriented languages.

Definition
[&lt;Interface&gt;]
type IDrinker = 
    inherit System.IComparable
    inherit System.IFormattable
    abstract Drink : unit -&gt; unit // method definition of interface
    abstract FavoriteDrink : string // property definition of interfaceInterface can inherit another interfaces multiply.

Usage
[&lt;Class&gt;]
</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/studying-f-interface.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7687301765269287937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/7687301765269287937'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/studying-f-interface.html' title='Studying F# : Interface'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-417250066586079419</id><published>2011-05-09T18:36:00.011+09:00</published><updated>2011-05-09T18:36:00.329+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Qt'/><title type='text'>Qt 4.7.3 has been released</title><summary type='text'>A few days ago, Qt Framework 4.7.3 and Qt Creator 2.2 have been released. We can choose for installing the latest Qt either by using QtSDK only or by using each installers (Qt Framework and Qt Creator).</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/qt-473-has-been-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/417250066586079419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/417250066586079419'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/05/qt-473-has-been-released.html' title='Qt 4.7.3 has been released'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-541406692731078462</id><published>2011-04-28T07:44:00.001+09:00</published><updated>2011-04-28T07:44:00.981+09:00</updated><title type='text'>Spring short vacation 2011</title><summary type='text'>In Japan, last week of April and first week of May are short vacation weeks. Of course, I take a short vacation, so I suspend posts and comments to this blog for a moment. Resume will be May 9, 2011.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/spring-short-vacation-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/541406692731078462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/541406692731078462'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/spring-short-vacation-2011.html' title='Spring short vacation 2011'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-2855963447601185338</id><published>2011-04-26T21:43:00.002+09:00</published><updated>2011-04-26T21:44:03.815+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MariaDB'/><title type='text'>Install and Launch MariaDB on Mac OS X</title><summary type='text'>MariaDB is not ready to install from MacPorts. So should we configure from source in the tarball? No. MariaDB team recommends to build with Bazaar. Read these links:

Build Environment Setup for Mac
Getting the MariaDB Source Code

And there are three more instructions to complete the installation and launch MariaDB.
$ sudo mysql_install_db --user=mysql
$ sudo /usr/local/share/mysql/mysql.server </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/install-and-launch-mariadb-on-mac-os-x.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2855963447601185338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/2855963447601185338'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/install-and-launch-mariadb-on-mac-os-x.html' title='Install and Launch MariaDB on Mac OS X'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-5961887429720865506</id><published>2011-04-23T22:32:00.000+09:00</published><updated>2011-04-23T22:32:30.834+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>F# April 2011 has been released</title><summary type='text'>F# April 2011 Community Technology Preview has been released. You can download from here.</summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/f-april-2011-has-been-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5961887429720865506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/5961887429720865506'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/f-april-2011-has-been-released.html' title='F# April 2011 has been released'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-3808573197075111479</id><published>2011-04-20T23:19:00.001+09:00</published><updated>2011-04-20T23:24:19.522+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MariaDB'/><category scheme='http://www.blogger.com/atom/ns#' term='MVC3'/><title type='text'>Enable ASP.NET Web Site Administration Tool with MariaDB on MVC3</title><summary type='text'>(continued from phosphorescence: Create Simple MVC 3 App with VWDExpress and MariaDB)
If you want to use the system built in ASP.NET with MariaDB, you should do some configurations. This article is referring this article.
Create schema for aspnetdb on MariaDBLike in this post, create the schema named as aspnetdb and special user for aspnetdb schema.



Check some config filesAt first, check </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/enable-aspnet-web-site-administration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3808573197075111479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/3808573197075111479'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/enable-aspnet-web-site-administration.html' title='Enable ASP.NET Web Site Administration Tool with MariaDB on MVC3'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-i38lXugH8Qk/Ta7XPbbcpmI/AAAAAAAAATQ/7dDbdT4MIMY/s72-c/mysql_workbench_13.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-250310546634438210</id><published>2011-04-18T18:54:00.114+09:00</published><updated>2011-04-20T23:20:50.636+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MariaDB'/><category scheme='http://www.blogger.com/atom/ns#' term='MVC3'/><title type='text'>Create Simple MVC 3 App with VWDExpress and MariaDB</title><summary type='text'>(continued from phosphorescence: Prepare MVC 3 with VWDExpress and MariaDB)
Create new MVC 3 projectLaunch Visual Web Development 2010 Express, and at first, set the default development web server as IIS Express. [Tools]-[Options]-[Project or Solution]-[Web projdct], turn on the checkbox.
Then, create new MVC 3 project following the wizard. In this sample, I name this project as Mvc3Training. If </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/create-simple-mvc-3-app-with-vwdexpress.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/250310546634438210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/250310546634438210'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/create-simple-mvc-3-app-with-vwdexpress.html' title='Create Simple MVC 3 App with VWDExpress and MariaDB'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-RNYCcEj_w6Q/TaRLew6gMDI/AAAAAAAAASA/v_x2Whjr1bU/s72-c/mvc3_00.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-4036494825317327395</id><published>2011-04-15T07:42:00.005+09:00</published><updated>2011-04-15T07:57:38.303+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Easier way to install F# PowerPack both on Mac OS X and on Linux</title><summary type='text'>There are the easier way to install F# PowerPack both on Mac OS X and on Linux. After downloading F# PowerPack zip from here, operate like below:
$ sudo unzip FSharpPowerPack.zip -d /opt
$ cd /opt/FSharpPowerPack-2.0.0.0/bin
$ sudo gacutil /i FSharp.Compiler.CodeDom.dll
$ sudo gacutil /i FSharp.PowerPack.Build.Tasks.dll
$ sudo gacutil /i FSharp.PowerPack.Compatibility.dll
$ sudo gacutil /i </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/easier-way-to-install-f-powerpack-both.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4036494825317327395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/4036494825317327395'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/easier-way-to-install-f-powerpack-both.html' title='Easier way to install F# PowerPack both on Mac OS X and on Linux'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7831820918565515694.post-700694065812969387</id><published>2011-04-12T22:13:00.007+09:00</published><updated>2011-04-18T19:27:16.533+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MariaDB'/><category scheme='http://www.blogger.com/atom/ns#' term='MVC3'/><title type='text'>Prepare MVC 3 with VWDExpress and MariaDB</title><summary type='text'>(continued from phosphorescence: Minimal MariaDB configuration on Windows for Express Web Development)
Create schema for MVC 3 applicationIn MySQL Workbench, "Start Querying" with root account.
Add schema for MVC 3 application. I this sample, I named it as "mvc3_training"

Create schema user for MVC 3 applicationLaunch server administration with choosing [Manage Instance].
Then create user, and </summary><link rel='replies' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/prepare-mvc-3-with-vwdexpress-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/700694065812969387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7831820918565515694/posts/default/700694065812969387'/><link rel='alternate' type='text/html' href='http://phosphor-escence.blogspot.com/2011/04/prepare-mvc-3-with-vwdexpress-and.html' title='Prepare MVC 3 with VWDExpress and MariaDB'/><author><name>Youhei Kondou</name><uri>http://www.blogger.com/profile/09153449658738399626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_Gc38Wa77_EY/S-KCwME6vlI/AAAAAAAAAMw/hFW41YnWInU/S220/first_icon.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-WUNQ6kyEL_Q/TaQ-czoPIbI/AAAAAAAAAQ8/i3MnRThTnJ0/s72-c/mysql_workbench_03.png' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
