2011-01-01から1年間の記事一覧

良い相続人であるために

yuguiがレガシーコードに絶望した人に贈りたい一冊 - 『レガシーコード改善ガイド』 著者 マイケル・C・フェザーズ 表題 レガシーコード改...

rubykaigi.orgの歴史

whoisしてみると分かるようにrubykaigi.orgドメインは現在私が所有している。元々RubyKaigiは独自のドメインというのは持っていなかった。その頃、確か高橋か角谷さんにだったと思う、rubyconfみたいにドメイン取らないのかと聞いてみた。取るつもりはないと…

Googleによるトランスセクシュアルへの配慮の事例

先に報告したようにこのたびGoogleに転職した。 ここで、Googleのトランスセクシュアルへの対応に感心したので書いておく。履歴書まず、US系の企業としては当たり前の慣習であり法的自己防衛でもあるのかもしれないけど、履歴書に性別を書かされない。背景履…

転職のお知らせ

世間は地震により慌ただしい。震源地近くの被災者の方にはお見舞いを申し上げる。 この最中に、個人的な報告を投下するのはちょっと憚られるものもあるのだけれども、あまり時期を外しても書く機会を逸するので思い切って書くことにしよう。1月一杯で約3年務…

Understanding Go compiler tools (2)

Today I read memory management in go compiler.There are go.y, y.tab.[ch], lex.c and other files in src/cmd/gc/ directory. It seems that the go compiler has a lexical analyzer written by hand and a syntax parser generated by yacc(bison). le…

Understanding Go compiler tools (1)

Recently I read Go lang. I began to understand its structure.How to buildYou can build the go compiler and tools as documented in the official documentation. It is quite easy. But it was confusing for me that I must run ./all.bash instead …

Localizing irb messages

Do you know rubyists in Japan use Irb in Japanese?% irb --help Usage: irb.rb [options] [programfile] [arguments] -f ~/.irbrc を読み込まない. -m bcモード(分数, 行列の計算ができる) -d $DEBUG をtrueにする(ruby -d と同じ) -r load-module ruby .…