<?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-24863951</id><updated>2011-12-01T09:07:10.083+09:00</updated><title type='text'>= ヂェイ商會 =</title><subtitle type='html'>アマチュアプログラミンガーの日記。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114596415308068919</id><published>2006-04-25T20:19:00.000+09:00</published><updated>2006-08-25T00:01:11.826+09:00</updated><title type='text'>RailsPlaygroundはだめぽ</title><content type='html'>RailsPlaygroundの管理画面にアクセスすると、&lt;br /&gt;&lt;blockquote&gt;Sorry for the inconvenience!&lt;br /&gt;&lt;br /&gt;The filesystem mounted at / on this server is running out of disk space. cPanel operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.&lt;/blockquote&gt;&lt;br /&gt;といったエラーが表示される・・・orz&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/24863951-114596415308068919?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114596415308068919/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114596415308068919' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114596415308068919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114596415308068919'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/railsplayground_25.html' title='RailsPlaygroundはだめぽ'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114596382543996906</id><published>2006-04-25T20:14:00.000+09:00</published><updated>2006-04-25T20:18:13.566+09:00</updated><title type='text'>RailsPlayground - 2</title><content type='html'>以前、「RailsPlaygroundではMySQLでInnoDBが使えないので、PostgreSQLで開発すべし」と書いたのだが、実はこのホスティングサービスではPostgreSQLのDBのエンコードはSQL_ASCII固定であり、Unicode等に変更することはできないため、そのままでは日本語のアプリを開発することはできない（？）らしい。&lt;br /&gt;&lt;br /&gt;ただ、どうしても使いたいという人は、管理者にメールでお願いすれば指定したエンコーディングでデータベースを作成してもらえるそうだ（&lt;a href="http://railsplayground.com/forum/viewtopic.php?t=262&amp;amp;highlight=utf8"&gt;参照&lt;/a&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/24863951-114596382543996906?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114596382543996906/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114596382543996906' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114596382543996906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114596382543996906'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/railsplayground-2.html' title='RailsPlayground - 2'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114570734371917789</id><published>2006-04-22T20:40:00.000+09:00</published><updated>2006-04-22T21:02:24.000+09:00</updated><title type='text'>RailsPlayground</title><content type='html'>&lt;a href="http://www.railsplayground.com/"&gt;RailsPlayground&lt;/a&gt;という、格安（$24/年～）のRuby on Rails対応ホスティングサービスを使ってみた。&lt;br /&gt;&lt;br /&gt;契約は、クレジットカードを使って普通に完了。利用登録をしてから数時間で、設定完了のメールが送られてきた。ここまで順調。FTPやSSHでのアクセスもOK。&lt;br /&gt;&lt;br /&gt;ただ、問題なのが、svn+sshでSubversionを使う方法。How To Documentsの&lt;a href="http://wiki.railsplayground.com/railsplayground/show/How+To+Create+a+SVN+Repository"&gt;How To Create a SVN Repository&lt;/a&gt;というページに簡単に設定方法が書いてあるが、例えばWindowsマシンにTortoiseSVNをただインストールしてこの通りにやったところで、絶対にうまくいかない。Subversionを使えるようにするためには、&lt;a href="http://railsplayground.com/forum/viewtopic.php?t=297"&gt;フォーラムに投稿されている質問&lt;/a&gt;および&lt;a href="http://tortoisesvn.sourceforge.net/node/5"&gt;TortoiseSVNのHowTo&lt;/a&gt;を読み、SSHでの通信に必要となる鍵の生成を行わなければならない（鍵を作らなくても一応svn+sshで使うことはできるが、コミットやアップデートの際に毎回パスワードを入力しなければならず、非常に面倒）。&lt;br /&gt;&lt;br /&gt;これは、初めての経験だったのでかなり時間がかかった。まぁ、知っている人にとっては大した手間とは感じないだろうけれど。&lt;br /&gt;&lt;br /&gt;もう一つの問題は、MySQLでInnoDBを使えないということ。これはかなり痛いわ・・・orz&lt;br /&gt;&lt;br /&gt;これからこのホスティングを使おうと考えている人は、MySQLではなくPostgreSQLを使って開発すべし。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24863951-114570734371917789?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114570734371917789/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114570734371917789' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114570734371917789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114570734371917789'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/railsplayground.html' title='RailsPlayground'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114570405214855991</id><published>2006-04-22T19:55:00.000+09:00</published><updated>2006-04-22T20:07:32.156+09:00</updated><title type='text'>アイ・カフェで食べてきました</title><content type='html'>今日、函館PABOT'Sのアイ・カフェに朝7時過ぎに行って、朝がゆを食べてきた（笑&lt;br /&gt;&lt;br /&gt;置いてあったものは、おかゆと漬け物数種類、醤油、それからしじみのみそ汁。まぁ、フリーフードなのでこんなものかな・・・。&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/24863951-114570405214855991?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114570405214855991/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114570405214855991' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114570405214855991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114570405214855991'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/blog-post_22.html' title='アイ・カフェで食べてきました'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114515135323938272</id><published>2006-04-16T10:06:00.000+09:00</published><updated>2006-04-16T10:35:53.266+09:00</updated><title type='text'>函館のアイ・カフェ大丈夫かなぁ？</title><content type='html'>函館のPABOT'Sにアイ・カフェが入ってから十日間くらい経つのだけれど、果たしてお客さんの入りは大丈夫なのだろうか・・・？&lt;br /&gt;&lt;br /&gt;というのは、開店してから今までに新聞にチラシが3回も挟まってきているので「もしかしたら、お客さん全然入っていないのかな」と心配になってしまうわけ。函館のように小さな都市だと、終電に乗り遅れて一泊するといったケースもあまりないだろうし、主要な客層となるであろう若者も少ないし、そもそもPABOT'Sの場所自体が微妙だし。&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/24863951-114515135323938272?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114515135323938272/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114515135323938272' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114515135323938272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114515135323938272'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/blog-post_16.html' title='函館のアイ・カフェ大丈夫かなぁ？'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114514950693265340</id><published>2006-04-16T09:39:00.000+09:00</published><updated>2006-04-16T10:05:06.943+09:00</updated><title type='text'>Railsのユニットテストは遅い？</title><content type='html'>最近、Railsを使っていて思うんだが、Railsのユニットテストって遅くない？この前時間を測定したところ、モデルの単純なテストを実行するのにP4 2.8GHzのマシンで約10秒かかったんだが・・・。&lt;br /&gt;&lt;br /&gt;これは、テストを実行するたびにRubyのインタプリタを起動して、ファイルを全部読み込んでコンパイルして、プログラムを実行して、という一連の作業を繰り返しているからなのか？？ユニットテストの速度とは対照的に、ソースコードを修正した後のWEBrickサーバからのレスポンスはとても良いんだが、これは、WEBrickサーバがファイルの更新を監視して、そのたびに自動的に更新されたファイルを読み込んでいるからなのか？よく分からん・・・。WEBrick上での動作の方が速いなら、PHPUnitのようにwebブラウザ上でユニットテストテストを実行できるようにしてしまえばよいと思うんだが、それは無理なのだろうか・・・。&lt;br /&gt;&lt;br /&gt;まぁ、いずれにせよよく分からないので、とりあえず今はユニットテストができないものとしてRailsを使ってる。&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/24863951-114514950693265340?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114514950693265340/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114514950693265340' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114514950693265340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114514950693265340'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/rails.html' title='Railsのユニットテストは遅い？'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114448442049643409</id><published>2006-04-08T17:08:00.000+09:00</published><updated>2006-04-08T17:20:20.513+09:00</updated><title type='text'>Ruby on Railsで集約関数を使う</title><content type='html'>Ruby on Railsで集約関数を使う方法。&lt;br /&gt;&lt;br /&gt;集約関数は現時点ではサポートされていないが、&lt;a href="http://wiki.rubyonrails.com/rails/pages/Calculations+Plugin"&gt;プラグイン&lt;/a&gt;を用いることで利用することができる。&lt;br /&gt;&lt;br /&gt;ただし、プラグインも機能が貧弱で、countとsumしか扱えない。ということで、他の集約関数を扱いたい場合はSQLを直接扱うしかないらしい・・・。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;やっぱり、Ruby on Railsはまだまだこれからだな。&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.amazon.com/exec/obidos/search-handle-url/102-7398950-1802558?%5Fencoding=UTF8&amp;dym=0&amp;amp;search-type=ss&amp;index=stripbooks%3Arelevance-above&amp;amp;field-keywords=rails%20ruby&amp;amp;page=1"&gt;Amazon.comを見る&lt;/a&gt;と、これからRails関連の書籍がたくさん発売されるようだが、買うのはもう少し待ってからにした方がよさそう・・・&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24863951-114448442049643409?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114448442049643409/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114448442049643409' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114448442049643409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114448442049643409'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/ruby-on-rails_08.html' title='Ruby on Railsで集約関数を使う'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114424370739165277</id><published>2006-04-05T22:27:00.000+09:00</published><updated>2006-04-05T22:30:16.340+09:00</updated><title type='text'>アイ・カフェオープン</title><content type='html'>今日、函館PABOT'S内のアイ・カフェがオープンしたらしい。 &lt;br /&gt;&lt;br /&gt;道新の夕刊にチラシが入ってきた。&lt;br /&gt;&lt;br /&gt;チラシに書いてあったところによると、朝がゆ/おにぎりのサービスはまだやっているみたいだな。&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/24863951-114424370739165277?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114424370739165277/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114424370739165277' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114424370739165277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114424370739165277'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/blog-post_05.html' title='アイ・カフェオープン'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114403173787710304</id><published>2006-04-03T11:33:00.000+09:00</published><updated>2006-04-03T11:35:37.876+09:00</updated><title type='text'>PABOT'Sにアイ・カフェ</title><content type='html'>函館のPABOT'Sに入るネットカフェは、どうやら&lt;a href="http://www.i-cafe.ne.jp/"&gt;アイ・カフェ&lt;/a&gt;になるらしい。垂れ幕が下がっていた。&lt;br /&gt;&lt;br /&gt;アイ・カフェは、よく秋葉原に行ったとき宿代わりに利用するんだけれど、ドリンクの種類が豊富でいいよねー。サービスの品質に関していえば、ネットカフェのなかで最高レベルなんじゃないかなぁと勝手に思ってる。だから、PABOT'Sに入ってくれるのは大歓迎！&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/24863951-114403173787710304?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114403173787710304/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114403173787710304' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114403173787710304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114403173787710304'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/pabots.html' title='PABOT&apos;Sにアイ・カフェ'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114403138987154500</id><published>2006-04-03T11:25:00.000+09:00</published><updated>2006-04-03T11:29:49.873+09:00</updated><title type='text'>ruby on railsへの道のり</title><content type='html'>いや、別にそんな大げさなことじゃないんだけれど。&lt;br /&gt;&lt;br /&gt;Ruby on Rails使ってみようと思ったら結構RubyGemsのセットアップでハマったので、そのことを書いてみようかなぁと思って。&lt;br /&gt;&lt;br /&gt;まず、&lt;a href="http://www.rubyonrails.org/down"&gt;http://www.rubyonrails.org/down&lt;/a&gt; ここのページにあるように、Rubyをダウンロードしてインストールする。「Windows Installer」っていうところをクリックすれば早いんだけれど、最新版をインストールしたい俺はRubyのサイトに行って &lt;a href="http://www.garbagecollect.jp/ruby/mswin32/ja/"&gt;http://www.garbagecollect.jp/ruby/mswin32/ja/&lt;/a&gt; から最新版のWindowsバイナリをダウンロード。Fドライブの直下において、環境変数PATHにF:\Ruby\binを追加。&lt;br /&gt;&lt;br /&gt;ここまでは問題なし（と思ってた）。&lt;br /&gt;&lt;br /&gt;で、次はRubyGems。Rubyのパッケージを管理するソフト。RubyGemsのサイトから最新版をダウンロードし、解凍して同じくFドライブの直下に置く。そして、コマンドラインで&lt;br /&gt;&lt;br /&gt;ruby "F:\rubygems\setup.rb"&lt;br /&gt;&lt;br /&gt;これでインストールできると思ってたら、libeay32.dllがないとかssleay32.dllがないとかっていうエラーがでまくり。で、ここで俺は、それらのdllをネット上で探してRubyのbinディレクトリに置いたんだけれど、今度は「序数 xx がみつからない」とかなんとかっていうエラーで、また失敗。&lt;br /&gt;&lt;br /&gt;1時間くらいあがいた挙げ句、最初からゆっくりRubyのページを読み直して&lt;br /&gt;&lt;a href="http://www.garbagecollect.jp/ruby/mswin32/ja/documents/install.html"&gt;http://www.garbagecollect.jp/ruby/mswin32/ja/documents/install.html&lt;/a&gt;&lt;br /&gt;このページに書いてあるライブラリをインストールすれば動くということを突き止め、なんとかこの問題は解決。&lt;br /&gt;&lt;br /&gt;しかーし。今度は&lt;br /&gt;&lt;br /&gt;hook F:/Installless Program Files/rubygems/./post-install.rb failed:&lt;br /&gt;No such file or directory - pkgs/sources&lt;br /&gt;&lt;br /&gt;っていうエラーがでて、インストールに失敗。&lt;br /&gt;もーワケわからないので、最後の手段ということでpost-install.rbを読んでみると、"Dir.chdir("pkgs/sources")"というコードを発見。これってつまり、カレントディレクトリに対して"cd pkgs/sources"をやっているっていうことだよな。&lt;br /&gt;&lt;br /&gt;ということで、カレントディレクトリをきちんとRubyGemsのルートにしてなんとかインストール完了。&lt;br /&gt;&lt;br /&gt;はぁ、疲れた・・・。まだRuby on Railsのインストールすらしてないんだけれど・・・orz&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24863951-114403138987154500?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114403138987154500/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114403138987154500' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114403138987154500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114403138987154500'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/ruby-on-rails.html' title='ruby on railsへの道のり'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114403088775975072</id><published>2006-04-03T10:51:00.000+09:00</published><updated>2006-04-03T11:21:30.056+09:00</updated><title type='text'>テンプレート</title><content type='html'>パソコン使っている人は普通に用いている「テンプレート」という言葉だけれど、それ以外の人にとってはナゾなことば？&lt;br /&gt;&lt;br /&gt;この前母が「メル友が『テンプレート』がどうたらこうたらと言っているんだけれど、『テンプレート』の意味が分からない」って聞いてきた。辞書を調べても載っていないとか。&lt;br /&gt;&lt;br /&gt;まさかと思って自分でも英和辞典を引いてみたのだけれど、「temple」は載っているが「template」は確かに載っていない。そこで、もしかして新語なのかなーと思って、知恵蔵2006年版も調べてみたのだけれど、&lt;br /&gt;&lt;br /&gt;テンプレート[template] 歯のかみ合わせを矯正するための型板, 製図用などの定規.&lt;br /&gt;&lt;br /&gt;これしか載ってない（笑&lt;br /&gt;もしかして、テンプレートって実は結構専門的な用語？&lt;br /&gt;&lt;br /&gt;ネットを使っていれば頻繁に目にする語だから、大体みんな知っているものだと思っていたんだが・・・。実際、今ブログの内容を書き込んでいるページにも「テンプレート」っていう項目があるし。&lt;br /&gt;&lt;br /&gt;うーん、PCやネットをあまり使わない人と会話するときには、注意しなければ・・・&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24863951-114403088775975072?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114403088775975072/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114403088775975072' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114403088775975072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114403088775975072'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/blog-post.html' title='テンプレート'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114395653257919254</id><published>2006-04-02T14:24:00.000+09:00</published><updated>2006-04-02T14:42:12.600+09:00</updated><title type='text'>PDFって扱いにくい・・・</title><content type='html'>Yet Another Haskell Tutorialを読んでいて感じたんだが、本当にPDFって扱いづらいな・・・。&lt;br /&gt;&lt;br /&gt;一番不便に感じたのは、「しおりを挟める」という概念がAdobe Readerにないこと。離れたページに書いてある内容を比較しながら読もうと思ったのだけれど、その都度ページをスクロールさせなければいけないのがとても面倒で、結局途中であきらめてしまった。自分のPCはデュアルディスプレイなので、Adobe Readerを2つ立ち上げればいいかとも思ったんだが、二重起動が禁止されているのでできない。非常に不便。&lt;br /&gt;&lt;br /&gt;やっぱり、PC上で読むなら現時点でHTMLに勝るものはないと思う。数式のような複雑な書式のものを扱うのなら別だけれどね。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24863951-114395653257919254?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114395653257919254/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114395653257919254' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114395653257919254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114395653257919254'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/pdf.html' title='PDFって扱いにくい・・・'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114390687972412097</id><published>2006-04-02T00:41:00.000+09:00</published><updated>2006-04-02T00:58:30.743+09:00</updated><title type='text'>Yet Another Haskell Tutorial のレビュー</title><content type='html'>せっかく読んだので、Yet Another Haskell Tutorial (&lt;a href="http://www.isi.edu/~hdaume/htut/"&gt;http://www.isi.edu/~hdaume/htut/&lt;/a&gt;) のレビューを書いてみる。&lt;br /&gt;&lt;br /&gt;一言で言うと、分かりやすい。&lt;br /&gt;&lt;br /&gt;説明が丁寧。練習問題もあるし、そのまま出版してもいいんじゃないかって思うくらい質が高いと感じた。英語がそこそこ読める人だったら、無理して日本語の資料を探さずに、このチュートリアルでHaskellを勉強するのがいいのではないかな。&lt;br /&gt;&lt;br /&gt;問題点を挙げるとすれば、それはこのチュートリアルが（現時点では）未完成だということ。&lt;br /&gt;ところどころに、抜けている節がある。また、最後の章"Advanced Techniques"に至っては、タイトルのみで全く内容が書かれていない。&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/24863951-114390687972412097?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114390687972412097/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114390687972412097' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114390687972412097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114390687972412097'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/yet-another-haskell-tutorial_02.html' title='Yet Another Haskell Tutorial のレビュー'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114390590086991783</id><published>2006-04-02T00:13:00.000+09:00</published><updated>2006-04-02T00:38:24.296+09:00</updated><title type='text'>Yet Another Haskell Tutorial 「大体」読み終わった（笑</title><content type='html'>Yet Another Haskell Tutorial (&lt;a href="http://www.isi.edu/~hdaume/htut/"&gt;http://www.isi.edu/~hdaume/htut/&lt;/a&gt;) 「大体」読み終わった（笑&lt;br /&gt;&lt;br /&gt;実は、Monadの部分が少しだけ残っているのだけれど、Monadに入ったあたりからテキトーに読んでいたらだんだん話しについて行けなくなって・・・orz&lt;br /&gt;ってな感じ。&lt;br /&gt;&lt;br /&gt;でも、Monadが何なのかは大体理解できた。要するに、別にMonadという概念がなくてもプログラムを書こうと思えば書けるのだけれど、そうすると入出力処理などの特定の操作については「状態」というものの受け渡しを常に意識してプログラムを書かなければならなくなり、コードが大変ややこしくなる。だからMonadという考え方を用いてコードを簡略化する、ってことなんだよな？違ったら誰かつっこんでくれー。&lt;br /&gt;&lt;br /&gt;とりあえず、Yet Another Haskell Tutorialは読み終わったことにしよう。うん。&lt;br /&gt;なんか、自分の本棚に"The Haskell School of Expression" (&lt;a href="http://www.amazon.com/gp/product/0521644089/"&gt;http://www.amazon.com/gp/product/0521644089/&lt;/a&gt;) とかいう本もあるんだけれど、こいつはどうしようかなぁ・・・。ヒマになったら読むか。いや、ならないだろうなorz&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24863951-114390590086991783?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114390590086991783/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114390590086991783' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114390590086991783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114390590086991783'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/04/yet-another-haskell-tutorial.html' title='Yet Another Haskell Tutorial 「大体」読み終わった（笑'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114380629475715880</id><published>2006-03-31T20:44:00.000+09:00</published><updated>2006-03-31T20:58:15.173+09:00</updated><title type='text'>文芸的プログラミングの実践例発見！</title><content type='html'>TeXの開発者、ドナルド・クヌース氏が提唱している「文芸的プログラミング」の実践例を初めて見つけた。&lt;br /&gt;&lt;br /&gt;それはHaskellのコンパイラ「GHC」 (&lt;a href="http://haskell.org/ghc/index.html"&gt;http://haskell.org/ghc/index.html&lt;/a&gt;) のソースコード。&lt;br /&gt;&lt;br /&gt;ちょっと感動（笑&lt;br /&gt;&lt;br /&gt;JavaDocとかXML Documentationのようなタイプが標準になってしまって、文芸的プログラミングのように文書中にコードを埋め込むというアイデアはこのまま消え去ってしまうのかなぁと思っていたんだけれど、使われているところではきちんと使われているんだね！&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/24863951-114380629475715880?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114380629475715880/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114380629475715880' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114380629475715880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114380629475715880'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/03/blog-post_31.html' title='文芸的プログラミングの実践例発見！'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114370561350610515</id><published>2006-03-30T16:33:00.000+09:00</published><updated>2006-03-30T17:00:13.573+09:00</updated><title type='text'>Yet Another Haskell Tutorial 2つめの関門？</title><content type='html'>&lt;a href="http://www.isi.edu/~hdaume/htut/"&gt;Yet Another Haskell Tutorial&lt;/a&gt; 読み進めてます。&lt;br /&gt;&lt;br /&gt;昨日書いた関門は、なんとかクリア。&lt;br /&gt;Ex 4.12だけ解答が載っていなくてムカツイタのだけれど、なんとかそれらしいCPSスタイルのコードを書けて一通り終了。&lt;br /&gt;問題を解きながら感じたCPSを理解するポイントだけれど、プログラムの流れを追いかけすぎないことかも？いや、もしかしたらそれはCPSをごまかしながら使う技法なのかもしれないけれど（笑&lt;br /&gt;あと、分かりやすい変数名/関数名を付けた方が理解しやすくなるかも。自分はラムダ式の引数は必ずアンダースコアから始めるようにしてる。こうするだけで、かなり頭の中が整理される気がするわ。&lt;br /&gt;&lt;br /&gt;で、またまた新たな関門が・・・&lt;br /&gt;7.3 Partial Application の練習問題、Ex 7.1のfunc5が解けないorz&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/24863951-114370561350610515?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114370561350610515/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114370561350610515' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114370561350610515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114370561350610515'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/03/yet-another-haskell-tutorial-2.html' title='Yet Another Haskell Tutorial 2つめの関門？'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114362989397889860</id><published>2006-03-29T19:55:00.000+09:00</published><updated>2006-03-29T20:00:56.343+09:00</updated><title type='text'>Yet Another Haskell Tutorial 最初の山場</title><content type='html'>&lt;a href="http://www.isi.edu/~hdaume/htut/"&gt;Yet Another Haskell Tutorial&lt;/a&gt;を読み進めているのだけれど、最初の山場にさしかかったなという感じ。&lt;br /&gt;その山場とは、"4.6 Continuation Passing Style"。&lt;br /&gt;&lt;br /&gt;cfold' f z [] = z&lt;br /&gt;cfold' f z (x:xs) = f x z (\y -&gt; cfold' f y xs)&lt;br /&gt;cfold f z l = cfold' (\x t g -&gt; f x (g t)) z l&lt;br /&gt;&lt;br /&gt;たった3行のプログラムなのだけれど、このプログラムを理解するのがまず大変。&lt;br /&gt;&lt;br /&gt;プログラミングを始めた頃、自分は再帰をなかなか理解できなかったのだけれど、今はその時の感覚に似ている感じがするわ。&lt;br /&gt;&lt;br /&gt;それから、理解したところで、これを一からサクサク書けるかという問題も。&lt;br /&gt;&lt;br /&gt;なかなかそう簡単にはいかないものだな。まぁ、それが楽しいっていう部分もあるんだけれど（笑&lt;br /&gt;&lt;br /&gt;ちなみに、Javaでも匿名クラスを使えばこの書き方は可能。Haskellの方をマスターしたらやってみようかな・・・。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24863951-114362989397889860?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114362989397889860/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114362989397889860' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114362989397889860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114362989397889860'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/03/yet-another-haskell-tutorial.html' title='Yet Another Haskell Tutorial 最初の山場'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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-24863951.post-114358853490552532</id><published>2006-03-29T08:28:00.000+09:00</published><updated>2006-03-29T08:28:54.910+09:00</updated><title type='text'>Codehaus</title><content type='html'>&lt;p class="mobile-post"&gt;Codehaus最高！&lt;/p&gt;&lt;p class="mobile-post"&gt;Codehaus (http://www.codehaus.org)&lt;br /&gt;は、SourceForgeと同じようなオープンソースプロジェクトのリポジトリなんだけれど、ここにあるプロジェクトのソースコードってみんなきれいだね！&lt;/p&gt;&lt;p class="mobile-post"&gt;JavaDocあるし、変数名にはきちんとfinalを付けているし、ユニットテストもあるし。&lt;/p&gt;&lt;p class="mobile-post"&gt;さすが、Code「haus」（ドイツ語）と名乗るだけあって、プログラムの品質もドイツクオリティなんだな（笑&lt;br /&gt;大雑把なアメリカンとは違うわけだ（失礼&lt;/p&gt;&lt;p class="mobile-post"&gt;他人のソースコードを読んでプログラミングの勉強をしたい人は、まずここのソースコードから始めるのがいいかもね。&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24863951-114358853490552532?l=jharai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jharai.blogspot.com/feeds/114358853490552532/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24863951&amp;postID=114358853490552532' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114358853490552532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24863951/posts/default/114358853490552532'/><link rel='alternate' type='text/html' href='http://jharai.blogspot.com/2006/03/codehaus.html' title='Codehaus'/><author><name>j</name><uri>http://www.blogger.com/profile/00392174616548542837</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>
