<?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-7869210287390889864</id><updated>2012-01-29T12:02:04.133+09:00</updated><category term='モバイル'/><category term='Python'/><category term='pm'/><category term='視点'/><category term='Hack'/><category term='Titanium'/><category term='OpenVZ'/><category term='ゴミ'/><category term='映画'/><category term='Plack'/><category term='Postfix'/><category term='無電源遊戯装置'/><category term='電波'/><category term='Windows'/><category term='Security'/><category term='Starman'/><category term='russkii'/><category term='停電'/><category term='開発'/><category term='hachiojipm'/><category term='Cuitter'/><category term='Catalyst'/><category term='BK'/><category term='MongoDB'/><category term='Data::Model'/><category term='Shell'/><category term='涙目'/><category term='RedHat'/><category term='TurboGears'/><category term='書籍'/><category term='daemontools'/><category term='誤爆'/><category term='nginx'/><category term='egg'/><category term='gOS'/><category term='Lua'/><category term='Apache'/><category term='ネットライフ'/><category term='Android'/><category term='CPAN'/><category term='Mail'/><category term='TokyoCabinet'/><category term='jQuery'/><category term='PSGI'/><category term='scala'/><category term='セキュリティ'/><category term='SPAM'/><category term='チラ裏'/><category term='ガジェット'/><category term='メモ'/><category term='テクノロジー'/><category term='JS/Linux'/><category term='地震'/><category term='Perl'/><category term='バッドノウハウ'/><category term='リアルライフ'/><category term='読書'/><category term='Gearman'/><category term='Mojo'/><category term='生活'/><category term='Parrot'/><category term='PHP'/><category term='テスト'/><category term='danga'/><category term='TokyoTyrant'/><category term='Mouse'/><category term='VMware'/><category term='ツール'/><category term='Install'/><category term='yapc'/><category term='FUSE'/><category term='Linux'/><category term='メタル'/><category term='/.j'/><category term='Forth'/><category term='ニュース'/><category term='仮想環境'/><category term='DotCloud'/><category term='Ubuntu'/><category term='MEPIS'/><category term='JavaScript'/><category term='ネットワーク'/><category term='ジョーク'/><category term='Moose'/><title type='text'>YellowStore</title><subtitle type='html'>ytnobody( = YellowTurtle )のメモ。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default?start-index=101&amp;max-results=100'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>242</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-4489650771062144906</id><published>2012-01-29T12:02:00.000+09:00</published><updated>2012-01-29T12:02:04.144+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hachiojipm'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Hachioji.pm #13</title><summary type='text'>


先日(1/29[土] 18:00～)、おなじみのHachioji.pmに参加してきました！
会場は、こちらもおなじみのタイラーンナー。トムヤムクンが美味しいお店です。

今回も新しい方が何名か来ておりましたが、皆さんPerlの話題にとどまらず、技術方面の話や椅子の話などで盛り上がっておりました。

おや、奥の島の様子が･･･
なんか奥の島に突然人が集まりだしたので、何事かと思って行って見た所、こんな光景が。。。

これがあの「インフラエンジニア双六」か！？

タイ風ハムスライスが極端に辛かった
あまりの辛さに悶絶。。。

恒例のライトニングトーク
酔っ払ってて正直あまり覚えていない（※いつものこと）ですけど、記憶に残ってるところだけざくっと書いておきます。

・JS製のスライドツールがいくつか。
・はてブのホッテントリをタイトルかき集めてGoogleスピーチAPI(非公式)</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/4489650771062144906/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=4489650771062144906' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4489650771062144906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4489650771062144906'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2012/01/perlhachiojipm-13.html' title='[Perl]Hachioji.pm #13'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-S69nfkA-LR8/TySppo_HWGI/AAAAAAAAAQs/xereO6wXbhs/s72-c/IMG_20120128_184024.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7040187651484876459</id><published>2012-01-27T18:33:00.000+09:00</published><updated>2012-01-27T18:33:28.288+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Perl Beginnersという勉強会をやります。</title><summary type='text'>Perl Beginners という勉強会を2/24(金) 19:00より五反田文化センターで開催します。
という宣伝でしたー！ぜひお越しください！</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7040187651484876459/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7040187651484876459' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7040187651484876459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7040187651484876459'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2012/01/perlperl-beginners.html' title='[Perl]Perl Beginnersという勉強会をやります。'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-5169488924496543210</id><published>2011-12-04T10:19:00.001+09:00</published><updated>2011-12-04T10:21:40.678+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[perl]Hachioji.pm #11 で幹事やってみた</title><summary type='text'>毎度おなじみHachioji.pmに参加してきました。

今回は町田で開催ということもあって、近くに住んでいることもあり、幹事をやらせてもらったのですが、24名の参加者が集まる賑やかなpmとなりました。雨にもかかわらず来てくださった皆さん、本当にありがとう！


LTのテーマは「○○道」ということだったのですが、みなさん思い思いの「道」に関するネタを発表されていました。

ちなみにぼくは「幹事道」と題し、perl関係ない内容の話をさせてもらいました（資料こちら）。

幹事の経験が実はあまり無いので、主に時間周りでご不便をかけてしまったところもあったのですが（本当に申し訳ない！）、そういったところもフォローしていただいたりした結果、非常に意義深く、楽しい集まりになったんだと思っています。

Hachioji.pmは、参加者全員の協力のもとに成り立っているのです。

※名言：「Perlは</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/5169488924496543210/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=5169488924496543210' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5169488924496543210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5169488924496543210'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/12/perlhachiojipm-11.html' title='[perl]Hachioji.pm #11 で幹事やってみた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-il67kcoEuhI/TtpRAfsjQ0I/AAAAAAAAAk8/H0lH4Srx9m4/s72-c/20111203-P1000417.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8827479789515963254</id><published>2011-12-04T10:01:00.001+09:00</published><updated>2011-12-04T10:02:24.905+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[perl]今年のadvent calendarの記事を書いたので宣伝</title><summary type='text'>Casual Track 3日目の記事を書きました。

Crypt::SaltedHash - パスワードを安全に保存するための一手段 - Perl Advent Calendar Japan 2011 Casual Track

テーマは割りとディープなものですが、5分以内で読める非常にライトな内容ですので、まあ読んでやってください。

それと、記事を書く人も募集中だそうですよー！</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8827479789515963254/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8827479789515963254' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8827479789515963254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8827479789515963254'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/12/perladvent-calendar.html' title='[perl]今年のadvent calendarの記事を書いたので宣伝'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8969928604433670711</id><published>2011-11-18T21:00:00.001+09:00</published><updated>2011-11-19T01:49:45.222+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[perl]Yokohama.pm #8に参加したのでメモをあげてみる</title><summary type='text'>bonnuさん - orepanとcpanmを使ったcpan module の部分ミラーの運用管理
Cartonの話ではありません！

kazeburoさんの11/2月時点のブログ記事が元ネタ。

CPANミラーをローカルに作る理由
本家CPANの更新の影響を受けずにモジュールをインストールしたい。
　アプリケーションが依存するモジュールの挙動を保障するためにバージョンを固定する必要がある。
アプリケーションをネットに依存せずに確実にインストールしたい
　search.cpan.orgやそのミラーは作者による取り下げも反映されてしまう。
　CPANネットワークがあがっている保障はない。
複数代をセットアップする際に外部ネットワークに接続したくない。
　数十大規模になればなおさら。セットアップをすばやく行うためにも重要。
　企業によっては外部ネットワークへの接続ポリシーに縛られる。
社内</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8969928604433670711/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8969928604433670711' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8969928604433670711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8969928604433670711'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/11/perlyokohamapm-8.html' title='[perl]Yokohama.pm #8に参加したのでメモをあげてみる'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-2100821305997802692</id><published>2011-11-16T15:39:00.001+09:00</published><updated>2011-11-16T17:58:00.240+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[perl]perlbrewな環境下でImage::Magickを使いたくなったのでセットアップしたというお話</title><summary type='text'>「Imagerじゃないとかマジウケるんですけどｗ」的なツッコミは予測済みですが、Webサービスに組み込む機能として、PDF→JPEGな変換を行うのに、もっともスマートな方法としてImage::Magick(=PerlMagick)しか見つけられなかったのです。もっといい方法あったら教えてください！

まずはimagemagickをインストールで、PerlMagick使うためにはホストにimagemagickが入ってないといけないんですけど、これをroot権限で入れるのは別に難しくない。のですが、perlbrewな環境となると、root権限？何それおいしいの？状態なので、今回は$HOME/local 以下にimagemagickをインストールする方法をとります。

$ mkdir $HOME/local
$ mkdir $HOME/src
$ cd $HOME/src
$ wget ftp</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/2100821305997802692/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=2100821305997802692' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2100821305997802692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2100821305997802692'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/11/perlperlbrewimagemagick.html' title='[perl]perlbrewな環境下でImage::Magickを使いたくなったのでセットアップしたというお話'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8912125601476199968</id><published>2011-10-30T22:41:00.002+09:00</published><updated>2011-10-30T23:55:27.121+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hachiojipm'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Hachioji.pm #10</title><summary type='text'>10/29(土)、11回目の開催となるHachioji.pmに参加してきました。


初参加の方がたくさん！
会場となったペルー料理専門店MISKYは Hachioji.pm では2回目の利用。こちらのお店では、ソーセージやらパスタやらチキンステーキやらを心行くまで堪能できます。また、テーブルに配られる３種類のディップソースがあるのですが、これがまたスパイシーでおいしいです！

今回は初参加の方が多かったので、まずは自己紹介から始まり、その後飲んだ食ったをしながら技術的な話やら世間話で場の雰囲気をほぐしていく流れとなりました。まあこういう所はHachioji.pm式ですね。そして、ご近所トークで盛り上がったり出来るところもまた、地方pm(?)ならではの醍醐味でしょう。個人的に@ktatさん(こちらの記事の著者)とお話できたのは非常に感慨深かったです。

LT
で、いい感じにアルコールが回</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8912125601476199968/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8912125601476199968' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8912125601476199968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8912125601476199968'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/10/perlhachiojipm-10.html' title='[Perl]Hachioji.pm #10'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-U7m1prWpi7k/Tq060BjReFI/AAAAAAAAAP4/gwly3Cn8z68/s72-c/IMG_20111029_200559.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-1904344887069792575</id><published>2011-10-16T04:26:00.001+09:00</published><updated>2011-10-16T04:33:16.360+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]YAPC::Asiaにレポーターとして参加してきたよ！</title><summary type='text'>去る10/14(金)と10/15(土)の2日間、東京工業大学大岡山キャンパスにてYAPC::Asia 2011が開催されました。

既に前回の記事でおさわり程度には書いたのですが、今年はgihyo.jpのレポーターとして参加してきました。

gihyo.jpスペシャルレポート

そんなわけで、今年は当ブログでは去年のようなライブレポートはやりません。

その代わりに、レポーターとして参加した感想を少々。。。

レポーター楽しいです騙してるように見えるかもしれませんが、間違いなく面白い。というのも、やはり人様のサイトに載せる原稿を（アルバイトとして）提供するわけですから、是が非でもメモをとる事になります。そうなると、漫然とトークを聞くのと比較して、鮮烈に記憶に残るのです。

レポーター大変ですただ、大変なのも事実でして、以下のような流れで原稿を投稿することになるのですが、

トークを聞</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/1904344887069792575/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=1904344887069792575' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1904344887069792575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1904344887069792575'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/10/perlyapcasia_16.html' title='[Perl]YAPC::Asiaにレポーターとして参加してきたよ！'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-5012976122644184016</id><published>2011-10-14T10:33:00.000+09:00</published><updated>2011-10-14T10:33:51.001+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]YAPC::Asia開催！</title><summary type='text'>10/14(金)と10/15(土)の2日間、東京工業大学大岡山キャンパスにてYAPC::Asia 2011が開催されます！
僕はgihyo.jpのレポーターとして参加していますので、派手なレギンスでノートPCに向かってるおっちゃんを見つけたら、声かけてください。もしかすると、飲み物をせがむかもしれません！
gihyo.jp スペシャルレポート
</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/5012976122644184016/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=5012976122644184016' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5012976122644184016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5012976122644184016'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/10/perlyapcasia.html' title='[Perl]YAPC::Asia開催！'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8075096973493403325</id><published>2011-10-04T01:55:00.000+09:00</published><updated>2011-10-04T01:55:34.958+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hachiojipm'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Hachioji.pm #9</title><summary type='text'>
ついに通算10回目を迎えたHachioji.pmに行ってきました。会場はHachioji.pmの聖地ことタイラーンナーさん。

今回の参加人数は10名。到着した人からシンハービールを頼み、手酌の気取らないスタイルでさくさくっと呑んでいました。
@elecineさんが当日飛び入りで参加。ご本人曰くDJしたりMarkupしたりだそうです。

Lightning TalkHachioji.pmのLTは銅鑼(=時間制限)なし・Ａ４用紙1枚程度の非常にカジュアルなものです。
そんな超軽量LTではありますが、各々が持ち寄る内容は毎回よく出来たものだと関心してしまいます。

uzullaさん
GroongaをSQLite的に使っているお話
位置情報の使いでのよさ       黙って起動に失敗するニクイやつ       なんでかDB破損。
色々とオフレコなお話
オフレコ過ぎて詳細を忘れたｗ

_</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8075096973493403325/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8075096973493403325' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8075096973493403325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8075096973493403325'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/10/perlhachiojipm-9.html' title='[Perl]Hachioji.pm #9'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-1rgRZsvcRpc/TonU2gyVdOI/AAAAAAAAAPY/K6wizwtlC0w/s72-c/SUNP0173.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8173964067652714905</id><published>2011-09-03T01:32:00.003+09:00</published><updated>2011-09-03T02:26:48.855+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='DotCloud'/><title type='text'>[Perl]dotcloudにPSGIアプリを上げてみた</title><summary type='text'>しばらく放置気味だったブログも久々に更新。

さて、夏バテ気味の僕もついにあのdotcloudに入門してみました。

作業するための環境を用意する今回は作業環境にさくらVPS(CentOS5.5)を使うことにしました。理由は聞かないで。

python2.6とeazy_install, pipを入れる必要があるらしいこちらの記事を参考に、素直にrootでpython2.6などをビルド＆インストールしました。

補足としては、先のブログの「インストール」のところにあるコードスニペットの7行目
zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lzここは、「こういう行が Modules/Setup の中でコメントアウトされているから、それをコメントインしなさいね」の意であるようです。

ちなみにこのステップを</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8173964067652714905/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8173964067652714905' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8173964067652714905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8173964067652714905'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/09/perldotcloudpsgi.html' title='[Perl]dotcloudにPSGIアプリを上げてみた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-4336627244504553463</id><published>2011-07-23T23:34:00.001+09:00</published><updated>2011-07-23T23:39:15.159+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl?]takao.mtにいってきた</title><summary type='text'>正直へとへとなのでまともに記事を書く気力がありません！
そのかわり、こちらでアルバムを公開しておきました。
今回に関しては、レポートにならないですね＞＜

感想だけ山ビールうめえ！
まかまかさんへ
酔ーツごちそうさまでした！！！！

ちなみにこちらがhachioji.pmの記事。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/4336627244504553463/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=4336627244504553463' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4336627244504553463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4336627244504553463'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/07/perltakaomt.html' title='[Perl?]takao.mtにいってきた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-1864489298889993998</id><published>2011-07-10T13:38:00.000+09:00</published><updated>2011-07-10T13:38:47.646+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Shibuya Perl Mongersテクニカルトーク#16 に行ってきた</title><summary type='text'>7月6日(水)にmixiさんで開催されたShibuya Perl Mongersテクニカルトーク#16に参加してきました。

テーマは正規↑表現↓･･･///__gfx__サンの発表で、正規表現が正規↑表現↓と発音されていたのを機に、休憩時間のあいだに「正規表現の正しい発音とは何か？」のような議論がアツく繰り広げられていました（おもに弾さんとか）。一歩間違えばgenital expressionsとも捉えられかねないです＞＜！

さて、一応ではありますが、各発表ごとに概要と感想が入り混じったようなものをまとめてみました。
Dan the (Irr|R)egular Expressionist [by @dankogai]
「まどか☆マギカ」ネタが随所に散りばめてあった
原作見てないからほんのりとしかわからなかった；；アニメとかあまり見ないので。。。
「すべての魔女を消し去りたい」？なら「</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/1864489298889993998/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=1864489298889993998' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1864489298889993998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1864489298889993998'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/07/perlshibuya-perl-mongers16.html' title='[Perl]Shibuya Perl Mongersテクニカルトーク#16 に行ってきた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-g1fi1ZutgWM/ThkqQwm0F0I/AAAAAAAAALQ/Pkf9UgJA2H0/s72-c/IMG_20110706_211401.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7069132057202262290</id><published>2011-06-26T12:30:00.000+09:00</published><updated>2011-06-28T21:17:35.091+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hachiojipm'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Hachioji.pm #6</title><summary type='text'>先日開催のHachioji.pm #6に参加してきました。
思い出したかのようにトイデジで写真を撮っておいたのですが、よくわからない状態のものばかりとなってしまいました。すみませんすみません＞＜

カレー食べながらネタトーク
さて、今回のお店はカレー＆ダイニング Very wellさん。
夏バテ克服にカレーはもってこいのチョイスですね！

今回はキャンセル5名ということもあって貸切下限の15名に届かず、急遽貸切をキャンセルせざるを得ない状況となってしまいました。それにも関わらず大いに盛り上がったのは、開始時刻前から到着したメンバーから順に早々と出来上がっていたところが大きいと思います。このいい感じのアバウトさ加減こそHachioji.pmメソッドですよ！

定員を割りましたが、非常に盛り上がりました！
各自、各々の近況やネタトーク(主にGANC教祖によるGANCネタ)で盛り上</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7069132057202262290/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7069132057202262290' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7069132057202262290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7069132057202262290'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/06/perlhachiojipm-6.html' title='[Perl]Hachioji.pm #6'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-tYHZ7BznpFY/TgaMDr0iDgI/AAAAAAAAAKo/5DDea45Sp3c/s72-c/SUNP0103.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-4500394711460101318</id><published>2011-06-16T00:00:00.003+09:00</published><updated>2011-06-16T00:04:02.941+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='リアルライフ'/><title type='text'>[リアルライフ]ライブドアに入社しました</title><summary type='text'>2011/6/15をもちまして、株式会社ライブドアへ入社いたしました。
これまで苦楽をともに歩んできた元同僚・上司へ、この場を借りて、改めてお礼申し上げます。

今後も皆様より、従来と変わらぬご愛顧・ご指導を頂けますと大変幸甚でございます。

どうぞ、よろしくお願いいたします。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/4500394711460101318/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=4500394711460101318' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4500394711460101318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4500394711460101318'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/06/blog-post.html' title='[リアルライフ]ライブドアに入社しました'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-6952700676088866073</id><published>2011-05-31T01:52:00.003+09:00</published><updated>2011-05-31T02:07:29.220+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hachiojipm'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Hachioji.pm #5</title><summary type='text'>5/28(土)に開催されたHachioji.pm #5に参加してきました。

いつものことですが、このレポートは他の方に比べ24時間ほど出遅れています。
ま、そんな事どうでもいいんですよ！そもそもレポートになってるか怪しいんだから！！

なお、公式の開催レポートはこちら

$stuff[0]-&gt;say( seat( expire =&gt; 7200 ) );開始直後、お店の方から「2時間制限」といわれたので、uzullaさん、急遽二次会をセッティング。
まあ、こういうアクシデントもたまにはあるのでしょうけど、そこは八王子。すんなりと会場の確保ができた模様です。
そんなわけでA4-LTは二次会で行うこととなりました。ほどなく、参加者全員が完全に「呑むぞ食うぞモード」に突入したのは言うまでもありません。


「キャモーン！」「なにそのカメラｗｗ」
一つ言える事としては、とにかく肉がうまかった！
</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/6952700676088866073/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=6952700676088866073' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6952700676088866073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6952700676088866073'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/05/perlhachiojipm-5.html' title='[Perl]Hachioji.pm #5'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-ziEt_T6SPm0/TeO_o5RN6rI/AAAAAAAAAJ8/dNHTUGPj8uI/s72-c/SUNP0083.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7417729713219684348</id><published>2011-05-26T19:37:00.001+09:00</published><updated>2011-05-27T01:24:24.382+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scala'/><title type='text'>[Scala]Scala勉強会in秋葉原#35に行ってきた</title><summary type='text'>HelloWorldとxhtmlのパーシングあたりで止まってるScalaについてもう少し掘り下げるべく、Scala勉強会にお邪魔してきました。

勉強会第35回 - Scala勉強会 in 渋谷

発表について当日の発表はよしださんによる Scala2.9.0の新機能についての説明でした(資料)
まあ僕は初学者ということもあって、正直なところ発表内容を深く理解できていない部分があるのですが、それでも基礎的な部分についてはおおむね理解できたつもりではあります。
特にJavaプリミティブ型からScalaの各種型への自動的な変換(Auto-Unboxing for Java Boxed valuesのスライドのあたり)なんかは、「今までなかったのかよｗ」と心の中でツッコんでしまいました。

質問タイムカリー化されたメソッドのオーバーライドについて、第2引数の型が異なるメソッドのオーバーライドを</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7417729713219684348/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7417729713219684348' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7417729713219684348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7417729713219684348'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/05/scalascalain35.html' title='[Scala]Scala勉強会in秋葉原#35に行ってきた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-5276890349051602514</id><published>2011-05-19T01:58:00.000+09:00</published><updated>2011-05-19T01:58:12.915+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Linux]CentOS5.5にText::MeCabを入れるときのコツ</title><summary type='text'>原因mecabとmecab-ipadicを入れてるのに、
/root/.cpanm/work/1294395897.25225/Text-MeCab-0.20011/assertlibeiKR8srG: error while loading shared libraries: libmecab.so.1: cannot open shared object file: No such file or directory
/root/.cpanm/work/1294395897.25225/Text-MeCab-0.20011/assertlibEejMJieF: error while loading shared libraries: libmecab.so.1: cannot open shared object file: No such file or directory
</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/5276890349051602514/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=5276890349051602514' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5276890349051602514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5276890349051602514'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/05/linuxcentos55textmecab.html' title='[Linux]CentOS5.5にText::MeCabを入れるときのコツ'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-874975377839697079</id><published>2011-05-17T16:22:00.002+09:00</published><updated>2011-05-17T16:25:18.110+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='JS/Linux'/><title type='text'>[Linux]JS/Linuxでcronを動かす</title><summary type='text'>巷で話題のJS/Linuxですが、そのままではcrondが動いてないから、cronエントリを書いてもまともに動きません。

だから、
# crond -b
などとしてcrondを動かしてやり、
# crontab -e 
でcronエントリを追加すると、正常に動作します。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/874975377839697079/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=874975377839697079' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/874975377839697079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/874975377839697079'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/05/linuxjslinuxcron.html' title='[Linux]JS/Linuxでcronを動かす'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-4082242165993780085</id><published>2011-05-10T01:56:00.000+09:00</published><updated>2011-05-10T01:56:34.106+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Data::Model::Driver::MongoDBというものをかいた</title><summary type='text'>MongoDBをData::ModelのDriverとして使うためのモジュールをかいたので、githubにあげました。
http://github.com/ytnobody/Data-Model-Driver-MongoDB
使い方githubにも書いてる通りですけど、こんな感じで使います。
use Data::Model::Driver::MongoDB;
my $mongo_db = Data::Model::Driver::MongoDB-&gt;new(
  host =&gt; 'localhost',
  db =&gt; 'my_database',
);
my $schema = Oreore::Schema-&gt;new;
$schema-&gt;set_base_driver( $mongo_db );
これでData::Modelのインターフェースに則ってデータの差し込みや更新、読み込み等が</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/4082242165993780085/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=4082242165993780085' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4082242165993780085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4082242165993780085'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/05/perldatamodeldrivermongodb.html' title='[Perl]Data::Model::Driver::MongoDBというものをかいた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-957713936175505836</id><published>2011-04-28T19:49:00.001+09:00</published><updated>2011-04-28T19:50:09.352+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BK'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='daemontools'/><title type='text'>[Linux]ユーザ権限でsvscanbootを立ち上げて色々exportする手間を省く</title><summary type='text'>何が嬉しいか僕がやっている限りですが、perlbrew環境でもdaemontoolsのrunファイルで色々exportしなくても意図した通りにアプリケーションが動作してくれる、という点が挙げられます。

設定例えば$HOME/service/myappとかつくって、PSGI-appをdaemontoolsで常駐させたい場合。

$HOME/.bashrcに1個exportを追記する以下の行を追記しておく。
export PATH=$HOME/bin:$PATH
書いたら、一旦ログインし直す。

$HOME/以下に必要なディレクトリを用意する~$ mkdir -p ~/service ~/bin ~/myapp/log

ユーザ用のsvscanbootを作る
$HOME/bin/svscanboot#!/bin/sh

svscan $HOME/service 2&gt;&amp;1 | \
  </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/957713936175505836/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=957713936175505836' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/957713936175505836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/957713936175505836'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/04/linuxsvscanbootexport.html' title='[Linux]ユーザ権限でsvscanbootを立ち上げて色々exportする手間を省く'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-5355049505057024880</id><published>2011-04-27T13:44:00.001+09:00</published><updated>2011-05-16T13:59:36.625+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nginx'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Nginx]フォワードプロキシを構築する</title><summary type='text'>ここを参考に、俗に言う串をNginxで構築しました。

nginx.confhttp {

    ### google DNS
    resolver 8.8.8.8;

    server {
        listen 80;
        server_name proxy.mydomain.net;
        location / {
            proxy_pass $scheme://$http_host$request_uri;
        }
    }

}

schemeとhttp_host,requet_uriを使いまわすのがポイントですね。

2011/5/16 追記
httpsについては、このフォワードプロキシを通すことで、まともにアクセスできなくなる可能性があります。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/5355049505057024880/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=5355049505057024880' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5355049505057024880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5355049505057024880'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/04/nginx.html' title='[Nginx]フォワードプロキシを構築する'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-4047955646233923042</id><published>2011-04-26T00:10:00.000+09:00</published><updated>2011-04-26T00:10:02.460+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hachiojipm'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Hachioji.pm #4</title><summary type='text'>4/23(土)に開催されたHachioji.pm #4に参加してきました！

ぼくが記事を書く頃には大体いつも、皆さんきっちりと記事を書いてくれてますので、僕は雰囲気を伝える方向に専念できます＞＜

ひどい雨にもかかわらず･･･当日はかなりどしゃ降りの雨だったのですが、なんとATNDで参加表明していた13名が全員参加。さすがHachioji.pm、毎度のことながら出席率の高さがハンパ無いです。

Hachioji.pm =~ Gourmet.pm ??? さて、これまでのHachioji.pm開催会場となったお店を振り返ってみますと･･･（※以下、ATNDへのリンク）
#0 会場 八王子駅南口 あじこ家（沖縄料理）
#1 会場 魚米 八王子店（海鮮料理）
#2 会場 八王子北口 多熱食房（中華料理）
#3 会場 タイ料理レストラン　タイラーンナー（タイ料理）
･･･と、かなりグルメな選定</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/4047955646233923042/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=4047955646233923042' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4047955646233923042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4047955646233923042'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/04/perlhachiojipm-4.html' title='[Perl]Hachioji.pm #4'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-5631883306487761976</id><published>2011-04-22T18:45:00.002+09:00</published><updated>2011-04-22T18:59:12.206+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Test-WWW-Mechanize-1.30のテストがこける</title><summary type='text'>こんな風にこけました@perl-5.12.3
~/$ cpanm Test::WWW::Mechanize
--&gt; Working on Test::WWW::Mechanize
Fetching http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-WWW-Mechanize-1.30.tar.gz ... OK
Configuring Test-WWW-Mechanize-1.30 ... OK
==&gt; Found dependencies: Test::LongString, WWW::Mechanize, HTML::TreeBuilder, HTTP::Server::Simple, Carp::Assert::More, HTTP::Server::Simple::CGI
--&gt; Working on Test::</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/5631883306487761976/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=5631883306487761976' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5631883306487761976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5631883306487761976'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/04/perltest-www-mechanize-130.html' title='[Perl]Test-WWW-Mechanize-1.30のテストがこける'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-4615869474595675174</id><published>2011-04-19T13:29:00.004+09:00</published><updated>2011-04-19T13:59:16.304+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Titanium'/><title type='text'>[Linux]Titanium Mobile 1.2.2をUbuntu10.10-i386に入れた</title><summary type='text'>基本的な手順としては、こちらのサイトの通りに進めました。
しかし、Titanium Developerの起動時の手順で問題が発生。以下の様な手順で問題を回避しました。

Titanium Developerのディレクトリのリネームこれをやらないと、まともに起動できません。
~$ mv Titanium\ Developer-1.2.2/ ~/.titanium

runtime以下に各種同梱ライブラリ群を移動次に、ライブラリ群を$HOME/.titanium/runtime/linux/1.0.0/ から $HOME/.titanium/runtime/ へと移動させてしまいます。
~$ mv ~/.titanium/runtime/linux/1.0.0/* ~/.titanium/runtime/

ちなみにこれでもまだ
~$ ~/.titanium/Titanium\ </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/4615869474595675174/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=4615869474595675174' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4615869474595675174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4615869474595675174'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/04/linuxtitanium-mobile-122ubuntu1010-i386.html' title='[Linux]Titanium Mobile 1.2.2をUbuntu10.10-i386に入れた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-825152589299959909</id><published>2011-04-15T16:14:00.001+09:00</published><updated>2011-04-15T17:29:25.609+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forth'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Forth]perlでいうところのrequireをしたい</title><summary type='text'>include hoge.fth
のように、includeを使うか、
s" ./lib/hoge.fth" included
のように、includedワードでスタック内の文字列に該当するソースファイルを指定するかの2方式を選べるみたいです。
どちらの場合も、プログラムが置かれているディレクトリを元にソースファイルの場所を指定する必要があります。

追記
Ubuntu 10.04 LTSの場合、/usr/share/gforth 配下にgforthのモジュール群があったので、これもrequireできるみたいです。
従って、libパスは ./ および /usr/share/gforth ということになります。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/825152589299959909/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=825152589299959909' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/825152589299959909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/825152589299959909'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/04/forthperlrequire.html' title='[Forth]perlでいうところのrequireをしたい'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-6172520182513672409</id><published>2011-04-15T16:08:00.000+09:00</published><updated>2011-04-15T16:08:37.014+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forth'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Forth]gforthをCGIとして動かす場合のshebangの書き方</title><summary type='text'>こちらのフォーラムの情報をもとに試したところ、
#! /usr/bin/env gforth
としてやればOKです。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/6172520182513672409/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=6172520182513672409' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6172520182513672409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6172520182513672409'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/04/forthgforthcgishebang.html' title='[Forth]gforthをCGIとして動かす場合のshebangの書き方'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-2886955597851648519</id><published>2011-04-15T15:48:00.001+09:00</published><updated>2011-04-15T15:50:39.234+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Forth'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Forth]スタックに乗ってる文字列を複製してみる</title><summary type='text'>えーとforthについてはほぼ初心者の域をでないのですが、時折触ってみては「いつかは使いこなしたい」と思っている言語のひとつです。

そんなforth学習の一環として、手始めに
・ワード定義
・スタック操作
・文字列操作(?)
あたりを一気にやってみたので、メモを残しておきます。
: ddup ( a b -- a b a b )
    over over
;

s" ほげ" ddup
type type cr
bye

$ gforth hoge.fth 
ほげほげ
</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/2886955597851648519/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=2886955597851648519' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2886955597851648519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2886955597851648519'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/04/forth.html' title='[Forth]スタックに乗ってる文字列を複製してみる'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-3686405278451667504</id><published>2011-04-14T12:07:00.000+09:00</published><updated>2011-04-14T12:07:47.986+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MongoDB'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>[Linux]さくらVPSにてMongoDBを一般ユーザ権限で動かす</title><summary type='text'>MongoDBにすこし興味が出たので、このページを参考に、さくらVPS(CentOS 5.5)で動かしてみました。root無くても動かせそうだったので、ユーザ権限で動かすことにしました。

ユーザ権限で動かすので、その用意。$HOMEにいろいろどっ散らかるのはイヤなので、$HOME/srcを作って、そこにMongoDBを置くことにしました。
~ $ mkdir ~/src

MongoDBの入手こちらのサイトにLinux 64-bit向けのtarボールがあるので、おすすめ(recommended)と書かれてるバージョンのをwgetで引っ張ってきます。
~ $ wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-1.8.1.tgz

インストール$HOME/srcにtarボールを移動して、そこで解凍します。
~ $ mv </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/3686405278451667504/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=3686405278451667504' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3686405278451667504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3686405278451667504'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/04/linuxvpsmongodb.html' title='[Linux]さくらVPSにてMongoDBを一般ユーザ権限で動かす'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-fKh6lbGNjuE/TaZidBPGT9I/AAAAAAAAAJ0/DXm57WKFpuc/s72-c/mongod.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-9133813636455607284</id><published>2011-04-13T15:40:00.002+09:00</published><updated>2011-04-13T15:41:57.394+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='Plack'/><title type='text'>[Perl]Plack::Middleware::*を作ってみる</title><summary type='text'>いい加減Plackが当たり前のこの頃ですが、いまだにPlack::Middleware::*を作ったことが無かったので、練習してみました。
なお、あまり気にせずに書いていたら、内容がほとんどPlack::Middlewareのドキュメントと似たものになってしまいました。

基本型以下が、だいたい定型となるコードです。
package Plack::Middleware::OreOre;
use strict;
use warnings;
use parent qw/ Plack::Middleware /;

### enableでオプションを受け取る時に使用
# use Plack::Util::Accessor qw/ oreore watewate soregashisoregashi /;

our $VERSION = '0.01';

sub call {
    my ( </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/9133813636455607284/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=9133813636455607284' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/9133813636455607284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/9133813636455607284'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/04/perlplackmiddleware.html' title='[Perl]Plack::Middleware::*を作ってみる'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-2230779940738632601</id><published>2011-04-07T17:41:00.000+09:00</published><updated>2011-04-07T17:41:34.853+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]WebService::Simpleでレスポンスが文字化けしたら</title><summary type='text'>XML::Simpleのパフォーマンスの話WebService::Simpleは内部的にXML::Simpleを使っている。古い話だけど、XML::Simpleといえばこちらにもあるように「遅い」と評されることがあって、それはここに原因と対策がまとめられていて、掻い摘んで説明すると

・XML::SimpleはデフォルトでXML::SAX::PurePerlを内部的にパーサとして使用している。
・XML::SAX::PurePerl*が*遅いのであって、XML::Parserを使えば速度が改善される。

ということになる。そのためには
$XML::Simple::PREFERRED_PARSER = 'XML::Parser';
という具合に、XML::Simpleが内部的に使用するパーサにXML::Parserを指定すれば良い。

本題のっけから脱線したけど、これはWebService</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/2230779940738632601/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=2230779940738632601' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2230779940738632601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2230779940738632601'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/04/perlwebservicesimple.html' title='[Perl]WebService::Simpleでレスポンスが文字化けしたら'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-204520043425825471</id><published>2011-03-28T19:59:00.000+09:00</published><updated>2011-03-28T19:59:26.094+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hachiojipm'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Hachioji.pm #3 に参加しました</title><summary type='text'>公式にもレポートがあがってます通り、3/26(土)にHachioji.pm #3が開催されました。

Hachioji.pm #3 開催いたしました！ - hachioji.pm

詳細ついては、こことかこちらとかを参照のこと。

じつはかなり酔っ払っていて、あまり細かいことは覚えていないのです。でもまあ、概ね以下のような話題でがやがやと話していたとおもいます（本当に記憶が薄れてるので、覚えてるとこだけ箇条書きでｗ）

地震と計画停電・八王子は駅前付近も含めて、ちょくちょく停電が実施されている模様。
・停電のせいで仕事にならない人も。
・今、インフラ系の人は大変ですよね。。。
・データセンターでも、一部では発動機用の燃料を確保するのに大変。
・さくらは大阪なのでさくらVPSはたぶん大丈夫。
・東京23区にお住まいの方はあまり実感がないらしく、「たいへんそうですねー」とコメント。
・八王子</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/204520043425825471/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=204520043425825471' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/204520043425825471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/204520043425825471'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/03/perlhachiojipm-3.html' title='[Perl]Hachioji.pm #3 に参加しました'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-2515804758632291559</id><published>2011-03-24T23:50:00.004+09:00</published><updated>2011-03-25T00:34:22.798+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nginx'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>[Linux]nginxをさくらVPSのCentOS5.5に入れてみた</title><summary type='text'>最近借りた「さくらのVPS(CentOS5.5)」にnginx-0.8.54をインストールしてみました。

nginxとはnginx - Wikipedia

ダウンロードhttp://wiki.nginx.org/InstallJaからダウンロードできます。
CentOSにはrpmforge含めyumパッケージが無いので、ソースからインストールします。
今回は「安定版」とされている0.8系を選択しました。

インストール僕が試した限り、以下のyumパッケージを予めインストールしておく必要がありました。
pcre-devel
openssl-devel
その後はtarballを復元し、configure, make, make installの順に実行してあげればOKでした。
コマンドをまとめると、以下の様になるはずです。
# yum -y install pcre-devel </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/2515804758632291559/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=2515804758632291559' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2515804758632291559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2515804758632291559'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/03/linuxnginxvpscentos55.html' title='[Linux]nginxをさくらVPSのCentOS5.5に入れてみた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-6846076277425304184</id><published>2011-03-13T21:53:00.003+09:00</published><updated>2011-03-13T22:30:21.244+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='地震'/><category scheme='http://www.blogger.com/atom/ns#' term='停電'/><title type='text'>[地震]東京電力より輪番停電のおしらせ</title><summary type='text'>PDF版 https://docs.google.com/viewer?a=v&amp;pid=explorer&amp;chrome=true&amp;srcid=0BwapBcGA1141Y2FkNmU4YWItYTA3My00ODY5LTk0ZTEtYzU4MWI1MjRmN2Nl&amp;hl=ja&amp;pli=1

毎日.jpによるHTML版

第１グループ　６：２０～１０：００　の時間帯のうち３時間程度
第１グループ　１６：５０～２０：３０　の時間帯のうち３時間程度

第２グループ　９：２０～１３：００　の時間帯のうち３時間程度
第２グループ　１８：２０～２２：００　の時間帯のうち３時間程度

第３グループ　１２：２０～１６：００　の時間帯のうち３時間程度

第４グループ　１３：５０～１７：３０　の時間帯のうち３時間程度

第５グループ　１５：２０～１９：００　の時間帯のうち３時間程度
</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/6846076277425304184/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=6846076277425304184' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6846076277425304184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6846076277425304184'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/03/blog-post.html' title='[地震]東京電力より輪番停電のおしらせ'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-427678434097324709</id><published>2011-03-04T11:57:00.002+09:00</published><updated>2011-03-04T12:51:13.533+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='Plack'/><title type='text'>[Perl]plackアプリとAttribute::Handlersの相性は悪い</title><summary type='text'>先日作ったRouter::Simple::Attributeを使ってPlackベースのWAFを作ろうとしたのですが、どういうわけかrouterの中身がカラッポになってしまい、ちっともまともに動作してくれませんでしたorz

で、よくよく調べてみると、どうやらPlack::SandboxとAttribute::Handlersの相性がよろしくない模様でした。

検証用コード - eg/sample.plまあ幾つかツッコミどころが有りますけど、問題の本質とは関連がないものばかりの筈なのでスルー。
use warnings;
use strict;
use lib qw( ../lib ./lib );
use Attribute::Handlers;
use Router::Simple;
use Data::Dumper;

my $router;

BEGIN {
    $router</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/427678434097324709/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=427678434097324709' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/427678434097324709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/427678434097324709'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/03/perlplackattributehandlers.html' title='[Perl]plackアプリとAttribute::Handlersの相性は悪い'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8378208964622446824</id><published>2011-03-03T21:02:00.005+09:00</published><updated>2011-03-04T13:09:32.936+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Router::Simple::Attributeというものをつくったものの、筋が悪い物だった</title><summary type='text'>最近、そろそろ自前のWAFが欲しいと思い始めているのですが、いかんせん設計がまとめきれていないので、作っては棄てを繰り返しています。
そんな中、Router::Simpleを弄っていて、「毎度newするの面倒だなあ。connectって毎度書くのも億劫だしぃ。。。」とか思っちゃって、じゃあAttributeにパス書けるようにしたらどうだろうということで、Router::Simple::Attributeなるものをつくってみました。

使い方use MyApp;
  use Router::Simple::Attribute;
  
  sub root : Path(/) {
      return 'root';
  }
  
  sub home : Path(/home/:myname) {
      return 'ok, '. shift-&gt;{ myname }. '!';
</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8378208964622446824/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8378208964622446824' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8378208964622446824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8378208964622446824'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/03/perlroutersimpleattribute.html' title='[Perl]Router::Simple::Attributeというものをつくったものの、筋が悪い物だった'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-9028421722999507874</id><published>2011-02-21T15:33:00.002+09:00</published><updated>2011-03-28T20:04:13.424+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pm'/><category scheme='http://www.blogger.com/atom/ns#' term='hachiojipm'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Hachioji.pm #2</title><summary type='text'>去る2/19(土)に開催されたHachioji.pm #2に参加しました。

既にあるレポート等・hondallicaさんのHachioji.pm参加者まとめ
・hide_o_55さんのレポート
・uzullaさんのレポート
・maka2_donzokoさんのレポート
・norry_gogoさんのレポート
・equinox79さんのレポート(#1含む)
・bisque33さんのレポート

そもそもHachioji.pmとはATNDにあるuzullaさんのご説明によると、
本イベントは主に東京西部、神奈川西部のエンジニアの交流を目的としたものです。
普段エンジニア交流会は都心部、平日に多くおこなわれており、それらの補完を目指しています。

pmとついている様に、Perlユーザーが多くいますが、話題はPerlに限定されているわけではありませんし、私を始め、PHPやJS、HTML等をPerl</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/9028421722999507874/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=9028421722999507874' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/9028421722999507874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/9028421722999507874'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/02/perlhachiojipm-2.html' title='[Perl]Hachioji.pm #2'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-3126694837808337880</id><published>2011-02-17T12:59:00.001+09:00</published><updated>2011-02-17T13:00:27.269+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scala'/><title type='text'>[Scala]scala.xmlつかってxhtml書き換えたいけどやり方が分からなくてこまったの巻</title><summary type='text'>以下のようなmigo.scalaを書いているのですが、
import scala.io._
import scala.xml._

object migo {

    val xml = &lt;html&gt;&lt;head&gt;&lt;title&gt;abc&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;h1&gt;hoge&lt;/h1&gt;&lt;p class="piyo"&gt;ahoahoman&lt;/p&gt;&lt;p&gt;&lt;a href="#"&gt;yayaya&lt;/a&gt;shotes&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;

    def main ( args: Array[String] ) {
         val targets = xml \\ "p"
         targets.map( _.text ).foreach( println )
    }

}
targets.map(_.text)してるところで、_.textの内容</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/3126694837808337880/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=3126694837808337880' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3126694837808337880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3126694837808337880'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/02/scalascalaxmlxhtml.html' title='[Scala]scala.xmlつかってxhtml書き換えたいけどやり方が分からなくてこまったの巻'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7089198519429868514</id><published>2011-02-14T19:41:00.001+09:00</published><updated>2011-02-14T19:43:58.992+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='daemontools'/><title type='text'>[daemontools]dtinstallというのを用意しました</title><summary type='text'>わざわざ大仰に言うほどのものじゃないんですけど。

かなり前に書いた記事で、daemontoolsのインストールをするスクリプトをこさえました。
もうあれから1年半ほど経過したわけですが、僕自身が未だにこのスクリプトに助けられています。
で、いっそのことネットからもっと取りやすい位置に置いておけばいいんじゃないかと思い、gist + URL短縮でサクッと取得しやすいURLにしてみました。

gist: 825704 - daemontools installer script- GitHub

入手はこちら→http://xrl.us/dtinstall

$ wget http://xrl.us/dtinstall --no-check-certificate
$ sudo sh ./dtinstall

とすれば、daemontoolsのインストールが始まります。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7089198519429868514/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7089198519429868514' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7089198519429868514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7089198519429868514'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/02/daemontoolsdtinstall.html' title='[daemontools]dtinstallというのを用意しました'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-6601705637894170230</id><published>2011-02-01T17:58:00.000+09:00</published><updated>2011-02-01T17:58:51.988+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]インスタンスベースOOPを少し楽に書けるPlassってモジュールを書いた</title><summary type='text'>インスタンスベースOOPって聞いたことありますか？ぶっちゃけ、僕もついこの前までこの用語を知らなかったです！(ちなみに「プロトタイプベース」っていう用語としてなら、それなりに普及しているっぽいんですけど。。。)

要するに、JavaScriptにおけるOOPみたいなものだと思ってもらえれば良いみたいです。
で、Perlでもそういうことを簡単にやってのけるような実装が無いわけじゃないみたいですが(インスタンスベースOOPで必要な機能を部分的にカバーするモジュールなら幾つかある)、あくまで「インスタンスベースOOPの面倒をみてやるぜー」的なモジュールとなると、そういうのは見つけられなかったです。
また、Perlの言語レベルである程度カバーできる箇所もあるんですけど、それってキモチワルい見た目のソースを書くことにつながったりするので、そういうのはナシって方向で考えると、

「あれ、Perlで</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/6601705637894170230/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=6601705637894170230' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6601705637894170230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6601705637894170230'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/02/perloopplass.html' title='[Perl]インスタンスベースOOPを少し楽に書けるPlassってモジュールを書いた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-2971339950817709254</id><published>2011-02-01T13:57:00.001+09:00</published><updated>2011-02-01T13:57:41.969+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[メモ]vimで文字コードを指定してファイルを開きなおす</title><summary type='text'>ファイルを普通に開いてから、
:e ++enc=Shift_JIS
でOK。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/2971339950817709254/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=2971339950817709254' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2971339950817709254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2971339950817709254'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/02/vim.html' title='[メモ]vimで文字コードを指定してファイルを開きなおす'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-2493450844997178052</id><published>2011-01-27T15:45:00.002+09:00</published><updated>2011-03-11T09:57:48.996+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='バッドノウハウ'/><title type='text'>[Perl]evalの中で起こったエラーを検出する</title><summary type='text'>この前、実稼働中のかなり古いコードの不具合対応ということで、そのコードをチェックしていたのですが、その中で
my $dbh = DBI-&gt;connect(...);
eval {  
    my $sth = $dbh-&gt;prepare(...);
    $sth-&gt;execute;
    $sth-&gt;finish;
};
みたいな箇所(上のコードは実物じゃないですよ)があったんですね。で、evalで被ってやるのはまあ100歩譲って「仕方ないなあ」で済ませましたけど、よりによって、$@に入ってきた値をキャッチするロジックがなかったんです。
当然エラーとかが起こってもエラーログすら吐かず、何食わぬ顔で突っ走ってしまう。そんなわけで、SQL周りの不具合を見つけるのに数時間を要してしまったわけです。

その場ですぐに修正パッチを作成・適用して事なきを得ましたが、僕は心の奥底で思いました。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/2493450844997178052/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=2493450844997178052' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2493450844997178052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2493450844997178052'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/01/perleval.html' title='[Perl]evalの中で起こったエラーを検出する'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-5529861503253919381</id><published>2011-01-23T18:34:00.001+09:00</published><updated>2011-03-28T20:04:13.427+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pm'/><category scheme='http://www.blogger.com/atom/ns#' term='hachiojipm'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Hachioji.pm #1</title><summary type='text'>LTしました!「Perlで杉を伐採しよう」という、タイムリーかつ割とどうでもいい様な話題を扱いました＞＜

Perlで杉を伐採しよう！ / Felling with PerlView more presentations from ytnobody.
まとめについては･･･hide_o_55さんの記事がまとめとして秀逸です！

酔魔の猛攻を潜り抜けた記憶を書き溜めておきます＞＜・「寒い」という会場に関する前情報があったものの、「意外とあったかいじゃない！」
・次回は２月開催予定
・サイトを用意しよう！
　＞すでにドメインは取ったけど、MTかwikiのどっちを採用するか迷ってる
・サイトのデザインどうしよう。。
　＞水色を基調にオレンジをちりばめる感じで
・今後の連絡手法をどうするか
　＞Hachioji.pmのついったーアカウントを用意しよう
　＞ちなみにIRCも用意してます irc@</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/5529861503253919381/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=5529861503253919381' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5529861503253919381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5529861503253919381'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/01/perlhachiojipm-1.html' title='[Perl]Hachioji.pm #1'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-904351874422390328</id><published>2011-01-21T11:27:00.000+09:00</published><updated>2011-01-21T11:27:59.644+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Solution for when access to CPAN Meta DB was denied to cpanm</title><summary type='text'>I want to read this topic especially who lives in China --- if you can see this website ---.

If you are waited for cpanm so long long time, maybe, cause is deny of access to CPAN Meta DB.
$ cpanm Data::Model
...
...
### a minute later... ###
...
... omg, too late.
...
### 5 mins later... ###
...
... Ahhhhhhh!! so long! 
...
I was encountered this case on server in Beijin. 
I guess, because </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/904351874422390328/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=904351874422390328' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/904351874422390328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/904351874422390328'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/01/perlsolution-for-when-access-to-cpan.html' title='[Perl]Solution for when access to CPAN Meta DB was denied to cpanm'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-5284831488637389906</id><published>2011-01-17T11:52:00.001+09:00</published><updated>2011-01-17T11:53:30.692+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='ネットライフ'/><title type='text'>[ネットライフ]githubデビューしました</title><summary type='text'>実はアカウント自体去年からあったのですが、ついにレポジトリを2つ公開し、事実上のgithubデビューと相成りました。

ytnobody's Profile - GitHub

みなさんよろしくお願いしますm(_ _)m

Acme-JapaneseCedarytnobody/Acme-JapaneseCedar - GitHub
hachioji.pm #1のLTにてネタとしますw

Zacroytnobody/Zacro - GitHub
語源は果物の「柘榴」。memcachedプロトコル対応のジョブキューイングサーバです。
以前に自作「ニートサーバ」でベンチマークをとったMemcached::Server使ってます。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/5284831488637389906/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=5284831488637389906' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5284831488637389906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5284831488637389906'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/01/github.html' title='[ネットライフ]githubデビューしました'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8697294049169178574</id><published>2011-01-07T21:30:00.001+09:00</published><updated>2011-01-07T21:31:52.851+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Memcached::Serverで作ったニートサーバのベンチマークをとってみた</title><summary type='text'>CPANにMemcached::Serverというモジュールがあるんですが、これを使うと、PerlだけでMemcachedプロトコルに対応したオレオレサーバが作れるんです。
で、このモジュールのサンプルでもあるMemcached::Server::Defaultのドキュメントに、
It works like a normal Memcached server, but not good at efficiency as the real one.
なあんて書いてあるので、
「じゃあMemcached::Serverで作ったニート(=仕事をしない)なサーバなら、どのくらいのパフォーマンスが出るのよ？」
という疑問を抱いてしまい、実際にニートサーバをでっち上げて、本家memcachedとのパフォーマンス比較をしてみました。

ニートサーバのソース「働いたら負けかなと思っている」(AA略)
</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8697294049169178574/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8697294049169178574' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8697294049169178574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8697294049169178574'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/01/perlmemcachedserver.html' title='[Perl]Memcached::Serverで作ったニートサーバのベンチマークをとってみた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-5878939168557385413</id><published>2011-01-05T18:00:00.002+09:00</published><updated>2011-01-05T18:13:49.718+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='Mouse'/><category scheme='http://www.blogger.com/atom/ns#' term='Data::Model'/><title type='text'>[Perl]Data::ModelでつくったスキーマクラスをMouseでくるんでdriver食わせたりしてみた</title><summary type='text'>明けましておめでとうございます。Hachioji.pm#1のLTで何か話したいけど、何を話すか決めきれていないytnobodyです。

かなり前に[Perl]Data::ModelをMouseでextendsしたけどあんまり意味なかった。というメモ。という記事を書いたのですが、2年の時を経てもう一度同じ事をしてみました。
今回もご多分に漏れず備忘録的な記事ですが、今回はちゃんと「意味あるんじゃね？」という風に思わせているはずです。。。

スキーマクラスユーザに関する情報(=userスキーマ)をtokyotyrantに食わせ、ユーザーIDと登録タイムスタンプをSQLiteに食わせる、というデータ構造になってます。

package MySchema;

use Mouse;
use MouseX::Foreign qw/ Data::Model /;
use Data::Model::</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/5878939168557385413/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=5878939168557385413' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5878939168557385413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5878939168557385413'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2011/01/perldatamodelmousedriver.html' title='[Perl]Data::ModelでつくったスキーマクラスをMouseでくるんでdriver食わせたりしてみた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7932562210011140345</id><published>2010-12-27T09:19:00.000+09:00</published><updated>2010-12-27T09:19:37.859+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='russkii'/><title type='text'>[Perl]キリル文字→ローマ字の翻字をするには</title><summary type='text'>以前にも挑戦してうまくいかなかったキリル文字の翻字。
一時はモジュールの自作も検討しましたが、CPANにそれを実現してくれるモジュールがありました。

その名も、Lingua::Translit。

Lingua::Translitの使い方。
使い方はPODにも書いてある通り。簡単です。

use warnings;
use strict;
use Lingua::Translit;

my $lt = Lingua::Translit-&gt;new( 'GOST 7.79 RUS' );
my $text_tr = $lt-&gt;translit( 'Этот модуль завершила моё предназначение.' );
print $text_tr. "\n"; 

結果。
$ perl translit.pl 
E`tot modul` zavershila moyo </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7932562210011140345/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7932562210011140345' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7932562210011140345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7932562210011140345'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/12/perl_27.html' title='[Perl]キリル文字→ローマ字の翻字をするには'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7532818709238339951</id><published>2010-12-24T17:05:00.001+09:00</published><updated>2010-12-24T17:05:45.499+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenVZ'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]VEコンテナにperlbrewインストールすると「whichが使えない」と叫ぶ</title><summary type='text'># perlbrew list
Can't exec "which": No such file or directory at ./perlbrew line 522.
Use of uninitialized value in substitution (s///) at ./perlbrew line 523.
  /usr/bin/perl (5.8.8)
こうなったときは、
# yum -y install which
するといいです。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7532818709238339951/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7532818709238339951' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7532818709238339951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7532818709238339951'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/12/perlveperlbrewwhich.html' title='[Perl]VEコンテナにperlbrewインストールすると「whichが使えない」と叫ぶ'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-3620067016303654065</id><published>2010-12-24T16:54:00.000+09:00</published><updated>2010-12-24T16:54:07.473+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='RedHat'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Linux]コマンド名からrpmを探す</title><summary type='text'>メモ。

あるプログラムが含まれているRPMパッケージを探すには

たとえば which を探す場合。
# whereis which
which: /usr/bin/which /usr/share/man/man1/which.1.gz
# rpm -qf /usr/bin/which
which-2.16-7

とすれば見つかる。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/3620067016303654065/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=3620067016303654065' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3620067016303654065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3620067016303654065'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/12/linuxrpm.html' title='[Linux]コマンド名からrpmを探す'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-49397472943903581</id><published>2010-12-15T11:54:00.001+09:00</published><updated>2010-12-15T11:58:37.448+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenVZ'/><title type='text'>[OpenVZ]メモリリソースの割り当て</title><summary type='text'>割り当て例えば、ID300のコンテナにメモリリソースを割り当てる際、最低確保するメモリを64M、最大メモリを256Mに設定する場合。
# vzctl set 300 --privvmpages 64M --vmguarpages 256M --save
で設定できます。

確認まだコンテナを起動していない場合は、コンテナを起動する必要がありますので、起動しておきます。
# vzctl start 300
コンテナを起動したら、
# vzctl exec 300 free -m
で、メモリが確保されていることを確認しましょう。
# vzctl exec 300 free -m
             total       used       free     shared    buffers     cached
Mem:            64          8</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/49397472943903581/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=49397472943903581' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/49397472943903581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/49397472943903581'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/12/openvz.html' title='[OpenVZ]メモリリソースの割り当て'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-2659908424372666146</id><published>2010-12-15T11:46:00.000+09:00</published><updated>2010-12-15T11:46:14.485+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenVZ'/><title type='text'>[OpenVZ]CPUリソースの管理と割り当て</title><summary type='text'>CPUリソースの管理vzcpucheckコマンドで、現在割り当てられているCPUリソースと、ハードウェア全体におけるCPUリソースが把握できます。
# vzcpucheck
Current CPU utilization: 7000
Power of the node: 600010

コンテナに割り当てるCPUリソースを変更する例えば、ID300のコンテナに割り当てるCPUリソースを変更するとして、最低限確保されるCPUリソースを2000、最大CPUリソースを6000にする場合は、
# vzctl set 300 --cpuunits 2000 --cpulimit 6000 --save
とすればOKです。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/2659908424372666146/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=2659908424372666146' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2659908424372666146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2659908424372666146'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/12/openvzcpu.html' title='[OpenVZ]CPUリソースの管理と割り当て'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-4102129736879542680</id><published>2010-12-13T14:49:00.001+09:00</published><updated>2011-03-28T20:04:13.428+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hachiojipm'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Hachioji.pmに参加しました</title><summary type='text'>uzulla氏主催のもと、12/11(土)に八王子にて開催された(東京西部、多摩地域).pm #0に参加してきました。

八王子のアクセスの良さはぁァァァァ、西東京一いぃィィィィッッッ！！！まず、会場となった八王子は中央線、京王線、横浜線をカバーし、アクセスが非常に良いです。
しかも！八王子の駅がめっちゃキレイ！！で、バカでかいビッ○カメラがあったりして、機材調達にも事欠きません！

Hachioji.pmとTakao.mtが名前の候補に。Takao.mtは高尾山青空ハッカソンのイベント名に譲ることにして、Hachioji.pmを正式名称とすることに決定。
こういうアウトドアなイベントはいいですね！ただ、回線が届くかどうかが心配ではありますが。。。

八王子は立川と仲が悪いらしい？西八王子の某氏曰く「いけ好かねえ感じ」だそうで。。。
Hachioji.pmに名前が決まったことで、「立川に</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/4102129736879542680/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=4102129736879542680' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4102129736879542680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4102129736879542680'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/12/perlhachiojipm.html' title='[Perl]Hachioji.pmに参加しました'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7515957761906463349</id><published>2010-12-07T18:25:00.000+09:00</published><updated>2010-12-07T18:25:16.933+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Perl]perlbrew + cpanmで任意のディレクトリにperl環境を構築する</title><summary type='text'>perlbrew+cpanmでPerl環境を丸ごとホームに置く - nabnabの日記の通りに進めたところ、問題なく構築できましたというお話。

ログ等を取りそびれたので、後日ちゃんとログ付きで記事を起こしなおします。。。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7515957761906463349/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7515957761906463349' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7515957761906463349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7515957761906463349'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/12/perlperlbrew-cpanmperl.html' title='[Perl]perlbrew + cpanmで任意のディレクトリにperl環境を構築する'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7987334467360671215</id><published>2010-12-07T17:29:00.001+09:00</published><updated>2010-12-07T17:30:16.610+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Perl]明示的なハッシュリファレンスの指定について知った</title><summary type='text'>ハッシュリファレンスを書くとき、
my $a = { hoge =&gt; 'fuga' };
のように書くわけですが、とあるPerlコードを覗いていたとき、
my $a = +{ hoge =&gt; 'fuga' };
のような記述を見かけたわけです。
ぱっと見て、'+'が何なのかよく解らなかったので、Twitterで聞いてみたところ、
明示的にハッシュリファレンスを渡している
単項の+はNOPなのでB::Deparseで同一になるはず
とご教示いただきました。ありがとうございます。

実際に確認してみました。
スクリプトは以下のように記述。
use warnings;
use strict;
use Data::Dumper;

my $a = { hoge =&gt; 'fuga' };
my $b = +{ hoge =&gt; 'fuga' };

B::Deparseに通してみたところ。
$ </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7987334467360671215/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7987334467360671215' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7987334467360671215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7987334467360671215'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/12/perl.html' title='[Perl]明示的なハッシュリファレンスの指定について知った'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7899826683167705630</id><published>2010-11-16T12:00:00.000+09:00</published><updated>2010-11-16T12:00:57.963+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]リファレンスをそのままintしたらどうなった</title><summary type='text'>hironorism: int([])とかint({})とかリファレンスをint評価したときに取れる数字これなあに？　#perl11:52am, Nov 16 from Twit for Windowsytnobody: @hironorism なにそれこわい＞＜11:52am, Nov 16 from HootSuite
ということがあったので、検証。

use Data::Dumper;

my $a = {};
print $a."\n";
print Dumper( int $a );
print Dumper( sprintf '%08lx', int $a );

結果こちら。

HASH(0x85e7818)
$VAR1 = 140408856;
$VAR1 = '085e7818';
</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7899826683167705630/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7899826683167705630' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7899826683167705630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7899826683167705630'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/11/perlint.html' title='[Perl]リファレンスをそのままintしたらどうなった'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-5195876281945130510</id><published>2010-11-16T10:20:00.001+09:00</published><updated>2010-11-16T10:22:42.850+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='生活'/><category scheme='http://www.blogger.com/atom/ns#' term='涙目'/><title type='text'>[生活]ついに30歳になりました</title><summary type='text'>去る11/13、とうとう30歳の誕生日を迎えました。

今年は全般的に多忙なせいか、去年のような絨毯爆撃は喰らっていませんｗ</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/5195876281945130510/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=5195876281945130510' title='2 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5195876281945130510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5195876281945130510'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/11/30.html' title='[生活]ついに30歳になりました'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8202373942062461915</id><published>2010-11-09T20:51:00.000+09:00</published><updated>2010-11-09T20:51:49.666+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]LWP::UserAgentとかでファイルアップロードしたい</title><summary type='text'>HTTP::Request::Commonのドキュメントに書いてあるんですけど、思いのほかうまく探せませんでした。

use warnings;
use strict;
use HTTP::Request::Common;
use LWP::UserAgent;

my $req = POST( 
    'http://upload.er/uploader.cgi',
    Content_Type =&gt; 'form-data',
    Content =&gt; {
        data =&gt; [ "file.txt" ],
    } 
);

my $ua = LWP::UserAgent-&gt;new;
$ua-&gt;request( $request );

これでfile.txtをうpしてくれます。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8202373942062461915/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8202373942062461915' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8202373942062461915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8202373942062461915'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/11/perllwpuseragent.html' title='[Perl]LWP::UserAgentとかでファイルアップロードしたい'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-4645476714877946098</id><published>2010-10-27T19:57:00.000+09:00</published><updated>2010-10-27T19:57:32.478+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]遂にYAPC::Asia 2010へ参加してきました！！</title><summary type='text'>いまさらなエントリです。はい。

既にYAPC::Asia 2010 2日目ライブレポートにある通り、去る10/15(金)～10/16(土)に開催された、念願のYAPC::Asia 2010に参加してきました！
イベントそのものについては公式サイトに譲るとして、僕自身の感想を残しておきます。

著名なPerlハッカーと話せる！例えばdankogaiさんやlestrratさん、Yappoさん等、国内の著名Perlハッカーと話すことができます！
他愛もない話から、Perlに関するまあまあディープな話題まで、彼らは気さくに応じてくれました！
dankogaiさんとYappoさんに至っては初対面にも関わらず、です。
miyagawaさんは基調講演で、「Perlは人と人をつなぐグルー言語」という様な事を仰ってましたが、正にこれを体現した出来事でしょう。
そして、Perlの作者であるLarry </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/4645476714877946098/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=4645476714877946098' title='2 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4645476714877946098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4645476714877946098'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/10/perlyapcasia-2010.html' title='[Perl]遂にYAPC::Asia 2010へ参加してきました！！'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7477345542161187890</id><published>2010-10-16T10:08:00.010+09:00</published><updated>2010-10-17T23:08:24.801+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='yapc'/><title type='text'>[Perl]YAPC::Asia 2010 2日目ライブレポート</title><summary type='text'>聞いた事そのままです。
感想とか後でまとめたいなー。

How Xslate works - gfx電車遅延のため10分送らせてスタート。
The next generation template engine

gfx loves perl internal;)

Template engine for perl5
xsで書かれてる。
MakamakaさんがPurePerl版をかいてる
なぜ今更テンプレートエンジンか？すでに様々なテンプレートエンジンがあるのに。
→それぞれ一長一短。完璧なものがない。

Template::Text
なんでもできる。
プラグインもある。
だが遅い。
複雑。
XSSを産みやすい。

HTML::Template
早い。
機能が絞り込まれていて、良い。
Perlのインターフェースが使いにくい。
機能が貧弱。
XSSをとてもうみやすい。

Text::</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7477345542161187890/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7477345542161187890' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7477345542161187890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7477345542161187890'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/10/perlyapcasia-2010-2.html' title='[Perl]YAPC::Asia 2010 2日目ライブレポート'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-1350142642443586304</id><published>2010-10-05T13:05:00.002+09:00</published><updated>2010-10-13T12:14:25.086+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='PSGI'/><title type='text'>[Perl]PlackのSyntax Sugar "Flea"を試してみた</title><summary type='text'>最近ご無沙汰だったPlackに触るべく、何かネタがないかなー、とCPANをフラフラと彷徨っていたところ、Fleaというモジュールが目につきました。
面白そうだったので、さっそく試してみましたという記録です。
あくまで、Synopsisをなぞった程度なんですけどもねー。

※Flea = "ノミ"の意だそうで、podみててもノミを思わせるジョークがちらほらと見受けられます。

まず、トップに表示するhtmlをこさえます。
index.html&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;Flea ノミのように小さなPlack Syntax Sugar&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
  &lt;h1&gt;Flea ノミのように小さなPlack Syntax Sugar&lt;/h1&gt;
  &lt;p&gt;工事中&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;

で、psgiファイルを用意します。
</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/1350142642443586304/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=1350142642443586304' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1350142642443586304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1350142642443586304'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/10/perlplacksyntax-sugar-flea.html' title='[Perl]PlackのSyntax Sugar &quot;Flea&quot;を試してみた'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_UhCJ9f8CQWU/TKqhvip6zxI/AAAAAAAAAIo/UTukwo69Yfk/s72-c/Screenshot-Flea+%E3%83%8E%E3%83%9F%E3%81%AE%E3%82%88%E3%81%86%E3%81%AB%E5%B0%8F%E3%81%95%E3%81%AAPlack+Syntax+Sugar+-+Google+Chrome.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-2567948460491254381</id><published>2010-09-27T10:54:00.000+09:00</published><updated>2010-09-27T10:54:20.752+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Linux]vimで文字化けする場合の対処</title><summary type='text'>~/.vimrcに以下の記述を加えると良いそうで。
set encoding=utf8
set fileencodings=iso-2022-jp,sjis,utf8
</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/2567948460491254381/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=2567948460491254381' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2567948460491254381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2567948460491254381'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/09/linuxvim.html' title='[Linux]vimで文字化けする場合の対処'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-3833260519375314513</id><published>2010-08-24T23:47:00.000+09:00</published><updated>2010-08-24T23:47:16.984+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache'/><title type='text'>[Linux]Apacheがセマフォテーブルを食いつぶしたときの対処方法</title><summary type='text'>さっき突然Apacheが寝ちゃって、その上error_logに
[emerg]: (28)No space left on device
などという血文字を残していた。

とりあえずググってみると、
httpdが起動しない！ - 専用サーバーならプラスアルファレンタルサーバーの専用サーバー
というページを発見。

vi /etc/httpd/logs/error_logで　(ここで最後の50行表示して確認)

○エラー：　No space left on device: mod_rewrite: could not create rewrite_log_lock
○エラー：　No space left on device: Cannot create SSLMutex Configuration Failed

このようなログが残っていたら以下のコマンドでセマフォテーブルをクリアする。↓</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/3833260519375314513/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=3833260519375314513' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3833260519375314513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3833260519375314513'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/08/linuxapache.html' title='[Linux]Apacheがセマフォテーブルを食いつぶしたときの対処方法'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-3241482154499489303</id><published>2010-08-13T20:53:00.002+09:00</published><updated>2010-09-09T20:01:07.181+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='テスト'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Data-Model-0.00006のインストールで嘆いていたら</title><summary type='text'>とあるXen環境で、Data-Model-0.00006のインストールに失敗して、原因を調べていたのですが、テストこけた箇所しか解らない状態ではまってしまいました。
「もうダメだ、とりあえずこのやるせなさを吐き出そう」と思い、つぶやいてみたところ、事態は思わぬ方向に。


ytnobody: Data::Modelはいんない＞＜ t/010_core/iterator.t:76で、'empty is undef'のはずが ''を返してきてる～＞＜ #perl7:52pm, Aug 13 from Web
Yappo: @ytnobody 環境おしえてくださいー＞＜7:58pm, Aug 13 from Echofon
ytnobody: @Yappo uname -r で　2.6.18-164.10.1.el5xen なCentOS5.4です；；8:02pm, Aug 13 from </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/3241482154499489303/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=3241482154499489303' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3241482154499489303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3241482154499489303'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/08/perldata-model-000006.html' title='[Perl]Data-Model-0.00006のインストールで嘆いていたら'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-1941439714327984836</id><published>2010-08-08T12:00:00.000+09:00</published><updated>2010-08-08T12:00:59.294+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ネットライフ'/><title type='text'>[ネットライフ]ロシア語学習ブログをはじめました</title><summary type='text'>「ブログを書かないと覚えない」ということが最近わかってきたので、思い切ってロシア語学習ブログЗолотые заклинание ~金色の呪文~をオープンしました。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/1941439714327984836/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=1941439714327984836' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1941439714327984836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1941439714327984836'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/08/blog-post.html' title='[ネットライフ]ロシア語学習ブログをはじめました'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-873925021242696294</id><published>2010-08-02T15:58:00.001+09:00</published><updated>2010-08-27T20:05:54.447+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TokyoTyrant'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>[Linux]TokyoTyrantの相互レプリケーション</title><summary type='text'>今更なタイトルですが、忘れっぽいオイラ自身のためのメモですので、「出遅れすぎ」とかいうツッコミは全力スルーさせていただきますw

要するに、ttserverのオプションに -ulog、-mhost、-mport、-sid を渡してあげれば良いんです。

ノード1(192.168.1.1)# mkdir /var/ttserver/ulog
# ttserver -port 1978 -sid 1 -mhost 192.168.1.2 -mport 1978 -ulog /var/ttserver/ulog casket-1.tch

ノード2(192.168.1.2)# mkdir /var/ttserver/ulog
# ttserver -port 1978 -sid 2 -mhost 192.168.1.1 -mport 1978 -ulog /var/ttserver/ulog </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/873925021242696294/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=873925021242696294' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/873925021242696294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/873925021242696294'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/08/linuxtokyotyrant.html' title='[Linux]TokyoTyrantの相互レプリケーション'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8970541553882020079</id><published>2010-07-28T18:02:00.001+09:00</published><updated>2011-04-22T10:36:40.981+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>[JavaScript]ただ単純にTwitterのTLを自動リロードするだけのブックマークレット</title><summary type='text'>タイトルのまんまです。
とりあえずJimbezameという仮の名前をつけておきます。
javascript:(
  function(e){
    setInterval(
      function(){
        if(parseInt($('#new_results_notification').css('height'))&gt;0){
          $('#results_update').trigger('click');
        }
      },3000
    );
    alert('Jimbezame, ready ok.');
  }
)(document)

2011/4/22 追記
新しいTwitter webに対応したバージョンです。
javascript:(
  function(e){
    setInterval(
      </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8970541553882020079/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8970541553882020079' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8970541553882020079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8970541553882020079'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/07/javascripttwittertl.html' title='[JavaScript]ただ単純にTwitterのTLを自動リロードするだけのブックマークレット'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-3567021714931468082</id><published>2010-07-27T22:44:00.001+09:00</published><updated>2010-07-28T09:30:01.782+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>[JavaScript]今見てるページをTwitterにPOSTするブックマークレット</title><summary type='text'>ChromeやFirefoxなんか使ってWebを色々見てるときに、ふと
「このページ、TwitterにPOSTしとこ！」
とか思い立ったりするんですけど、これ、まともにやると意外と手間なんですよねえ。
ページのタイトルコピーして、新しいタブ開いて、Twitterにアクセスして、タイトルをペースト。
まだまだ！さらにもいっちょ新規タブ開けてbit.lyにアクセス！でもって元ページのURLコピってbit.lyにペーストしてshortenボタンクリックして、出てきたURLコピって、Twitterのタブ開けてペーストして、ようやくつぶやける。非常に面倒です。

あ、それHootなんたらでとかいう野暮はナシでお願いします。

さて、こんな面倒なもんやってられっけー！という向きには、ブックマークレットを用意しましたので、使ってやってください。
但し！使う前に、若干手間をかけてもらいます。

</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/3567021714931468082/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=3567021714931468082' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3567021714931468082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3567021714931468082'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/07/javascripttwitterpost.html' title='[JavaScript]今見てるページをTwitterにPOSTするブックマークレット'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8628776288943989667</id><published>2010-07-08T11:54:00.001+09:00</published><updated>2010-07-12T14:24:45.728+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Catalyst'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Perl]Catalystのフィルタプラグインを書く</title><summary type='text'>フィルタプラグインここで云う「フィルタプラグイン」ってのは、従来の出力結果を書き換えるプラグインのことです。まんまですね。
で、肝となるのは以下3点。

1. Pluginなのでuse Moose::Role
2. フィルタなのでfinalizeで色々するけど、基本はoverride finalize
3. finalizeは$c-&gt;next::method( @_ )をreturnする

例えば、水を汁に置き換える但し、body内のデータはUTF-8であることが前提です。
package WaterToJuice;
use Moose::Role;

override finalize =&gt; sub {
    my $c = shift;
    $c-&gt;res-&gt;{ body } =~ s/水/汁/g;
    return $c-&gt;next::method( @_ );
};

</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8628776288943989667/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8628776288943989667' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8628776288943989667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8628776288943989667'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/07/perlcatalyst.html' title='[Perl]Catalystのフィルタプラグインを書く'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-1416791153035811481</id><published>2010-06-30T11:56:00.001+09:00</published><updated>2010-09-22T22:57:55.679+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='テスト'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Perl/テスト]Cache-Memcached-Fast-0.19/0.18</title><summary type='text'>環境Perl5.8.8でテスト通りませんでした。念のため、環境。
# perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.18-53.el5, archname=x86_64-linux-thread-multi
    uname='linux builder10.centos.org 2.6.18-53.el5 #1 smp mon nov 12 02:14:55 est 2007 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/1416791153035811481/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=1416791153035811481' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1416791153035811481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1416791153035811481'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/06/perlcache-memcached-fast-019018.html' title='[Perl/テスト]Cache-Memcached-Fast-0.19/0.18'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7592699155419551784</id><published>2010-06-28T19:56:00.002+09:00</published><updated>2011-03-11T09:59:38.478+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Catalyst'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='バッドノウハウ'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Perl]Catalystアプリ配下のロジックを叩きたい</title><summary type='text'>逃げ口上
この記事は、所謂「モダンperl」とは全くもって相反するものと思われます。しかしながら、ユースケースとして記録しておくこと自体に意義の有ることと判断し、ここに掲載する次第です。
この手法を使わざるを得ない時は、設計がぐちゃぐちゃな状態であるか、単に「モダンな」設計ではないものと思われます。今一度、よく設計を見直すことを考慮すべきでしょう。


…この記事があるということは、現に僕自身がぐちゃぐちゃな設計で作ったcatalystアプリケーションを世に出してしまい、そのためにこんな妙な解決策 - バッドノウハウ - を使う必要に迫られたのだということです。これについては、過去の自分を叱咤するとともに、現在の自分の糧とすべしと肝に命じております。
無論、この方法自体はバッドノウハウとはいえ、より研ぎ澄ませば、まさに「モダンな」ノウハウとなり得るものかもしれませんが、僕自身</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7592699155419551784/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7592699155419551784' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7592699155419551784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7592699155419551784'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/06/perlcatalyst.html' title='[Perl]Catalystアプリ配下のロジックを叩きたい'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7013846449752016511</id><published>2010-06-17T10:59:00.000+09:00</published><updated>2010-06-17T10:59:10.523+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ネットライフ'/><title type='text'>[ネットライフ]別ブログ「レコダイバカ一代」開設</title><summary type='text'>ええ、タイトルのとおりです。
レコダイバカ一代</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7013846449752016511/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7013846449752016511' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7013846449752016511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7013846449752016511'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/06/blog-post.html' title='[ネットライフ]別ブログ「レコダイバカ一代」開設'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7639906154182689821</id><published>2010-06-16T15:52:00.000+09:00</published><updated>2010-06-16T15:52:28.001+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Perl]Module::Install::Bundle::LocalLibを試すだけよ</title><summary type='text'>Module::Install::Bundle::LocalLibを試しました。ただそれだけ。
ここからどう派生させるのかがいまいち不明。

~/script/perl/Bundle-Oreore:$ cat Makefile.PL 
use inc::Module::Install;
name 'Bundle-Oreore';
all_from 'lib/Bundle/Oreore.pm';
test_requires 'Test::More' =&gt; 0.32;
requires 'Email::Sender';

bundle_local_lib;

WriteAll;

~/script/perl/Bundle-Oreore:$ perl Makefile.PL 
include /home/yt/script/perl/Bundle-Oreore/inc/Module/</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7639906154182689821/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7639906154182689821' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7639906154182689821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7639906154182689821'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/06/perlmoduleinstallbundlelocallib.html' title='[Perl]Module::Install::Bundle::LocalLibを試すだけよ'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-4972832042198743986</id><published>2010-06-14T18:01:00.007+09:00</published><updated>2010-11-01T11:30:22.086+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Catalyst'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='PSGI'/><category scheme='http://www.blogger.com/atom/ns#' term='Starman'/><title type='text'>[Perl]最速セットアップ案内 Catalyst on Starman</title><summary type='text'>さすがにタイトルの「最速」は言い過ぎ感たっぷりなんですが、僕でもそのくらい安直にセットアップができたという事です。
ちなみに僕はPlack/PSGIをまともに触ったことがありません。「バカでもわかるPlack/PSGI - JPerl Advent Calendar 2009」を読んで、
「へえ、そういうものがあるんだねえ（棒読み）」
などと曰う程度にしか知らないという状態です。
まあでも今のところ、オレオレWAFをこさえるつもりなど毛頭ありません。
よって、この辺は概念だけ知ってれば良いかな、と高を括っている訳です。

前提条件これ以降は以下のソフトウェアがインストール済みである前提で書いていきます。
cpanminus
Catalyst 5.8.x

また、既にCatalyst 5.8.xに対応したCatalystアプリが用意できているものとします。
もしなければ、今すぐ作って下さい</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/4972832042198743986/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=4972832042198743986' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4972832042198743986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4972832042198743986'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/06/perl-catalyst-on-starman.html' title='[Perl]最速セットアップ案内 Catalyst on Starman'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-2669343337473770225</id><published>2010-05-25T17:17:00.004+09:00</published><updated>2010-05-25T17:31:23.627+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Net-OpenSocial-Client-0.01_05を使う際の注意</title><summary type='text'>まず、Makefile.PLを見てください。require Any::Mooseなので、Any::Mooseがバージョン要件を満たしていればmakeできます。しかし、ソースを見てみると、4行めにuse Any::Moose 'X::AttributeHelpers';と書かれています。これは、Mooseが入っていてMooseX::AttributeHelpersが入っていない場合だと、この4行目で怒られます。Couldn't load class (MooseX::AttributeHelpers::Trait::Base) because: has '+attr' is not supported in roles at /usr/local/lib/perl/5.8.8/Moose/Meta/Role.pm line 198 Moose::Meta::Role::</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/2669343337473770225/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=2669343337473770225' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2669343337473770225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2669343337473770225'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/05/perlnet-opensocial-client-00105.html' title='[Perl]Net-OpenSocial-Client-0.01_05を使う際の注意'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-942676894431438349</id><published>2010-05-03T22:33:00.001+09:00</published><updated>2010-05-03T22:35:07.529+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Linux]request_module: runaway loop modprobe binfmt-464c</title><summary type='text'>request_module: runaway loop modprobe binfmt-464cって言われた。  64bitカーネルを動かすべきところで32bitカーネルを動かした場合に出るらしい。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/942676894431438349/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=942676894431438349' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/942676894431438349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/942676894431438349'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/05/linuxrequestmodule-runaway-loop.html' title='[Linux]request_module: runaway loop modprobe binfmt-464c'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7551631872218985956</id><published>2010-05-03T13:09:00.002+09:00</published><updated>2010-05-03T13:23:18.838+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MEPIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Linux]MEPIS Linux 8.5 LiveCDでGUIが起動しなくて困ったとき</title><summary type='text'>ゴールデンウィーク真っ只中に、自宅サーバのUbuntuがすっ飛んじゃって涙目のytnobodyです。みなさん、楽しいゴールデンウィークをお過ごしでしょうか？オイラはサーバの中身が空っぽになっちゃって、ちょっぴりブルーです＞＜さて、そんなブルーなオイラにぴったりのブルーなディストリ「MEPIS Linux 8.5」を、自宅サーバの新しいOSに選定しました。しかし、こういう状況の時こそ更なる試練は待ち構えているものです。インストールをするためにMEPIS LinuxのLive-CDをブートしてみたものの、Xorgが立ち上がってこない・・・＞＜そんな時！このページのDoes not boot to graphical login (kdm)という項目を確認してみましょう。。。    * Boot using the Safeboot option on the opening menu (</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7551631872218985956/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7551631872218985956' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7551631872218985956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7551631872218985956'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/05/linuxmepis-linux-85-livecdgui.html' title='[Linux]MEPIS Linux 8.5 LiveCDでGUIが起動しなくて困ったとき'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8400177841876015219</id><published>2010-04-28T01:08:00.002+09:00</published><updated>2010-04-28T01:19:12.453+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='Data::Model'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Perl]Data::Modelの継承クラス使ってて"extra bytes"言われたら</title><summary type='text'>例えば、 my $model = MyDataModel-&gt;new;my $name = $model-&gt;lookup( member =&gt; $member_id );みたいなコードがあったとして、lookupメソッドが走るときに"extra bytes"ってエラーが出ることがあります。そんな時は、テーブルに格納されているデータを疑ってみてください。もしかすると、decodeされっぱなしのデータが格納されているかもしれません。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8400177841876015219/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8400177841876015219' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8400177841876015219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8400177841876015219'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/04/perldatamodelextra-bytes.html' title='[Perl]Data::Modelの継承クラス使ってて&quot;extra bytes&quot;言われたら'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-486735161809415848</id><published>2010-04-16T10:42:00.004+09:00</published><updated>2010-06-01T11:45:49.495+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='TokyoTyrant'/><category scheme='http://www.blogger.com/atom/ns#' term='Data::Model'/><title type='text'>[Perl]Data::ModelをインターフェースとしてTokyoTyrantへデータの出し入れをする際にハマった</title><summary type='text'>YappoLogs: KVSでORマッパーを使うという事を参考に、スキーマクラスを構築して、データの出し入れをしました…が、Can't use string ("k… ÎKÇ                         » Ú") as a HASH ref while "strict refs" in use at /usr/lib/perl5/site_perl/5.8.8/Data/Model/Driver/Memcached.pm line 188.というエラーを吐いてしまい、データの出し入れどころじゃない状態になってしまいました。どうやらデータのシリアライズ処理に問題が発生しているようです…で、念のためData::Modelのテストコード[t/060_driver/memcached/serializer.t]を読んでみたわけですが、シリアライズ処理のテストの冒頭で、テスト</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/486735161809415848/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=486735161809415848' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/486735161809415848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/486735161809415848'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/04/perldatamodeltokyotyrant.html' title='[Perl]Data::ModelをインターフェースとしてTokyoTyrantへデータの出し入れをする際にハマった'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-993540570211816044</id><published>2010-04-15T18:39:00.003+09:00</published><updated>2010-04-15T19:04:45.583+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenVZ'/><category scheme='http://www.blogger.com/atom/ns#' term='Install'/><category scheme='http://www.blogger.com/atom/ns#' term='TokyoTyrant'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>[OpenVZ]centos-5-x86_64-default なVEコンテナでttservctl走らせる時の注意</title><summary type='text'>TokyoTyrantをインストールすると、/usr/local/sbin/ttservctlと/usr/local/bin/ttserverができます。普通だと# ttservctl startStarting the server of Tokyo TyrantExecuting: ttserver -port 1978 -dmn -pid /var/ttserver/pidDoneとなるところ、centos-5-x86_64-default なVEコンテナでは# ttservctl startStarting the server of Tokyo TyrantExecuting: ttserver -port 1978 -dmn -pid /var/ttserver/pid/usr/local/sbin/ttservctl: line 72: ttserver: command </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/993540570211816044/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=993540570211816044' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/993540570211816044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/993540570211816044'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/04/openvzcentos-5-x8664-default.html' title='[OpenVZ]centos-5-x86_64-default なVEコンテナでttservctl走らせる時の注意'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-3532569729880144236</id><published>2010-04-15T18:32:00.002+09:00</published><updated>2010-04-15T18:35:03.265+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Install'/><category scheme='http://www.blogger.com/atom/ns#' term='TokyoCabinet'/><category scheme='http://www.blogger.com/atom/ns#' term='TokyoTyrant'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>[TokyoCabinet]CentOS5へのインストールメモ</title><summary type='text'>しょっちゅう忘れるのでメモ。・TCのconfigureにはlibbz.hが必須。だから# yum -y install zlib2-develと言う風にしなさい、なんですよ。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/3532569729880144236/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=3532569729880144236' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3532569729880144236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3532569729880144236'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/04/tokyocabinetcentos5.html' title='[TokyoCabinet]CentOS5へのインストールメモ'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-6717432679741587730</id><published>2010-04-15T17:05:00.005+09:00</published><updated>2010-04-15T17:15:03.199+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenVZ'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='Gearman'/><title type='text'>[OpenVZ]VEコンテナ内でGearman-1.11をインストールする際の注意</title><summary type='text'>テスト時に、コンテナに対してメモリが最低512MBは割り当てられていないと、Out of memory になります。コンテナに対してのメモリの割り当て方法は# vzctl set [VEID] --privvmpages 512M --vmguarpages 512M --saveとなります。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/6717432679741587730/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=6717432679741587730' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6717432679741587730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6717432679741587730'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/04/openvzvegearman-111.html' title='[OpenVZ]VEコンテナ内でGearman-1.11をインストールする際の注意'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-3499802492575525569</id><published>2010-04-13T16:44:00.002+09:00</published><updated>2010-04-13T16:47:34.190+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ネットライフ'/><title type='text'>[ネットライフ]to.というURI短縮サービスについてdig叩いてみたよ</title><summary type='text'>非常に興味深い。$ dig to.; &lt;&lt;&gt;&gt; DiG 9.4.2-P2.1 &lt;&lt;&gt;&gt; to.;; global options:  printcmd;; Got answer:;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 42625;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 0;; QUESTION SECTION:;to.    IN A;; ANSWER SECTION:to.   86342 IN A 216.74.32.107;; AUTHORITY SECTION:to.   86342 IN NS ns1.iafrica.com.to.   86342 IN NS tonic.to.to.   86342 IN NS </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/3499802492575525569/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=3499802492575525569' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3499802492575525569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3499802492575525569'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/04/touri.html' title='[ネットライフ]to.というURI短縮サービスについてdig叩いてみたよ'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7971002428801991192</id><published>2010-04-13T11:37:00.002+09:00</published><updated>2010-04-13T11:46:30.172+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>[jQuery]IEがXHRをキャッシュするという厄介な事象を叩き潰すために</title><summary type='text'>jQuery使う上での基本なのかもしれないけれど、覚えたての身としては知らないことだったのでメモ。IEがajaxキャッシュするのを抑制 - はらぐろブログラマン にて知りました。スクリプトの頭の方で$.ajaxSetup({ cache: false });とすればいいらしいです。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7971002428801991192/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7971002428801991192' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7971002428801991192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7971002428801991192'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/04/jqueryiexhr.html' title='[jQuery]IEがXHRをキャッシュするという厄介な事象を叩き潰すために'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8105623115762627023</id><published>2010-04-06T18:29:00.007+09:00</published><updated>2010-11-10T11:29:17.876+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]大抵のPerlerに恩恵を与えるcpanminus</title><summary type='text'>cpanが使いにくいと嘆くアナタ！そんなアナタにこそ使ってほしいモノがある！あるんです！
それがcpanminus。

使ってみようと思い立ち、実際に使ってみて、その素晴らしさに感激しました。

インストール
ここはさすがにcpanを使います。しばしの辛抱を…とはいっても、なんとcpanminusは依存モジュールがありません!!!依存モジュールはかなり少ないです。
# cpan App::cpanminus

これだけ。あっという間にcpanminusのインストールが終わります。

2010-11-10 追記
こちらの記事によると、以下の様なインストール方法もあるそうです。
$ mkdir bin &amp;&amp; cd ~/bin
$ wget http://xrl.us/cpanm
$ chmod +x cpanm

さらに追記
$ wget http://xrl.us/cpanmを
$ </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8105623115762627023/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8105623115762627023' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8105623115762627023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8105623115762627023'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/04/perlperlercpanminus.html' title='[Perl]大抵のPerlerに恩恵を与えるcpanminus'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8093270190173706396</id><published>2010-04-01T11:15:00.006+09:00</published><updated>2010-04-04T16:19:28.645+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><title type='text'>[Security]"Shareaholic for Firefox" leaks your online activity.</title><summary type='text'>ShareaholicというFirefox pluginがあります。これは、今見ているページをTwitterやtumblrに簡単にpostできるというものです。しかし、勝手に情報を http://dcs.consumerinput.com/ に漏らしちゃうんですね。詳細は暇を見て追記します。4/4 追記面倒ではない範囲で検証しました。環境まず、手元の環境を晒しますね。  OS：Ubuntu 9.10  ブラウザ：Firefox 3.5.8準備検証のために、こちらのテストページ(http://yellowstore.dip.jp/test.html)を用意しました。また、通信中のHTTPヘッダを記録するツールとして、Live HTTP Headersというプラグインを使用しました。手順以下の手順を、それぞれShareaholicが有効である場合と、無効である場合の両方で実施しました。  </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8093270190173706396/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8093270190173706396' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8093270190173706396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8093270190173706396'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/04/securityshareholic-for-firefox-leaks.html' title='[Security]&quot;Shareaholic for Firefox&quot; leaks your online activity.'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_UhCJ9f8CQWU/S7g2xLvjMbI/AAAAAAAAAGg/pYf2hOrIoRA/s72-c/Screenshot-Mozilla+Firefox1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7539138623522781541</id><published>2010-03-24T22:08:00.003+09:00</published><updated>2010-03-24T22:13:02.299+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='russkii'/><title type='text'>[russkii] Здравствуйте!</title><summary type='text'>lang-8.comというwebサービスに登録したので、ロシア語で簡単な自己紹介文を書いてみた。Здравствуйте! [Lang-8]「簡単な」とは言うものの、オイラには非常に難しい内容でしたっと。うう。もう少し集中して勉強しないとね。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7539138623522781541/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7539138623522781541' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7539138623522781541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7539138623522781541'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/03/russkii.html' title='[russkii] Здравствуйте!'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7302906836208791774</id><published>2010-03-23T20:45:00.004+09:00</published><updated>2010-04-06T18:55:01.035+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Perl]cpanでのモジュールインストールを手っ取り早く自動化したい</title><summary type='text'>単純に目的のCPANモジュールをインストールしたいけど、依存モジュールのインストールで[Yes/no]を聞いてくるのってありますよね。依存モジュールが少ないうちはまあ、enter押したりして対応するんですけど、これが沢山になると、ぶっちゃけイヤになります。# 特にCatalystとか。そんな時には、# echo | cpan Any::Moduleとしてあげると、勝手にデフォルトの選択肢を選びつつ、取り急ぎインストールまで漕ぎ着けてくれます。# あ。Any::Module は、インストールしたいモジュール名に置き換えて下さいね？ああ！これで一安心。…でも、手放しでマシンに任せっ切りでは、うまくインストールできなかった時に心配ですよね。どの選択肢が選ばれたのか。どんな原因でうまくインストールできなかったのか。etc...そしたら、こうするといんでないかい？# echo | cpan Any</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7302906836208791774/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7302906836208791774' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7302906836208791774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7302906836208791774'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/03/perlcpan.html' title='[Perl]cpanでのモジュールインストールを手っ取り早く自動化したい'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-6013747217718155479</id><published>2010-03-03T11:52:00.003+09:00</published><updated>2010-03-03T11:57:42.335+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Perl]Data::ModelでPrimary Keyが複数あるテーブルにレコードを追加したい</title><summary type='text'>これでOKmy $model = MyModel-&gt;new;$model-&gt;set( 'multiple_prikey_table' =&gt; {     prikey1 =&gt; 'ID-A-001',     prikey2 =&gt; 'ID-B-002',    data1 =&gt; 1234,} );</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/6013747217718155479/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=6013747217718155479' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6013747217718155479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/6013747217718155479'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/03/perldatamodelprimary-key.html' title='[Perl]Data::ModelでPrimary Keyが複数あるテーブルにレコードを追加したい'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-963669026432720503</id><published>2010-03-02T17:35:00.004+09:00</published><updated>2010-03-02T17:41:02.066+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='メモ'/><title type='text'>[Perl]Encode.pm使ってメールの件名に日本語を使う場合のメモ</title><summary type='text'>ど忘れしてたので、メモ。use Encode;my $subject = encode(     'MIME-Header-ISO_2022_JP',     decode( 'utf8', 'ヤムチャの目にも涙：意味）ヤムチャは死ぬ。' ) );# ヤバいくらいに脳が退化してる気がする。。。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/963669026432720503/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=963669026432720503' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/963669026432720503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/963669026432720503'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/03/perlencodepm.html' title='[Perl]Encode.pm使ってメールの件名に日本語を使う場合のメモ'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-1286021102910176042</id><published>2010-02-25T20:01:00.007+09:00</published><updated>2010-11-15T10:42:40.432+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TurboGears'/><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>[Python]TurboGears2 悔悟録</title><summary type='text'>えーと、基本的なインストール方法は前回の記事のとおりで問題無いですが、念のためおさらいです。


概ねの手順はHow to install TurboGears 2 ー TG2 v2.0 documentationの通り…なんだけど、オイラは途中から違う方法でインストールしました。

ザクリと手順となるコマンドだけを抜き出すと、以下のような具合です。
wget http://peak.telecommunity.com/dist/ez_setup.py
sudo python ez_setup.py
sudo aptitude install libsqlite3-dev sqlite3 python-dev build-essential
sudo easy_install virtualenv
### ここまではほぼ公式ドキュメントどおり。以下、easy_installに頼りまくる。</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/1286021102910176042/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=1286021102910176042' title='2 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1286021102910176042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/1286021102910176042'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/02/pythonturbogears2.html' title='[Python]TurboGears2 悔悟録'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-3659294094494050259</id><published>2010-02-22T18:53:00.002+09:00</published><updated>2010-02-22T19:05:24.839+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TurboGears'/><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>[Python]TurboGears2への逆襲 - TurboGears2インストールメモ</title><summary type='text'>ついにUbuntu9.10にインストールできました！概ねの手順はHow to install TurboGears 2 — TG2 v2.0 documentationの通り…なんだけど、オイラは途中から違う方法でインストールしました。ザクリと手順となるコマンドだけを抜き出すと、以下のような具合です。wget http://peak.telecommunity.com/dist/ez_setup.pysudo python ez_setup.pysudo aptitude install libsqlite3-dev sqlite3 python-dev build-essentialsudo easy_install virtualenv### ここまではほぼ公式ドキュメントどおり。以下、easy_installに頼りまくる。sudo easy_install </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/3659294094494050259/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=3659294094494050259' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3659294094494050259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3659294094494050259'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/02/pythonturbogears2-turbogears2.html' title='[Python]TurboGears2への逆襲 - TurboGears2インストールメモ'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-7744909488051801792</id><published>2010-02-21T16:02:00.005+09:00</published><updated>2010-02-21T17:50:44.690+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TurboGears'/><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>[Python]TurboGearsでtb-adminユーティリティがコケた - 苦悩篇</title><summary type='text'>egg篇から続く何とか不足パッケージをインストールしたっぽいけど、どうやらまだまだ必要なものがあるようだ。How to install TurboGears 2 によると、PythonSetuptoolsDatabase &amp; Driversother dependenciesvirtualenvらしい。Database &amp; Driversとother dependencies、virtualenvあたりはほとんど手つかずなので、これらをインストールしていく。データベース及びドライバTurboGearsは、デフォルトのORマッパーとしてSQLAlchemyというのを使うそうだ。こいつはまだインストールしていないので、eazy_install でインストールする。yt@nephos:~/turbogears$ sudo easy_install SQLAlchemy[sudo] </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/7744909488051801792/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=7744909488051801792' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7744909488051801792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/7744909488051801792'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/02/pythonturbogearstb-admin_21.html' title='[Python]TurboGearsでtb-adminユーティリティがコケた - 苦悩篇'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-3738551553472944922</id><published>2010-02-21T14:38:00.007+09:00</published><updated>2010-02-21T17:50:54.724+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TurboGears'/><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><category scheme='http://www.blogger.com/atom/ns#' term='egg'/><title type='text'>[Python]TurboGearsでtb-adminユーティリティがコケた - egg篇</title><summary type='text'>奮闘篇より続くそういえばeggってなんだ？さっきからgoogle先生に教えを請うているうちに、ちょくちょく見かける「egg」の文字。なんぞこれ？と先生に聞いてみると、Javaで云うところのjarに相当するらしい。そんでもって、PyPIというレポジトリにいろんなeggが溜め込まれているそう。「ぱいぱい」って名前もすごいけど、これ要するにPerlでいうところのCPANじゃないですか。ほほー。足りないものはeggで入れればいいじゃないさらに先生が言うには、「汝、eazy_installでウハウハじゃぞ。」らしい。なんでも、さっきのsetuptoolsをインストールする事でeazy_installというユーティリティを使えるようになったそうで、これを使えばeggをインストールできまっせ。ということらしい。ようし。早速試すぞ。yt@nephos:~/turbogears$ sudo </summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/3738551553472944922/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=3738551553472944922' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3738551553472944922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3738551553472944922'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/02/pythonturbogearstb-admin-egg.html' title='[Python]TurboGearsでtb-adminユーティリティがコケた - egg篇'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-2823828652679881198</id><published>2010-02-21T13:29:00.008+09:00</published><updated>2010-02-21T17:51:01.758+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TurboGears'/><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>[Python]TurboGearsでtb-adminユーティリティがコケた - 奮闘篇</title><summary type='text'>[Python]Ubuntu9.10でTurboGearsことはじめもチェックするヨロシ。オイラのUbuntu9.10マシンでもこけました。yt@nephos:~/turbogears$ tg-admin quickstartTraceback (most recent call last):  File "/usr/bin/tg-admin", line 5, in     from pkg_resources import load_entry_point  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2566, in     parse_requirements(__requires__), Environment()  File "/usr/lib/python2.6/dist-packages/</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/2823828652679881198/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=2823828652679881198' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2823828652679881198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2823828652679881198'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/02/pythonturbogearstb-admin.html' title='[Python]TurboGearsでtb-adminユーティリティがコケた - 奮闘篇'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-5474617484134441633</id><published>2010-02-21T12:50:00.010+09:00</published><updated>2010-02-21T17:54:49.494+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TurboGears'/><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>[Python]Ubuntu9.10でTurboGearsことはじめ</title><summary type='text'>本末転倒かもしれないけど、Pythonを学ぶためにTurboGearsを使おうと思う。自分は今のところ、Pythonではまともに "Hello,World!プログラム" すらソラで組むことができない。まわりを見渡すと、天下のGoogleはGoogle AppsでPythonをいの一番にサポートしているし、Microsoftも.NETにおいてIronPythonという形で実装している。学んでおいて、損は無い言語の一つに違いない。そんなわけで、仕事はおろか、プライベートですらまともに触れたことのないpythonに慣れておこうと思い立った。手始めに参考書として、TurboGears×Python (LLフレームワークBOOKS)を購入した。MVCフレームワークなら、PerlでCatalystに触れているので、概念的に全然違うということも無いだろう。TurboGearsをインストール手始めに、</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/5474617484134441633/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=5474617484134441633' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5474617484134441633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/5474617484134441633'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/02/pythonubuntu910turbogears.html' title='[Python]Ubuntu9.10でTurboGearsことはじめ'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-8503519923833247571</id><published>2010-02-16T15:36:00.002+09:00</published><updated>2010-02-16T16:05:50.199+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenVZ'/><title type='text'>[OpenVZ]/dev/stdin や /dev/stdout が無い時の対処</title><summary type='text'>VEコンテナでcpanつかってTemplate入れようとしたら、cpan&gt; install TemplateRunning install for module TemplateRunning make for A/AB/ABW/Template-Toolkit-2.22.tar.gzTrying with "/usr/bin/wget -O -" to get    http://ftp.jaist.ac.jp/pub/CPAN/authors/id/A/AB/ABW/Template-Toolkit-2.22.tar.gzSystem call "/usr/bin/wget -O - "http://ftp.jaist.ac.jp/pub/CPAN/authors/id/A/AB/ABW/Template-Toolkit-2.22.tar.gz"  &gt; /root/.cpan/</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/8503519923833247571/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=8503519923833247571' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8503519923833247571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/8503519923833247571'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/02/openvzdevstdin-devstdout.html' title='[OpenVZ]/dev/stdin や /dev/stdout が無い時の対処'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-3168000723839172384</id><published>2010-01-06T00:59:00.004+09:00</published><updated>2010-01-06T01:11:07.931+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='russkii'/><title type='text'>[Perl]Convert::Cyrillicでアルファベットへの翻字ができるのかな？</title><summary type='text'>ロシア語の勉強を始めたytnobodyです。まだネイティブの2才児にも劣っているわけですが。で、ちょっと気になったのが翻字。キリル文字からアルファベットに翻字してくれるモジュールとかないのかなーって、 CPANを漁ってみたわけです。そしたらConvert::Cyrillicというモジュールを見つけたので、試してみました。yt@nephos:~/script$ cat cyrillic.pl #!/usr/bin/perluse Convert::Cyrillic;use Data::Dumper;print Dumper( Convert::Cyrillic::cstocs( 'UTF-8', 'VOL', 'Я изучаю русский.' ) );yt@nephos:~/script$ perl cyrillic.pl$VAR1 = 'Я �yoзучаю русск�yoй.'</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/3168000723839172384/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=3168000723839172384' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3168000723839172384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/3168000723839172384'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2010/01/perlconvertcyrillic.html' title='[Perl]Convert::Cyrillicでアルファベットへの翻字ができるのかな？'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-2406046965678271716</id><published>2009-12-30T17:43:00.000+09:00</published><updated>2009-12-30T17:44:23.516+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Data::ModelをMouseでextendsしたけどあんまり意味なかった。というメモ。</title><summary type='text'>表題のとおり、これだけでは意味が無いです。ただextendsしました。と言うだけの話。後学の為のメモとして残します。まず、Data::ModelをextendsしたMyDBクラス。$ cat ./lib/MyDB.pm package MyDB;use Data::Model::Schema;install_model member =&gt; schema {    key 'id';    columns qw(        id name sex age    );};use Mouse;extends 'Data::Model';__PACKAGE__-&gt;meta-&gt;make_immutable( inline_constructor =&gt; 0 );no Mouse;1;__END__MyDBクラスを使ってSQLite上のデータを書き換えるスクリプト。$ cat hoge.pl #!</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/2406046965678271716/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=2406046965678271716' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2406046965678271716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/2406046965678271716'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2009/12/perldatamodelmouseextends.html' title='[Perl]Data::ModelをMouseでextendsしたけどあんまり意味なかった。というメモ。'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7869210287390889864.post-4206447192183434882</id><published>2009-12-26T12:30:00.003+09:00</published><updated>2009-12-26T12:57:59.634+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><title type='text'>[Perl]Data::Model::Tutorial::JAを読もう</title><summary type='text'>今更ながら、Data::Model::Tutorial::JAを読んだ。で、Data::ModelのGJなところを再発見したのでメモ。Schema定義からCREATE TABLEを発行できるアプリのセットアップで手抜きできますね。set_base_driverメソッドの存在Data::ModelにDriver(DBIやらCache::Memcachedやら)を後付けで食わせることができます。Driver定義は、DB１つのみであれば１つだけ定義すればOK。管理上も楽できそうです。ある日突然上司から、DBをMySQLからSQLiteに移行するように言われたりしても、Driver定義だけ書き換えればOK。これでもう悩み無用です。column定義はSchema定義と分離可能column定義の使いまわしができます。同じような構造のcolumn定義を何度も書くようなアホらしいことを避ける事が可能です</summary><link rel='replies' type='application/atom+xml' href='http://yellowstore.blogspot.com/feeds/4206447192183434882/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7869210287390889864&amp;postID=4206447192183434882' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4206447192183434882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7869210287390889864/posts/default/4206447192183434882'/><link rel='alternate' type='text/html' href='http://yellowstore.blogspot.com/2009/12/perldatamodeltutorialja.html' title='[Perl]Data::Model::Tutorial::JAを読もう'/><author><name>ytnobody(YellowTurtle)</name><uri>http://www.blogger.com/profile/06934648289271326672</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_UhCJ9f8CQWU/TTQqC3KOL9I/AAAAAAAAAI8/_n45-zDoesM/s1600-R/ytnobody_char.png'/></author><thr:total>0</thr:total></entry></feed>
