query: tag:news

昨日の時点でTwitterでは話題になっていましたが、
正式にRails-2.3.2のリリースがアナウンスされたようです。

Rails 2.3: Templates, Engines, Rack, Metal, much more!

Rails 2.3 is finally done and out the door. This is one of the most substantial upgrades to Rails in a very long time.

今回のリリースの主な特徴は、

  • Templates: 自分好みのRailsアプリケーションのひな形を作る機能。
    沢山Railsアプリを作ってる人には便利そう。
  • Engines: Railsアプリをコンポーネント化して再利用する仕組み。MerbのSliceのような印象。render_componentが無くなったので、代わりにこれを使うと良いらしい。
  • Rack: Rackに対応。
  • Metal: 色々と省略して高速なレスポンスを実現する仕組み。
  • Nested forms: 頭痛への処方箋。かなり嬉しい。

全体的な印象として、Merb-1.1との差が少なくなってきた感じですね。
Rails-3(あるいはMerb-2)への道筋が見えてきた気がします。

See Also

posted by genki genki on Tue 17 Mar 2009 at 09:31 with 0 comments

Ruby-1.9.1がリリースされて以来、
@maiha
さんと一緒にMerbのRuby-1.9.1対応のための作業を続けてきましたが、
ようやくMerbアプリケーションをRuby-1.9.1で動かす事ができました。

ss
http://merbi.st

決定的に重要だったのは、@ko1_twitterさんが作ってくれた
methoparaです。
これによって、merbが抱えていたmerb-action-argsに関する問題を解決するための道が開かれ、Ruby-1.9.1対応を行うためのモチベーションが高まりました。

今回のRuby-1.9.1対応のために作ったパッチや、修正版のGemなどの多くは
github上に残っています
(http://github.com/maiha, http://github.com/genki)
残りは、http://merbi.st/pluginsで公開されています。

Good luck!

posted by genki genki on Sat 14 Feb 2009 at 14:47 with 0 comments

The ruby-1.9.1 had come to the world, and
several days went by...

@maiha
and I have worked for making the merb to be correspond to the ruby-1.9.1.
And now we are very happy, because we can announce there is the first child of Merb and ruby-1.9.1.

http://merbi.st is the site which is running on merb with ruby-1.9.1.

ss

Our efforts are remaining at several places.
Most of them are in github
(see http://github.com/maiha,
http://github.com/genki).
Others are published on here http://merbi.st/plugins

Good luck!

posted by takiuchi takiuchi on Sat 14 Feb 2009 at 14:43 with 0 comments

methopara
is a gem that enables us to use Method#parameters with Ruby-1.9.1.
It was originally made by @ko1_twitter, the creater of YARV, at the previous meet-up of asakusa.rb.

And this time, I added an interface to use it for UnboundMethod.
Now you can use UnboundMethod#parameters with new methopara, like this.

ruby>>
require 'rubygems'
require 'methopara'

class Foo
def foo(a,b) end
end
Foo.instance_method(:foo).parameters
#=> [[:req, :a], [:req, :b]]
<<--

Enjoy!

posted by takiuchi takiuchi on Wed 11 Feb 2009 at 16:18 with 0 comments

ss

Yay! I am looking forward to it very much!

Merbはmerb-action-argsが無くても動くのだけど、
あの格好良さを知ってしまうとね・・・。

posted by genki genki on Fri 6 Feb 2009 at 05:57 with 0 comments

Getting ready for Ruby 1.9.1

We are excited about Ruby 1.9.1. Of course, with all the performance improvements, who wouldn’t be? Unfortunately a large number of Ruby libraries and extensions still don’t work on 1.9.1, so Ruby 1.9 cannot be considered production-ready yet.

しばらくは大きなプロジェクトのRuby-1.9.1対応がにぎやかになりそうですね。
安定板のリリースは重要だな。

Merbはまだaction-argsの問題があるけど、
1.9.1でMethod#parametersが出なかったので、
ParseTreeあたりが1.9.1に対応する感じで進化して対応される気がする。
せめてProc#to_sourceがあればripperを使ってなんとか出来たと思うんだけどなー。

posted by genki genki on Tue 3 Feb 2009 at 10:17 with 0 comments

Ruby-1.9.1リリースおめでとうございます。
バージョン番号からすると想像しにくいですが、これはRuby-1.9系の最初の安定版リリースであり、新しいRubyの時代の幕開けです。

[ANN] Ruby 1.9.1リリース

Ruby 1.9はRubyの新しい系統です。近代的に、高速に、文法も明確に、多言語化
され、多くの改善がなされました。Ruby 1.8系統は2003年以来利用され、多くの
素晴らしい製品を生み出しました。本日、1.9の歴史が始まります。

関係者の皆様、お疲れさまでした。

posted by genki genki on Sat 31 Jan 2009 at 08:28 with 0 comments

I released the merb_full_url plugin that provides URL which has origin (scheme, host and port)

You can install this gem like this;

pre>>
% sudo gem install merb_full_url --source http://merbi.st
<<--

And you get full URLs by calling full_url/full_resource methods instead of url/resource.

But I think, it is better for merb to become providing such methods in advance :-)

posted by takiuchi takiuchi on Sat 24 Jan 2009 at 02:24 with 0 comments

Mattettiさんから連絡があって、
forkして開発していたmerb_babel

本家に取り込んでもらいました
以下のような機能を追加しています。

  • Merb::Requestからの国コード判別機能
  • YAMLを利用した階層化ローカライゼーション
  • 時刻のローカライゼーション

将来的には、merb-sliceの形にして、ローカライズファイルの
オンライン編集が出来るようにしたい。

posted by genki genki on Sat 17 Jan 2009 at 04:49 with 0 comments

DataMapper用のバージョン管理プラグイン、
dm-has-versions
をリリースしました。

dm-is-versionedというライブラリが既にあるのですが、Railsで慣れ親しんだacts_as_versionedと微妙に挙動が違うのと、revert_toやversion=ができないなど、細かいところが足りない感じがしたので作りました。

USAGE:

以下のコードをご覧の通りです。

ruby>>
class Story
include DataMapper::Resource

property :id, Integer, :serial => true
property :title, String
property :updated_at, DateTime

has_versions :ignore => [:updated_at]
end

Story.auto_upgrade!

story = Story.create(:title => 'hello')
story.version #=> 0
story.update_attributes :title => 'good night'
story.version #=> 1
story.title #=> 'good night'
story.version = 0
story.title #=> 'hello'
<<--

auto_upgrade!は最初に一回だけ必要です。

posted by genki genki on Fri 16 Jan 2009 at 03:37 with 0 comments

Merb 1.0.7 Release Notes

We just released Merb 1.0.7. Some highlights:

以下適当に訳したり訳さなかったり。

  • merb-action-argsが、仮引数のデフォルト値として[]などのような値が使われても大丈夫になった。
  • 通常起動した場合にpidファイルを出さなくなった。
  • 絶対パスでpartialを使えるようになった
  • _template_forをキャッシュするようになった
  • routerのdefer_toに関するドキュメントを改善
  • request() now goes through additional rack middleware, not just the default Merb application
  • 生成される.gitignoreを改善。
  • 生成されるdependencies.rbにdatamapperとdo_sqlite3を追加
  • merb_mailerの古いドキュメントを直した
  • fixed at least one case where thor bundling was throwing an error related to full_name. If you encounter other errors, please report them immediately on the Merb tracker and tag them “bundling”
  • fixed an issue with merb-helpers where label() was ignoring passed in attributes
posted by genki genki on Mon 29 Dec 2008 at 13:09 with 0 comments

何気なくTwitterのタイムラインを見ていたら、
wycatsとd2hがMerbがRails3にマージされるというお知らせをしてました。

Rails And Merb Merge

Today is a fairly momentous day in the history of Ruby web frameworks. You will probably find the news I’m about to share with you fairly shocking, but I will attempt to explain the situation.

Merb gets merged into Rails 3!

It’s christmas, baby, and do we have a present for you. We’re ending the bickering between Merb and Rails with a this bombshell: Merb is being merged into Rails 3!

確かに最近Railsが急速にMerb化してきてる気がするなと思ってたのですが。
save!のポリシーがどういう感じにmergeされるのかが気になる所。

Updates

#merbを見ていて分かった事など。

  • "any app can be a slice" 全てのアプリケーションがsliceとして利用可能らしい。てことはRails3にはsliceが入るっぽいですね。
  • "we're going to have a rails-core which is basically merb-core"
    merb-coreをベースとしてrails-coreを作るらしい。
  • "goal is beta by RailsConf" 次のRailsConfまでにβを出すのが目標。
  • "rails JS helpers become modular" RJSはモジュールかされて標準添付からは追い出される。
  • "DM definitely will be first-class. Just because AR is the default, doesn't mean DM shouldn't be just as easy to use."
    ARが標準のORMとなるが、DMも同等のサポートを受ける。
  • 依然としてtest/unitがデフォルト。これを機にRSpecが標準になったら良かったのだけど。
  • "get all the specific js code out of the view" JSはviewに書かないスタイルになる。
  • "Rails 3 will definitely have some incompatibilities with Rails 2.x" Rails 3が2.xとの互換性を保つのは難しそう。

全体的な印象として、MerbをベースにRailsを作り直す(%%ビッグバンリライトする%%→ビッグバンリライトではないと書いてた。notを読み落としてました。thanks @moro)ような感じがします。

See Also

posted by genki genki on Wed 24 Dec 2008 at 04:57 with 2 comments

I made a SIMBL plugin
for Terminal.app which enable us to copy on selection.
Here is the plugin named TerminalCopyOnSelect.

TerminalCopyOnSelect.bundle.zip

INSTALLATION

  1. At first, you should install
    SIMBL.
  2. Download the zipped plugin file I mentioned above and expand it.
  3. Copy the extracted file "TerminalCopyOnSelect.bundle" to the plugin directory which is located at ~/Library/Application Support/SIMBL/Plugins/
  4. Terminate all processes of Terminal.app and restart it.

You're done!
Now you can get copied selected text from the terminal when you released mouse button on it.

You are also able to disable this feature by turning off the following menu "Copy On Select".

ss01

Finally, I opened the source of this plugin on the GitHub
under the MIT license.

Enjoy!

posted by takiuchi takiuchi on Tue 25 Nov 2008 at 19:10 with 8 comments

DHHの
Tweet
によるとRails-2.2.2がリリースされた模様です。

pre>>
% gem search -r rails
(snip)
rails (2.2.2)
(snip)
<<--

Rails 2.2: i18n, HTTP validators, thread safety, JRuby/1.9 compatibility, docs

Rails 2.2 is finally done after we cleared the last issues from the release candidate program. This release contains an long list of fixes, improvements, and additions that’ll make everything Rails smoother and better, but we also have a number of star player features to parade this time.

posted by genki genki on Sat 22 Nov 2008 at 04:53 with 0 comments

今月16日のMerb newsで、数日後にリリースされると予定されていた
Merb-1.0.1がリリースされたみたいです。

Merb news nov-16-2008

Merb 1.0.1

Merb 1.0.1 is in the work and should be released in the next few days. It’s just a maintenance release, so nothing new but we expect to ship with the new upcoming version of DataMapper, optimized generator (you will be able to use spaces in between arguments if you follow the unix standard) and some bug fixes.

インストール/アップデートはRubyGemsで行えます。

pre>>
% sudo gem install merb
<<--

posted by genki genki on Wed 19 Nov 2008 at 09:24 with 0 comments
今話題の [gemspec.info](http://gemspec.info) でs21gブログのOpenIDでログイン出来るようにしていただけました。 まいむぞうさんありがとうございます! s21gブログのOpenIDは、 pre>> blog.s21g.com/openid/ <<-- の形式です。
posted by genki genki on Mon 27 Oct 2008 at 11:03 with 0 comments

昨日のRails勉強会でMaihaさん、Yuguiさんと話してましたが、
PayPalが日本円でのマイクロペイメントサービスを開始したようです。

PayPal、日本円でもマイクロペイメントサービス開始

米eBay傘下の決済サービス大手PayPalは22日、少額決済を行える、いわゆる「マイクロペイメント」サービスを拡大したと発表した。米国だけでなく、日本円など19通貨にも対応した。

この業界でB2Cサービスを展開してる会社にとっては、結構大きな出来事じゃないでしょうか。

See Also

posted by genki genki on Mon 27 Oct 2008 at 07:29 with 0 comments

中川さん(aka Psychs)
がiPhone用の画像ダウンロードライブラリ
ImageStore
をGitHub上で公開されたようです。

iPhone 用の画像ダウンロードライブラリ、ImageStore のソースコードを公開します。

http://github.com/psychs/imagestore/tree/master

ライセンスは、New BSD ライセンスです。

Thanks!

posted by genki genki on Sat 25 Oct 2008 at 04:37 with 0 comments

This release includes a small spec change.

I changed spec of count method. Now it works without :group option.
If you want old behaviour, you can use count_ids method instead.

http://github.com/genki/pagination_scope/tree/master

Good luck ;-)

posted by takiuchi takiuchi on Sun 28 Sep 2008 at 03:55 with 0 comments

Today, maiha, the author of the one of the most authorized books regarding rails in Japan, had sent me a patch including various improvements for the PaginationScope.
I want to say thank you for the great contribution.

And then I merged it into the master and pushed to the GitHub.

http://github.com/genki/pagination_scope/tree/master

Here is the list of improvements from Maiha.

<モデル>

  • AR.paginate の第三引数に options を渡せるように変更
  • AR.paginate の options は第一引数でも可能にした
    AR.paginate(params[:page], 10, options)
    以外にも以下のように書ける
    ruby>>
    options = {
    :page => params[:page],
    :per_page => 10,
    :order => "id",
    }
    AR.paginate(options)
    <<--

<ヘルパ>

  • Helper#paginate のオプション名を変更 (newer->prev, older->next)
    昇順、降順によって newer/older が逆の意味になってわかり辛かったので
  • Helper#paginate の各要素にクラス名を付与
    will_paginate のスタイルシートがそのまま使えるように合わせた
  • Helper#paginate のリンクに rel 属性を追加
    AutoPagerize 対応
  • Helper#paginate のオプションに truncate を追加
    省略時の '...' を設定可能にした

Thanks again!

posted by takiuchi takiuchi on Fri 26 Sep 2008 at 18:46 with 0 comments

Recently,
the Formula
had been slowing down.

The Formula is the service which provides a way to make images of mathematical expressions for embedding it into your blogs, BBSs and so on.

There was the problem in the manner of ranking the referred formulae.
So I solved the issue by choosing simpler algorithm.

Now it became faster.
Please try it again if you've given up once before for the slowness of the service.

Thank you for patience.
I will keep appreciating any kind of feedbacks.
Feel free to contact us.

posted by takiuchi takiuchi on Wed 24 Sep 2008 at 03:38 with 0 comments
Today, I added the feature mentioned in the title above to [the Gist Ubiquitifier](http://ubiquity.s21g.com/).
Gist Ubiquitifier
Uploaded with plasq's Skitch!
Obviously, it lacks title of the commands. This spec came from our purpose of providing transparent service to make pages for installing ubiquity commands. But it might be provided in the future.
posted by takiuchi takiuchi on Tue 16 Sep 2008 at 21:36 with 0 comments
[Formula](http://formula.s21g.com/) is the service for embedding and sharing images of mathematical expression on your blog easily. Recently, the service corresponded to embedding by BBCode. For example, following BBCode is generated to be embedded. pre>> [url=http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt][img]http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt.png[/img][/url] <<-- So that you can use it for bulletin boards which are capable to interpret BBCode such as phpBB.
posted by takiuchi takiuchi on Tue 9 Sep 2008 at 18:21 with 0 comments

最近、
NeverBlock
の周辺の動きが面白い。

What is it all about?

NeverBlock is a Ruby library that allows developers to write non-blocking, concurrent code in a transparent manner. Meaning that you will keep coding in your traditional ways while you get the benefit of non-blocking IO operations.

LL futureの講演者控え室で、まつもとさん、高橋さんから、
その辺の話を伺う機会がありましたが、
NeverBlockはRuby-1.9普及の引き金になるかもしれない。
なぜなら、NeverBlockはRuby-1.9のFiberに依存したライブラリで、
Ruby-1.9が無いと利用できないからだ。

Building the Never Blocking Rails, Making Rails 12X Faster

They told you it can't be done, they told you it has no scale. They told you lies!

What if you suddenly had the ability to serve mutliple concurrent requests in a single Rails instance? What if you had the ability to multiplex IO operations from a single Rails instance?

No more what ifs. It has been done.

NeverBlockを使うとRailsが12倍速くなるらしい。

MySQLPlus: A Non-Blocking MySQL Driver for Ruby 1.8 and 1.9

MySQLPlus is billed as a new general purpose MySQL driver that supports "threaded access and async operations"

NeverBlockを使うために作られたMySQL用の新しいドライバらしい。

See Also

posted by genki genki on Thu 4 Sep 2008 at 09:19 with 0 comments

I made an Ubiquity command in order to enable us to get images of mathematical equations from anywhere at anytime.
It uses
the Formula
, which is the service for making images of mathematical formulae.

You can also get a preview of your input in real time, like this.

formula_u.png

INSTALL

The command is able to be installed from here.

NOTE1: You need
the Ubiquity
, an extension of the Firefox, to use ubiquity commands.

NOTE2: This command requires BASIC authentication via SSL at the first time in order to prevent SPAM posts.
When you get the dialog box of the authentication,
please enter your name and password which were used when you left a comment at the Formula.
It means that you must leave at least one comment to the Formula for being authorized.

posted by takiuchi takiuchi on Thu 4 Sep 2008 at 04:28 with 0 comments

I made a tiny presentation tool for terminal addicts (of course including myself ;-)

USAGE is in README and sample directory.

You can make a presentation by using your favorite terminal like this.

pre>>

  _                  _
 |_)   |_     _ ._  |_) _.o| _
 | \|_||_)\/ (_)| | | \(_|||_>
          /

 The Web Application Framework

    s21g LLC Genki Takiuchi

1/15|** |00:02
<<--

I'd used this tool at the
LL future.

posted by takiuchi takiuchi on Mon 1 Sep 2008 at 11:50 with 0 comments

MozillaLab's Ubiquity is a promising new window to the world after the age of the search box.
I was strongly impressed with it,
I've done a quickie job.

Gist Ubiquitifier

This is a service for enabling us to publish your Ubiquity commands without any servers which host the HTML file for installing the commands.

USAGE

At first, you make a JavaScript snippet including Ubiquity commands on the Gist.

If the URL of the page is as follows,

http://gist.github.com/7630

the URL of installation page is as follows.

http://ubiquity.s21g.com/7630

You can also specify the name of the command by adding name parameter to the query string, like this.

http://ubiquity.s21g.com/7630?name=s21g-blog-search

Currently the design of the service is very crufty.
I will improve it if there are needs.

posted by takiuchi takiuchi on Mon 1 Sep 2008 at 10:22 with 0 comments

The PaginationScope
library is a pagination library of the NamedScope era.

The difference to the last version is only a small bug fix.
So you can keep using it if you don't mind.

That's all. But I shall use this opportunity to write some document for the helper method of the library.

SYNOPSIS:

pre>>
paginate [, ]
<<--

The scope is a pagination scope object.
The options is a hash including several parameters as follows.

  • :newer The label string for the link to a newer page.
  • :older The label string for the link to an older page.
  • :left The number of pages which appears on the left side.
  • :right The number of pages which appears on the right side.
  • :window The width of pages which surrounds the current page.
posted by takiuchi takiuchi on Wed 20 Aug 2008 at 02:17 with 0 comments

PassengerのPhusionから、「Ruby Enterprise Edition」なる製品がリリースされたようです。

Ruby Enterprise Edition

Ruby Enterprise Edition is a drop-in, transparent solution for improving your Ruby on Rails website's scalability and performance, while decreasing memory usage.

Railsアプリの動作を高速かつメモリ消費を抑えることができるように
チューニングされたRubyのようです。
こちら
でtarballが配布されていますね。

以下のような特徴があるようです。

  • Passenger上でのRailsアプリのメモリ使用量を平均33%少なくします
  • 普通のRuby-1.8.6と100%互換性を持っています
  • きちんとテストされていて、非常に安定しています
  • 付属のインストーラで、Linuxのパッケージとおなじぐらい簡単にインストールできます
  • 普通のRubyと共存させることができます。100% self-contained, 0% installation risk!

とのこと。Ruby自体に手を加えるというのは興味深いアプローチですね。

posted by genki genki on Fri 13 Jun 2008 at 10:18 with 0 comments

Rails 2.1がリリースされたようです。

Rails 2.1: Time zones, dirty, caching, gem dependencies, caching, etc

Rails 2.1 is now available for general consumption with all the features and fixes we’ve been putting in over the last six months since 2.0. This has been a huge effort by a very wide range of contributors helping to make it happen.

新しい機能

  • タイムゾーンのサポート
  • Dirty tracking(なんだか面白そう)
  • Gemの依存関係(前々回のRails勉強会でやってたやつ)
  • Named scope
  • マイグレーション番号がタイムスタンプに(UTC-based migrations)
  • キャッシュの改善(Better caching)

なかなか面白そうですね!

posted by genki genki on Sun 1 Jun 2008 at 12:41 with 0 comments

以前紹介したPassenger (別名mod_rails)がリリースされたようです。

Passenger mod_rails for Apache

Gemで配布されているので、インストールは以下でOK.

sh>>
% sudo gem install passenger
<<--

DHHも記事を書いてます。

Passenger (mod_rails for Apache) launches

The guys at Phusion has finally wrapped up Passenger, their mod_rails-like module for Apache. It’s looking like a great, easy solution for people who want a more PHP-like deployment story.

今後が楽しみですね。

個人的にはEbb+swiftiplyの動向が気になってます。

See Also

posted by genki genki on Sat 12 Apr 2008 at 11:25 with 1 comment

日ごろ何かとお世話になっているRDocのバージョン2.0.0がリリースされたようです。

rdoc version 2.0.0 has been released!

RDoc is an application that produces documentation for one or more Ruby source files. RDoc includes the rdoc and ri tools for generating and displaying online documentation.

posted by genki genki on Sat 12 Apr 2008 at 11:06 with 0 comments

Rails is moving from SVN to Git

We’ve been preparing for Rails to move the official source repository from Subversion to Git for some time now and it seems that it’ll happen over the next week or so. The premiere will happen alongside the official launch of Github.

Rails界隈ではGit化が進んでいましたが、とうとうRails本体もGitに移行する模様です。
ついでにチケット管理システムもTracからLighthouseに移行するらしい。

さて、そろそろ
Git - SVN Crash Course
を読んでSVNからGitに移行する潮時かなあ。

posted by genki genki on Thu 3 Apr 2008 at 07:27 with 0 comments

RubyGemsの1.1.0がリリースされたようです。

Announce: RubyGems Release 1.1.0

RubyGems now uses persistent connections on index updates. Index updates are much faster now.

インデックスの更新が速くなったとの事。確かに結構時間がかかっていたのでうれしいかも。

gem install now exits with non-zero exit code when appropriate.

地味にうれしいかも。

RubyGems now requires Ruby > 1.8.3.

ふむふむ。

RubyGems自体のupdateを行う場合は、

sh>>

gem update --system

<<--

を実行する必要があります。

posted by genki genki on Sun 30 Mar 2008 at 03:00 with 0 comments

EdgeRailsのOpenIdAuthenticationがruby-openid 2.0に対応した模様です。

Changeset [9103]: Updated OpenIdAuthentication to use Ruby OpenID 2.x.x gem (closes #10604)

Updated OpenIdAuthentication to use Ruby OpenID 2.x.x gem (closes #10604) [Josh Peek]

徐々に整備されてきましたね。

See Also

posted by genki genki on Fri 28 Mar 2008 at 08:47 with 1 comment

Matz announced a release of the snapshot of Ruby-1.9.0-1 at the ruby-dev mailing list yesterday.

%%1.9.x%% 1.9.0-x versions are for development and
so this release is not stable.
It has fixed some bugs and not fixed others.

At any rate, files are here:

Original Source

Updates

  • 6 March, 2008. Corrected the mistaken version number 1.9.x mentioned above to 1.9.0-x. Thanks Ryan!
  • 24 March, 2008. Added the original source which hughperson told me at reddit.com. Thanks!
posted by takiuchi takiuchi on Sun 2 Mar 2008 at 15:33 with 3 comments

I decided to separate entries into two blogs according to its language. This is the first entry which has written in English to this weblog.

I had decided learn about English about two years ago, but that is not achieved yet. The goal is so far.
I want to communicate with cool programmers using English as a native or second language.

By the way, I plan to write something about Ruby on Rails, computer graphics (especially about offline rendering) and so on to this blog.

If you are familiar with Japanse, please visit
"Hello, world!"
the another weblog which is written Japanese.

Thank you.

posted by takiuchi takiuchi on Wed 27 Feb 2008 at 13:27 with 0 comments

ちょっとした試みに、GTalkを使って、技術情報を交換するための
オープンなグループチャットを作ってみました。

lightningtalk@gamil.com

上記IDをGTalkやPandionなど、お使いのJabberクライアントの
Contactに追加し、最初に一度発言をする事で自動的に登録されます。

ログをGmailに転送する設定をしておけば、
後でGmailを使って検索することもできます。
参加を解除する場合は、Contactリストから削除すればOKです。

こちらのTwitterアカウントから、Chatの内容を確認することもできます。

http://twitter.com/lightningtalk

お気軽にお試しいただければ幸いです。

posted by genki genki on Sun 10 Feb 2008 at 01:36 with 0 comments

以前紹介したRakがバージョンアップしたようです。

Rak

Rak is a grep replacement in pure Ruby. It accepts Ruby syntax regular expressions and automatically recurses directories, skipping .svn/, .cvs/, pkg/ and more things you don't care about. It is based on the Perl tool ack by Andy Lester.

Patchを送った問題も修正されているようです。変更点は以下のとおり。

0.9 / 2008-02-03

  • Added .rake to ruby files
  • Colouring works on Win32 if win32console gem is installed.
  • Checks that file is readable by the current user.
  • Ignores socket files.
  • Added .erb and .haml to Ruby filetypes.
  • Added search at end-of/start-of line options
  • Fixed searching up the directory tree when passed '.'
posted by genki genki on Mon 4 Feb 2008 at 11:51 with 0 comments

早速、RubyでGoogleの
SocialGraph API
を利用するためのライブラリが
リリースされたようです。

Ruby gem for Google SocialGraph released

We’ve cooked up a Ruby library to talk to the SocialGraph API, and get really interesting info out of it. This is the sort of thing that’s always more useful if more people have access to it, so even better, we’ve licensed it under the LGPL, so you can get all that Google goodness without having to do anything tedious to get it.

新しい技術を利用するライブラリがすぐに出てくるのは嬉しいですね。

posted by genki genki on Mon 4 Feb 2008 at 01:33 with 0 comments

お疲れ様でした。

Railsが対応するのは 1.9.1 が出てからだろうか。

更新履歴

  • 2007/12/26 tar ballへのリンクを追加。
posted by genki genki on Wed 26 Dec 2007 at 06:01 with 0 comments

遂にリリースされましたね。

Ruby-1.9.1(12/25リリース予定の)にバンドルされる見通しのRubyGemsですが、
それに先立ってバージョン1.0.0がリリースされました。

RubyGems 1.0.0

Release 1.0.0 fixes several bugs.

RubyGemsのバージョンアップを行うためには、
通常のGemパッケージとは違い、以下のような
コマンドを実行する必要があります。

shell>>
% sudo gem update --system
<<--

今年の年末はいろいろと新しくなって、ユーザとしては楽しいですね。
開発者の皆様、お疲れ様です。

posted by genki genki on Thu 20 Dec 2007 at 21:53 with 0 comments

前から思っていたけれど、簡単なアプリケーションを作ったり、
とりあえずアイディアを動く形にするためには、MySQLを使うよりも
Sqliteの方が向いていると思います。

そんな人には、今回のRailsのアップデートは嬉しいかもしれません。

Softies on Rails: Rails 2.0.2

So I believe that for anyone reading this blog, Rails 2.0.2 is a must-have upgrade. Just watch out for the new default to SQLite3 instead of MySQL for new applications.

というわけで、Rails-2.0.2では、デフォルトで使用されるDBがMySQLから
Sqlite3に変更されたようです。初めて使う人にとっての敷居が下がるのは良いことですね。

See Also

更新履歴

  • 2007/12/19 See Alsoを追加
posted by genki genki on Tue 18 Dec 2007 at 04:11 with 0 comments

まつもとさんも何度か記事を書いていたMUDA
(作者が発音してるのを聞いた感じだと「ムーダ」と読むみたい)の
サイト
がオープンしたようです。

MUDA site opens!

I’ve launched MUDA project page! Check it.

MUDA is a vector language for CPU.
Yeah, not for GPU or (dead and gone) GPGPU ;-)

I’m planning to use MUDA to code core computation part of my lucille renderer.

おめでとうございます!

posted by genki genki on Mon 10 Dec 2007 at 01:09 with 0 comments

先日お伝えしたとおり、Rails 2.0がリリースされましたね。

Rails 2.0: It's done!

Rails 2.0 is finally finished after about a year in the making. This is a fantastic release that’s absolutely stuffed with great new features, loads of fixes, and an incredible amount of polish. We’ve even taken a fair bit of cruft out to make the whole package more coherent and lean.

Railsを使い始めたのが2005年の12月、ちょうどRails 1.0がリリースされた
ころの事。あれからちょうど2年の歳月が流れました。
感慨深いものです。

末尾が偶数バージョンがリリースされると、すぐに奇数バージョン
が跡を追うのは相変わらずですね ;-)

早速ですが、このブログシステムもRails 2.0(2.0.1)に移行しました。
1.2.5から、RC1、RC2を経て、バージョンアップをしてみましたが、
特に大きな問題は発生しなかったです。

posted by genki genki on Sat 8 Dec 2007 at 09:41 with 0 comments

Changeset 8321 - Rails Trac - Trac

Preparing for release shortly

Tracのタイムラインを見ていたら、Rails 2.0が本日
(米国時間だと12/6)リリースするみたいですね。

rails_2_0

posted by genki genki on Fri 7 Dec 2007 at 08:50 with 0 comments

Rails 2.0のRC2がリリースされましたね。正式リリースも間近のようです。

Rails 2.0: Release Candidate 2

After another batch of fixes, tweaks, and buckets of polish, we’ve prepared the hopefully last step before 2.0 can go final: Release Candidate 2. If nothing major pops up, expect the final version to land within the next week or two at the most.

早速、このブログもRails 2.0 RC2にアップデートしてみました。
今まではRC1でしたが、特に問題も無く、すんなりと移行できました。

posted by genki genki on Fri 30 Nov 2007 at 07:03 with 0 comments

Rails 2.0: Release Candidate 1

We’ve been taking our sweet time, but now it really is almost there. We’ve just pushed new beta gems to gems.rubyonrails.org and created the rel_2-0-0_RC1 tag. So this is shaping up to be the last chance to raise concerns for Rails 2.0 before we go final in oh-so-shortly.

早速このblogをRails-2.0 RC1 (r.8125)仕様にしてみましたが、もともとEdge Rails (r.7357) で動いていたので、特になにも修正をしなくても移行できました。

詳しい情報は、諸橋さんが
こちら
にまとめてくださっています。

posted by genki genki on Sat 10 Nov 2007 at 10:12 with 0 comments