Entries from 2009-10-06 to 1 day

もーうゃん

ひげ太が「とうちゃん」と僕を呼んでいる気がするんだけど、妻には「もーうゃん」と聞こえるとか。

今日の復習

モデリングの core に何使う? シンクロナイザ フィードバックを生かす I/O コスト比較

x86-64 アドレッシングまとめ

このまとめは、間違い勘違いを含んでいる可能性があります。ご注意を。 基本 mov [base-reg + index-reg * scale + displacement], src-reg ; intel 形式 movq src-reg, displacement(base-reg, index-reg, scale) ; gas 形式 (movq (& base-reg + (* index-…

8章「アルゴリズムのデザインテクニック」 - 珠玉のプログラミング(Programming Pearls)

珠玉のプログラミングの8章。 8.7.1 maxendinghere の不変表明は「任意の 0 .. i-1 に関して maxendinghere がx[i - 1] を含む部分配列の総和の max 」であること。 0 のときは 0 なので成り立つ。 k - 1 まで成り立っているのであれば、maxendinghere は x[…

Erlang における equal 演算子

覚えられない。 == equal to /= not equal to = less than or equal to less than >= greater than or equal to > greater than =:= exactly equal to =/= exactly not equal to