<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>實松アウトプット</title>
	<atom:link href="http://sanematsu.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sanematsu.wordpress.com</link>
	<description>sanemat&#039;s output</description>
	<lastBuildDate>Thu, 12 Jan 2012 15:54:41 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sanematsu.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>實松アウトプット</title>
		<link>http://sanematsu.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sanematsu.wordpress.com/osd.xml" title="實松アウトプット" />
	<atom:link rel='hub' href='http://sanematsu.wordpress.com/?pushpress=hub'/>
		<item>
		<title>チュートリアルどう作るの</title>
		<link>http://sanematsu.wordpress.com/2012/01/11/%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab%e3%81%a9%e3%81%86%e4%bd%9c%e3%82%8b%e3%81%ae/</link>
		<comments>http://sanematsu.wordpress.com/2012/01/11/%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab%e3%81%a9%e3%81%86%e4%bd%9c%e3%82%8b%e3%81%ae/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 17:14:39 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=568</guid>
		<description><![CDATA[minimalで一番かなえたいユーザ体験て何? にwebエンジニアに対応するのがチュートリアルどう作るの? な気がした。 で、どう作るの?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=568&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>minimalで一番かなえたいユーザ体験て何? にwebエンジニアに対応するのがチュートリアルどう作るの? な気がした。<br />
で、どう作るの?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/568/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=568&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2012/01/11/%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab%e3%81%a9%e3%81%86%e4%bd%9c%e3%82%8b%e3%81%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	</item>
		<item>
		<title>Objective-C, GHUnit and OCUnit</title>
		<link>http://sanematsu.wordpress.com/2012/01/04/objective-c-and-ghunit-and-ocunit/</link>
		<comments>http://sanematsu.wordpress.com/2012/01/04/objective-c-and-ghunit-and-ocunit/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 06:38:45 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[ghunit]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[ocunit]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=565</guid>
		<description><![CDATA[objective-cの話OCUnitとGHUnitで圧倒的にGHUnitの方が優秀でOCUnitはしぬべきどっちもすたれてUIAutomationかJsTestDriverになる気がしないでもないけど単体テストは残るだろうGHUnitは非同期処理、テストの部分実行、コマンドラインからの実行、などが圧倒的でOCUnit = appleはテスト自動化やる気ない。でもGHUnitつかってるとxcodeのバージョンアップでエラー出たりや構成作り方がパッと見ややこしいところとか、リンカエラーって出て何をどうすればいいのか皆目わからないとき、俺いま何やってんだろうかなーと思う。というときにOCUnitを手助けできるもの書いて手軽さの方を延命すべきなのか、少なくとも動かすところでは踏ん張ってGHUnit使うべきなのかちょっと考える。 たとえばPHPの場合なら、もうlimeとsimple testはころしてPHPUnitにすべきじゃん? 導入が簡単だどうとか言って延命すべきでない。 Objective-cの場合、stackoverflowでいくつか見た質問や、テスト厨レベルだとGHUnitなんだけど、詰まったときのよく分からない状況を脱出するtipsが足りてない気がしてて、後自分だとお手上げになってしまうので、迷わずGHUnitでいいのかが謎い。 あとどうせテスト書いてる人見ないからはっきり言えばどうでもいいのかもしれない。素振りがめんどいんだよね objective-cのテストコード。課題設定がまずいのかも。apple自身のcalculatorのテストコードはそこそこよく出来てると思うんだが、現実に即しているのってそれしか見たことない。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=565&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>objective-cの話<br />OCUnitとGHUnitで圧倒的にGHUnitの方が優秀でOCUnitはしぬべき<br />どっちもすたれてUIAutomationかJsTestDriverになる気がしないでもないけど単体テストは残るだろう<br />GHUnitは非同期処理、テストの部分実行、コマンドラインからの実行、などが圧倒的でOCUnit = appleはテスト自動化やる気ない。<br />でもGHUnitつかってるとxcodeのバージョンアップでエラー出たりや構成作り方がパッと見ややこしいところとか、リンカエラーって出て何をどうすればいいのか皆目わからないとき、俺いま何やってんだろうかなーと思う。<br />というときにOCUnitを手助けできるもの書いて手軽さの方を延命すべきなのか、少なくとも動かすところでは踏ん張ってGHUnit使うべきなのかちょっと考える。</div>
<div></div>
<div>たとえばPHPの場合なら、もうlimeとsimple testはころしてPHPUnitにすべきじゃん? 導入が簡単だどうとか言って延命すべきでない。</div>
<div></div>
<div>Objective-cの場合、stackoverflowでいくつか見た質問や、テスト厨レベルだとGHUnitなんだけど、詰まったときのよく分からない状況を脱出するtipsが足りてない気がしてて、後自分だとお手上げになってしまうので、迷わずGHUnitでいいのかが謎い。</div>
<div>あとどうせテスト書いてる人見ないからはっきり言えばどうでもいいのかもしれない。素振りがめんどいんだよね objective-cのテストコード。課題設定がまずいのかも。apple自身のcalculatorのテストコードはそこそこよく出来てると思うんだが、現実に即しているのってそれしか見たことない。</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/565/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/565/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/565/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=565&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2012/01/04/objective-c-and-ghunit-and-ocunit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	</item>
		<item>
		<title>Days10: Same API with Push</title>
		<link>http://sanematsu.wordpress.com/2011/12/31/days10-same-api-with-push/</link>
		<comments>http://sanematsu.wordpress.com/2011/12/31/days10-same-api-with-push/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 14:14:56 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[ios]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=562</guid>
		<description><![CDATA[boxed iceのentryに出てくる、urbanairshipを使うと、めんどくさいところを全部まかなってくれるらしい? entry自体読みかけだし、urbanairshipつかったことないしで丸投げするのはひどいが。いつかためす Android push notifications (tutorial) « Boxed Ice Blog Push Notifications &#124; Urban Airship<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=562&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>boxed iceのentryに出てくる、urbanairshipを使うと、めんどくさいところを全部まかなってくれるらしい? entry自体読みかけだし、urbanairshipつかったことないしで丸投げするのはひどいが。いつかためす</div>
<div></div>
<div><a href="http://blog.boxedice.com/2010/10/07/android-push-notifications-tutorial/">Android push notifications (tutorial) « Boxed Ice Blog</a></div>
<div></div>
<div><a href="http://urbanairship.com/products/push-notifications/">Push Notifications | Urban Airship</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/562/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/562/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/562/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=562&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2011/12/31/days10-same-api-with-push/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	</item>
		<item>
		<title>Days9: Android Push Notification</title>
		<link>http://sanematsu.wordpress.com/2011/12/31/days9-android-push-notification/</link>
		<comments>http://sanematsu.wordpress.com/2011/12/31/days9-android-push-notification/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 14:09:56 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=560</guid>
		<description><![CDATA[Android2.2以上でPush NotificationはC2DMつかえばいいのでは? まだつかったことないけど、それ以前のバージョンでの苦労は読み物程度にすればいいはず。 Android push notifications (tutorial) « Boxed Ice Blog<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=560&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Android2.2以上でPush NotificationはC2DMつかえばいいのでは? まだつかったことないけど、それ以前のバージョンでの苦労は読み物程度にすればいいはず。</div>
<div></div>
<div>
<div><a href="http://blog.boxedice.com/2010/10/07/android-push-notifications-tutorial/">Android push notifications (tutorial) « Boxed Ice Blog</a></div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/560/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=560&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2011/12/31/days9-android-push-notification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	</item>
		<item>
		<title>Days8: Apple Push Notification with Ruby</title>
		<link>http://sanematsu.wordpress.com/2011/12/31/days8-apple-push-notification-with-ruby/</link>
		<comments>http://sanematsu.wordpress.com/2011/12/31/days8-apple-push-notification-with-ruby/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 14:01:57 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[ios]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=555</guid>
		<description><![CDATA[RubyからAPNs叩くなら、下記gemのREADMEな感じで呼び出せばok jpoz/APNS &#8211; GitHub https://github.com/jpoz/APNS irbからぽこぽこnotify送れるのにちょっと感動する。APNsはios3以降なので、それ以外のnotificationは特に考えなくて良いはず local notification送りたければ好きにすればいいと思う cityville hometownで「tips: ~」とか来るのはlocal notificationだと思うが、コードを見たわけではないので知らない APNsで来るnotificationが設定 -&#62; 通知 で方法や手段をon/off出来る通知(ios5)だとおもう。前述のhometownはiphone側の設定で通知全offにしたのに、tipsと作物が実りましただけ来るので、ここがlocalなのかなと想像した。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=555&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>RubyからAPNs叩くなら、下記gemのREADMEな感じで呼び出せばok</div>
<div>jpoz/APNS &#8211; GitHub <a href="https://github.com/jpoz/APNS">https://github.com/jpoz/APNS</a></div>
<div></div>
<div>irbからぽこぽこnotify送れるのにちょっと感動する。APNsはios3以降なので、それ以外のnotificationは特に考えなくて良いはず</div>
<div>local notification送りたければ好きにすればいいと思う</div>
<div>cityville hometownで「tips: ~」とか来るのはlocal notificationだと思うが、コードを見たわけではないので知らない</div>
<div></div>
<div>APNsで来るnotificationが設定 -&gt; 通知 で方法や手段をon/off出来る通知(ios5)だとおもう。前述のhometownはiphone側の設定で通知全offにしたのに、tipsと作物が実りましただけ来るので、ここがlocalなのかなと想像した。</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/555/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=555&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2011/12/31/days8-apple-push-notification-with-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	</item>
		<item>
		<title>Days7: APNsアカウント振り分け</title>
		<link>http://sanematsu.wordpress.com/2011/12/31/days7-apns%e3%82%a2%e3%82%ab%e3%82%a6%e3%83%b3%e3%83%88%e6%8c%af%e3%82%8a%e5%88%86%e3%81%91/</link>
		<comments>http://sanematsu.wordpress.com/2011/12/31/days7-apns%e3%82%a2%e3%82%ab%e3%82%a6%e3%83%b3%e3%83%88%e6%8c%af%e3%82%8a%e5%88%86%e3%81%91/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 13:27:55 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[ios]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=549</guid>
		<description><![CDATA[APNsのnotificationの場合アカウントの使い方、一人でやろうとするとシンプルだが、チームでやろうとすると意味が分からなくなる。あとFree/Paidの組み合わせがあると爆発するので泣いとく。 - 必要なだけprofileを作る - コンパイル用とは別の秘密鍵&#38;CSRセットをつくってpush用にする &#8211; するといいらしい &#8211; したほうがいいよね?といわれればたしかにそうなんだが権限分けと権限まとめたほうがいいところと区別が良くわからん - どの鍵とどの鍵を共通にしておくと開発チーム的にはかどりつつ、セキュリティ的に踏みとどまれるのかよく理解していない。 * apple的に - development用とdistribution用があって、その区別の話だけをしている * social game provider的に - public distribution用のappleアカウント &#8211; 一般ピープルは触れない - development用のappleアカウント &#8211; 一般ピープルも触れる &#8211; developのdistribution目的 &#8211; developのdevelop目的 なので、組み合わせとしては以下のとおりにするのが、折り合いポイントっぽい。 - public_apple &#8211; distribution &#8211; appstore用build - private_apple &#8211; distribution &#8211; otaなど配布用build - private_apple &#8211; development &#8211; development用build<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=549&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>APNsのnotificationの場合アカウントの使い方、一人でやろうとするとシンプルだが、チームでやろうとすると意味が分からなくなる。あとFree/Paidの組み合わせがあると爆発するので泣いとく。</p>
<p>- 必要なだけprofileを作る<br />
- コンパイル用とは別の秘密鍵&amp;CSRセットをつくってpush用にする<br />
&#8211; するといいらしい<br />
&#8211; したほうがいいよね?といわれればたしかにそうなんだが権限分けと権限まとめたほうがいいところと区別が良くわからん<br />
- どの鍵とどの鍵を共通にしておくと開発チーム的にはかどりつつ、セキュリティ的に踏みとどまれるのかよく理解していない。</p>
<p>* apple的に<br />
- development用とdistribution用があって、その区別の話だけをしている</p>
<p>* social game provider的に<br />
- public distribution用のappleアカウント</p>
<p>&#8211; 一般ピープルは触れない<br />
- development用のappleアカウント<br />
&#8211; 一般ピープルも触れる<br />
&#8211; developのdistribution目的<br />
&#8211; developのdevelop目的</p>
<p>なので、組み合わせとしては以下のとおりにするのが、折り合いポイントっぽい。</p>
<p>- public_apple &#8211; distribution<br />
&#8211; appstore用build<br />
- private_apple &#8211; distribution<br />
&#8211; otaなど配布用build<br />
- private_apple &#8211; development<br />
&#8211; development用build</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/549/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/549/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/549/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/549/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/549/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/549/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/549/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/549/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/549/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/549/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/549/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/549/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/549/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/549/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=549&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2011/12/31/days7-apns%e3%82%a2%e3%82%ab%e3%82%a6%e3%83%b3%e3%83%88%e6%8c%af%e3%82%8a%e5%88%86%e3%81%91/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	</item>
		<item>
		<title>Days6: SmartPhone Push Notificationはじめ</title>
		<link>http://sanematsu.wordpress.com/2011/12/25/days6-smartphone-push-notification%e3%81%af%e3%81%98%e3%82%81/</link>
		<comments>http://sanematsu.wordpress.com/2011/12/25/days6-smartphone-push-notification%e3%81%af%e3%81%98%e3%82%81/#comments</comments>
		<pubDate>Sun, 25 Dec 2011 13:41:05 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[ios]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=546</guid>
		<description><![CDATA[Smart Phone(iOS/Android)のPush Notificationについて咀嚼したのでメモ。ここでのPush Notificationとは本当の&#8221;Push&#8221;だけではなくてぽいものもひとまとめにする。要はiphoneでポップアップが出てきたりandroidでnotifyされるアレ。 まずカッコつきじゃない本当のpush - iPhone Apple Push Notification Service (APNs) http://developer.apple.com/jp/devcenter/ios/library/documentation/RemoteNotificationsPG.pdf - Android Android Cloud to Device Messaging (C2DM) http://code.google.com/android/c2dm/index.html 公式ドキュメントを読む。あと、正式名称、略称はすぐ忘れるので、覚えられないので書いておく。 - 対象OS APNs: iOS3以上C2DM: Android2.2以上 サーバ側、クライアント側の設定、dev版、配布版別の設定、用意しなきゃなモノ、対象外のosで擬似的なものはどうするか、などなどで知っている人に何度も何度も聞いてなかなか意味がわからなかった。でも基本は公式ドキュメント。あと、一歩を小さくしないとエラーの意味すらよくわからない。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=546&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Smart Phone(iOS/Android)のPush Notificationについて咀嚼したのでメモ。ここでのPush Notificationとは本当の&#8221;Push&#8221;だけではなくてぽいものもひとまとめにする。要はiphoneでポップアップが出てきたりandroidでnotifyされるアレ。</div>
<div></div>
<div>まずカッコつきじゃない本当のpush</div>
<div>- iPhone</div>
<div>Apple Push Notification Service (APNs)</div>
<div><a href="http://developer.apple.com/jp/devcenter/ios/library/documentation/RemoteNotificationsPG.pdf">http://developer.apple.com/jp/devcenter/ios/library/documentation/RemoteNotificationsPG.pdf</a></div>
<div>- Android</div>
<div>Android Cloud to Device Messaging (C2DM)</div>
<div>
<div><a href="http://code.google.com/android/c2dm/index.html">http://code.google.com/android/c2dm/index.html</a></div>
<div></div>
<div>公式ドキュメントを読む。あと、正式名称、略称はすぐ忘れるので、覚えられないので書いておく。</div>
<div></div>
<div>- 対象OS</div>
<div>APNs: iOS3以上<br />C2DM: Android2.2以上</div>
<div></div>
<div>サーバ側、クライアント側の設定、dev版、配布版別の設定、用意しなきゃなモノ、対象外のosで擬似的なものはどうするか、などなどで知っている人に何度も何度も聞いてなかなか意味がわからなかった。でも基本は公式ドキュメント。あと、一歩を小さくしないとエラーの意味すらよくわからない。</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/546/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/546/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/546/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=546&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2011/12/25/days6-smartphone-push-notification%e3%81%af%e3%81%98%e3%82%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	</item>
		<item>
		<title>Days5: Selection Sort</title>
		<link>http://sanematsu.wordpress.com/2011/12/04/days5-selection-sort/</link>
		<comments>http://sanematsu.wordpress.com/2011/12/04/days5-selection-sort/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 14:31:30 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=543</guid>
		<description><![CDATA[I read and copy and paste from below about Selection Sort: http://lecture.ecc.u-tokyo.ac.jp/~cichiji/cp-05/cp-05-06-3.html This is my implementation. https://gist.github.com/1430305/3f3883b6c2aecd7bd5b5e4adac06ae3fddff61a6<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=543&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>I read and copy and paste from below about Selection Sort:</div>
<div><a href="http://lecture.ecc.u-tokyo.ac.jp/~cichiji/cp-05/cp-05-06-3.html">http://lecture.ecc.u-tokyo.ac.jp/~cichiji/cp-05/cp-05-06-3.html</a></div>
<div></div>
<div>This is my implementation.</div>
<div><a href="https://gist.github.com/1430305/3f3883b6c2aecd7bd5b5e4adac06ae3fddff61a6">https://gist.github.com/1430305/3f3883b6c2aecd7bd5b5e4adac06ae3fddff61a6</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/543/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=543&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2011/12/04/days5-selection-sort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	</item>
		<item>
		<title>Days4: npm module install project locally</title>
		<link>http://sanematsu.wordpress.com/2011/11/27/days4-npm-module-install-project-locally/</link>
		<comments>http://sanematsu.wordpress.com/2011/11/27/days4-npm-module-install-project-locally/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 12:13:00 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=541</guid>
		<description><![CDATA[Default is user local. And if I satisfy some conditions, then automatically switches project local User global: ~/node_modules/ If I clone jasmine-node and I use &#8220;npm install&#8221; at project root, then npm module install project local. $ cd /path/to/work $ git clone git://github.com/mhevery/jasmine-node.git $ cd jasmine-node $ npm install requirejs // then install /path/to/work/jasmine-node/node_modules/requirejs/* eg. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=541&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Default is user local. And if I satisfy some conditions, then automatically switches project local <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>User global:<br />
~/node_modules/</p>
<p>If I clone jasmine-node and I use &#8220;npm install&#8221; at project root, then npm module install project local.</p>
<pre>$ cd /path/to/work
$ git clone git://github.com/mhevery/jasmine-node.git
$ cd jasmine-node
$ npm install requirejs
// then install /path/to/work/jasmine-node/node_modules/requirejs/*

eg. my confirm environment:
$ npm list
jasmine-node@1.0.11 /Users/sane/work/js-study/jasmine-node
├── coffee-script@1.1.3
├── jasmine-reporters@0.1.0
└── requirejs@1.0.2</pre>
<p>If I want install global, I can use &#8220;npm install -g [pkg]&#8220;.</p>
<p>Edited: 2012-01-13 0:51<br />
If you have PROJECT_ROOT/package.json,<br />
$ cd PROJECT_ROOT<br />
$ npm install<br />
then there are modules below:<br />
PROJECT_ROOT/node_modules/*</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/541/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=541&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2011/11/27/days4-npm-module-install-project-locally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	</item>
		<item>
		<title>Days3: Node.js(v0.6.3) does not have destructuring assignment?</title>
		<link>http://sanematsu.wordpress.com/2011/11/26/days3-node-jsv0-6-3-does-not-have-destructuring-assignment/</link>
		<comments>http://sanematsu.wordpress.com/2011/11/26/days3-node-jsv0-6-3-does-not-have-destructuring-assignment/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 13:17:15 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=536</guid>
		<description><![CDATA[Node.js(v0.6.3) does not have destructuring assignment? https://developer.mozilla.org/en/New_in_JavaScript_1.7#Destructuring_assignment_(Merge_into_own_page.2Fsection) Before my implemantation worked: https://gist.github.com/1336596/12da47b354b7f7c5975fd67b4c72e4c48e958b52 After using destructuring assignment, but below does not work: https://gist.github.com/1336596/4570cd315b88b41ed360962928c3d4aaafab8dbf I want to reduce using temporary variable, $ git diff 12da47b..4570cd3 diff --git a/BubbleSort.js b/BubbleSort.js index 97b9760..583ecaf 100644 --- a/BubbleSort.js +++ b/BubbleSort.js @@ -9,9 +9,7 @@ bubbleSort.bubbleSort = function(){ for(var i = 0; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=536&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Node.js(v0.6.3) does not have destructuring assignment?</div>
<div><a href="https://developer.mozilla.org/en/New_in_JavaScript_1.7#Destructuring_assignment_(Merge_into_own_page.2Fsection)">https://developer.mozilla.org/en/New_in_JavaScript_1.7#Destructuring_assignment_(Merge_into_own_page.2Fsection)</a></div>
<div></div>
<div>Before my implemantation worked:</div>
<div><a href="https://gist.github.com/1336596/12da47b354b7f7c5975fd67b4c72e4c48e958b52">https://gist.github.com/1336596/12da47b354b7f7c5975fd67b4c72e4c48e958b52</a></div>
<div>After using destructuring assignment, but below does not work:</div>
<div><a href="https://gist.github.com/1336596/4570cd315b88b41ed360962928c3d4aaafab8dbf">https://gist.github.com/1336596/4570cd315b88b41ed360962928c3d4aaafab8dbf</a></div>
<div></div>
<div>I want to reduce using temporary variable,</div>
<div>
<pre>
$ git diff 12da47b..4570cd3
diff --git a/BubbleSort.js b/BubbleSort.js
index 97b9760..583ecaf 100644
--- a/BubbleSort.js
+++ b/BubbleSort.js
@@ -9,9 +9,7 @@ bubbleSort.bubbleSort = function(){
     for(var i = 0; i  this.values[i + 1]) {
         this.flag = true;
-        var j = this.values[i];
-        this.values[i] = this.values[i + 1];
-        this.values[i + 1] = j;
+        [this.values[i], this.values[i + 1]] = [this.values[i + 1], this.values[i]];
       }
     }
     ++k;
</pre>
</div>
<div></div>
<div>I expected green, but test failed.</div>
<div><a href="https://gist.github.com/1336596/4570cd315b88b41ed360962928c3d4aaafab8dbf#gistcomment-65440">https://gist.github.com/1336596/4570cd315b88b41ed360962928c3d4aaafab8dbf#gistcomment-65440</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/536/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/536/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/536/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/536/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/536/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/536/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/536/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/536/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=536&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2011/11/26/days3-node-jsv0-6-3-does-not-have-destructuring-assignment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	</item>
	</channel>
</rss>
