<?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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>@blog.justoneplanet.info &#187; 日記</title>
	<atom:link href="http://blog.justoneplanet.info/category/diary/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.justoneplanet.info</link>
	<description>日々勉強</description>
	<lastBuildDate>Wed, 08 Feb 2012 02:57:17 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>logを使って大きな数の桁数を求める</title>
		<link>http://blog.justoneplanet.info/2011/10/15/log%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e5%a4%a7%e3%81%8d%e3%81%aa%e6%95%b0%e3%81%ae%e6%a1%81%e6%95%b0%e3%82%92%e6%b1%82%e3%82%81%e3%82%8b/</link>
		<comments>http://blog.justoneplanet.info/2011/10/15/log%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e5%a4%a7%e3%81%8d%e3%81%aa%e6%95%b0%e3%81%ae%e6%a1%81%e6%95%b0%e3%82%92%e6%b1%82%e3%82%81%e3%82%8b/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 15:24:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=4523</guid>
		<description><![CDATA[ちょっと懐かしいのでプログラムと関係ないが解いてみた。 ■条件 以下の条件が与えられている。 log102 = 0.3010 log103 = 0.4771 log107 = 0.8451 ■3の100乗の桁数 log1 [...]]]></description>
			<content:encoded><![CDATA[<p>ちょっと懐かしいのでプログラムと関係ないが解いてみた。</p>
<h3>■条件</h3>
<p>以下の条件が与えられている。</p>
<ul>
<li>log<sub>10</sub>2 = 0.3010</li>
<li>log<sub>10</sub>3 = 0.4771</li>
<li>log<sub>10</sub>7 = 0.8451</li>
</ul>
<h3>■3の100乗の桁数</h3>
<ol>
<li>log<sub>10</sub>3<sup>100</sup> = 100log<sub>10</sub>3 = 47.71</li>
<li>47 &lt; log<sub>10</sub>3<sup>100</sup>=47.71 &lt; 48</li>
<li>10<sup>47</sup> &lt; 3<sup>100</sup> &lt; 10<sup>48</sup></li>
</ol>
<p>47桁</p>
<h3>■3の100乗の最高位の数字</h3>
<ol>
<li>log<sub>10</sub>3<sup>100</sup> = 47.71</li>
<li>3<sup>100</sup> = 10<sup>47.71</sup> = 10<sup>47</sup> * 10<sup>0.71</sup></li>
</ol>
<p>従って、10<sup>0.71</sup>がわかれば良い。</p>
<ol>
<li>10<sup>0.3010</sup> = 2</li>
<li>10<sup>0.4771</sup> = 3</li>
<li>10<sup>0.8451</sup> = 7</li>
</ol>
<p>3と7の間という事は分かったがそれだけではどうしようもない。</p>
<ol>
<li>1 = 10<sup>0</sup></li>
<li>4 = 10<sup>0.3010</sup> * 10<sup>0.3010</sup> = 10<sup>0.6020</sup></li>
<li>6 = 10<sup>0.3010</sup> * 10<sup>0.4771</sup> = 10<sup>0.7781</sup></li>
<li>9 = 10<sup>0.4771</sup> * 10<sup>0.4771</sup> = 10<sup>0.9542</sup></li>
</ol>
<p>8と5については少しひねる。</p>
<ol>
<li>log<sub>10</sub>8 = log<sub>10</sub>2<sup>3</sup> = 3log<sub>10</sub><sup>2</sup></li>
<li>8 = 10<sup>0.3010 * 3</sup> = 10<sup>0.9030</sup></li>
<li>log<sub>10</sub>5 = log<sub>10</sub>10/2 = log<sub>10</sub><sup>10</sup> &#8211; log<sub>10</sub><sup>2</sup></li>
<li>5 = 10<sup>1 &#8211; 0.3110</sup> = 10<sup>0.6990</sup></li>
</ol>
<p>5 < 10<sup>0.71</sup> < 6なので5が最高位の数字。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2011/10/15/log%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e5%a4%a7%e3%81%8d%e3%81%aa%e6%95%b0%e3%81%ae%e6%a1%81%e6%95%b0%e3%82%92%e6%b1%82%e3%82%81%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>緊急地震速報 by Extensionを作ったときの感謝をこめて</title>
		<link>http://blog.justoneplanet.info/2011/04/23/%e7%b7%8a%e6%80%a5%e5%9c%b0%e9%9c%87%e9%80%9f%e5%a0%b1%e3%81%ae%e6%8b%a1%e5%bc%b5%e6%a9%9f%e8%83%bd%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%ae%e6%84%9f%e8%ac%9d%e3%82%92%e3%81%93/</link>
		<comments>http://blog.justoneplanet.info/2011/04/23/%e7%b7%8a%e6%80%a5%e5%9c%b0%e9%9c%87%e9%80%9f%e5%a0%b1%e3%81%ae%e6%8b%a1%e5%bc%b5%e6%a9%9f%e8%83%bd%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%ae%e6%84%9f%e8%ac%9d%e3%82%92%e3%81%93/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 03:35:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[サーバーサイド]]></category>
		<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=3969</guid>
		<description><![CDATA[「緊急地震速報 by Extension」を作って経験したことなどをまとめました。今回は後編です。前編は会社のブログに書きました。 僕は生産設備を持っていませんので食料をはじめとした物流における支援は難しいのかもしれませ [...]]]></description>
			<content:encoded><![CDATA[<p>「緊急地震速報 by Extension」を作って経験したことなどをまとめました。今回は後編です。前編は<a href="http://tech-gym.com/2011/03/html5/235.html">会社のブログ</a>に書きました。</p>
<blockquote><p>僕は生産設備を持っていませんので食料をはじめとした物流における支援は難しいのかもしれません。しかしながらシステムエンジニアとして間接的な支援や情報における支援はできます。僕は、天災における「破壊」を修復するのは人々の「生産」と考えるとともに、その「生産」の一部分を担う者として頑張っていきたいと思います。</p></blockquote>
<p>東北地方太平洋沖地震の後、余震が頻発し緊急地震速報の警告音も頻繁に耳にするようになりました。警告音に焦らされる一方で、本当は落ち着いて揺れに対処しなければならないと思っていました。そこで緊迫感を与えないような緊急地震速報を出せないものかと今回の制作にいたりました。（なので初期バージョンには音がなかったのです）</p>
<p>また、本当は「緊急地震速報 by Chrome Extension」という名前で登録しようとしたのですが「Chrome」というワードは使用ができないので「緊急地震速報 by Extension」という名前になりました。</p>
<h3>■プロキシ経由での接続</h3>
<p>大きな会社などではプロキシ経由でインターネットに接続するようになっていて配信サーバと接続ができないようでした。</p>
<h4>変更前</h4>
<p>ポート12001番を使用していました。</p>
<pre class="brush: jscript;">
var hosts = [
    '123.123.123.123:12001'
];
</pre>
<h4>変更後</h4>
<p>ポート443番を使用するように変更しました。</p>
<pre class="brush: jscript;">
var hosts = [
    '123.123.123.123:443'
];
</pre>
<p>HTTPSで使用するポートを用いることにより一部の方の接続が可能になりました。</p>
<h4>さらに変更後</h4>
<p>ポート443番、80、8080番、12001番を使用するように変更しました。</p>
<pre class="brush: jscript;">
var hosts = [
    '123.123.123.123:443',
    '123.123.123.123:80',
    '123.123.123.123:8080',
    '123.123.123.123:12001'
];
</pre>
<p>これによって判明したのは1/3〜1/4の利用者の方は443にしか接続できなかった事です。</p>
<section class="kakomi">
<h5>参考</h5>
<ul>
<li><a href="http://kumama.org/2010/03/websockets-proxy-trick/">websockets を proxy 環境でも利用する場合の注意点</a></li>
</ul>
</section>
<h3>■マルチバイト文字列のbroadcast</h3>
<p>今回、Websocketサーバからbroadcastする際、node-websocket-serverを使用したのですが日本語を正しく送信できませんでした。</p>
<h4>解決策</h4>
<pre class="brush: jscript;">
wsServer.broadcast('\\u3092');
</pre>
<p>こうすることでクライアント側には\u3092という文字列が送信されるようになります。</p>
<section class="kakomi">
<p>ちょっとライブラリの中をのぞいてみます。</p>
<h5>server.js</h5>
<p>broadcastメソッドです。</p>
<pre class="brush: jscript;">
this.broadcast = function(data) {
    manager.forEach(function(client) {
        clientWrite(client, data);
    });
};
</pre>
<p>上述のとおりforEachで回してます。clientWriteメソッドも確認します。</p>
<pre class="brush: jscript;">
function clientWrite(client, data) {
  if (client &amp;&amp; client._state === 4) {
    client.write(data, 'utf8');
  }
}
</pre>
<p>utf8としていされてwriteされています。</p>
<h5>manager.js</h5>
<pre class="brush: jscript;">
Manager.prototype.forEach = function(callback, thisArg) {
    var current = this._head;
    while (current !== null) {
        callback.call(thisArg, current.connection);
        current = current._next;
    }
};
</pre>
<p>this._headは連結リストの先頭の要素のようです。</p>
<pre class="brush: jscript;">
this._head = client;
</pre>
<p>clientオブジェクトが入っているようです。</p>
<pre class="brush: jscript;">
var client = {
    id: connection.id,
    _next: null,
    connection: connection
};
</pre>
<p>接続IDと接続、次の要素を保持しています。</p>
<h5>connection.js</h5>
<pre class="brush: jscript;">
function write(connection, data) {
    debug(connection.id, 'write: ', (new Buffer(data)).inspect());
    if (connection._socket.writable) {
        return connection._socket.write(data, 'binary');
    }
    return false;
}
</pre>
<p>binaryと指定されていますね。完全に読み切るには少々時間がかかるので適宜更新します。</p>
<h5>参考</h5>
<ul>
<li><a href="http://nodejs.org/docs/v0.4.8/api/all.html#socket.write">socket.write(data, [encoding], [callback])</a></li>
<li><a href="https://github.com/miksago/node-websocket-server/blob/master/lib/ws/server.js">miksago / node-websocket-server</a></li>
</ul>
</section>
<h3>■正規表現</h3>
<p>情報はtwitterのUser Streams API経由で取得していたのですが、ご利用者の方から震度やマグニチュードだけを簡略化して欲しいとの要望がありました。そこで正規表現を使用し文字列を整形して表示することにしました。ところが一部のご利用者には元の文章がそのまま表示されていました。</p>
<h4>解決策</h4>
<p>以下のようにして日本語をマッチさせるときに16進表現を使用することで解決しました。</p>
<pre class="brush: jscript;">
var reg = new RegExp('\u9707\u5EA6([3-9]\u5F37*\u5F31*)', 'ig');
text.match(reg);
var scale = RegExp.$1;
// filter : simplify
if(localStorage[&quot;simplify&quot;] !== &quot;false&quot;){
    var reg = new RegExp('([0-9]*/[0-9]*/[0-9]*)', 'ig');
    text.match(reg);
    var date = RegExp.$1;

    var reg = new RegExp('([0-9]*\:[0-9]*)', 'ig');
    text.match(reg);
    var time = RegExp.$1;

    var reg = new RegExp('\u30DE\u30B0\u30CB\u30C1\u30E5\u30FC\u30C9([0-9\.]*)', 'ig');
    text.match(reg);
    var magnitude = RegExp.$1;

    var reg = new RegExp('\u3001(.*?)\u306E', 'ig');
    text.match(reg);
    var place = RegExp.$1;

    if(date != '' &amp;&amp; time != '' &amp;&amp; place != '' &amp;&amp; scale != '' &amp;&amp; magnitude != ''){
        text = date + &quot; &quot; + time + &quot; &quot; + place + &quot;\n\u9707\u5EA6&quot; + scale + &quot;\n\u30DE\u30B0\u30CB\u30C1\u30E5\u30FC\u30C9&quot; + magnitude;
    }
}

// filter : scale
switch(localStorage[&quot;scale&quot;]){
    case &quot;7&quot;:
        if(parseInt(scale, 10) &lt; 7){return false;}
        break;
    case &quot;6&quot;:
        if(parseInt(scale, 10) &lt; 6){return false;}
        break;
    case &quot;5&quot;:
        if(parseInt(scale, 10) &lt; 5){return false;}
        break;
    case &quot;4&quot;:
        if(parseInt(scale, 10) &lt; 4){return false;}
        break;
}
</pre>
<p>ブラウザ側の言語設定は各々異なります。通信時の文字コードを指定しても解決するかもしれません。</p>
<h3>■twitterとの接続</h3>
<p>node.jsを使い、以下のようなコードでtwitterと接続してます。</p>
<pre class="brush: jscript;">
var client = http.createClient(
    80,
    &quot;stream.twitter.com&quot;,
    false,
    false,
    {
        &quot;username&quot; : &quot;hogehoge&quot;,
        &quot;password&quot; : &quot;fugafuga&quot;
    }
);
var request = client.request(
    &quot;GET&quot;,
    &quot;/1/statuses/filter.json?follow=123456789&quot;,
    {
        &quot;host&quot; : &quot;stream.twitter.com&quot;
    }
);
request.end();
request.on(
    &quot;response&quot;,
    function(response){
        //sys.puts(&quot;response&quot;);
        var chunk = '';
        response.on(
            &quot;data&quot;,
            function(data){
                // データ受信処理
            }
        );
        response.on(
            'end',
            function(){
                // twitterから接続を切られた時
            }
        );
    }
);
</pre>
<h4>twitter切断時</h4>
<p>実はたまに接続を切られます。切断される可能性を考慮し以下のようなコードを使用してます。</p>
<pre class="brush: jscript;">
var getRequest = function(){
    var request = client.request(
        &quot;GET&quot;,
        &quot;/1/statuses/filter.json?follow=123456789&quot;,
        {
            &quot;host&quot; : &quot;stream.twitter.com&quot;
        }
    );
    request.end();
    request.on(
        &quot;response&quot;,
        function(response){
            response.on(
                &quot;data&quot;,
                function(data){
                    // データ受信処理
                }
            );
            response.on(
                'end',
                function(){
                    // twitterから接続を切られた時
                    r = getRequest();// 再接続
                }
            );
        }
    );
    return request;
}
var r = getRequest();
</pre>
<p>通信は必ず切れるものと考えてコードを書かなくてはいけませんね。さらに実は以下のようなスクリプトも実行してます。</p>
<pre class="brush: jscript;">
request.on(
    &quot;response&quot;,
    function(response){
        //sys.puts(&quot;response&quot;);
        var chunk = '';
        response.on(
            &quot;data&quot;,
            function(data){
                // データ受信処理
            }
        );
        response.on(
            'end',
            function(){
                // twitterから接続を切られた時
                throw new Error('twitter disconnected me!!');
            }
        );
    }
);
</pre>
<p>node.jsにおいてcatchできなかったErrorはプロセスを終了させます。従って以下のようなシェルスクリプトと組み合わせてプロセスが終了してないか定期的にチェックし、終了していた場合は再起動することで接続を維持しています。</p>
<pre class="brush: bash;">
#!/bin/sh
while true
do
    isAlive=`ps -ef | grep &quot;my-websocket-server.js&quot; | grep -v grep | wc -l`
     if [ $isAlive -ge 1 ]; then
        echo &quot;process is alive&quot;
    else
        node my-websocket-server.js.js
        echo &quot;process is dead&quot;
    fi
    sleep 3
done
</pre>
<h3>■アップデート</h3>
<p>拡張機能のアップデートは自動で行われますが、新バージョンを登録してすぐに全ユーザのアップデートが完了するわけではありません。意外にも早く直後にアップデートされる方もいれば、時間がかかる方もいます。1時間で10%程度の方がアップデートされるようです。一方、90%のユーザはアップデート前のクライアントでサーバに接続しますので考慮して更新しなければなりません。</p>
<h3>■起動</h3>
<p>ちなみにですが以下のコマンドでWebSocketサーバを起動してます。</p>
<pre class="brush: bash;">
nohup ./check.sh &gt; log.txt &amp;
</pre>
<p>接続数を調べるには以下のようなコマンドを使ってます。</p>
<pre class="brush: bash;">
lsof -i:12345 | grep &quot;node&quot; | wc -l
</pre>
<h3>■twitterからの文字列</h3>
<p>システムの設計の問題にもなりますが、twitterからの文字列が正しくパースできないようなケースが稀にあります。入力は受け手側が意図する形式になるとは限らないということです。</p>
<dl>
<dt>文字列をパースできるように条件分岐する</dt>
<dd>但し、ブラックリスト方式に近いので未知の正しくない文字列はパース出来ない</dd>
<dt>データストアを作って保存に対してbroadcastのトリガを引かせる</dt>
<dt>全てのサーバが正しくパースできなかった事はないので非常に有用だが、失敗する確率はわずかながらある</dt>
</dl>
<h3>■サーバ負荷</h3>
<p>node.jsの素晴らしさを実感する毎日ですが、接続数が1万数千を超えるとさすがに0.5〜1秒程度遅延します。早く多くの方に届けるべき情報ではあるものの、一方で多くの方が接続すると遅延が生じやすくなります。サーバは個人で賄っているので限度があります。非常に難しい問題です。財閥の末裔だったらデータセンターごと買うのになと思う毎日です。</p>
<h3>■まとめ</h3>
<p>僕は水や電気の節約には賛成です。しかしながら根拠が不明瞭な自粛ムードには反対です。冒頭で述べました通り、破壊を修復するのは生産であり、手を止めて遠慮する事では無いと思います。何もできることがないと考えた結論の自粛より、いつも通り働き、学び、生活する方が生産的だと僕は考えます。まだまだ対応できていない事ばかりで完璧ではありませんが今後とも宜しくお願いいたします。早く余震が収まるといいですね。(●´⌓`●)</p>
<h4>拡張機能への要望</h4>
<p>今まで通り<a href="http://twitter.com/#!/mi_eqbot">@mi_eqbot</a>までお願いいたします。自分のブログよりも確実にチェックしてます。w</p>
<h4>その他開発などへの興味</h4>
<p><a href="http://twitter.com/#!/mitsuaki_i">@mitsuaki_i</a>までお願いいたします。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2011/04/23/%e7%b7%8a%e6%80%a5%e5%9c%b0%e9%9c%87%e9%80%9f%e5%a0%b1%e3%81%ae%e6%8b%a1%e5%bc%b5%e6%a9%9f%e8%83%bd%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%ae%e6%84%9f%e8%ac%9d%e3%82%92%e3%81%93/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Googleの入社テストを考えてみる</title>
		<link>http://blog.justoneplanet.info/2010/12/02/google%e3%81%ae%e5%85%a5%e7%a4%be%e3%83%86%e3%82%b9%e3%83%88%e3%82%92%e8%80%83%e3%81%88%e3%81%a6%e3%81%bf%e3%82%8b/</link>
		<comments>http://blog.justoneplanet.info/2010/12/02/google%e3%81%ae%e5%85%a5%e7%a4%be%e3%83%86%e3%82%b9%e3%83%88%e3%82%92%e8%80%83%e3%81%88%e3%81%a6%e3%81%bf%e3%82%8b/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 17:18:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=3317</guid>
		<description><![CDATA[Google の入社テストに使われた？質問 同じ大きさのボールが8つある。そのうち7つは同じ重さで残り1つはほかより少し重い。この中から重いボールをどう探す？使っていいのははかりのみ。ただし、2回しか使ってはいけない ■ [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://techblog.crooz.jp/?p=4054">Google の入社テストに使われた？質問</a></p>
<blockquote><p>同じ大きさのボールが8つある。そのうち7つは同じ重さで残り1つはほかより少し重い。この中から重いボールをどう探す？使っていいのははかりのみ。ただし、2回しか使ってはいけない</p></blockquote>
<h3>■解答</h3>
<h4>1回目</h4>
<p>3個ずつのせる。</p>
<ol>
<li>釣り合う</li>
<li>釣り合わない</li>
</ol>
<h4>1の場合</h4>
<p>最初に秤にのせなかった2つのうちのどちらかに重いボールが含まれるのでその2つで比較する</p>
<h4>2の場合</h4>
<p>重かった方から2個を選び1つずつ秤にのせる</p>
<p>まぁ、コンナ感じだお（　＾ω＾）再帰が見えるよね！…簡単なんだけど本当に使われた問題なのだろうか…</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2010/12/02/google%e3%81%ae%e5%85%a5%e7%a4%be%e3%83%86%e3%82%b9%e3%83%88%e3%82%92%e8%80%83%e3%81%88%e3%81%a6%e3%81%bf%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Waveのアカウントを手に入れた</title>
		<link>http://blog.justoneplanet.info/2009/11/14/google-wave%e3%81%ae%e3%82%a2%e3%82%ab%e3%82%a6%e3%83%b3%e3%83%88%e3%82%92%e6%89%8b%e3%81%ab%e5%85%a5%e3%82%8c%e3%81%9f/</link>
		<comments>http://blog.justoneplanet.info/2009/11/14/google-wave%e3%81%ae%e3%82%a2%e3%82%ab%e3%82%a6%e3%83%b3%e3%83%88%e3%82%92%e6%89%8b%e3%81%ab%e5%85%a5%e3%82%8c%e3%81%9f/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 05:36:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=2111</guid>
		<description><![CDATA[10万人限定らしい。(ﾟ∀ﾟ)=3 使い方が良く分からん。]]></description>
			<content:encoded><![CDATA[<p>10万人限定らしい。(ﾟ∀ﾟ)=3</p>
<p><a href="http://blog.justoneplanet.info/wp-content/uploads/2009/11/capture1.png" rel="lightbox[2111]"><img src="http://blog.justoneplanet.info/wp-content/uploads/2009/11/capture1-300x142.png" alt="google wave capture" title="google wave capture" width="300" height="142" /></a></p>
<p>使い方が良く分からん。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2009/11/14/google-wave%e3%81%ae%e3%82%a2%e3%82%ab%e3%82%a6%e3%83%b3%e3%83%88%e3%82%92%e6%89%8b%e3%81%ab%e5%85%a5%e3%82%8c%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>なぜマスコミは裁判員制度を批判しかしないのか？</title>
		<link>http://blog.justoneplanet.info/2009/05/30/%e3%81%aa%e3%81%9c%e3%83%9e%e3%82%b9%e3%82%b3%e3%83%9f%e3%81%af%e8%a3%81%e5%88%a4%e5%93%a1%e5%88%b6%e5%ba%a6%e3%82%92%e6%89%b9%e5%88%a4%e3%81%97%e3%81%8b%e3%81%97%e3%81%aa%e3%81%84%e3%81%ae%e3%81%8b/</link>
		<comments>http://blog.justoneplanet.info/2009/05/30/%e3%81%aa%e3%81%9c%e3%83%9e%e3%82%b9%e3%82%b3%e3%83%9f%e3%81%af%e8%a3%81%e5%88%a4%e5%93%a1%e5%88%b6%e5%ba%a6%e3%82%92%e6%89%b9%e5%88%a4%e3%81%97%e3%81%8b%e3%81%97%e3%81%aa%e3%81%84%e3%81%ae%e3%81%8b/#comments</comments>
		<pubDate>Sat, 30 May 2009 14:10:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=1342</guid>
		<description><![CDATA[■個人的な考え 国民の政治参加と同じように、裁判への民意の反映も必要 裁判官だけの裁判が必ずしも公平とは言えない ■マスコミについて 不安を煽って視聴率を稼ぐな！ 配役 癖のあるヤツをつかって不安を煽るな！ 脚本 何でネ [...]]]></description>
			<content:encoded><![CDATA[<h3>■個人的な考え</h3>
<ul>
<li>国民の政治参加と同じように、裁判への民意の反映も必要</li>
<li>裁判官だけの裁判が必ずしも公平とは言えない</li>
</ul>
<h3>■マスコミについて</h3>
<p>不安を煽って視聴率を稼ぐな！</p>
<h4>配役</h4>
<p>癖のあるヤツをつかって不安を煽るな！</p>
<h4>脚本</h4>
<p>何でネガティブなものばかりなんだ!?なぜ明るい未来を描けないんだ？</p>
<h3>■結論</h3>
<p>一人一人の持ち時間は多種多様なメディアに散らばり、二度とテレビの黄金時代はやってこないだろう。その結果、テレビは不安を煽る汚い戦略に取り付かれたが、一時的な滑り止めにもならない。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2009/05/30/%e3%81%aa%e3%81%9c%e3%83%9e%e3%82%b9%e3%82%b3%e3%83%9f%e3%81%af%e8%a3%81%e5%88%a4%e5%93%a1%e5%88%b6%e5%ba%a6%e3%82%92%e6%89%b9%e5%88%a4%e3%81%97%e3%81%8b%e3%81%97%e3%81%aa%e3%81%84%e3%81%ae%e3%81%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>すごいサイトを見つけた</title>
		<link>http://blog.justoneplanet.info/2009/05/12/%e3%81%99%e3%81%94%e3%81%84%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%81%9f/</link>
		<comments>http://blog.justoneplanet.info/2009/05/12/%e3%81%99%e3%81%94%e3%81%84%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%81%9f/#comments</comments>
		<pubDate>Mon, 11 May 2009 23:45:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=1209</guid>
		<description><![CDATA[どうやらボルボのサイトらしい。]]></description>
			<content:encoded><![CDATA[<p><embed src="http://www.strongesttruck.com/strongesttruck2/Game_external.swf?lama=en-gb&#038;gameurl=http://www.strongesttruck.com/strongesttruck2/" bgcolor="#000000" width="550" height="350"  name="" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer" /></p>
<p>どうやら<a href="http://www.strongesttruck.com/">ボルボ</a>のサイトらしい。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2009/05/12/%e3%81%99%e3%81%94%e3%81%84%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome</title>
		<link>http://blog.justoneplanet.info/2009/05/11/google-chrome/</link>
		<comments>http://blog.justoneplanet.info/2009/05/11/google-chrome/#comments</comments>
		<pubDate>Sun, 10 May 2009 23:05:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=1168</guid>
		<description><![CDATA[CMをTVでやるらしい。一足先にYouTubeで公開されているものをご紹介。 うーん。シンプルで面白い。]]></description>
			<content:encoded><![CDATA[<p>CMをTVでやるらしい。一足先にYouTubeで公開されているものをご紹介。</p>
<p><object width="580" height="360"><param name="movie" value="http://www.youtube.com/v/5535Ts-iOP0&#038;hl=ja&#038;fs=1&#038;rel=0&#038;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5535Ts-iOP0&#038;hl=ja&#038;fs=1&#038;rel=0&#038;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="580" height="360"></embed></object></p>
<p>うーん。シンプルで面白い。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2009/05/11/google-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>何事にも大切になること</title>
		<link>http://blog.justoneplanet.info/2009/03/15/%e4%bd%95%e4%ba%8b%e3%81%ab%e3%82%82%e5%a4%a7%e5%88%87%e3%81%ab%e3%81%aa%e3%82%8b%e3%81%93%e3%81%a8/</link>
		<comments>http://blog.justoneplanet.info/2009/03/15/%e4%bd%95%e4%ba%8b%e3%81%ab%e3%82%82%e5%a4%a7%e5%88%87%e3%81%ab%e3%81%aa%e3%82%8b%e3%81%93%e3%81%a8/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 06:55:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/?p=319</guid>
		<description><![CDATA[それは「人間力」。ふと、思った。]]></description>
			<content:encoded><![CDATA[<p>それは「人間力」。ふと、思った。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2009/03/15/%e4%bd%95%e4%ba%8b%e3%81%ab%e3%82%82%e5%a4%a7%e5%88%87%e3%81%ab%e3%81%aa%e3%82%8b%e3%81%93%e3%81%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2008年01月26日</title>
		<link>http://blog.justoneplanet.info/2008/01/26/2008%e5%b9%b401%e6%9c%8826%e6%97%a5/</link>
		<comments>http://blog.justoneplanet.info/2008/01/26/2008%e5%b9%b401%e6%9c%8826%e6%97%a5/#comments</comments>
		<pubDate>Sat, 26 Jan 2008 14:10:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://blog.justoneplanet.info/2008/01/26/2008%e5%b9%b401%e6%9c%8826%e6%97%a5/</guid>
		<description><![CDATA[■web2.0風アイコンを作ってみた こんな感じ。（でも、そろそろこのデザインも流行らなくなるなんて話もある・・・） 参考：Web 2.0な星形バッジを5分で作る：すぐに使える画像テク ■Flashを作ってみた 線を描く [...]]]></description>
			<content:encoded><![CDATA[<h4>■web2.0風アイコンを作ってみた</h4>
<p>こんな感じ。（でも、そろそろこのデザインも流行らなくなるなんて話もある・・・）<br />
<a href="http://blog.justoneplanet.info/wp-content/uploads/2008/01/icon_web201.png" rel="lightbox[100]"><img src="http://blog.justoneplanet.info/wp-content/uploads/2008/01/icon_web201.png" alt="icon_web2.0" title="icon_web2.0" width="200" height="200" class="alignnone size-full wp-image-99" /></a></p>
<p>参考：<a href="http://builder.japan.zdnet.com/sp/photoshop-tips-for-developers/story/0,3800084108,20365561,00.htm">Web 2.0な星形バッジを5分で作る：すぐに使える画像テク</a></p>
<h4>■Flashを作ってみた</h4>
<ol>
<li>線を描く</li>
<li>ボタンを押す</li>
<li>ボタンを押す</li>
<li>ただそれだけ</li>
</ol>
<p class="mb2em"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" id="movedraw" align="middle" height="300" width="460"><param name="allowScriptAccess" value="sameDomain"></param><param name="allowFullScreen" value="false"></param><param name="movie" value="movedraw.swf"></param><param name="quality" value="high"></param><param name="bgcolor" value="#000000"></param><embed src="/wp-content/uploads/2009/11/movedraw.swf" quality="high" bgcolor="#000000" name="movedraw" allowscriptaccess="sameDomain" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="300" width="460"></embed></object></p>
<p><a href="/wp-content/uploads/2009/11/movedraw.fla">.flaファイルのダウンロード</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2008/01/26/2008%e5%b9%b401%e6%9c%8826%e6%97%a5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2008年01月19日</title>
		<link>http://blog.justoneplanet.info/2008/01/20/2008%e5%b9%b401%e6%9c%8819%e6%97%a5/</link>
		<comments>http://blog.justoneplanet.info/2008/01/20/2008%e5%b9%b401%e6%9c%8819%e6%97%a5/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 16:57:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://justoneplanet.sakura.ne.jp/wordpress/2008/01/20/2008%e5%b9%b401%e6%9c%8819%e6%97%a5/</guid>
		<description><![CDATA[■マウスで描画できるFlashを作ってみた 一応、黒板風･･･黒板消しは付ける時間が無かったのでClearで消してください。]]></description>
			<content:encoded><![CDATA[<h4>■マウスで描画できるFlashを作ってみた</h4>
<p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="460" height="300"><param name="movie" value="/wp-content/uploads/2009/11/draw_blackboard.swf" /><param name="quality" value="high" /><embed src="/wp-content/uploads/2009/11/draw_blackboard.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="460" height="300"></embed></object></p>
<p>一応、黒板風･･･黒板消しは付ける時間が無かったのでClearで消してください。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2008/01/20/2008%e5%b9%b401%e6%9c%8819%e6%97%a5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2007年10月01日</title>
		<link>http://blog.justoneplanet.info/2007/10/01/2007%e5%b9%b410%e6%9c%8801%e6%97%a5/</link>
		<comments>http://blog.justoneplanet.info/2007/10/01/2007%e5%b9%b410%e6%9c%8801%e6%97%a5/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 03:59:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://justoneplanet.sakura.ne.jp/wordpress/2007/10/01/2007%e5%b9%b410%e6%9c%8801%e6%97%a5/</guid>
		<description><![CDATA[■要点 プリントアウトしないと理解できないような資料は作ってはいけない ■理由 出力しないと理解できない＝分かりづらい資料 時間の無駄＝この手の資料は自己満足が多い（パワポのアニメーションとか） 紙の無駄＝資源は大切にし [...]]]></description>
			<content:encoded><![CDATA[<h4>■要点</h4>
<p>プリントアウトしないと理解できないような資料は作ってはいけない</p>
<h4>■理由</h4>
<ul>
<li>出力しないと理解できない＝分かりづらい資料</li>
<li>時間の無駄＝この手の資料は自己満足が多い（パワポのアニメーションとか）</li>
<li>紙の無駄＝資源は大切にしよう</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2007/10/01/2007%e5%b9%b410%e6%9c%8801%e6%97%a5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduce of Japan</title>
		<link>http://blog.justoneplanet.info/2007/07/16/introduce-of-japan/</link>
		<comments>http://blog.justoneplanet.info/2007/07/16/introduce-of-japan/#comments</comments>
		<pubDate>Sun, 15 Jul 2007 15:16:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://justoneplanet.sakura.ne.jp/wordpress/2007/07/16/introduce-of-japan/</guid>
		<description><![CDATA[I am from Japan. Japan is near Korea and China. We speak Japanese here. Much more foreigners regard Japan as b [...]]]></description>
			<content:encoded><![CDATA[<p>I am from Japan.</p>
<p>Japan is near Korea and China.<br />
We speak Japanese here.</p>
<p>Much more foreigners regard Japan as being only buidings or temples.<br />
But my country don&#8217;t have only them but also many beautiful forests and moutains like Mt. Fuji.</p>
<p>If I meet somone I would like to introduce them to Japan for vacation.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justoneplanet.info/2007/07/16/introduce-of-japan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

