Sunday, August 29, 2010

The 3rd day of RubyKaigi 2010 (Afternoon)


In this afternoon, I attended these sessions:

The 3rd day of RubyKaigi 2010 (Morning)

Today is the 3rd day of RubyKaigi 2010.

I attended these sessions in this morning:

Saturday, August 28, 2010

The 2nd day of RubyKaigi 2010 (Afternoon)

In this afternoon, I attended these sessions:

The 2nd day of RubyKaigi 2010 (Morning)


Today is the 2nd day of RubyKaigi 2010.

I attended these sessions in this morning:

Friday, August 27, 2010

The 1st day of RubyKaigi 2010

The 1st day of RubyKaigi 2010 was held (only afternoon) at here.



I attended some sessions and try to report them.
  • If the session has a movie in English, I just write summaries of the article. Please see that movies if you want more details.
  • If the session has a movie in Japanese, I write the article with translating and little-summarizing.
  • If the session has no movies in any languges, I try to write the article with little-summarizing.
  • But, for Ceremonies and Lightning Talks, I only put the link of movies.
  • And I don't translate Q&As in the article because these are the gift for attendees in there.

Wednesday, August 25, 2010

Newest Ruby Devkit is released #2

(continued from phosphorescence: Newest Ruby Devkit is released #1)

If you already using both MinGW and MSYS installed by you, and these are working well, You should copy to each directories manually.

Monday, August 23, 2010

Newest Ruby Devkit is released #1

Newest Ruby Devkit (containing GCC 4.5.0) is released at the same time that RubyInstaller 1.9.2p0 is released. This contains those files and directories:

bin            # directory for MSYS
devkitvars.bat # Utility if you want to set PATH automatically
dk.rb          # devkit installer to lib/ruby/site_ruby
etc            # directory for MSYS
include        # directory for MSYS
lib            # directory for MSYS
m.ico          # Icon for MSYS
mingw          # directory for MinGW
msys.bat       # MSYS launcher
msys.ico       # Icon for MSYS
perllocal.pod  # perllocal.pod
postinstall    # directory for MSYS
sbin           # directory for MSYS
share          # directory for MSYS


If you are not using both MinGW and MSYS, You just install Newest Devkit as this installation steps.

Friday, August 20, 2010

Ruby 1.9.2 p0 is FINALLY released

In two days ago, Ruby 1.9.2 p0 has been released. Before installing it, remember the 2nd day of RubyKaigi 2009 (Morning) and this article I mentioned. Ruby team recommends we are installing Ruby 1.9.2 and later with '1.9.1' path. So let's install and check

> ./configure --prefix=/opt/ruby-1.9.1 --enable-shared --srcdir=.
> make
> sudo make install
> /opt/ruby-1.9.1/bin/ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
> /opt/ruby-1.9.1/bin/ruby -e 'puts RUBY_VERSION, $:'
1.9.2
/opt/ruby-1.9.1/lib/ruby/site_ruby/1.9.1
/opt/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/i686-linux
/opt/ruby-1.9.1/lib/ruby/site_ruby
/opt/ruby-1.9.1/lib/ruby/vendor_ruby/1.9.1
/opt/ruby-1.9.1/lib/ruby/vendor_ruby/1.9.1/i686-linux
/opt/ruby-1.9.1/lib/ruby/vendor_ruby
/opt/ruby-1.9.1/lib/ruby/1.9.1
/opt/ruby-1.9.1/lib/ruby/1.9.1/i686-linux

As you see, $: does not contain . directory.

Tuesday, August 17, 2010

NetBeans 6.9.1 was released

One and a falf week ago, NetBeans 6.9.1 was released. This bundles JRuby 1.5.1 and now supports Rails 3.0 (RC).

Saturday, August 14, 2010

How to add official tweet button on each blogspot posts

In yesterday, Official tweet button has been released. But, as out-of-box, this is not optimized for each blog posts like facebook's like button I wrote in phosphorescence: How to add facebook like button on each blogspot post. So I do the "try and error" to customize tweet button for each blogspot post, then I found the approach with referring official tweet button API page.
  1. [Layout] -> [Edit HTML]
  2. Turn on the checkbox "Expand widget templates"
  3. Into the tag of class='post-header-line-n' or class='post-footer-line-n', put the snipet like below:
    <a class='twitter-share-button' data-count='horizontal' data-via='your_twitter_name' expr:data-text='data:post.title' expr:data-url='data:post.url' href='http://twitter.com/share'>Tweet</a>
    <script src='http://platform.twitter.com/widgets.js' type='text/javascript'/>

We need to take care of containing ' in title. If contained, page title is omitted after '. So we should check all page titles and convert from ' to &apos;.

Thursday, August 12, 2010

Clean Ruby 1.9.2's remaining older gems manually

When I install Ruby 1.9.2 RC2, update gems and clean up older gems, but there are some remaining older gems like below:

> /opt/ruby-1.9.1/bin/gem update
> /opt/ruby-1.9.1/bin/gem cleanup
> /opt/ruby-1.9.1/bin/gem list

*** LOCAL GEMS ***

minitest (1.7.0, 1.6.0)
rake (0.8.7)
rdoc (2.5.9, 2.5.8)
test-unit (2.1.1)

What happened? In /opt/ruby-1.9.1/lib/ruby/gems/1.9.1/specifications directory, there are files like below:
> ls /opt/ruby-1.9.1/lib/ruby/gems/1.9.1/specifications
minitest-1.7.0.gemspec  minitest.gemspec  rake.gemspec  rdoc-2.5.9.gemspec  rdoc.gemspec  test-unit-2.1.1.gemspec

As you see, minitest.gemspec and rdoc.gemspec are remaining. So I remove manually and re-list gems.
> cd /opt/ruby-1.9.1/lib/ruby/gems/1.9.1/specifications
> rm minitest.gemspec rdoc.gemspec
> /opt/ruby-1.9.1/bin/gem list

*** LOCAL GEMS ***

minitest (1.7.0)
rake (0.8.7)
rdoc (2.5.9)
test-unit (2.1.1)

Monday, August 9, 2010

What version of Qt and QtRuby are bundled on openSUSE 11.3?

I check what version of Qt and QtRuby are bundled on openSUSE 11.3 like this entry. And the results are below:

> rbrcc -version
Ruby Resource Compiler for Qt version 4.6.3
> rbuic4 -v              
Qt User Interface Compiler version 4.6.3   
> rbqtapi -v             
QtRuby 2.1.0 using Qt-4.6.3
QtRuby 2.1.0 is the latest trunk version.

Friday, August 6, 2010

JRubyKaigi2010 is held with RubyKaigi2010 at same place

JRubyKaigi2010 is held with RubyKaigi2010 at same place(Tsukuba) and same time(2010/08/28). Its official site is below:
Fortunately, The sessions I want to join in RubyKaigi2010 and in JRubyKaigi2010 are not overlapping.

Tuesday, August 3, 2010

openSUSE 11.3 doesn't contain QML

Unfortunately, openSUSE 11.3 doesn't contain QML. So we cannot evaluate QML as out-of-box. We should use Qt 4.7.0 beta2 or should wait that Qt 4.7.0 final will be released. But QtCreator is ready for QML.