<?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-5676550650056201364</id><updated>2012-02-16T19:37:05.268+09:00</updated><category term='resize'/><category term='handlersocket'/><category term='flash'/><category term='point'/><category term='package'/><category term='news'/><category term='optipng'/><category term='as3'/><category term='free'/><category term='device'/><category term='mnp'/><category term='shopping'/><category term='boost'/><category term='hosting'/><category term='鶴田真由'/><category term='adobe'/><category term='analytics'/><category term='ranking'/><category term='api'/><category term='yql'/><category term='service'/><category term='include'/><category term='chrome'/><category term='make'/><category term='xampp'/><category term='ppa'/><category term='tokyo'/><category term='git'/><category term='affiliate'/><category term='verbose'/><category term='study'/><category term='bookmarklet'/><category term='oreilly'/><category term='makefile'/><category term='nosql'/><category term='mashup'/><category term='actionscript'/><category term='montage'/><category term='c++'/><category term='fc2'/><category term='roration'/><category term='thrift'/><category term='facebook'/><category term='動物園'/><category term='price'/><category term='changelog'/><category term='type'/><category term='いか'/><category term='geocities'/><category term='java'/><category term='検索'/><category term='芸能人'/><category term='rgba'/><category term='format'/><category term='hue'/><category term='wordpress'/><category term='rene'/><category term='ui'/><category term='thinkpad'/><category term='text'/><category term='flickr'/><category term='mac'/><category term='焼肉'/><category term='おサイフケータイ'/><category term='design'/><category term='mp3'/><category term='checkout'/><category term='network'/><category term='dankogai'/><category term='project'/><category term='ubuntu'/><category term='サジェスト'/><category term='hbase'/><category term='svn'/><category term='google'/><category term='tile'/><category term='cooking'/><category term='mail'/><category term='auctions'/><category term='comment'/><category term='manga'/><category term='client'/><category term='pv'/><category term='sphinx'/><category term='perl'/><category term='locale'/><category term='option'/><category term='explorer'/><category term='pidgin'/><category term='github'/><category term='登別'/><category term='javari'/><category term='猫暦'/><category term='tumblr'/><category term='template'/><category term='application'/><category term='site'/><category term='composite'/><category term='excel'/><category term='カマキリ'/><category term='rectangle'/><category term='opensource'/><category term='plugin'/><category term='draw'/><category term='札幌'/><category term='aptitude'/><category term='qrcode'/><category term='image'/><category term='kvm'/><category term='ジンギスカン'/><category term='JR'/><category term='if'/><category term='update'/><category term='Label1'/><category term='share'/><category term='phony'/><category term='六本木'/><category term='無線LAN'/><category term='saturation'/><category term='round'/><category term='lifehack'/><category term='usb'/><category term='cpan'/><category term='optimize'/><category term='engine'/><category term='カレー'/><category term='hands'/><category term='かっこいい'/><category term='post'/><category term='bitly'/><category term='button'/><category term='gae'/><category term='degree'/><category term='s5'/><category term='private'/><category term='seo'/><category term='インタレストマッチ'/><category term='meta'/><category term='jquery'/><category term='yomiowatter'/><category term='wikipedia'/><category term='Label2'/><category term='ヤフオク'/><category term='paypal'/><category term='hatena'/><category term='identify'/><category term='mecab'/><category term='adsense'/><category term='twitter'/><category term='netbook'/><category term='zsh'/><category term='log'/><category term='polaroid'/><category term='server'/><category term='coffee'/><category term='fool'/><category term='frame'/><category term='gmail'/><category term='確率'/><category term='install'/><category term='mobile'/><category term='収益'/><category term='nekogoyomi'/><category term='openid'/><category term='lighttpd'/><category term='ドーナツ'/><category term='居酒屋'/><category term='松っちゃん'/><category term='佐藤雅彦'/><category term='文字'/><category term='web'/><category term='lenny'/><category term='buy'/><category term='firebug'/><category term='donate'/><category term='爆笑問題'/><category term='art'/><category term='disk'/><category term='word'/><category term='brightness'/><category term='date'/><category term='sprite'/><category term='hadoop'/><category term='evernote'/><category term='firefox'/><category term='test'/><category term='iceweasel'/><category term='besier'/><category term='travel'/><category term='regrep'/><category term='iphone'/><category term='popup'/><category term='css'/><category term='zeromq'/><category term='tips'/><category term='YahooBB'/><category term='nhk'/><category term='performance'/><category term='tv'/><category term='review'/><category term='勝間和代'/><category term='bilevel'/><category term='safari'/><category term='透過'/><category term='三船敏郎'/><category term='virtualbox'/><category term='centos'/><category term='fastcgi'/><category term='helloworld'/><category term='mysql'/><category term='bad'/><category term='os'/><category term='security'/><category term='決算'/><category term='manage'/><category term='gigazine'/><category term='朝市'/><category term='cloud'/><category term='sendmail'/><category term='函館'/><category term='thumbnail'/><category term='flex'/><category term='reStructuredText'/><category term='receipt'/><category term='strokewidth'/><category term='考察'/><category term='truecolor'/><category term='html'/><category term='color'/><category term='統計'/><category term='dropbox'/><category term='release'/><category term='cat'/><category term='cafe'/><category term='noise'/><category term='eco'/><category term='yui'/><category term='setup'/><category term='yahoo'/><category term='modulate'/><category term='らーめん'/><category term='shadow'/><category term='exim4'/><category term='チョコレート'/><category term='width'/><category term='javascript'/><category term='develop'/><category term='品川庄司'/><category term='map'/><category term='postfix'/><category term='発表'/><category term='gnu'/><category term='http'/><category term='エンジニア'/><category term='toto'/><category term='gaussian'/><category term='console'/><category term='雪虫'/><category term='msn'/><category term='soccor'/><category term='lampp'/><category term='cms'/><category term='python'/><category term='amazon'/><category term='ビール'/><category term='debian'/><category term='小池栄子'/><category term='domain'/><category term='windows'/><category term='height'/><category term='旅行'/><category term='kumofs'/><category term='imagemagick'/><category term='oauth'/><category term='すし'/><category term='addon'/><category term='vps'/><category term='car'/><category term='apache'/><category term='docutils'/><category term='messenger'/><category term='cassandra'/><category term='dorama'/><category term='emacs'/><category term='ant'/><category term='feed'/><category term='mixi'/><category term='blogparts'/><category term='tool'/><category term='php'/><category term='ajax'/><category term='convert'/><category term='document'/><category term='tutorial'/><category term='lucene'/><category term='target'/><category term='自由が丘'/><category term='font'/><category term='book'/><category term='blog'/><category term='award'/><category term='mt'/><category term='config'/><category term='kindle'/><category term='rgb'/><category term='bog'/><category term='blogger'/><category term='kvs'/><category term='oo'/><category term='icon'/><category term='北海道'/><category term='search'/><category term='livedoor'/><category term='stroke'/><category term='softbank'/><category term='gandom'/><title type='text'>Aggressive Engineer</title><subtitle type='html'>自分用開発メモ。
imagemagick, GNU make, jquery, YUI, Cassandra, MT, Javascript...
&lt;br&gt;節操なく色んなことに手を出してます。
開発環境はdebian lennyだったけど、今は Mac or Ubuntu 10.04</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.tanarky.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default?start-index=101&amp;max-results=100'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>441</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1591998963456685274</id><published>2011-10-17T12:00:00.001+09:00</published><updated>2011-10-17T12:00:02.096+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='thinkpad'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>thinkpad x100e に ubuntu 11.10をインストールしたときのメモ</title><summary type='text'>完全に、自分用メモ。
基本的に、設定類はDropboxに突っ込んで、ln -s しているだけなので、
簡単に復元可能。

% sudo apt-get install aptitude
% sudo aptitude install zsh screen emacs23-nox ibus-mozc git-core google-chrome-stable libxss1 nautilus-dropbox
% chsh
% cd ~/; mkdir Desktop Downloads Templates Public Documents Musics Pictures Videos
% cat .config/user-dirs.dir
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1591998963456685274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1591998963456685274'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/10/thinkpad-x100e-ubuntu-1110.html' title='thinkpad x100e に ubuntu 11.10をインストールしたときのメモ'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-868356618916255651</id><published>2011-09-08T23:29:00.000+09:00</published><updated>2011-09-08T23:29:21.821+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='api'/><category scheme='http://www.blogger.com/atom/ns#' term='facebook'/><title type='text'>facebookアプリについて調査 その2 FQL</title><summary type='text'>ここが大変だよ「Facebookアプリで世界進出！」（1/2）- ＠IT

を読んで、またfacebookアプリに興味がでてきたので、
宿題になっていたFQL周りの調査をしてみる。

わかったことは以下。

facebookは、登録済ドメインに対して、「fb_{$APPID}」という名前のcookieを発行してくれる。$APPIDはドメインを登録した際に発行される
cookieの中にaccess_tokenという値が入っているので、認証が必要なFQL APIに対しては、この文字列を付けてリクエストする

expiresがunixtimeで入っているので、こちらも確認すること 
sigでCookieに改ざんがないことも確認できる

改ざんチェックロジックはこちらのget_uesr_from_cookie参照


FQL APIの一覧は以下のページ参照

Facebook Query </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/868356618916255651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/868356618916255651'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/09/facebook-2-fql.html' title='facebookアプリについて調査 その2 FQL'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8154949323280240770</id><published>2011-08-01T12:00:00.002+09:00</published><updated>2011-08-01T12:00:00.609+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='application'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='facebook'/><title type='text'>facebookアプリについて調査</title><summary type='text'>facebookアプリについて調査したメモ。

とりあえず、hello world的にアプリを作ってみた。
非エンジニア女子による、15分間でできるfacebookアプリデビュー：GAE（Python編） 

サンプル通りで動くが、1点だけ。
GAEのページを直参照する場合はexample.pyのままで動くが、
facebookページからのiframe参照の場合、
getではなく、postでリクエストされるので、以下のように2行を追加

class HomeHandler(BaseHandler):
    def get(self):
        path = os.path.join(os.path.dirname(__file__), "example.html")
        args = dict(current_user=self.current_user,
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8154949323280240770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8154949323280240770'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/08/facebook.html' title='facebookアプリについて調査'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7753837201992409712</id><published>2011-02-05T14:00:00.000+09:00</published><updated>2011-02-05T14:00:04.333+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>Bloggerにページビューモジュールと人気の投稿モジュールが追加されてた</title><summary type='text'>久しぶりに、ブログのデザインをいじっていたら、
新しいモジュールとして、2つ追加されていた

ページビュー表示モジュール

ブログのアクセスをグラフ付きで表示してくれる
過去1週間、1ヶ月、全期間など集計期間を選べる

人気の記事モジュール

投稿済み記事の中から、PVが高い記事を表示してくれる
過去1週間、1ヶ月、全期間など集計期間を選べる


どちらもすごく便利なので、右ナビに追加してみた。

管理画面から、デザイン &gt;  ページ要素、から「過ジェットの追加」を
クリックして、あとはモジュールを選ぶだけ。

人気記事モジュールで、ブログ内の回遊率があがるか、
しばらく表示させて試してみる。
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7753837201992409712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7753837201992409712'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/02/blogger.html' title='Bloggerにページビューモジュールと人気の投稿モジュールが追加されてた'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7325091947053760810</id><published>2011-01-31T10:00:00.003+09:00</published><updated>2011-01-31T10:46:53.882+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>MySQL: Cloud サービス 「Xeround」を実際に使ってみた</title><summary type='text'>Scalability and High Availability for your MySQL Database in the Cloud
MySQLクラウドサービスがあることを知ったので、実際に使ってみたログ。

MySQLクラウドとは、
client=データを扱う側=connectする側
から見ると
server=データを格納する側=connectされる側
が1台のMySQLに見えるってことのようです。

server側のスケールアウトともなう作業などがなくなるので
非常に手間が減ってうれしいことこの上ない。
が、実際に使ってみないとなんとも言えないので、早速使ってみた。 



まずは、サイトに移動してみる。
今はまだBeta版。








アカウントを作ってみるわけですが、
クラウド的な質問が最後に2つ。















データベースの容量をいくつにするか
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7325091947053760810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7325091947053760810'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/mysql-sql-cloud-xeround.html' title='MySQL: Cloud サービス 「Xeround」を実際に使ってみた'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_BDT6UR5b0TI/TUFzqi94yNI/AAAAAAAAA_w/P7WOf3csW_A/s72-c/xeround.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7310448409677813800</id><published>2011-01-29T14:00:00.002+09:00</published><updated>2011-01-30T00:54:08.344+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='kvm'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>kvm環境セットアップ @ Ubuntu 10.10</title><summary type='text'>手持ちのUbuntu Netbook 10.10にKVMで仮想環境を構築する必要があったので、
構築時の設定や手順を備忘録メモ。
まずはインストール。
/home/satoshi/kvm% sudo aptitude install qemu-kvm

で、終了。次に、ディスクイメージの作成。
/home/satoshi/kvm% kvm-img create -f qcow2 tanarky.img 8GB
Formatting 'tanarky.img',fmt=qcow2 size=8589934592 encryption=off cluster_size=0
/home/satoshi/kvm% ls -l tanarky.img
-rw-r--r-- 1 satoshi satoshi 262144 2011-01-23 11:26 tanarky.img
/home/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7310448409677813800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7310448409677813800'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/kvm-ubuntu-1010.html' title='kvm環境セットアップ @ Ubuntu 10.10'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-526289679381732274</id><published>2011-01-28T14:00:00.005+09:00</published><updated>2011-01-28T14:00:00.780+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='perl'/><title type='text'>Perl: WebService::Bloggerをインストールして、Perlからbloggerを更新する</title><summary type='text'>PerlスクリプトからBloggerを更新したかったので、CPANをあさったところ、

WebService::Blogger - search.cpan.org

を見つけたので、レンタルサーバでinstallして、動かしてみた。
まずはinstall。
% sudo cpan Test::NoWarnings
% sudo cpan List::MoreUtils
% sudo cpan Dist::CheckConflicts  
% sudo cpan Package::Stash
% sudo cpan Moose
% sudo cpan WebService::Blogger 

依存関係を解決してくれなかったり、installの途中でyesと打たないといけなかったり、
コマンド1発でinstallする方法を未だに知らないが、とりあえず先に進む。 

次に準備。
~/.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/526289679381732274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/526289679381732274'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/perl-webservicebloggerperlblogger.html' title='Perl: WebService::Bloggerをインストールして、Perlからbloggerを更新する'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-627471887529877673</id><published>2011-01-27T14:00:00.001+09:00</published><updated>2011-01-27T16:51:06.095+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>Java: 今のclasspathをJava側で確認する</title><summary type='text'>java側から、現在設定されているclasspathを確認したかったので、
サンプルコードを書いてみた。

自分で調べた限り、一撃で取得できる関数みたいなのはなさそうだった。


System.out.println("classpath = " + prop.getProperty("java.class.path", null)); 

実行結果：
/home/satoshi/github/sample-codes/java/system_properties% ant exec
Buildfile: /home/satoshi/github/sample-codes/java/system_properties/build.xml

mkdir:
    [mkdir] Created dir: /home/satoshi/github/sample-codes/java/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/627471887529877673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/627471887529877673'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/java-classpathjava.html' title='Java: 今のclasspathをJava側で確認する'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-4708151204149324978</id><published>2011-01-25T14:00:00.001+09:00</published><updated>2011-01-25T14:00:03.665+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>MySQL: 改行を含むデータのload data local infile</title><summary type='text'>改行を含むデータをload data local infileしたかったので、
ちゃんとマニュアルを読んでみました。

サンプルテーブルは以下。
mysql&gt; show create table test2 \G
*************************** 1. row ***************************
       Table: test2
Create Table: CREATE TABLE `test2` (
  `id` int(11) NOT NULL,
  `desc` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
1 row in set (0.00 sec)


このテーブルに、以下のようなテキストファイルを作成。
/tmp% less </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4708151204149324978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4708151204149324978'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/mysql-load-data-local-infile.html' title='MySQL: 改行を含むデータのload data local infile'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1862689834571608</id><published>2011-01-24T14:00:00.003+09:00</published><updated>2011-01-29T21:06:53.356+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='soccor'/><category scheme='http://www.blogger.com/atom/ns#' term='review'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>読了： 遠藤 保仁 「信頼する力 ジャパン躍進の真実と課題」</title><summary type='text'>連日アジアカップのサッカーを観戦してる中、ふと立ち寄った本屋で、
サッカー日本代表 遠藤 保仁 の本を発見したので速攻購入。




元サッカー日本代表の中村俊輔や棋士の羽生善治も出版している
「○○力」シリーズということみたいです。スポーツなどで名を馳せた人が
その人の経験や思考を元に書く本で、本屋で見かけるたびに速攻買って読んでます。

なかなか、興味深い内容で、内容も濃く、非常に面白かったです。
以下目次抜粋

第1章 南アフリカワールドカップの真実
      選手と岡田監督の深い絆
      本番直前まで続いたマスコミの個人批判
      「先行逃げ切り」しかないと思っていたカメルーン戦
      本田圭祐の決定力の高さ
      駒野友一のPK
第2章 信頼の力 監督とチームの関係
      「やる気」を演技する必要があったトルシエ
      選手起用が偏</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1862689834571608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1862689834571608'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/blog-post.html' title='読了： 遠藤 保仁 「信頼する力 ジャパン躍進の真実と課題」'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7692486595157464101</id><published>2011-01-23T14:00:00.002+09:00</published><updated>2011-01-23T14:00:00.462+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='ant'/><title type='text'>antでwarningがでるのでbuild.xmlを修正</title><summary type='text'>MacのJava環境でantでBuildするとwarningがでることに気がついた。
原因は以下らしい。

参考：
Memo/20100822030535/Ant 1.8から出るincludeAntRuntimeに関するワーニング - epian-wiki

結局の所、javacタスクにincludeantruntime="false"を設定するだけで良いのだが、なんか腑に落ちない。
どうせならデフォルトをincludeantruntime="false"に変更して欲しかった。
それならbuild.xmlのクラスパス設定に問題がある人だけがエラーになり、以前から正しくクラスパスを設定している人は何も変更しなくて良いのに…
いってることはごもっともと思うが、warningがでるのもきになるので、
おれおれbuild.xmlテンプレートファイルを修正しておいた。
https://</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7692486595157464101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7692486595157464101'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/antwarningbuildxml.html' title='antでwarningがでるのでbuild.xmlを修正'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-5485278874006744654</id><published>2011-01-22T14:00:00.002+09:00</published><updated>2011-01-22T23:57:42.267+09:00</updated><title type='text'>Graphvizでコマンドラインから画像を生成してみる</title><summary type='text'>Graphvizを使って、コマンドラインから画像を作成してみた。

インストール：
sudo aptitude install graphviz

サンプルコード：
https://github.com/tanarky/sample-codes/blob/master/dot/test_japanese.dot

実行結果：
/home/satoshi/github/sample-codes/dot% cat test_japanese.dot 
digraph test_png {
  node [fontname="/usr/share/fonts/truetype/ttf-japanese-gothic.ttf"];
  hoge -&gt; piyo -&gt; hoge -&gt; hoge;
  hoge -&gt; fuga;
  piyo -&gt; fuga;
  hoge [label = "</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5485278874006744654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5485278874006744654'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/graphviz.html' title='Graphvizでコマンドラインから画像を生成してみる'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_BDT6UR5b0TI/TTGxS2QXAfI/AAAAAAAAA_k/rn2VDDBSVik/s72-c/test_japanese.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-5319500200705010458</id><published>2011-01-21T14:00:00.001+09:00</published><updated>2011-01-21T14:00:05.935+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 10.10 Netbook on Thinkpad x100e のTouchpad設定</title><summary type='text'>Thinkpad x100eにUbuntu 10.10 Netbookをインストールして使ってるんですが、
センタースクロールを有効にするために、

参考：
Ubuntu 10.10 on ThinkPad x100e でセンタースクロールを有効にする - RX-7乗りの適当な日々




インストール
$ sudo apt-get install gpointing-device-settings
以上！
してるわけですが、 
いつのまにか、Segmentation faultで設定画面が起動しないことに気が付きました。

というわけで、ぐぐった結果、以下のページを発見
[ubuntu] gpointing-device-settings Segmentation Fault - Ubuntu Forums

要は、バージョンをあげろ、っていうことなので、ダウンロードして
インストール</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5319500200705010458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5319500200705010458'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/ubuntu-1010-netbook-on-thinkpad-x100e.html' title='Ubuntu 10.10 Netbook on Thinkpad x100e のTouchpad設定'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2748431273249330330</id><published>2011-01-20T14:00:00.001+09:00</published><updated>2011-01-20T14:00:00.538+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>MySQL: load data infile ではまった(local指定) @ Ubuntu</title><summary type='text'>いつもは、以下のようにload dataしている。
mysql&gt; truncate table inttest;
Query OK, 0 rows affected (0.00 sec)

mysql&gt; desc inttest;
+-------+------------------+------+-----+---------+-------+
| Field | Type             | Null | Key | Default | Extra |
+-------+------------------+------+-----+---------+-------+
| id1   | int(10) unsigned | NO   |     | NULL    |       |
| id2   | int(10) unsigned | NO   |     | </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2748431273249330330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2748431273249330330'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/mysql-load-data-infile-local-ubuntu.html' title='MySQL: load data infile ではまった(local指定) @ Ubuntu'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2924007989941910085</id><published>2011-01-19T14:00:00.001+09:00</published><updated>2011-01-19T14:00:04.220+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='engine'/><category scheme='http://www.blogger.com/atom/ns#' term='template'/><category scheme='http://www.blogger.com/atom/ns#' term='perl'/><title type='text'>Perl: テンプレートエンジン Tenjin を試してみる</title><summary type='text'>Perlでのテンプレートエンジンを探していて、
Tenjinというものを見つけたので
早速使ってみた。

参考：
[perl] TTより5倍速い？テンプレートエンジン"Tenjin"を試す - ありんく tech-log

サンプルコード：
https://github.com/tanarky/sample-codes/tree/master/perl/tenjin

実行してみた結果が以下の通り。
/home/satoshi/github/sample-codes/perl/tenjin% perl engine.pl 
&lt;h1&gt;タイトル&lt;/h1&gt;
&lt;ul&gt;
 &lt;li&gt;&lt;a href="http://www.yahoo.co.jp"&gt;ヤフー&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://mixi.jp"&gt;mixi&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="http:/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2924007989941910085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2924007989941910085'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/perl-tenjin.html' title='Perl: テンプレートエンジン Tenjin を試してみる'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6082396590564836741</id><published>2011-01-18T14:00:00.001+09:00</published><updated>2011-01-18T14:00:06.049+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>MySQL: bit shiftして値を抽出</title><summary type='text'>以下のような3つのテーブルがあったとする。

mysql&gt; select * from people;
+----+--------------+
| id | name         |
+----+--------------+
|  1 | 石川遼       |
|  2 | 斎藤佑樹     |
+----+--------------+
2 rows in set (0.00 sec)

mysql&gt; select * from spec_keys;
+----+-----------+
| id | name      |
+----+-----------+
|  1 | 身長      |
|  2 | 誕生年    |
+----+-----------+
2 rows in set (0.00 sec)

mysql&gt; select * from specs;
+</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6082396590564836741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6082396590564836741'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/mysql-bit-shift.html' title='MySQL: bit shiftして値を抽出'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-5016630709148357198</id><published>2011-01-17T14:00:00.001+09:00</published><updated>2011-01-17T14:00:03.493+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>MySQL: concatで文字列連結してselect</title><summary type='text'>例えば、商品IDのような一意なコードがあったとして、
そのコードが、`type`と`name`を "-"(ハイフン) でつないだ文字列だとする。

MySQLには`type`と`name`でUnique KEYに設定しているテーブルに格納し、
抽出したい時には、商品IDとしてとりだしたい、という要望があったので、調査。

結論としては、以下のように、concatを使った。

mysql&gt; show create table test1 \G
*************************** 1. row ***************************
       Table: test1
Create Table: CREATE TABLE `test1` (
  `type` int(11) NOT NULL,
  `name` char(32) NOT NULL,
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5016630709148357198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5016630709148357198'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2011/01/mysql-concatselect.html' title='MySQL: concatで文字列連結してselect'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-4270389151209569817</id><published>2010-12-05T18:17:00.003+09:00</published><updated>2010-12-05T18:24:26.563+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='zeromq'/><title type='text'>zeromq 調査 その4: N:M 双方向通信をためす その3改善版</title><summary type='text'>





今回の調査内容

前回試した双方向通信では問題があったので解決する


今回の構成図は↑の通り 
前回の調査 =&gt; http://blog.tanarky.com/2010/11/zeromq-3-nm.html
処理が空いているserver processにリクエストが振られる、という挙動を達成させる

1つめのリクエストをworkerが受け取ったときに、sleep(3)している
2つめ以降のリクエストは、workerが受け取ってもsleepしないですぐに処理を返す
clientに値が返ってくる順番が、1つめに送ったリクエストが最後になって入ればOK











結果

実現できた
コードはこちら
実行方法はREADME参照








次回TODO



さらに拡張して↑のような構成を実現してみる
PAIR, UPSTREAM, DOWNSTREAMについて</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4270389151209569817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4270389151209569817'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/12/zeromq-4-nm-3.html' title='zeromq 調査 その4: N:M 双方向通信をためす その3改善版'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_BDT6UR5b0TI/TPtXtxPue-I/AAAAAAAAA_U/zjUfpt0j9nM/s72-c/1205.gif' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-747163768035166832</id><published>2010-11-28T18:34:00.001+09:00</published><updated>2010-11-28T18:37:56.304+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='zeromq'/><title type='text'>zeromq 調査 その3: N:M 双方向通信をためす</title><summary type='text'>
今回の調査内容

前回試した「Getting the Message Out」は片方向通信だったので双方向通信を確認する
前回サンプル =&gt; http://zguide.zeromq.org/chapter:all#toc7
「A Request-Reply Broker」「Built-in Devices」のサンプルが目的に近そうなので調査
http://zguide.zeromq.org/chapter:all#toc32





環境

とりあえず、1 Server内のTCP通信で動作確認



コード

https://github.com/tanarky/sample-codes/tree/master/php/zmq/broker/
s1.php(server process)を2つ起動して、c1.php(1つのclient process)から10回メッセージを送った
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/747163768035166832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/747163768035166832'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/11/zeromq-3-nm.html' title='zeromq 調査 その3: N:M 双方向通信をためす'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6754470277275110939</id><published>2010-11-26T14:00:00.004+09:00</published><updated>2010-11-26T14:00:05.433+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='toto'/><category scheme='http://www.blogger.com/atom/ns#' term='analytics'/><title type='text'>totoでお金持ちになる その3 直近10試合の勝点差による勝率</title><summary type='text'>アグレッシブエンジニア: totoでお金持ちになる その2 ホーム&amp;アウェイの勝率
前回からだいぶ時間があいたけど、もう一度データを整理して、
過去の10試合結果とその場合の勝率を計算してみた。

J1の結果において、
ホームチームの直近10試合の勝点をHとし、
アウェーチームの直近10試合の勝点をAとし、
(H-A) の値により、勝率がどの程度変わるか計算してみた。

結果としては以下の通り。

H-Aの値が8を越えると、ホームチームの勝率60%以上(totoの結果的に1)
H-Aの値が-17以下の場合、アウェーチームの勝率60%以上(totoの結果的に2)

 -17を下回ることはあまりないけど、8を越えることは結構ありそうなので、
今後はこれを参考に購入してみるか、と。

ちなみに、J2の場合は、直近10試合の勝点には関係なく、
ホームチームが有利、という結果に。

(H-A)の値</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6754470277275110939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6754470277275110939'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/11/toto-3-10.html' title='totoでお金持ちになる その3 直近10試合の勝点差による勝率'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7294606215640748245</id><published>2010-11-25T14:00:00.001+09:00</published><updated>2010-11-25T14:00:04.246+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><title type='text'>三菱東京UFJポイントをYahoo!ポイントに交換</title><summary type='text'>メインバンクに三菱東京UFJを使ってるんですが、
カード払い時などにたまっていたポイントを、Yahoo!ポイントに交換できる
みたいなんで、交換してみました。

三菱東京ＵＦＪポイント：三菱東京ＵＦＪ銀行

よく見ると、Tポイントも交換対象みたいなんで、
Yahoo!ショッピングでTポイントが貯まる！　使える！ - Yahoo!ショッピング
Yahoo!ショッピングとの相性がいいです。

自分はある名義口座に500ポイント、別の名義口座に100ポイントもっていたので、
あわせて1つのYahooIDにまとめるように
インターネット(三菱東京UFJ ダイレクト)から申し込みました。

難点は、交換にかかる期間で、

11/1: Twitter / @tanarky: メインバンクが東京三菱なんですが、Yahooポイントと交換できると判明。しかも東京三菱ポイントが５００ポイントもあったので、</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7294606215640748245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7294606215640748245'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/11/ufjyahoo.html' title='三菱東京UFJポイントをYahoo!ポイントに交換'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8724834972006711040</id><published>2010-11-24T14:00:00.001+09:00</published><updated>2010-11-24T14:00:01.845+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>自宅 Mac mini のファストユーザスイッチを有効にしてみた</title><summary type='text'>[Mac] ファストユーザスイッチ を 有効 にする方法 | Apple Voice

家族で共有して使ってるMac miniの設定を変えてみた。
いちいち使用する度にログアウトしたりしてたのが面倒になったので。

これからは、シャットダウンせずにスリープ、
ユーザを切り替えるときはファストユーザスイッチでやることにした。

ついでに、VirtualBoxにUbuntu Server 10.04 LTSをインストールして
Macでの開発環境にした。
Macで開発する時は、Ubuntu ServerにSSHログインして開発、
終了する時は、スリープで終了して、再開する時はスリープ解除で、という方法。

急にMacでの開発が快適になってワロタ。

Macbook Air 並みのSSD搭載Mac miniがでたら、
開発用にもう1台買おうかと思っている。
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8724834972006711040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8724834972006711040'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/11/mac-mini.html' title='自宅 Mac mini のファストユーザスイッチを有効にしてみた'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1035374445065259797</id><published>2010-11-21T17:48:00.001+09:00</published><updated>2010-11-21T17:51:49.838+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='zeromq'/><title type='text'>zeromq 調査 その2: PHPサンプルコード(SUBSCRIBE)</title><summary type='text'>



TODO

zeromq @ CentOS 5.4 -&gt; 環境構築が面倒すぎて断念
Ubuntuに仮想環境構築してドキュメントを読みつつPHPでコードを書いて遊ぶ






仮想環境セットアップ

192.168.11.4(srv1)
192.168.11.15(srv2)






mysample1
+------+    send    +------+    +------------------+
| srv1 |&lt;----------&gt;| srv2 +&lt;--&gt;+ unix domain sock +--- client1
+------+    recv    +------+    +--------+---------+
                                         +--- client2


接続を1本(図を参照)
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1035374445065259797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1035374445065259797'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/11/zeromq-2-phpsubscribe.html' title='zeromq 調査 その2: PHPサンプルコード(SUBSCRIBE)'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_BDT6UR5b0TI/TOjci6YxtHI/AAAAAAAAA_Q/Q3ju9eYu3Fg/s72-c/fig4.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7337210916435860497</id><published>2010-11-21T14:00:00.000+09:00</published><updated>2010-11-21T14:00:04.197+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='package'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='ppa'/><title type='text'>launchpad使い方まとめ その１：アカウント作成とか</title><summary type='text'>Launchpadとは - はてなキーワード
Launchpad - Wikipedia

Ubuntu向けのAPT レポジトリ作成 (ビルドシステムを含む)
を使ってみたくなったので、launchpadにアカウントを作ってみた。
普通のサイトだと、E-mailアドレスからアカウントを作って終了、という
ところだが、色々めんどくさかったので、メモっておく。

Ubuntu Weekly Recipe：第46回　PPAの活用｜gihyo.jp … 技術評論社
手順の最大の山場は、CoCへの署名。
すでに登録しておいたgpgの公開鍵をもとに、暗号化されてきたメールを複合化して
本文に書かれているURL（だったかな？）にアクセスして同意完了、という流れ。

メールは、いつもブラウザからGmailやらYahooメールやらを使っているので、
複合化に若干手間取りました。
結果的には、メールの本文を</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7337210916435860497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7337210916435860497'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/11/launchpad.html' title='launchpad使い方まとめ その１：アカウント作成とか'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1132613239337739569</id><published>2010-11-15T14:00:00.002+09:00</published><updated>2010-11-15T14:00:06.582+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>zeromq 調査</title><summary type='text'>
関連リンク

調査結果ブログ(日本語)
http://blog.wktk.co.jp/archives/71


本家マニュアル
http://www.zeromq.org/intro:read-the-manual





セットアップ

手順
http://www.zeromq.org/intro:get-the-software
uuid-devが必要らしい




% ./configure
% tar xvzf zeromq-2.0.10.tar.gz
% cd zeromq-2.0.10/
% ./configure &amp;&amp; make &amp;&amp; sudo make install



PHP binding setup

手順
http://www.zeromq.org/bindings:php


make test failed


FAIL Test that </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1132613239337739569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1132613239337739569'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/11/zeromq.html' title='zeromq 調査'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-3848186150554017130</id><published>2010-11-07T11:25:00.000+09:00</published><updated>2010-11-07T11:25:01.795+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='handlersocket'/><title type='text'>HandlerSocket plugin for MySQL</title><summary type='text'>
HandlerSocket plugin for MySQL




View more presentations from akirahiguchi.


HandlerSocketに関する非常にわかりやすいスライド。
ようやくHandlerSocketがなんであるかイメージできた(気がする) 

</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/3848186150554017130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/3848186150554017130'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/11/handlersocket-plugin-for-mysql.html' title='HandlerSocket plugin for MySQL'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7877791124739877514</id><published>2010-11-01T21:39:00.002+09:00</published><updated>2010-11-09T10:45:57.077+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='plugin'/><title type='text'>NoSQLとしてのMySQLの動作確認(HandlerSocket) Makefile.PL patch</title><summary type='text'>なんか、せっかくperl clientがついてるのに、
make perl
が通らなかったので、ちょっとMakefileを修正してみた。

/home/satoshi/github/HandlerSocket-Plugin-for-MySQL/perl-Net-HandlerSocket
% git diff Makefile.PL 
diff --git a/perl-Net-HandlerSocket/Makefile.PL b/perl-Net-HandlerSocket/Makefile.PL
index 1b76494..50ad0dc 100644
--- a/perl-Net-HandlerSocket/Makefile.PL
+++ b/perl-Net-HandlerSocket/Makefile.PL
@@ -13,7 +13,7 @@ WriteMakefile(
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7877791124739877514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7877791124739877514'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/11/nosqlmysqlhandlersocket-makefilepl.html' title='NoSQLとしてのMySQLの動作確認(HandlerSocket) Makefile.PL patch'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-4624325439331558563</id><published>2010-10-31T16:51:00.001+09:00</published><updated>2010-11-02T00:42:35.710+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='nosql'/><title type='text'>NoSQLとしてのMySQLの動作確認(HandlerSocket)</title><summary type='text'>


やったこと

以下のサイトの動作検証
NoSQLとしてMySQLを使うDeNAが、memcachedよりも高速な75万クエリ／秒を実現
http://www.publickey1.jp/blog/10/nosqlmysqldenamemcached75.html
Using MySQL as a NoSQL - A story for exceeding 750,000 qps on a commodity server
http://yoshinorimatsunobu.blogspot.com/2010/10/using-mysql-as-nosql-story-for.html







結論

データをセットしたらmysqlがぶっ壊れた(環境構築に問題があった?)
getだけで"perlからsingle getで"簡単に性能を測ったらそこそこでた(11300 req/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4624325439331558563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4624325439331558563'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/10/nosqlmysqlhandlersocket.html' title='NoSQLとしてのMySQLの動作確認(HandlerSocket)'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6572855045921299141</id><published>2010-10-13T14:00:00.006+09:00</published><updated>2010-10-13T14:00:00.482+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='server'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>node.jsを試してみた その1: インストール</title><summary type='text'>node.jsという存在を知ったので、調査+インストールしてみた。

名前だけは聞いたことがあったけど、
勝手にjQueryのようなクライアントサイドJavascriptを想像してました。
完全に間違い。



Evented I/O for
        V8 JavaScript.
      
An example of a web server written in Node which responds with
        "Hello World" for every request.
      
var http = require('http');
http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6572855045921299141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6572855045921299141'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/10/nodejs-1.html' title='node.jsを試してみた その1: インストール'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8565629040971280207</id><published>2010-10-12T14:00:00.010+09:00</published><updated>2010-10-12T14:00:00.042+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='らーめん'/><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><title type='text'>旭山動物園おみやげ 白クマ塩ラーメンを喰らう</title><summary type='text'>今年も旭山動物園にいったので、去年とは違うお土産を買ってみた。

買ったのは、白クマ塩ラーメン。
人気のお土産らしい。




白クマっていうくらいだから、勝手に白濁スープを想像してたけど、
透き通ったスープ。

味は、インスタントだと思ってバカにしてたけど、
意外と本格的(?)でおいしかった。

Yahoo!ショッピングでも買えるみたいなので、興味がある人はぜひ。

下の写真は、はじっこで固まってうごかないカピバラと、
めっちゃ近くまでよってきたペンギンの写真。

</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8565629040971280207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8565629040971280207'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/10/blog-post.html' title='旭山動物園おみやげ 白クマ塩ラーメンを喰らう'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4085/5064121310_e36ac96750_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8646217619455046698</id><published>2010-10-11T14:00:00.001+09:00</published><updated>2010-10-11T14:00:05.720+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='centos'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>CentOS 5.5 に PHP 5.3 をinstall</title><summary type='text'>CentOS に PHP 5.3 系をinstallしたときの備忘録。

とりあえず、
sudo yum install httpd php
としてみたが、バージョンが5.1.3という古さだったので、
せっかくなので、5.2じゃなくて、5.3系にバージョンアップしてみた

参考:
CentOS 5.3 に PHP 5.3 をインストールする - 総天然色頁
CentOS5.3にphp5.3をインストール - プログラマー某の外部記憶

実際に実行した手順は以下のとおり。
$ wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
$ sudo rpm -Uvh remi-release-5.rpm
$ sudo yum --enablerepo=remi info php
## 5.3 系であることを確認
$ </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8646217619455046698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8646217619455046698'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/10/centos-55-php-53-install.html' title='CentOS 5.5 に PHP 5.3 をinstall'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6552754187020262948</id><published>2010-10-10T14:00:00.002+09:00</published><updated>2010-10-10T14:00:04.588+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='centos'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='emacs'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>CentOS 5 に emacs23 を install したときのメモ</title><summary type='text'>CentOS 5 に emacs23 を install したときのメモ

$ sudo yum install -y gcc texinfo
$ wget http://ftp.gnu.org/pub/gnu/emacs/emacs-23.2.tar.gz
$ tar xvzf emacs-23.2.tar.gz
$ cd emacs-23.2
$ configure --without-x
$ make
$ src/emacs -q
$ sudo make install
$ emacs --version 
GNU Emacs 23.2.1
Copyright (C) 2010 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6552754187020262948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6552754187020262948'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/10/centos-5-emacs23-install.html' title='CentOS 5 に emacs23 を install したときのメモ'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2883466564518572798</id><published>2010-10-02T22:26:00.002+09:00</published><updated>2011-03-26T19:37:11.267+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='setup'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Thinkpad x100e セットアップメモ</title><summary type='text'>新しいノートパソコンとして、Thinkpad x100eを購入したので、
あっさりとWindows7を消して、Ubuntu 10.04をクリーンセットアップしたときのメモ。

driver update(自動でタスクトレイ的なところに表示されるはず)
フォルダ名を日本語に(先にディレクトリを作っておく)

/home/satoshi% cat .config/user-dirs.dirs
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2883466564518572798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2883466564518572798'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/10/thinkpad-x100e.html' title='Thinkpad x100e セットアップメモ'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-822786516950073870</id><published>2010-09-25T14:00:00.002+09:00</published><updated>2010-10-03T00:45:18.164+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='mecab'/><title type='text'>形態素解析エンジンmecabのjavaポーディングライブラリSenを使う</title><summary type='text'>Senについて

&gt;Sen は、Java で実装された形態素解析器で、工藤拓さんによりオープンソース(LGPL)で開発されている形態素解析器MecabをJavaへポーティングしたライブラリです。ChaSen??
 
やMecab等のC/C++で実装された形態素解析器をJavaから利用する場合、JNIを利用する必要がありますが、JNIを利用すると動作が不安定に
なることがあり、また、JNIのオーバヘッドによりパフォーマスが低下します。Senは100% 
Javaで記述されているため、高信頼かつ高パフォーマンスを得ることができます(注:ChaSen??やMecabが安定していない、パフォーマスが低いという訳ではありません。JNIの特性上、そうなるということです)。
ということらしい。
Mecabの最終更新よりも若干古い(2006-03-28)のが気になるが、
とりあえず公式サイトのリンクから</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/822786516950073870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/822786516950073870'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/09/mecabjavasen.html' title='形態素解析エンジンmecabのjavaポーディングライブラリSenを使う'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-4474954934059645669</id><published>2010-09-24T14:00:00.001+09:00</published><updated>2010-09-24T14:00:01.793+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='mecab'/><title type='text'>形態素解析エンジンmecabをjavaから使う @ Ubuntu 10.0.4</title><summary type='text'>形態素解析エンジンMeCabをjavaから使ってみた。

libmecab-javaは、swigによるmecabのjava binding。
辞書はIPA。
詳しくは、 以下を参照。
http://mecab.sourceforge.net/bindings.html

動作確認のコードとコマンドは以下の通り
  $ sudo aptitude install
  $ cat TestMecab.java 
  import org.chasen.mecab.MeCab;
  import org.chasen.mecab.Tagger;
  import org.chasen.mecab.Node;
  
  public class TestMecab {
      static {
          try {
              System.loadLibrary(</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4474954934059645669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4474954934059645669'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/09/mecabjava-ubuntu-1004.html' title='形態素解析エンジンmecabをjavaから使う @ Ubuntu 10.0.4'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-4708054498700300158</id><published>2010-09-13T14:00:00.003+09:00</published><updated>2011-03-04T00:06:33.338+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='centos'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='mail'/><category scheme='http://www.blogger.com/atom/ns#' term='postfix'/><title type='text'>centosでgmailを使ったメール送信</title><summary type='text'>設定で若干手間取ったので、自分用にメモ。 

基本的に以下のサイトの通りの手順
» Postfix から Gmail 経由でメールを送る linux.matchy.net: 〜Linuxで遊ぼう！〜

sendmailはインストールしていたら削除しておく
/etc/posfix/main.cfを編集
2.で指定した場所(smtp_sasl_password_maps)にパスワードファイルを作成
フォーマットは「[smtp.gmail.com]:587 ユーザ@gmail.com:パスワード」 
3.のテキストファイルからpostmapコマンドでHASHファイル作成
postfix再起動

/etc/postfix/main.cfの中身は以下。

relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4708054498700300158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4708054498700300158'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/09/centosgmail.html' title='centosでgmailを使ったメール送信'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1532743985136631904</id><published>2010-09-12T14:00:00.001+09:00</published><updated>2010-09-12T14:00:00.620+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='らーめん'/><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><title type='text'>経堂のラーメン英（ひで）で正統派豚骨ラーメンを喰らう</title><summary type='text'>

大きな地図で見る

暑い日が続いてるけど、熱いラーメンが食べたくて、
わざわざ 隣駅（経堂）までいって豚骨ラーメンを食べた。

焼豚が独特の香りでとてもうまい。
スープも正統派豚骨って感じで非常においしくいただきました。

食べ終わる頃には汗だくになってしまったけど、
帰るときに無料でソフトクリームのサービスもありました。

もうちょっと涼しくなったらまた食べにいこう。
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1532743985136631904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1532743985136631904'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/09/blog-post.html' title='経堂のラーメン英（ひで）で正統派豚骨ラーメンを喰らう'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4124/4979781672_e57ffe33f4_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-69870308776962316</id><published>2010-09-08T14:00:00.006+09:00</published><updated>2010-09-08T14:00:04.631+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='lucene'/><category scheme='http://www.blogger.com/atom/ns#' term='engine'/><category scheme='http://www.blogger.com/atom/ns#' term='search'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>Apache luceneで日本語ファイル(UTF-8)の検索 on MacOSX</title><summary type='text'>まずは普通にIndexの作成と検索の実行をしてみたら
文字化けしてうまくHITしなかった。
/Users/satoshi/src/lucene-3.0.2% rm -rf index/
/Users/satoshi/src/lucene-3.0.2% java -cp lucene-core-3.0.2.jar:lucene-demos-3.0.2.jar org.apache.lucene.demo.IndexFiles src
Indexing to directory 'index'...
adding src/demo/org/apache/lucene/demo/DeleteFiles.java
adding src/demo/org/apache/lucene/demo/FileDocument.java
adding src/demo/org/apache/lucene/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/69870308776962316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/69870308776962316'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/09/apache-luceneutf-8-on-macosx.html' title='Apache luceneで日本語ファイル(UTF-8)の検索 on MacOSX'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2444806713040183367</id><published>2010-09-06T14:00:00.003+09:00</published><updated>2010-09-06T22:48:46.064+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='lucene'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>検索エンジンApache lucene 3.0.2をインストール+サンプルをお試し</title><summary type='text'>アグレッシブエンジニア: 検索エンジンApache Luceneをインストールしてサンプルを動かしてみるを参考にして、最新版の3.0.2を動かしてみた。

参考:
Apache Lucene - Building and Installing the Basic Demo

結局のところ、いつもはまるのは、CLASSPATHのところなんだけど。

$ wget http://ftp.riken.jp/net/apache//lucene/java/lucene-3.0.2.tar.gz
$ tar xvzf lucene-3.0.2.tar.gz
$ cd lucene-3.0.2/
$ ant &amp;&amp; ant war-demo
$ java -cp lucene-core-3.0.2.jar:lucene-demos-3.0.2.jar </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2444806713040183367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2444806713040183367'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/09/apache-lucene-302.html' title='検索エンジンApache lucene 3.0.2をインストール+サンプルをお試し'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-5261211526865710110</id><published>2010-09-04T19:00:00.020+09:00</published><updated>2010-09-04T19:00:02.172+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='zsh'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='develop'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>今度こそ完全に満足できる zshrc に挑戦</title><summary type='text'>今まで何度も挑戦して、中途半端な状態にあったbash -&gt; zsh 移行を
今度こそ本腰を据えてやってみたので、そのログ。

結局不満なのは２点

色設定

MacやUbuntuともに満足できる色設定

Tabを押しすぎて補完候補を通り過ぎてしまったイライラ解消

 まずは、以下のサイトの内容をベースに変更 
【コラム】漢のzsh (22) もってけ泥棒! コピペで始めるzsh - リターンズ | エンタープライズ | マイコミジャーナル
欲しかったのは色設定部分だけだけど、遠慮なくもってけ泥棒してみた。

でも、lsしたときの青が見難いので、以下のサイトをもとに変更
Mac zshのカラー設定を変更した | goryugo, addicted to Evernote
【コラム】漢のzsh (9) 世界はモノクロからカラーへ | エンタープライズ | マイコミジャーナル
ディレクトリの</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5261211526865710110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5261211526865710110'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/09/zshrc.html' title='今度こそ完全に満足できる zshrc に挑戦'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_BDT6UR5b0TI/TIIF1yRwhTI/AAAAAAAAA-o/CBnp1SRWcSY/s72-c/color.gif' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2499034356931432960</id><published>2010-08-26T14:00:00.002+09:00</published><updated>2010-08-26T14:00:03.403+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>Access-Control-Allow-Origin ヘッダーをためしてみる その1</title><summary type='text'>404 Blog Not Found:Ajax - Goodbye, JSONP. Hello, Access-Control-Allow-Origin

そこで登場したのが、こちらです。


HTTP access control - MDC

要はAccess-Control-Allow-Originヘッダーにアクセス元のドメインが入っているか、*でワイルドカード指定されているかすれば、Same Origin Policy は適用されないよ、というわけです。
これは知らなかったので、まずは自分が管理しているGoogle App EngineのAPIで
HTTP Response header に Access-Control-Allow-Origin: * をつけるようにしてみた
 
Pythonのコードとしては、

 self.response.headers['</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2499034356931432960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2499034356931432960'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/access-control-allow-origin-1.html' title='Access-Control-Allow-Origin ヘッダーをためしてみる その1'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6980031059257787832</id><published>2010-08-25T14:00:00.002+09:00</published><updated>2010-08-25T14:00:05.845+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='art'/><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><title type='text'>表参道ヒルズでやってた梅佳代 写真展「ウメップ」にいってきた</title><summary type='text'>2010/08/22までなので、すべりこみで
梅佳代 写真展「ウメップ」
にいってきた。


梅佳代という写真家については、
たしか情熱大陸か何かで知ったけど 
普段の生活に存在する（主にすげー笑える）写真っていう感じの写真が
とても癒されるので結構ファン。

梅 佳代（うめ かよ、1981年3月23日 - ）は日本の写真家。石川県鳳至郡柳田村（現在の鳳珠郡能登町）出身。
高校卒業後、日本写真映像専門学校に入学し大阪に住む。同校卒業後は、東京を中心に各地で活動を展開している。「写真新世紀」にて、「男子」と「女子中学生」で佳作を2回受賞。2002年に『美術手帖』の写真表現特集で、注目の写真家として取り上げられる。2007年、写真集『うめめ』で第32回木村伊兵衛写真賞を受賞。
東京をはじめ、パリ、ロンドン、タイで展覧会を開催。
愛用のカメラはキヤノン EOS 5。基本的に標準レンズ、</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6980031059257787832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6980031059257787832'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/blog-post_25.html' title='表参道ヒルズでやってた梅佳代 写真展「ウメップ」にいってきた'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4093/4916572036_1623004bc9_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2664605338587258272</id><published>2010-08-24T11:00:00.002+09:00</published><updated>2010-08-24T11:00:00.271+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cat'/><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><category scheme='http://www.blogger.com/atom/ns#' term='cafe'/><title type='text'>生まれてはじめて猫カフェに行ってみた（原宿：cat room chamamo）</title><summary type='text'>話のネタに猫カフェってものにいってきた。
場所は原宿。料金はおためしで１５分だけ。ワンドリンクをつけて、５５０円でした。

大きな地図で見る


眠そうで不機嫌な猫


勤務中猫（ほぼ）大集合


じゃれあい開始（白猫がふっかけてた）


ひたすら毛繕い？してる猫。むちゃむちゃいってた。


眠そうな猫２。この写真を撮った後、体勢を反対にして寝た。


目の色がオレンジの猫。かっこよかった。

人間にかまわれすぎて、若干うざがってる猫もいたけど、
仕事だからがんばろうね、と猫にいいたくなった社会人なおれ。 

また気が向いたらいくかもしれない。

参考リンク：
[cat room chamamo]東京／原宿の猫カフェ（ネコカフェ）
新・間違いだらけの猫カフェ選び : 原宿「cat room chamamo」</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2664605338587258272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2664605338587258272'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/cat-room-chamamo.html' title='生まれてはじめて猫カフェに行ってみた（原宿：cat room chamamo）'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4120/4915966417_27fa802df7_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-940081153906113862</id><published>2010-08-20T14:00:00.006+09:00</published><updated>2010-08-20T14:00:05.405+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='ui'/><title type='text'>jQuery UI のアイコンセットについてのメモ（改行される罠）</title><summary type='text'>


jQuery UIは、激しく便利なんですが、最近アイコン周りの仕様で
若干はまったので、備忘録メモ。

アイコンを表示するときには、

&lt;span class="ui-icon ui-icon-cart"&gt;&lt;/span&gt;これがアイコンです
と書いて表示するんですが、実際に表示すると、 

これがアイコンです

となり、spanでくくってるのに改行が入ってしまいます。
なんのことはなく、jQuery UIのCSSが、display: block; 
と指定しているので、改行が入ってしまう。

というわけで、 

&lt;div style="float:left"&gt;&lt;span class="ui-icon ui-icon-cart"&gt;&lt;/span&gt;&lt;/div&gt;これがアイコンです
とfloat: left; と指定することにより、



これがアイコンです

と改行なしで表示</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/940081153906113862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/940081153906113862'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/jquery-ui.html' title='jQuery UI のアイコンセットについてのメモ（改行される罠）'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_BDT6UR5b0TI/TGvs5H9yXRI/AAAAAAAAA-c/BPo5wnw2fzQ/s72-c/jquery_ui.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1332353117020158954</id><published>2010-08-19T14:00:00.001+09:00</published><updated>2010-08-19T14:00:03.339+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='service'/><category scheme='http://www.blogger.com/atom/ns#' term='image'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>WebサイトのスクリーンショットをとれるCapture full pageが便利すぎる</title><summary type='text'>


webサイトのキャプチャーをとれるCapture full pageがめちゃ便利。
キャプチャーしたいURLを入力するだけで画像にしてくれる。

スクロールしないと見れない長いページも１発で画像にしてくれるので、
かなり便利。

参考：
後でつなぎ合わせる必要なし！ Webページのスクリーンショットが一発で撮れる「Capture Full Page」 : ライフハッカー［日本版］</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1332353117020158954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1332353117020158954'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/webcapture-full-page.html' title='WebサイトのスクリーンショットをとれるCapture full pageが便利すぎる'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_BDT6UR5b0TI/TGvre13otaI/AAAAAAAAA-Y/KFhvhJGoBxM/s72-c/capture_full_page.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-4175157986207585769</id><published>2010-08-18T14:00:00.018+09:00</published><updated>2010-08-18T14:00:01.821+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><title type='text'>jQuery Mobileについて調べてみた その1：仕様とか</title><summary type='text'>


jQuery Mobileというライブラリの存在を知ったので、色々調べてみた。

まだリリースされていない。2010年末にリリース予定らしい
クロスプラットフォーム＆クロスデバイス 

といっても、スマートフォンやiPadのようなタブレットPCがスコープ内
（当然ながら）日本のガラケーはスコープ外

iPhoneのように、スクリーンをタッチして操作するUIが前提

大きいボタンなどの操作しやすいUI


今まで本気でモバイル用サイト開発に向き合ってなかったけど、
これがリリースされたら、本気で作ってもいいかなと思った。

普通の携帯はなくなればいいと思っている原理主義者、tanarky</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4175157986207585769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4175157986207585769'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/jquery-mobile-1.html' title='jQuery Mobileについて調べてみた その1：仕様とか'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_BDT6UR5b0TI/TGqaQCaeOEI/AAAAAAAAA-Q/1h7IFHuKzoc/s72-c/jquery_mobile.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1346771020346059063</id><published>2010-08-17T14:00:00.003+09:00</published><updated>2010-08-17T14:00:04.950+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='らーめん'/><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><title type='text'>西麻布 五行で焦がし醤油ラーメンを喰らう</title><summary type='text'>
大きな地図で見る
会社が移転して、やや遠くなったのでしばらくいってなかったですが、
久々に喰らって来ました、五行の焦がし醤油ラーメン。

ラードと一緒に醤油を焦がした香ばしさがくせになるおいしさ。
かなり熱いスープと麺なので、やけどに注意。



奥は、一緒に頼んだポテトサラダ。

ごちそうさまでした。
 
公式ホームページによると、代々木上原にも新しくできてたのね。
今度いってみよう。
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1346771020346059063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1346771020346059063'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/blog-post_17.html' title='西麻布 五行で焦がし醤油ラーメンを喰らう'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4138/4897277545_90ba454e7d_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8113515483433588082</id><published>2010-08-16T23:25:00.000+09:00</published><updated>2010-08-16T23:25:47.748+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='design'/><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><title type='text'>これも自分と認めざるをえない展 （佐藤雅彦ディレクション）に行ってきました</title><summary type='text'>
佐藤雅彦ディレクションの"これも自分と認めざるをえない"展 を見てきました。
場所は、六本木MIDタウン内 21_21 DESIGN SIGHT



大きな地図で見る

公式ホームページはこちら。



概要



とりあげた
「属性」
指紋
虹彩
声紋
…







展示中の
新作
「指紋の池」
ユークリッド
「2048」
緒方壽人
「新しい過去」
佐藤雅彦 ＋
藤本直明


近年私たちの日常生活では、防犯や、より快適な暮らしを楽しむために、個人を特定する技術や方法が急速に開発され、様々な場面で応用されています。それは
言い換えると、例えば指紋や静脈といった人の「属性」が、自分自身から切り離されて一人歩きする社会が、身近に迫っていると言えるのではないでしょうか。

展覧会ディレクターの佐藤雅彦は、NHK 教育番組「ピタゴラスイッチ」やアート作品「計算の庭」に代表されるように、</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8113515483433588082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8113515483433588082'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/blog-post_16.html' title='これも自分と認めざるをえない展 （佐藤雅彦ディレクション）に行ってきました'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4095/4897278043_1d23ca6974_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-486495383005481231</id><published>2010-08-12T14:00:00.001+09:00</published><updated>2010-08-12T14:00:02.339+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog'/><category scheme='http://www.blogger.com/atom/ns#' term='yomiowatter'/><category scheme='http://www.blogger.com/atom/ns#' term='ranking'/><title type='text'>読み終わったーブログ 開設しました</title><summary type='text'>yomiowatter Blog ( 読み終わったーブログ )を開設しました。

主に、Yomiowatter 読み終わったー : 誰かが読み終わった本をいますぐお知らせ！
のログを集計して、いろいろな角度からランキング形式で記事にしていこうと思います。

今から秋の夜長用の本をチェックしてみては?
(気が早いか?)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/486495383005481231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/486495383005481231'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/blog-post_12.html' title='読み終わったーブログ 開設しました'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7728182025322064227</id><published>2010-08-11T14:00:00.003+09:00</published><updated>2010-08-11T14:00:04.795+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='travel'/><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><title type='text'>大阪旅行でなんば花月前のがんこラーメンを喰らう</title><summary type='text'>大阪旅行にいってきたときに、なんば花月前にあるがんこラーメンで食べてきました。





目印は、でっかい骨がぶらさがってるお店。
店内はカウンターのみの１０席くらいしかない。
ここの売りは塩ラーメン。写真真ん中が、塩ラーメン（ネギ油 ）で、
写真左が、塩ラーメン（エビ油）。どっちもかなりおいしい。

この店、店長が嫁さんの大学時代の知り合いとのこと。
大学時代に食べた高田馬場のがんこラーメンの味に惚れて、
弟子入りし、見事のれん分けしてもらった、とのこと。

なんば花月前の店、ということもあって、
吉本の芸人さんもよく訪れるらしく、写真がいっぱい貼ってありました。
また、隣のたこ焼き屋も有名らしく、ラーメンを食べた後に
たこ焼きも食べちゃいました。

元祖一条流がんこ十六代目（がんそいちじょうりゅうがんこじゅうろくだいめ） | 学習院下、面影橋、高田馬場/ラーメン一般 | </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7728182025322064227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7728182025322064227'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/blog-post_11.html' title='大阪旅行でなんば花月前のがんこラーメンを喰らう'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4139/4869980427_cb0a822d84_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8322556010325763406</id><published>2010-08-10T14:00:00.000+09:00</published><updated>2010-08-10T14:00:01.643+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><title type='text'>サントリー オールフリーを買って飲んでみた</title><summary type='text'>ノンアルコールビールテイスト飲料 オールフリー サントリー



「３つのゼロで世界初、 これがいいのだ」というキャッチコピーと
中吊り写真の謎の渦巻きは、あの漫画とかかってるってことを
公式ホームページではじめて知った。

まだわからない人は、
製品特長｜ノンアルコールビールテイスト飲料 オールフリー サントリーの動画を
最後まで見ればわかります。
っつーかこのCMの榮倉奈々はきゃわいーん。 

肝心の味、っつーと、ビール、、、なのか？って感じ。
変な味がしたり、まずい、っていう印象はない。
飲んだ後に、ほのかにかおるホップのような匂いがビールっぽさなのかも。

今度会社で仕事中に飲んでみようかな（笑）
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8322556010325763406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8322556010325763406'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/blog-post_10.html' title='サントリー オールフリーを買って飲んでみた'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4099/4869980715_507c91ef11_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1124311655956924526</id><published>2010-08-09T14:00:00.005+09:00</published><updated>2010-08-09T23:10:32.412+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>読了：ザ コピーライティング 心の琴線にふれる言葉の法則 （ジョン ケープルズ）</title><summary type='text'>

ザ コピーライティング 心の琴線にふれる言葉の法則 （ジョン ケープルズ）を読了した。
翻訳監修は神田昌典。広告の本をよく出している人。

ふらりと寄った自宅近くの図書館にあったので借りて読んでみた。

最近よく考えるのが、効果的な広告ってどんなものだろう？ということ。

広告は、必要がない人にとってはうざい情報にしかすぎないけど、
必要な人にはものすごい価値がある。インターネット広告システム側で、
世代や性別、その人の趣味趣向に応じた広告を配信することは可能だが、
そもそもの広告クリエイティブでどうやって人の心に訴えるか、ということも
気になっていたところ、この本に出会った。

中を読んでみると、広告を作る際の具体的な手法や方法論について、
細かく書かれてある。例えば、効果的な広告見出しを作る方法。

「新情報」見出し

見出しを「発表」で始める
見出しを「いま、さあ、ついに」で始</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1124311655956924526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1124311655956924526'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/blog-post.html' title='読了：ザ コピーライティング 心の琴線にふれる言葉の法則 （ジョン ケープルズ）'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6211881228657545061</id><published>2010-08-08T13:00:00.008+09:00</published><updated>2010-08-09T23:14:27.264+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog'/><category scheme='http://www.blogger.com/atom/ns#' term='gigazine'/><category scheme='http://www.blogger.com/atom/ns#' term='analytics'/><title type='text'>GIGAZINEのシステム構成について考えてみる その1 現状把握</title><summary type='text'>【求人募集】GIGAZINEのために働いてくれる記者・編集を募集します - GIGAZINE
【求人募集】GIGAZINEで働きたいネットワークエンジニア・Webプログラマー・Webデザイナーを募集します - GIGAZINE

を読んで、色々思うところがあったので、Gigazineというサイトについて考えてみた。

まずは今のサイトの現状について調べてみた。

PV


 180-250万PV/day
システム全体で、60req/sec くらいの処理ができればピークも食えるか


記事数


1記事15k程度なので、全記事で(圧縮して)260Mぐらいか


画像数


広告用画像はどれくらいあるのかは不明 
1つの画像は、オリジナル画像100k, サムネイル30k程度(と仮定)
 全部で6-7Gの画像
帯域的には、100k*PVピーク=6MByte/sec=48Mbps? なんか多い気</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6211881228657545061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6211881228657545061'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/gigazine.html' title='GIGAZINEのシステム構成について考えてみる その1 現状把握'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8257492909084892075</id><published>2010-08-07T13:00:00.001+09:00</published><updated>2010-08-07T13:43:47.652+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='service'/><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><category scheme='http://www.blogger.com/atom/ns#' term='hosting'/><title type='text'>新たなレンタルサーバ探しの旅( vpslink -&gt; dti vps -&gt; saases vps )</title><summary type='text'>アグレッシブエンジニア: 仮想専用レンタルサーバをバッチ処理用に借りてみた(VPSlink)
というわけで、VPS環境を借りてみたんだけど、思ったように動かなくて
いまいちだったので、解約しました。

いまいちと感じた一番の理由は、
cpanにあるperlモジュールのセットアップでフリーズする、という
致命的なもの。

OSを自分で選べるので、色々ためしてみたけど、
あと、Planがしょぼすぎるのかと思って、上位プランにあげてみたけど、
結果は改善されなかったので、止めました。
さようなら。

とはいっても、VPS環境は絶対欲しいので、色々調べてみました。

FC2 VPS-格安で安心の仮想専用サーバーVPS


512Mメモリで980円 


ServersMan@VPS仮想専用サーバーサービス：ユビキタスプロバイダ DTI


256Mメモリで490円
512Mメモリで980円
最大</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8257492909084892075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8257492909084892075'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/vpslink-dti-vps-saases-vps.html' title='新たなレンタルサーバ探しの旅( vpslink -&gt; dti vps -&gt; saases vps )'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8082635063770644061</id><published>2010-08-04T13:00:00.001+09:00</published><updated>2010-08-04T13:00:03.142+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='service'/><category scheme='http://www.blogger.com/atom/ns#' term='yomiowatter'/><category scheme='http://www.blogger.com/atom/ns#' term='hosting'/><title type='text'>読み終わったー(yomiowatter)の更新が復活しました</title><summary type='text'>レンタルサーバのセットアップも無事に終わったので、
今まで更新が止まっていたサービス、
Yomiowatter 読み終わったー : 誰かが読み終わった本をいますぐお知らせ！
の更新を再スタートさせました。

いろんな人に、サービス停止してるなんてもったいない、
というお言葉をもらいながらも、今まで対応できてませんでした。

とはいえ、ようやく再スタートさせたけど、
すでにappengineの無料容量制限を22%消費している状態。
久しぶりにクロール再開させたら、前よりも早いスピードで
データがたまってる気がする。
こりゃあと3ヶ月もつかな、って感じ。

ま、データがいっぱいになってから考えよう。。。</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8082635063770644061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8082635063770644061'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/yomiowatter.html' title='読み終わったー(yomiowatter)の更新が復活しました'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2872109151898045656</id><published>2010-08-02T01:06:00.000+09:00</published><updated>2010-08-02T01:06:42.301+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='log'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Netbook の Ubuntu を再インストール</title><summary type='text'>どうもメイン開発マシンのnetbookが遅くなってきたので、
lubuntuとかインストールして軽量化を図ろうとしたら、
いまいちの使いごこちだったので、戻そうとしたけど、
もどらずに挙動がおかしくなったので、再インストールしたでござる、の巻

忘れないうちにメモ。

以前インストールに使ったUSBメモリ(2G)を使って再インストール
有線ケーブルをつないでインストールした 

インストール後に有線でネットにつないで無線LANのドライバをダウンロード
無線LAN(airmac)のパスワードを忘れたのでgit上に保管した 

言語は英語にした

OSのメニューとかは英語でも全然わかる
英語でインストールするのと、日本語でインストールするのは、若干画面が異なる

ツールバーが黒(英語)としろ(日本語)
無線LANの認識がよさげ(英語)
日本語バインディングは、英語でインストールした後でいい
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2872109151898045656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2872109151898045656'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/08/netbook-ubuntu.html' title='Netbook の Ubuntu を再インストール'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-74088627932518976</id><published>2010-07-31T23:20:00.001+09:00</published><updated>2010-07-31T23:24:12.125+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='analytics'/><title type='text'>2009年8月から365記事目の投稿(ほぼ毎日更新達成)</title><summary type='text'>2009年8月から、今まで何度か挫折したBlogを今度こそ続けようとして、
毎日更新というハードルをもうけてやってきたわけですが、
この記事をもって、晴れて365記事目の投稿となりました。

毎日更新というハードルを設定したのは、
おれみたいなちっぽけなやつが書くBlogを
見てもらうようになるためには、 
せめて、つまらなくても毎日更新でもしてないとだめだな、
って考えたのが理由です。

で、1年間、色々考えながら+試しながら記事を書いたわけですが、
順調にPVを伸ばすことができました。
見てくれた皆さん、ありがとう。




画像の縦軸の単位を隠してるのがやらしいですが、ご容赦ください。

グラフを見てみると、年明けからアクセスが伸びていることが分かりました。
基本的に、このブログは休日にはPVがさがり、年末年始みたいな
大型連休には閑散とした状態になります。
年末年始の閑散状態</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/74088627932518976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/74088627932518976'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/20098365.html' title='2009年8月から365記事目の投稿(ほぼ毎日更新達成)'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_BDT6UR5b0TI/TFQuSXOKnPI/AAAAAAAAA-I/d8wBhFxC_EE/s72-c/graph.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6824832882858846544</id><published>2010-07-28T00:15:00.007+09:00</published><updated>2010-07-29T23:12:56.673+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news'/><category scheme='http://www.blogger.com/atom/ns#' term='yahoo'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Yahoo!JapanとGoogleとの提携についての記事まとめ</title><summary type='text'>まとめてみた。

Togetter - 「Y!JがGoogle検索を採用したことに関して、アスキー総研遠藤諭さんの発言」

ヤフーが見ているのはユーザーもさることながら広告主ですからね。総合的に考えるとベストチョイスではないですかね。
肯定的な意見。たしかに、ビジネス上は問題なさそうな気はするが、、、。 

「国内最速の検索技術を提供」　Google、Yahoo！JAPANへの技術提供にコメント

Googleの検索連動広告の技術もヤフーに提供し、ターゲティングやリポートをバックエンドで支える一方、広告の獲得などは別々に行い、「両社の広告主と広告データは完全に分離して保持される」という。
広告主としてはどっちに出稿したいと考えるのか気になる。
単純に検索クエリーシェアで選ぶ？

Google Japan Blog: Yahoo! JAPAN のより良い検索と広告サービスのために

ヤフー</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6824832882858846544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6824832882858846544'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/yahoojapangoogle.html' title='Yahoo!JapanとGoogleとの提携についての記事まとめ'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1255505470600946315</id><published>2010-07-23T19:03:00.005+09:00</published><updated>2010-07-23T19:03:00.747+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='hatena'/><title type='text'>便利ブックマークレット その17：はてなブックマークホットエントリーの更新状況を表示</title><summary type='text'>便利ブックマークレット その13: Yahoo!トピックスの内容を表示するを参考にして、
Yahoo!トピックスよりもネタ的に面白い
はてなブックマークホットエントリーの更新内容を表示させる
ブックマークレットを作った。

javascript:function ld(u){var s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);}ld('http://www.geocities.jp/tanarky/blogger/tanarky/js/bookmarklet_hotentry.js?'+Date.now());void(0);

これで、はてぶにいかなくても、更新状況が調べられます。

このブックマークレットを実行する

$(".bookmarklet").</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1255505470600946315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1255505470600946315'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/17.html' title='便利ブックマークレット その17：はてなブックマークホットエントリーの更新状況を表示'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-5039291113221283720</id><published>2010-07-22T19:03:00.002+09:00</published><updated>2010-07-22T19:03:00.257+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='yahoo'/><title type='text'>便利ブックマークレット その16：Yahoo!天気で東京の天気を調べる</title><summary type='text'>便利ブックマークレット その13: Yahoo!トピックスの内容を表示するを参考にして、
Yahoo!天気のRSSから東京の週間天気予報を表示させる
ブックマークレットを作った。

javascript:function ld(u){var s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);}ld('http://www.geocities.jp/tanarky/blogger/tanarky/js/bookmarklet_yahoo_weather.js?'+Date.now());void(0);

これで、いちいちYahoo!天気にいかなくても、
東京の天気が調べられます。

このブックマークレットを実行する

$(".bookmarklet").</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5039291113221283720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5039291113221283720'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/16yahoo.html' title='便利ブックマークレット その16：Yahoo!天気で東京の天気を調べる'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7478983372374897008</id><published>2010-07-21T19:03:00.001+09:00</published><updated>2010-07-21T19:03:00.722+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='flickr'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>便利ブックマークレット その15：flickrの猫画像検索で癒される</title><summary type='text'>便利ブックマークレット その13: Yahoo!トピックスの内容を表示するを参考にして、
仕事で疲れたときに猫画像で癒されるためのブックマークレットを作った

javascript:function ld(u){var s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);}ld('http://www.geocities.jp/tanarky/blogger/tanarky/js/bookmarklet_flickr_cat.js?'+Date.now());void(0);

これで、仕事中でも簡単に猫画像で癒されることができます。

このブックマークレットを実行する

$(".bookmarklet").button();

↑これを押せばブックマークレットを</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7478983372374897008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7478983372374897008'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/15flickr.html' title='便利ブックマークレット その15：flickrの猫画像検索で癒される'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-5864235769626352565</id><published>2010-07-20T19:01:00.002+09:00</published><updated>2010-07-20T19:01:00.396+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='design'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>PREタグにスクロールをつけてコードを読みやすくする</title><summary type='text'>このブログでサンプルコードなどを載せる場合は、
preタグとcodeタグを使って、コードを貼り付けている。

ただ、コードが横に長くなってしまった時に、
今までは表示崩れしてしまっていたので、困っていました。

というわけで、ちょっと検索してみたらすぐに対策を発見。

参考: 
PREタグにスクロールバーを付けたい

pre {
  overflow: auto;
}

これで、横に長くなるコードを張り付けたときに、
スクロールバーがついたので表示崩れは回避できました。
ついでに、font-size:smallerをつけて、 
フォントサイズを小さくしてできるだけスクロールバーが
表示されないようにしてみた。

怠けないで、ちょっと調べれば、でてくるもんですな。</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5864235769626352565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5864235769626352565'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/pre.html' title='PREタグにスクロールをつけてコードを読みやすくする'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2077855138470840070</id><published>2010-07-19T19:03:00.014+09:00</published><updated>2010-07-19T19:03:00.571+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>便利ブックマークレット その14：痛いニュースの更新を確認する</title><summary type='text'>便利ブックマークレット その13: Yahoo!トピックスの内容を表示するを参考にして、
Yahoo!トピックスよりも更新が早く情報が新鮮な
痛いニュースのRSSからブログの更新内容を表示させる
ブックマークレットを作った。

javascript:function ld(u){var s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);}ld('http://www.geocities.jp/tanarky/blogger/tanarky/js/bookmarklet_itai_news.js?'+Date.now());void(0);

これで、いちいち痛いニュースにいかなくても、
ブログの更新状況が調べられます。

このブックマークレットを実行する

$("</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2077855138470840070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2077855138470840070'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/14.html' title='便利ブックマークレット その14：痛いニュースの更新を確認する'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-693301617925166809</id><published>2010-07-19T12:24:00.000+09:00</published><updated>2010-07-19T12:24:07.817+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flickr'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>flickrの画像サイズについて( s, t, m, なし, z, b, o)</title><summary type='text'>以前、flickrが提供するサムネイル画像サイズについて
記事をまとめていたけど、若干仕様追加（仕様変更？）が
あったみたいなので、まとめておく。
現在の仕様は以下の通り（っぽい）

サイズを表現する文字は７種類

s

squareのs
中心部分をトリミングした75x75

t

thumbnailのt？
縦横のうち、長い方の辺を100pxにリサイズ

m

smallのm
縦横のうち、長い方の辺を240pxにリサイズ

なし

縦横のうち、長い方の辺を500pxにリサイズ 

z

medium(smallでmを使っているから？)
縦横のうち、長い方の辺を640pxにリサイズ

b

bigのb 
縦横のうち、長い方の辺を1024pxにリサイズ

o

originalのo
元画像サイズそのまま



 サイズ指定なし、とか前からあったのか今となっては謎だけど、
 とりあえず、上記の</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/693301617925166809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/693301617925166809'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/flickr-s-t-m-z-b-o.html' title='flickrの画像サイズについて( s, t, m, なし, z, b, o)'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1320111996410317178</id><published>2010-07-18T12:14:00.005+09:00</published><updated>2010-07-18T14:03:36.209+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='yql'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>便利ブックマークレット その13: Yahoo!トピックスの内容を表示する</title><summary type='text'>jQueryを使った web widgetの作り方 を参考にして、
Yahoo!のトップページにあるトピックスの内容を表示させる
ブックマークレットを作った。

javascript:function ld(u){var s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);}ld('http://www.geocities.jp/tanarky/blogger/tanarky/js/bookmarklet_yahoo_news.js?'+Date.now());void(0);
処理順番は以下の通り。

ブックマークレットを起動することにより、http://www.geocities.jp/tanarky/blogger/tanarky/js/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1320111996410317178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1320111996410317178'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/13-yahoo.html' title='便利ブックマークレット その13: Yahoo!トピックスの内容を表示する'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-5350946137435452582</id><published>2010-07-17T19:05:00.002+09:00</published><updated>2010-07-17T19:40:33.834+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dorama'/><category scheme='http://www.blogger.com/atom/ns#' term='tv'/><category scheme='http://www.blogger.com/atom/ns#' term='manga'/><title type='text'>モテキがドラマ化されたので見てみた(森山未来・野波麻帆・満島ひかり・松本莉緒)</title><summary type='text'>最近、漫画でモテキを読了したばっかりだったので、
ドラマ化されたモテキも見てみることにした。
(毎週金曜 0:12スタート。さすがテレビ東京的な時刻) 

関連記事:
読了：モテキ
(1-4巻) - 久保ミツロウ

キャストがそこそこ豪華。

主人公:  森山未来

  「森山未来」で画像検索

土井亜紀: 野波麻帆

  「野波麻帆」で画像検索


中柴いつか: 満島ひかり


  「満島ひかり」で画像検索


小宮山夏樹: 松本莉緒


   「松本莉緒」で画像検索


ドラマを見てると、どうみても土井亜紀が年上に見えたけど、
漫画では、主人公の方が年上なんだよね。

まだ第1回しかみれてないけど、いつかちゃん役の人がかわいい。
というかかわいすぎる。もっと素朴な感じな人をイメージしてた。

これは漫画でもそうだったかもしれないけど、
ターゲットがもろ30台(おそらく32-35が</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5350946137435452582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5350946137435452582'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/blog-post_17.html' title='モテキがドラマ化されたので見てみた(森山未来・野波麻帆・満島ひかり・松本莉緒)'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_BDT6UR5b0TI/TEGCJrTQwuI/AAAAAAAAA9c/V22E6muUYLI/s72-c/yukio.jpeg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2668372534424804404</id><published>2010-07-17T19:01:00.017+09:00</published><updated>2010-07-17T23:33:00.029+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>便利ブックマークレット その12: Iframeで外部ページを表示させる</title><summary type='text'>外部にあるページを、現在見ているページにiframeで挿入するブックマークレット

javascript:var s=document.createElement('div');s.innerHTML='&lt;div style="position:absolute;top:10px;left:10px;z-index:10000;border:2px solid #ddd;width:320px;background-color:#fff;"&gt;&lt;iframe src="http://www.geocities.jp/tanarky/blogger/tanarky/html/widget.html" width="320px" height="250px" frameborder="0"&gt;&lt;/iframe&gt;&lt;/div&gt;';document.body.appendChild(s);</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2668372534424804404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2668372534424804404'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/12-iframe.html' title='便利ブックマークレット その12: Iframeで外部ページを表示させる'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7024959998694895574</id><published>2010-07-16T19:01:00.043+09:00</published><updated>2010-07-16T21:46:06.796+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>便利ブックマークレット その11: はてなブックマークレットの解析</title><summary type='text'>はてなブックマークの、ブックマークに追加するブックマークレットの
挙動について解析してみた。(2010/07現在のコード)



↑ブックマークレットを起動したときのWindowがかっこよさげ
なのでこれの挙動を調べたいのが動機。

まずはヘルプページにあるリンクから解析
ブックマークレットのJavascriptは以下のようになっている。
（一部読みやすくするため、改ざん）
(function(){
    var s = document.createElement('script');
    s.charset = 'UTF-8';
    s.src     = 'http://b.hatena.ne.jp/js/Hatena/Bookmark/let.js'+Date.now();
    (document.getElementsByTagName('head')[0] ||</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7024959998694895574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7024959998694895574'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/11.html' title='便利ブックマークレット その11: はてなブックマークレットの解析'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_BDT6UR5b0TI/TDlu6z-YawI/AAAAAAAAA9U/_hKxFncckNI/s72-c/hba.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6672422138738481635</id><published>2010-07-15T19:01:00.043+09:00</published><updated>2010-07-15T19:01:00.710+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>読了：モテキ(1-4巻) - 久保ミツロウ</title><summary type='text'>後輩から借りて、モテキを読了した。

モテキ - Wikipedia

モテない三十路間近の青年・藤本幸世は、ある日突然知り合いの女の子から次々と連絡が入り、いわゆる「モテ期」に入る。これまでモテ期の来なかった
藤本は焦りながらも女の子とコンサートに行ったり水族館に行ったりしていく……。
 作者は、久保ミツロウ

少女向け雑誌への投稿を続け、久保美津子（くぼ みつこ）名義で『mimi』にてデビュー後、『週刊少年マガジン』に移籍。移籍後は現在の名前で作品を発表している。
ちなみに、同誌連載『もう、しませんから。』（西本英雄）に何度か登場しているが、顔出しNGで、自画像は本人の希望で常にヒゲもじゃに描かれている。
作中のテーマになってるのが、

草食系男子
非モテ
リア充
３０歳前後のあせり 

といっても、単に表紙のおねーちゃんのきれいさにひかれて
読んでみたくなっただけですが。




</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6672422138738481635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6672422138738481635'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/1-4.html' title='読了：モテキ(1-4巻) - 久保ミツロウ'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2104813290127006860</id><published>2010-07-13T19:01:00.058+09:00</published><updated>2010-07-13T19:01:01.379+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>jQueryを使ったweb widgetの作り方</title><summary type='text'>How to build a web widget (using jQuery)
http://alexmarandon.com/articles/web_widget_jquery/

非常にわかりやすいTutorial。
これの通りに実装すれば、きれいに、安全に、Web widgetを
実装できる。以下、かなりオレオレ意訳。

まず、ウィジェットって何か、っていうと、
「ウェブページの固まり」
とか
「ウェブページのきれっぱし」
といってます。

あるページの中に、別のウェブページの情報を（細切れにして？）
表示させる、っていうこと。よくあるインターネットの広告とかも
あるページに紛れ込ませて表示させているので、
Web widgetと言える（と思う）

で、Web widgetを作るときの３つの原則。

ページにまぎれさせて表示するので、元ページを汚さないように、不測の事態で表示が</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2104813290127006860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2104813290127006860'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/jqueryweb-widget.html' title='jQueryを使ったweb widgetの作り方'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6984201950064139033</id><published>2010-07-12T19:01:00.002+09:00</published><updated>2010-07-12T19:01:00.202+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><title type='text'>実家から夕張メロンが届きました</title><summary type='text'>札幌の実家からお中元に夕張メロンをもらいました。

夕張メロン - Wikipedia

夕張メロン・夕張キングメロン（ゆうばり- ）は、北海道夕張市を生産地とするメロン。品種名は「夕張キング」。「スパイシー・カンタロープ」を父、「アールス・フェボリット」を母として作出された
赤肉のメロンである。
(中略)

高級メロンとしても有名。夕張市農業協同組合に集荷され、厳格な検査に合格したものだけを「夕張メロン」のブランドで出荷するため、夕張メロンは夕張市農業協同組合の登録商標となっている。隣接する市町村産では、夕張の名を冠することはできない。そのため、90年代前半まで北海道内で栽培されていた夕張キングを箱詰めした場合、その地域ブランド名を記したケースや箱で販売されていた。但し、箱に記載の品種名は「夕張キング」と表示がなされていた。

日持ちに難点があり、大手宅配業者、フットワークと提携。当時</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6984201950064139033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6984201950064139033'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/blog-post.html' title='実家から夕張メロンが届きました'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4137/4780387066_70f7302a74_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7623343707667382144</id><published>2010-07-11T12:19:00.000+09:00</published><updated>2010-07-11T12:19:14.718+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><title type='text'>今日7/11は ２０１０年 参議院選挙ですよー（Yahooマニフェストマッチ）</title><summary type='text'>まずは、選挙に行く前に、 
Yahoo!みんなの選挙でマニフェストマッチをしてみた。

さて、参議院とは、

参議院議員の任期は6年で、衆議院議員の任期（4年）より長い。衆議院はたいてい任期途中で解散となるため、実質的な任期の差はさらに広がる。また、解散
がされる衆議院と異なり任期途中での解散がなく、3年ごとに半数改選が行われる。内閣不信任決議は衆議院のみの権限であるが、参議院の権限は決して無視できないものであるため、内閣は
常に両院を意識する必要がある。確かに、内閣総理大臣の指名、予算の
議決、条
約の承認については衆議院に絶対的な優越がある。しかし、法律案
の議決については相対的な優越しかなく、憲法改正案の議決に関しては完全な対等である。しかも、憲法ではなく法律にもとづく国会の議決に関して対等の例が数
多くある。このため、参議院を無視してしまうと法律案その他の議決に重大な障害</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7623343707667382144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7623343707667382144'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/711-yahoo.html' title='今日7/11は ２０１０年 参議院選挙ですよー（Yahooマニフェストマッチ）'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-5060433355489486657</id><published>2010-07-10T19:00:00.003+09:00</published><updated>2010-07-11T11:43:37.536+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tv'/><category scheme='http://www.blogger.com/atom/ns#' term='cooking'/><category scheme='http://www.blogger.com/atom/ns#' term='receipt'/><title type='text'>TV雑感: 太一×ケンタロウ 男子ごはん 「チキンインドカレー＆ケンタロウ流ナン」</title><summary type='text'>放送を見ていてめちゃめちゃうまそうだったので、挑戦してみた。
レシピは以下の通り。

チキンインドカレー（４−６人分）


しめじ：１パック
ししとう：１２本
トマト：１／２個
タマネギ：２個
にんにく：４片
ヨーグルト：１／２カップ
カシューナッツ：50g
塩：小さじ２
砂糖：大さじ１／２
バター：大さじ１
サラダ油、塩、胡椒：適量
スパイス


クミンシード：大さじ１／２
ガラムマサラ：小さじ１
カルダモン：小さじ１
チリペッパー：小さじ１−２



ケンタロウ流ナン（４人分）


強力粉：１カップ
砂糖：大さじ１
ベーキングパウダー：小さじ１／２
塩：２つまみ
卵：１個
水：１００−１２０cc
バター、サラダ油：適量


ナンを作ってる写真が以下。




ナンの材料を混ぜたら、適当にこねるんだけど、
ちょっと水が多かったのか、ゆるめで手にくっついちゃうので
こねるのに一苦労。

</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5060433355489486657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5060433355489486657'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/tv.html' title='TV雑感: 太一×ケンタロウ 男子ごはん 「チキンインドカレー＆ケンタロウ流ナン」'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4123/4759462982_30f86a3b8a_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8175857393508631083</id><published>2010-07-09T19:00:00.001+09:00</published><updated>2010-07-09T19:00:05.047+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='yahoo'/><title type='text'>便利ブックマークレット その10: 選択された文字列でYahoo!画像検索</title><summary type='text'>選択された文字列を検索クエリとして、
Yahoo!画像検索するBookmarkletを作ってみた。

javascript:var w=window.open('','_blank');function ld(u){var 
s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);}ld('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');ld('http://tanargle.appspot.com/jquery.selectedtext.js');ld('http://tanargle.appspot.com/yahoo_image_search.js?'+Date.now());</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8175857393508631083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8175857393508631083'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/10-yahoo.html' title='便利ブックマークレット その10: 選択された文字列でYahoo!画像検索'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7182184540074653242</id><published>2010-07-08T19:00:00.001+09:00</published><updated>2010-07-08T19:00:03.171+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='yahoo'/><title type='text'>便利ブックマークレット その9: 選択された文字列でYahoo!知恵袋検索</title><summary type='text'>選択された文字列を検索クエリとして、
Yahoo!知恵袋で検索するBookmarkletを作ってみた。

javascript:var w=window.open('','_blank'); function ld(u){var 
s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);} ld('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'); ld('http://tanargle.appspot.com/jquery.selectedtext.js');ld('http://tanargle.appspot.com/yahoo_chiebukuro.js?'+Date.now())</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7182184540074653242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7182184540074653242'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/9-yahoo.html' title='便利ブックマークレット その9: 選択された文字列でYahoo!知恵袋検索'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1533760820201436010</id><published>2010-07-07T19:00:00.001+09:00</published><updated>2010-07-07T19:00:04.989+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='yahoo'/><title type='text'>便利ブックマークレット その8: 選択された文字列でYahoo!オークション検索</title><summary type='text'>選択された文字列を検索クエリとして、
Yahoo!オークションで商品検索するBookmarkletを作ってみた。

javascript:var w=window.open('','_blank');var 
ai='NqNP7flCUN49xU3KOQg-';function ld(u){var 
s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);} ld('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'); ld('http://tanargle.appspot.com/jquery.selectedtext.js'); ld('http://</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1533760820201436010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1533760820201436010'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/8-yahoo.html' title='便利ブックマークレット その8: 選択された文字列でYahoo!オークション検索'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6343888296574338292</id><published>2010-07-06T19:00:00.001+09:00</published><updated>2010-07-06T19:00:02.963+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='yahoo'/><title type='text'>便利ブックマークレット その7: 選択された文字列で商品検索(Yahoo!ショッピング)</title><summary type='text'>選択された文字列を検索クエリとして、Yahoo!ショッピングで商品検索する
Bookmarkletを作ってみた。

javascript:var w=window.open('','_blank');var 
ai='NqNP7flCUN49xU3KOQg-';function ld(u){var 
s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);} ld('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'); ld('http://tanargle.appspot.com/jquery.selectedtext.js'); ld('http://</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6343888296574338292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6343888296574338292'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/7-yahoo.html' title='便利ブックマークレット その7: 選択された文字列で商品検索(Yahoo!ショッピング)'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8817921332094905295</id><published>2010-07-05T19:00:00.015+09:00</published><updated>2010-07-05T19:00:09.009+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>便利ブックマークレット その6: 選択した文字列をYahoo!辞書で調べる</title><summary type='text'>選択した文字について、Yahoo!辞書で調べるためのBookmarkletを書いた。

javascript:var w=window.open('','_blank');function ld(u){var 
s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);}ld('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');ld('http://tanargle.appspot.com/jquery.selectedtext.js');ld('http://tanargle.appspot.com/yahoo_dic.js');void(0);
これで、いちいち辞書で調べる手間</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8817921332094905295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8817921332094905295'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/6-yahoo.html' title='便利ブックマークレット その6: 選択した文字列をYahoo!辞書で調べる'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-4404982630321268064</id><published>2010-07-04T19:00:00.008+09:00</published><updated>2010-07-04T19:36:09.716+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>便利ブックマークレット その5: ポップアップブロックを回避する</title><summary type='text'>Bookmarkletでよく問題になる、ブラウザのポップアップブロック機能を
回避する方法を見つけたので、これを利用して別ウィンドウでリンクを開く
Bookmarkletのサンプルを書いてみた。

参考：
JSでクリックイベントの中で非同期処理したあとに別ウィンドウで開くときにポップアップブロックにひっかからない方法 - Webtech Walker


javascript:var w=window.open('','_blank');function ld(u){var 
s=document.createElement('script');s.setAttribute('src',u); document.body.appendChild(s);} ld('http://tanargle.appspot.com/test3.js'); void(0);

ポイントは、var wに</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4404982630321268064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4404982630321268064'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/5.html' title='便利ブックマークレット その5: ポップアップブロックを回避する'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7776560576436751734</id><published>2010-07-03T19:00:00.009+09:00</published><updated>2010-07-03T19:00:04.163+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogparts'/><category scheme='http://www.blogger.com/atom/ns#' term='affiliate'/><title type='text'>Yahoo!アフィリエイトパーツギャラリーが便利</title><summary type='text'>


Yahoo!アフィリエイトパーツギャラリーに、新しいパーツが増えていました。
オークションだけじゃなく、ショッピングのパーツもできたようで。

早速ブログの下に、オークションのカテゴリ指定リンクモジュールを貼ってみた。

こつこつ小銭稼ぎ。
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7776560576436751734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7776560576436751734'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/yahoo.html' title='Yahoo!アフィリエイトパーツギャラリーが便利'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_BDT6UR5b0TI/TC6mDPNN29I/AAAAAAAAA9M/88DYs3o70XQ/s72-c/parts_gallery.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2117049893077918080</id><published>2010-07-02T19:00:00.002+09:00</published><updated>2010-07-02T19:00:05.296+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='emacs'/><title type='text'>Ubuntu の emacs に j2.el をインストール</title><summary type='text'>EmacsでJavaScriptソースを快適に読むために：js2-modeとエグズーベラントCtags
を参考に、自分の環境にもセットアップしてみた。

 
js2-modeに切り替えましょう：

   
 js2-
modeホームページのFeatured 
Downloadsから、js2-20080616a.el（今日の時点の最新バージョン）をダウンロード。
 js2-20080616a.elを、js2.elとして、Emacs（僕はMeadow3）のsite-lisp/の下にコ
ピー。
 site-lisp/をDiredで開いて、 M-x 
byte-compile-file RET js2.el RET でコンパイル。js2.elcが出来ているのを確認。
 ~/.emacsを編集（すぐ下）。

;; js2-mode
(autoload 'js2-mode "js2" nil t)
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2117049893077918080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2117049893077918080'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/07/ubuntu-emacs-j2el.html' title='Ubuntu の emacs に j2.el をインストール'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2773458427272627339</id><published>2010-06-28T19:00:00.006+09:00</published><updated>2010-06-28T19:00:09.269+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='os'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Windows XP install in VirtualBox on Ubuntu 10.0.4 LTS @ hp 2133</title><summary type='text'>こんな英語のタイトルでいいのかわからないけど、
Host OS は Ubuntu 10.0.4 LTS で、そこに VirtualBoxをインストールして、
仮想OSとして、Windows XPをインストールしました、
マシンは hp 2133 だよ、というお話。

まずは、本家からダウンロードして、VirtualBoxのインストール
Windows XP のDVDをisoとしてイメージファイルにする
Ubuntu上で、2. で作ったisoファイルをマウントして、ドライブのように見える状態にする
 VirtualBoxで新規イメージを作成して、ストレージ -&gt; CD/DVDデバイス -&gt; 追加 -&gt; isoファイルを選択
あとは普通に起動すればそのままインストール画面になるはず
正規のproduct codeを入力してセットアップを完了させよう

という手順です。

イメージファイル</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2773458427272627339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2773458427272627339'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/windows-xp-install-in-virtualbox-on.html' title='Windows XP install in VirtualBox on Ubuntu 10.0.4 LTS @ hp 2133'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm2.static.flickr.com/1357/4720706263_c00e7b066e_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8206321679557186291</id><published>2010-06-27T19:00:00.001+09:00</published><updated>2010-06-27T19:00:04.078+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>便利ブックマークレット その4: 選択された文字列を取得する</title><summary type='text'>選択された文字列を取得するコードを書いた。
簡単に実装できるかと思ったけど、ブラウザ依存の解消が面倒くさかった。

とりあえず、やっつけjquery pluginとして実装。

このpluginを使って、選択された文字をalertするだけのBookmarkletは以下。


javascript:function ld(u){var 
s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);}ld('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');ld('http://tanargle.appspot.com/jquery.selectedtext.js');ld('http://</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8206321679557186291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8206321679557186291'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/4.html' title='便利ブックマークレット その4: 選択された文字列を取得する'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-3117573852412819294</id><published>2010-06-26T19:00:00.004+09:00</published><updated>2010-08-19T23:52:33.365+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='affiliate'/><title type='text'>便利ブックマークレット その3: アフィリエイトURL作成→Twitterに遷移</title><summary type='text'>Yahoo!オークションとショッピングのアフィリエイトリンク作成bookmarklet
を参考にして、さらに拡張してみた。

javascript:var ai='NqNP7flCUN49xU3KOQg-';var bl='tanarky';var ba='R_e0cbd9274f2301ce3f0bc62e45b975f7';function ld(u){var s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);} ld('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');ld('http://tanargle.appspot.com/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/3117573852412819294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/3117573852412819294'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/3-urltwitter.html' title='便利ブックマークレット その3: アフィリエイトURL作成→Twitterに遷移'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-1009966923092820468</id><published>2010-06-25T19:00:00.003+09:00</published><updated>2010-06-25T23:00:39.975+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='bookmarklet'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>便利ブックマークレット その2: bitlyでShort URLにする</title><summary type='text'>探せばいくらでもありそうなbiltyを使ったShort URL 機能だけど、
勉強のため+今後の拡張性のためにも、自分でbookmarkletとして作ってみた。

コードはこちら。

bookmarkletは以下。

javascript:var bl='tanarky';var 
ba='R_e0cbd9274f2301ce3f0bc62e45b975f7';function ld(u){var 
s=document.createElement('script');s.setAttribute('src',u);document.body.appendChild(s);}ld('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');ld('http://tanargle.appspot.com/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1009966923092820468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/1009966923092820468'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/2-bitlyshort-url.html' title='便利ブックマークレット その2: bitlyでShort URLにする'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-7011839080441597796</id><published>2010-06-24T19:00:00.001+09:00</published><updated>2010-06-24T19:00:01.404+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='yui'/><category scheme='http://www.blogger.com/atom/ns#' term='bitly'/><title type='text'>便利ブックマークレット その1: Google App Engineをファイル置き場にする</title><summary type='text'>ブラウザのURLにJavascriptを書くことにより、簡単な処理を実行することが実行できる
Bookmarkletを今まで何個も書いてきたけど、以下のような問題がありました。

macminiのFirefoxには入ってるけど、UbuntuのFirefoxには入ってない
適当に書いたbookmarkletのコードが行方不明
一度書いたbookmarkletを バージョンアップしたけど、macminiのFirefoxは新しくて、Ubuntuは(略
1行に書くので、ちょっとロジックを詰め込むだけでコードが見にくくなる
jQueryやYUIを使いたいけどどうしたもんか

という問題を一気に解決すべく、色々考えてみた

メインロジックを外部ファイルにして、bookmarkletではその外部ファイルを呼び出す処理にする
bookmarkletとはいえ、バージョン管理を徹底する
jsを外部ファイル</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7011839080441597796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/7011839080441597796'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/1-google-app-engine.html' title='便利ブックマークレット その1: Google App Engineをファイル置き場にする'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-4433640117834791155</id><published>2010-06-23T19:00:00.001+09:00</published><updated>2010-06-23T19:00:08.534+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><category scheme='http://www.blogger.com/atom/ns#' term='tv'/><category scheme='http://www.blogger.com/atom/ns#' term='receipt'/><title type='text'>TV雑感: 太一×ケンタロウ 男子ごはん 「牛肉のカルパッチョ」</title><summary type='text'>またまた男子ごはんレシピを試してみた。
今回は、「牛肉のカルパッチョ」

レシピ:

牛ステーキ用肉  1枚
ルッコラ  1パック
オリーブオイル 大さじ1
青葱 適量
塩コショウ 適量
ソース



ディル 3枝
おろしにんにく  少々(BB弾程度)
マヨネーズ  大さじ1
レモン汁  大さじ1
オリーブオイル  大さじ1
塩コショウ  適量






付け合わせとして、モッツァレラチーズの袋に書いてあったレシピの
プレーゼを作って見ました。 

カルパッチョのポイントはフライパンをよく熱しておいて、
表面だけに焼き色をつけて、中はレア気味になるように焼くこと。 

ううううまいー。



普段はあまり飲まないアサヒビールを飲みながら、
おいしくいただきました。
すっきりした味がおいしくて、ぐびぐびいってしまいました。

</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4433640117834791155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/4433640117834791155'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/tv_23.html' title='TV雑感: 太一×ケンタロウ 男子ごはん 「牛肉のカルパッチョ」'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4050/4715506043_371e7ca87e_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8374327538711792996</id><published>2010-06-22T19:00:00.001+09:00</published><updated>2010-06-22T19:00:05.893+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='log'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='project'/><title type='text'>log4phpを調査してみた</title><summary type='text'>きめ細かいログ出力をする必要性がでてきたので、log4phpを調査した。

$ aptitude search log4php
$ 

aptitudeで見つかるかなと思いきや、見つからなかったので、
普通に検索して本家サイトにいってダウンロードしてインストール。

参考:
http://logging.apache.org/log4php/

いつの間にか、これもapache project入り、なんですかね。

$ tar xvzf apache-log4php-2.0.0-incubating-src.tar.gz 
$ cd apache-log4php-2.0.0-incubating/
$ sudo mkdir -p /usr/share/php/log4php
$ sudo cp -R src/main/php/* /usr/share/php/log4php/

これで</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8374327538711792996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8374327538711792996'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/log4php.html' title='log4phpを調査してみた'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-5882478544520904997</id><published>2010-06-21T19:00:00.035+09:00</published><updated>2010-06-21T19:00:02.939+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='確率'/><category scheme='http://www.blogger.com/atom/ns#' term='toto'/><category scheme='http://www.blogger.com/atom/ns#' term='統計'/><title type='text'>totoでお金持ちになる その2 ホーム&amp;アウェイの勝率</title><summary type='text'>まずは、今までの試合データをかき集めるところから開始。

単なる試合結果なので、事実のみを知りたいので、
Yahoo!スポーツやJリーグ公式サイトなどからデータを集めてみた。

データの期間については、2005年から最新(2010年 第12節 )までの
データを元に簡単に集計してみる。
試合数は1634試合分だった。
1試合一人の選手は8-10km走るといわれているので、プロのサッカー選手ってすごいなぁ。

まずは、素朴な疑問。
「ホームチーム勝利、引き分け、アウェイチーム勝利」は、どれくらいの割合で出現するか

結果は以下の通りでした。

引き分け確率(0): 23.87%
ホームチーム勝利確率(1): 43.88%
アウェイチーム勝利確率(2): 32.25%

個人的な予想だと、引き分けが一番確率が高いんじゃないかと思ったんですが、
一番低い結果になりました。これは意外。

まずは</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5882478544520904997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5882478544520904997'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/toto-2.html' title='totoでお金持ちになる その2 ホーム&amp;アウェイの勝率'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2136037710358919720</id><published>2010-06-20T19:00:00.005+09:00</published><updated>2010-06-20T19:00:05.328+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='確率'/><category scheme='http://www.blogger.com/atom/ns#' term='toto'/><category scheme='http://www.blogger.com/atom/ns#' term='統計'/><category scheme='http://www.blogger.com/atom/ns#' term='hadoop'/><title type='text'>totoでお金持ちになる その1 当選確率の比較(ロト6など)</title><summary type='text'>年末ジャンボなど、宝くじは基本的に嫌いです。
理由は、数学の授業で期待値を計算した結果、めちゃめちゃ低かったことを覚えているから。
さすがにこれは当たらないな、と。

とはいえ、一発逆転でビッグマネーを手にするのは夢があります。

最近は色々なくじがあるので、まずは、それぞれの当選確率について調べてみた。

ロト6

01から43までの43個の数字の中から異なる6個を選択するものである。選び方は全部で6,096,454通りある。
当選確率は、約610万分の1です。43C13、という計算ですかね。 (計算結果未確認)
自分で好きな数字を入れることができるけど、結局ランダムだから、当たる気がしない。

その点、
スポーツ新興くじ

スポーツ振興くじ（スポーツしんこうくじ）は、Jリーグの指定された試合の結果あるいは各チームの得点数を予想して投票し、的中すると払戻金を受け
ることのできる公営</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2136037710358919720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2136037710358919720'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/toto-1-6.html' title='totoでお金持ちになる その1 当選確率の比較(ロト6など)'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6386091096727769173</id><published>2010-06-17T19:00:00.003+09:00</published><updated>2010-06-17T19:00:04.085+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tv'/><category scheme='http://www.blogger.com/atom/ns#' term='receipt'/><title type='text'>TV雑感: 太一×ケンタロウ 男子ごはん 「ジャークチキンと豆ごはん」</title><summary type='text'>料理番組は基本的に好きなんだけど、最近は特に、TV東京の男子ごはんがお気に入り。

リンク:
太一×ケンタロウ 男子ごはん:テレビ東京

今までは、見るだけで、実際に作ったことはなかったんだけど、
2010/05/30 放送のジャークチキンと豆ごはんが異様にうまそうだったので、
実際に作ってみた。

作り方は簡単で、

鶏肉をソースに漬け込んで1日以上冷蔵庫で寝かせる
オーブンで焼く

という簡単な手順。ソースが決め手なので、備忘録代わりに書いておく。

玉ねぎ 1/4
万能ネギ 3-4本
にんにく 2片
タイム 3-4枝
オールスパイス 小さじ1
チリペッパー 小さじ1
ナツメグ 小さじ1/2
クミン 小さじ1
しょうゆ 小さじ1
塩 大さじ1/2
砂糖 小さじ1
こしょう たっぷり
レモン汁 1個分
オリーブオイル 大さじ2

↑の材料をミキサーかフードプロセッサにいれてペースト状</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6386091096727769173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6386091096727769173'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/tv.html' title='TV雑感: 太一×ケンタロウ 男子ごはん 「ジャークチキンと豆ごはん」'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4037/4673910969_b111825e9f_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-659981146096605462</id><published>2010-06-16T19:00:00.063+09:00</published><updated>2010-06-16T19:00:03.425+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='mt'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>MovableType5(MT5)の動作について その1 カテゴリとタグ</title><summary type='text'>Movable Type 5(以後MT)の動作について詳細に調べてみる。

MTの基本動作は、以下の2つ

編集中のデータはMySQLなどのDBに保存する
編集が終了したら、DB上のデータから、HTMLファイルに書き出す(再構築) 

一度HTMLに書き出すことがMTの最大の特徴で、
静的なHTMLファイルにことにより、公開した時の表示性能を上げている。
その代わり、再構築が重い、というデメリットはあるが、
HTMLにしたときの表示の早さは、補って余りあるものといえる。

と、これがMTの基本的な動作だが、全部のページを静的なHTMLに
書き出すわけではない。

MTには似たような2つの機能である、「カテゴリ」と「タグ」があるが、

カテゴリはHTMLに書き出す
タグはHTMLに書き出さない

という決定的な違いがあるのが注意。
例を上げると、
「test」というカテゴリページのURLは</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/659981146096605462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/659981146096605462'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/movabletype5mt5-1.html' title='MovableType5(MT5)の動作について その1 カテゴリとタグ'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-2930581447619159670</id><published>2010-06-13T22:00:00.033+09:00</published><updated>2010-06-13T22:33:06.177+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog'/><category scheme='http://www.blogger.com/atom/ns#' term='nhk'/><category scheme='http://www.blogger.com/atom/ns#' term='tv'/><title type='text'>TV雑感: NHKスペシャル FIFAワールドカップ 第3回 エトー、アフリカを背負う</title><summary type='text'>NHKスペシャル FIFAワールドカップ 第3回 エトー、アフリカを背負う
の雑感をだらだらと書いてみる。

サミュエル・エトオ - Wikipedia

 
サミュエル・エトオ・フィス（Samuel Eto'o Fils, 1981年3
月10日 - ）は、カメルーン出身で同国代表のサッカー選手。セリエA・インテル所属。サミュエル・エトーとも表記される。別名黒い宝石。

カメルーン代表の最多得点記録保持者であり、最多タイの3度のアフリカ年間最優秀選手賞受賞、2度のアフリカネイションズカップ優勝、3度のUEFAチャンピオンズリーグ優勝など数々の栄誉を手にしている。

- 実力で世界をこじあけるエトーかっこよす- エトー+ロナウジーニョやばす
- アラゴネスもカコイイ 「お前は人生の分岐点に立っている。選択しろ。」- ETO'O- サッカーとは何か →  「義務」- カメルーンだけじゃなく</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2930581447619159670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/2930581447619159670'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/tv-nhk-fifa-3.html' title='TV雑感: NHKスペシャル FIFAワールドカップ 第3回 エトー、アフリカを背負う'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-5317945102461794635</id><published>2010-06-13T11:04:00.000+09:00</published><updated>2010-06-13T11:04:07.625+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mt'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>MovableType5(MT5)のオプションモジュールをインストールする</title><summary type='text'>MTを動かすために、必須ではないけど、あった方がいいperlモジュールを
オプションモジュールと呼ぶようです。

参考:
アグレッシブエンジニア: mac に Movable Type 5.02 (MT5) 環境をインストール

というわけで、忘れないうちに、オプションモジュールのインストールをしておく。
今回の環境はUbuntu 10.0.4 LTS + apache2 です。

まずは、インストールされていないオプションもジュールが何であるか確認。
 
http://localhost/mt/mt-check.cgi
にブラウザからアクセスすれば、インストールされていないモジュールを確認できる。 
http://localhost/mt/mt-config.cgiが存在する場合は、
あらかじめmvしておく。
 
今回は、PostgreSQL以外のモジュールをすべてインストールした。
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5317945102461794635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5317945102461794635'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/movabletype5mt5.html' title='MovableType5(MT5)のオプションモジュールをインストールする'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-8711104433758529393</id><published>2010-06-12T23:57:00.000+09:00</published><updated>2010-06-12T23:57:15.881+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='design'/><title type='text'>ブログのデザインをいじってみた(blogger template designer )</title><summary type='text'>Bloggerのテンプレートデザイナーでデザインをいじってみた。

ラベルをへらしてみた

なんでもかんでも表示しても重くなるし、クリックされてないので
そのかわり文字サイズは大きくしてみた

固定幅にしてみた

950pxにしようかと思ったけど、ちょっとせまくみえたので1000pxにしてみた
Adsenseのサイズと色を調整した

色は青基調に

アグレッシブエンジニアだから、赤かなとおもったけど、うっとうしいので青にした
海背景が一番しっくりきたので採用

デザインテンプレートをいじったら、今までの設定が一部消えた

jquery読み込み部分
一部CSS


これで広告クリック率があがればいいな、と思う。</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8711104433758529393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/8711104433758529393'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/blogger-template-designer.html' title='ブログのデザインをいじってみた(blogger template designer )'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-5494485665267534526</id><published>2010-06-12T18:53:00.006+09:00</published><updated>2010-06-13T10:52:18.800+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mt'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>MovableType5(MT5)をFastCGI(mod_fcgid)で動かす on apache2</title><summary type='text'>MovableTypeの高速化のために、FastCGIで動かす設定をしてみたのでメモ。
環境は、

Ubuntu 10.0.4 LTS
apache 2.2.14

まずは、必要なパッケージのインストールとfastcgi用のディレクトリ作成
$ sudo aptitude install libapache2-mod-fcgid
$ sudo aptitude install libfcgi-perl libfcgi-perl libcgi-fast-perl
$ sudo mkdir -m 777 /tmp/fcgid_sock

次に、mt-config.cgiの修正(CGIPathを修正)
CGIPath        /mt/
StaticWebPath  /mt-static/
StaticFilePath /var/www/mt-static

次に、/etc/apache2</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5494485665267534526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/5494485665267534526'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/movabletype5mt5fastcgi-on-apache2.html' title='MovableType5(MT5)をFastCGI(mod_fcgid)で動かす on apache2'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-828824187511123509</id><published>2010-06-10T22:58:00.000+09:00</published><updated>2010-06-10T22:58:01.361+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='art'/><category scheme='http://www.blogger.com/atom/ns#' term='design'/><category scheme='http://www.blogger.com/atom/ns#' term='lifehack'/><title type='text'>オルセー美術館展2010 新国立美術館に行ってきました</title><summary type='text'>会社を早引きして、東京に出てきている親が見たいといってた
オルセー美術館展2010@新国立美術館に行ってきました。



クロード・モネ

クロード・モネ（Claude Monet, 1840年11月14日 - 1926年12
月5日）は印象派を代表するフランスの画家。
「光の画家」の別称があり、時間や季節とともに移りゆく光と色彩の変化を生涯にわたり追求した画家であった。モネは印象派グループの画家のなかではもっと
も長生きし、20世紀に入っても『睡蓮』の連作をはじめ多数の作品を残している。ルノワール、セザンヌ、ゴーギャンらはやがて印象派の技法を離れて独自の道を進み、マネ、ドガらはもともと印象派とは気質の違う画家だったが、モネは終生印象主義の技法を追求し続けた、もっとも典型
的な印象派の画家であった。 

ポール・セザンヌ

ポール・セザンヌ（Paul Cézanne、1839年1
月19</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/828824187511123509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/828824187511123509'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/2010.html' title='オルセー美術館展2010 新国立美術館に行ってきました'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm5.static.flickr.com/4003/4687535355_1f6e9d0335_t.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-127848861292219797</id><published>2010-06-09T19:00:00.000+09:00</published><updated>2010-06-09T19:00:10.430+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mt'/><category scheme='http://www.blogger.com/atom/ns#' term='cms'/><category scheme='http://www.blogger.com/atom/ns#' term='plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>Movable Type 5 (mt5) ではじめてのPlugin</title><summary type='text'>Movable Type 5 ではじめてのPluginを作ってみた。
色々検索してみましたが、MT5のプラグインの作り方は見つからなかったので、
結局公式ドキュメントの英語を見ながら作ってみる。
まずは、「何もしない」 プラグインから。

参考: Registering Your Plugin: Basic Plugin Metadata

mtのpluginディレクトリ以下に、ディレクトリを作る
作成したディレクトリ以下に、config.yamlを作成する


name: Good for Nothing Plugin for Movable Type
id: Good4Nothing
author_link: http://www.yourwebsite.com/
author_name: Your Name Here
description: This plugin is an </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/127848861292219797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/127848861292219797'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/movable-type-5-mt5-plugin.html' title='Movable Type 5 (mt5) ではじめてのPlugin'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_BDT6UR5b0TI/TAJ1xGw86MI/AAAAAAAAA8s/rCc9_Ry1hm8/s72-c/mt5_system.png' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-3425887106542417970</id><published>2010-06-08T19:00:00.000+09:00</published><updated>2010-06-08T19:00:00.748+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wikipedia'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>ping とか traceroute とかでネットワークの勉強</title><summary type='text'>普段、あまりネットワークに関係する仕事をやってなかったけど、
勉強したことをメモメモ。まちがってたら、指摘ください。

こちらまでご連絡おまちしてます

まずは、ping

/Users/satoshi% ping -c 10 www.yahoo.co.jp
PING www.ya.gl.yahoo.co.jp (203.216.227.176): 56 data bytes
64 bytes from 203.216.227.176: icmp_seq=0 ttl=53 time=16.000 ms
64 bytes from 203.216.227.176: icmp_seq=1 ttl=53 time=25.958 ms
64 bytes from 203.216.227.176: icmp_seq=2 ttl=53 time=15.543 ms
64 bytes from </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/3425887106542417970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/3425887106542417970'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/ping-traceroute.html' title='ping とか traceroute とかでネットワークの勉強'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5676550650056201364.post-6750952809046058253</id><published>2010-06-07T19:00:00.003+09:00</published><updated>2010-06-07T19:00:10.281+09:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='safari'/><category scheme='http://www.blogger.com/atom/ns#' term='design'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><title type='text'>AppleのHTML5のデモサイトがすごい件について</title><summary type='text'>http://www.apple.com/html5/

まずは、ブラウザがsafariじゃなければ、ダウンロードするように
怒られてしまいますが、




safariを起動して、デモを見てみる。
個人的に一番気になったのは、3D。
よく中身を見てみると、以下のような画像を連続してみせてるだけのようです。
http://www.apple.com/html5/showcase/threesixty/images/optimized/Seq_v04_640x378_50.jpg
http://www.apple.com/html5/showcase/threesixty/images/optimized/Seq_v04_640x378_51.jpg
http://www.apple.com/html5/showcase/threesixty/images/optimized/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6750952809046058253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5676550650056201364/posts/default/6750952809046058253'/><link rel='alternate' type='text/html' href='http://blog.tanarky.com/2010/06/applehtml5.html' title='AppleのHTML5のデモサイトがすごい件について'/><author><name>tanarky</name><uri>http://www.blogger.com/profile/04676750862181618698</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_BDT6UR5b0TI/TAnGLb3LXcI/AAAAAAAAA80/Kp04HVIfKtk/s72-c/safari.png' height='72' width='72'/></entry></feed>
