<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7883481755547012832</id><updated>2011-07-08T09:59:20.956+09:00</updated><title type='text'>IF YOU ARE NOT DANCING, THEN SOMEONE MAKE YOU DANCE</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default?start-index=101&amp;max-results=100'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>148</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-49289073886831753</id><published>2008-04-04T21:34:00.003+09:00</published><updated>2008-04-04T21:39:52.859+09:00</updated><title type='text'>Windows XP/Vistaで隠しファイルを表示にしも見えないファイル</title><content type='html'>PSPに使っているメモリスティックが, 使用している領域は小さいにも関わらず, 残りの容量がひどく少なくなるということがあった.
最初はフォーマットしなおして使っていたのだが, すぐに同じ状態になったため, 調べてみた.

結論を言うと, フォルダオプションの表示で「すべてのファイルとフォルダを表示する」にしてもまだ表示されないファイルやフォルダがある(!).
実際にはメモリスティック上で消されたファイルが, 復元可能なようにメモリスティック上に隠されたゴミ箱へ移動され, それが残っていたらしい. このゴミ箱は通常表示されない.
これは同じくフォルダオプションの表示タブから「保護されたオペレーティング システム ファイルを表示しない (推奨)」のチェックを外すと見えるようになる.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-49289073886831753?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/49289073886831753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=49289073886831753' title='42 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/49289073886831753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/49289073886831753'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2008/04/windows-xpvista.html' title='Windows XP/Vistaで隠しファイルを表示にしも見えないファイル'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>42</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-682105687442503905</id><published>2008-04-02T18:39:00.003+09:00</published><updated>2008-04-02T19:12:44.595+09:00</updated><title type='text'>PythonのUnicodeで混乱</title><content type='html'>PythonでUnicodeのテキストを扱う場合は, u'テキスト'のように記述するか, 通常のテキストsに対してunicode( s )のようにすれば良い.

テキストを読み込んでその一部をWindowsにおいてファイル名に指定するというスクリプトを作成している際に, 一部のテキストでそれができない(UnicodeEncodeErrorでとまる)ことがあった.
確認するとラテン語などが含まれている. このような例外を処理するために, 特定のasciiに対応していない文字をアルファベットに変換して使うことにした.
&lt;blockquote&gt;print unicode( originalText ).replace( u'\xe1', u'a' ).encode( 'shift_jis' )&lt;/blockquote&gt;
Unicodeを含む文字列が来た場合, Pythonでは自動的にUnicodeオブジェクトにするため, 最初のunicodeは必要ないかもしれない.

&lt;a href="http://www.geocities.jp/tan9ent/unicode.html"&gt;http://www.geocities.jp/tan9ent/unicode.html&lt;/a&gt;
&lt;a href="http://www.trickpalace.net/data/charcode/jisx0212.htm"&gt;http://www.trickpalace.net/data/charcode/jisx0212.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-682105687442503905?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/682105687442503905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=682105687442503905' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/682105687442503905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/682105687442503905'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2008/04/pythonunicode.html' title='PythonのUnicodeで混乱'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-1257435729747214992</id><published>2008-04-02T18:18:00.003+09:00</published><updated>2008-04-02T18:22:48.792+09:00</updated><title type='text'>ナノプシャン</title><content type='html'>&lt;a href="http://ja.wikipedia.org/wiki/%E3%83%8A%E3%83%8E%E3%83%97%E3%82%B7%E3%83%A3%E3%83%B3"&gt;http://ja.wikipedia.org/wiki/ナノプシャン&lt;/a&gt;

&lt;a href="http://ja.wikipedia.org/wiki/%E3%82%B7%E3%82%AF%E3%83%AD%E3%82%A2%E3%83%AF%E3%82%AA%E3%83%89%E3%83%AA%E3%83%B3"&gt;http://ja.wikipedia.org/wiki/シクロアワオドリン&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-1257435729747214992?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/1257435729747214992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=1257435729747214992' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1257435729747214992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1257435729747214992'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2008/04/httpja.html' title='ナノプシャン'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-3474998590751718606</id><published>2008-04-02T11:44:00.004+09:00</published><updated>2008-04-02T11:58:17.103+09:00</updated><title type='text'>Windowsでファイルを復元</title><content type='html'>なぜか理由がまったくわからないのだが(再発しそうで恐ろしい), 突然USBメモリ上のディレクトリが丸々ひとつ消えていた.
いくつかのファイルやディレクトリはそのまま残っており, そのディレクトリだけ消えている. 誤って削除したかと思ったが, USBメモリの使用率をみるとそのディレクトリの分は使用分として換算されているのでデータは残っていそうな気配.

調べてみるとWindowsのコマンドプロンプトからファイル復元コマンドがあることがわかり試す.
&lt;blockquote&gt;C:\&gt; chkdsk g: /F&lt;/blockquote&gt;
gドライブなのでg:と入力する.

これでファイルはすべて帰ってきたのだが, ファイル名は復元できなかった. 大量の文書ファイルが未整理のまま復元された(FILE0000.CHKのようになる)orz
比較的大きいファイルの場合, 分割してCHKファイルが生成される場合もあるらしく, 復元するにはちゃんとしたソフトウェアを使うのが良いのかもしれない.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-3474998590751718606?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/3474998590751718606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=3474998590751718606' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3474998590751718606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3474998590751718606'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2008/04/windows.html' title='Windowsでファイルを復元'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4553015864998515824</id><published>2008-03-28T18:21:00.003+09:00</published><updated>2008-04-02T12:23:57.381+09:00</updated><title type='text'>Meadowのプログラミングモードで色をつける</title><content type='html'>MeadowをインストールしてPerlのスクリプトを開いたところ, perl-modelにはなっているのだが,  色がついていない.
どうやら.emacsをちゃんと設定しなかったため, 色だけがついていなかった.
&lt;blockquote&gt;(global-font-lock-mode t)&lt;/blockquote&gt;
だが, Pythonはpython-modeが入っていないので別にインストールする必要がある.

&lt;a href="http://d.hatena.ne.jp/odz/20060901/1157160871"&gt;http://d.hatena.ne.jp/odz/20060901/1157160871&lt;/a&gt;

P.S.
と思ったら, 全く同じことを以前に書いていたw

&lt;a href="http://bettamodoki.blogspot.com/2007/07/emacs.html"&gt;http://bettamodoki.blogspot.com/2007/07/emacs.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4553015864998515824?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4553015864998515824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4553015864998515824' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4553015864998515824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4553015864998515824'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2008/03/meadow.html' title='Meadowのプログラミングモードで色をつける'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-1280875364123193683</id><published>2008-03-25T12:06:00.005+09:00</published><updated>2008-03-25T12:17:19.363+09:00</updated><title type='text'>AVG Free EditionのメールスキャナとThunderbird</title><content type='html'>Thunderbirdで認証付きの受信をしようとしたところ, メールスキャナが有効になっている場合にうまく接続できなかった.
よく見てみるとメールスキャナのプラグインがOutlookになっていてそれ以外設定できない. プラグインのプロパティもアクティブでなく, 押せない.

もう一度, インストーラをダウンロードして, メールスキャナの設定を手動で行い, プラグインとしてパーソナルメールスキャナを選択し, 再びコントロールセンタからプラグインをパーソナルメールスキャナに変更するとうまく動作するようになった. サーバの追加なども設定できる.
デフォルトがOutlookであり、かつそれのみになっているようで腹立たしい.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-1280875364123193683?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/1280875364123193683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=1280875364123193683' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1280875364123193683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1280875364123193683'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2008/03/avg-free-editionthunderbird.html' title='AVG Free EditionのメールスキャナとThunderbird'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-253045732362653862</id><published>2008-03-13T16:43:00.001+09:00</published><updated>2008-03-13T16:46:47.221+09:00</updated><title type='text'>Windows Vistaで休止状態(ハイバネート)</title><content type='html'>Windows Vista Buisinessでデフォルトでは休止状態がなかったので、使えるようにする方法.
&lt;blockquote&gt;コマンドプロンプトのショートカットを右クリックで「管理者として実行」する.
&gt; powercfg /hibernate on

&lt;a href="http://support.microsoft.com/kb/929658/ja"&gt;http://support.microsoft.com/kb/929658/ja&lt;/a&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-253045732362653862?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/253045732362653862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=253045732362653862' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/253045732362653862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/253045732362653862'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2008/03/windows-vista.html' title='Windows Vistaで休止状態(ハイバネート)'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-3759353364404777809</id><published>2008-03-04T16:59:00.005+09:00</published><updated>2008-03-04T19:17:41.946+09:00</updated><title type='text'>Emacsの超基礎 その8 正規表現による検索・置換</title><content type='html'>Emacs上で正規表現を使って検索や置換を行いたい.
正規表現を用いた検索は\C-u \C-sでできる. 置換の場合はM-x replace-regexpで可能.

&lt;a href="http://www.bookshelf.jp/texi/emacs-20.6-man-jp/emacs_13.html"&gt;http://www.bookshelf.jp/texi/emacs-20.6-man-jp/emacs_13.html&lt;/a&gt;

正規表現を用いた検索では, 行頭を検索するときなどに便利. ^fooなどとすれば, 行頭マッチになる.

正規表現での置換を使って, 改行をすべて消すことを試みたがうまくいかなかった.
まあ, こういう目的ならばPerlで一行.
&lt;blockquote&gt;$ perl -p -i.bak -e 's/\n//g' filename&lt;/blockquote&gt;
改行コードが色々あったりすると面倒だけれど.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-3759353364404777809?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/3759353364404777809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=3759353364404777809' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3759353364404777809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3759353364404777809'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2008/03/emacs-8.html' title='Emacsの超基礎 その8 正規表現による検索・置換'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5113184793419449225</id><published>2008-01-22T14:45:00.000+09:00</published><updated>2008-01-22T15:24:30.111+09:00</updated><title type='text'>Adobe Reader 8のショートカットキー色々</title><content type='html'>PDFを読みながら重要な部分をピックアップしていく作業を進めるうちに、キーボードショートカットがあったら便利だなと思い始めた。
調べるとAdobe Reader 8では標準ではショートカットの機能が切になっている。単一のショートカットキーを有効にするには標準設定からチェックをする必要がある。そうすれば以下のように一文字入力でカーソルのモードを切り替えられる。
&lt;blockquote&gt;手のひらツールはH。
一時的に手のひらツールを選択はスペースバー。
選択ツールはV。
スナップショットツールはG。
マーキーズームツールはZ。

&lt;a href="http://help.adobe.com/ja_JP/Reader/8.0/help.html?content=WS58a04a822e3e50102bd615109794195ff-7aec.html"&gt;http://help.adobe.com/ja_JP/Reader/8.0/help.html?content=WS58a04a822e3e50102bd615109794195ff-7aec.html&lt;/a&gt;&lt;/blockquote&gt;
スペースが便利です。
テキストの矩形選択はAltを押しながらテキスト選択でできます。二段組の文書ではこれが便利です。

そんな中、より軽量・高速なPDFビュアーとしてFoxitReaderを勧められたので試すことにしました。上記のキーボードショットカットが有効でないのが残念ですが、なかなか良さそうです。
以下のサイトからFoxitReaderとEastern Asian Language Supportをダウンロードしてください。fpdfcjk.binを同じフォルダにいれて起動してメニューから言語を日本語にしてください。

&lt;a href="http://www.foxitsoftware.com/downloads/index.html"&gt;http://www.foxitsoftware.com/downloads/index.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5113184793419449225?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5113184793419449225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5113184793419449225' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5113184793419449225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5113184793419449225'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2008/01/adobe-reader-8.html' title='Adobe Reader 8のショートカットキー色々'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5138104550920663684</id><published>2008-01-22T12:36:00.000+09:00</published><updated>2008-01-22T12:41:22.204+09:00</updated><title type='text'>Firefoxのちょっとしたショートカット</title><content type='html'>&lt;blockquote&gt;ロケーションバーの選択。Ctrl+LまたはAlt+D
検索バーの選択。Ctrl+K
戻る。BackspaceまたはAlt+←
進む。Shift+BackspaceまたはAlt+→
検索エンジンの切り替え。Ctrl+↓(次へ)、+↑(前へ)

&lt;a href="http://www.itmedia.co.jp/bizid/articles/0801/21/news099.html"&gt;http://www.itmedia.co.jp/bizid/articles/0801/21/news099.html&lt;/a&gt;&lt;/blockquote&gt;
すごく基本的なショートカットですが。ロケーションバーや検索バーの選択は便利だな。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5138104550920663684?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5138104550920663684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5138104550920663684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5138104550920663684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5138104550920663684'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2008/01/firefox.html' title='Firefoxのちょっとしたショートカット'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8063615321610235285</id><published>2008-01-10T14:49:00.000+09:00</published><updated>2008-01-10T14:52:45.329+09:00</updated><title type='text'>MS-IME関連のショートカット</title><content type='html'>MS-IMEの変換に関して便利なショートカットがあるのでメモしておく. 調べると以下のエントリによくまとまっていた.

&lt;a href="http://mtamaki.cocolog-nifty.com/blog/2005/03/msimetipsf10_ecc3.html"&gt;http://mtamaki.cocolog-nifty.com/blog/2005/03/msimetipsf10_ecc3.html&lt;/a&gt;

F10で日本語入力中に直接入力(半角英数)に変換してくれる. これは便利.
また, 一度Shift+アルファベットで英数モードとなった場合, 続けてShiftキーを空打ちすると再び日本語入力に戻る.
最後に日本語入力中にCtr+Spaceで半角スペース挿入.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8063615321610235285?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8063615321610235285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8063615321610235285' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8063615321610235285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8063615321610235285'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2008/01/ms-ime.html' title='MS-IME関連のショートカット'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5245889800335294529</id><published>2007-12-28T14:32:00.000+09:00</published><updated>2007-12-28T14:41:08.311+09:00</updated><title type='text'>UNIXコマンドでアーカイブライブラリを作成</title><content type='html'>よくあるlibほにゃらら.aというアーカイブライブラリの作成の仕方.
gccないしg++で考えれば, オブジェクトファイルを複数まとめて使いまわせるようにできる. 操作はアーカイブファイルにオブジェクトファイルを追加したり, 削除したりする.
コマンドはar.
&lt;blockquote&gt;ar t アーカイブライブラリ名で, ライブラリが含むオブジェクトファイルをリスト表示.
ar r アーカイブ名 オブジェクト名のリストで, ライブラリにオブジェクトファイルを追加, 置換する.
ar c アーカイブ名で, アーカイブを作成する.
ar d アーカイブ名 オブジェクト名のリストで, ライブラリからオブジェクトを削除する.

&lt;a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?ar"&gt;http://unixhelp.ed.ac.uk/CGI/man-cgi?ar&lt;/a&gt;&lt;/blockquote&gt;
もっと詳しく中身をみたいときはnm アーカイブ名, とすることでアーカイブの含むオブジェクトファイルに記述されている関数のリストを見ることができる.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5245889800335294529?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5245889800335294529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5245889800335294529' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5245889800335294529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5245889800335294529'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/unix_28.html' title='UNIXコマンドでアーカイブライブラリを作成'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8381455620558354249</id><published>2007-12-28T14:30:00.000+09:00</published><updated>2007-12-28T14:32:06.986+09:00</updated><title type='text'>C++で可変引数リストを使う</title><content type='html'>Pythonでは良くやっていたが, C++でも可変な引数リストを使うことができる.
詳細は面倒なので省くが, 関数の宣言では単に引数リストの最後の引数を...にすれば良い. 呼出しかたなどは以下のサイトを参考のこと.

&lt;a href="http://www.alab.t.u-tokyo.ac.jp/~bond/doc/VariableList.html"&gt;http://www.alab.t.u-tokyo.ac.jp/~bond/doc/VariableList.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8381455620558354249?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8381455620558354249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8381455620558354249' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8381455620558354249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8381455620558354249'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/c.html' title='C++で可変引数リストを使う'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-667242258439703408</id><published>2007-12-28T14:26:00.000+09:00</published><updated>2007-12-28T14:29:10.213+09:00</updated><title type='text'>Makefileで暗黙のルール</title><content type='html'>勘違いをしていて困ったので.
Makefileでmakeする際, C言語ないしC++のコードには拡張子から判断して自動的にgcc, g++がわりふられる.
その際のフラグを指定する変数名がC言語とC++ではことなるので注意.
C言語ではCFLAGS, C++ではCPPFLAGSとなるのでコンパイラを置き換えるときにはこちらも修正, 追加しなければならない.

&lt;a href="http://d.hatena.ne.jp/snsn9pan/20070830/1188488879"&gt;http://d.hatena.ne.jp/snsn9pan/20070830/1188488879&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-667242258439703408?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/667242258439703408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=667242258439703408' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/667242258439703408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/667242258439703408'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/makefile.html' title='Makefileで暗黙のルール'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-3336313079733210450</id><published>2007-12-27T19:48:00.000+09:00</published><updated>2007-12-27T19:49:53.897+09:00</updated><title type='text'>gxx_personality_v0</title><content type='html'>C++のコードをGCCでコンパイルしたところgxx_personality_v0のリンカのエラーが出た. ソース自体はC言語で書かれていたので, なぜかわからなかったのだが, 拡張子を.cppから.cに直したところ通った.
よくわからないが, 一応メモしておく.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-3336313079733210450?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/3336313079733210450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=3336313079733210450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3336313079733210450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3336313079733210450'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/gxxpersonalityv0.html' title='gxx_personality_v0'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5439103327111020662</id><published>2007-12-20T16:19:00.000+09:00</published><updated>2007-12-20T16:20:24.787+09:00</updated><title type='text'>UNIXコマンドで追加書き込み</title><content type='html'>こんなことも知らなかったのか, と愕然としたのでメモ.
&lt;blockquote&gt;&amp;gt;で新規書き込み
&amp;gt;&amp;gt;で追加書き込み

&lt;a href="http://www.searchai.jp/unix/unix.php"&gt;http://www.searchai.jp/unix/unix.php&lt;/a&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5439103327111020662?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5439103327111020662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5439103327111020662' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5439103327111020662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5439103327111020662'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/unix.html' title='UNIXコマンドで追加書き込み'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-760610601443688219</id><published>2007-12-20T15:06:00.000+09:00</published><updated>2007-12-20T15:10:52.749+09:00</updated><title type='text'>Pythonで切り捨て除算</title><content type='html'>丸め方を調べていて, 切り捨て除算なるものを発見した. 実際に整数型で丸めるのであれば割ってから単純にキャストしても良いのだが, この切り捨て除算を用いた場合はあくまでも実数型で帰ってくる.
計算速度的にも速いのだろうか. だとしたらキャストする場合でもこれを用いた方が良いのかな.
&lt;blockquote&gt;&amp;gt;&amp;gt;&amp;gt; print 10.0 / 3
3.333333
&amp;gt;&amp;gt;&amp;gt; print 10.0 // 3
3.0

&lt;a href="http://d.hatena.ne.jp/mowamowa/20070830/1188484371"&gt;http://d.hatena.ne.jp/mowamowa/20070830/1188484371&lt;/a&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-760610601443688219?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/760610601443688219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=760610601443688219' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/760610601443688219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/760610601443688219'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/python_20.html' title='Pythonで切り捨て除算'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4715793209051485725</id><published>2007-12-19T17:11:00.000+09:00</published><updated>2007-12-19T17:13:32.886+09:00</updated><title type='text'>壊れているため、表示できませんでした</title><content type='html'>&lt;a href="http://fukaz55.vox.com/library/post/todays-bugfixfirefoxie%E3%81%A7%E5%A3%8A%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E3%81%9F%E3%82%81%E8%A1%A8%E7%A4%BA%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93%E3%81%A7%E3%81%97%E3%81%9F%E3%81%A8%E5%87%BA%E3%82%8Bjpe.html"&gt;http://fukaz55.vox.com/library/post/todays-bugfixfirefoxie%E3%81%A7%E5%A3%8A%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E3%81%9F%E3%82%81%E8%A1%A8%E7%A4%BA%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93%E3%81%A7%E3%81%97%E3%81%9F%E3%81%A8%E5%87%BA%E3%82%8Bjpe.html&lt;/a&gt;

僕の場合はpngであったがまったく同じ現象が起きた. 確かにOpera(Windows XP), Safari(Mac OSX)では正しく閲覧できる.
解決法はファイルを作り直すしかないのかな.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4715793209051485725?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4715793209051485725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4715793209051485725' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4715793209051485725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4715793209051485725'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/blog-post.html' title='壊れているため、表示できませんでした'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5282685690109984441</id><published>2007-12-19T17:05:00.000+09:00</published><updated>2007-12-19T17:11:46.931+09:00</updated><title type='text'>Windows XPでホスト名解決</title><content type='html'>ローカルIPアドレスにMacのホスト名を設定した.
Windows XPでのホスト名の設定は単純で, %SystemRoot%\System32\drivers\etc\hostsにある. これをメモ帳などで編集して追加すれば良い. (%SystemRoot%はC:\WINDOWS)

&lt;a href="http://ja.wikipedia.org/wiki/Hosts%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB"&gt;http://ja.wikipedia.org/wiki/hostsファイル&lt;/a&gt;

これでもうまくいかず悩んだが, プロキシがローカルアドレスでないと判断していたためだったらしく, プロキシから除外するように設定したところうまくいった.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5282685690109984441?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5282685690109984441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5282685690109984441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5282685690109984441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5282685690109984441'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/windows-xp.html' title='Windows XPでホスト名解決'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-6442639058671015299</id><published>2007-12-10T16:11:00.000+09:00</published><updated>2007-12-10T16:12:29.950+09:00</updated><title type='text'>Wordのインデントとぶら下げ</title><content type='html'>ぶら下げ, と呼ぶことをはじめて知った.

&lt;a href="http://mail2.nara-edu.ac.jp/~asait/windows/word/word.htm"&gt;http://mail2.nara-edu.ac.jp/~asait/windows/word/word.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-6442639058671015299?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/6442639058671015299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=6442639058671015299' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6442639058671015299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6442639058671015299'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/word.html' title='Wordのインデントとぶら下げ'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-6429697875670904711</id><published>2007-12-04T19:46:00.001+09:00</published><updated>2007-12-04T19:47:05.835+09:00</updated><title type='text'>PythonでのNew-style Classesとメタクラス</title><content type='html'>いま勉強中のトピック. 

&lt;a href="http://www.python.org/doc/newstyle.html"&gt;http://www.python.org/doc/newstyle.html&lt;/a&gt;
&lt;a href="http://www-06.ibm.com/jp/developerworks/linux/030425/j_l-pymeta.html"&gt;http://www-06.ibm.com/jp/developerworks/linux/030425/j_l-pymeta.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-6429697875670904711?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/6429697875670904711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=6429697875670904711' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6429697875670904711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6429697875670904711'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/pythonnew-style-classes.html' title='PythonでのNew-style Classesとメタクラス'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-3215636549287730914</id><published>2007-12-04T19:04:00.000+09:00</published><updated>2007-12-04T19:06:33.460+09:00</updated><title type='text'>Pythonでの菱形継承問題</title><content type='html'>&lt;blockquote&gt;Python では、新たな形式のクラス群を導入してこれに対処している。全てのクラスは共通の基底クラス object から派生している。Python は左優先・深さ優先のクラスのリストを生成する（上述の例の場合、D, B, A, C, A）。そして、同じクラスが複数回出現するときは最後に出現する箇所を除いて他を削除する（従って、上述の場合、D, B, C, A となる）。

&lt;a href="http://ja.wikipedia.org/wiki/%E8%8F%B1%E5%BD%A2%E7%B6%99%E6%89%BF%E5%95%8F%E9%A1%8C"&gt;http://ja.wikipedia.org/wiki/菱形継承問題&lt;/a&gt;&lt;/blockquote&gt;
というわけなので継承の順番にも注意が必要.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-3215636549287730914?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/3215636549287730914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=3215636549287730914' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3215636549287730914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3215636549287730914'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/python.html' title='Pythonでの菱形継承問題'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4961513916409470695</id><published>2007-12-04T17:25:00.000+09:00</published><updated>2007-12-04T17:30:51.287+09:00</updated><title type='text'>Pythonでif文つきのリスト内包表記</title><content type='html'>Pythonでリストの内包表記をif文チェックつきで行う例. 速いのかどうかはよくわからん.
&lt;blockquote&gt;&amp;gt;&amp;gt; a = [0, 1, 2, 3, 4]
&amp;gt;&amp;gt; [i for i in a]
[0, 1, 2, 3, 4]
&amp;gt;&amp;gt; [i for i in a if i % 2 == 0]
[0, 2, 4]&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4961513916409470695?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4961513916409470695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4961513916409470695' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4961513916409470695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4961513916409470695'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/12/pythonif.html' title='Pythonでif文つきのリスト内包表記'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5217864895055534461</id><published>2007-11-27T17:56:00.000+09:00</published><updated>2007-11-27T17:58:10.398+09:00</updated><title type='text'>空のファイルを作成するUnixコマンド</title><content type='html'>中身が空のテキストファイルを作成するときは以下のようにすれば良い.
&lt;blockquote&gt;$ echo &amp;gt; hoge.txt&lt;/blockquote&gt;
こんなことが必要になる一般的な状況はあまり思いつかないが, ちょうど先ほど必要になったので.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5217864895055534461?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5217864895055534461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5217864895055534461' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5217864895055534461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5217864895055534461'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/unix.html' title='空のファイルを作成するUnixコマンド'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8980385384890320488</id><published>2007-11-16T14:08:00.000+09:00</published><updated>2007-11-16T14:10:46.007+09:00</updated><title type='text'>前のページへ戻る</title><content type='html'>JavaScriptを使って, 前のページへ戻るリンクを作成する方法.
&lt;blockquote&gt;&lt;a href="javascript:window.history.back();"&gt;&amp;lt;a href="javascript:window.history.back();"&amp;gt;前のページへ戻ります&amp;lt;/a&amp;gt;&lt;/a&gt;

&lt;a href="http://www5e.biglobe.ne.jp/~access_r/hp/javascript/js_054.html"&gt;http://www5e.biglobe.ne.jp/~access_r/hp/javascript/js_054.html&lt;/a&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8980385384890320488?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8980385384890320488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8980385384890320488' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8980385384890320488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8980385384890320488'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/blog-post_16.html' title='前のページへ戻る'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-3798459770866188021</id><published>2007-11-16T11:21:00.000+09:00</published><updated>2007-11-16T11:27:21.968+09:00</updated><title type='text'>PukiWikiでアップロードファイルの容量制限を変更する</title><content type='html'>下記のサイトを参考にした. 僕の場合は自作のプラグインでの場合なので, 修正すべきは3ヶ所だった.
plugin内で,
&lt;blockquote&gt;// max file size for upload on PHP(PHP default 2MB)
ini_set("upload_max_filesize","2M");&lt;/blockquote&gt;
を変更し, さらにPHP側の設定としてphp.ini(C:\Windowsにあると思われる)から2つを変更する.
&lt;blockquote&gt;; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
; Maximum size of POST data that PHP will accept.
post_max_size = 8M&lt;/blockquote&gt;
必要であればさらにmemory_limitも増やす. ここで重要なことは
&lt;blockquote&gt;memory_limit&amp;gt;post_max_size&amp;gt;upload_max_filesize&lt;/blockquote&gt;
となるように設定すること.

&lt;a href="http://www.kharakawa.com/kh.log/archives/2005/08/pukiwiki.html"&gt;http://www.kharakawa.com/kh.log/archives/2005/08/pukiwiki.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-3798459770866188021?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/3798459770866188021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=3798459770866188021' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3798459770866188021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3798459770866188021'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/pukiwiki.html' title='PukiWikiでアップロードファイルの容量制限を変更する'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4667044356039940539</id><published>2007-11-16T11:19:00.000+09:00</published><updated>2007-11-16T11:20:42.404+09:00</updated><title type='text'>未来はここにある。まだ、普及していないだけだ。</title><content type='html'>&lt;blockquote&gt;The future is already here - it is just unevenly distributed.
William Gibson

&lt;a href="http://en.wikiquote.org/wiki/William_Gibson"&gt;http://en.wikiquote.org/wiki/William_Gibson&lt;/a&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4667044356039940539?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4667044356039940539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4667044356039940539' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4667044356039940539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4667044356039940539'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/blog-post.html' title='未来はここにある。まだ、普及していないだけだ。'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-1102922366911160681</id><published>2007-11-15T16:12:00.000+09:00</published><updated>2007-11-15T16:13:32.812+09:00</updated><title type='text'>PukiWikiの見出しをh5まで対応させる</title><content type='html'>&lt;a href="http://pukiwiki.sourceforge.jp/?%E8%B3%AA%E5%95%8F%E7%AE%B13%2F279"&gt;http://pukiwiki.sourceforge.jp/?質問箱3/279&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-1102922366911160681?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/1102922366911160681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=1102922366911160681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1102922366911160681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1102922366911160681'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/pukiwikih5.html' title='PukiWikiの見出しをh5まで対応させる'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7460148206443165885</id><published>2007-11-14T16:16:00.001+09:00</published><updated>2007-11-14T16:16:59.224+09:00</updated><title type='text'>Weak Reference 弱参照</title><content type='html'>&lt;a href="http://www.python.jp/doc/2.4/lib/module-weakref.html"&gt;http://www.python.jp/doc/2.4/lib/module-weakref.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7460148206443165885?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7460148206443165885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7460148206443165885' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7460148206443165885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7460148206443165885'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/weak-reference.html' title='Weak Reference 弱参照'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-1330086287499530611</id><published>2007-11-13T17:40:00.000+09:00</published><updated>2007-11-13T17:43:55.496+09:00</updated><title type='text'>LeopardアップグレードインストールとWindowsとのファイル共有</title><content type='html'>以前, Leopardアップグレードに伴ってWebの共有設定が変更になってしまったことを書いたが, 今更ながらWindowsとのファイル共有の設定もリセットされてしまっていることに気がついた.
これまでは設定の共有からWindows ファイル共有のチェックを入れれば良かったのが, 消えている.
ちょっと調べた結果, 共有するユーザとフォルダを選択してオプション, SMBのチェックを入れると直った.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-1330086287499530611?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/1330086287499530611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=1330086287499530611' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1330086287499530611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1330086287499530611'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/leopardwindows.html' title='LeopardアップグレードインストールとWindowsとのファイル共有'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7191318204106008739</id><published>2007-11-12T14:54:00.000+09:00</published><updated>2007-11-12T15:02:38.498+09:00</updated><title type='text'>Synergyを使う その2</title><content type='html'>あるときからWindows XP間のSynergyがうまく動かなくなり, 困った.
コンソールからのpingはちゃんと通る. 調べるといつの間にかWindows XPのファイアウォールが働いていたらしい.

&lt;a href="http://lab.urume.net/2006,0628,482.html"&gt;http://lab.urume.net/2006,0628,482.html&lt;/a&gt;

コントロールパネルのWindows ファイアウォールから例外タブで, 新たに「その他のポート」などとしてTCPで24800(Synergyのデフォルト値の場合)を開放してやれば良い. いつの間にWindowsファイアウォールが蘇ったのだろうか.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7191318204106008739?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7191318204106008739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7191318204106008739' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7191318204106008739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7191318204106008739'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/synergy-2.html' title='Synergyを使う その2'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-3661442575081075392</id><published>2007-11-09T13:17:00.000+09:00</published><updated>2007-11-09T13:19:13.405+09:00</updated><title type='text'>Windows XPでApache2.2にPHP5を入れる</title><content type='html'>以下のサイトを参考にした.

&lt;a href="http://www.goodpic.com/mt/archives/000577.html"&gt;http://www.goodpic.com/mt/archives/000577.html&lt;/a&gt;

DLLがphp5apache2.dllではなく, php5apache2_2.dllである以外はこのままでうまくいった. インストーラではなくてzipからマニュアルで入れるというところがミソのようだ.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-3661442575081075392?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/3661442575081075392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=3661442575081075392' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3661442575081075392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3661442575081075392'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/windows-xpapache22php5.html' title='Windows XPでApache2.2にPHP5を入れる'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-3168052138634265996</id><published>2007-11-08T19:49:00.000+09:00</published><updated>2007-11-08T19:52:50.985+09:00</updated><title type='text'>MATLABの配列演算子</title><content type='html'>通常の演算子の前に.(ドット)を付与する.
&lt;blockquote&gt;配列の乗算 .*
配列のベキ乗  .^
配列の左除算  .\
配列の右除算 ./

&lt;a href="http://www.slis.tsukuba.ac.jp/~hasegawa/MATLAB/numerics.html"&gt;http://www.slis.tsukuba.ac.jp/~hasegawa/MATLAB/numerics.html&lt;/a&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-3168052138634265996?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/3168052138634265996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=3168052138634265996' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3168052138634265996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3168052138634265996'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/matlab.html' title='MATLABの配列演算子'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5811896636427025728</id><published>2007-11-07T19:19:00.001+09:00</published><updated>2007-11-07T19:19:33.875+09:00</updated><title type='text'>Bloggerで最近のコメント その2</title><content type='html'>そんなにコメントつかないから, これで困らないが, こんな方法もあるらしい.

&lt;a href="http://360-to-issho.blogspot.com/2007/08/blogger10.html"&gt;http://360-to-issho.blogspot.com/2007/08/blogger10.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5811896636427025728?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5811896636427025728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5811896636427025728' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5811896636427025728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5811896636427025728'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/blogger-2.html' title='Bloggerで最近のコメント その2'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5676216601797023221</id><published>2007-11-06T21:27:00.000+09:00</published><updated>2007-11-06T21:28:01.096+09:00</updated><title type='text'>template typedefとメタファンクション</title><content type='html'>&lt;a href="http://d.hatena.ne.jp/uskz/20071028/p1"&gt;http://d.hatena.ne.jp/uskz/20071028/p1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5676216601797023221?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5676216601797023221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5676216601797023221' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5676216601797023221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5676216601797023221'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/template-typedef.html' title='template typedefとメタファンクション'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-6899574082322316935</id><published>2007-11-06T18:14:00.000+09:00</published><updated>2007-11-06T18:21:25.414+09:00</updated><title type='text'>LeopardアップグレードインストールとWeb共有</title><content type='html'>Leopardにアップデートしたらみえていたサイトが見えなくなった, と聞いて確認したところ, みえなくなったのではなく, そのサイトのホスト側でWeb共有がおかしくなっていたのだとわかった.

まず, Web共有がオフになってしまっていたので, これをオンにする. しかし, Permission deniedで403 Forbidden.
いろいろ調べていて以下のサイトにどんぴしゃなことが書かれていた.

&lt;a href="http://earlybirds.ddo.jp/namahage/inegalog/forum/topic.php?tid=73&amp;p=0"&gt;http://earlybirds.ddo.jp/namahage/inegalog/forum/topic.php?tid=73&amp;p=0&lt;/a&gt;

ようするにApacheのバージョンがあがったので, それにともなってファイルを設定しなおす必要があったらしい.
/etc/httpd/usersから/etc/apache2/usersへconfファイルをコピーする. はじめ, やたらめったら移動すると, おかしなことになったので必要なユーザのconfのみをコピーするとhtmlファイルが見えるようになった.

続いて, PHPが実行されない問題があったので, /etc/apache2/httpd.confを確認するとPHPのモジュールがコメントアウトされていたので修正した.
これで大丈夫そう.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-6899574082322316935?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/6899574082322316935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=6899574082322316935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6899574082322316935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6899574082322316935'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/leopardweb.html' title='LeopardアップグレードインストールとWeb共有'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8012255641582621192</id><published>2007-11-05T13:31:00.000+09:00</published><updated>2007-11-05T13:36:17.906+09:00</updated><title type='text'>Bloggerで最近のコメント</title><content type='html'>Bloggerには最近のコメントがページ要素に無かったので, コメントに気がつかなかったのだが(まあほとんど無いが), 少し調べると代替策があった.

単純にBloggerのコメントはFeedとして公開されているのでそれを用いれば良い. Feed URLはこのページの場合, &lt;a href="http://bettamodoki.blogspot.com/feeds/comments/summary"&gt;http://bettamodoki.blogspot.com/feeds/comments/summary&lt;/a&gt;となる. bettamodokiの部分を自分のものに書き換えれば良い.
あとはこのFeedをFeed Elementとして追加してやる.

&lt;a href="http://at-aka.blogspot.com/2006/09/blogger-beta_4302.html"&gt;http://at-aka.blogspot.com/2006/09/blogger-beta_4302.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8012255641582621192?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8012255641582621192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8012255641582621192' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8012255641582621192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8012255641582621192'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/blogger.html' title='Bloggerで最近のコメント'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-1367115371559613894</id><published>2007-11-05T13:19:00.000+09:00</published><updated>2007-11-05T13:28:59.355+09:00</updated><title type='text'>Ubuntuのゴミ箱について その2</title><content type='html'>revさんから, Ubuntuでもゴミ箱に同名ファイルを移動した場合に, ちゃんとrenameしてくれますよ, と報告いただいたので確認してみた.
ありがとうございました.

確かにnautilus(GNOME?)でファイルを右クリックで選択し, ゴミ箱へ移動するを選択すると, 既に同名のファイルがあった場合に, foo (コピー).txtのように名前を変えてくれる.
なるほどこれで良いのか.

一方で, ドラックドロップで, ツールバー上のゴミ箱アイコンへドラッグドロップした場合には, 単なる移動(つまりはmvコマンド)になるようで上書きされてしまう. ゴミ箱も.Trashというディレクトリに過ぎないので, 当然の結果なのかもしれない.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-1367115371559613894?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/1367115371559613894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=1367115371559613894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1367115371559613894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1367115371559613894'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/ubuntu-2.html' title='Ubuntuのゴミ箱について その2'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-6670410779589935660</id><published>2007-11-02T13:36:00.000+09:00</published><updated>2007-11-02T13:45:18.170+09:00</updated><title type='text'>Makefileの書き方 その1</title><content type='html'>複数のファイルを特定の規則でまとめて変換したいとき, 一般的にはプログラムをコンパイル(ビルド)するような場合, Makefileはとても便利だ.
依存関係とファイル生成のためのコマンドをリストしておくだけで, ソースを更新したときに自動的に必要なものだけビルドしなおしてくれる.
ここでは大規模なプロジェクトではなく, 個人的にちょっと手間を省くためのMakefileについてメモしておく.

&lt;a href="http://www.jsk.t.u-tokyo.ac.jp/~k-okada/makefile/"&gt;http://www.jsk.t.u-tokyo.ac.jp/~k-okada/makefile/&lt;/a&gt;
&lt;a href="http://http://www.c.csce.kyushu-u.ac.jp/~seiichirou/wiki/index.php?Makefile%A4%CE%BD%F1%A4%AD%CA%FD"&gt;http://www.c.csce.kyushu-u.ac.jp/~seiichirou/wiki/index.php?Makefileの書き方&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-6670410779589935660?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/6670410779589935660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=6670410779589935660' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6670410779589935660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6670410779589935660'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/11/makefile-1.html' title='Makefileの書き方 その1'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5726653482820865942</id><published>2007-10-31T17:05:00.001+09:00</published><updated>2007-10-31T17:11:15.410+09:00</updated><title type='text'>Excelセル関数 n行おきに抽出したい</title><content type='html'>面倒なマクロを組まずに, セルの抽出を行いたい.
具体的にはA列にデータが入っていて, それをB列に10行おきに表示させたい. すなわち, B列にはB1=A1, B2=A11, B3=A12のようになる.

まず, 自分のセルの行と列はROW(), COLUMN()で数値として得られる.
これをセルのアドレスをあらわす文字列に変換するにはADDRESS(行番号, 列番号)を用いる.
さらにアドレス文字列から, その内容を得るにはINDIRECT(文字列)を用いれば良い.
これらを組み合わせると,
&lt;blockquote&gt;=INDIRECT(ADDRESS((ROW()-1)*10+1,1))
かもしくは
=INDIRECT("A"&amp;((ROW()-1)*10+1))&lt;/blockquote&gt;
となる. 上の式だと最後の1がA列から抽出することを表す.
結果として使えるセル関数のてんこ盛りだったのでここにメモしておく.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5726653482820865942?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5726653482820865942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5726653482820865942' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5726653482820865942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5726653482820865942'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/excel-n.html' title='Excelセル関数 n行おきに抽出したい'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4470399555361019200</id><published>2007-10-30T20:57:00.000+09:00</published><updated>2007-10-30T20:58:14.846+09:00</updated><title type='text'>予定 Effective uBLAS</title><content type='html'>&lt;a href="http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Effective_UBLAS"&gt;http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Effective_UBLAS&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4470399555361019200?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4470399555361019200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4470399555361019200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4470399555361019200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4470399555361019200'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/effective-ublas.html' title='予定 Effective uBLAS'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-9190900929838959915</id><published>2007-10-30T19:25:00.000+09:00</published><updated>2007-10-30T19:30:52.792+09:00</updated><title type='text'>kernel-debugはlinux-image-debug</title><content type='html'>Ubuntuで/vmlinuzしかなく, 展開する方法がよくわからなかったので, vmlinuxを含んだパッケージを探した.
rpmではたしかkernel-debugなどだったのでkernel-*でパッケージを検索していたがかからず, 悩んでいたが, Ubuntu(Debian?)ではlinux-image-*であるらしい.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-9190900929838959915?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/9190900929838959915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=9190900929838959915' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/9190900929838959915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/9190900929838959915'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/kernel-debuglinux-image-debug.html' title='kernel-debugはlinux-image-debug'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4472354878771044836</id><published>2007-10-30T19:23:00.000+09:00</published><updated>2007-10-30T19:24:49.890+09:00</updated><title type='text'>VMWareでoprofileがプロファイルをとれない</title><content type='html'>&lt;blockquote&gt;VMware

OProfile can't work with VMware when using performance counter interface. A workaround is to use RTC mode (2.4 kernel) or timer interrupt mode (2.6 kernel) 

&lt;a href="http://oprofile.sourceforge.net/faq/"&gt;http://oprofile.sourceforge.net/faq/&lt;/a&gt;&lt;/blockquote&gt;
いまのところまだうまくいっていない.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4472354878771044836?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4472354878771044836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4472354878771044836' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4472354878771044836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4472354878771044836'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/vmwareoprofile.html' title='VMWareでoprofileがプロファイルをとれない'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-2796343374858527983</id><published>2007-10-29T14:04:00.000+09:00</published><updated>2007-10-29T14:08:50.332+09:00</updated><title type='text'>自作PC初歩 32bit PCIスロット</title><content type='html'>パソコンの自作に関しては, ど素人もいいところなのだが, 最近デスクトップが一台手に入ったので少しやりはじめた.
そして早速無知ぶりを発揮.

買ってきたボードがPCIスロットにささらない. そもそも溝があってない.
調べてみると同じ32bit PCIスロットでも5Vのものと3.3Vのものがあるらしい. 僕のPCには3.3V用のスロットしかなく, 買ってきた2枚のボードのうち, 1枚は5Vのものだった(もう一枚はユニバーサルで3.3Vでも5Vでも使える).
最近は5V主流という話もあるらしいがどうなんでしょうか.

&lt;a href="http://www.atmarkit.co.jp/fsys/slotsocket/03expbus/expbus.html"&gt;http://www.atmarkit.co.jp/fsys/slotsocket/03expbus/expbus.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-2796343374858527983?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/2796343374858527983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=2796343374858527983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/2796343374858527983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/2796343374858527983'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/pc-32bit-pci.html' title='自作PC初歩 32bit PCIスロット'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8440751455592512167</id><published>2007-10-26T15:05:00.000+09:00</published><updated>2007-10-26T15:10:21.615+09:00</updated><title type='text'>uBLASのcompressed_matrixをresize</title><content type='html'>なんだかublasではまった日誌と化してきたが. でも大したことでなくてもここに記すことでだれかの手間は省けるかもしれない.
&lt;blockquote&gt;Assertion failed in file /usr/include/boost/numeric/ublas/matrix_sparse.hpp at line 2679:
!preserve&lt;/blockquote&gt;
compressed_matrixをresizeしようとすると, 実行時にアサーションで落ちる. matrix_sparse.hppでその箇所をみると,
&lt;blockquote&gt;// FIXME preserve unimplemented&lt;/blockquote&gt;
おいおいw
m.resize( m, n, false )とすれば良いのだと思う. ただし, 行列の中身はresizeに伴って書き換わる.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8440751455592512167?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8440751455592512167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8440751455592512167' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8440751455592512167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8440751455592512167'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/ublascompressedmatrixresize.html' title='uBLASのcompressed_matrixをresize'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7945446925643883979</id><published>2007-10-26T14:46:00.000+09:00</published><updated>2007-10-26T14:57:08.687+09:00</updated><title type='text'>std::complexのcompressed_matrixでuBLASのlu_factorizeを使う</title><content type='html'>uBLASを使って複素数の線形方程式を解きたいとき, 通常のmatrixなら問題ないのにcompressed_matrixでlu_factorizeしようとするとエラーが出てコンパイルできない.
&lt;blockquote&gt;/usr/include/boost/numeric/ublas/lu.hpp:146: error: no match for 'operator/' in ...&lt;/blockquote&gt;
原因がよくわからなかったのだが, uBLASのメーリングリストが検索でかかった.
&lt;blockquote&gt;BTW, I've solved my compile problem by changing the LINE 147 of lu.cpp from
  project (mci, range (i + 1, size1)) *= value_type (1) / m (i, i);
to
  project (mci, range (i + 1, size1)) *= value_type (1);
  project (mci, range (i + 1, size1)) /= m (i, i);

&lt;a href="http://lists.boost.org/MailArchives/ublas/2007/09/2302.php"&gt;http://lists.boost.org/MailArchives/ublas/2007/09/2302.php&lt;/a&gt;&lt;/blockquote&gt;
現在のsubversionのrepositoryをみると, 以下のようになっているのだがどうなんでしょうかね.
&lt;blockquote&gt;value_type m_inv = value_type (1) / m (i, i);
project (mci, range (i + 1, size1)) *= m_inv;&lt;/blockquote&gt;
とりあえず, 前述のメーリングリストの方法でうまくいったので, そのように直して使っています.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7945446925643883979?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7945446925643883979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7945446925643883979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7945446925643883979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7945446925643883979'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/stdcomplexcompressedmatrixublaslufactor.html' title='std::complexのcompressed_matrixでuBLASのlu_factorizeを使う'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5579792448319793512</id><published>2007-10-26T13:41:00.000+09:00</published><updated>2007-10-26T13:52:28.769+09:00</updated><title type='text'>ublasのpermutation_matrixについて</title><content type='html'>ublasでLU分解を行う際に使用するpermutation_matrixについてはまったのでメモしておく.
permutation_matrixはlu_factorize, lu_substituteと同様にlu.hppに含まれる.
問題はlu_factorize(m, pm)を行った際に, 行列mがsingularでないのにアサーション(BOOST_UBLAS_CHECK (pm (i) == i_norm_inf, external_logic ());でひっかかる)がでるということだった. 色々と見ていくと, permutation_matrixを初期化していた以下の行が悪いということがわかった.
&lt;blockquote&gt;pm.clear()
pm.resize( m.size1() )&lt;/blockquote&gt;
いたって問題ないようだが, 正しくは,
&lt;blockquote&gt;pm.clear()
pm = permutation_matrix&amp;lt; M::size_type &amp;gt;( m.size1() )&lt;/blockquote&gt;
とする必要がある.

lu.hppを覗いてみると, permutation_matrixの実態は基本的にただのvectorで, 異なる点はそのコンストラクタで全てのiについて(*this)( i ) = iとしていることだとわかった. 要するに0でなくて, 入れ替えのないindexの並びで初期化しなければならない.
permutation_matrixの意味を考えればあたりまえのことであるが.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5579792448319793512?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5579792448319793512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5579792448319793512' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5579792448319793512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5579792448319793512'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/ublaspermutationmatrix.html' title='ublasのpermutation_matrixについて'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-1624377739973782243</id><published>2007-10-25T16:54:00.000+09:00</published><updated>2007-10-25T16:57:23.955+09:00</updated><title type='text'>C++のアサーション</title><content type='html'>大抵の場合なぐさめにもならないのだろうが, アサーションが出て強制終了してしまう場合で, かつそれを無視したいときは-DNDEBUGオプションを付けてコンパイルすれば良いらしい.

&lt;a href="http://radiofly.to/nishi/programming/solidcode.html"&gt;http://radiofly.to/nishi/programming/solidcode.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-1624377739973782243?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/1624377739973782243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=1624377739973782243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1624377739973782243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1624377739973782243'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/c.html' title='C++のアサーション'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4057156842030374134</id><published>2007-10-23T14:21:00.000+09:00</published><updated>2007-10-23T14:25:23.124+09:00</updated><title type='text'>nautilusについて</title><content type='html'>Ubuntu(というかGNOME?)のファイルブラウザであるnautilusについて.
nautilusで開いているディレクトリでターミナルを開く方法については, nautilus-open-terminalというパッケージを入れれば右クリックで可能になると昔調べた.
他方, 逆にターミナルからそのディレクトリのnautilusを開くコマンドを調べてみた. 調べると非常に簡単で, nautilusは引数としてURIを受け取るので, 以下のようにすればよい.
&lt;blockquote&gt;&amp;gt; nautilus .&lt;/blockquote&gt;
たいしたこと無いが, 地味に知らなかったので.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4057156842030374134?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4057156842030374134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4057156842030374134' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4057156842030374134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4057156842030374134'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/nautilus.html' title='nautilusについて'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-1222510509539493900</id><published>2007-10-22T14:17:00.000+09:00</published><updated>2007-10-22T14:25:39.206+09:00</updated><title type='text'>BoostのUMFPACKバインディング その2</title><content type='html'>まずはBoostというかuBLASでの疎行列(sparse matrix)の取扱いに関する基礎として, compressed_matrixについて.

&lt;a href="http://www.boost.org/libs/numeric/ublas/doc/matrix_sparse.htm"&gt;http://www.boost.org/libs/numeric/ublas/doc/matrix_sparse.htm&lt;/a&gt;

compressed_matrixは単にそのまま使うと, LU分解などのアルゴリズムの最適化を示唆するというよりは, メモリを節約するという意味を持っている. 型名の定義は5つから成る. かならず必要となるのは最初のひとつで, 行列の含む変数型を指定する. 大抵はdoubleか. おそらくはstd::complex&lt;double&gt;もいける(まだ試していない).
残りの型は圧縮するときに必要となる設定で, 整列させる方向や最終的に格納される型(unbounded_arrayやstd::vector, あとはbounded_array)などが選べる.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-1222510509539493900?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/1222510509539493900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=1222510509539493900' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1222510509539493900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1222510509539493900'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/boostumfpack-2.html' title='BoostのUMFPACKバインディング その2'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8136631803074411415</id><published>2007-10-22T13:53:00.001+09:00</published><updated>2008-04-07T16:11:17.847+09:00</updated><title type='text'>BoostのUMFPACKバインディング その1</title><content type='html'>boost-sandboxに含まれるUMFPACKバインディング(boost/numeric/bindings/umfpack)に関する情報がうまく収集できずに苦労したので, ここにまとめておく.
結論から書くと, boost-sandboxのレポジトリにドキュメントが含まれていたが, 変なところにあったので見つけられなかった. 場所としてはboost-sandbox/libs/numeric/bindings/umfpack/doc/index.html(includeではなくlibs)で, 下記URLのdownloadから参照できるはず.

&lt;a href="http://boost-sandbox.cvs.sourceforge.net/boost-sandbox/boost-sandbox/libs/numeric/bindings/umfpack/doc/index.html"&gt;http://boost-sandbox.cvs.sourceforge.net/boost-sandbox/boost-sandbox/libs/numeric/bindings/umfpack/doc/index.html&lt;/a&gt;

使う際にはsandboxのヘッダinclude/boost/numeric/bindings以下を/usr/local/includeにでも放りこんでやれば良い. cvsが嫌な人は, http://svn.boost.org/svn/boost/sandboxからsvnでもチェックアウトできる(svnはcommitが不可である模様). ただし, 僕が試したときはどちらもHTTPプロキシが許可されなかった.
(追記. boostのレポジトリが正式にsubversionに移るようだ.)
(追記2. http://subversion.tigris.org/faq.html#proxyに従って, https://svn.boost.org/からチェックアウトしたところうまく行った.)

&lt;a href="http://svn.boost.org/trac/boost/"&gt;http://svn.boost.org/trac/boost/&lt;/a&gt;

加えてもちろん, UMFPACK本体が必要なのだが, Ubuntu(7.04現時点)ではパッケージが用意されているのでそれを使えば良い. 具体的にはlibumfpack4, libumfpack4-devを入れれば良い.

はじめ, scipyを入れたときにlibufsparseが自動的に含まれるのでlibufsparse-devを追加して試みたが, リンクか何かの問題で動かなかったため, libumfpack4に変更した. おそらく以下に報告されている問題だと思われるが詳細は不明.

&lt;a href="https://bugs.launchpad.net/debian/+source/ufsparse/+bug/68670"&gt;https://bugs.launchpad.net/debian/+source/ufsparse/+bug/68670&lt;/a&gt;

動作確認にはまず, UMFPACK本体の確認として, umfpack-simple.c(例えば, &lt;a href="http://www.math.umbc.edu/~rouben/2006-01-math625/umfpack-simple.c"&gt;http://www.math.umbc.edu/~rouben/2006-01-math625/umfpack-simple.c&lt;/a&gt;か, UMFPACKのソースをダウンロードすれば含まれている)を用いて, これがうまく動作すれば, 先ほどのboost-sandbox内のドキュメントに含まれるサンプルコードを試してみると良いだろう.
ちなみに後者がg++であるのに対して, 前者はgccであることに注意. g++でumfpack.hを用いるにはexternが必要.

&lt;a href="http://ubuntuforums.org/archive/index.php/t-360888.html"&gt;http://ubuntuforums.org/archive/index.php/t-360888.html&lt;/a&gt;

ひとまずはここまで.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8136631803074411415?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8136631803074411415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8136631803074411415' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8136631803074411415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8136631803074411415'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/boostumfpack-1.html' title='BoostのUMFPACKバインディング その1'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4747895789515979827</id><published>2007-10-19T19:26:00.000+09:00</published><updated>2007-10-26T14:01:17.159+09:00</updated><title type='text'>BoostのuBLASのサンプルを動かしてみた</title><content type='html'>BoostのuBLASを使ってみようと思い, 以下のサンプルを動かそうとしたところ, コンパイルが通らなかった.

&lt;a href="http://www.page.sannet.ne.jp/d_takahashi/boost/ublas/index.html#SEC15"&gt;http://www.page.sannet.ne.jp/d_takahashi/boost/ublas/index.html#SEC15&lt;/a&gt;

ググると以下のスレッドと全く同一の問題であった. ヘッダをひとつ追加すれば解決. ちなみに行列とベクタの扱いも角括弧bracketでなく丸括弧.
&lt;blockquote&gt;We should add
#include &amp;lt;boost/numeric/ublas/vector_proxy.hpp&amp;gt;

&lt;a href="http://lists.boost.org/MailArchives/ublas/2005/08/0660.php"&gt;http://lists.boost.org/MailArchives/ublas/2005/08/0660.php&lt;/a&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4747895789515979827?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4747895789515979827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4747895789515979827' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4747895789515979827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4747895789515979827'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/boostublas.html' title='BoostのuBLASのサンプルを動かしてみた'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4485367724549255905</id><published>2007-10-19T16:43:00.000+09:00</published><updated>2007-10-22T11:41:54.722+09:00</updated><title type='text'>Reducing fill-in</title><content type='html'>A list of algorithms.
&lt;blockquote&gt;Minimum degree (Tinny and Walker, 1967)
Multiple minimum degree (Liu, 1985)
Approximate minimum degree (Amestoy, et. al., 1996)
Nested dissection (George, 1973)
Multilevel nested dissection routine (Karypis and Kumar, 1998)
Multisection (Ashcraft and Liu, 1998)
Local minimum fill (Tinney and Walker, 1967)

&lt;a href="http://www.cc.kyushu-u.ac.jp/scp/system/library/WSMP/manual/WSMP-QNA.pdf"&gt;http://www.cc.kyushu-u.ac.jp/scp/system/library/WSMP/manual/WSMP-QNA.pdf&lt;/a&gt;&lt;/blockquote&gt;
A suite of sparse matrix packages.
&lt;a href="http://www.cise.ufl.edu/research/sparse/"&gt;http://www.cise.ufl.edu/research/sparse/&lt;/a&gt;
&lt;blockquote&gt;UMFPACK is a set of routines for solving unsymmetric sparse linear systems, Ax=b, using the Unsymmetric MultiFrontal method.
&lt;a href="http://www.cise.ufl.edu/research/sparse/umfpack/"&gt;http://www.cise.ufl.edu/research/sparse/umfpack/&lt;/a&gt;&lt;/blockquote&gt;
&lt;a href="http://en.wikipedia.org/wiki/Sparse_matrix#Reducing_fill-in"&gt;http://en.wikipedia.org/wiki/Sparse_matrix#Reducing_fill-in&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4485367724549255905?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4485367724549255905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4485367724549255905' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4485367724549255905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4485367724549255905'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/reducing-fill-in.html' title='Reducing fill-in'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-6889855228972781241</id><published>2007-10-19T15:08:00.000+09:00</published><updated>2007-10-19T15:10:49.369+09:00</updated><title type='text'>subversionが壊れた</title><content type='html'>チェックサムエラーやらなんやらでsubversionが使えなくなったので修復を試みた. いろいろとみんな苦労されているようだ.
僕の場合を書いておくと, わりと幸運な方だったようで, svnadmin recoveryやらsvnadmin verifyだのをやってから, 一度チェックアウトし直して, 変更を再度マージしなおしたらOKであった.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-6889855228972781241?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/6889855228972781241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=6889855228972781241' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6889855228972781241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6889855228972781241'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/subversion.html' title='subversionが壊れた'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8113156181851816232</id><published>2007-10-18T18:29:00.000+09:00</published><updated>2007-10-18T18:36:19.962+09:00</updated><title type='text'>Emacsの超基礎 その7 コメントアウト</title><content type='html'>プログラムを書いているときに選択した範囲をコメントアウトしたい場合のショートカットキーについて.
発端はFedoraのpython-modeでM-x py-comment-region(\C-c#)が使えなくなったという話を聞いていくつか調べたことだったが, コメントアウトするのにもっと一般的な方法があったようだ.
&lt;blockquote&gt;python-modeでM-x py-comment-regionまたは\C-c#で領域をコメントアウト.
python-modeで\C-u\C-c#で領域をコメントアウトから戻す.
M-x comment-regionも領域をコメントアウト. PythonでもC++でも使えた.
M-x uncomment-regionも領域をコメントアウトから戻す.&lt;/blockquote&gt;
とりあえず, M-x comment-regionをキーバインドしておけば良いのかな.
手前味噌だが, キーバインドについては以下の通り.

&lt;a href="http://bettamodoki.blogspot.com/2007/10/emacs-6.html"&gt;http://bettamodoki.blogspot.com/2007/10/emacs-6.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8113156181851816232?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8113156181851816232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8113156181851816232' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8113156181851816232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8113156181851816232'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/emacs-7.html' title='Emacsの超基礎 その7 コメントアウト'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-2356050620235910188</id><published>2007-10-18T17:48:00.000+09:00</published><updated>2007-10-18T17:54:31.540+09:00</updated><title type='text'>Emacsの超基礎 その6 キーバインドの設定</title><content type='html'>Emacs Lispで独自のキーバインドを.emacs.elに設定したいときの方法. global-set-key関数を使う.
&lt;blockquote&gt;(global-set-key "\C-cg" 'goto-line)&lt;/blockquote&gt;
\C-はCtrを押しながら, \M-はMetaキー(Esc)を押しながらの意味. スペースは空けちゃ駄目.
慣習としてユーザにはCtr-C 英数字があけてあるのでそれを使うと良いようだ.

&lt;a href="http://www.bookshelf.jp/soft/meadow_12.html#SEC89"&gt;http://www.bookshelf.jp/soft/meadow_12.html#SEC89&lt;/a&gt;
&lt;a href="http://www.sodan.ecc.u-tokyo.ac.jp/2001/article/tips/tips12.shtml"&gt;http://www.sodan.ecc.u-tokyo.ac.jp/2001/article/tips/tips12.shtml&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-2356050620235910188?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/2356050620235910188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=2356050620235910188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/2356050620235910188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/2356050620235910188'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/emacs-6.html' title='Emacsの超基礎 その6 キーバインドの設定'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4095688542336621228</id><published>2007-10-18T15:38:00.000+09:00</published><updated>2007-10-18T15:41:43.860+09:00</updated><title type='text'>Excelのショートカット</title><content type='html'>ITmediaの記事から僕の使いそうなものをピックアップして, 簡潔にした.

1. Ctr+1でセルの書式設定.
2. 書式設定などちょっとした変更の繰り返しにはF4.
3. Ctr+Dで上のセルをコピー. Ctr+Rで左のセルをコピー.
4. Enterで下のセルへ移動. Tabでは左のセルへ移動.

&lt;a href="http://www.itmedia.co.jp/bizid/articles/0705/10/news127.html"&gt;http://www.itmedia.co.jp/bizid/articles/0705/10/news127.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4095688542336621228?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4095688542336621228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4095688542336621228' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4095688542336621228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4095688542336621228'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/excel.html' title='Excelのショートカット'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7519913604904392620</id><published>2007-10-17T18:16:00.000+09:00</published><updated>2007-10-17T18:20:36.678+09:00</updated><title type='text'>イテレータはプリインクリメントで</title><content type='html'>C++のIteratorではiter++(ポストインクリメント)ではなくて, ++iter(プリインクリメント)を使おうという話. C++だけれども++Cが速い.

&lt;a href="http://d.hatena.ne.jp/higepon/20061213/1166021035"&gt;http://d.hatena.ne.jp/higepon/20061213/1166021035&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7519913604904392620?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7519913604904392620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7519913604904392620' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7519913604904392620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7519913604904392620'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/blog-post_17.html' title='イテレータはプリインクリメントで'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7637518930614996616</id><published>2007-10-14T12:01:00.000+09:00</published><updated>2007-10-14T12:05:07.764+09:00</updated><title type='text'>ディスプレイが逆さま</title><content type='html'>なぜか画面が上下反転して見えるようになってしまったという報告を受けて, 代わりにググったところ, Ctr+Alt+↑で直るらしいとわかった. 詳しく調べる予定なし.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7637518930614996616?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7637518930614996616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7637518930614996616' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7637518930614996616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7637518930614996616'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/blog-post.html' title='ディスプレイが逆さま'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-739281501002173264</id><published>2007-10-12T12:02:00.000+09:00</published><updated>2007-10-12T12:22:01.886+09:00</updated><title type='text'>WindowsにVMWareを入れてUbuntuを動かすまでの流れ</title><content type='html'>0. UbuntuのインストールCDイメージ(isoファイル)をダウンロードする.
&lt;a href="http://www.ubuntulinux.jp/products/JA-Localized/download"&gt;http://www.ubuntulinux.jp/products/JA-Localized/download&lt;/a&gt;

1. VMWare PlayerとQEMUをダウンロードしてインストールする.
&lt;a href="http://www.vmware.com/download/player/"&gt;http://www.vmware.com/download/player/&lt;/a&gt;
&lt;a href="http://www1.interq.or.jp/~t-takeda/qemu/"&gt;http://www1.interq.or.jp/~t-takeda/qemu/&lt;/a&gt;

2. コマンドプロンプトでQEMUを使ってvmdkファイルを作成する. (仮想マシンのディスクに相当する)
&lt;blockquote&gt;&amp;gt; qemu-img.exe create -f vmdk ubuntu-ja-7.04-desktop-i386.vmdk 10G&lt;/blockquote&gt;
3. テキストエディタでvmxファイルを作成する. (仮想マシンのハードウェアなどの設定ファイル)

memsizeにメモリーサイズ(ホストのものより若干少なめにすること), ide0:0.fileNameに作成したvmdkファイル名, ide1:0.fileNameにインストールしたいCDのisoの絶対パスが正しいことを確認する.

&lt;blockquote&gt;config.version = "8"
virtualHW.version = "4"
memsize = "512"
ide0:0.present = "TRUE"
ide0:0.fileName = "ubuntu-ja-7.04-desktop-i386.vmdk"

ide1:0.present = "TRUE"
ide1:0.fileName = "C:\ubuntu-ja-7.04-desktop-i386.iso"
ide1:0.deviceType = "cdrom-image"

floppy0.present = "FALSE"
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "ubuntu-ja-7.04-desktop-i386"
guestOS = "ubuntu"
nvram = "ubuntu-ja-7.04-desktop-i386.nvram"
scsi0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d 1b 44 cf 9a d1 f5-36 bd 99 c7 11 e4 2d 1e"
uuid.bios = "56 4d 1b 44 cf 9a d1 f5-36 bd 99 c7 11 e4 2d 1e"
ide1:0.autodetect = "TRUE"
ethernet0.generatedAddress = "00:0c:29:e4:2d:1e"
ethernet0.generatedAddressOffset = "0"
checkpoint.vmState = ""
tools.remindInstall = "TRUE"
ide0:0.redo = ""

usb.autoConnect.device0 = ""
&lt;/blockquote&gt;
4. vmxファイルをダブルクリックして, 立ち上がった仮想マシンで普通にOSインストール作業を進める.

5. vmxをテキストエディタで開き, ide1:0.fileName, ide1:0.deviceTypeの項を以下のように修正する.
&lt;blockquote&gt;ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
&lt;/blockquote&gt;

&lt;a href="http://sarabande.info/wiki/Vmware:Windows%E3%82%92%E3%83%9B%E3%82%B9%E3%83%88%E3%81%AB%E3%81%97%E3%81%A6Ubuntu%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B"&gt;http://sarabande.info/wiki/Vmware:WindowsをホストにしてUbuntuをインストールする&lt;/a&gt;

追記.
isoイメージでなく, CDがすでにある場合ははじめからvmxを5にあるように設定してCDを入れて立ち上げれば同様にインストールできるはず.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-739281501002173264?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/739281501002173264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=739281501002173264' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/739281501002173264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/739281501002173264'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/10/windowsvmwareubuntu.html' title='WindowsにVMWareを入れてUbuntuを動かすまでの流れ'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-6399881738257876971</id><published>2007-09-21T20:27:00.000+09:00</published><updated>2007-09-21T20:29:02.063+09:00</updated><title type='text'>boost::multi_arrayのiterator</title><content type='html'>boost::multi_arrayでのiteratorの使い方がいまいち良くイメージできなかったので勘違いしてしまっていた. 下記の応答を読んで理解.

&lt;a href="http://article.gmane.org/gmane.comp.lib.boost.user/30196"&gt;http://article.gmane.org/gmane.comp.lib.boost.user/30196&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-6399881738257876971?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/6399881738257876971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=6399881738257876971' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6399881738257876971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6399881738257876971'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/09/boostmultiarrayiterator.html' title='boost::multi_arrayのiterator'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5628576192478474910</id><published>2007-09-21T20:06:00.000+09:00</published><updated>2007-09-21T20:07:41.712+09:00</updated><title type='text'>Root finding algorithm</title><content type='html'>かなりしっかりと記述されていて驚いた. 多項式の根に関してもちゃんと書いてある.

&lt;a href="http://en.wikipedia.org/wiki/Root-finding_algorithm"&gt;http://en.wikipedia.org/wiki/Root-finding_algorithm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5628576192478474910?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5628576192478474910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5628576192478474910' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5628576192478474910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5628576192478474910'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/09/root-finding-algorithm.html' title='Root finding algorithm'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-9087259343486945702</id><published>2007-09-21T15:37:00.000+09:00</published><updated>2007-09-21T15:39:36.302+09:00</updated><title type='text'>matrixmultiply() was deprecated in favor of dot()</title><content type='html'>だいぶ前のことだけれど, 度々忘れるので.
numpyではmatrixmultiply関数はdot関数に置き換えられましたのであしからず.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-9087259343486945702?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/9087259343486945702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=9087259343486945702' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/9087259343486945702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/9087259343486945702'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/09/matrixmultiply-was-deprecated-in-favor.html' title='matrixmultiply() was deprecated in favor of dot()'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-140867353858522673</id><published>2007-09-20T11:16:00.000+09:00</published><updated>2007-09-20T11:18:21.407+09:00</updated><title type='text'>Gnuplotでグラフの縦横比</title><content type='html'>Gnuplotでグラフの縦横比をたとえば1:1, すなわち正方形にしたいときは,
&lt;blockquote&gt;set size square&lt;/blockquote&gt;
とすれば良い. また任意の比にしたいときは,
&lt;blockquote&gt;set size ratio 2&lt;/blockquote&gt;
のようにする. 値はY軸長割るX軸長.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-140867353858522673?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/140867353858522673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=140867353858522673' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/140867353858522673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/140867353858522673'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/09/gnuplot.html' title='Gnuplotでグラフの縦横比'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7574679924293890598</id><published>2007-09-19T18:25:00.001+09:00</published><updated>2007-09-19T18:25:56.405+09:00</updated><title type='text'>ユークリッドの互助法</title><content type='html'>互「除」法の間違い. 英語では単にEuclidean algorithm.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7574679924293890598?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7574679924293890598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7574679924293890598' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7574679924293890598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7574679924293890598'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/09/blog-post_7940.html' title='ユークリッドの互助法'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-1216016517260528820</id><published>2007-09-19T17:32:00.000+09:00</published><updated>2007-09-19T17:34:05.386+09:00</updated><title type='text'>Sturmの定理とSturm-Liouville問題</title><content type='html'>多項式の根の存在確認のアルゴリズムを調べていてSturmの定理に行き当たったが, 同時にSturm-Liouville問題というのも見つけた.
よくわからんが境界値問題のことらしい.

&lt;a href="http://next1.cc.it-hiroshima.ac.jp/MULTIMEDIA/diffpub/node67.html"&gt;http://next1.cc.it-hiroshima.ac.jp/MULTIMEDIA/diffpub/node67.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-1216016517260528820?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/1216016517260528820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=1216016517260528820' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1216016517260528820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1216016517260528820'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/09/sturmsturm-liouville.html' title='Sturmの定理とSturm-Liouville問題'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5019514650683522117</id><published>2007-09-19T16:34:00.000+09:00</published><updated>2007-09-19T16:36:15.164+09:00</updated><title type='text'>トランキライザ</title><content type='html'>トランキライザとは精神安定剤のこと. その作用の強さによってマイナーとメジャーの2種に分類されることが多いようだ.

&lt;a href="http://d.hatena.ne.jp/keyword/%A5%C8%A5%E9%A5%F3%A5%AD%A5%E9%A5%A4%A5%B6%A1%BC"&gt;http://d.hatena.ne.jp/keyword/トランキライザー&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5019514650683522117?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5019514650683522117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5019514650683522117' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5019514650683522117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5019514650683522117'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/09/blog-post_19.html' title='トランキライザ'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8622340552869471885</id><published>2007-09-18T18:31:00.000+09:00</published><updated>2007-09-18T18:36:45.315+09:00</updated><title type='text'>Weierstrassの近似定理</title><content type='html'>ワイエルシュトラスの名前を先日出したが, 別件で多項式近似について調べていたときに再びその名前に出会った.
&lt;blockquote&gt;関数fが区間[a,b]で連続ならば, どんなε＞0に対しても,
|f(x)-P(x)|＜ε
となる多項式P(x)が存在する.
&lt;a href="http://next1.cc.it-hiroshima.ac.jp/MULTIMEDIA/numeanal1/node12.html#2958"&gt;http://next1.cc.it-hiroshima.ac.jp/MULTIMEDIA/numeanal1/node12.html#2958&lt;/a&gt;&lt;/blockquote&gt;
心強い定理だ(笑)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8622340552869471885?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8622340552869471885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8622340552869471885' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8622340552869471885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8622340552869471885'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/09/weierstrass.html' title='Weierstrassの近似定理'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7314493852759104433</id><published>2007-09-05T18:20:00.000+09:00</published><updated>2007-09-05T18:23:17.143+09:00</updated><title type='text'>Ctr+Spaceで入力切り替え</title><content type='html'>英語版のWindows XPを使っていて, 入力切り替えをキーボードで行う方法がわからなかったので, とりあえずCmdSpaceというソフトウェアで対応することにした.
Ctr+Spaceだけでなく, Altなどにも変更できる. とりあえず, これで便利になった.

&lt;a href="http://www.tanaka.tc/archives/000014.html"&gt;http://www.tanaka.tc/archives/000014.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7314493852759104433?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7314493852759104433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7314493852759104433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7314493852759104433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7314493852759104433'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/09/ctrspace.html' title='Ctr+Spaceで入力切り替え'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8108571066632934072</id><published>2007-09-02T01:34:00.000+09:00</published><updated>2007-09-02T01:46:16.087+09:00</updated><title type='text'>連続だがいたるところ微分不可能な関数</title><content type='html'>ボルツァーノの業績として挙げられていたことのひとつが, 連続だがいたるところ微分不可能な関数の存在であった. けれども, 具体的にどのようなものなのかが書かれていなかったのでちょっと調べてみた.

この関数は再発見したワイエルシュトラスの名が冠されており, ワイエルシュトラス関数と呼ばれる. また高木貞治も同様な関数を挙げていて, 高木関数と呼ばれる.
どちらもフラクタルな関数で, 関数の無限和としてあらわされるようだ (ここはまだあいまい).

とはいえ今日は眠いので証明に関しては後日読むことにする.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8108571066632934072?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8108571066632934072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8108571066632934072' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8108571066632934072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8108571066632934072'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/09/blog-post.html' title='連続だがいたるところ微分不可能な関数'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-9180586057667508033</id><published>2007-08-29T11:46:00.000+09:00</published><updated>2007-08-29T11:52:38.961+09:00</updated><title type='text'>ルートキット</title><content type='html'>基本的にはトロイの木馬のようなものらしい. ユーザの同意なしに隠蔽してインストールされたファイル(rootkitプログラム)を利用して, 一時的に与えられた権限を以降も保持し続けることを許す.
そのようなソフトウェアを指す.

&lt;a href="http://ja.wikipedia.org/wiki/%E3%83%AB%E3%83%BC%E3%83%88%E3%82%AD%E3%83%83%E3%83%88"&gt;http://ja.wikipedia.org/wiki/ルートキット&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-9180586057667508033?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/9180586057667508033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=9180586057667508033' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/9180586057667508033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/9180586057667508033'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/blog-post_29.html' title='ルートキット'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-1459573857210310390</id><published>2007-08-28T19:27:00.000+09:00</published><updated>2007-08-28T19:29:54.786+09:00</updated><title type='text'>Windowsの自動ログイン</title><content type='html'>正確なところはまだよくわかっていないのだが, パスワードが指定されていたり, 複数アカウントあったり, 管理者権限があったりしてもスタートアップ時に自動ログインする方法.
僕はむしろどうやったらこれを解除できるのか(以前の使用者がそう設定していたらしい)が知りたくて調べただけなので深くはわからない.

&lt;a href="http://wiki.ohgaki.net/index.php?Windows%2F%BC%AB%C6%B0%A5%ED%A5%B0%A5%A4%A5%F3"&gt;http://wiki.ohgaki.net/index.php?Windows／自動ログイン&lt;/a&gt;
&lt;a href="http://arena.nikkeibp.co.jp/article/tec/winxp/20050615/112499/"&gt;http://arena.nikkeibp.co.jp/article/tec/winxp/20050615/112499/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-1459573857210310390?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/1459573857210310390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=1459573857210310390' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1459573857210310390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1459573857210310390'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/windows.html' title='Windowsの自動ログイン'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-6100170855086245407</id><published>2007-08-28T19:21:00.000+09:00</published><updated>2007-08-28T19:27:00.318+09:00</updated><title type='text'>Synergyを使う</title><content type='html'>以前, Windows, Mac, Fedora CoreをSynergyを用いて統合するということをしたが, 今度はもっと単純に2題のWindows間をつないだ.
これは前よりももっと簡単で同じLAN内でコンピュータ名でpingが通ればなんの困難も無い.

&lt;a href="http://www.simeji.com/synergy/running_ja.html"&gt;http://www.simeji.com/synergy/running_ja.html&lt;/a&gt;
&lt;a href="http://synergy2.sourceforge.net/autostart.html"&gt;http://synergy2.sourceforge.net/autostart.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-6100170855086245407?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/6100170855086245407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=6100170855086245407' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6100170855086245407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6100170855086245407'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/synergy.html' title='Synergyを使う'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7610087463169137457</id><published>2007-08-27T18:17:00.000+09:00</published><updated>2007-08-27T18:19:57.574+09:00</updated><title type='text'>Country codeとArea code</title><content type='html'>日本ではCountry codeが81, Area codeは市外局番から頭の0を抜いたもの. 東京だと81-3-********となる.

&lt;a href="http://question.excite.co.jp/qa3253803.html"&gt;http://question.excite.co.jp/qa3253803.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7610087463169137457?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7610087463169137457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7610087463169137457' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7610087463169137457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7610087463169137457'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/country-codearea-code.html' title='Country codeとArea code'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5553340377865824960</id><published>2007-08-27T17:49:00.000+09:00</published><updated>2007-08-27T17:50:14.992+09:00</updated><title type='text'>Naja naja</title><content type='html'>論文のタイトルにNaja najaと出てきて, なんのことかと思ったらインドコブラの学名らしい.

&lt;a href="http://ja.wikipedia.org/wiki/%E3%82%A4%E3%83%B3%E3%83%89%E3%82%B3%E3%83%96%E3%83%A9"&gt;http://ja.wikipedia.org/wiki/インドコブラ&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5553340377865824960?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5553340377865824960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5553340377865824960' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5553340377865824960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5553340377865824960'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/naja-naja.html' title='Naja naja'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7465795864390786562</id><published>2007-08-24T16:55:00.000+09:00</published><updated>2007-08-24T16:57:03.556+09:00</updated><title type='text'>Gnumeric感想</title><content type='html'>3時間使ってみた感想. かなり良い. グラフもアンチエイリアスがかかってExcelよりも美しい.

&lt;a href="http://bettamodoki.blogspot.com/2007/08/gnumeric.html"&gt;http://bettamodoki.blogspot.com/2007/08/gnumeric.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7465795864390786562?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7465795864390786562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7465795864390786562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7465795864390786562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7465795864390786562'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/gnumeric_24.html' title='Gnumeric感想'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7620542917651733835</id><published>2007-08-24T14:10:00.000+09:00</published><updated>2007-08-24T14:15:43.582+09:00</updated><title type='text'>もうGnumericでいいじゃないか</title><content type='html'>Microsoft Officeを回避したいと思い続けてきた身としては, OpenOfficeを推奨していた. しかしどうにもMicrosoft Officeが手放せない. そのひとつの理由はOpenOffice Calcの機能の弱さだ.
以前にも書いたが, 棒グラフのエラーバーが描けないことや, 分析ツールが無いことがある.
そこでGnumeric. OpenOfficeと違いスプレッドシートのみだが, エラーバーはもちろん, 分析ツールも使える.

&lt;a href="http://www.gnome.org/projects/gnumeric/"&gt;http://www.gnome.org/projects/gnumeric/&lt;/a&gt;

Gnomeベースで開発されているようだが, 今はWindowsにも対応している. ファイル互換性などは弱いという話だが, はじめからこれで作成するか, コピペすれば良い.
Microsoft, OpenときてGNOMEです. Pythonなどでのスクリプティングにも対応, ということなのでこれはまた試してみよう.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7620542917651733835?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7620542917651733835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7620542917651733835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7620542917651733835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7620542917651733835'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/gnumeric.html' title='もうGnumericでいいじゃないか'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4538914597114810688</id><published>2007-08-22T12:14:00.000+09:00</published><updated>2007-08-22T12:16:35.937+09:00</updated><title type='text'>Paramount pisses me off!</title><content type='html'>"Paramount pisses me off!"はマイケル・ベイ監督の言. 「パラマウント, まじムカつく!」というような意味らしい. 覚えておこう.

&lt;a href="http://japanese.engadget.com/2007/08/21/no-tf2-from-pearl-harbor-director/"&gt;http://japanese.engadget.com/2007/08/21/no-tf2-from-pearl-harbor-director/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4538914597114810688?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4538914597114810688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4538914597114810688' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4538914597114810688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4538914597114810688'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/paramount-pisses-me-off.html' title='Paramount pisses me off!'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8324465873146597387</id><published>2007-08-21T19:45:00.001+09:00</published><updated>2007-08-21T19:45:38.301+09:00</updated><title type='text'>ベンフォードの法則</title><content type='html'>&lt;a href="http://www.rd.mmtr.or.jp/~bunryu/benford.shtml"&gt;http://www.rd.mmtr.or.jp/~bunryu/benford.shtml&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8324465873146597387?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8324465873146597387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8324465873146597387' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8324465873146597387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8324465873146597387'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/blog-post_1353.html' title='ベンフォードの法則'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7999216633424933645</id><published>2007-08-21T18:14:00.000+09:00</published><updated>2007-08-21T18:17:03.038+09:00</updated><title type='text'>アフォリズム</title><content type='html'>なぜわざわざこんな言い方をするのでしょう.
&lt;blockquote&gt;金言. 警句. 箴言(シンゲン).
&lt;a href="http://d.hatena.ne.jp/keyword/%A5%A2%A5%D5%A5%A9%A5%EA%A5%BA%A5%E0"&gt;http://d.hatena.ne.jp/keyword/アフォリズム&lt;/a&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7999216633424933645?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7999216633424933645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7999216633424933645' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7999216633424933645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7999216633424933645'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/blog-post_21.html' title='アフォリズム'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-2854995413745806574</id><published>2007-08-15T12:08:00.000+09:00</published><updated>2007-08-15T12:10:33.507+09:00</updated><title type='text'>AVGでのプロキシの設定</title><content type='html'>ちょっとわかりづらいところにある.
&lt;blockquote&gt;コントロールセンター, アップデート マネージャ, 設定から行う.
&lt;a href="http://www.geocities.jp/h_genjirou/AVG2/avg2.html"&gt;http://www.geocities.jp/h_genjirou/AVG2/avg2.html&lt;/a&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-2854995413745806574?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/2854995413745806574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=2854995413745806574' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/2854995413745806574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/2854995413745806574'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/avg.html' title='AVGでのプロキシの設定'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-6626762700748207726</id><published>2007-08-13T14:51:00.000+09:00</published><updated>2007-08-13T18:45:01.209+09:00</updated><title type='text'>subversionメモ その1</title><content type='html'>いくつかsubversionのコマンドに関してのメモ.

ファイル名の変更はmvなどで直接行わず, "svn move OLD NEW"で自動的にローカルのファイル名も変更される. コピーも同様で, "svn copy FILE1 FILE2"とする.

既にcommitしたログを修正したいときにはいくつか方法があるようだが, 僕はsvnadminでの変更手順に従った.
&lt;blockquote&gt;$ svnadmin setlog --bypass-hooks REPOSITORY_PATH -r 6 NEWLOG_TEXTFILE&lt;/blockquote&gt;
このログの編集はログされないのであらかじめバックアップをとっておくと良い. 上のREPOSITORY_PATHはプロジェクト名を含まない. すなわち先日の例では, /media/disk/svnrootとなる.
なぜかテキストファイルからログを修正すると最後に空改行が入って2行になってしまうがとりあえず放置.

&lt;a href="http://terai.xrea.jp/Subversion/SetLog.html"&gt;http://terai.xrea.jp/Subversion/SetLog.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-6626762700748207726?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/6626762700748207726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=6626762700748207726' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6626762700748207726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6626762700748207726'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/subversion-1.html' title='subversionメモ その1'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5130361568073795663</id><published>2007-08-13T13:24:00.000+09:00</published><updated>2007-08-13T13:29:11.924+09:00</updated><title type='text'>Excel VBAマクロ作成 その1 開発環境</title><content type='html'>Excelでマクロを作成するのにVBAについて学習してみた. 結論から言うと単純な関数を組むだけであればかなり学習コストは低い.

とりあえず開発環境はツール, マクロ, Visual Basic Editorからたどりつける. Windows XP, Office 2002(2003)で開発したが, Mac OSXでのOfficeとは互換性がなかったらしい.

&lt;a href="http://www.officepro.jp/index.html"&gt;http://www.officepro.jp/index.html&lt;/a&gt;
&lt;a href="http://www.eurus.dti.ne.jp/~yoneyama/Excel/vba/index.html"&gt;http://www.eurus.dti.ne.jp/~yoneyama/Excel/vba/index.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5130361568073795663?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5130361568073795663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5130361568073795663' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5130361568073795663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5130361568073795663'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/excel-vba-1.html' title='Excel VBAマクロ作成 その1 開発環境'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-3521893515998141368</id><published>2007-08-09T01:14:00.000+09:00</published><updated>2007-08-13T18:46:24.516+09:00</updated><title type='text'>ほにゃロジー</title><content type='html'>オントロジー。
&lt;a href="http://ja.wikipedia.org/wiki/%E3%82%AA%E3%83%B3%E3%83%88%E3%83%AD%E3%82%B8%E3%83%BC"&gt;http://ja.wikipedia.org/wiki/オントロジー&lt;/a&gt;
トートロジー。
&lt;a href="http://ja.wikipedia.org/wiki/%E3%83%88%E3%83%BC%E3%83%88%E3%83%AD%E3%82%B8%E3%83%BC"&gt;http://ja.wikipedia.org/wiki/トートロジー&lt;/a&gt;
ほにゃロジー。
&lt;a href="http://en.wikipedia.org/wiki/-logy"&gt;http://en.wikipedia.org/wiki/-logy&lt;/a&gt;
&lt;a href="http://ja.wikipedia.org/wiki/-logy"&gt;http://ja.wikipedia.org/wiki/-logy&lt;/a&gt;
フォークソノミー。
&lt;a href="http://ja.wikipedia.org/wiki/%E3%83%95%E3%82%A9%E3%83%BC%E3%82%AF%E3%82%BD%E3%83%8E%E3%83%9F%E3%83%BC"&gt;http://ja.wikipedia.org/wiki/フォークソノミー&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-3521893515998141368?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/3521893515998141368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=3521893515998141368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3521893515998141368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3521893515998141368'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/blog-post_09.html' title='ほにゃロジー'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-1341315785226241737</id><published>2007-08-07T12:10:00.001+09:00</published><updated>2008-02-19T19:35:09.538+09:00</updated><title type='text'>subversionで同期とバックアップ</title><content type='html'>いくつかのPCを行き来して開発をちょこちょこ行っているのでソースが分散してしまった. これを改善するためにUSBメモリで同期させることにした.
まずは単純に丸ごとコピーする方法だが, 面倒だし, 時間がかかる. そこでrsyncの導入を考えた.
しかし, まだ試行錯誤の段階なのでやっぱり前のバージョンに戻したいということがよくある. そこでいっそのことsubversionでバージョン管理もやってしまおうと考えた.
&lt;blockquote&gt;$ svnadmin create /media/disk/svnroot
$ svn import test file:///media/disk/svnroot/test -m "初めてのインポート"&lt;/blockquote&gt;
で準備が整う. testディレクトリにはあらかじめbranches, tags, trunkの3つの空ディレクトリを用意しておいた.
準備できたらこのtestを一度消して, チェックアウトし直す.
&lt;blockquote&gt;$ svn co file:///media/disk/svnroot/test/trunk test&lt;/blockquote&gt;
あとはaddでもcommitでも好きにすれば良いじゃないか.

&lt;a href="http://www.thinkit.co.jp/free/article/0611/2/2/"&gt;http://www.thinkit.co.jp/free/article/0611/2/2/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-1341315785226241737?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/1341315785226241737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=1341315785226241737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1341315785226241737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1341315785226241737'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/subversion.html' title='subversionで同期とバックアップ'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-1641892093467828606</id><published>2007-08-06T20:00:00.000+09:00</published><updated>2007-08-06T20:07:08.494+09:00</updated><title type='text'>HepG2, concomitant, heterogeneity</title><content type='html'>HepG2とはHuman hepatocellular liver carcinoma cell lineのことでヒト肝ガン由来細胞株.
concomitantは「随伴性の, 同時の, 併用の」といった意味.
heterogeneity(Heterogeneous)とは「異質性」を意味する言葉であるが, もう少しつっこんだ話はまた後で調べる.

&lt;a href="http://en.wikipedia.org/wiki/Heterogeneous"&gt;http://en.wikipedia.org/wiki/Heterogeneous&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-1641892093467828606?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/1641892093467828606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=1641892093467828606' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1641892093467828606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/1641892093467828606'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/hepg2-concomitant-heterogeneity.html' title='HepG2, concomitant, heterogeneity'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-6871343427438796645</id><published>2007-08-06T19:45:00.000+09:00</published><updated>2007-08-06T19:56:36.300+09:00</updated><title type='text'>タデウシュ・ライヒスタイン</title><content type='html'>1950年にエドワード・カルビン・ケンダル, フィリップ・ショウォルター・ヘンチと共にノーベル生理学・医学賞を受賞した.
ノーベル賞は副腎皮質ホルモンからコルチゾンを単離する研究に与えられたもので, またビタミンCの合成に成功した.

&lt;a href="http://ja.wikipedia.org/wiki/%E3%82%BF%E3%83%87%E3%82%A6%E3%82%B7%E3%83%A5%E3%83%BB%E3%83%A9%E3%82%A4%E3%83%92%E3%82%B9%E3%82%BF%E3%82%A4%E3%83%B3"&gt;http://ja.wikipedia.org/wiki/タデウシュ・ライヒスタイン&lt;/a&gt;

副腎皮質から分泌されるホルモンは2種類あり, 「糖質コルチコイド(コルチゾン)」と「電解質コルチコイド(アルドステロン)」とに分けられる.
副腎皮質ホルモンはステロイドホルモンの1種で, 大きく分けて2つの作用を持つ.
&lt;blockquote&gt;血糖上昇. 肝臓での糖新生を促進し, 抹消ではタンパク質合成を抑制, 分解を促し, 糖新生の材料として用いる.
抗炎症・アレルギー作用&lt;/blockquote&gt;
この2つがどのような関連性を持つのかはまだ調べている途中. 誰か教えて.

&lt;a href="http://hobab.fc2web.com/sub4-Steroid.htm"&gt;http://hobab.fc2web.com/sub4-Steroid.htm&lt;/a&gt;
&lt;a href="http://physiology1.org/doc/chapter.php?Id=416"&gt;http://physiology1.org/doc/chapter.php?Id=416&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-6871343427438796645?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/6871343427438796645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=6871343427438796645' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6871343427438796645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6871343427438796645'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/blog-post.html' title='タデウシュ・ライヒスタイン'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8553225725910457548</id><published>2007-08-02T01:28:00.000+09:00</published><updated>2007-08-02T01:33:23.516+09:00</updated><title type='text'>BioPython</title><content type='html'>BioPerlを使って必要なものは作ったが, 僕にはPythonの方が慣れているのでBioPythonへ移植することも考えてみようかと思う.
チュートリアル(&lt;a href="http://biopython.org/DIST/docs/tutorial/Tutorial.html"&gt;http://biopython.org/DIST/docs/tutorial/Tutorial.html&lt;/a&gt;)を読んだ感じではいま利用している限りのことは問題なく扱えるようだし. もちろん仕事の優先順位としては低いが.

&lt;a href="http://biopython.org/wiki/Main_Page"&gt;http://biopython.org/wiki/Main_Page&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8553225725910457548?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8553225725910457548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8553225725910457548' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8553225725910457548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8553225725910457548'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/08/biopython.html' title='BioPython'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-294907189632014337</id><published>2007-07-31T17:29:00.000+09:00</published><updated>2007-07-31T17:34:25.949+09:00</updated><title type='text'>Mac OSXでCPANを使う</title><content type='html'>CPANにはLinuxのときから苦い思い出があるのだが, Mac OSXにも入れる羽目になった.
&lt;a href="http://pools.jp/2007/07/20/osx-lynx-install/"&gt;http://pools.jp/2007/07/20/osx-lynx-install/&lt;/a&gt;
基本的には上のページに書いてあるとおり.

lynx(&lt;a href="http://www.apple.com/downloads/macosx/unix_open_source/lynxtextwebbrowser.html"&gt;http://www.apple.com/downloads/macosx/unix_open_source/lynxtextwebbrowser.html&lt;/a&gt;), NcFTP Client(&lt;a href="http://www.ncftpd.com/download/"&gt;http://www.ncftpd.com/download/&lt;/a&gt;), gpg(&lt;a href="http://macgpg.sourceforge.net/"&gt;http://macgpg.sourceforge.net/&lt;/a&gt;)をインストールしてやれば良い.
lynx以外は無くても動くかもしれない.

なんだか環境によってはミラーサーバを探すときに停止したように見えるが, ちょっとほっとけばちゃんと通る. lynxもなぜかダウンロードしはじめるまでに時間がかかったが, ちょっとほっとけばちゃんと落ちてくる. せっかちは良くないね.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-294907189632014337?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/294907189632014337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=294907189632014337' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/294907189632014337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/294907189632014337'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/mac-osxcpan.html' title='Mac OSXでCPANを使う'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-2085452902979163509</id><published>2007-07-30T18:38:00.001+09:00</published><updated>2007-07-30T18:46:06.601+09:00</updated><title type='text'>ビタミンD</title><content type='html'>血清中カルシウム濃度の低下の原因のひとつとして, ビタミンD欠乏症が挙げられていた. ビタミンDとはどのような役割なのだろうか?
ヒトにとって特に重要なものはビタミンD3(Cholecalciferol)と呼ばれる.
骨代謝のどこかに関わっているのかと思い, KEGGで検索してみたところ, ステロイド代謝の下流にある.

&lt;a href="http://www.kegg.jp/dbget-bin/show_pathway?map00100+C05443"&gt;http://www.kegg.jp/dbget-bin/show_pathway?map00100+C05443&lt;/a&gt;

これでは機能がわからない. というかビタミンなのに合成できてるし!

Wikipediaで調べたところ, ビタミンだけれどコレステロールから合成でき, ホルモン様な機能を持つらしい. 皮膚からの合成か, 直接の吸収によって得た後, 肝臓経由で血行に乗る.

&lt;a href="http://en.wikipedia.org/wiki/Vitamin_D"&gt;http://en.wikipedia.org/wiki/Vitamin_D&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-2085452902979163509?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/2085452902979163509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=2085452902979163509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/2085452902979163509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/2085452902979163509'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/d.html' title='ビタミンD'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-4382930698645346633</id><published>2007-07-30T18:11:00.000+09:00</published><updated>2007-07-30T18:31:29.070+09:00</updated><title type='text'>イライラの原因のひとつに、カルシウム不足があります</title><content type='html'>以前, カルシウム不足がなぜイライラの原因になるのかという議論になった. そもそも本当にカルシウムが足りないとイライラするのか.
女性が歳をとると骨粗しょう症などカルシウム不足の症状が出ると聞くが, では歳をとった女性が皆イライラしているかというとそうとも思えない(もちろん, 歳を経た女性が皆カルシウム不足だとは限らないが).

ざっとググって調べたところ僕として勝手に信憑性が高そうだなと判断したものを書いておく(孫引きだし, 嘘かもしんない).
&lt;blockquote&gt;血清中カルシウム濃度の低下は筋痙攣, 骨軟化症, 情緒不安定などを引き起こす.
血清中カルシウム濃度は骨からの代謝によって一定に保たれる.(ホメオステイシス)

&lt;a href="http://shinshu.fm/MHz/14.30/archives/0000085173.html"&gt;http://shinshu.fm/MHz/14.30/archives/0000085173.html&lt;/a&gt;&lt;/blockquote&gt;
血中カルシウム濃度の低下はこのホメオステイシスに異常が生じた場合に起こる(この場合はおおよそ病である, と言えるが).

摂取するカルシウムの量をどの程度制限すれば血中のカルシウム濃度が低下するのかはまだ調べきれていないが, かなり極端な場合であろうと思う.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-4382930698645346633?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/4382930698645346633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=4382930698645346633' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4382930698645346633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/4382930698645346633'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/blog-post_30.html' title='イライラの原因のひとつに、カルシウム不足があります'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8205495336159506090</id><published>2007-07-30T16:38:00.000+09:00</published><updated>2007-07-30T16:42:10.674+09:00</updated><title type='text'>UbuntuでMaxima on TeXmacs</title><content type='html'>Maximaについてはまたまとめたいと思うが, とりあえずUbuntuのapt-getからMaximaとTeXmacsをインストールしても実行するとPackage 'maxima' not declaredとなってしまう.

調べるとパスがbashシェルでないと通らないせいらしい.
&lt;blockquote&gt;/usr/lib/texmacs/TeXmacs/bin/maxima_detectの一行目を#!/bin/bashに変更すると直った.

&lt;a href="http://nazo-dyamu.ddo.jp/~shixnya/diary/?date=20070515#p01"&gt;http://nazo-dyamu.ddo.jp/~shixnya/diary/?date=20070515#p01&lt;/a&gt;
&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8205495336159506090?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8205495336159506090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8205495336159506090' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8205495336159506090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8205495336159506090'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/ubuntumaxima-on-texmacs.html' title='UbuntuでMaxima on TeXmacs'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-93892610251257331</id><published>2007-07-30T16:35:00.000+09:00</published><updated>2007-07-30T16:37:47.172+09:00</updated><title type='text'>grtz</title><content type='html'>先ほど調べたTech系のスレで使われていた略語の意味がわからなかったので調べてみた.
&lt;blockquote&gt;grtz means greetz, or greatings. It means kind regards, but less official. I don't know if it is used in the UK or USA, but in Holland we use it quite often on MSN and other chatboxes.

&lt;a href="http://www.planetforum.nl/viewtopic.php?p=40449&amp;highlight=&amp;sid=96fc63b12abcea5bc7f1905283121bda"&gt;http://www.planetforum.nl/viewtopic.php?p=40449&amp;highlight=&amp;sid=96fc63b12abcea5bc7f1905283121bda&lt;/a&gt;
&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-93892610251257331?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/93892610251257331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=93892610251257331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/93892610251257331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/93892610251257331'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/grtz.html' title='grtz'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-8166387057118487103</id><published>2007-07-26T11:59:00.000+09:00</published><updated>2007-07-26T12:11:50.607+09:00</updated><title type='text'>IgE</title><content type='html'>抗体. 免疫グロブリンimmuno-globulin. ヒト免疫グロブリンとしてはIgGが量的にはメジャであり, IgEは極微量. ただしIgEはアレルギィに強く関与する.

出てくるたびに何の略だったか忘れるのでメモ.
多少ネタばれになるが, 島田荘司さんの「御手洗潔のメロディ」に「IgE」というタイトルの短篇が収録されている.

&lt;a href="http://ja.wikipedia.org/wiki/%E6%8A%97%E4%BD%93"&gt;http://ja.wikipedia.org/wiki/%E6%8A%97%E4%BD%93&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-8166387057118487103?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/8166387057118487103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=8166387057118487103' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8166387057118487103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/8166387057118487103'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/ige.html' title='IgE'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5611121028087217875</id><published>2007-07-26T11:54:00.000+09:00</published><updated>2007-07-26T11:58:34.174+09:00</updated><title type='text'>Excelの改ページ</title><content type='html'>Wordはもちろん, Excelにも改ぺージが存在する. 良くみるとラインの色が違うのでわかる. これを削除したり, 編集する方法.

Wordでは直接Back Spaceで消せるが, Excelではそのままでは変更できない. メニューの「表示」から「改ページプレビュー」を選択すると改ページの設定を行えるようになる. 終わったら表示を「標準」に戻せばよいです.

&lt;a href="http://www.eurus.dti.ne.jp/~yoneyama/Excel/insatu.htm#kaipe-ji"&gt;http://www.eurus.dti.ne.jp/~yoneyama/Excel/insatu.htm#kaipe-ji&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5611121028087217875?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5611121028087217875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5611121028087217875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5611121028087217875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5611121028087217875'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/excel.html' title='Excelの改ページ'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7166067897660609036</id><published>2007-07-25T19:40:00.001+09:00</published><updated>2007-07-25T19:43:05.621+09:00</updated><title type='text'>StrategyとStateパターン</title><content type='html'>GoFのデザインパターンでStrategyとStateは何が違うのかな?とふと思った.

構造自体は変わらない気がするのだが. ひとつには, 状態単位でカプセル化するのか, 戦略(関数)単位でカプセル化するのかが違うと言える. 切り口が違う.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7166067897660609036?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7166067897660609036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7166067897660609036' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7166067897660609036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7166067897660609036'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/strategyto.html' title='StrategyとStateパターン'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-3349507838405732602</id><published>2007-07-25T18:56:00.000+09:00</published><updated>2007-07-25T19:10:37.623+09:00</updated><title type='text'>HeLa細胞</title><content type='html'>その信頼性が相変わらず議論を読んでいるが, 手っ取り早くWikipediaで勉強.

HeLa細胞はヒトがん細胞のモデルとして樹立されたヒト由来の最初の細胞株である, ということでとりあえず良いようだ. HeLaは原患者の名前であるHenrietta Lacksから.
増殖率が非常に高く, 不死化しており, 培養が容易であったため, 培養細胞株として分離に成功したそうだ. 染色体数もdiverseしている.
そもそもヒト由来ということだが, もはやなんだかわからん細胞になってしまっている気もするのだが.

ひとつにはウイルス由来のE6, E7たんぱく質が, 細胞分裂を抑制するp53, Rbたんぱく質(Rbは網膜芽細胞腫retinoblastomaから)を抑制することでがん化が生じる. E6はp53をユビキチン化して分解, E7はRbと結合し, 転写因子への結合を抑制する量論的抑制を行う.

他にも読みものとして大変面白いことが書いてある.

&lt;a href="http://ja.wikipedia.org/wiki/HeLa%E7%B4%B0%E8%83%9E"&gt;http://ja.wikipedia.org/wiki/HeLa%E7%B4%B0%E8%83%9E&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-3349507838405732602?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/3349507838405732602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=3349507838405732602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3349507838405732602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/3349507838405732602'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/hela.html' title='HeLa細胞'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-6687723472212598126</id><published>2007-07-25T14:35:00.000+09:00</published><updated>2007-07-25T14:41:23.163+09:00</updated><title type='text'>skew その3 コンピュータ</title><content type='html'>コンピュータの分野においてskew(歪み)と言った場合には一般にどのような使われ方をするのか. Wikipediaで調べてみた.

まず通信の分野においては, 本来同じ内容の情報がどの程度異なって通信されたかをあらわす.
例えば並列通信において, 届くまでに経過するラグタイムの差を意味し, また多チャンネルの磁気テープにおける情報の差分を意味する.

一方でコンピュータ関連で面白い記述だったのは, ディスクにおける2つのトラック開始点の為す角度という使われ方をするということだった.
&lt;blockquote&gt;In reference to computer disk drives, track-to-track skew is the angle between the start of the data on a given track and the start of the data on the next.

&lt;a href="http://en.wikipedia.org/wiki/Skew"&gt;http://en.wikipedia.org/wiki/Skew&lt;/a&gt;
&lt;/blockquote&gt;
この角度はディスクの回転に直結し, すなわち効率を変化させる.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-6687723472212598126?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/6687723472212598126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=6687723472212598126' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6687723472212598126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/6687723472212598126'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/skew-3.html' title='skew その3 コンピュータ'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-7257748097307244937</id><published>2007-07-25T14:21:00.000+09:00</published><updated>2007-07-25T14:31:35.625+09:00</updated><title type='text'>skew その2 配列解析</title><content type='html'>GC skewとは実際のところ, じゃあ何か?
&lt;blockquote&gt;GC skew = (C-G)/(C+G)

&lt;a href="http://www.genomicsplace.com/gc_skew/gc_skew.html"&gt;http://www.genomicsplace.com/gc_skew/gc_skew.html&lt;/a&gt;&lt;/blockquote&gt;
そもそもskewとは英語で, 非対称や歪曲を指す単語だ. 本来, 一本鎖DNAではG含量とC含量は等しくなるはずである(Chargaff's Rule of Base Pairing)が, そこからのずれをこのように指標化する.

では似たような単語であるGC contentとは何か?
&lt;blockquote&gt;GC percentage = (G+C) / (A+T+G+C) * 100
GC ratio = (G+C) / (A+T)

&lt;a href="http://en.wikipedia.org/wiki/GC-content"&gt;http://en.wikipedia.org/wiki/GC-content&lt;/a&gt;&lt;/blockquote&gt;
このどちらかを指す.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-7257748097307244937?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/7257748097307244937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=7257748097307244937' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7257748097307244937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/7257748097307244937'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/skew-2.html' title='skew その2 配列解析'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7883481755547012832.post-5316749126027029368</id><published>2007-07-25T13:59:00.000+09:00</published><updated>2007-07-25T14:31:14.835+09:00</updated><title type='text'>skew その1 統計学</title><content type='html'>ふとGC skewという単語を思いだし, それって何だろうという話をした. しばらくしてGC contentって単語から考えてskewnessのことだなと推測した.
ところでskewnessって何だ? 僕は説明するときに, 確か3次のモーメントで尖度のことだったような, と話したが自信が無く, 今調べた. 半分あたりで半分不正解.
&lt;blockquote&gt;skewness(歪度)は3次のモーメント.
kurtosis(尖度)は4次のモーメント.

&lt;a href="http://ja.wikipedia.org/wiki/%E6%AD%AA%E5%BA%A6"&gt;http://ja.wikipedia.org/wiki/歪度&lt;/a&gt;&lt;/blockquote&gt;
n次のモーメントとはE((x-E(x))**n)のこと.

ちなみに面白いことにGC skewはこの定義とは異なっていて, コンピュータの分野でもまた少し違う使われかたをする.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7883481755547012832-5316749126027029368?l=bettamodoki.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bettamodoki.blogspot.com/feeds/5316749126027029368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7883481755547012832&amp;postID=5316749126027029368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5316749126027029368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7883481755547012832/posts/default/5316749126027029368'/><link rel='alternate' type='text/html' href='http://bettamodoki.blogspot.com/2007/07/skewness-1.html' title='skew その1 統計学'/><author><name>bettamodoki</name><uri>http://www.blogger.com/profile/03144066523409688558</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
