2006-01-01から1年間の記事一覧

もろもろ

glx を aiglx に変更。make.conf の USE に aiglx を追加して xorg-server を re-emerge した。FPS はたいしてかわらん。こんなもんか? gcc-3.4.6 を unmerge した。 framebuffer を vesafb-tng へ変更。 cairo の USE に glitz svga png を追加。

beryl

http://gentoo-wiki.com/Beryl/etc/portage/package.keyword に以下のエントリを追加する。 #Beryl Core x11-wm/beryl x11-wm/beryl-core x11-plugins/beryl-plugins x11-plugins/beryl-dbus x11-misc/beryl-manager x11-misc/beryl-settings x11-apps/xlscl…

Twilight Princess TODO.

ゴーストあと2匹。どこにいるんだよぅ...

札幌 2 - 0 甲府(天皇杯)

4強!いやぁ、すごいことになってます!!でも次はガンバだ…

ビッグバン宇宙論 - サイモンシン

ビッグバン宇宙論 (上)作者: サイモン・シン,青木薫出版社/メーカー: 新潮社発売日: 2006/06/22メディア: 単行本購入: 2人 クリック: 51回この商品を含むブログ (133件) を見る読了。 宇宙ものは大好きだが「フェルマーの最終定理」にはかなわなかった。正直…

アフターダーク - 村上春樹

アフターダーク作者: 村上春樹出版社/メーカー: 12345発売日: 2004/09/07メディア: 単行本購入: 1人 クリック: 54回この商品を含むブログ (534件) を見る僕の村上春樹ベストは「世界の終わりとハードボイルド・ワンダーランド」だ。そして「ダンス・ダンス・…

Singleton - Greg Eagan

Singleton と書いて「ひとりっ子」と訳す。これ如何に。ひとりっ子 (ハヤカワ文庫SF)作者: グレッグイーガン,Greg Egan,山岸真出版社/メーカー: 早川書房発売日: 2006/12/01メディア: 文庫購入: 7人 クリック: 80回この商品を含むブログ (183件) を見る読書…

Twilight Princess TODO.

ゴーストあと3匹。どこにいるんだろう。実はダンジョン行ってないところあんのかな… 試練の洞窟は気合いいれて挑まんとだめだ。だけど面白い!

Twilight Princess TODO.

虫集め、ハートのかけら、アイテム最大クリア。 あとは、ゴーストか… あ、試練の洞窟もやらないと。

感想その1

率直に感想だけ。 リンクカッコいい!うちの娘もかっこいいと褒めてたぞ。 ミドナよい。ゼルダ美人。 やっぱりゴロン族好きだ。雪男夫婦も良かった。 アゲハ恐い。ジョバンニおもしろすぎ。 その他、味方キャラも立っていて良いと思う。 一騎打ちもカッコよ…

Observer pattern

こんなのどう? namespace Ravine { /** * Subject class */ template <class Host, class Param> class Subject { public: /** Observer class */ class Observer { public: virtual ~Observer() {} virtual void Notify(Param param) = 0; }; virtual ~Subject() {} virtual void Not</class>…

patch 178

Vim

165 から 178 へ。 Patch 7.0.165 Problem: Using CTRL-L at the search prompt adds a "/" and other characters without escaping, causing the pattern not to match. Solution: Escape special characters with a backslash. Files: src/ex_getln.cPatch…

Finished Zelda, Twilight Princess.

ゼルダの伝説 トワイライトプリンセス - Wii出版社/メーカー: 任天堂発売日: 2006/12/02メディア: Video Game購入: 12人 クリック: 248回この商品を含むブログ (451件) を見るトワプリ完了。完了したのは3日前だが、いまだにあれこれ考えているという感じで…

upgrade today ;)

[ebuild U ] app-arch/gzip-1.3.8 [1.3.5-r10] USE="-nls -pic -static (-build%)" 533 kB [ebuild U ] sys-apps/findutils-4.3.2 [4.3.1-r1] USE="-nls (-selinux) -static" 1,277 kB [ebuild U ] dev-libs/libgpg-error-1.5 [1.4] USE="-nls" 364 kB [ebui…

command さらにもういっちょ

I am copying this example from the other example I posted a day or two ago. Requirements are very simliliar... template <class T> class Method { public: typedef int (T::* MemFunPtr)(char* []); Method(MemFunPtr pMethod) : mpMethod(pMethod) { } int I</class>…

command もういっちょ

How about using a template? Something similar to the mem_fun() adapter. // Totally untested code follows template <class T> MemFunCommand : public Command { T* mpHost; void (T::* mpMemFun)(); public: explicit MemFunCommand(T* pHost, void (T::* pMem</class>…

command

Yes, it's possible, use map<string, boost::function<void()> >. void quit(); struct X { void set_visible(bool visible); }; X x; std::map< std::string, boost::function<void()> > commands; int main() { commands["quit"] = &quit; commands["show"] = boost::bind(&X::set_visible, &x, tr</void()></string,>…

upgrade today ;)

[ebuild U ] sys-devel/autoconf-wrapper-4-r3 [4-r2] 0 kB [ebuild U ] sys-devel/m4-1.4.8 [1.4.7] USE="-nls" 567 kB [ebuild U ] sys-devel/binutils-config-1.9-r3 [1.9-r2] 0 kB [ebuild U ] sys-apps/pciutils-2.2.3-r2 [2.2.3-r1] 1,096 kB [ebuild …

札幌 3 - 2 柏

逆転勝利!すなおに喜ぼう!

split_vector

http://mailman.lyra.org/pipermail/scintilla-interest/2002-March/000903.html ランダムな挿入と削除に強い vector

upgrade today ;)

[ebuild U ] x11-libs/libX11-1.1 [1.0.3-r1] USE="-debug -ipv6 -xcb%" 1,391 kB [ebuild U ] media-libs/mesa-6.5.1-r2 [6.5.1-r1] USE="nptl -debug -doc -hardened -motif -xcb%" VIDEO_CARDS="i810 -mach64 -mga -none -r128 -radeon -s3virge -savage …

札幌 2 - 0 東京V

良いスコア。 ところでヤンツー退団。 城福強化部長も居なくなるのか。アクションサッカーは終わりかな… とりあえずカウンターサッカーでも良いから昇格、次シーズンに降格もやむなしという判断はないよねぇ… スタイルは変ってもいいと思うが、迷ったらだめ…

2.6.18-r3

Linux version 2.6.18-gentoo-r3 (root@allegro) (gcc version 4.1.1 (Gentoo 4.1.1-r2)) #1 Wed Nov 22 19:51:09 JST 2006

upgrade today ;)

[ebuild U ] dev-perl/HTML-Tree-3.23 [3.21] 118 kB [ebuild U ] dev-perl/XML-LibXML-1.62 [1.61.003] 225 kB [ebuild U ] gnome-base/gnome-vfs-2.16.3 [2.16.2] USE="ssl -avahi -debug -doc -gnutls -hal -ipv6 -samba" 1,855 kB [ebuild U ] www-clien…

不連続なメモリ

次に、container が保持しているメモリが不連続である場合、困るわけ。 キャッシュするっていう手もあるけれど、MBCS だとオーバーヘッドデカいよね。 const_iterator from = container.begin(); const_iterator to = find_first(from, container.end(), _T(…

生のアドレスが欲しい

find_first や regex は文字単位でのアクセスなのでイテレータじゃなきゃこまる。でも、その後の処理では生のポインタが欲しいのね。 const_iterator from = container.begin(); const_iterator to = find_first(from, container.end(), _T('\n')); ::TextOu…

upgrade today ;)

[ebuild U ] sys-devel/autoconf-wrapper-4-r2 [4-r1] 0 kB [ebuild U ] app-arch/cabextract-1.2 [1.1] 189 kB [ebuild U ] sys-devel/autoconf-2.61 [2.60] USE="-emacs" 1,364 kB [ebuild U ] media-libs/libpng-1.2.13 [1.2.12-r1] USE="-doc" 606 kB [e…

札幌 1 - 0 水戸

ふーん

patch 164

Vim

VIM - Vi IMproved 7.0 (2006 May 7, compiled Nov 18 2006 23:56:32) Included patches: 1-164Patch 7.0.163 Problem: Can't retrieve the position of a sign after it was set. Solution: Add the netbeans interface getAnno command. (Xavier de Gaye) …

upgrade today ;)

[ebuild U ] gnome-base/gnome-mime-data-2.4.3 [2.4.2] USE="-debug" 550 kB [ebuild NS ] app-text/docbook-xml-dtd-4.3-r1 81 kB [ebuild NS ] app-text/docbook-xml-dtd-4.1.2-r6 73 kB [ebuild U ] sys-libs/pam-0.99.6.3-r1 [0.78-r5] USE="-nls% (-se…