<?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>tgreenaway.com</title>
	<atom:link href="http://tgreenaway.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tgreenaway.com</link>
	<description>Creatively engineered.</description>
	<lastBuildDate>Sat, 30 May 2009 06:06:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu 9.04 on X31 Thinkpad</title>
		<link>http://tgreenaway.com/2009/05/ubuntu-904-on-x31-thinkpad/</link>
		<comments>http://tgreenaway.com/2009/05/ubuntu-904-on-x31-thinkpad/#comments</comments>
		<pubDate>Sat, 30 May 2009 05:51:43 +0000</pubDate>
		<dc:creator>TCMG</dc:creator>
				<category><![CDATA[Leisure]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://tgreenaway.com/2009/05/ubuntu-904-on-x31-thinkpad/</guid>
		<description><![CDATA[My laptop is a second-hand X31 Thinkpad.
They&#8217;re an extremely durable and reliable device in my opinion. I love that it&#8217;s light-ish at 1.6 kilos but doesn&#8217;t compromise on the keyboard size. I actually purchased it just before the Netbook craze kicked into gear in 2007. Sometimes I wish it was lighter but I&#8217;ve read enough [...]]]></description>
			<content:encoded><![CDATA[<p>My laptop is a second-hand X31 Thinkpad.</p>
<p>They&#8217;re an extremely durable and reliable device in my opinion. I love that it&#8217;s light-ish at 1.6 kilos but doesn&#8217;t compromise on the keyboard size. I actually purchased it just before the Netbook craze kicked into gear in 2007. Sometimes I wish it was lighter but I&#8217;ve read enough complaints from people regarding the keyboard problems on Netbooks that I&#8217;m happy.</p>
<p>I run Ubuntu on the laptop and it&#8217;s getting better with a couple of gripes. Originally in 7.10 there were some fan and wireless problems but now 9.04 has everything working except two parts broke that I&#8217;ll detail here.</p>
<ul>
<li>The external sound controls are no longer responding. Annoying but not too bad. I haven&#8217;t researched what has changed but I will update this post when I find out.</li>
<li>A more pressing problem was a small change in the xorg.conf file. The result was a bizarre, sluggish effect on the entire interface of laptop that was worst when minimizing windows and scrolling a page in Firefox. By sluggish I actually mean unusable <img src='http://tgreenaway.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </li>
</ul>
<p>The omission was (under the device section):</p>
<blockquote><p>Option &#8220;AccelMethod&#8221; &#8220;XAA&#8221;</p></blockquote>
<p>The responsiveness is back to normal with that inclusion.</p>
<p>I personally don&#8217;t need Compiz on my laptop (a waste of battery I find) so here&#8217;s my <a href="http://tgreenaway.com/xorg.conf">current xorg.conf file</a> for anyone that&#8217;s interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://tgreenaway.com/2009/05/ubuntu-904-on-x31-thinkpad/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>JavaScript &amp; Prototypal Inheritance</title>
		<link>http://tgreenaway.com/2009/05/javascript-prototypal-inheritance/</link>
		<comments>http://tgreenaway.com/2009/05/javascript-prototypal-inheritance/#comments</comments>
		<pubDate>Wed, 27 May 2009 13:42:57 +0000</pubDate>
		<dc:creator>TCMG</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[University]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://tgreenaway.com/?p=272</guid>
		<description><![CDATA[I gave a presentation this morning as apart of my Principles of Programming Languages subject on how the basic prototype inheritance in JavaScript can be achieved:

It was restricted to 5 minutes (bah! nothing!) and I practised about 5-7 times to make sure it fit &#8211; which it did. I found the most useful segment to [...]]]></description>
			<content:encoded><![CDATA[<p>I gave a presentation this morning as apart of my Principles of Programming Languages subject on how the basic prototype inheritance in JavaScript can be achieved:</p>
<p><iframe src='http://docs.google.com/EmbedSlideshow?id=dfs4b4m4_360fqvf6fng' frameborder='0' width='410' height='342'></iframe></p>
<p>It was restricted to 5 minutes (bah! nothing!) and I practised about 5-7 times to make sure it fit &#8211; which it did. I found the most useful segment to illustrate the prototype inheritance chain was via the diagram (second last slide).</p>
<p>The best source I&#8217;ve found so far is Douglas Crockford (wrote &#8216;JavaScript: The Good Parts&#8217;). Here he discusses <a href="http://javascript.crockford.com/prototypal.html">prototypal inheritance</a>.</p>
<p>Due to the 5 minutes constraint I couldn&#8217;t deal with Crockford&#8217;s beget method or any other techniques or applications of the prototype object. Still the presentation I gave enlightened people I believe.</p>
]]></content:encoded>
			<wfw:commentRss>http://tgreenaway.com/2009/05/javascript-prototypal-inheritance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top Firefox Add-ons</title>
		<link>http://tgreenaway.com/2009/04/top-firefox-add-ons/</link>
		<comments>http://tgreenaway.com/2009/04/top-firefox-add-ons/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 15:28:22 +0000</pubDate>
		<dc:creator>TCMG</dc:creator>
				<category><![CDATA[Leisure]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://tgreenaway.com/?p=263</guid>
		<description><![CDATA[Here&#8217;s a few lists of customisations I use in Firefox.
For web development:

Firebug &#8211; All round awesome web development tool. Allows for on-the-fly alterations to CSS, the HTML DOM. Inserting break points into JavaScript, viewing any existing JSON objects in memory and providing a JavaScript interpreter for debugging.
YSlow &#8211; Useful web profiler that adds itself to [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Here&#8217;s a few lists of customisations I use in Firefox.</p>
<p style="text-align: left;">For web development:</p>
<ul>
<li><a href="https://addons.mozilla.org/firefox/addon/1843">Firebug</a> &#8211; All round awesome web development tool. Allows for on-the-fly alterations to CSS, the HTML DOM. Inserting break points into JavaScript, viewing any existing JSON objects in memory and providing a JavaScript interpreter for debugging.</li>
<li><a href="https://addons.mozilla.org/firefox/addon/5369">YSlow</a> &#8211; Useful web profiler that adds itself to Firebug. Provides recommendations on how to optimise web pages as well.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer Toolbar</a> &#8211; I prefer Firebug overall but Web Developer has a few extra features like resizing the window for different screen resolutions.</li>
<li><a href="https://addons.mozilla.org/firefox/addon/722">NoScript</a> &#8211; Easy approach to enabling and disabling separate JavaScript files on a website.</li>
</ul>
<p style="text-align: left;">My favourites:</p>
<ul>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/4550">Compact Menu</a> &#8211; Allows you to get rid of the regular &#8216;File&#8217; menu in Firefox and provides either a small &#8216;Globe&#8217; icon or the simply the word &#8216;Menu&#8217; that&#8217;ll drop down and provide the regular Firefox menu when clicked. Saves a lot of screen real estate for the user.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1951">Fission</a> &#8211; Turns the address bar into a loading indicator by representing how far loaded the page as a coloured bar spreading across the address. Similar to Safari&#8217;s address bar loading system.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/26">Download Status Bar</a> &#8211; Does away with the regular &#8216;Download Window&#8217; of yesteryear and provides information on the status of downloads on the regular Firefox window via a pop-up status bar.</li>
</ul>
<p>An essential (but detrimental to this blog&#8217;s revenue!) add-on:</p>
<ul>
<li><a href="https://addons.mozilla.org/firefox/addon/1865">AdBlock</a> &#8211; Automatically hides (doesn&#8217;t even waste bandwidth on) adverts according to automagically maintained universal regular expressions.</li>
</ul>
<p>Note: The ordering of the add-ons is not meant to indicate my preference or importance I place on them <img src='http://tgreenaway.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://tgreenaway.com/2009/04/top-firefox-add-ons/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Desk Clean!</title>
		<link>http://tgreenaway.com/2009/04/desk-clean/</link>
		<comments>http://tgreenaway.com/2009/04/desk-clean/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 08:57:47 +0000</pubDate>
		<dc:creator>TCMG</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[home]]></category>

		<guid isPermaLink="false">http://tgreenaway.com/2009/04/desk-clean/</guid>
		<description><![CDATA[Finally cleaned up my desk at home. Plus I borrowed my brother&#8217;s spare LCD.
Very nice having the additional screen real estate. Can&#8217;t wait to buy larger dual widescreens in the future. 30&#8243; monitors anyone?   

]]></description>
			<content:encoded><![CDATA[<p>Finally cleaned up my desk at home. Plus I borrowed my brother&#8217;s spare LCD.</p>
<p>Very nice having the additional screen real estate. Can&#8217;t wait to buy larger dual widescreens in the future. 30&#8243; monitors anyone? <img src='http://tgreenaway.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p><a href="http://tgreenaway.com/wp-content/uploads/2009/04/l-1600-1200-7782c4db-c61b-4604-9232-a62e9f008e27.jpeg"><img src="http://tgreenaway.com/wp-content/uploads/2009/04/l-1600-1200-7782c4db-c61b-4604-9232-a62e9f008e27.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tgreenaway.com/2009/04/desk-clean/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tripping up your JavaScript in IE7</title>
		<link>http://tgreenaway.com/2009/02/tripping-up-your-javascript-in-ie7/</link>
		<comments>http://tgreenaway.com/2009/02/tripping-up-your-javascript-in-ie7/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 03:08:47 +0000</pubDate>
		<dc:creator>TCMG</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://tgreenaway.com/?p=254</guid>
		<description><![CDATA[After developing an intensive JavaScript website in Firefox and testing with other browsers, including IE8 in compatibility mode I discovered IE8&#8217;s compatibility mode doesn&#8217;t simulate IE7&#8217;s JS.
Hence a JS bug was bringing all of IE7&#8217;s JS processing to a halt even on the initial page load.
A first step I recommend is temporarily deactivating any JS [...]]]></description>
			<content:encoded><![CDATA[<p>After developing an intensive JavaScript website in Firefox and testing with other browsers, including IE8 in compatibility mode I discovered IE8&#8217;s compatibility mode doesn&#8217;t simulate IE7&#8217;s JS.</p>
<p>Hence a JS bug was bringing all of IE7&#8217;s JS processing to a halt even on the initial page load.</p>
<p>A first step I recommend is temporarily deactivating any JS compressors you may have enabled as pathing problems can crop up from using them and cause issues for IE7.</p>
<p>Beyond that I discovered the major snag resulted in this error from Visual Studio:</p>
<blockquote><p>Expected identifier, string or number</p></blockquote>
<p>Unfortunately that doesn&#8217;t give too much information but I was discovering it in my callback functions within my jQuery. It turns out IE7 has a particular issue with the syntax of JSON:</p>
<pre>
<pre class="brush: javascript;">
$(&quot;.box&quot;).animate({
    height: &quot;100%&quot;,
    opacity: &quot;1.0&quot;,
  }, 600, function() {
    alert(&quot;test!&quot;);
});
</pre>
</pre>
<p>While the above appears to be valid there is a deceptively simple issue that IE7 chokes on. The comma on the end of the third line. While most browsers recognise the empty slot after the opacity variable of the JSON array being passed into the animate function &#8211; IE7 gets really confused and starts complaining about the next semi-colon in your code (in this case part of the callback function).</p>
<p>Just an interesting issue that other browsers don&#8217;t care about but IE7 is really bamboozled by <img src='http://tgreenaway.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://tgreenaway.com/2009/02/tripping-up-your-javascript-in-ie7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
