<?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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>nointrigue.com &#187; Computing</title>
	<atom:link href="http://www.nointrigue.com/blog/category/computing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nointrigue.com/blog</link>
	<description>Enoch Lau's Blog</description>
	<pubDate>Sun, 04 Jan 2009 08:26:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
		<item>
		<title>I&#8217;m a PC</title>
		<link>http://www.nointrigue.com/blog/2008/09/21/im-a-pc/</link>
		<comments>http://www.nointrigue.com/blog/2008/09/21/im-a-pc/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 14:06:53 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Asides]]></category>

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

		<category><![CDATA[The Sydney Grind]]></category>

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

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

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=322</guid>
		<description><![CDATA[I&#8217;m a PC, and I like what I see.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/windows/">I&#8217;m a PC, and I like what I see.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/09/21/im-a-pc/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Free Tetris iPhone App</title>
		<link>http://www.nointrigue.com/blog/2008/09/16/free-tetris-iphone-app/</link>
		<comments>http://www.nointrigue.com/blog/2008/09/16/free-tetris-iphone-app/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 06:38:39 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Asides]]></category>

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

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

		<category><![CDATA[The Sydney Grind]]></category>

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

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

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=308</guid>
		<description><![CDATA[Free Tetris iPhone App, Tris Will Be Removed Soon: so that&#8217;s what has happened to it. I honestly can&#8217;t see how a claim of copyright would prevent the creation of a Tetris clone, and it&#8217;s a poor reflection on the law that the author felt compelled to withdraw it because he cannot afford to defend [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.iphonehacks.com/2008/08/iphone-tris.html">Free Tetris iPhone App, Tris Will Be Removed Soon</a>: so that&#8217;s what has happened to it. I honestly can&#8217;t see how a claim of copyright would prevent the creation of a Tetris clone, and it&#8217;s a poor reflection on the law that the author felt compelled to withdraw it because he cannot afford to defend himself in court.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/09/16/free-tetris-iphone-app/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Seinfield Windows ads</title>
		<link>http://www.nointrigue.com/blog/2008/09/06/seinfield-windows-ads/</link>
		<comments>http://www.nointrigue.com/blog/2008/09/06/seinfield-windows-ads/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 06:13:36 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Asides]]></category>

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

		<category><![CDATA[The Sydney Grind]]></category>

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

		<category><![CDATA[bill gates]]></category>

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=272</guid>
		<description><![CDATA[I came, I saw and I was appalled. Bill Gates&#8217; butt shaking hardly provided much of a Vista. Watch the new Windows ad for yourself.
]]></description>
			<content:encoded><![CDATA[<p>I came, I saw and I was appalled. Bill Gates&#8217; butt shaking hardly provided much of a Vista. <a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&#038;articleId=9114138">Watch the new Windows ad for yourself.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/09/06/seinfield-windows-ads/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Can you access Planet 3 using Opera Mini?</title>
		<link>http://www.nointrigue.com/blog/2008/09/02/can-you-access-planet-3-using-opera-mini/</link>
		<comments>http://www.nointrigue.com/blog/2008/09/02/can-you-access-planet-3-using-opera-mini/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 06:01:40 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Computing]]></category>

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

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

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

		<category><![CDATA[opera mini]]></category>

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=266</guid>
		<description><![CDATA[The Planet 3 services can be accessed on your 3 phone by pressing the button on the home screen, which launches the phone&#8217;s default browser.
But what if you want to use Planet 3 using Opera Mini?
The short answer is, you can&#8217;t. The author of this post thinks that it&#8217;s due to the server restricting access [...]]]></description>
			<content:encoded><![CDATA[<p>The Planet 3 services can be accessed on your <a href="http://www.three.com.au/">3</a> phone by pressing the button on the home screen, which launches the phone&#8217;s default browser.</p>
<p>But what if you want to use Planet 3 using <a href="http://www.operamini.com/">Opera Mini</a>?</p>
<p>The short answer is, you can&#8217;t. The author of <a href="http://www.decoder.com.au/2008/07/20/reader-question-how-to-access-my3-using-the-opera-mini/">this post</a> thinks that it&#8217;s due to the server restricting access to the built-in browsers, but I don&#8217;t think this is the correct reason.</p>
<p>Opera Mini, <a href="http://en.wikipedia.org/wiki/Opera_Mini">according to Wikipedia</a>, uses a proxy server hosted by Opera that renders the page in a special compressed format. Now, it should be axiomatic that Planet 3 is not accessible outside the 3 network, and the proxy servers are definitely located outside the network. Q.E.D.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/09/02/can-you-access-planet-3-using-opera-mini/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Terriable spelling</title>
		<link>http://www.nointrigue.com/blog/2008/09/02/terriable-spelling/</link>
		<comments>http://www.nointrigue.com/blog/2008/09/02/terriable-spelling/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 05:34:29 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Computing]]></category>

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=263</guid>
		<description><![CDATA[I wouldn&#8217;t rate their article as &#8220;terriable&#8221; but their rating system may very well deserve that honour.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nointrigue.com/blog/wp-content/uploads/2008/09/terriable.png"><img src="http://www.nointrigue.com/blog/wp-content/uploads/2008/09/terriable.png" alt="" title="terriable" width="432" height="255" class="aligncenter size-full wp-image-264" /></a></p>
<p>I wouldn&#8217;t rate <a href="http://blogs.itworldcanada.com/shane/2008/08/25/the-5-worst-it-related-entries-on-wikipedia/">their article</a> as &#8220;terriable&#8221; but their rating system may very well deserve that honour.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/09/02/terriable-spelling/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>I&#8217;m not impressed</title>
		<link>http://www.nointrigue.com/blog/2008/08/31/im-not-impressed/</link>
		<comments>http://www.nointrigue.com/blog/2008/08/31/im-not-impressed/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 17:08:35 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[The Sydney Grind]]></category>

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

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

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

		<category><![CDATA[ipod touch]]></category>

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=258</guid>
		<description><![CDATA[Another day, another iPod Touch calamity. While updating one of the installed applications, gremlins attacked and icons no longer appear on my home screen.
I&#8217;m not an Apple fan-boy, I have never been, and I am unlikely to convert because my first foray into the world of Apple products has been a largely unhappy journey. iTunes, [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_259" class="wp-caption aligncenter" style="width: 178px"><a href="http://www.nointrigue.com/blog/wp-content/uploads/2008/08/img_1434.jpg"><img src="http://www.nointrigue.com/blog/wp-content/uploads/2008/08/img_1434-168x225.jpg" alt="Dead iPod Touch" title="img_1434" width="168" height="225" class="size-medium wp-image-259" /></a><p class="wp-caption-text">Dead iPod Touch</p></div>
<p>Another day, another iPod Touch calamity. While updating one of the installed applications, gremlins attacked and icons no longer appear on my home screen.</p>
<p>I&#8217;m not an Apple fan-boy, I have never been, and I am unlikely to convert because my first foray into the world of Apple products has been a largely unhappy journey. iTunes, at least on Windows, is slow and often unresponsive. Backing up my iPod Touch literally takes several hours, and the version 2.0.1 update took four attempts. The music interface, while great for the Latin-alphabet world, is a pain to navigate with Chinese songs and artists. Installing and upgrading applications via the iPod Touch interface is a slow and arduous affair. While there have been some outstanding applications, the majority are uninspired and useless. You also often find two or more applications that do very similar things, but each lacking in various regards, which means you end up keeping all of these applications; the closed model of the iTunes Store discourages, and in fact prevents, modifications and extensions <em>a la</em> open source software.</p>
<p>I could keep going on for quite some time, but I&#8217;m sure others have documented the failings of the iPod Touch and the iPhone in more detail. I can overlook some bugs, but wholesale destruction of my data is unforgivable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/08/31/im-not-impressed/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Human flesh search engine</title>
		<link>http://www.nointrigue.com/blog/2008/08/29/human-flesh-search-engine/</link>
		<comments>http://www.nointrigue.com/blog/2008/08/29/human-flesh-search-engine/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 22:53:00 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Asides]]></category>

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

		<category><![CDATA[Current affairs]]></category>

		<category><![CDATA[The Sydney Grind]]></category>

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

		<category><![CDATA[human flesh]]></category>

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

		<category><![CDATA[search engine]]></category>

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=244</guid>
		<description><![CDATA[&#8216;Human flesh search engine&#8217; in hot pursuit of the iPhone girl, proclaims the headline. I was initially quite curious as to why there is a search engine that indexes bits of human flesh on the planet. Update: Tommy suggests that the phrase &#8220;human flesh search engine&#8221; is a literal translation from the Chinese.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.smh.com.au/news/iphone-insider/human-flesh-search-engine-in-hot-pursuit/2008/08/28/1219516602946.html">&#8216;Human flesh search engine&#8217; in hot pursuit</a> of the iPhone girl, proclaims the headline. I was initially quite curious as to why there is a search engine that indexes bits of human flesh on the planet. <strong>Update:</strong> <a href="http://bla.nointrigue.com/blog/">Tommy</a> suggests that the phrase &#8220;human flesh search engine&#8221; is a literal translation from the Chinese.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/08/29/human-flesh-search-engine/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Bash complete, and other colourful fun</title>
		<link>http://www.nointrigue.com/blog/2008/08/27/bash-complete-and-other-colourful-fun/</link>
		<comments>http://www.nointrigue.com/blog/2008/08/27/bash-complete-and-other-colourful-fun/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 00:59:17 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Computing]]></category>

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

		<category><![CDATA[The Sydney Grind]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=235</guid>
		<description><![CDATA[One of the attractions of Bluehost, my host, is the ability to ssh into your box, which makes administering your site that much easier if you know how to use the *nix command line. (See related post.)
I&#8217;ll just write about two things that I&#8217;ve worked out recently.
Lesson #1: Read the README file.
Well duh, you say. [...]]]></description>
			<content:encoded><![CDATA[<p>One of the attractions of <a href="http://www.bluehost.com/">Bluehost</a>, my host, is the ability to ssh into your box, which makes administering your site that much easier if you know how to use the *nix command line. (<a href="http://www.nointrigue.com/blog/2007/08/11/installing-software-and-other-things-casual-webmasters-should-know/">See related post.</a>)</p>
<p>I&#8217;ll just write about two things that I&#8217;ve worked out recently.</p>
<p><em>Lesson #1: Read the README file.</em></p>
<p>Well duh, you say. The story is, I&#8217;ve had the bash_completion script for some time (a really useful extension that makes typing on the command line that much easier), but I&#8217;ve never quite worked out why it didn&#8217;t work. Now I know why. It&#8217;s because I naively assumed that the <code>bash_completion.sh</code> script was the meat of it, and simply called it from <code>.bashrc</code>, expecting it to just work. It would, ordinarily, but I don&#8217;t have it installed in <code>/etc </code>which is where it expects to be (it&#8217;s in my home directory). If you have somewhere else like me, you will need to set the <code>$BASH_COMPLETION</code> variable and modify the <code>bash_completion.sh</code> script to reflect where you&#8217;ve actually put it.</p>
<p><em>Lesson #2: If you didn&#8217;t set up the system yourself, things might not be as you expect them to be.</em></p>
<p><a href="http://www.suits.it.usyd.edu.au/">SUITS</a> has a bunch of useful scripts that you can use to improve your command line experience on the undergraduate IT servers, and I copied them over to my account on nointrigue.com because I like them so much. One of these scripts sets nice colours for the command line. It was all working fine until I realised <a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> could no longer access the Subversion repositories via svn+ssh, failing with the error &#8220;connection closed unexpectedly&#8221;. I figured something I added recently was injecting garbage into the stream. It turns out it was the colour-adding script! But why? It was protected like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;$PS1&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        . ~<span style="color: #000000; font-weight: bold;">/</span>.bash<span style="color: #000000; font-weight: bold;">/</span>colors
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

<p>That means that it should only have been run if it was running in an &#8220;interactive&#8221; terminal, and the colour-adding script should not have been called if I was using svn+ssh. After some more poking around, I found this in <code>/etc/bashrc</code> (which was being called from <code>.bashrc</code>):</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># For some unknown reason bash refuses to inherit</span>
<span style="color: #666666; font-style: italic;"># PS1 in some circumstances that I can't figure out.</span>
<span style="color: #666666; font-style: italic;"># Putting PS1 here ensures that it gets loaded every time.</span></pre></div></div>

<p>Uhh, ok, nice work, Bluehost. I guess not many of their customers actually use ssh. At least there was a comment.</p>
<p>But even if it was called, why the colour-adding script was failing in the first place? It turns out that <code>tput colors</code> fails if <code>$TERM</code> is not set, which happens to be so when using svn+ssh. (Actually, this would not normally prevent me from accessing my Subversion repositories. The command line svn seems to ignore errors; however, TortoiseSVN dies the moment it sees anything untoward.) My ultimate solution was to simply pipe error to <code>/dev/null</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/08/27/bash-complete-and-other-colourful-fun/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>iPhone kills birds</title>
		<link>http://www.nointrigue.com/blog/2008/08/08/iphone-kills-birds/</link>
		<comments>http://www.nointrigue.com/blog/2008/08/08/iphone-kills-birds/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 01:48:31 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Computing]]></category>

		<category><![CDATA[The Sydney Grind]]></category>

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=169</guid>
		<description><![CDATA[When Daniel plugged his iPhone into his Mac, I thought he had just picked up a budgerigar and strangled it.
Listen for yourself.
]]></description>
			<content:encoded><![CDATA[<p>When Daniel plugged his iPhone into his Mac, I thought he had just picked up a budgerigar and strangled it.</p>
<p><a href='http://www.nointrigue.com/blog/wp-content/uploads/2008/08/strangledbird.mp3'>Listen for yourself.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/08/08/iphone-kills-birds/feed/</wfw:commentRss>
<enclosure url="http://www.nointrigue.com/blog/wp-content/uploads/2008/08/strangledbird.mp3" length="23032" type="audio/mpeg" />
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Gallery2 database error</title>
		<link>http://www.nointrigue.com/blog/2008/01/02/gallery2-database-error/</link>
		<comments>http://www.nointrigue.com/blog/2008/01/02/gallery2-database-error/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 08:44:50 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Computing]]></category>

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

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

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

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

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

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/2008/01/02/gallery2-database-error/</guid>
		<description><![CDATA[I thought the sky almost fell down just then when I went to my gallery2 installation (/gallery) and saw that it had a database error. &#8220;Noooo!!! I&#8217;ll have to spend hours reinstalling and uploading again!&#8221; The error in question was

An error has occurred while interacting with the database.

If you get this error, don&#8217;t panic. For [...]]]></description>
			<content:encoded><![CDATA[<p>I thought the sky almost fell down just then when I went to my gallery2 installation (<a href="http://www.nointrigue.com/gallery">/gallery</a>) and saw that it had a database error. &#8220;Noooo!!! I&#8217;ll have to spend hours reinstalling and uploading again!&#8221; The error in question was</p>
<blockquote><p>
An error has occurred while interacting with the database.
</p></blockquote>
<p>If you get this error, don&#8217;t panic. For me, it turned out that one of the database tables was corrupted and needed repairing. Log in to <a href="http://www.phpmyadmin.net/">phpMyAdmin</a> or to the mysql console and check whether any of the tables are listed as corrupt. In my case, it turned out to be <code>g2_CacheMap</code>.</p>
<p>I snooped around some forums, and in the threads that had responses (a lot of forums have questions left unanswered unfortunately), it seems like the blame lies with your host having a bad mysql setup or bad hard drives that corrupt at random. Shame on you, <a href="http://www.bluehost.com/">Bluehost</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/01/02/gallery2-database-error/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
	</channel>
</rss>
