2010-05-01から1ヶ月間の記事一覧

Error parsing svn output: undefined method `name' for nil:NilClass

# どうも、トラブルシューティングブログ色が強まりつつあるが…Redmineで以下のエラーが出た場合(特に Output was 以降が空の場合)、 Processing RepositoriesController#show (for 111.111.111.111 at 2010-05-19 12:08:30) [GET] Parameters: {"action"=…

/proc/meminfo

http://shinh.skr.jp/m/?date=20100516#c01 の kosakiさん情報が、有用過ぎるので抜粋。 InactiveはActiveと比べてアクセスビットの有無を先にチェックするという意味しかないのでActiveとInactiveを分けて考えるのは意味がありません 参照なされている記事*…

オセロゲームを作ってみた

http://bitbucket.org/komamitsu/misc/src/tip/ocaml-reversi/作ってみようかと思ったのは、ふと「ちゃんとゲーム木を実装したことが無いなぁ、特にαβカット周りは全然やったことない」と思ったからなのです。できれば、min-maxの部分を切り分けておいてオセ…

9.10 -> 10.04 の do-release-upgrade でエラー

こんなん出た。 An unresolvable problem occurred while calculating the upgrade: The package 'ubuntu-desktop' is marked for removal but it is in the removal blacklist.で、ubuntu-desktopを消しちゃおうかどうしようか迷っていたのだけど、https://…

deep copy

OCamlで # let orig = Array.init 8 (fun _ -> Array.create 8 "x");; val orig : string array array = [|[|"x"; "x"; "x"; "x"; "x"; "x"; "x"; "x"|]; [|"x"; "x"; "x"; "x"; "x"; "x"; "x"; "x"|]; [|"x"; "x"; "x"; "x"; "x"; "x"; "x"; "x"|]; [|"x"; …