<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2japanesefull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>實松アウトプット</title>
	
	<link>http://sanematsu.wordpress.com</link>
	<description>sanemat's output</description>
	<lastBuildDate>Wed, 08 Feb 2012 01:01:14 +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="實松アウトプット" />
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/typepad/sane" /><feedburner:info uri="typepad/sane" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://sanematsu.wordpress.com/?pushpress=hub" /><item>
		<title>rails3.2+rspec環境叩き台</title>
		<link>http://feedproxy.google.com/~r/typepad/sane/~3/cw5TfljA28c/</link>
		<comments>http://sanematsu.wordpress.com/2012/02/08/rails3-2rspec%e7%92%b0%e5%a2%83%e5%8f%a9%e3%81%8d%e5%8f%b0/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 01:01:10 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=583</guid>
		<description><![CDATA[あちこちの入門サンプル見て、ポイント絞ってあってそれちがくねー? と思ったので現時点の書いておく。Gemfileに書いたrailsでproject作りたいじゃん。rails3 + rspec環境。 $ gem install bundler #=&#62; bundlerなければ $ mkdir -p todo $ cd todo $ touch Gemfile source :rubygems gem 'rails' $ bundle $ bundle exec rails new . -T #=&#62; rails newでGemfileは上書き $ bundle #=&#62; gem足らなかったら $ vim Gemfile #=&#62; 追記 group :development, :test do gem 'rspec-rails' end group :development do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=583&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>あちこちの入門サンプル見て、ポイント絞ってあってそれちがくねー? と思ったので現時点の書いておく。Gemfileに書いたrailsでproject作りたいじゃん。rails3 + rspec環境。</p>
<p><code>$ gem install bundler #=&gt; bundlerなければ</p>
<p>$ mkdir -p todo<br />
$ cd todo<br />
$ touch Gemfile<br />
source :rubygems<br />
gem 'rails'<br />
$ bundle<br />
$ bundle exec rails new . -T #=&gt; rails newでGemfileは上書き<br />
$ bundle #=&gt; gem足らなかったら</p>
<p>$ vim Gemfile #=&gt; 追記<br />
group :development, :test do<br />
  gem 'rspec-rails'<br />
end<br />
group :development do<br />
  gem 'thin'<br />
end</p>
<p>$ bundle<br />
$ bundle exec rails g rspec:install<br />
$ bundle exec rake db:create<br />
$ bundle exec rake db:migrate<br />
$ bundle exec rake spec<br />
$ bundle exec rails s thin<br />
</code><br />
Procfile書いてforemanでも全然いいですが、あれherokuのceder stack以外で使うメリットよくわからん…<br />
こんなんじゃない? これだとreloadしないのかな </p>
<p>via:<br />
Bundler: The best way to manage Ruby applications http://gembundler.com/rails3.html<br />
mitukiii.jp | Ruby on Rails3でRSpecを使う http://mitukiii.jp/2010/12/16/rspec-use-on-ruby-on-rails3/<br />
How To Get Rails 3 and RSpec 2 Running Specs Fast (From Scratch) http://www.rubyinside.com/how-to-rails-3-and-rspec-2-4336.html</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/583/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=583&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/typepad/sane?a=cw5TfljA28c:Iy5wjZct398:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=cw5TfljA28c:Iy5wjZct398:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=cw5TfljA28c:Iy5wjZct398:NxMb_nMRk0A"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=NxMb_nMRk0A" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2012/02/08/rails3-2rspec%e7%92%b0%e5%a2%83%e5%8f%a9%e3%81%8d%e5%8f%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	<feedburner:origLink>http://sanematsu.wordpress.com/2012/02/08/rails3-2rspec%e7%92%b0%e5%a2%83%e5%8f%a9%e3%81%8d%e5%8f%b0/</feedburner:origLink></item>
		<item>
		<title>ふつケルからのメモ書き 高階関数</title>
		<link>http://feedproxy.google.com/~r/typepad/sane/~3/2AektObEIT4/</link>
		<comments>http://sanematsu.wordpress.com/2012/02/07/%e3%81%b5%e3%81%a4%e3%82%b1%e3%83%ab%e3%81%8b%e3%82%89%e3%81%ae%e3%83%a1%e3%83%a2%e6%9b%b8%e3%81%8d-%e9%ab%98%e9%9a%8e%e9%96%a2%e6%95%b0/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 01:31:45 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[haskell]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=580</guid>
		<description><![CDATA[square n = n * n map square [1, 2, 3] [(square 1), (square 2), (square 3)] concatMap f xs concatMap expandTab "ab\tcd\n" concat $ map expandTab "ab\tcd\n" concat $ [(expandTab 'a'), (expandTab 'b'), (expandTab '\t'), (expandTab 'c'), (expandTab 'd'), (expandTab '\n')] concat $ [['a'], ['b'], (replicate tabStop ' '), ['c'], ['d'], ['\n'] concat ['a', [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=580&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code>square n = n * n<br />
map square [1, 2, 3]<br />
[(square 1), (square 2), (square 3)]</p>
<p>concatMap f xs</p>
<p>concatMap expandTab "ab\tcd\n"<br />
concat $ map expandTab "ab\tcd\n"<br />
concat $ [(expandTab 'a'), (expandTab 'b'), (expandTab '\t'), (expandTab 'c'), (expandTab 'd'), (expandTab '\n')]<br />
concat $ [['a'], ['b'], (replicate tabStop ' '), ['c'], ['d'], ['\n']<br />
concat ['a', 'b', " ", ['c'], ['d'], [\n]]<br />
'ab cd\n'</p>
<p>map :: (a -&gt; b) -&gt; [a] -&gt; [b]<br />
map f [] = []<br />
map f (x:xs) = f x : map f xs</p>
<p>map f (x:xs) = ((f x) : (map f xs))<br />
</code><br />
: リストを生成する演算子<br />
リストに対するパターンマッチでは(x:xs)がリストを先頭要素とそれ以降のリストに分解<br />
関数定義の中で(y:ys)　リストysの先頭にyを追加したリストを作成</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/580/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/580/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/580/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=580&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/typepad/sane?a=2AektObEIT4:ybh2HkhqUyQ:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=2AektObEIT4:ybh2HkhqUyQ:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=2AektObEIT4:ybh2HkhqUyQ:NxMb_nMRk0A"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=NxMb_nMRk0A" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2012/02/07/%e3%81%b5%e3%81%a4%e3%82%b1%e3%83%ab%e3%81%8b%e3%82%89%e3%81%ae%e3%83%a1%e3%83%a2%e6%9b%b8%e3%81%8d-%e9%ab%98%e9%9a%8e%e9%96%a2%e6%95%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	<feedburner:origLink>http://sanematsu.wordpress.com/2012/02/07/%e3%81%b5%e3%81%a4%e3%82%b1%e3%83%ab%e3%81%8b%e3%82%89%e3%81%ae%e3%83%a1%e3%83%a2%e6%9b%b8%e3%81%8d-%e9%ab%98%e9%9a%8e%e9%96%a2%e6%95%b0/</feedburner:origLink></item>
		<item>
		<title>ユーザにサービスを提供</title>
		<link>http://feedproxy.google.com/~r/typepad/sane/~3/gX_gFofSG1A/</link>
		<comments>http://sanematsu.wordpress.com/2012/02/05/%e3%83%a6%e3%83%bc%e3%82%b6%e3%81%ab%e3%82%b5%e3%83%bc%e3%83%93%e3%82%b9%e3%82%92%e6%8f%90%e4%be%9b/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 15:34:15 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[junk]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=578</guid>
		<description><![CDATA[ゲームでも何でもいいですがユーザにサービス提供しないとね はじまらない<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=578&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ゲームでも何でもいいですがユーザにサービス提供しないとね はじまらない</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/578/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=578&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/typepad/sane?a=gX_gFofSG1A:DnENUHs_MtA:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=gX_gFofSG1A:DnENUHs_MtA:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=gX_gFofSG1A:DnENUHs_MtA:NxMb_nMRk0A"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=NxMb_nMRk0A" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2012/02/05/%e3%83%a6%e3%83%bc%e3%82%b6%e3%81%ab%e3%82%b5%e3%83%bc%e3%83%93%e3%82%b9%e3%82%92%e6%8f%90%e4%be%9b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	<feedburner:origLink>http://sanematsu.wordpress.com/2012/02/05/%e3%83%a6%e3%83%bc%e3%82%b6%e3%81%ab%e3%82%b5%e3%83%bc%e3%83%93%e3%82%b9%e3%82%92%e6%8f%90%e4%be%9b/</feedburner:origLink></item>
		<item>
		<title>古いinactiveレコードのtruncate</title>
		<link>http://feedproxy.google.com/~r/typepad/sane/~3/44QUmbyeN-o/</link>
		<comments>http://sanematsu.wordpress.com/2012/02/04/truncate-old-inactive-records/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 06:26:32 +0000</pubDate>
		<dc:creator>sanemat</dc:creator>
				<category><![CDATA[data]]></category>

		<guid isPermaLink="false">http://sanematsu.wordpress.com/?p=573</guid>
		<description><![CDATA[件数による、というのが大前提になってしまう。 できるだけ物理削除したくなくて論理削除したい。 古くて通常は使わなくなったレコードも消したくない、どうせ管理系から検索したくなるときは来る。 件数というかテーブルのデータ量なのかな。 物理削除しては、そのぶんのデータ取っておくテーブル or 別db or fileにinsertするのかしら。それも直感だとうげーって感じなんだけど。 具体例としては、ユーザ間でバトルをするんだけど、その履歴を一定期間分はユーザに見せたくて、過去データもそれはそれで取っておきたいよね、という感じ。 expire付けられるストレージ redisとかmemcacheとか使いつつ、memcacheだと消えるけど、logはlogで別のlogどっかーんってところに突っ込むのが自然なのかなあ。expireじゃなくてcronでdelete文流すところに落ち着きそうだけど。 そうすると、たとえば累計2000勝1000敗みたいな表示とか、2000勝でご褒美プレゼントとかがインクリメントする何かになってしまって、あとから再計算するのめんどいというか不可能になりそうでイヤなんだなあ。ログとデータとごっちゃにするなって話かなあ。 activeなデータのアクセスに対するテーブルの分割やshardingなら話はわかるしそのとおりなんだけど。 後出しするとできればrailsから使いたいのです。mysqlのパーティショニングとかrangeとかがうまく使えるのかよくわかってない。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=573&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>件数による、というのが大前提になってしまう。<br />
できるだけ物理削除したくなくて論理削除したい。<br />
古くて通常は使わなくなったレコードも消したくない、どうせ管理系から検索したくなるときは来る。<br />
件数というかテーブルのデータ量なのかな。<br />
物理削除しては、そのぶんのデータ取っておくテーブル or 別db or fileにinsertするのかしら。それも直感だとうげーって感じなんだけど。</p>
<p>具体例としては、ユーザ間でバトルをするんだけど、その履歴を一定期間分はユーザに見せたくて、過去データもそれはそれで取っておきたいよね、という感じ。<br />
expire付けられるストレージ redisとかmemcacheとか使いつつ、memcacheだと消えるけど、logはlogで別のlogどっかーんってところに突っ込むのが自然なのかなあ。expireじゃなくてcronでdelete文流すところに落ち着きそうだけど。<br />
そうすると、たとえば累計2000勝1000敗みたいな表示とか、2000勝でご褒美プレゼントとかがインクリメントする何かになってしまって、あとから再計算するのめんどいというか不可能になりそうでイヤなんだなあ。ログとデータとごっちゃにするなって話かなあ。</p>
<p>activeなデータのアクセスに対するテーブルの分割やshardingなら話はわかるしそのとおりなんだけど。</p>
<p>後出しするとできればrailsから使いたいのです。mysqlのパーティショニングとかrangeとかがうまく使えるのかよくわかってない。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanematsu.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanematsu.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanematsu.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanematsu.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanematsu.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanematsu.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanematsu.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanematsu.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanematsu.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanematsu.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanematsu.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanematsu.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanematsu.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanematsu.wordpress.com/573/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanematsu.wordpress.com&amp;blog=12068882&amp;post=573&amp;subd=sanematsu&amp;ref=&amp;feed=1" width="1" height="1" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/typepad/sane?a=44QUmbyeN-o:qWAqx9Ga4O0:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=44QUmbyeN-o:qWAqx9Ga4O0:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=44QUmbyeN-o:qWAqx9Ga4O0:NxMb_nMRk0A"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=NxMb_nMRk0A" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://sanematsu.wordpress.com/2012/02/04/truncate-old-inactive-records/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b1d016f87f05ff645ae572ccbbf0448?s=96&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	<feedburner:origLink>http://sanematsu.wordpress.com/2012/02/04/truncate-old-inactive-records/</feedburner:origLink></item>
		<item>
		<title>チュートリアルどう作るの</title>
		<link>http://feedproxy.google.com/~r/typepad/sane/~3/eiRvrkBKmYo/</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" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/typepad/sane?a=eiRvrkBKmYo:yfoXDWgBKes:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=eiRvrkBKmYo:yfoXDWgBKes:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=eiRvrkBKmYo:yfoXDWgBKes:NxMb_nMRk0A"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=NxMb_nMRk0A" border="0"></img></a>
</div>]]></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&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	<feedburner:origLink>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/</feedburner:origLink></item>
		<item>
		<title>Objective-C, GHUnit and OCUnit</title>
		<link>http://feedproxy.google.com/~r/typepad/sane/~3/FcIX2dpsZCI/</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" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/typepad/sane?a=FcIX2dpsZCI:MJViHijQpaM:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=FcIX2dpsZCI:MJViHijQpaM:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=FcIX2dpsZCI:MJViHijQpaM:NxMb_nMRk0A"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=NxMb_nMRk0A" border="0"></img></a>
</div>]]></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&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	<feedburner:origLink>http://sanematsu.wordpress.com/2012/01/04/objective-c-and-ghunit-and-ocunit/</feedburner:origLink></item>
		<item>
		<title>Days10: Same API with Push</title>
		<link>http://feedproxy.google.com/~r/typepad/sane/~3/_j0SwTOWWiU/</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" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/typepad/sane?a=_j0SwTOWWiU:0dngTk3iG_E:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=_j0SwTOWWiU:0dngTk3iG_E:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=_j0SwTOWWiU:0dngTk3iG_E:NxMb_nMRk0A"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=NxMb_nMRk0A" border="0"></img></a>
</div>]]></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&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	<feedburner:origLink>http://sanematsu.wordpress.com/2011/12/31/days10-same-api-with-push/</feedburner:origLink></item>
		<item>
		<title>Days9: Android Push Notification</title>
		<link>http://feedproxy.google.com/~r/typepad/sane/~3/HiYx1tTqsHQ/</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" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/typepad/sane?a=HiYx1tTqsHQ:Qs_j2dktn1o:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=HiYx1tTqsHQ:Qs_j2dktn1o:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=HiYx1tTqsHQ:Qs_j2dktn1o:NxMb_nMRk0A"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=NxMb_nMRk0A" border="0"></img></a>
</div>]]></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&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	<feedburner:origLink>http://sanematsu.wordpress.com/2011/12/31/days9-android-push-notification/</feedburner:origLink></item>
		<item>
		<title>Days8: Apple Push Notification with Ruby</title>
		<link>http://feedproxy.google.com/~r/typepad/sane/~3/MijKJHIFI8E/</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" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/typepad/sane?a=MijKJHIFI8E:g7Vcd15SUUg:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=MijKJHIFI8E:g7Vcd15SUUg:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=MijKJHIFI8E:g7Vcd15SUUg:NxMb_nMRk0A"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=NxMb_nMRk0A" border="0"></img></a>
</div>]]></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&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	<feedburner:origLink>http://sanematsu.wordpress.com/2011/12/31/days8-apple-push-notification-with-ruby/</feedburner:origLink></item>
		<item>
		<title>Days7: APNsアカウント振り分け</title>
		<link>http://feedproxy.google.com/~r/typepad/sane/~3/EPr4HdlA26Q/</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" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/typepad/sane?a=EPr4HdlA26Q:Ny41E3bLUFo:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=EPr4HdlA26Q:Ny41E3bLUFo:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/typepad/sane?a=EPr4HdlA26Q:Ny41E3bLUFo:NxMb_nMRk0A"><img src="http://feeds.feedburner.com/~ff/typepad/sane?d=NxMb_nMRk0A" border="0"></img></a>
</div>]]></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&amp;d=identicon&amp;r=G" medium="image">
			<media:title type="html">sanemat</media:title>
		</media:content>
	<feedburner:origLink>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/</feedburner:origLink></item>
	</channel>
</rss>

