<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>swimbird's blog</title>
	<atom:link href="http://swimbird.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://swimbird.com/blog</link>
	<description>空を泳ぐ鳥の回遊記</description>
	<pubDate>Sat, 23 Oct 2010 03:31:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://swimbird.com/blog/feed" />
		<item>
		<title>wordpress移行テスト</title>
		<link>http://swimbird.com/blog/archives/2010/10/23/wordpress%e7%a7%bb%e8%a1%8c%e3%83%86%e3%82%b9%e3%83%88.html</link>
		<comments>http://swimbird.com/blog/archives/2010/10/23/wordpress%e7%a7%bb%e8%a1%8c%e3%83%86%e3%82%b9%e3%83%88.html#comments</comments>
		<pubDate>Sat, 23 Oct 2010 03:31:37 +0000</pubDate>
		<dc:creator>swimbird55</dc:creator>
		
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://swimbird.com/blog/?p=352</guid>
		<description><![CDATA[				自宅サーバで稼動していたwordpressをcoreserverに移行してみたのでテスト。
]]></description>
			<content:encoded><![CDATA[				<p>自宅サーバで稼動していたwordpressをcoreserverに移行してみたのでテスト。</p>
]]></content:encoded>
			<wfw:commentRss>http://swimbird.com/blog/archives/2010/10/23/wordpress%e7%a7%bb%e8%a1%8c%e3%83%86%e3%82%b9%e3%83%88.html/feed</wfw:commentRss>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://swimbird.com/blog/archives/2010/10/23/wordpress%e7%a7%bb%e8%a1%8c%e3%83%86%e3%82%b9%e3%83%88.html" />
	</item>
		<item>
		<title>javascriptでライフゲーム</title>
		<link>http://swimbird.com/blog/archives/2009/11/30/javascript%e3%81%a7%e3%83%a9%e3%82%a4%e3%83%95%e3%82%b2%e3%83%bc%e3%83%a0.html</link>
		<comments>http://swimbird.com/blog/archives/2009/11/30/javascript%e3%81%a7%e3%83%a9%e3%82%a4%e3%83%95%e3%82%b2%e3%83%bc%e3%83%a0.html#comments</comments>
		<pubDate>Mon, 30 Nov 2009 14:34:38 +0000</pubDate>
		<dc:creator>swimbird55</dc:creator>
		
		<category><![CDATA[javascript]]></category>

		<category><![CDATA[book]]></category>

		<guid isPermaLink="false">http://swimbird.com/blog/?p=316</guid>
		<description><![CDATA[				順列都市を読んで
				
				作中にやたらと「エデンの園配置」というキーワードがでていて、ふと気になってwikipediaで調べてみたら
				エデンの園配置（英: Garden of Eden pattern）とは、セル・オートマトンにおいて他のいかなる配置からも到達できない配置を指す。以前の状態が存在しない、つまり最初からそのように配置しない限り出現しないということから、聖書のエデンの園にちなんで命名された。
				Moore (1962) によれば、1950年代にジョン・テューキーが命名したもので、これはジョン・ホートン・コンウェイがライフゲームを発明するずっと前のことである。
				今度はライフゲームというワードが気になり調べてみると、
				単純なアルゴリズムで生命の誕生、進化、淘汰などのプロセスを簡易的なモデルで再現できる
				ものらしいということなので、jsで書いてみた。
				実行（IE以外）
				一日中みてても飽きないわー。
				

(function() {
        Element = {
                remove: function(element) {
                    [...]]]></description>
			<content:encoded><![CDATA[				<h4>順列都市を読んで</h4>
				<p><iframe src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=swimbird-22&#038;o=9&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=1X69VDGQCMF7Z30FM082&#038;asins=4150112894" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
				<p>作中にやたらと「エデンの園配置」というキーワードがでていて、ふと気になってwikipediaで調べてみたら</p>
				<blockquote><p><strong>エデンの園配置</strong>（<a title="英語" href="http://ja.wikipedia.org/wiki/%E8%8B%B1%E8%AA%9E">英</a>: <strong>Garden of Eden pattern</strong>）とは、<a title="セル・オートマトン" href="http://ja.wikipedia.org/wiki/%E3%82%BB%E3%83%AB%E3%83%BB%E3%82%AA%E3%83%BC%E3%83%88%E3%83%9E%E3%83%88%E3%83%B3">セル・オートマトン</a>において他のいかなる配置からも到達できない配置を指す。以前の状態が存在しない、つまり最初からそのように配置しない限り出現しないということから、聖書の<a title="エデンの園" href="http://ja.wikipedia.org/wiki/%E3%82%A8%E3%83%87%E3%83%B3%E3%81%AE%E5%9C%92">エデンの園</a>にちなんで命名された。</p>
				<p>Moore (1962) によれば、1950年代に<a title="ジョン・テューキー" href="http://ja.wikipedia.org/wiki/%E3%82%B8%E3%83%A7%E3%83%B3%E3%83%BB%E3%83%86%E3%83%A5%E3%83%BC%E3%82%AD%E3%83%BC">ジョン・テューキー</a>が命名したもので、これは<a title="ジョン・ホートン・コンウェイ" href="http://ja.wikipedia.org/wiki/%E3%82%B8%E3%83%A7%E3%83%B3%E3%83%BB%E3%83%9B%E3%83%BC%E3%83%88%E3%83%B3%E3%83%BB%E3%82%B3%E3%83%B3%E3%82%A6%E3%82%A7%E3%82%A4">ジョン・ホートン・コンウェイ</a>が<a title="ライフゲーム" href="http://ja.wikipedia.org/wiki/%E3%83%A9%E3%82%A4%E3%83%95%E3%82%B2%E3%83%BC%E3%83%A0">ライフゲーム</a>を発明するずっと前のことである。</p></blockquote>
				<p>今度はライフゲームというワードが気になり調べてみると、<br />
				単純なアルゴリズムで<strong>生命の誕生、進化、淘汰などのプロセスを簡易的なモデルで再現できる</strong><br />
				ものらしいということなので、jsで書いてみた。</p>
				<h3><a href="http://swimbird.com/jsdev/lifegame/sample.html">実行（IE以外）</a></h3>
				<p>一日中みてても飽きないわー。</p>
				<pre class="brush: javascript">

(function() {
        Element = {
                remove: function(element) {
                        element.parentNode.removeChild(element);
                },
                create: function(tagName, options) {
                        options = options || {};
                        var element = document.createElement(tagName);
                        var parent;
                        if(options.parent) {
                                        parent = options.parent;
                                        delete options.parent;
                        }
                        if(options.style) {
                                for(var p in options.style)
                                element.style[p] = options.style[p];
                                delete options.style;
                        }
                        for(var p in options) element[p] = options[p];
                        if(parent) parent.appendChild(element);
                        return element;
                }
        };

        //GardenOfEden
        var GOD = {
                GardenX : 120,
                GardenY : 120,
                Garden : [],
                C  : [],
                _C : [],
                Timer : 500,

                init : function(){
                        this.CreateGarden();
                        this.BeginningTimer();
                },
                CreateGarden : function(){
                        var n = 0;
                        for (var y = 0; y &lt;= this.GardenY - 1; y++){
                                for(var x = 0; x &lt;= this.GardenX - 1; x++, n++){
                                        if(this.Shake()){
                                                var Gtype = &quot;birth&quot;;
                                                var GColor = this.Image.birth;
                                                this.C[n] = 1;
                                        }else{
                                                var Gtype = &quot;death&quot;;
                                                var GColor = this.Image.death;
                                                this.C[n] = 0;
                                        }
                                        this.Garden[n] = Element.create(&#039;div&#039;, {
                                                parent: document.body,
                                                type  : Gtype,
                                                id : n,
                                                style : {
                                                        position : &#039;absolute&#039;,
                                                        zIndex : 90000,
                                                        backgroundColor: GColor,
                                                        width: this.Image.width,
                                                        height: this.Image.height,
                                                        top:  (y * this.Image.width)+&#039;px&#039;,
                                                        left: (x * this.Image.height)+&#039;px&#039;
                                                }
                                        });
                                        this.Garden[n].addEventListener(&#039;mousedown&#039;, function(event) {
                                                if(this.type === &quot;birth&quot;){
                                                        this.style.backgroundColor = GOD.Image.death;
                                                        this.type = &quot;death&quot;;
                                                        GOD.C[this.id] = 0;
                                                }else if(this.type === &quot;death&quot;){
                                                        this.style.backgroundColor = GOD.Image.birth;
                                                        this.type = &quot;birth&quot;;
                                                        GOD.C[this.id] = 1;
                                                }
                                        }, false);

                                }
                        }
                },
                Shake : function(){
                        var shake = 10; //persent
                        return (Math.floor((Math.random()*100)) &lt; shake) ? true : false;
                },
                Beginning : function(){
                        var n;
                        this.NextDay();
                        for (n = 0; n &lt; this.GardenY * this.GardenX; n++) this.C[n] = this._C[n];
                },
                BeginningTimer : function(){
                        this.t = setInterval(this._bindFunc(this, this.Beginning), this.Timer);
                },
                NextDay : function(){
                        var n = 0;
                        for (var y = 0; y &lt; this.GardenY; y++) {
                                for (var x = 0; x &lt; this.GardenX; x++, n++) {
                                        this._C[n] = this.Judgment(x, y, n);
                                        if (this.C[n] != this._C[n]) this.DeathOrBirth(n, this._C[n]);
                                }
                        }
                },
                Judgment : function(x, y, n){
                        var i, j, l = 0, _x, _y;
                        if ((x &gt; 0 &amp;amp;&amp;amp; x &lt; this.GardenX - 1) &amp;amp;&amp;amp; (y &gt; 0 &amp;amp;&amp;amp; y &lt; this.GardenY - 1)) {
                                l = this.C[n - this.GardenX - 1] + this.C[n - this.GardenX] + this.C[n - this.GardenX + 1]
                                  + this.C[n                - 1]                            + this.C[n                + 1]
                                  + this.C[n + this.GardenX - 1] + this.C[n + this.GardenX] + this.C[n + this.GardenX + 1]
                                  ;
                        } else {
                                for (i = -1; i &lt; 2; i++) {
                                        for (j = -1; j &lt; 2; j++) {
                                                if (i == 0 &amp;amp;&amp;amp; j == 0) continue;
                                                if (x + j == -1) _x = this.GardenX - 1;
                                                if (x + j == this.GardenX) _x = 0;
                                                if (x + j != -1 &amp;amp;&amp;amp; x + j != this.GardenX) _x = x + j;
                                                if (y + i == -1) _y = this.GardenY - 1;
                                                if (y + i == this.GardenY) _y = 0;
                                                if (y + i != -1 &amp;amp;&amp;amp; y + i != this.GardenY) _y = y + i;
                                                l += this.C[this.GardenX * _y + _x];
                                        }
                                }
                        }

                        if (this.C[n] == 0 &amp;amp;&amp;amp; l == 3)             return 1;
                        if (this.C[n] == 1 &amp;amp;&amp;amp; (l == 2 || l == 3)) return 1;
                        return 0;
                },
                DeathOrBirth : function(n, p){
                        this.Garden[n].style.backgroundColor = (p == 0) ? this.Image.death : this.Image.birth;
                },
                Image : {
                        width : 5,
                        height : 5,
                        death : &quot;#ffffff&quot;,
                        birth : &quot;#330033&quot;
                },
                _bindFunc : function (bind, func){
                        return function(){
                                return func.apply(bind, arguments);
                        };
                }
        };

        GOD.init();
})();
</pre>
]]></content:encoded>
			<wfw:commentRss>http://swimbird.com/blog/archives/2009/11/30/javascript%e3%81%a7%e3%83%a9%e3%82%a4%e3%83%95%e3%82%b2%e3%83%bc%e3%83%a0.html/feed</wfw:commentRss>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://swimbird.com/blog/archives/2009/11/30/javascript%e3%81%a7%e3%83%a9%e3%82%a4%e3%83%95%e3%82%b2%e3%83%bc%e3%83%a0.html" />
	</item>
		<item>
		<title>gvimの設定</title>
		<link>http://swimbird.com/blog/archives/2009/06/25/gvim%e3%81%ae%e8%a8%ad%e5%ae%9a.html</link>
		<comments>http://swimbird.com/blog/archives/2009/06/25/gvim%e3%81%ae%e8%a8%ad%e5%ae%9a.html#comments</comments>
		<pubDate>Wed, 24 Jun 2009 15:17:21 +0000</pubDate>
		<dc:creator>swimbird55</dc:creator>
		
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://swimbird.com/blog/?p=305</guid>
		<description><![CDATA[				毎回調べながらの設定はめんどくさいので備忘録。
				1. vimのインストール
				kaoriyaさんからインストール、バージョンはVim 7.2-20090321 for Windowsで解凍先を
				C:\Program Files\vim72-kaoriya-w32j\
				としました
				2. vimの環境設定
				
				コントロールパネル -&#62; システム -&#62; 詳細設定　環境変数のPath に「C:\Program Files\vim72-kaoriya-w32j;」を追加
				
				
				デフォルトのエンコーディングを UTF-8 にする
				
				C:\Program Files\vim72-kaoriya-w32j\runtime\encode_japan.vim を編集
				set encoding=japanese を set encoding=UTF-8 に変更
				
				vimrcの変更
				
				C:\Program Files\vim72-kaoriya-w32j\gvimrcを編集
				
				
&#34;-----------------------------------------------------------------
&#34; サイトローカルな設定($VIM/gvimrc_local.vim)があれば読み込む。読み込んだ後
&#34; に変数g:gvimrc_local_finishに非0な値が設定されていた場合には、それ以上の設
&#34; 定ファイルの読込を中止する。
if 1 &#38;amp;&#38;amp; filereadable($VIM . &#039;/gvimrc_local.vim&#039;)
source $VIM/gvimrc_local.vim
if exists(&#039;g:gvimrc_local_finish&#039;) &#38;amp;&#38;amp; g:gvimrc_local_finish != 0
finish
endif
endif&#60;/code&#62;

&#34;---------------------------------------------------------------------------
&#34; ユーザ優先設定($HOME/.gvimrc_first.vim)があれば読み込む。読み込んだ後に変
&#34; 数g:gvimrc_first_finishに非0な値が設定されていた場合には、それ以上の設定
&#34; ファイルの読込を中止する。
if 0 &#38;amp;&#38;amp; exists(&#039;$HOME&#039;) &#38;amp;&#38;amp; filereadable($HOME . &#039;/.gvimrc_first.vim&#039;)
unlet! g:gvimrc_first_finish
source $HOME/.gvimrc_first.vim
if exists(&#039;g:gvimrc_first_finish&#039;) &#38;amp;&#38;amp; g:gvimrc_first_finish != 0
finish
endif
endif

&#34;---------------------------------------------------------------------------
&#34; Bram氏の提供する設定例をインクルード [...]]]></description>
			<content:encoded><![CDATA[				<p>毎回調べながらの設定はめんどくさいので備忘録。</p>
				<h3>1. vimのインストール</h3>
				<p><a href="http://www.kaoriya.net/">kaoriya</a>さんからインストール、バージョンはVim 7.2-20090321 for Windowsで解凍先を<br />
				C:\Program Files\vim72-kaoriya-w32j\<br />
				としました</p>
				<h3>2. vimの環境設定</h3>
				<ul>
				<li>コントロールパネル -&gt; システム -&gt; 詳細設定　環境変数のPath に「C:\Program Files\vim72-kaoriya-w32j;」を追加</li>
				</ul>
				<ul>
				<li>デフォルトのエンコーディングを UTF-8 にする</li>
				</ul>
				<p>C:\Program Files\vim72-kaoriya-w32j\runtime\encode_japan.vim を編集<br />
				set encoding=japanese を set encoding=UTF-8 に変更</p>
				<ul>
				<li>vimrcの変更</li>
				</ul>
				<p>C:\Program Files\vim72-kaoriya-w32j\gvimrcを編集</p>
				<p><code>
				<pre class="brush: text">
&quot;-----------------------------------------------------------------
&quot; サイトローカルな設定($VIM/gvimrc_local.vim)があれば読み込む。読み込んだ後
&quot; に変数g:gvimrc_local_finishに非0な値が設定されていた場合には、それ以上の設
&quot; 定ファイルの読込を中止する。
if 1 &amp;amp;&amp;amp; filereadable($VIM . &#039;/gvimrc_local.vim&#039;)
source $VIM/gvimrc_local.vim
if exists(&#039;g:gvimrc_local_finish&#039;) &amp;amp;&amp;amp; g:gvimrc_local_finish != 0
finish
endif
endif&lt;/code&gt;

&quot;---------------------------------------------------------------------------
&quot; ユーザ優先設定($HOME/.gvimrc_first.vim)があれば読み込む。読み込んだ後に変
&quot; 数g:gvimrc_first_finishに非0な値が設定されていた場合には、それ以上の設定
&quot; ファイルの読込を中止する。
if 0 &amp;amp;&amp;amp; exists(&#039;$HOME&#039;) &amp;amp;&amp;amp; filereadable($HOME . &#039;/.gvimrc_first.vim&#039;)
unlet! g:gvimrc_first_finish
source $HOME/.gvimrc_first.vim
if exists(&#039;g:gvimrc_first_finish&#039;) &amp;amp;&amp;amp; g:gvimrc_first_finish != 0
finish
endif
endif

&quot;---------------------------------------------------------------------------
&quot; Bram氏の提供する設定例をインクルード (別ファイル:vimrc_example.vim)。これ
&quot; 以前にg:no_gvimrc_exampleに非0な値を設定しておけばインクルードしない。
if 1 &amp;amp;&amp;amp; (!exists(&#039;g:no_gvimrc_example&#039;) || g:no_gvimrc_example == 0)
source $VIMRUNTIME/gvimrc_example.vim
endif

&quot; フォント設定:
if has(&#039;win32&#039;)
&quot; Windows用
set guifont=MS_Gothic:h12:cSHIFTJIS
&quot;set guifont=MS_Mincho:h12:cSHIFTJIS
&quot; 行間隔の設定
set linespace=1
&quot; 一部のUCS文字の幅を自動計測して決める
if has(&#039;kaoriya&#039;)
set ambiwidth=auto
endif
elseif has(&#039;mac&#039;)
set guifont=Osaka－等幅:h14
elseif has(&#039;xfontset&#039;)
&quot; UNIX用 (xfontsetを使用)
set guifontset=a14,r14,k14
endif

&quot;---------------------------------------------------------------------------
&quot; ウインドウに関する設定:
&quot;
&quot; ウインドウの幅
set columns=80
&quot; ウインドウの高さ
set lines=25
&quot; コマンドラインの高さ(GUI使用時)
set cmdheight=2
&quot;---------------------------------------------------------------------------
&quot; 日本語入力に関する設定:
&quot;
if has(&#039;multi_byte_ime&#039;) || has(&#039;xim&#039;)
&quot; IME ON時のカーソルの色を設定(設定例:紫)
highlight CursorIM guibg=Purple guifg=NONE
&quot; 挿入モード・検索モードでのデフォルトのIME状態設定
set iminsert=0 imsearch=0
if has(&#039;xim&#039;) &amp;amp;&amp;amp; has(&#039;GUI_GTK&#039;)
&quot; XIMの入力開始キーを設定:
&quot; 下記の s-space はShift+Spaceの意味でkinput2+canna用設定
&quot;set imactivatekey=s-space
endif
&quot; 挿入モードでのIME状態を記憶させない場合、次行のコメントを解除
&quot;inoremap &lt;silent&gt; &lt;ESC&gt; &lt;ESC&gt;:set iminsert=0&lt;CR&gt;
endif

&quot;---------------------------------------------------------------------------
&quot; マウスに関する設定:
&quot;
&quot; 解説:
&quot; mousefocusは幾つか問題(一例:ウィンドウを分割しているラインにカーソルがあっ
&quot; ている時の挙動)があるのでデフォルトでは設定しない。Windowsではmousehide
&quot; が、マウスカーソルをVimのタイトルバーに置き日本語を入力するとチラチラする
&quot; という問題を引き起す。
&quot;
&quot; どのモードでもマウスを使えるようにする
set mouse=a
&quot; マウスの移動でフォーカスを自動的に切替えない (mousefocus:切替る)
set nomousefocus
&quot; 入力時にマウスポインタを隠す (nomousehide:隠さない)
set mousehide
&quot; ビジュアル選択(D&amp;amp;D他)を自動的にクリップボードへ (:help guioptions_a)
set guioptions+=a

&quot;---------------------------------------------------------------------------
&quot; メニューに関する設定:
&quot;
&quot; 解説:
&quot; &quot;M&quot;オプションが指定されたときはメニュー(&quot;m&quot;)・ツールバー(&quot;T&quot;)供に登録され
&quot; ないので、自動的にそれらの領域を削除するようにした。よって、デフォルトのそ
&quot; れらを無視してユーザが独自の一式を登録した場合には、それらが表示されないと
&quot; いう問題が生じ得る。しかしあまりにレアなケースであると考えられるので無視す
&quot; る。
&quot;
if &amp;amp;guioptions =~# &#039;M&#039;
let &amp;amp;guioptions = substitute(&amp;amp;guioptions, &#039;[mT]&#039;, &#039;&#039;, &#039;g&#039;)
endif

&quot;---------------------------------------------------------------------------
&quot; その他、見栄えに関する設定:
&quot;
&quot; 検索文字列をハイライトしない(_vimrcではなく_gvimrcで設定する必要がある)
set hlsearch

&quot;---------------------------------------------------------------------------
&quot; 印刷に関する設定:
&quot;
&quot; 注釈:
&quot; 印刷はGUIでなくてもできるのでvimrcで設定したほうが良いかもしれない。この辺
&quot; りはWindowsではかなり曖昧。一般的に印刷には明朝、と言われることがあるらし
&quot; いのでデフォルトフォントは明朝にしておく。ゴシックを使いたい場合はコメント
&quot; アウトしてあるprintfontを参考に。
&quot;
&quot; 参考:
&quot;   :hardcopy
&quot;   :help &#039;printfont&#039;
&quot;   :help printing
&quot;
&quot; 印刷用フォント
if has(&#039;printer&#039;)
if has(&#039;win32&#039;)
set printfont=MS_Mincho:h12:cSHIFTJIS
&quot;set printfont=MS_Gothic:h12:cSHIFTJIS
endif
endif
&quot;---------------------------------------------------------------------------
&quot; 検索の挙動に関する設定:
&quot;
&quot; 検索時に大文字小文字を無視 (noignorecase:無視しない)
set ignorecase
&quot; 大文字小文字の両方が含まれている場合は大文字小文字を区別
set smartcase

&quot; インクリメンタルサーチ
set incsearch
&quot;---------------------------------------------------------------------------
&quot; 編集に関する設定:
&quot;
&quot; タブの画面上での幅
set tabstop=4
set softtabstop=4

&quot; タブをスペースに展開しない (expandtab:展開する)
set noexpandtab
&quot; 自動的にインデントする (noautoindent:インデントしない)
set autoindent
&quot; バックスペースでインデントや改行を削除できるようにする
set backspace=2
&quot; 検索時にファイルの最後まで行ったら最初に戻る (nowrapscan:戻らない)
set wrapscan
&quot; 括弧入力時に対応する括弧を表示 (noshowmatch:表示しない)
set showmatch
&quot; コマンドライン補完するときに強化されたものを使う(参照 :help wildmenu)
set wildmenu
&quot; テキスト挿入中の自動折り返しを日本語に対応させる
set formatoptions+=mM
&quot; 日本語整形スクリプト(by. 西岡拓洋さん)用の設定
let format_allow_over_tw = 1    &quot; ぶら下り可能幅

&quot;---------------------------------------------------------------------------
&quot; GUI固有ではない画面表示の設定:
&quot;
&quot; 行番号を非表示 (number:表示)
set number
&quot; ルーラーを表示 (noruler:非表示)
set ruler
&quot; タブや改行を表示 (list:表示)
set list
&quot; どの文字でタブや改行を表示するかを設定
set listchars=tab:&gt;\ ,eol:&lt;,nbsp:%,trail:-
highlight ZenkakuSpace cterm=underline ctermfg=lightblue guibg=#666666

&quot; 全角スペースの可視化
if has(&quot;syntax&quot;)
syntax on
function! ActivateInvisibleIndicator()
syntax match InvisibleJISX0208Space &quot;　&quot; display containedin=ALL
highlight InvisibleJISX0208Space term=underline ctermbg=Gray guibg=Gray
endf
augroup invisible
autocmd! invisible
autocmd BufNew,BufRead * call ActivateInvisibleIndicator()
augroup END
endif

&quot; 長い行を折り返して表示 (nowrap:折り返さない)
set wrap
&quot; 常にステータス行を表示 (詳細は:he laststatus)
set laststatus=2
&quot; コマンドラインの高さ (Windows用gvim使用時はgvimrcを編集すること)
set cmdheight=2
&quot; コマンドをステータス行に表示
set showcmd
set statusline=%&lt;%f\ %m%r%h%w%{&#039;[&#039;.(&amp;amp;fenc!=&#039;&#039;?&amp;amp;fenc:&amp;amp;enc).&#039;][&#039;.&amp;amp;ff.&#039;]&#039;}%=%l,%c%V%8P
&quot; タイトルを表示
set title
&quot; カラーテーマ
colorscheme desert
&quot; クリップボードの共有
set clipboard=unnamed
&quot; MS-WindowsのCTRL-X、CTRL-CおよびCTRL-V
source $VIMRUNTIME/mswin.vim
&quot; taglist.vim
set tags=./tags,/usr/src/tags
&quot;バックアップファイルを作らない
set nobackup
</pre>
				<h3>各種プラグインのインストール</h3>
				<ul>
				<li>diffを利用するためにDiffUtils for Windowsをインストール</li>
				<p><a href="http://nanasi.jp/articles/howto/diff/vimdiff_in_windows.html#diff">http://nanasi.jp/articles/howto/diff/vimdiff_in_windows.html#diff</a><br />
				:DiffOrigで編集前とのdiffを表示<br />
				:VDSplit 　でとのdiffを表示</p>
				<li>windowsでctagsを利用するために exuberant ctagsをインストール</li>
				<p><a href="http://hp.vector.co.jp/authors/VA025040/ctags/">http://hp.vector.co.jp/authors/VA025040/ctags/</a><br />
				vimのパスが通っているフォルダに設置</p>
				<li>タグのリストを表示できるtaglist.vim</li>
				<p><a href="http://www.vim.org/scripts/script.php?script_id=273">http://www.vim.org/scripts/script.php?script_id=273</a><br />
				*.vimファイルはC:\Program Files\vim72-kaoriya-w32j\runtime\pluginに保存する<br />
				:Tlistで実行<br />
				:!ctags -R　でtagsファイルを生成<br />
				ネットワークにあるファイルの時はネットワークドライブを割り当ててから利用</p>
				<li>tab保管を利用のため SuperTabのインストール</li>
				<p><a href="http://www.vim.org/scripts/script.php?script_id=1643">http://www.vim.org/scripts/script.php?script_id=1643</a></p>
				<li>正規表現をPerl互換にするためeregex.vimをインストール</li>
				<p><a href="http://www.vector.co.jp/soft/unix/writing/se265654.html">http://www.vector.co.jp/soft/unix/writing/se265654.html</a></ul>
]]></content:encoded>
			<wfw:commentRss>http://swimbird.com/blog/archives/2009/06/25/gvim%e3%81%ae%e8%a8%ad%e5%ae%9a.html/feed</wfw:commentRss>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://swimbird.com/blog/archives/2009/06/25/gvim%e3%81%ae%e8%a8%ad%e5%ae%9a.html" />
	</item>
		<item>
		<title>2chクローラーを作った</title>
		<link>http://swimbird.com/blog/archives/2009/05/31/2ch%e3%82%af%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%9f.html</link>
		<comments>http://swimbird.com/blog/archives/2009/05/31/2ch%e3%82%af%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%9f.html#comments</comments>
		<pubDate>Sun, 31 May 2009 10:57:44 +0000</pubDate>
		<dc:creator>swimbird55</dc:creator>
		
		<category><![CDATA[web]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[perl]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://swimbird.com/blog/?p=294</guid>
		<description><![CDATA[				前々から、javascriptでAPIを使ってデータをやりとりするとかはやってたけど
				自サーバにデータを貯めてmysqlでごにょごにょ操作
				なんて事はやってなかったので作ってみました。
				２ｃｈぴくとぴっか～
				こちらに2chのパス構造が書いてあったので参考にさせてもらいました。
				というか完全に2ch画像まとめの二番煎じです＾＾；
				画像は古いものから削除していきますが、何か問題がありましたら連絡ください。
				あと直して欲しいところがあれば対応します　ょ。
]]></description>
			<content:encoded><![CDATA[				<p>前々から、javascriptでAPIを使ってデータをやりとりするとかはやってたけど<br />
				自サーバにデータを貯めてmysqlでごにょごにょ操作<br />
				なんて事はやってなかったので作ってみました。</p>
				<p><strong><a href="http://swimbird.com/2ch/">２ｃｈぴくとぴっか～</a></strong></p>
				<p><a href="http://d.hatena.ne.jp/gioext/20090216/1234792587">こちら</a>に2chのパス構造が書いてあったので参考にさせてもらいました。<br />
				というか完全に<a href="http://pic2ch.giox.org/">2ch画像まとめ</a>の二番煎じです＾＾；</p>
				<p>画像は古いものから削除していきますが、何か問題がありましたら連絡ください。<br />
				あと直して欲しいところがあれば対応します　ょ。</p>
]]></content:encoded>
			<wfw:commentRss>http://swimbird.com/blog/archives/2009/05/31/2ch%e3%82%af%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%9f.html/feed</wfw:commentRss>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://swimbird.com/blog/archives/2009/05/31/2ch%e3%82%af%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%bc%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%9f.html" />
	</item>
		<item>
		<title>はじめてのmixiとmixiアプリといやがらせ、その後</title>
		<link>http://swimbird.com/blog/archives/2009/05/31/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aemixi%e3%81%a8mixi%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a8%e3%81%84%e3%82%84%e3%81%8c%e3%82%89%e3%81%9b%e3%80%81%e3%81%9d%e3%81%ae%e5%be%8c.html</link>
		<comments>http://swimbird.com/blog/archives/2009/05/31/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aemixi%e3%81%a8mixi%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a8%e3%81%84%e3%82%84%e3%81%8c%e3%82%89%e3%81%9b%e3%80%81%e3%81%9d%e3%81%ae%e5%be%8c.html#comments</comments>
		<pubDate>Sun, 31 May 2009 09:46:34 +0000</pubDate>
		<dc:creator>swimbird55</dc:creator>
		
		<category><![CDATA[life]]></category>

		<category><![CDATA[mixi]]></category>

		<guid isPermaLink="false">http://swimbird.com/blog/?p=285</guid>
		<description><![CDATA[				前回mixiアプリのアイコンがでないと騒いでましたが、
				mixiアプリ オープンβ コミュニティに登録しないと完了にいたらないようです＾＾；
				んで、早速登録できたのでアプリを作成してみた。
				http://platform001.mixi.jp/view_appli.pl?id=2816
				サンプルの訪問したユーザ+alertを出すだけですが、
				普通にalertがでてちょっとびっくりです＾＾；
				ただデバッグがめちゃくちゃめんどいぞ
				これは早めに開発のコツというか環境を作っとかないと、つまづきそうだ。。。
]]></description>
			<content:encoded><![CDATA[				<p><a href="http://swimbird.com/blog/archives/2009/05/28/%E3%81%AF%E3%81%98%E3%82%81%E3%81%A6%E3%81%AEmixi%E3%81%A8mixi%E3%82%A2%E3%83%97%E3%83%AA%E3%81%A8%E3%81%84%E3%82%84%E3%81%8C%E3%82%89%E3%81%9B.html">前回</a>mixiアプリのアイコンがでないと騒いでましたが、<br />
				<a href="http://mixi.jp/view_community.pl?id=3217244">mixiアプリ オープンβ コミュニティ</a>に登録しないと完了にいたらないようです＾＾；</p>
				<p>んで、早速登録できたのでアプリを作成してみた。<br />
				<a href="http://platform001.mixi.jp/view_appli.pl?id=2816">http://platform001.mixi.jp/view_appli.pl?id=2816</a></p>
				<p>サンプルの訪問したユーザ+alertを出すだけですが、<br />
				普通にalertがでてちょっとびっくりです＾＾；</p>
				<p><span style="color: #ff0000;">ただデバッグがめちゃくちゃめんどいぞ</span><br />
				これは早めに開発のコツというか環境を作っとかないと、つまづきそうだ。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://swimbird.com/blog/archives/2009/05/31/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aemixi%e3%81%a8mixi%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a8%e3%81%84%e3%82%84%e3%81%8c%e3%82%89%e3%81%9b%e3%80%81%e3%81%9d%e3%81%ae%e5%be%8c.html/feed</wfw:commentRss>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://swimbird.com/blog/archives/2009/05/31/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aemixi%e3%81%a8mixi%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a8%e3%81%84%e3%82%84%e3%81%8c%e3%82%89%e3%81%9b%e3%80%81%e3%81%9d%e3%81%ae%e5%be%8c.html" />
	</item>
		<item>
		<title>はじめてのmixiとmixiアプリといやがらせ</title>
		<link>http://swimbird.com/blog/archives/2009/05/28/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aemixi%e3%81%a8mixi%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a8%e3%81%84%e3%82%84%e3%81%8c%e3%82%89%e3%81%9b.html</link>
		<comments>http://swimbird.com/blog/archives/2009/05/28/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aemixi%e3%81%a8mixi%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a8%e3%81%84%e3%82%84%e3%81%8c%e3%82%89%e3%81%9b.html#comments</comments>
		<pubDate>Thu, 28 May 2009 13:52:01 +0000</pubDate>
		<dc:creator>swimbird55</dc:creator>
		
		<category><![CDATA[life]]></category>

		<category><![CDATA[mixi]]></category>

		<guid isPermaLink="false">http://swimbird.com/blog/?p=281</guid>
		<description><![CDATA[				8月くらいに一般公開が始まるらしいmixiアプリ。
				その流れに置いてかれるな、というわけで今更ながらmixiに招待してもらいました。
				まだ、ベータ版らしく
				http://platform001.mixi.jp/
				という別のドメインで色々と遊べるらしいんだけど、肝心のアプリアイコンが現れない・・・・・。
				デベロッパー登録は完了してるのに！！
				とりあえず、ドキュメントでもコシコシ読んでおきます。
]]></description>
			<content:encoded><![CDATA[				<p>8月くらいに一般公開が始まるらしいmixiアプリ。</p>
				<p>その流れに置いてかれるな、というわけで今更ながらmixiに招待してもらいました。</p>
				<p>まだ、ベータ版らしく<br />
				<a href="http://platform001.mixi.jp/">http://platform001.mixi.jp/</a><br />
				という別のドメインで色々と遊べるらしいんだけど、肝心のアプリアイコンが現れない・・・・・。<br />
				デベロッパー登録は完了してるのに！！</p>
				<p>とりあえず、ドキュメントでもコシコシ読んでおきます。</p>
]]></content:encoded>
			<wfw:commentRss>http://swimbird.com/blog/archives/2009/05/28/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aemixi%e3%81%a8mixi%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a8%e3%81%84%e3%82%84%e3%81%8c%e3%82%89%e3%81%9b.html/feed</wfw:commentRss>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://swimbird.com/blog/archives/2009/05/28/%e3%81%af%e3%81%98%e3%82%81%e3%81%a6%e3%81%aemixi%e3%81%a8mixi%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a8%e3%81%84%e3%82%84%e3%81%8c%e3%82%89%e3%81%9b.html" />
	</item>
		<item>
		<title>wp.Vicunaのテーマで右のサイドバーが下に落ちていた件</title>
		<link>http://swimbird.com/blog/archives/2009/05/14/wpvicuna%e3%81%ae%e3%83%86%e3%83%bc%e3%83%9e%e3%81%a7%e5%8f%b3%e3%81%ae%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%8c%e4%b8%8b%e3%81%ab%e8%90%bd%e3%81%a1%e3%81%a6%e3%81%84%e3%81%9f%e4%bb%b6.html</link>
		<comments>http://swimbird.com/blog/archives/2009/05/14/wpvicuna%e3%81%ae%e3%83%86%e3%83%bc%e3%83%9e%e3%81%a7%e5%8f%b3%e3%81%ae%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%8c%e4%b8%8b%e3%81%ab%e8%90%bd%e3%81%a1%e3%81%a6%e3%81%84%e3%81%9f%e4%bb%b6.html#comments</comments>
		<pubDate>Wed, 13 May 2009 15:00:43 +0000</pubDate>
		<dc:creator>swimbird55</dc:creator>
		
		<category><![CDATA[css]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://swimbird.com/blog/?p=274</guid>
		<description><![CDATA[				このブログのテーマはwp.Vicunaを利用させてもらっているのですが、
				今メインのデスクトップPCでブログを見てみたら、右のサイドバーが下に落ちてしまっていました(firefox3.0.10)。
				昨日の更新の時はネットブックで更新していたので、モニタが小さくて気づかなかっただけなのかな？
				と思ってそっちでみてみたらネットブックでは崩れていなかったのです(こっちもfirefox3.0.10)。
				firefoxのキャッシュの削除やテーマを変更しても駄目だったので、これはもうブラウザ依存じゃなくて
				モニタの解像度の違いで発生してるのか？？
				どうにも原因が分からなかったので、暫定的にlayout.cssを編集
				
/*========================================

Double Column Layout - Sidebar on right

┏━━━┓┏┓
┃━━━┃┃┃
┗━━━┛┗┛

========================================*/

body.double div#main {
width: 75%;
float: left;
margin-right: -1px;
border-right: 1px solid #eee;
border-bottom: 1px solid #eee;
}

/* Utilities
---------------*/

body.double div#utilities {
width: 24%;   /* 25%から変更 */
float: left;
clear: right;
}

				として対応。
				時間があったらもうちょい調べてみます。
]]></description>
			<content:encoded><![CDATA[				<p>このブログのテーマは<a href="http://wp.vicuna.jp/">wp.Vicuna</a>を利用させてもらっているのですが、<br />
				今メインのデスクトップPCでブログを見てみたら、右のサイドバーが下に落ちてしまっていました(firefox3.0.10)。</p>
				<p>昨日の更新の時はネットブックで更新していたので、モニタが小さくて気づかなかっただけなのかな？<br />
				と思ってそっちでみてみたらネットブックでは崩れていなかったのです(こっちもfirefox3.0.10)。</p>
				<p>firefoxのキャッシュの削除やテーマを変更しても駄目だったので、これはもうブラウザ依存じゃなくて<br />
				モニタの解像度の違いで発生してるのか？？</p>
				<p>どうにも原因が分からなかったので、暫定的にlayout.cssを編集</p>
				<pre class="brush: css">
/*========================================

Double Column Layout - Sidebar on right

┏━━━┓┏┓
┃━━━┃┃┃
┗━━━┛┗┛

========================================*/

body.double div#main {
width: 75%;
float: left;
margin-right: -1px;
border-right: 1px solid #eee;
border-bottom: 1px solid #eee;
}

/* Utilities
---------------*/

body.double div#utilities {
width: 24%;   /* 25%から変更 */
float: left;
clear: right;
}
</pre>
				<p>として対応。</p>
				<p>時間があったらもうちょい調べてみます。</p>
]]></content:encoded>
			<wfw:commentRss>http://swimbird.com/blog/archives/2009/05/14/wpvicuna%e3%81%ae%e3%83%86%e3%83%bc%e3%83%9e%e3%81%a7%e5%8f%b3%e3%81%ae%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%8c%e4%b8%8b%e3%81%ab%e8%90%bd%e3%81%a1%e3%81%a6%e3%81%84%e3%81%9f%e4%bb%b6.html/feed</wfw:commentRss>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://swimbird.com/blog/archives/2009/05/14/wpvicuna%e3%81%ae%e3%83%86%e3%83%bc%e3%83%9e%e3%81%a7%e5%8f%b3%e3%81%ae%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%8c%e4%b8%8b%e3%81%ab%e8%90%bd%e3%81%a1%e3%81%a6%e3%81%84%e3%81%9f%e4%bb%b6.html" />
	</item>
		<item>
		<title>GW中に観た映画達</title>
		<link>http://swimbird.com/blog/archives/2009/05/12/gw%e4%b8%ad%e3%81%ab%e8%a6%b3%e3%81%9f%e6%98%a0%e7%94%bb%e9%81%94.html</link>
		<comments>http://swimbird.com/blog/archives/2009/05/12/gw%e4%b8%ad%e3%81%ab%e8%a6%b3%e3%81%9f%e6%98%a0%e7%94%bb%e9%81%94.html#comments</comments>
		<pubDate>Tue, 12 May 2009 14:46:14 +0000</pubDate>
		<dc:creator>swimbird55</dc:creator>
		
		<category><![CDATA[映画]]></category>

		<category><![CDATA[life]]></category>

		<category><![CDATA[movie]]></category>

		<guid isPermaLink="false">http://swimbird.com/blog/?p=252</guid>
		<description><![CDATA[				そういえばGW中に観た映画の感想を書こうと思ってたけど忘れてたのでつらつらと
				1本目　ザ・ハッカー
				
				この映画は去年ノーベル化学賞を受賞した、下村脩氏が話題になっている時に
				ノーベル化学賞を受賞した下村脩氏の息子下村努氏は超凄腕ハッカーのエントリーで非常に興味を持っていたので観てみました。
				正直シモムラ(シィモムゥ～ラ)氏のPCをクラッキングするシーンがあるのですが、これ本当か？
				と思ってなんだか冷めてしまいましたw
				ただ原作を読んでないんでなんともいえないんですが、どうなんでしょうね？
				2本目　ブラインドネス
				
				最初に失明した男:伊勢谷友介 と最初に失明した男の妻:木村佳乃から物語は始まります。
				そう、映画のレビュー全く観ないで借りたので日本人がでてきてびっくりしていたのですが何にも違和感なくむしろ木村佳乃が綺麗でびっくり。
				そして伊勢谷友介のイケメンぶりを再認識。
				印象に残ったシーンは最後。
				もう戻ってはこないと思われていた平和な光景と気持ち。
				そんな中で唯一、失明の病に侵されなかったジュリアン・ムーアがミルクのような空を見上げるシーン。
				3本目　レインマン
				
				第61回アカデミー賞と第46回ゴールデン・グローブ賞、さらに第39回ベルリン国際映画祭においてそれぞれ作品賞を受賞。
				と有名な作品で自分も数回目のレンタル。
				もう説明不要、是非みてみてくださいｗ
				4本目　スラムドッグ＄ミリオネア
				2008年度のアカデミー賞で最多の8部門受賞した映画、
				監督はあのトレインスポッティングで名をはせたダニー・ボイル監督です。
				これは映画館でみてきました。
				ストーリーもさることながら、前半のインドの子供たちを描いた疾走感・生々しさは圧巻でした。あの子役達はほんとに凄い。
				というか演じてるようには見えなかったですｗ
]]></description>
			<content:encoded><![CDATA[				<p>そういえばGW中に観た映画の感想を書こうと思ってたけど忘れてたのでつらつらと</p>
				<h4 class="parseasinTitle"><span id="btAsinTitle" style="font-weight: bold; font-size: 1.15em;">1本目　ザ・ハッカー</span></h4>
				<p><iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=swimbird-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=B00005LMSH&#038;md=1X69VDGQCMF7Z30FM082&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><br />
				この映画は去年ノーベル化学賞を受賞した、下村脩氏が話題になっている時に<br />
				<a href="http://d.hatena.ne.jp/nakakzs/20081008/1223468261">ノーベル化学賞を受賞した下村脩氏の息子下村努氏は超凄腕ハッカー</a>のエントリーで非常に興味を持っていたので観てみました。</p>
				<p>正直シモムラ(シィモムゥ～ラ)氏のPCをクラッキングするシーンがあるのですが、これ本当か？<br />
				と思ってなんだか冷めてしまいましたw<br />
				ただ原作を読んでないんでなんともいえないんですが、どうなんでしょうね？</p>
				<h4 class="parseasinTitle"><span id="btAsinTitle" style="font-weight: bold; font-size: 1.15em;">2本目　ブラインドネス</span></h4>
				<p><iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=swimbird-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=B001OGSMPY&#038;md=1X69VDGQCMF7Z30FM082&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
				<p>最初に失明した男:伊勢谷友介 と最初に失明した男の妻:木村佳乃から物語は始まります。<br />
				そう、映画のレビュー全く観ないで借りたので日本人がでてきてびっくりしていたのですが何にも違和感なくむしろ木村佳乃が綺麗でびっくり。<br />
				そして伊勢谷友介のイケメンぶりを再認識。<br />
				印象に残ったシーンは最後。<br />
				もう戻ってはこないと思われていた平和な光景と気持ち。<br />
				そんな中で唯一、失明の病に侵されなかったジュリアン・ムーアがミルクのような空を見上げるシーン。</p>
				<h4 class="parseasinTitle"><span id="btAsinTitle" style="font-weight: bold; font-size: 1.15em;">3本目　レインマン</span></h4>
				<p><iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=swimbird-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=B00005L9GT&#038;md=1X69VDGQCMF7Z30FM082&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><br />
				第61回アカデミー賞と第46回ゴールデン・グローブ賞、さらに第39回ベルリン国際映画祭においてそれぞれ作品賞を受賞。<br />
				と有名な作品で自分も数回目のレンタル。<br />
				もう説明不要、是非みてみてくださいｗ</p>
				<h4 class="parseasinTitle"><span id="btAsinTitle" style="font-weight: bold; font-size: 1.15em;">4本目　<a href="http://slumdog.gyao.jp/">スラムドッグ＄ミリオネア</a></span></h4>
				<p>2008年度のアカデミー賞で最多の8部門受賞した映画、<br />
				監督はあのトレインスポッティングで名をはせたダニー・ボイル監督です。</p>
				<p>これは映画館でみてきました。<br />
				ストーリーもさることながら、前半のインドの子供たちを描いた疾走感・生々しさは圧巻でした。あの子役達はほんとに凄い。<br />
				というか演じてるようには見えなかったですｗ</p>
]]></content:encoded>
			<wfw:commentRss>http://swimbird.com/blog/archives/2009/05/12/gw%e4%b8%ad%e3%81%ab%e8%a6%b3%e3%81%9f%e6%98%a0%e7%94%bb%e9%81%94.html/feed</wfw:commentRss>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://swimbird.com/blog/archives/2009/05/12/gw%e4%b8%ad%e3%81%ab%e8%a6%b3%e3%81%9f%e6%98%a0%e7%94%bb%e9%81%94.html" />
	</item>
		<item>
		<title>GWは海外。いいえ、おうちで読書です。</title>
		<link>http://swimbird.com/blog/archives/2009/04/30/gw%e3%81%af%e6%b5%b7%e5%a4%96%e3%80%82%e3%81%84%e3%81%84%e3%81%88%e3%80%81%e3%81%8a%e3%81%86%e3%81%a1%e3%81%a7%e8%aa%ad%e6%9b%b8%e3%81%a7%e3%81%99%e3%80%82.html</link>
		<comments>http://swimbird.com/blog/archives/2009/04/30/gw%e3%81%af%e6%b5%b7%e5%a4%96%e3%80%82%e3%81%84%e3%81%84%e3%81%88%e3%80%81%e3%81%8a%e3%81%86%e3%81%a1%e3%81%a7%e8%aa%ad%e6%9b%b8%e3%81%a7%e3%81%99%e3%80%82.html#comments</comments>
		<pubDate>Thu, 30 Apr 2009 14:44:25 +0000</pubDate>
		<dc:creator>swimbird55</dc:creator>
		
		<category><![CDATA[life]]></category>

		<category><![CDATA[book]]></category>

		<guid isPermaLink="false">http://swimbird.com/blog/?p=238</guid>
		<description><![CDATA[				実は昨日から12連休に突入している、駄目な社会人ですが
				せっかくの長期休みなので海外旅行にでも!!と思って１ヶ月前からシコシコと旅行を計画。
				てるみくらぶやトラベルコちゃんで怪しげな激安旅行を探してたのですが、
				結局間に合わず連休は実家に帰るのみ、とますます駄目っぷりをだしてる連休2日目です。
				怠惰な生活を送らないように、連休の初日に以下の3冊を衝動買いしました。
				1.ゲームプログラマになる前に覚えておきたい技術
				
				本当はactionscriptメインで説明してくれる技術書が欲しかったのですが、レビューが好評なのと
				web上の情報だけでの独学に限界を感じていたので購入。
				2.デザインパターンとともに学ぶオブジェクト指向のこころ
				
				クラス設計で何が正解？という疑問を解決したくまじめにデザインパターンを学びたいと決意、購入。
				3.JavaScript: The Good Parts ―「良いパーツ」によるベストプラクティス
				
				手頃なお値段とJavaScript 第5版は既に購入済みなので、新たな定石を学ぶために購入。
				GWはこの3冊で学んだ事でもまとめていこうかな。
]]></description>
			<content:encoded><![CDATA[				<p>実は昨日から12連休に突入している、駄目な社会人ですが<br />
				せっかくの長期休みなので海外旅行にでも!!と思って１ヶ月前からシコシコと旅行を計画。</p>
				<p><a href="http://www.tellmeclub.com/">てるみくらぶ</a>や<a href="http://www.tour.ne.jp/">トラベルコちゃん</a>で怪しげな激安旅行を探してたのですが、<br />
				結局間に合わず連休は実家に帰るのみ、とますます駄目っぷりをだしてる連休2日目です。</p>
				<p>怠惰な生活を送らないように、連休の初日に以下の3冊を衝動買いしました。</p>
				<h4>1.<span id="btAsinTitle" style="font-weight: bold;">ゲームプログラマになる前に覚えておきたい技術</span></h4>
				<p><iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=swimbird-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=4798021180&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=F9F9F9&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><br />
				本当はactionscriptメインで説明してくれる技術書が欲しかったのですが、レビューが好評なのと<br />
				web上の情報だけでの独学に限界を感じていたので購入。</p>
				<h4>2.<span id="btAsinTitle" style="font-weight: bold;">デザインパターンとともに学ぶオブジェクト指向のこころ</span></h4>
				<p><iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=swimbird-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=4894716844&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><br />
				クラス設計で何が正解？という疑問を解決したくまじめにデザインパターンを学びたいと決意、購入。</p>
				<h4>3.<span id="btAsinTitle" style="font-weight: bold;">JavaScript: The Good Parts ―「良いパーツ」によるベストプラクティス</span></h4>
				<p><iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=swimbird-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=4873113911&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><br />
				手頃なお値段と<a href="http://www.amazon.co.jp/gp/product/4873113296?ie=UTF8&#038;tag=swimbird-22&#038;linkCode=as2&#038;camp=247&#038;creative=7399&#038;creativeASIN=4873113296">JavaScript 第5版</a><img src="http://www.assoc-amazon.jp/e/ir?t=swimbird-22&#038;l=as2&#038;o=9&#038;a=4873113296" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />は既に購入済みなので、新たな定石を学ぶために購入。</p>
				<p>GWはこの3冊で学んだ事でもまとめていこうかな。</p>
]]></content:encoded>
			<wfw:commentRss>http://swimbird.com/blog/archives/2009/04/30/gw%e3%81%af%e6%b5%b7%e5%a4%96%e3%80%82%e3%81%84%e3%81%84%e3%81%88%e3%80%81%e3%81%8a%e3%81%86%e3%81%a1%e3%81%a7%e8%aa%ad%e6%9b%b8%e3%81%a7%e3%81%99%e3%80%82.html/feed</wfw:commentRss>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://swimbird.com/blog/archives/2009/04/30/gw%e3%81%af%e6%b5%b7%e5%a4%96%e3%80%82%e3%81%84%e3%81%84%e3%81%88%e3%80%81%e3%81%8a%e3%81%86%e3%81%a1%e3%81%a7%e8%aa%ad%e6%9b%b8%e3%81%a7%e3%81%99%e3%80%82.html" />
	</item>
		<item>
		<title>vds apiを使ってブラウザに喋らせる</title>
		<link>http://swimbird.com/blog/archives/2009/04/26/vds-api%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e3%81%ab%e5%96%8b%e3%82%89%e3%81%9b%e3%82%8b.html</link>
		<comments>http://swimbird.com/blog/archives/2009/04/26/vds-api%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e3%81%ab%e5%96%8b%e3%82%89%e3%81%9b%e3%82%8b.html#comments</comments>
		<pubDate>Sun, 26 Apr 2009 06:08:49 +0000</pubDate>
		<dc:creator>swimbird55</dc:creator>
		
		<category><![CDATA[javascript]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://swimbird.com/blog/?p=209</guid>
		<description><![CDATA[				vds - voice delivery systemというWeb合成音声配信システムがあることを聞きつけ早速サンプルを作ってみました。
				vdsでは有償版と無償版が提供されていて、無償版では
				
				
				1ヶ月に音声合成できる文字数：5万文字
				音声エンジン：男性音、女性音
				
				
				という条件で利用できます。
				今回もhello worldを喋らせるだけではつまらないので、
				一行で笑せたらシリーズを喋らせてみました。
				今回もTween.jsを利用しました。
				一行で笑わせたらを喋ってもらうサンプル
				ソースはこちら
				
var vdsp;
var vds;
var sp = &#34;&#60;?php echo $line[$rand] ?&#62;&#34;;
window.onload=function(){
	try{
		vdsp = new VoiceDeliveryPlayer(&#34;vdsp&#34;);
		vds = new VoiceDelivery(vdsp, &#34;vds&#34;);
		vds.setRate(0);
		vds.setCast(&#34;TakashiJPm&#34;);
	}catch(e) {
		alert(&#34;Cannot Create Object&#34;);
	}
		ttween();
}
function ttween(){
	var ele = document.getElementById(&#34;tout&#34;);
	ele.style.cursor = &#34;hand&#34;;
	ele.style.cursor = &#34;pointer&#34;;
	ele.onclick = function(){
		window.location.reload();
	};
	ele.innerHTML = sp;
	var cTween = new ColorTween(ele.style,
								&#039;color&#039;,
								Tween.regularEaseInOut,
								&#039;222222&#039;,
								&#039;82ae46&#039;,
								3);
	cTween.onMotionFinished = function(){
		this.onMotionFinished = vds.speak(sp);
	};
	cTween.start();
}

				今回はhtmlをphpで出力して、その度に読み上げる単語を変えています。
				ちょっと表示と読み上げのタイミングがあってないですが、ここまでで挫折。。。
				使えるAPIの関数はこちら
				有償版になると、音声読み上げ完了を受け取れるコールバック関数が使えるようです。
				※音声読み上げは、本来サイトのアクセシビリティを高めるために利用します。
]]></description>
			<content:encoded><![CDATA[				<p><a href="http://www.vdsapi.ne.jp/">vds - voice delivery system</a>というWeb合成音声配信システムがあることを聞きつけ早速サンプルを作ってみました。</p>
				<p>vdsでは有償版と<a href="http://www.vdsapi.ne.jp/service_info/vdsfree">無償版</a>が提供されていて、無償版では</p>
				<blockquote>
				<ul class="bBullet">
				<li>1ヶ月に音声合成できる文字数：5万文字</li>
				<li>音声エンジン：男性音、女性音</li>
				</ul>
				</blockquote>
				<p>という条件で利用できます。<br />
				今回もhello worldを喋らせるだけではつまらないので、<br />
				<a href="http://www.google.co.jp/search?hl=ja&amp;safe=off&amp;client=firefox-a&amp;rls=org.mozilla%3Aja%3Aofficial&amp;q=%E4%B8%80%E8%A1%8C%E3%81%A7%E7%AC%91&amp;btnG=%E6%A4%9C%E7%B4%A2&amp;lr=lang_ja">一行で笑せたらシリーズ</a>を喋らせてみました。</p>
				<p>今回も<a href="http://jstween.blogspot.com/">Tween.js</a>を利用しました。</p>
				<p><strong><a href="http://swimbird.com/jsdev/vds/">一行で笑わせたらを喋ってもらうサンプル</a></strong><br />
				ソースはこちら</p>
				<pre class="brush: javascript">
var vdsp;
var vds;
var sp = &quot;&lt;?php echo $line[$rand] ?&gt;&quot;;
window.onload=function(){
	try{
		vdsp = new VoiceDeliveryPlayer(&quot;vdsp&quot;);
		vds = new VoiceDelivery(vdsp, &quot;vds&quot;);
		vds.setRate(0);
		vds.setCast(&quot;TakashiJPm&quot;);
	}catch(e) {
		alert(&quot;Cannot Create Object&quot;);
	}
		ttween();
}
function ttween(){
	var ele = document.getElementById(&quot;tout&quot;);
	ele.style.cursor = &quot;hand&quot;;
	ele.style.cursor = &quot;pointer&quot;;
	ele.onclick = function(){
		window.location.reload();
	};
	ele.innerHTML = sp;
	var cTween = new ColorTween(ele.style,
								&#039;color&#039;,
								Tween.regularEaseInOut,
								&#039;222222&#039;,
								&#039;82ae46&#039;,
								3);
	cTween.onMotionFinished = function(){
		this.onMotionFinished = vds.speak(sp);
	};
	cTween.start();
}
</pre>
				<p>今回はhtmlをphpで出力して、その度に読み上げる単語を変えています。<br />
				ちょっと表示と読み上げのタイミングがあってないですが、ここまでで挫折。。。</p>
				<p>使えるAPIの関数は<a href="http://www.vdsapi.ne.jp/docs/api">こちら</a><br />
				有償版になると、音声読み上げ完了を受け取れるコールバック関数が使えるようです。</p>
				<p><strong><span style="color: #000000;">※音声読み上げは、本来サイトのアクセシビリティを高めるために利用します。</span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://swimbird.com/blog/archives/2009/04/26/vds-api%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e3%81%ab%e5%96%8b%e3%82%89%e3%81%9b%e3%82%8b.html/feed</wfw:commentRss>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://swimbird.com/blog/archives/2009/04/26/vds-api%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e3%81%ab%e5%96%8b%e3%82%89%e3%81%9b%e3%82%8b.html" />
	</item>
	</channel>
</rss>

