<?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-5477473694813521282</id><updated>2011-04-22T05:14:56.802+09:00</updated><category term='C#'/><category term='研究'/><category term='Life'/><category term='論文'/><category term='book'/><category term='Ruby'/><category term='Linux'/><title type='text'>Learning Log Book</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5477473694813521282.post-3942978879246979956</id><published>2009-01-27T23:00:00.006+09:00</published><updated>2009-01-28T00:13:14.491+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>発言について</title><content type='html'>ようやくオライリーから「プログラミング言語 Ruby」が出版された。ということで、早速購入。時間のあるときにゆっくり読もうと思う。&lt;br /&gt;あと、研究のプログラムがなんとかなり、近いうちに結果が出せそう。&lt;br /&gt;&lt;br /&gt;話は変わって、昨日、友人が「こいつ馬鹿だろ」と言ってブログを見せてきた。何だろうと思いそのブログを読むが、何が馬鹿なのかさっぱり分からない。ブログに書かれてあったことはNLPの手法に関することだったのだが、書かれていた内容はNLPにおいて非常に重要な技術であり、馬鹿な要素は1つもない。とても分かりやすく書かれてあって、むしろとてもいい内容だった。とりあえず、何が馬鹿なのかと聞いてみたら、内容の意図が全くつかめてなかったらしく、なんとも馬鹿なことを言ってきて話しにならなかった。今後のためにも、もう一度よく読んだほうがいい思う。正直、話した相手が他の人でなくて良かった。&lt;br /&gt;今回のことに限ったことではないが、なにか言うときはよく考えて言うべきだと思う。私も人のことは言えないわけで、よく考えないで馬鹿なことを発言するため、この間は大失敗してしまった。惨めな思いをしないためにも、発言には気をつけていきたい。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-3942978879246979956?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/3942978879246979956/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=3942978879246979956' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/3942978879246979956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/3942978879246979956'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2009/01/blog-post_27.html' title='発言について'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-5243600268129861183</id><published>2009-01-26T23:17:00.006+09:00</published><updated>2009-01-26T23:57:26.366+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Ubuntuのブート時OS選択画面の項目の削除</title><content type='html'>Ubuntuを使っているのだが、アップデートや強制終了によってOSの選択メニューが下記のように･･･&lt;br /&gt;&lt;pre class="prettyprint"&gt;Ubuntu 8.04, kernel 2.6.24-19-generic&lt;br /&gt;Ubuntu 8.04, kernel 2.6.24-19-generic (recovery mode)&lt;br /&gt;Ubuntu 8.04, kernel 2.6.24-18-generic&lt;br /&gt;Ubuntu 8.04, kernel 2.6.24-18-generic (recovery mode)&lt;br /&gt;Ubuntu 8.04, kernel 2.6.24-17-generic&lt;br /&gt;Ubuntu 8.04, kernel 2.6.24-17-generic (recovery mode)&lt;br /&gt;Ubuntu 8.04, kernel 2.6.24-16-generic&lt;br /&gt;Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)&lt;br /&gt;Ubuntu 8.04, memtest86+&lt;br /&gt;Other operating systems:&lt;br /&gt;Microsoft Windows XP Home Edition&lt;/pre&gt;不要な項目の削除方法が分からなかったので放置していたのだが、調べて削除してやった。とりあえず、削除の仕方についてメモをしておく。&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;不要な項目の非表示&lt;/span&gt;&lt;br /&gt;[アプリケーション→追加と削除→システムツール]でstartupを検索し、StartUp-Managerというソフトが見つかるので、チェックボックスにチェックを入れて[変更の適用]ボタンを押せばインストールされる。[システム→システム管理→StartUp-Manager]で起動し、詳細のタブの起動メニューに表示するカーネルの数を制限にチェックを入れ、表示するカーネルの数を指定すれば表示制限される。&lt;br /&gt;また、/boot/grub/menu.lstに、表示したくない行の先頭に#をつけて保存すれば起動時に表示されなくなる。&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;カーネルの削除&lt;/span&gt;&lt;br /&gt;上記の方法ではカーネルは削除されないので、カーネル自体の削除を行うにはSynapticを使用すれば削除が可能。&lt;br /&gt;コマンドラインから行うには&lt;br /&gt;&lt;pre class="prettyprint"&gt;% dpkg -l | grep linux-image&lt;/pre&gt;インストールされているカーネルが表示されるので、以下のように削除&lt;br /&gt;&lt;pre class="prettyprint"&gt;% sudo apt-get remove --purge linux-image-2.6.15-23-386&lt;/pre&gt;&lt;br /&gt;参考：&lt;br /&gt;&lt;a href="http://d.hatena.ne.jp/itiri/20080701/1214914886"&gt;Ubuntu 8.04でブート時のOS選択画面の項目を減らす&lt;/a&gt;&lt;br /&gt;&lt;a href="http://tmcosmos.org/linux/ubuntu/ubuntu804.html#oldkernels"&gt;Ubuntu 8.04 LTS "hardy" インストール個人的ノート&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-5243600268129861183?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/5243600268129861183/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=5243600268129861183' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/5243600268129861183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/5243600268129861183'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2009/01/ubuntuos.html' title='Ubuntuのブート時OS選択画面の項目の削除'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-7071383883303626591</id><published>2009-01-25T01:22:00.006+09:00</published><updated>2009-01-25T02:47:26.350+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>就活</title><content type='html'>ここ最近はほぼ就職活動。色々な会社のセミナーに参加したけど、自分の思っていたイメージやネットの情報と結構違ってたりして、参加して良かった。今後、色々な会社を受けていく中で、説明会の参加はやはり必要だと思う。&lt;br /&gt;&lt;br /&gt;ただ、問題なのは交通費。できるだけ交通費をうかしたいのだが、なかなか難しい。夜行バスだったらいいかもと思い利用してみたが、これが全くダメだった。交通費はたしかに安いが、ほとんど寝られない上に、待ち時間をネットカフェで過ごしたりすると、新幹線を使ったときの値段とあんまり変わらないなぁと思ったり。ネットカフェを使わないで待ち時間をどうすごすかにもよるが、時間や体力、精神的な面を考えると使わない方がいいかな･･･？&lt;br /&gt;&lt;br /&gt;就活も大事だが、研究の方もしっかりやりたい。研究室で進捗報告をしないといけないんだけど、どんどん予定が伸びるわけで。いい加減、結果を出して報告をしたい。とりあえず、実装途中のプログラムをさっさと完成させるところから。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-7071383883303626591?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/7071383883303626591/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=7071383883303626591' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/7071383883303626591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/7071383883303626591'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2009/01/blog-post_25.html' title='就活'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-7544395788518158428</id><published>2009-01-15T00:07:00.004+09:00</published><updated>2009-01-25T02:15:11.385+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>研究と就活とその他</title><content type='html'>色々としないといけないことがあって大変。&lt;br /&gt;研究もしないといけないし、就活もしないとやばいし、ニューラルネットワークの勉強とかこのあいだ買った本も読みたいし。&lt;br /&gt;&lt;br /&gt;研究は実装をどうすればいいか分からず、頭が痛い。普通に実装したらかなりの処理時間がかかることは間違いない。何かいい実装方法がないのか･･･&lt;br /&gt;&lt;br /&gt;さらに今年はやばいから、就職活動も手を抜けない状態。個人的には志望先企業のIR資料全てに目を通しておきたい（笑）ちなみに来週一週間は会社のセミナーでうまってて、鬼のようなスケジュールに。&lt;br /&gt;&lt;br /&gt;こんな状況でゆっくりと本を読むのは難しいわけで。&lt;br /&gt;でも、ニューラルネットとか、その他もろもろ勉強したいです!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-7544395788518158428?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/7544395788518158428/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=7544395788518158428' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/7544395788518158428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/7544395788518158428'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2009/01/blog-post.html' title='研究と就活とその他'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-5395112573747325515</id><published>2008-12-30T21:12:00.003+09:00</published><updated>2008-12-30T21:20:31.857+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>読みたい本のリスト</title><content type='html'>&lt;ul&gt;&lt;li&gt;カーネル多変量解析&lt;/li&gt;&lt;li&gt;学習システムの理論と実現&lt;/li&gt;&lt;/ul&gt;とりあえず購入。&lt;br /&gt;読んでない本がたまってきた。やべー&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-5395112573747325515?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/5395112573747325515/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=5395112573747325515' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/5395112573747325515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/5395112573747325515'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/12/blog-post.html' title='読みたい本のリスト'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-8988543014852837645</id><published>2008-10-19T12:49:00.004+09:00</published><updated>2008-10-20T02:10:57.251+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='論文'/><title type='text'>論文メモ</title><content type='html'>&lt;ul&gt;&lt;li&gt;T. Hofmann, "Latent Semantic Models for Collaborative Filtering", In ACM Transactions on Information Systems, 2004, Vol 22(1), pp. 89-115.&lt;/li&gt;&lt;li&gt;R. Salakhutdinov, A. Mnih, G. Hinton, "Restricted Boltzmann Machines for Collaborative Filtering", Proceedings of the 24th international conference on Machine learning, 2007, pp. 791-798.&lt;/li&gt;&lt;li&gt;A. Popescul, L.H. Ungar, D.M. Pennock, S. Lawrence, "Probabilistic models for unified collaborative and content-based recommendation in sparse-data environments", 17th Conference on Uncertainty in Artificial Intelligence, 2001, Vol 458. &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-8988543014852837645?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/8988543014852837645/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=8988543014852837645' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/8988543014852837645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/8988543014852837645'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/10/blog-post_19.html' title='論文メモ'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-3360324343909751958</id><published>2008-10-19T00:55:00.004+09:00</published><updated>2008-10-19T01:15:29.279+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>読みたい本のリスト</title><content type='html'>これから読みたいと思う本&lt;br /&gt;&lt;br /&gt;北研二, "確率的言語モデル", 東京大学出版会, 1999, 235pp.&lt;br /&gt;長尾真, 佐藤理史, 黒橋禎夫, 角田達彦, "自然言語処理", 岩波書店, 1996, 592pp. &lt;br /&gt;安西祐一郎, "認識と学習", 岩波書店, 1989, 427pp.&lt;br /&gt;&lt;br /&gt;「自然言語処理」は形態素解析、構文解析、機械翻訳の辺りだけを。&lt;br /&gt;「認識の学習」については読むかどうか不明。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-3360324343909751958?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/3360324343909751958/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=3360324343909751958' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/3360324343909751958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/3360324343909751958'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/10/blog-post.html' title='読みたい本のリスト'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-4045040597471383365</id><published>2008-10-17T22:13:00.003+09:00</published><updated>2008-10-17T22:31:16.163+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='研究'/><title type='text'>6月から9月までの進捗状況</title><content type='html'>6月から9月までにかけての状況&lt;br /&gt;&lt;br /&gt;6月:テーマについて検討（情報の可視化）&lt;br /&gt;7月:テーマについて検討（検索）&lt;br /&gt;8月:テーマについて検討（レコメンデーション）&lt;br /&gt;9月:8月に考えたテーマに基づき、ある程度準備するが途中で中止&lt;br /&gt;&lt;br /&gt;こんな感じで現在まで進んでないというより、何もやってないという状況。&lt;br /&gt;6月から焦って色々と考えたが、先輩から色々と指摘され、どうも研究の進め方がまずいことに気付く。&lt;br /&gt;ここで焦ってもどうしようもないので、時間をかけてもう一度テーマについてはよく検討する必要あり。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-4045040597471383365?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/4045040597471383365/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=4045040597471383365' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/4045040597471383365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/4045040597471383365'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/10/69.html' title='6月から9月までの進捗状況'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-8663965044635393795</id><published>2008-06-05T23:31:00.003+09:00</published><updated>2008-06-05T23:43:56.895+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='研究'/><title type='text'>評価途中だが</title><content type='html'>評価途中であるが、かなりの高精度で結果がでた。やはりコーパスの影響が大きかったことが分かった。が、評価途中であるため、まだまだ色々とあやしい。もう少し詰めて評価する必要がある。とりあえず、明日は追加実験を。&lt;br /&gt;&lt;br /&gt;そして今日は研究室でgoogleのn-gramの購入の話が。&lt;br /&gt;早くgoogleのn-gramを購入してほしい。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-8663965044635393795?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/8663965044635393795/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=8663965044635393795' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/8663965044635393795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/8663965044635393795'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/06/blog-post_05.html' title='評価途中だが'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-6348531982406135552</id><published>2008-06-02T23:16:00.003+09:00</published><updated>2008-06-02T23:26:58.625+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='研究'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>クローラーの再実装</title><content type='html'>Colingの結果が出たらしい。今年はイギリスのマンチェスターで開かれるのだが、採択率が２割とかなり低かった模様。前回の採択率は５割くらいと聞いていたので、今回の採択率にはかなり驚きました。&lt;br /&gt;&lt;br /&gt;研究で再クロールしなければならなかったのだが、とりあえず再実装が完了。クローラをあまり書いたことがないから当然時間がかかるのだが、特にスクレイプのコーディングには結構な時間がかかっている。慣れたらそうでもないのだろうけど、慣れるまでに時間がかかりそう。&lt;br /&gt;rubyでスクレイプしているのだが、スクレイパーにはscrAPIを使用して、下記のサイトを参考にさせていただきました。&lt;br /&gt;&lt;br /&gt;&lt;a href="http://labnotes.org/svn/public/ruby/scrapi/cheat/scrapi.html"&gt;scrAPI Cheat Sheet&lt;/a&gt;&lt;br /&gt;&lt;a href="http://d.hatena.ne.jp/secondlife/20060922/1158923779"&gt;rubyのスクレイピングツールキット scrAPI&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;他にもscrAPIの情報はないかな？&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-6348531982406135552?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/6348531982406135552/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=6348531982406135552' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/6348531982406135552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/6348531982406135552'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/06/blog-post.html' title='クローラーの再実装'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-2523327851824482983</id><published>2008-05-29T22:32:00.003+09:00</published><updated>2008-05-29T23:03:09.887+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='研究'/><title type='text'>再クロール</title><content type='html'>一通り実験を行い結果を出したが、精度が4％上がったくらいかな･･･。分かってはいたがダメだと分かれば、それなりに応える。&lt;br /&gt;それで、先生と先輩に何が問題か色々と話した結果、どうやらコーパスに問題が。よく考えたら、今使ってるコーパスが現在の研究対象としてどうなのかきわどい。ということで、もう一度再クロールするためのコードを記述中。２つほどクロールしたいところがあるのだが、そのうちの１つに時間がかかりそう。&lt;br /&gt;&lt;br /&gt;データ収集とかにあんまり時間をかけたくないのだが、成果を出すためにはおろそかにすることはできない。あらためて、研究を進めていく上でデータ収集が最もウェイトを占めているなと痛感。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-2523327851824482983?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/2523327851824482983/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=2523327851824482983' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/2523327851824482983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/2523327851824482983'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/05/blog-post_29.html' title='再クロール'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-4537524972434014171</id><published>2008-05-23T22:29:00.003+09:00</published><updated>2008-05-23T23:48:04.491+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='研究'/><title type='text'>進捗報告</title><content type='html'>かなり久しぶりに更新。放置しすぎた。&lt;br /&gt;&lt;br /&gt;現在行っている研究「評判分析」の進捗報告だが、以前に作成したプログラムを5月中旬に作り直しが完了し、現在は実験中。結果はというと、まだ出てないため分からないが、たぶんダメ。本当に何とかしないといけないのだが、どうにもなりそうにないのなら研究内容を変えることも考えないといけない。とはいっても、まだまだやってないことはいっぱいあるから、それを行い結果を出してから。&lt;br /&gt;&lt;br /&gt;そして、とりあえず結果が出てからの研究の方針は一応決まったのかな･･･？アイディアを先生と先輩に報告し、色々とアドバイスを頂きました。まだ不明確な点が多いが（ってか、全て不明確）、頑張ってみたいと思う。が、まずは今のプログラムの精度を出してから。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-4537524972434014171?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/4537524972434014171/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=4537524972434014171' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/4537524972434014171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/4537524972434014171'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/05/blog-post.html' title='進捗報告'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-8889219649449345240</id><published>2008-04-12T11:53:00.006+09:00</published><updated>2009-01-25T02:15:41.347+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>キーボードとマウスの交換</title><content type='html'>自宅のキーボードとマウスがひどかったので、キーボードとマウスを買いました。&lt;br /&gt;とりあえず、キーボードはHappy Hacking のLite2を。&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=learninglogbo-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B000EXXEWE&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;テンキーは全く利用しないし、机のスペースをとられたくなかったのでこのキーボードに。コントロールキーがシフトキーの上にあるキー配列が良かった。&lt;br /&gt;大学ではMajestouchを使っているのですが、個人的にキータッチの感触はMajestouchよりHHKBの方が好きです。&lt;br /&gt;&lt;br /&gt;マウスについては全く分からなかったので、研究室の先輩に紹介してもらった以下のものを購入したのですが、これはかなり良かった。&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=learninglogbo-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B000BYXFNY&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;機会があればキーボードをHHKB Professional2にしたいが･･･、しばらくの間は我慢かな。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-8889219649449345240?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/8889219649449345240/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=8889219649449345240' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/8889219649449345240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/8889219649449345240'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/04/blog-post_12.html' title='キーボードとマウスの交換'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-2273505921479439184</id><published>2008-04-12T00:46:00.008+09:00</published><updated>2008-04-12T21:35:25.445+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><title type='text'>Ruby オブジェクトの参照</title><content type='html'>下記のコードを実行してみる&lt;pre class="prettyprint"&gt;class Token&lt;br /&gt;  attr_accessor :n&lt;br /&gt;  attr_accessor :ary&lt;br /&gt;&lt;br /&gt;  def initialize(n, ary = [])&lt;br /&gt;    @n = n&lt;br /&gt;    @ary = ary&lt;br /&gt;  end&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;ary = [1,2,3]&lt;br /&gt;tokens = ary.map{|element| Token.new(element)}&lt;br /&gt;ary2 = tokens.map{|token| token}&lt;br /&gt;&lt;br /&gt;while tokens != []&lt;br /&gt;  token = tokens.shift&lt;br /&gt;  token.ary &amp;lt;&amp;lt; [4,5,6]&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;p tokens&lt;br /&gt;p ary2 &lt;/pre&gt;実行結果は当然こうなる&lt;pre class="prettyprint"&gt;[]&lt;br /&gt;[#&amp;lt;Token:0x100f0e14 @ary=[[4, 5, 6]], @n=1&amp;gt;,&lt;br /&gt;#&amp;lt;Token:0x100f0e00 @ary=[[4, 5, 6]], @n=2&amp;gt;,&lt;br /&gt;#&amp;lt;Token:0x100f0dd8 @ary=[[4, 5, 6]], @n=3&amp;gt;&lt;br /&gt;]&lt;/pre&gt;ブログに書くほどのことでもないか（笑）&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-2273505921479439184?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/2273505921479439184/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=2273505921479439184' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/2273505921479439184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/2273505921479439184'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/04/ruby.html' title='Ruby オブジェクトの参照'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-1431094381065693</id><published>2008-03-29T22:43:00.017+09:00</published><updated>2008-04-12T14:00:00.037+09:00</updated><title type='text'>Bloggerでシンタックス・ハイライト</title><content type='html'>はてなダイアリーでシンタックス・ハイライトされたソースコードは、はてなのスーパーpre記法が使われているらしい。Bloggerでも同じようなことができないかと調べてみました。&lt;br /&gt;&lt;br /&gt;&lt;a href="http://journal.mycom.co.jp/articles/2007/03/27/gcp/"&gt;ハイライトもGoogle流 - "google-code-prettify"でソースコードに色付けを&lt;/a&gt;によると、Googleが公開しているシンタックス・ハイライトモジュールを使うとはてなpre記法みたいにシンタックス・ハイライトができるらしい。&lt;br /&gt;以下にBloggerにgoogle-code-prettifyの導入方法を明記。&lt;br /&gt;&lt;br /&gt;まずは&lt;a href="http://code.google.com/p/google-code-prettify/"&gt;google-code-prettify Google Code&lt;/a&gt;から以下のzipファイルをダウンロード。&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_7SJDuEMYA60/R-5SPJYzKlI/AAAAAAAAAAY/tNClG6Sts_E/s1600-h/1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_7SJDuEMYA60/R-5SPJYzKlI/AAAAAAAAAAY/tNClG6Sts_E/s320/1.PNG" alt="" id="BLOGGER_PHOTO_ID_5183170641321470546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;次にダウンロードしたCSSとJavaScriptをBloggerにアップロード。レイアウト→ページ編集→Add a Page ElementからHTML/JavaScript項目の「ブログに追加」を選択。&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_7SJDuEMYA60/R-5S9pYzKmI/AAAAAAAAAAg/WHvD2YYXH1M/s1600-h/2.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_7SJDuEMYA60/R-5S9pYzKmI/AAAAAAAAAAg/WHvD2YYXH1M/s320/2.PNG" alt="" id="BLOGGER_PHOTO_ID_5183171440185387618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_7SJDuEMYA60/R-5Tx5YzKnI/AAAAAAAAAAo/6F4nrCHPEj0/s1600-h/3.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_7SJDuEMYA60/R-5Tx5YzKnI/AAAAAAAAAAo/6F4nrCHPEj0/s320/3.PNG" alt="" id="BLOGGER_PHOTO_ID_5183172337833552498" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;ダウンロードしたCSSとJavaScriptを追加。「&amp;lt;style type="text/css"&amp;gt;&amp;lt;/style&amp;gt;」要素の中にCSSを、「&amp;lt;script type="text/javascript"&amp;gt;&amp;lt;!-- --&amp;gt;&amp;lt;script&amp;gt;&amp;lt;/script&amp;gt;」要素の中にはJavaScriptをコピーして、タイトルを付けずに変更を保存。&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_7SJDuEMYA60/R-5WaJYzKoI/AAAAAAAAAAw/vbfz7w0F8nk/s1600-h/4.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_7SJDuEMYA60/R-5WaJYzKoI/AAAAAAAAAAw/vbfz7w0F8nk/s320/4.PNG" alt="" id="BLOGGER_PHOTO_ID_5183175228346542722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_7SJDuEMYA60/R-5WqJYzKpI/AAAAAAAAAA4/w4jAyP1d8MQ/s1600-h/5.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_7SJDuEMYA60/R-5WqJYzKpI/AAAAAAAAAA4/w4jAyP1d8MQ/s320/5.PNG" alt="" id="BLOGGER_PHOTO_ID_5183175503224449682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;テンプレート→HTMLの編集でbodyタグにonload="prettyPrint()"属性を追加して、テンプレートの保存。&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_7SJDuEMYA60/R-5X9JYzKqI/AAAAAAAAABA/wbD_P17t_W8/s1600-h/6.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_7SJDuEMYA60/R-5X9JYzKqI/AAAAAAAAABA/wbD_P17t_W8/s320/6.PNG" alt="" id="BLOGGER_PHOTO_ID_5183176929153591970" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;シンタックス・ハイライトさせたいソースコードを以下のように記述。&lt;pre class="prettyprint"&gt;&amp;lt;pre class="prettyprint"&amp;gt;&lt;br /&gt;ソースコードを記述&lt;br /&gt;&amp;lt;/pre&amp;gt;&lt;/pre&gt;これでソースコードがシンタックス・ハイライトされるが、「&lt;」と「&gt;」はそのまま解釈されるので「&amp;amp;lt;」「&amp;amp;gt;」と記述しなければならない。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-1431094381065693?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/1431094381065693/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=1431094381065693' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/1431094381065693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/1431094381065693'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/03/blogger.html' title='Bloggerでシンタックス・ハイライト'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_7SJDuEMYA60/R-5SPJYzKlI/AAAAAAAAAAY/tNClG6Sts_E/s72-c/1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5477473694813521282.post-8681507972069570664</id><published>2008-03-28T23:33:00.010+09:00</published><updated>2008-03-29T12:39:03.402+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C# ListのSort</title><content type='html'>このリストには&lt;pre class="prettyprint"&gt;List&amp;lt;Date&amp;gt; dates&lt;/pre&gt;下記のようなオブジェクトが&lt;pre class="prettyprint"&gt;class Date {&lt;br /&gt;  public string date;&lt;br /&gt;  public Date(string date) { this.date = date; }&lt;br /&gt;}&lt;/pre&gt;このクラスを格納しているリストdatesを、Dateクラスの日付「date」で昇順にソートするには&lt;pre class="prettyprint"&gt;public class DateSort {&lt;br /&gt;  static void Main() {&lt;br /&gt;    List&amp;lt;Date&amp;gt; dates = new List&amp;lt;Date&amp;gt;();&lt;br /&gt;    dates.Add(new Date("2008/03/19 15:33:40"));&lt;br /&gt;    dates.Add(new Date("2008/03/10 11:33:54"));&lt;br /&gt;    dates.Add(new Date("2007/10/11 10:02:37"));&lt;br /&gt;    dates.Add(new Date("2007/01/11 16:09:37"));&lt;br /&gt;    dates.Add(new Date("2008/01/10 14:33:54"));&lt;br /&gt;&lt;br /&gt;    dates.Sort(delegate(Date x, Date y) {&lt;br /&gt;      DateTime time1 = DateTime.Parse(x.date);&lt;br /&gt;      DateTime time2 = DateTime.Parse(y.date);&lt;br /&gt;&lt;br /&gt;      TimeSpan total = time1 - time2;&lt;br /&gt;&lt;br /&gt;      return (int)total.TotalSeconds;&lt;br /&gt;    });&lt;br /&gt;  }&lt;br /&gt;}&lt;/pre&gt;これでリスト内をソートできるみたい。&lt;br /&gt;降順にソートしたい場合は&lt;pre class="prettyprint"&gt;TimeSpan total = time2 - time1;&lt;/pre&gt;こう変更。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-8681507972069570664?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/8681507972069570664/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=8681507972069570664' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/8681507972069570664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/8681507972069570664'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/03/blog-post_5018.html' title='C# ListのSort'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-8453911086168885782</id><published>2008-03-27T09:40:00.014+09:00</published><updated>2008-03-29T02:20:19.695+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>注意点</title><content type='html'>&lt;span style="font-family:arial;"&gt;サーバーのアクセスログを解析するプログラムを作りました。サーバーへのアクセスログはAccessのファイルに書き込まれており、それをC#で解析するというタスク。&lt;br /&gt;で、作成したコードをチェックしてもらったのですが以下の点に注意するとのこと。&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt; データベースへの接続はアプリ内で1つだけ作るようにしてください。また、1度だけ開いて、最後不要になったら閉じるようにしてくだ&lt;wbr&gt;さい。これはデータベースへ接続することにコストがかかるためです。今回のプログラムでは、読むときと書くときの2回だけなのでほと&lt;wbr&gt;んど影響ないですが、何度も繰り返すと時間がかかります。ですので、基本的にアプリ内で1度だけと覚えておいてください。&lt;/li&gt;&lt;li&gt;接続オブジェクトの型は IDbConnection にしておいてください。Newするのは OleDb でよいですが、接続の種類を変えても影響が少ないようにDB接続の型は汎用性をもたせてください。&lt;/li&gt;&lt;/ul&gt;データーベースへの接続はアプリ内で1回は普通に知らなかった。次からは気をつけるようにしよう。&lt;br /&gt;あと、接続オブジェクトの型をIDbConnectionってことは、OleDbのオブジェクトを作るときに&lt;br /&gt;&lt;pre class="prettyprint"&gt;IDbConnection m_dbConnection = new OleDbConnection();&lt;/pre&gt;こうか？&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-8453911086168885782?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/8453911086168885782/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=8453911086168885782' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/8453911086168885782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/8453911086168885782'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/03/blog-post.html' title='注意点'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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-5477473694813521282.post-5223168696537573338</id><published>2008-03-26T23:39:00.006+09:00</published><updated>2008-03-27T01:05:01.392+09:00</updated><title type='text'>とりあえず</title><content type='html'>&lt;span style="font-family: arial;"&gt;自分が読んだり書いたプログラムとか、読んだ本や論文とかについて書いていこうと思います。&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;まぁ自分が書いたプログラムとか、とてもじゃないけど見せれるようなものじゃないないし、読んだ論文について話せるほど知識はないですが。&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;とりあえず今までも頑張ってましたが、これからはもっと頑張りたい。&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5477473694813521282-5223168696537573338?l=learninglogbook.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learninglogbook.blogspot.com/feeds/5223168696537573338/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5477473694813521282&amp;postID=5223168696537573338' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/5223168696537573338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5477473694813521282/posts/default/5223168696537573338'/><link rel='alternate' type='text/html' href='http://learninglogbook.blogspot.com/2008/03/test.html' title='とりあえず'/><author><name>logger</name><uri>http://www.blogger.com/profile/09341299007926441822</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>
