2009-05-21から1日間の記事一覧

mysvglibを作り始めた

SVG

if __name__ == "__main__": cont = Context() cont.initialize() cont.render_header() cont = cont.trans(300, 300) cont.circle(r=100) for i in range(8): cont.rot(degrees(45 * i)).trans(200).circle(r=50) cont.render_footer() 仕様を網羅したライ…

プログラムは人が読むために書くべきもの

First we want to establish the idea that a computer language is not just a way of getting a computer to perform operations, but rather that it is a novel formal medium for expressing ideas about methodology. Thus, programs must be written …

Σ(x^3) = (Σx)^2

この前「昔描いたんだけど思い出せないなぁ」って言っていたののうちの一つを今唐突に思い出した。もう一つあったはず。なんだっけなぁ。そうか、思い出した。斜め線が出るのが嫌だったからどうすれば消せるか考えた結果、4Σ(x^3) = 4(Σx)^2 = (n (n + 1))^2…

Re: 「ダウンロードと書かれれば多くは不正な方法を連想すると思います」

http://japan.cnet.com/blog/web/2009/05/20/entry_27022504/ via @btoこの人、鎮火する気あるのかなぁ。この記事は要は「芸能人が映画をダウンロード視聴したことについてブログに書いているのを見て、勝手に違法であると決めつけてかかったエントリーを書…