2008-04-29から1日間の記事一覧
はい。笹田さんや高橋征義さんとはRuby関係で知り合って、以前から親しくさせてもらっています。増井雄一郎さんなんかもRubyつながりです。「Webエンジニア武勇伝」のインタビュー記事が出ていた方のほとんどとは何度かお話しさせていただきました。 川井: …
2.継承とは 継承とは「別のクラスの特徴を受け継ぐこと」 ○差分プログラミング class Kamesennin def kamehameha print "かめはめ波!" end end class Goku かめはめ波! あの亀仙人(Kamesennin)の技「かめはめ波!」を引き継ぎ、 さらに「瞬間移動!」を…
http://coderepos.org/share/browser/lang/ruby/misc/ust2smile.rb?rev=3216 id:coji さん作 ust で record した flv を smilevideo 用にしてくれる。要 ffmpg http://b.hatena.ne.jp/entry/http://coderepos.org/share/browser/lang/ruby/misc/ust2smile.rb…
http://idm.s9.xrea.com/ratio/2008/04/28/000771.html 同じところにはまって,/usr/bin/gem をかきなそした覚えがあるなー. http://b.hatena.ne.jp/entry/http://idm.s9.xrea.com/ratio/2008/04/28/000771.html
これを動かしてみたくなった。 スーパーマリオブラザーズをRubyで作ってみた - I am Cruby! まず、portsでSDLを入れる。 sudo port install libsdl +quartz sudo port install libsdl_image libsdl_mixer libsdl_ttf rb-rubysdl つぎに、こちらのサイトを参…
例えば、Twitterから同時にデータを取得するような例とかを考える。自分で結構考えてみたけど、処理が同時には走らない。どの辺がおかしいのかよくわからん。。。 #!/usr/bin/ruby -Ke require 'rubygems' require 'thread' require 'enumerator' require 'p…
I just released a small Emacs minor mode, rspec-mode that provides some convenience functions related to dealing with RSpec. So far this minor mode provides some enhancements to ruby-mode in the contexts of RSpec specifications. Namely, it…
ruby, rubinius | 23:02 | 第 1 回 Ruby 設計ミーティングのメモが公開された。Unwinding the stack: First Ruby design meeting notesこれによると、Rubinius が主導して作った RubySpec が、Ruby の正式な仕様およびテストスイートとなりそう。パチパチ。R…
オープンソースの分散化ファイルシステムで代表例というとMogileFSが挙げられると思う。HTTPでアクセスでき、簡単に信頼性の高い分散化ファイルシステムが構築できる。ただし、基本はPerlからの扱いになっており、Ruby向けのライブラリも存在するが全ての機…
RubyFlow より。なんと 1 ライナーで書いた Web サーバ。 # From: http://www.ntecs.de/blog/articles/2008/02/09/the-worlds-smallest-webserver # Author: Michael Neumann # ... point your browser to http://localhost:3125/etc/motd ruby -rsocket -e …
DIV.post-job-ad { background-color: #ff8; border-top: 1px dashed #660; border-bottom: 1px dashed #660; margin-bottom: 10px; padding: 8px; color: #000; text-align: center; font-weight: bold; font-size: 1.2em; } DIV.post-job-ad EM { color: #…