Entries from 2009-10-21 to 1 day

今日の復習

日付->曜日 ファイル別コスト比較 コード書く前に 2割 並行プログラム試験 投資信託にだまされるな Tree-based indexing

10章「メモリの節約」 - 珠玉のプログラミング(Programming Pearls)

珠玉のプログラミングの10章。 10.6.1 インタプリタのコードとか。 10.6.2 bitmap はどうだろう。用途によるか。 10.6.3 HDD 80GB Mem 1GB 空き 180MB 10.6.4 略 10.6.5 関数の補正に1要素=数ビットの表を利用した。 10.6.6 よく分からなかった。 10.6.7 has…

global:set_lock の Nodes に [] を指定するのは間違い

Sets a lock on the specified nodes (or on all nodes if none are specified) on ResourceId for LockRequesterId.と書いてあるので set_lock の Nodes に [] を指定したら常に true が返ってきて困った。 global モジュールのコードを読んだが set_lock({…

Erlang の global モジュール

こんなのがさらっと提供されている事が分散に強い言語ってことだよな。 The ability to globally register names is a central concept in the programming of distributed Erlang systems. In this module, the equivalent of the register/2 and whereis/1…