<?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>Sho Fukamachi Online</title>
	<atom:link href="http://fukamachi.org/wp/feed/" rel="self" type="application/rss+xml" />
	<link>http://fukamachi.org/wp</link>
	<description>「偶然世界」で出逢い</description>
	<lastBuildDate>Wed, 10 Mar 2010 16:19:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Song of the Week: The Music</title>
		<link>http://fukamachi.org/wp/2010/03/11/song-of-the-week-the-music/</link>
		<comments>http://fukamachi.org/wp/2010/03/11/song-of-the-week-the-music/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 16:19:03 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[sotw]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=2051</guid>
		<description><![CDATA[From capsule&#8217;s new album PLAYER.
The Music
]]></description>
			<content:encoded><![CDATA[<p>From capsule&#8217;s new album PLAYER.</p>
<p><a href="http://fukamachi.org/media/04 The Music.mp3">The Music</a></p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2010/03/11/song-of-the-week-the-music/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The App Store&#8217;s plague of content-only pseudo-apps</title>
		<link>http://fukamachi.org/wp/2010/01/29/the-app-stores-plague-of-content-only-pseudo-apps/</link>
		<comments>http://fukamachi.org/wp/2010/01/29/the-app-stores-plague-of-content-only-pseudo-apps/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 08:53:56 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=2045</guid>
		<description><![CDATA[So Apple&#8217;s bandying about the fact that its App Store now has over 140k applications. That&#8217;s pretty impressive. Until you realise that a huge proportion of them &#8211; possibly the majority &#8211; are nothing more than &#8220;content + viewer&#8221; bundles which really should be PDFs, ebooks, or iphone-optimised web pages. Or not even that &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>So Apple&#8217;s bandying about the fact that its App Store now has over 140k applications. That&#8217;s pretty impressive. Until you realise that a huge proportion of them &#8211; possibly the majority &#8211; are nothing more than &#8220;content + viewer&#8221; bundles which really should be PDFs, ebooks, or iphone-optimised web pages. Or not even that &#8211; I thought the iPhone had a proper web browser?</p>
<p>Here&#8217;s some examples of the &#8220;apps&#8221; making up this suspiciously high number:</p>
<p><a href="http://itunes.apple.com/au/app/id351544274?mt=8">Japanese Photobooks</a> (this single company has hundreds of &#8220;apps&#8221; &#8211; nothing but picture viewers with embedded pictures)</p>
<p><a href="http://itunes.apple.com/au/app/id336112235?mt=8">Romance novels</a> (little better than the above &#8211; again, this company has almost a thousand &#8220;apps&#8221; just by itself)</p>
<p>Go to the &#8220;books&#8221; category of the App store. There&#8217;s 20 per page, and as I write this, there&#8217;s 871 pages. That&#8217;s over 17,000 &#8220;apps&#8221; which do nothing but package one or more books. They are technically applications, sure. But on a desktop PC they would be nothing more than jpeg files, PDFs, or &#8211; even better &#8211; simply web pages. </p>
<p>Why all these useless apps cluttering up the store? I believe it has to do with the iPhone&#8217;s lack of a user-accessible filesystem. There&#8217;s no way for a user to, say, save a PDF of a book (or 100 books) he wants to look at on the device, and then use one app to read them all. Instead, users are reduced to the highly inefficient workaround of simply saving one app per item of content they wish to access.</p>
<p>So, just a couple of examples above and I&#8217;ve already cut close to 20,000 &#8220;content-only apps&#8221; off the claimed 140,000. But there&#8217;s many, many more. Have a look in &#8220;music&#8221; &#8211; plenty of filler in there too. Check out <a href="http://itunes.apple.com/au/app/lyrics-justin-timberlake/id352438627?mt=8">&#8220;Justin Timberlake lyrics</a>&#8221; &#8211; the app. That developer has spammed the store with over 120 nonsense apps just like that, mostly over the course of one or two days.</p>
<p>Check out &#8220;reference&#8221;. Thousands more there.</p>
<p>The fact that you need to make and release an application to load content of any kind onto your iPhone is not a strength of the platform, it&#8217;s a weakness, IMO. </p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2010/01/29/the-app-stores-plague-of-content-only-pseudo-apps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>kitsune-san</title>
		<link>http://fukamachi.org/wp/2010/01/26/kitsune-san/</link>
		<comments>http://fukamachi.org/wp/2010/01/26/kitsune-san/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 17:17:43 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=2040</guid>
		<description><![CDATA[All artwork from the famous kitsune-san Google background.
http://rabbit.eng.miami.edu/students/epeng/kawaii/kitsune/index.html
I love that little fox! Since there are 12 panels, and kitsune-san sleeps for only 2 of them, we can deduce that he sleeps for only 4 hours per day.
]]></description>
			<content:encoded><![CDATA[<p>All artwork from the famous kitsune-san Google background.</p>
<p><a href="http://rabbit.eng.miami.edu/students/epeng/kawaii/kitsune/index.html">http://rabbit.eng.miami.edu/students/epeng/kawaii/kitsune/index.html</a></p>
<p>I love that little fox! Since there are 12 panels, and kitsune-san sleeps for only 2 of them, we can deduce that he sleeps for only 4 hours per day.</p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2010/01/26/kitsune-san/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Songs of the Week</title>
		<link>http://fukamachi.org/wp/2010/01/14/songs-of-the-week-2/</link>
		<comments>http://fukamachi.org/wp/2010/01/14/songs-of-the-week-2/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 10:51:17 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[sotw]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=2032</guid>
		<description><![CDATA[Songs of the week are I&#8217;ve Sound, live at Budokan 2009 in the five-singer configuration they call &#8220;Love Planet 5&#8243;, singing together in a two-song set. It&#8217;s from the end of the concert.
1. Hydian Way 72.6M
2. See You 70.3M
I don&#8217;t think they reach quite the heights of 2005 but it&#8217;s still a good concert and [...]]]></description>
			<content:encoded><![CDATA[<p>Songs of the week are I&#8217;ve Sound, live at Budokan 2009 in the five-singer configuration they call &#8220;Love Planet 5&#8243;, singing together in a two-song set. It&#8217;s from the end of the concert.</p>
<p><a href="http://fukamachi.org/media/01.hydian_way.mp4">1. Hydian Way</a> 72.6M<br />
<a href="http://fukamachi.org/media/02.see_you.mp4">2. See You</a> 70.3M</p>
<p>I don&#8217;t think they reach quite the heights of <a href="http://fukamachi.org/wp/2006/08/28/song-of-the-week-10/">2005</a> but it&#8217;s still a good concert and they&#8217;re good singers. I&#8217;m just happy that someone is still making this kind of music and giving this kind of performance. </p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2010/01/14/songs-of-the-week-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://fukamachi.org/media/01.hydian_way.mov" length="63029248" type="video/quicktime" />
		</item>
		<item>
		<title>Threads</title>
		<link>http://fukamachi.org/wp/2010/01/07/threads/</link>
		<comments>http://fukamachi.org/wp/2010/01/07/threads/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 17:38:25 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[films]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=2022</guid>
		<description><![CDATA[I recommend the somewhat dated but utterly harrowing mockumentary Threads, which attempts to speculate on the likely result of nuclear war on an average working-class family in Sheffield, England. It&#8217;s somewhat overly pessimistic, IMO, but differs from most other movies in its class by at least trying to consider everything and present a realistic, if [...]]]></description>
			<content:encoded><![CDATA[<p>I recommend the somewhat dated but utterly harrowing mockumentary <a href="http://thepiratebay.org/torrent/3317759/threads_(nuclearwarmovie_conflict_discharge_crass)_avi">Threads</a>, which attempts to speculate on the likely result of nuclear war on an average working-class family in Sheffield, England. It&#8217;s somewhat overly pessimistic, IMO, but differs from most other movies in its class by at least trying to consider everything and present a realistic, if close to worst-case, scenario.</p>
<p>I can&#8217;t believe I hadn&#8217;t heard of it before, and it deserves to be better known.</p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2010/01/07/threads/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>2010</title>
		<link>http://fukamachi.org/wp/2010/01/02/2010/</link>
		<comments>http://fukamachi.org/wp/2010/01/02/2010/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 12:17:11 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=2018</guid>
		<description><![CDATA[IT&#8217;S FUCKING 2010 I CANNOT FUCKING BELIEVE IT
Aren&#8217;t we all supposed to be living in fucking space by now? My god damn cyborg body better be on track for 2029. I am counting on that god damn body.
]]></description>
			<content:encoded><![CDATA[<p>IT&#8217;S FUCKING 2010 I CANNOT FUCKING BELIEVE IT</p>
<p>Aren&#8217;t we all supposed to be living in fucking space by now? My god damn cyborg body better be on track for 2029. I am counting on that god damn body.</p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2010/01/02/2010/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>i5 is alive</title>
		<link>http://fukamachi.org/wp/2010/01/02/i5-is-alive/</link>
		<comments>http://fukamachi.org/wp/2010/01/02/i5-is-alive/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 05:22:41 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=2011</guid>
		<description><![CDATA[Bought a new iMac. Stock 27&#8243; quad core (i5), I paid AUD$2339. I then went on holiday, so couldn&#8217;t even use it until yesterday.
This thing is a fucking monster. The screen is huge &#8211; you don&#8217;t realise how big it is sitting in the shop, because all the other screens there kind of desensitise you, [...]]]></description>
			<content:encoded><![CDATA[<p>Bought a new iMac. Stock 27&#8243; quad core (i5), I paid AUD$2339. I then went on holiday, so couldn&#8217;t even use it until yesterday.</p>
<p>This thing is a fucking monster. The screen is huge &#8211; you don&#8217;t realise how big it is sitting in the shop, because all the other screens there kind of desensitise you, but when you get it home you realise how god damn huge it is. It&#8217;s almost TOO big. And it was an utter bitch to carry home.</p>
<p>The performance is just wonderful. I&#8217;ve become more and more frustrated with my Core 2 Duo laptop &#8211; it just seems laboured and out of breath and spins its fans up at the slightest load. That machine just seems sluggish to me these days and this was becoming a hindrance in my work &#8211; I am *often* waiting for the machine to restart a server, switch apps, whatever &#8211; it&#8217;s just slow all round.</p>
<p>The new machine is a whole lot faster &#8211; a rough factor of 4. It&#8217;s got 4GB of memory, soon to be 8, and can take up to 16, which should do for now. It&#8217;s got 4 slots, so I can use cheap 2GB modules &#8211; the upgrade to 8GB will cost $142.</p>
<p>Basically I&#8217;m totally delighted. Apple really nailed it with this machine. The thing is almost too good, since there seems to be little point getting a Pro when you can have this much capacity and performance for such a low price. Check out <a href="http://www.xlr8yourmac.com/feedback/Corei5_iMac_owner_notes.html">this review</a>; I agree with everything that guy says.</p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2010/01/02/i5-is-alive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Incredibly impressed with Ruby 1.9.2</title>
		<link>http://fukamachi.org/wp/2009/12/04/incredibly-impressed-with-ruby-1-9-2/</link>
		<comments>http://fukamachi.org/wp/2009/12/04/incredibly-impressed-with-ruby-1-9-2/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 11:42:44 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=2001</guid>
		<description><![CDATA[So I&#8217;ve got this web app. It&#8217;s pretty &#8220;heavy&#8221; and it does a lot of image manipulation. It&#8217;s a bit of a pig, to be honest.
Under Ruby 1.8.7 and 1.9.1, you can reliably expect the memory usage of this app to grow .. and grow .. and grow. I have seen it reach 900M before [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve got this web app. It&#8217;s pretty &#8220;heavy&#8221; and it does a lot of image manipulation. It&#8217;s a bit of a pig, to be honest.</p>
<p>Under Ruby 1.8.7 and 1.9.1, you can reliably expect the memory usage of this app to grow .. and grow .. and grow. I have seen it reach 900M before I shut it down (manually on development machine &#8211; in production monit would have killed and restarted it long ago).</p>
<p>Memory usage under 1.9.2pre1? 72.7M and it&#8217;s been running for hours. It got as high as ~130M or so at one point, but then &#8211; astonishingly &#8211; GC <em>actually worked</em> and released unused memory. Will wonders ever cease?</p>
<p>Performance is up around 20% on 1.9.1, too.</p>
<p>Memory usage, and the constant leaking/growth thereof, is my number one daily problem with Ruby. The preview release of 1.9.2 seems to have solved it. To say I&#8217;m happy about this development would be an understatement. I am looking forward to deploying on 1.9.2 ASAFP and will do so, probably, upon the release of preview 2 (I have noticed no stability problems whatsoever). </p>
<p>update: 12 hours later it&#8217;s gone down to 65.5M. Praise the Ruby Gods!</p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2009/12/04/incredibly-impressed-with-ruby-1-9-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>.to registers a headless A record</title>
		<link>http://fukamachi.org/wp/2009/12/04/to-registers-a-headless-a-record/</link>
		<comments>http://fukamachi.org/wp/2009/12/04/to-registers-a-headless-a-record/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 15:07:18 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=1996</guid>
		<description><![CDATA[Neat trick &#8211; the .to top level domain control has registered a &#8220;headless&#8221; A record. In other words, the domain &#8220;to&#8221; resolves now &#8211; although your browser will probably try to &#8220;correct&#8221; it. 
They used it to make a URL shortener &#8211; the shortest URLs possible, basically, unless a 1-character TLD is commissioned (no technical [...]]]></description>
			<content:encoded><![CDATA[<p>Neat trick &#8211; the .to top level domain control has registered a &#8220;headless&#8221; A record. In other words, the domain &#8220;to&#8221; resolves now &#8211; although your browser will probably try to &#8220;correct&#8221; it. </p>
<p>They used it to make a URL shortener &#8211; the shortest URLs possible, basically, unless a 1-character TLD is commissioned (no technical reason why not). </p>
<p>I can&#8217;t standa URL shorteners but couldn&#8217;t resist <a href="http://to./.ot//:ptth">http://to./.ot//:ptth</a>, which actually worked a grand total of once before not working any more for some reason. Oh well.</p>
<p><img src="http://fukamachi.org/wp/wp-content/photo/no_it_cant.png" width="237" height="260" alt="Not any more it can't" title="Not any more it can't" /></p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2009/12/04/to-registers-a-headless-a-record/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Album of the year?</title>
		<link>http://fukamachi.org/wp/2009/11/29/album-of-the-year-2/</link>
		<comments>http://fukamachi.org/wp/2009/11/29/album-of-the-year-2/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 12:22:44 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=1984</guid>
		<description><![CDATA[Is it just me, or were precious few good albums released in 2009? Even those fags at MetaCritic practically admit defeat with this lame-ass list. There&#8217;s not a lot on there you should bother with, trust me, I&#8217;ve heard enough of them to realise MC is grasping at straws.
So, dear reader, was there a good [...]]]></description>
			<content:encoded><![CDATA[<p>Is it just me, or were precious few good albums released in 2009? Even those fags at MetaCritic practically admit defeat with <a href="http://www.metacritic.com/music/bests/2009.shtml">this lame-ass list</a>. There&#8217;s not a lot on there you should bother with, trust me, I&#8217;ve heard enough of them to realise MC is grasping at straws.</p>
<p>So, dear reader, was there a good album released in 2009? To be honest, my favourite for the year so far is &#8220;The Boy Who Knew Too Much&#8221; by Mika. It pains me to call such mainstream sugar-pop the album of the year but where&#8217;s the alternative?</p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2009/11/29/album-of-the-year-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Rails 2.3.5 still broken on 1.9.1</title>
		<link>http://fukamachi.org/wp/2009/11/29/rails-2-3-5-still-broken-on-1-9-1/</link>
		<comments>http://fukamachi.org/wp/2009/11/29/rails-2-3-5-still-broken-on-1-9-1/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 07:10:37 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=1978</guid>
		<description><![CDATA[So Rails 2.3.5 is out and while I don&#8217;t really know what&#8217;s new, I can tell you what isn&#8217;t &#8211; not running on the current stable version of the ruby programming language as reported by Ruby-Lang.
If you would like to start testing Rails on 1.9, you&#8217;ll need to apply the patches listed at this Lighthouse [...]]]></description>
			<content:encoded><![CDATA[<p>So Rails 2.3.5 is out and while I don&#8217;t really know what&#8217;s new, I can tell you what isn&#8217;t &#8211; not running on the current stable version of the ruby programming language as reported by <a href="http://www.ruby-lang.org/en/downloads/">Ruby-Lang</a>.</p>
<p>If you would like to start testing Rails on 1.9, you&#8217;ll need to apply the patches listed at <a href="https://rails.lighthouseapp.com/projects/8994/tickets/2188-i18n-fails-with-multibyte-strings-in-ruby-19-similar-to-2038">this Lighthouse ticket</a>, which fix the two most serious problems. A kind user down the bottom of that ticket has pulled the patches into monkeypatches suitable for just slipping into your config/initializers folder &#8211; I can confirm that they work for me.</p>
<p>I cannot fathom Rails Core&#8217;s bizarre refusal to pull these patches into 2.3.5. Yet another release goes out that is completely non-functional on the newest, fastest and best version of the language, forcing users to seek out and apply non-official monkeypatches &#8211; or just forsake 1.9 altogether, as the vast majority seem to be doing. In what way is this in the best interest of the framework or the community? What is holding them back? The patches might not be 100% perfect but they&#8217;re a lot better than what we have now, which is that out of the box Rails is broken on 1.9.1.</p>
<p><strong>UPDATE:</strong> Happily, the 1.9.1-patched Rails does seem to be working on 1.9.2 as well. I&#8217;ve installed ruby 1.9.2dev (2009-09-07 trunk 24787) and my favourite &#8220;fussy site&#8221; is working there, too. That&#8217;s great news, because 1.9.2 is going to be the &#8220;serious&#8221; version of Ruby 1.9 and has further big performance increases.</p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2009/11/29/rails-2-3-5-still-broken-on-1-9-1/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>i5 or i7</title>
		<link>http://fukamachi.org/wp/2009/11/27/i5-or-i7/</link>
		<comments>http://fukamachi.org/wp/2009/11/27/i5-or-i7/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 10:27:49 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=1976</guid>
		<description><![CDATA[So, I&#8217;m getting a desperately needed new iMac. 
I&#8217;d been planning to get the i5, but after seeing this report I think I&#8217;ll plump for the i7. It&#8217;s on sale today for AUD$2,758.01 (don&#8217;t forget the 1c).
]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;m getting a desperately needed new iMac. </p>
<p>I&#8217;d been planning to get the i5, but after seeing <a href="http://barefeats.com/imi7.html">this report</a> I think I&#8217;ll plump for the i7. It&#8217;s on sale today for AUD$2,758.01 (don&#8217;t forget the 1c).</p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2009/11/27/i5-or-i7/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Killing a sentient being is murder, no matter what species</title>
		<link>http://fukamachi.org/wp/2009/11/21/killing-a-sentient-being-is-murder-no-matter-what-species/</link>
		<comments>http://fukamachi.org/wp/2009/11/21/killing-a-sentient-being-is-murder-no-matter-what-species/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 12:43:33 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[ethics]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=1972</guid>
		<description><![CDATA[New research is confirming what interested parties have suspected for a long time - dogs are as intelligent as infant humans. 
I am pretty dispassionate about which species is involved when it comes to ending life &#8211; the main factor is the intelligence and self-awareness of the victim. There are plenty of animals that are [...]]]></description>
			<content:encoded><![CDATA[<p>New research is confirming what interested parties have suspected for a long time -<a href="http://www.sciencedaily.com/releases/2009/08/090810025241.htm"> dogs are as intelligent as infant humans</a>. </p>
<p>I am pretty dispassionate about which species is involved when it comes to ending life &#8211; the main factor is the intelligence and self-awareness of the victim. There are plenty of animals that are demonstrably self-aware, so in my view, it&#8217;s ethically worse to kill, say, an adult dog, than to perform an abortion.  Or a dolphin, for that matter &#8211; or a pig, or an ape, or any other animal with clear signs of intelligence.</p>
<p>Glad to see more expert support that we should be taking the rights of animals more seriously. We are animals, after all, no matter what superstitionists insist, and by killing any other animal, we&#8217;re killing our own. Better have good reason.</p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2009/11/21/killing-a-sentient-being-is-murder-no-matter-what-species/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Maglev hype train derailed at last</title>
		<link>http://fukamachi.org/wp/2009/11/21/maglev-hype-train-derailed-at-last/</link>
		<comments>http://fukamachi.org/wp/2009/11/21/maglev-hype-train-derailed-at-last/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 05:47:46 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[maglev]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[vindication]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=1960</guid>
		<description><![CDATA[Ah, Maglev. It seems that only yesterday I was ripped to shreds by a furious mob for daring to question your public claims of drastic speed gains over every other Ruby interpreter. 
And so imagine my delight today, when the first alpha release is finally available! Sure, it&#8217;s only an alpha release, so it&#8217;s not [...]]]></description>
			<content:encoded><![CDATA[<p>Ah, Maglev. It seems that only yesterday I was ripped to shreds by a furious mob for <a href="http://fukamachi.org/wp/2008/06/02/maglev-and-the-naiivety-of-the-rails-community/">daring to question your public claims of drastic speed gains over every other Ruby interpreter</a>. </p>
<p>And so imagine my delight today, when the first alpha release is finally available! Sure, it&#8217;s only an alpha release, so it&#8217;s not going to be quite as good as the final product &#8211; but surely it will live up to the claims in the RailsConf 2008 demonstration? I mean, it was that good even then! Surely it must be even better now!</p>
<p>Anyway, I obviously had to install it and put these claims to the test.</p>
<p>I followed the instructions on <a href="http://www.rubyinside.com/maglev-alpha-released-2807.html?utm_source=feedburner&#038;utm_medium=feed&#038;utm_campaign=Feed%3A+RubyInside+%28Ruby+Inside%29">this page</a> &#8211; with a couple of changes, such as that I use .profile instead of .bashrc. </p>
<p>I decided to test with as close to a real world library as I could. That post mentions that Maglev supports Sinatra, so I thought that would be an ideal test. Then again, it also says it supports RubyGems but I couldn&#8217;t get that to work at all. C extensions are out too, so we&#8217;ll be using Webrick. </p>
<p>To get around the RubyGems problem, I manually downloaded Rack and Sinatra and placed the contents of their lib directories into a single folder. I then created a trivial sinatra app as shown:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#9900CC;">expand_path</span><span style="color:#006600; font-weight:bold;">&#40;</span>::<span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#9900CC;">dirname</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF; font-weight:bold;">__FILE__</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">+</span> <span style="color:#996600;">'/sinatra.rb'</span>
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#9900CC;">expand_path</span><span style="color:#006600; font-weight:bold;">&#40;</span>::<span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#9900CC;">dirname</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF; font-weight:bold;">__FILE__</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">+</span> <span style="color:#996600;">'/rack.rb'</span>
&nbsp;
get <span style="color:#996600;">'/'</span> <span style="color:#9966CC; font-weight:bold;">do</span>
  <span style="color:#996600;">&quot;Maglev Rocks!&quot;</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>I decided to run good old <code>ab</code> against it. My exact command was:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;">ab <span style="color: #660033;">-kc</span> <span style="color: #000000;">10</span> <span style="color: #660033;">-t</span> <span style="color: #000000;">10</span> http:<span style="color: #000000; font-weight: bold;">//</span>127.0.0.1:<span style="color: #000000;">4567</span><span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Because I have other servers installed in Ruby 1.8.7 and 1.9.1, I forced sinatra to serve using webrick as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;">ruby1.9 testmaglev.rb <span style="color: #660033;">-s</span> webrick</pre></div></div>

<p>Considering the past hype of order-of-magnitude speed hikes, I was ready to be <em>blown away</em>. Are you ready to be <em>blown away?</em> Oh yeah baby, 50 times faster comin&#8217; right up!</p>
<p><strong>RESULTS</strong></p>
<p><strong>Ruby 1.8.7</strong>: Requests per second:    131.38 [#/sec] (mean)<br />
<strong>Ruby 1.9.1</strong>: Requests per second:    144.77 [#/sec] (mean)<br />
<strong>Maglev</strong>: Requests per second:    97.78 [#/sec] (mean)</p>
<p>Well golly gosh. Look at that. It&#8217;s not faster after all &#8211; in fact it&#8217;s climbing the same steep performance hill ever other interpreter has had to climb, Smalltalk magic notwithstanding. How about that. </p>
<p>I said the benchmarks shown at RailsConf were bullshit and would not even remotely reflect the real world performance of the final product. I said that until the interpreter implemented all of ruby, it was not ruby, and it was worthless to measure its performance. I poured skepticism upon the notion that a new interpreter, just by dint of some doubtfully superior Smalltalk heritage, could leapfrog all previous contenders with a two-order-of-magnitude performance boost. </p>
<p>Looks like I was right. But don&#8217;t take my word for it, run the tests yourself. I will be accepting contrite apologies in comments &#8230; <img src='http://fukamachi.org/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2009/11/21/maglev-hype-train-derailed-at-last/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rails Metal MongoDB GridFS access</title>
		<link>http://fukamachi.org/wp/2009/11/20/rails-metal-mongodb-gridfs-access/</link>
		<comments>http://fukamachi.org/wp/2009/11/20/rails-metal-mongodb-gridfs-access/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 06:39:07 +0000</pubDate>
		<dc:creator>Sho</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://fukamachi.org/wp/?p=1955</guid>
		<description><![CDATA[I&#8217;m kind of new to Metal (and all things Rack) but this works. Just for reference.

# Allow the metal piece to run in isolation
require&#40;File.dirname&#40;__FILE__&#41; + &#34;/../../config/environment&#34;&#41; unless defined?&#40;Rails&#41;
class ImageShow
&#160;
  def self.call&#40;env&#41; 
    request = Rack::Request.new&#40;env&#41;
    if request.path_info =~ /^\/show_image\/&#40;.+&#41;$/
      if GridFS::GridStore.exist?&#40;Media.database, $1&#41;
  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m kind of new to Metal (and all things Rack) but this works. Just for reference.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;"># Allow the metal piece to run in isolation</span>
<span style="color:#CC0066; font-weight:bold;">require</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#9900CC;">dirname</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF; font-weight:bold;">__FILE__</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">+</span> <span style="color:#996600;">&quot;/../../config/environment&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">unless</span> <span style="color:#9966CC; font-weight:bold;">defined</span>?<span style="color:#006600; font-weight:bold;">&#40;</span>Rails<span style="color:#006600; font-weight:bold;">&#41;</span>
<span style="color:#9966CC; font-weight:bold;">class</span> ImageShow
&nbsp;
  <span style="color:#9966CC; font-weight:bold;">def</span> <span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">call</span><span style="color:#006600; font-weight:bold;">&#40;</span>env<span style="color:#006600; font-weight:bold;">&#41;</span> 
    request = <span style="color:#6666ff; font-weight:bold;">Rack::Request</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span>env<span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#9966CC; font-weight:bold;">if</span> request.<span style="color:#9900CC;">path_info</span> =~ <span style="color:#006600; font-weight:bold;">/</span>^\<span style="color:#006600; font-weight:bold;">/</span>show_image\<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006600; font-weight:bold;">&#40;</span>.<span style="color:#006600; font-weight:bold;">+</span><span style="color:#006600; font-weight:bold;">&#41;</span>$<span style="color:#006600; font-weight:bold;">/</span>
      <span style="color:#9966CC; font-weight:bold;">if</span> <span style="color:#6666ff; font-weight:bold;">GridFS::GridStore</span>.<span style="color:#9900CC;">exist</span>?<span style="color:#006600; font-weight:bold;">&#40;</span>Media.<span style="color:#9900CC;">database</span>, $<span style="color:#006666;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>
        <span style="color:#6666ff; font-weight:bold;">GridFS::GridStore</span>.<span style="color:#CC0066; font-weight:bold;">open</span><span style="color:#006600; font-weight:bold;">&#40;</span>Media.<span style="color:#9900CC;">database</span>, $<span style="color:#006666;">1</span>, <span style="color:#996600;">'r'</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span> |file|
          <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006666;">200</span>, <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#996600;">'Content-Type'</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> file.<span style="color:#9900CC;">content_type</span><span style="color:#006600; font-weight:bold;">&#125;</span>, <span style="color:#006600; font-weight:bold;">&#91;</span>file.<span style="color:#9900CC;">read</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#93;</span>
        <span style="color:#9966CC; font-weight:bold;">end</span>
      <span style="color:#9966CC; font-weight:bold;">else</span>
        <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006666;">404</span>, <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#996600;">'Content-Type'</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">'text/plain'</span><span style="color:#006600; font-weight:bold;">&#125;</span>, <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">'File not found.'</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#93;</span>
      <span style="color:#9966CC; font-weight:bold;">end</span>
    <span style="color:#9966CC; font-weight:bold;">else</span>
      <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006666;">404</span>, <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#996600;">&quot;Content-Type&quot;</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#996600;">&quot;text/html&quot;</span><span style="color:#006600; font-weight:bold;">&#125;</span>, <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#996600;">&quot;Not Found&quot;</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#93;</span>
    <span style="color:#9966CC; font-weight:bold;">end</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>That will need to be saved as <code>image_show.rb</code>. Slow .. but not as slow as doing it through a Rails controller.</p>
]]></content:encoded>
			<wfw:commentRss>http://fukamachi.org/wp/2009/11/20/rails-metal-mongodb-gridfs-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
