basyura's blog

あしたになったらほんきだす。

Sequel Development を何となく訳してみる

Development
Sequel is being actively developed! You can join in on the discussions, ask questions, suggest features, and discuss Sequel in general by joining our Google Group - Sequel Talk or our IRC channel.

Sequel: The Database Toolkit for Ruby - Development

Sequel は活発に活動しています!分からない事があれば誰でも聞けて、議論する事もできます。Google Group の Sequel Talk か IRC チャンネルに是非参加してください。

Reporting Bugs
To report a bug in Sequel, use our bug tracker. If you aren't sure if something is a bug, post a question on the Google Group or ask on IRC.

Sequel: The Database Toolkit for Ruby - Development

バグが見つかった場合はバグトラッカーで報告してください。バグかどうか分からないときは Google Group か IRC で聞いてみてください。

Source Code
The master source code repository is jeremyevans/sequel on github. The latest release version also has a git clone at RubyForge.

Sequel: The Database Toolkit for Ruby - Development

リポジトリは github の jeremyevans/sequel です。最新のリリースバージョンは RubyForge にもあります。

Submitting Patches
The easiest way to contribute is to use git, post the changes to a public repository, and send a pull request, either via github, the google group, or IRC. Posting patches to the bug tracker or the Google Group works fine as well.

Sequel: The Database Toolkit for Ruby - Development

git を使うと簡単にパッチをやりとりできます。変更を公開リポジトリに反映させた後に github、Google Group、IRC のいずれかで取り込みの依頼をしてください。バグトラッカーか Google Group へのパッチ投稿があるとさらに良いです。

License
Sequel is distributed under the MIT License. Patches are assumed to be submitted under the same license as Sequel.

Sequel: The Database Toolkit for Ruby - Development

Sequel は MIT ライセンスで配布されています。パッチも Sequel と同じライセンスになると思います。

インスタンスの生成無しに呼べるのはなぜ?

過去の日記を検索してみたら Ruby 初めて 4 年になることが分かったけど、Ruby に関しては分からない事だらけ。

class Object
  def hello
    puts "hello from Object"
  end
end
class Class
  def hello2
    puts "hello from Class"
  end
end
class A 
end
Object.hello #=> hello from Object
Class.hello  #=> hello from Object
Class.hello2 #=> hello from Class
A.hello  #=> hello from Object
A.hello2 #=> hello from Class

なんとなく java でいう static メソッドの呼び出しになるからクラスに定義されてある static メソッドは呼び出しできない的な思考になるんだけど、よく分からない・・・。
Class と Object に定義されてあるメソッドはインスタンスメソッドと同じようにレシーバから辿って見つかったものを呼び出してる。そういうものと覚えておけばいいのかな?
分かりやすい理解の仕方がないものか。

仕事は5年でやめなさい。 - 松田公太

★★★★☆
2度目。かっこいいんだよなぁ、この人。

自分ひとりで単調な仕事に耐えるときには、とことん「ポジティブ」に考える。

しかし

一見単調に見える仕事こそ、脳を仕え。

長らく、単調とまではいかないもののテンションが上がらない仕事が続いてどうしようと思う今日この頃。このプロジェクトが始まって 6 年ぐらいだろうか。5 年をちょっと超えたところだけど次に取り組みたいところ。
ということで「Ruby 案件があるところならどこでも行きます」と面談でお願いした。Java 案件になる可能性の方が高そうだけどこれが転機になれば。