<?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; suits</title>
	<atom:link href="http://www.nointrigue.com/blog/tag/suits/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nointrigue.com/blog</link>
	<description>Enoch Lau's Blog</description>
	<pubDate>Wed, 07 Jan 2009 19:14:46 +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>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>SUITS Computer Artwork Exhibition</title>
		<link>http://www.nointrigue.com/blog/2007/09/04/suits-computer-artwork-exhibition/</link>
		<comments>http://www.nointrigue.com/blog/2007/09/04/suits-computer-artwork-exhibition/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 04:14:35 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Goings-on]]></category>

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

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

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

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

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

		<category><![CDATA[sydney university]]></category>

		<category><![CDATA[university of sydney union]]></category>

		<category><![CDATA[verge arts festival]]></category>

		<guid isPermaLink="false">http://www.nointrigue.com/blog/2007/09/04/suits-computer-artwork-exhibition/</guid>
		<description><![CDATA[I&#8217;m blogging this as I sit just inside the glass wall of the Eastern Avenue complex, watching the constant stream of people walking past, both inside the building, and outside in the wintry conditions, hands in pockets, clutching a folder tightly, heads together, intensely gossiping. I&#8217;m like a fly in the corner, observing the movements [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m blogging this as I sit just inside the glass wall of the Eastern Avenue complex, watching the constant stream of people walking past, both inside the building, and outside in the wintry conditions, hands in pockets, clutching a folder tightly, heads together, intensely gossiping. I&#8217;m like a fly in the corner, observing the movements of people as they go about their business at the university. If only they&#8217;d just look up slightly&#8230;</p>
<p>I suspect that the location of the SUITS Computer Artwork Exhibition 2007, as part of the University of Sydney Union&#8217;s Verge Arts Festival, while not disastrous, could be better. We had originally intended for them to be hung up with fishing wire from the air conditioning grate in the ceiling, but the building manager told the festival conveners that that wasn&#8217;t allowed (despite their earlier assurances). We settled for sticky-taping it to the glass wall instead, which also meant that we had to have them higher up to deter vandals and thieves.</p>
<p><a href='http://www.nointrigue.com/blog/wp-content/uploads/2007/09/image069.jpg' title='View of exhibition from outside'><img src='http://www.nointrigue.com/blog/wp-content/uploads/2007/09/image069.thumbnail.jpg' alt='View of exhibition from outside' /></a></p>
<p>So far, I&#8217;d say about 1 person in every 50 who walks past takes a glance upwards, pauses in momentary reflection, and then continues on their way. Part of the problem is that because of the glare from the glass, if you&#8217;re walking from the direction of Fisher, you won&#8217;t actually notice that there&#8217;s anything coming up. But of course, as the exhibition coordinator, I am liable to over-estimate the beauty of the thing that I have created.</p>
<p>Finally, I&#8217;d like to publicly thank Edmund for his assistance in the preparation of the artworks, and Balint for his contribution of his stunning particle simulation works.</p>
<p>Here are the PDF versions of the files, if you&#8217;re too lazy to head over to see it for yourself <img src='http://www.nointrigue.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> (warning: some of these files are BIG)</p>
<ol>
<li>Inside: <a href="http://www.nointrigue.com/docs/suits-artwork/title.pdf">title</a>, Outside: <a href="http://www.nointrigue.com/docs/suits-artwork/automata.pdf">automata</a></li>
<li>Inside: <a href="http://www.nointrigue.com/docs/suits-artwork/balint-2.pdf">balint-2</a>, Outside: <a href="http://www.nointrigue.com/docs/suits-artwork/dielectric.pdf">dielectric</a></li>
<li>Inside: <a href="http://www.nointrigue.com/docs/suits-artwork/internet.pdf">internet</a>, Outside: <a href="http://www.nointrigue.com/docs/suits-artwork/balint-3.pdf">balint-3</a></li>
<li>Inside: <a href="http://www.nointrigue.com/docs/suits-artwork/apophysis2.pdf">apophysis-2</a>, Outside: <a href="http://www.nointrigue.com/docs/suits-artwork/apophysis1.pdf">apophysis-1</a></li>
<li>Inside: <a href="http://www.nointrigue.com/docs/suits-artwork/balint-1.pdf">balint-1</a>, Outside: <a href="http://www.nointrigue.com/docs/suits-artwork/lorenz.pdf">lorenz</a></li>
</ol>
<p>The Microsoft Publisher files can also be found <a href="http://www.nointrigue.com/docs/suits-artwork/">here</a>.</p>
<p><em>Update:</em> I&#8217;ve uploaded them to <a href="http://www.nointrigue.com/gallery/main.php?g2_itemId=7772">my gallery</a> as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2007/09/04/suits-computer-artwork-exhibition/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Verge Arts Festival 2007</title>
		<link>http://www.nointrigue.com/blog/2007/09/03/verge-arts-festival-2007/</link>
		<comments>http://www.nointrigue.com/blog/2007/09/03/verge-arts-festival-2007/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 11:35:54 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Goings-on]]></category>

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

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

		<category><![CDATA[sydney university]]></category>

		<category><![CDATA[university of sydney union]]></category>

		<category><![CDATA[verge arts festival]]></category>

		<guid isPermaLink="false">http://www.nointrigue.com/blog/2007/09/03/verge-arts-festival-2007/</guid>
		<description><![CDATA[After going through the Verge Arts Festival programme booklet, I&#8217;ve jotted down the events that look pretty cool and I&#8217;ll try and attend some of them, time and company permitting (well, the last two years were miserable failures in terms of me actually attending the events I intended to attend):

Free Vittoria&#8217;s Organic Rainforest Alliance coffee: [...]]]></description>
			<content:encoded><![CDATA[<p>After going through the <a href="http://www.vergeartsfestival.com/">Verge Arts Festival</a> programme booklet, I&#8217;ve jotted down the events that look pretty cool and I&#8217;ll try and attend some of them, time and company permitting (well, the last two years were miserable failures in terms of me actually attending the events I intended to attend):</p>
<ul>
<li>Free Vittoria&#8217;s Organic Rainforest Alliance coffee: Wed 5/9, 12-1pm, Festival Tent, Manning Forecourt</li>
<li>Photosoc&#8217;s hats and feathers photo shoot: Mon 10/9, 11-2pm, Isabel Fidler, Manning</li>
<li>Laura Imbruglia: Wed 12/9, 1-2pm, Festival Tent</li>
<li>Jazz at Hermann&#8217;s: Wed 12/9, 5-7pm</li>
<li>Theatresports Grand Final: Wed 12/9, 7:30pm, $5 Access</li>
<li>Verge Twilight Market &#038; Zine Fair: Fri 14/9, 6-10pm, Science Rd &#038; Graffiti Tunnel</li>
<li>Fuck Gender, Let&#8217;s Dance: Fri 14/9, 8pm, Hermann&#8217;s Bar</li>
<li>Harry Potter and the Prisoner of Azkaban: Sun 16/9, 4pm, Main Quad - needs booking</li>
<li>SUCS Comedy Gala: Mon 17/9, 12pm, Manning Bar</li>
<li>Zombie make-up workshop: Tues 18/9, 5-7pm, Festival Tent</li>
<li>Art by Women: Wed 19/9, 5pm, The Loggia, Manning</li>
<li>Artistic Expressions of the Local Community: Thurs 20/9, 3-5pm, Festival Tent</li>
<li>Farewell under the stars: Sun 23/9, 6pm, Quadrangle lawns</li>
</ul>
<p>Exhibitions:</p>
<ul>
<li>IT Society Exhibition: from Tues 4/9, Eastern Ave - MUST SEE&#8230; not that I haven&#8217;t already seen it <img src='http://www.nointrigue.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Let the walls speak: 30 years of passionate dissent: from Wed 5/9, The Bevery, Holme Building</li>
<li>Art/photo/lit competition exhibition: from Tues 11/9, The Loggia</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2007/09/03/verge-arts-festival-2007/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
		<item>
		<title>Wikipedia talk</title>
		<link>http://www.nointrigue.com/blog/2007/08/07/wikipedia-talk/</link>
		<comments>http://www.nointrigue.com/blog/2007/08/07/wikipedia-talk/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 15:05:44 +0000</pubDate>
		<dc:creator>Enoch Lau</dc:creator>
		
		<category><![CDATA[Wikipedia]]></category>

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

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

		<category><![CDATA[lawrence lessig]]></category>

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

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

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

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

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

		<category><![CDATA[wikipedia signpost]]></category>

		<guid isPermaLink="false">http://www.nointrigue.com/blog/2007/08/07/wikipedia-talk/</guid>
		<description><![CDATA[The SUITS seminar series aims to provide a casual lunchtime chat about interesting topics and cutting-edge research, and I had the privilege of taking the first one&#8230; and I took the chance to talk about Wikipedia, everyone&#8217;s favourite wiki. The audience is intended to be undergraduate level, but there weren&#8217;t any undergraduates there&#8230;
I gave a [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://suits.it.usyd.edu.au/">SUITS</a> seminar series aims to provide a casual lunchtime chat about interesting topics and cutting-edge research, and I had the privilege of taking the first one&#8230; and I took the chance to talk about Wikipedia, everyone&#8217;s favourite wiki. The audience is intended to be undergraduate level, but there weren&#8217;t any undergraduates there&#8230;</p>
<p>I gave a brief insider&#8217;s look at Wikipedia, showing off some of the administrator tools that ordinary users cannot see. I went over some of the parts of the website (community portals, the Signpost, policy pages, special pages) that are important tools for regular contributors, especially in keeping track of vandalism. I also mentioned the efforts under way to form the local chapter of the Wikimedia Foundation.</p>
<p>Because if I talk for too long, people might die from boredom (!!) so I brought along some light entertainment. I played a bit of <a href="http://www.archive.org/details/EbenMoglenLectureEdinburghJune2007StreamingVideo384kbits">Eben Moglen&#8217;s lecture</a> on GPLv3 - the part about the arithmetic shop. I was going to play video from Wikimania 2007, but the lazy buggers haven&#8217;t put up anything yet, so I had to be content with 2006 stuff - but it turned out to be a good choice. <a href="http://wikimania2006.wikimedia.org/wiki/Archives#Lawrence_Lessig_-_The_Ethics_of_the_Free_Culture_Movement">Lawrence Lessig</a> is a fantastic speaker - he speaks with conviction and there&#8217;s no one who can match his slides. Finally, I played a bit of audio from the <a href="http://wikipediaweekly.org/2007/08/03/wikimania-day-1-morning-update/">Wikipedia Weekly</a>, broadcasting from Taiwan during the conference.</p>
<p>Some of the questions I hadn&#8217;t really prepared for - e.g. a question on patents. I should know more than what I managed to mumble out&#8230; and no, I still haven&#8217;t learnt that <a href="http://www.nointrigue.com/blog/2007/06/02/the-moral-of-the-story-is/">presenting without much sleep isn&#8217;t good.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nointrigue.com/blog/2007/08/07/wikipedia-talk/feed/</wfw:commentRss>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/au/</creativeCommons:license>
	</item>
	</channel>
</rss>
