Thursday, October 14, 2010

memcached for Windows had been expired

Until few days before, Memcached binaries for Windows were in http://labs.northscale.com/memcached-packages/. But now, no more in there because Northscale has moved to Membase and Membase.org since 4 days ago. And, if we still use memcached on Windows, we should to install Membase Server Enterprise Edition or Membase Community Edition. memcached is included in there.

For instance, I try to install Membase Community Edition on my Windows. This product has administration web pages like below:

Monday, October 11, 2010

Qt 4.7 for openSUSE is available

Qt 4.7 for each openSUSE versions is available. For instance, the repository of Qt 4.7 for openSUSE 11.3 is below:
http://download.opensuse.org/repositories/KDE:/Qt47/openSUSE_11.3/

Install with Yast2, restart and launch QtCreator 2.0.1 for running QML sample application.

Friday, October 8, 2010

I've finished reading "Metaprogramming Ruby"

I've finished reading Metaprogramming Ruby. This book is great book for:
  • What metaprogramming is in Ruby
  • Why do we do metaprogramming with Ruby
  • How do we do metaprogramming by Ruby

But not only that, this is also great book for leaning what safe level is in Ruby. There are simple and lucid examples for leaning safe level. And, this book have taught me about nested irb.
irb(main):001:0> s = 'hello world'
=> "hello world"
irb(main):002:0> irb s
irb#1(hello world):001:0> upcase
=> "HELLO WORLD"
irb#1(hello world):002:0> exit
=> #<IRB::Irb: @context=#<IRB::Context:0x00000100849a30>, @signal_status=:IN_EVAL, @scanner=#<RubyLex:0x000001008454f8>>
irb(main):003:0> exit
I did not know at all until reading this book.

Tuesday, October 5, 2010

Install RMagick on MinGW and MSYS

Currently, Windows Rubyist is installing RMagick from here. But there are 3 problems.
  1. Not latest RMagick version
  2. Not latest Ruby version
  3. Not latest bundled ImageMagick

But we are already having Ruby Devkit (MinGW). So let's get latest RMagick on Windows.

Saturday, October 2, 2010

Testing ActiceRecord-JDBC with DB2 on Mac OS X

(continued from phosphorescence: Install DB2 on Mac OS X)

I helped to testing ActiveRecord-JDBC with DB2 on my Macmini. But there are two big traps. In this article, I write about the second trap : Testing ActiceRecord-JDBC with DB2 on Mac OS X.

Clone sources and tests from repository

$ git clone http://github.com/nicksieger/activerecord-jdbc-adapter.git