Wednesday, December 19, 2007 Code's Worst Enemy I'm a programmer, and I'm on vacation today. Guess what I'm doing? As much as I'd love to tell you I'm sipping Mai Tais in the Bahamas, what I'm actually doing on my vacation is programming. So ... 続きを読む
Tell all the Truth but tell it slant Success in Circuit lies Too bright for our infirm Delight The Truth's superb surprise The Big Picture Open Web vs. Light-Silver Flashy Stuff News flash from MIX07: C# beats JScript at chess! Do users care?... 続きを読む
幅優先探索はメモリ量との戦いになるケースが多くあります。ここでは広井さんのHP「M.Hiroi's Home Page」にある Guest Book で2000年12月頃に話題となった完全ハッシュ関数とその逆関数を使うことによりメモリ量をギリギリに抑えて11パズルの最適解が最長... 続きを読む
Perl 5.8以降では、このような場合にin-memory fileが使えます。 【続】やはり Perl はメモリ喰いな言語。データ型の内部構造 :: Drk7jpDB上の全レコードをいったん perl 側の配列に格納して、その結果を返す。ってコードなのですが、当然ながらレコード数が... 続きを読む
Before reading further... Are you looking for great Linux hosting from a company that cares about GNU/Linux? Pick Dreamhost hosting, get a 10% bonus to the disk space (and support Free Software Magazine in the meantime!) With all of the recen... 続きを読む