<?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; Meta</title>
	<atom:link href="http://www.nointrigue.com/blog/category/meta/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>Installing/Updating WordPress with Subversion</title>
		<link>http://www.nointrigue.com/blog/2008/12/25/installingupdating-wordpress-with-subversion/</link>
		<comments>http://www.nointrigue.com/blog/2008/12/25/installingupdating-wordpress-with-subversion/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 03:21:24 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Asides]]></category>

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

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

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=370</guid>
		<description><![CDATA[Installing/Updating WordPress with Subversion - nointrigue.com blogs were converted yesterday - much easier to update now!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">Installing/Updating WordPress with Subversion</a> - nointrigue.com blogs were converted yesterday - much easier to update now!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/12/25/installingupdating-wordpress-with-subversion/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Merry Christmas</title>
		<link>http://www.nointrigue.com/blog/2008/12/25/merry-christmas/</link>
		<comments>http://www.nointrigue.com/blog/2008/12/25/merry-christmas/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 03:16:23 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Asides]]></category>

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

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=368</guid>
		<description><![CDATA[To all my hopefully-existent readers, I hope you have a very Merry Christmas and a happy and prosperous 2009.
]]></description>
			<content:encoded><![CDATA[<p>To all my hopefully-existent readers, I hope you have a very Merry Christmas and a happy and prosperous 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/12/25/merry-christmas/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Wordbook</title>
		<link>http://www.nointrigue.com/blog/2008/10/03/wordbook/</link>
		<comments>http://www.nointrigue.com/blog/2008/10/03/wordbook/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 04:51:17 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Asides]]></category>

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

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

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=343</guid>
		<description><![CDATA[Just testing Wordbook. If all is well, this blog post should appear on my Facebook profile!
]]></description>
			<content:encoded><![CDATA[<p>Just testing <a href="http://wordpress.org/extend/plugins/wordbook/installation/">Wordbook</a>. If all is well, this blog post should appear on my Facebook profile!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/10/03/wordbook/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>Asides</title>
		<link>http://www.nointrigue.com/blog/2008/08/16/asides/</link>
		<comments>http://www.nointrigue.com/blog/2008/08/16/asides/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 06:11:07 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Asides]]></category>

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

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/?p=183</guid>
		<description><![CDATA[On a blog, asides are short posts (like this one), designed to allow you to write in a more fluid and dynamic manner; as the linked article says, &#8220;The format of a weblog dictates its writing.&#8221; I&#8217;ve been looking for a place to stick up random thoughts or two, or an interesting link, and my [...]]]></description>
			<content:encoded><![CDATA[<p>On a blog, <a href="http://ma.tt/2004/05/asides/">asides</a> are short posts (like this one), designed to allow you to write in a more fluid and dynamic manner; as the linked article says, &#8220;The format of a weblog dictates its writing.&#8221; I&#8217;ve been looking for a place to stick up random thoughts or two, or an interesting link, and my new template just happens to allow for asides - perfect!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2008/08/16/asides/feed/</wfw:commentRss>
	<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>
		<item>
		<title>Blogging</title>
		<link>http://www.nointrigue.com/blog/2007/12/31/blogging/</link>
		<comments>http://www.nointrigue.com/blog/2007/12/31/blogging/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 04:33:29 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Meta]]></category>

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

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

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

		<category><![CDATA[hong kong]]></category>

		<category><![CDATA[joel spolsky]]></category>

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

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

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

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/2007/12/31/blogging/</guid>
		<description><![CDATA[It would be amiss of me not to post at least once during the month of December, but posting on the last day of 2007, that&#8217;s what I&#8217;ve almost done.
It&#8217;s reticent of me not to have posted regularly recently, as I promised to do earlier on. However, blogging is something that requires momentum - for [...]]]></description>
			<content:encoded><![CDATA[<p>It would be amiss of me not to post at least once during the month of December, but posting on the last day of 2007, that&#8217;s what I&#8217;ve almost done.</p>
<p>It&#8217;s reticent of me not to have posted regularly recently, as I promised to do earlier on. However, blogging is something that requires momentum - for me at least, once I start writing, I can&#8217;t stop, but it&#8217;s getting started that&#8217;s the problem. Maybe that&#8217;s why my law assignments always get written so late. I lost momentum in the lead-up to honours thesis submission and then the inability of the older version of Opera to cooperate with WordPress while I was in Hong Kong was a bit of a showstopper. But maybe I&#8217;m just making up excuses.</p>
<p>Writing regularly is a good thing to do: I think, like muscles, writing ability gets lost if you don&#8217;t use it. <a href="http://www.joelonsoftware.com/">Joel Spolsky</a>, a prominent software developer and writer who anyone interested in the business of software should read, mentioned in his blog that one of the best courses he ever took at university was one that involved copious amounts of writing: &#8220;Being able to write clearly on technical topics is the difference between being a grunt individual contributor programmer and being a leader&#8221;.</p>
<p>I&#8217;ll try and regain some momentum in the immediate future, and I hope that I&#8217;ll regain your trust as readers.*</p>
<p>* The less I write, the less people read my blog (as measured by the statistics I get). Makes sense doesn&#8217;t it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2007/12/31/blogging/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>New blog categories</title>
		<link>http://www.nointrigue.com/blog/2007/08/03/new-blog-categories/</link>
		<comments>http://www.nointrigue.com/blog/2007/08/03/new-blog-categories/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 12:09:29 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Meta]]></category>

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

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

		<category><![CDATA[creative commons]]></category>

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

		<guid isPermaLink="false">http://www.nointrigue.com/blog/2007/08/03/new-blog-categories/</guid>
		<description><![CDATA[After realising that I&#8217;ve been tagging most of my entries as &#8220;General&#8221;, I thought I&#8217;d go and fix up the categories on this blog. After looking at what I&#8217;ve been writing about for the last 6 months, I came up with a number of new categories, and I&#8217;ve made an attempt to recategorise everything written [...]]]></description>
			<content:encoded><![CDATA[<p>After realising that I&#8217;ve been tagging most of my entries as &#8220;General&#8221;, I thought I&#8217;d go and fix up the categories on this blog. After looking at what I&#8217;ve been writing about for the last 6 months, I came up with a number of new categories, and I&#8217;ve made an attempt to recategorise everything written so far into the new categories. None of the old categories have been deleted, so your RSS feeds should still work (you can get a feed for a particular category by appending <code>/feed</code> to the URL).</p>
<p>Speaking of RSS feeds, if you haven&#8217;t subscribed to my blog via RSS, it&#8217;s easy - just click the Entries RSS link on the left sidebar.</p>
<p>Also, I&#8217;ve decided to license to license my blog under a <a href="http://creativecommons.org/licenses/by-nc-nd/2.5/au/">Creative Commons license</a>. Sharing is caring.</p>
<p>Onwards!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2007/08/03/new-blog-categories/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Free wallpaper</title>
		<link>http://www.nointrigue.com/blog/2007/07/10/free-wallpaper/</link>
		<comments>http://www.nointrigue.com/blog/2007/07/10/free-wallpaper/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 12:34:52 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Meta]]></category>

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

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

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

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

		<category><![CDATA[public domain]]></category>

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

		<category><![CDATA[wikimedia commons]]></category>

		<guid isPermaLink="false">http://www.nointrigue.com/blog/2007/07/10/free-wallpaper/</guid>
		<description><![CDATA[I&#8217;m pleased to announce the availability of high quality wallpaper on my site. The wallpaper images are free &#8212; both free as in free beer, as well as free as in free speech. Series 1 contains 16 high quality images from the Wikimedia Commons, a sister project to Wikipedia, where all the images are either [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pleased to announce the availability of high quality wallpaper on my site. The wallpaper images are free &mdash; both free as in <em>free beer</em>, as well as free as in <em>free speech</em>. <a href="http://www.nointrigue.com/gallery/main.php?g2_itemId=6955">Series 1</a> contains 16 high quality images from the Wikimedia Commons, a sister project to Wikipedia, where all the images are either in the public domain or licensed under a copyleft licence &mdash; and I&#8217;ve been happily using images from there for my wallpaper for quite some time. What I&#8217;ve done is I&#8217;ve resized and cropped the images all to common screen resolutions, so you don&#8217;t have to do it yourself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2007/07/10/free-wallpaper/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>I&#8217;m back!</title>
		<link>http://www.nointrigue.com/blog/2007/07/10/im-back/</link>
		<comments>http://www.nointrigue.com/blog/2007/07/10/im-back/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 15:08:18 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Meta]]></category>

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

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

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

		<category><![CDATA[turing machine]]></category>

		<guid isPermaLink="false">http://www.nointrigue.com/blog/2007/07/10/im-back/</guid>
		<description><![CDATA[I haven&#8217;t blogged for quite some time, and for those of you who wished that you&#8217;d never see another horrid Enoch literary composition pop up on your RSS reader (you have put my blog on your RSS feed list right?), tough luck. I&#8217;m in my living room at the moment and the only thing stopping [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t blogged for quite some time, and for those of you who wished that you&#8217;d never see another horrid Enoch literary composition pop up on your RSS reader (you <em>have</em> put my blog on your RSS feed list right?), tough luck. I&#8217;m in my living room at the moment and the only thing stopping me from freezing is a cup of hot and steaming instant asparagus soup, and I&#8217;m just going to go and write. That&#8217;s right, I&#8217;m just going to get started on my backlog of things that I&#8217;ve been putting off by just making myself write.</p>
<p>For the last couple of weeks, I&#8217;ve been bludging my time away suffering under post-exam traumatic stress syndrome (PETSS), which is the one of the most terrible diseases known to mankind, or at least to university students. I&#8217;d like to think it was justified, and here is a quick summary of the past semester to prove my point:</p>
<p><a href='http://www.nointrigue.com/blog/wp-content/uploads/2007/07/img_1618.jpg' title='Semester 1, 2007'><img src='http://www.nointrigue.com/blog/wp-content/uploads/2007/07/img_1618.thumbnail.jpg' alt='Semester 1, 2007' /></a></p>
<p>Argh.</p>
<p>In actual fact, I&#8217;ve been putting off writing because I&#8217;ve been wanting to reform the categories and the things that I write about (the three categories aren&#8217;t working very well), among other changes I want to do to my site. but I couldn&#8217;t be bothered doing that until I bothered logging on to my blog. And I couldn&#8217;t be bothered logging on because I knew I&#8217;d have to go and do the difficult task of reorganising things. This is known as a <a href="http://en.wikipedia.org/wiki/Deadlock">deadlock</a>. Thankfully, I&#8217;m not your average office Turing machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2007/07/10/im-back/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
	</channel>
</rss>
