HYSPRO Diary
2009-12-19 (Sat)
_ Powerpoint 2007のバグ
テキストボックスが印刷されない。[用紙サイズに合わせて印刷する] チェック ボックスをオンにするのがworkaround。
2009-08-08 (Sat)
_ Ruby 1.9.1 will soon be available on Debian
I have just uploaded ruby1.9.1 to Debian sid, which will soon be available for sid or testing users. Since this is a new "source-full" package, the ftp-master has to check it before including it in the Debian repository.
The libraries of Ruby 1.9.1 install into /usr/lib/ruby1.9.1 instead of /usr/ruby/ruby1.9, which is a change by the upstream. The part "1.9.1" of ruby1.9.1 (not the Ruby "1.9.1") is called a compatibility version, or an ABI/API version. We, the Debian Ruby maintainers, have decided that naming of Debian ruby packages will follow it. The ruby command is now /usr/bin/ruby1.9.1. Whenever the ABI version is upgraded to 1.9.z in the future[1], we will make a new "source-full" package ruby1.9.z so that it allows users to install a new version without eliminating an old installation including Ruby libraries from Debian packages and non-packages. Please note that it does not mean that we will support two Ruby 1.9.z versions at the same time. Only the latest one is the "first class" package. It is recommended that users should move to a new version as soon as possible.
Happy Debian life with Ruby 1.9.1!
[1] The upstream plans to keep the ABI version 1.9.1 for the next Ruby 1.9.2.
2009-05-01 (Fri)
_ Linux malloc 8 byte align
参考
32-bit Linux glibcのmallocが返すアドレスは8 byte align。しかし、SSE命令の中には16 byte alignを要求するものがあるので、glibc mallocのままでは動かない。tcmallocなどを使うと吉(追記:tcmallocでは1024Bを越えるメモリ確保に限る)。
2009-04-10 (Fri)
_ DOS commands showing system information
$ systeminfo $ msinfo32 /nfo hoge.nfo
msinfo32.exeについては、
- Vistaでは C:\Windows\System32 にあるが、XPだとC:\Program Files\Common Files\Microsoft Shared\MSInfo\msinfo32.exeにある。
- Vistaだとコア数まで(コメントのように)表示されるが、XPだとCPUの型番までしか表示されない。
なお、Windows Management Instrumentationサービスが止まっていると情報を取得できない。
_ PATH on Windows
PATHにないexeファイルも実行可能にする仕組みがWindowsにはある。HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Pathsにエントリーと絶対パスがあれば、コマンドだけでパスが見つけられる。
_ Environment variables
いろいろ環境変数があった。念のため抜粋:
- CPUの種類 %PROCESSOR_ARCHITECTURE% x86 x86→x86系CPU
- CPUの詳細 %PROCESSOR_IDENTIFIER% x86 Family 15 Model 2 Stepping 9, GenuineIntel CPUIDに変換すると0F29(16進数表記) x86 Family→x86系CPU、Family 15 Model 2→Celeronシリーズ、Stepping 9→バージョン9、GenuineIntel→Intel製
- CPUの数 %NUMBER_OF_PROCESSORS% 2 2→デュアルコア
2009-04-06 (Mon)
_ Windows Japanese Keyboard Driver
Windowsにて、いつのまにかUSB日本語キーボードが英語配列に誤認識されてしまった。その復旧方法:
- デバイスマネージャにて、キーボードのドライバを変更。Fujitsuなどの109 USB KEYBOARDを選び、再起動。
それでもだめなときは、
- regeditにて、HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\SERvices\i8042prt\Parametersで、LayerDriver JPN のデータがkbd101.dllになっていると思われるが、kbd106.dllに変更して、再起動。
2009-02-21 (Sat)
_ First Year Anniversary of Floodgate
気づくのが遅れてしまいましたが、2月9日でFloodgate稼働1周年でした。ここに、「2008年2月9日公開」とあります。
当時はGPS以外に使われるか不安だったのですが、参加者のみなさまのおかげで盛況に続いています。2chのコンピュータ将棋スレで、Floodgateの話題が出るまでになりました。MyMoveさんや小宮日記などブログでの応援コメントにも励まされます。また、Floodgateの対戦*1や観戦に対応するプログラムもあらわれ、嬉しいです。
今後ともFloodgateをよろしくお願いします。
*1 マイボナ http://www.geocities.jp/shogi_depot/MyBona.htm
_ Uploaded libeventmachine-ruby
無事Lennyもリリースされたので、unstableへの開発も再開。ITPしていたやつをuploadした。さっそく、Thinをsponsorしてくれないかという問い合わせが来ているので、そちらも手をつける。
libeventmachine-ruby (0.12.4-1) unstable; urgency=low * New upstream release. * Initial release to Debian. (Closes: #501450)
2009-02-15 (Sun)
_ Debian GNU/Linux 5.0 (Lenny) released
Congura!
The code name of the next version is Squeeze also known as Little Green Men.
Debian links:スレッドテンプレ, Debian Quality Assurance, Debian Package Tracking System
written by はんばあぐ

_ kosaki [tcmallocは16byte align を保証してるの?]
_ もりわき [素晴らしいスライド、ありがとうございます。 tcmalloc.ccには // Sizes <= 1024..]