<?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/"
	>

<channel>
	<title>Winterbug</title>
	<atom:link href="http://winterbug.com/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://winterbug.com/wordpress</link>
	<description></description>
	<pubDate>Mon, 16 Mar 2009 12:39:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Canberra Ballooning Spectacular</title>
		<link>http://winterbug.com/wordpress/2009/03/canberra-ballooning-spectacular/</link>
		<comments>http://winterbug.com/wordpress/2009/03/canberra-ballooning-spectacular/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 20:53:54 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://winterbug.com/?p=125</guid>
		<description><![CDATA[Was not so spectacular. After dragging myself out of bed at 6am in the morning to watch the hot air ballooning down at Old Parliament House, it was announced that the ballooning event had been cancelled for the day.
It was a huge disappointment as I had been looking forward to the event all week, and [...]]]></description>
			<content:encoded><![CDATA[<p>Was not so spectacular. After dragging myself out of bed at 6am in the morning to watch the hot air ballooning down at Old Parliament House, it was announced that the ballooning event had been cancelled for the day.</p>
<p>It was a huge disappointment as I had been looking forward to the event all week, and the weather was perfect with completely clear sky&#8217;s and very little wind. I did manage to get a nice picture of Old Parliament House pre-dawn though so it wasn&#8217;t a complete washout.</p>
<div id="attachment_199" class="wp-caption aligncenter" style="width: 410px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2009/03/img_0721_cropped.jpg"><img class="size-medium wp-image-199" title="img_0721_cropped" src="http://winterbug.com/wordpress/wp-content/uploads/2009/03/img_0721_cropped-400x216.jpg" alt="Old Parliament House" width="400" height="216" /></a><p class="wp-caption-text">Old Parliament House</p></div>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2009/03/canberra-ballooning-spectacular/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sphagnum Bog Water</title>
		<link>http://winterbug.com/wordpress/2009/03/sphagnum/</link>
		<comments>http://winterbug.com/wordpress/2009/03/sphagnum/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 07:32:42 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://winterbug.com/?p=121</guid>
		<description><![CDATA[Mmmm&#8230;. sphagnum bog water
]]></description>
			<content:encoded><![CDATA[<div id="attachment_201" class="wp-caption aligncenter" style="width: 410px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2009/03/sphagnum-bog.jpg"><img class="size-medium wp-image-201" title="sphagnum-bog" src="http://winterbug.com/wordpress/wp-content/uploads/2009/03/sphagnum-bog-400x175.jpg" alt="Sphagnum Bog Water" width="400" height="175" /></a><p class="wp-caption-text">Sphagnum Bog Water</p></div>
<p>Mmmm&#8230;. sphagnum bog water</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2009/03/sphagnum/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Stock Quote 2.0 Plasmoid</title>
		<link>http://winterbug.com/wordpress/2009/02/stock-quote-v2/</link>
		<comments>http://winterbug.com/wordpress/2009/02/stock-quote-v2/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 06:04:42 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[KDE]]></category>

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

		<guid isPermaLink="false">http://winterbug.com/?p=60</guid>
		<description><![CDATA[KDE 4.2 has been released, and I thought I should bring out an update to the stock plasmoid. I have done alot of work to make it more usable, and still have plenty of ideas to implement.
The main changes for this release are:

Data engine backend
Dockable in panel
Improved theme
Improved percent display
Clickable stocks link to yahoo finance
Position/resize [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_61" class="wp-caption alignright" style="width: 314px"><img class="size-full wp-image-61" title="Stock Quote 2.0" src="http://174.34.141.50/~winterbu/wordpress/wp-content/uploads/2009/02/stock_quote1.png" alt="Stock Quote 2.0" width="304" height="425" /><p class="wp-caption-text">Stock Quote 2.0</p></div>
<p>KDE 4.2 has been released, and I thought I should bring out an update to the stock plasmoid. I have done alot of work to make it more usable, and still have plenty of ideas to implement.</p>
<p>The main changes for this release are:</p>
<ul>
<li>Data engine backend</li>
<li>Dockable in panel</li>
<li>Improved theme</li>
<li>Improved percent display</li>
<li>Clickable stocks link to yahoo finance</li>
<li>Position/resize bug fixes</li>
<li>Supports stock with commas in description</li>
<li>Supports kde 4.2</li>
</ul>
<p>Stock Quote 2.0 is downloadable from <a title="kdelook" href="http://www.kde-look.org/content/show.php/Stock+Quote?content=90695" target="_self">kde-look.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2009/02/stock-quote-v2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Stock Quote Plasmoid</title>
		<link>http://winterbug.com/wordpress/2008/10/stock-quote-plasmoid/</link>
		<comments>http://winterbug.com/wordpress/2008/10/stock-quote-plasmoid/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 08:47:02 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[KDE]]></category>

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

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

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

		<guid isPermaLink="false">http://winterbug.com/?p=51</guid>
		<description><![CDATA[No I haven&#8217;t dropped of the face of the earth, my life has just been boring recently, so I haven&#8217;t bothered posting anything :S Unfortunately this post will pretty boring to most people, especially those gnome fanboys.
KDE 4 now provides plasmoids, which are along the same lines as widget in Mac OSX, or those things [...]]]></description>
			<content:encoded><![CDATA[<p>No I haven&#8217;t dropped of the face of the earth, my life has just been boring recently, so I haven&#8217;t bothered posting anything :S Unfortunately this post will pretty boring to most people, especially those gnome fanboys.</p>
<p>KDE 4 now provides plasmoids, which are along the same lines as widget in Mac OSX, or those things in Vista that no-one ever uses. The current offerings are pretty slim, so I decided to rework an existing financial stock quote plasmoid to make it more usable. Overall writing the plasmoid is pretty much like writing any other Qt application.</p>
<p>Here is the final product, it can be downloaded from <a title="KdeLook" href="http://www.kde-look.org/content/show.php/Stock+Quote?content=90695" target="_self">kdelook:</a></p>
<div id="attachment_52" class="wp-caption aligncenter" style="width: 309px"><img class="size-full wp-image-52" title="Stock Quote" src="http://174.34.141.50/~winterbu/wordpress/wp-content/uploads/2008/10/stock_quote.png" alt="" width="299" height="368" /><p class="wp-caption-text">Stock Quote v1.1</p></div>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2008/10/stock-quote-plasmoid/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Spiky Christmas Tree</title>
		<link>http://winterbug.com/wordpress/2008/01/spiky-christmas-tree/</link>
		<comments>http://winterbug.com/wordpress/2008/01/spiky-christmas-tree/#comments</comments>
		<pubDate>Sat, 12 Jan 2008 03:42:54 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Home]]></category>

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

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

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

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

		<category><![CDATA[woolly bush]]></category>

		<guid isPermaLink="false">http://winterbug.com/2008/01/12/spiky-christmas-tree/</guid>
		<description><![CDATA[Unfortunately, due to our move from Melbourne to Canberra, we had to leave our beloved Woolly Bush Christmas tree behind. After hunting around Canberra for a replacement, we eventually gave up and purchased the &#8220;Spiky Christmas Tree&#8221; below.
It has been named the &#8220;Spiky Christmas Tree&#8221; (not its botanical name as far as I can tell), [...]]]></description>
			<content:encoded><![CDATA[<p>Unfortunately, due to our move from Melbourne to Canberra, we had to leave our beloved <a title="Woolly Bush" href="http://winterbug.com/wordpress/2006/12/woolly-bush/">Woolly Bush</a> Christmas tree behind. After hunting around Canberra for a replacement, we eventually gave up and purchased the &#8220;Spiky Christmas Tree&#8221; below.<br />
It has been named the &#8220;Spiky Christmas Tree&#8221; (not its botanical name as far as I can tell), due to the extremely spiky leaves it has which are quite painful to the touch. One benefit of this, is that the cats stayed well away from it, unlike last year where we found many the gnawed branch in the new year <img src='http://winterbug.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_203" class="wp-caption aligncenter" style="width: 313px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2008/01/xmas_tree.jpg"><img class="size-medium wp-image-203" title="xmas_tree" src="http://winterbug.com/wordpress/wp-content/uploads/2008/01/xmas_tree-303x400.jpg" alt="Spikey Xmas Tree" width="303" height="400" /></a><p class="wp-caption-text">Spikey Xmas Tree</p></div>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2008/01/spiky-christmas-tree/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Royal Melbourne Show</title>
		<link>http://winterbug.com/wordpress/2007/09/royal-melbourne-show/</link>
		<comments>http://winterbug.com/wordpress/2007/09/royal-melbourne-show/#comments</comments>
		<pubDate>Sat, 22 Sep 2007 04:19:20 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Home]]></category>

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

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

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

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

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

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

		<guid isPermaLink="false">http://winterbug.com/2007/09/22/royal-melbourne-show/</guid>
		<description><![CDATA[The Perth Royal Show has always been a favourite destination for Holly and I, where we get to act like kids again and run rampant around the show eating lollies, and patting the farm animals. So when the Royal Melbourne Show arrived (20-30th September), we couldn&#8217;t resist and had to attend.
So I took the Friday [...]]]></description>
			<content:encoded><![CDATA[<p>The Perth Royal Show has always been a favourite destination for Holly and I, where we get to act like kids again and run rampant around the show eating lollies, and patting the farm animals. So when the Royal Melbourne Show arrived (20-30th September), we couldn&#8217;t resist and had to attend.</p>
<p>So I took the Friday off as annual leave (under the assumption that the show would be quiet as the school holidays hadn&#8217;t started yet), and hopped onto the train heading over to the show grounds.</p>
<p>The highlight  of the show would have to be the pig racing. Pig racing you say? Don&#8217;t worry, I have never heard of it before but I have been told that it&#8217;s a common event at the show. We headed over to the pig stadium to check things out and the result? The most hilarious thing I have seen in my life! Check out the action shots below:</p>
<div id="attachment_194" class="wp-caption aligncenter" style="width: 410px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2007/09/pigs.jpg"><img class="size-medium wp-image-194" title="pigs" src="http://winterbug.com/wordpress/wp-content/uploads/2007/09/pigs-400x310.jpg" alt="Running Pigs" width="400" height="310" /></a><p class="wp-caption-text">Running Pigs</p></div>
<div id="attachment_195" class="wp-caption aligncenter" style="width: 410px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2007/09/pigs_jump.jpg"><img class="size-medium wp-image-195" title="pigs_jump" src="http://winterbug.com/wordpress/wp-content/uploads/2007/09/pigs_jump-400x285.jpg" alt="Jumping Pigs" width="400" height="285" /></a><p class="wp-caption-text">Jumping Pigs</p></div>
<p>Next onto the farm animal shed. First stop was the ewe birthing station. We waiting around for about 30 minutes for the birth, however the lamb was a no show. I wasn&#8217;t too fussed about this because I&#8217;m sure the birthing of a lamb wouldn&#8217;t be the most attractive thing, so we decided to move on to the baby animal playpen. We followed some kids in pretending we were their parents, but once in, we ditched the charade and ran havoc. How can anyone resist patting a goat or a lamb? After checking out all the baby animals, we scraped the manure off the bottom of our shoes, and went to look at the dog display.</p>
<div id="attachment_137" class="wp-caption aligncenter" style="width: 410px"><a href="http://174.34.141.50/~winterbu/wordpress/wp-content/uploads/2009/03/ryan_with_sheep.jpg"><img class="size-medium wp-image-137" title="ryan_with_sheep" src="http://winterbug.com/wordpress/wp-content/uploads/2007/09/ryan_with_sheep-400x270.jpg" alt="Lamb" width="400" height="270" /></a><p class="wp-caption-text">Lamb</p></div>
<p>Now Holly and I aren&#8217;t doggy people, but we fell in love with the Short Hair German Pointers. We stood at the sideline and got to pat them all as they left the arena. Below is a picture of the Schnauzers.</p>
<div id="attachment_134" class="wp-caption aligncenter" style="width: 410px"><a href="http://174.34.141.50/~winterbu/wordpress/wp-content/uploads/2009/03/dogs.jpg"><img class="size-medium wp-image-134" title="dogs" src="http://winterbug.com/wordpress/wp-content/uploads/2007/09/dogs-400x306.jpg" alt="Funny Dogs" width="400" height="306" /></a><p class="wp-caption-text">Funny Dogs</p></div>
<p>Other than that, the day was spent filling up on samples of chips, cheese, chocolate, ice cream, jam, fudge, candy and nuts. So which is better, the Perth or the Melbourne Royal Show? Well I personally like Perth better. It&#8217;s just more chaotic and less refined than the Melbourne show, and to top it off, Perth has the Hot Fresh Crispy Donuts &#8482; which were surprisingly absent from Melbourne! Overall, a most enjoyable day out.</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2007/09/royal-melbourne-show/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Great Ocean Road</title>
		<link>http://winterbug.com/wordpress/2007/06/great-ocean-road/</link>
		<comments>http://winterbug.com/wordpress/2007/06/great-ocean-road/#comments</comments>
		<pubDate>Sun, 10 Jun 2007 05:40:07 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://winterbug.com/2007/06/10/great-ocean-road/</guid>
		<description><![CDATA[ANZAC day public holiday was seen as the perfect opportunity to take an extra few days annual leave, and make a road trip out to the famous Great Ocean Road. After perusing the available accommodation in the area, we finally decided somewhere that was central to the main attractions we wanted to see, and ended [...]]]></description>
			<content:encoded><![CDATA[<p>ANZAC day public holiday was seen as the perfect opportunity to take an extra few days annual leave, and make a road trip out to the famous Great Ocean Road. After perusing the available accommodation in the area, we finally decided somewhere that was central to the main attractions we wanted to see, and ended up in a isolated cabin, with a great view over a valley and then over the sea. And no we didn&#8217;t smuggle our cats along, the place was pet friendly!</p>
<div id="attachment_187" class="wp-caption aligncenter" style="width: 410px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2007/06/cats.jpg"><img class="size-medium wp-image-187" title="cats" src="http://winterbug.com/wordpress/wp-content/uploads/2007/06/cats-400x299.jpg" alt="Felix &amp; Archie" width="400" height="299" /></a><p class="wp-caption-text">Felix &amp; Archie</p></div>
<p>Our first stop was the <a title="Otway Treetop Walk" href="http://www.otwayfly.com/">Otway Treetop Walk</a>, which according to the brochure was the longest and highest treetop walk in the world. Well for 20 bucks each, it&#8217;s gonna have to something pretty special. In the end it was great fun, except the swaying at the top of the tower gave me an overwhelming feeling of wanting to yak, so we didn&#8217;t stay up there very long (just enough to get a quick panoramic).</p>
<div id="attachment_188" class="wp-caption aligncenter" style="width: 309px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2007/06/treetop_tower.jpg"><img class="size-medium wp-image-188" title="treetop_tower" src="http://winterbug.com/wordpress/wp-content/uploads/2007/06/treetop_tower-299x400.jpg" alt="Treetop Tower" width="299" height="400" /></a><p class="wp-caption-text">Treetop Tower</p></div>
<p>Our next stop was just down the road at the famous triplet falls. We were hesitant to make the walk to the falls (about 1 hour round trip), because of the lack of rainfall in the area meaning everything was quite dry, but we thought it was worth a chance. So after negotiating ourselves down about 300 slippery moss covered steps, we arrived at the bottom of the valley to see the following:</p>
<div id="attachment_189" class="wp-caption aligncenter" style="width: 309px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2007/06/triplet_falls.jpg"><img class="size-medium wp-image-189" title="triplet_falls" src="http://winterbug.com/wordpress/wp-content/uploads/2007/06/triplet_falls-299x400.jpg" alt="Triplet Falls" width="299" height="400" /></a><p class="wp-caption-text">Triplet Falls</p></div>
<p>Next onto the 12 (8?) apostles. The pile of rubble in the foreground is the latest casualty where the apostle collapsed in 2005. The day was a little smoky so all the photos were washed out in colour, although nothing photoshop can&#8217;t fix! Along the way, we checked out all the standard attractions including the Grotto, London Bridge and the Arch all of which are more of the same really.</p>
<div id="attachment_190" class="wp-caption aligncenter" style="width: 410px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2007/06/12_apostles.jpg"><img class="size-medium wp-image-190" title="12_apostles" src="http://winterbug.com/wordpress/wp-content/uploads/2007/06/12_apostles-400x299.jpg" alt="12 Apostles" width="400" height="299" /></a><p class="wp-caption-text">12 Apostles</p></div>
<p>So that&#8217;s it, another famous Australian tourist destination checked off the list. Now we have to full fill Holly&#8217;s childhood dream, and go skiing in the mountains <img src='http://winterbug.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2007/06/great-ocean-road/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I Get No Spam!</title>
		<link>http://winterbug.com/wordpress/2007/05/i-get-no-spam/</link>
		<comments>http://winterbug.com/wordpress/2007/05/i-get-no-spam/#comments</comments>
		<pubDate>Thu, 10 May 2007 13:53:22 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://winterbug.com/2007/05/11/i-get-no-spam/</guid>
		<description><![CDATA[Earlier this month, the Australian government launched the National Do Not Call Registry. Based on the Do Not Call Register Act 2006, telemarketers are required to check all numbers against the list before they make a call. If they fail to do so, then they could be in breach of the act and face penalties.
Even [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this month, the Australian government launched the National Do Not Call Registry. Based on the <a title="Legislation" href="http://www.comlaw.gov.au/comlaw/management.nsf/lookupindexpagesbyid/IP200615352?OpenDocument">Do Not Call Register Act 2006</a>, telemarketers are required to check all numbers against the list before they make a call. If they fail to do so, then they could be in breach of the act and face penalties.</p>
<p>Even though this register doesn&#8217;t go anywhere near far enough as charities, educational institutions, the government and politicians can still call, at least it&#8217;s a start (just watch out for those politicians raising money for some fundamentalist cult).</p>
<p>Everyone head over and <a title="Do Not Call Signup" href="https://www.donotcall.gov.au/">sign up</a> and if you get anymore telemarketing calls, don&#8217;t just yell abuse and slam the phone down, well still do that but make sure to interogate them first and then file a <a title="Complaints" href="https://www.donotcall.gov.au/complaints/complaint.cfm">complaint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2007/05/i-get-no-spam/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Quote of the day</title>
		<link>http://winterbug.com/wordpress/2007/05/quote-of-the-day/</link>
		<comments>http://winterbug.com/wordpress/2007/05/quote-of-the-day/#comments</comments>
		<pubDate>Wed, 02 May 2007 03:08:00 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://winterbug.com/2007/05/02/quote-of-the-day/</guid>
		<description><![CDATA[Bogan 1: I hear the Maccas down here is real shit.
Bogan 2: Smells good!
]]></description>
			<content:encoded><![CDATA[<p><strong>Bogan 1:</strong> I hear the Maccas down here is real shit.</p>
<p><strong>Bogan 2:</strong> Smells good!</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2007/05/quote-of-the-day/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fractanoid 0.1</title>
		<link>http://winterbug.com/wordpress/2007/04/fractanoid-01/</link>
		<comments>http://winterbug.com/wordpress/2007/04/fractanoid-01/#comments</comments>
		<pubDate>Tue, 17 Apr 2007 13:20:42 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://winterbug.com/2007/04/18/fractanoid-01/</guid>
		<description><![CDATA[Fractanoid is an experiment in multi threaded programming to allow the processing load to be split across multiple cores in a computer. The image area is first split into 200&#215;200 pixel blocks, each of these blocks is stashed into a list which is being monitored by a series of threads within a threadpool. The blocks [...]]]></description>
			<content:encoded><![CDATA[<p>Fractanoid is an experiment in multi threaded programming to allow the processing load to be split across multiple cores in a computer. The image area is first split into 200&#215;200 pixel blocks, each of these blocks is stashed into a list which is being monitored by a series of threads within a threadpool. The blocks are processed and the results signalled back to be displayed.</p>
<p>The image area also always full panning support with new blocks calculated continuously as they appear on the screen. Zooming in and out results in clearing of display and recalculation based on the new zoom level.</p>
<div id="attachment_210" class="wp-caption aligncenter" style="width: 410px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2007/04/fractanoid.png"><img class="size-medium wp-image-210" title="fractanoid" src="http://winterbug.com/wordpress/wp-content/uploads/2007/04/fractanoid-400x360.png" alt="Fractanoid 0.1" width="400" height="360" /></a><p class="wp-caption-text">Fractanoid 0.1</p></div>
<p>Through the preferences dialogue, the number of threads can be modified to take advantage of extra CPU&#8217;s available in the system. This results in extra threads being added to the thread pool.</p>
<p>Download the source tarball: <a href="http://winterbug.com/wordpress/wp-content/uploads/2007/04/fractanoid-02tar.bz2">fractanoid-0.2.tar.bz2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2007/04/fractanoid-01/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Exterminate!</title>
		<link>http://winterbug.com/wordpress/2007/03/exterminate/</link>
		<comments>http://winterbug.com/wordpress/2007/03/exterminate/#comments</comments>
		<pubDate>Fri, 09 Mar 2007 14:28:28 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://winterbug.com/2007/03/10/exterminate/</guid>
		<description><![CDATA[Holly was browsing a cross stitch web site the other day and found this absolutely amazing page.
I was seriously blown away. I thought that knitting was all about making socks and scarfs. I especially like the mini tardis sitting in the background. Obviously geeks knit too.
Thanks to Shigella for really making me day.
]]></description>
			<content:encoded><![CDATA[<p>Holly was browsing a cross stitch web site the other day and found this absolutely amazing page.</p>
<div id="attachment_212" class="wp-caption aligncenter" style="width: 310px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2007/03/exterminate.jpg"><img src="http://winterbug.com/wordpress/wp-content/uploads/2007/03/exterminate-300x400.jpg" alt="Exterminate!" title="exterminate" width="300" height="400" class="size-medium wp-image-212" /></a><p class="wp-caption-text">Exterminate!</p></div>
<p>I was seriously blown away. I thought that knitting was all about making socks and scarfs. I especially like the mini tardis sitting in the background. Obviously geeks knit too.</p>
<p>Thanks to <a href="http://shigella.livejournal.com/519884.html">Shigella</a> for really making me day.</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2007/03/exterminate/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Phillip Island</title>
		<link>http://winterbug.com/wordpress/2007/02/phillip-island/</link>
		<comments>http://winterbug.com/wordpress/2007/02/phillip-island/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 06:51:49 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://winterbug.com/2007/02/13/phillip-island/</guid>
		<description><![CDATA[This weekend past marked our first weekend away with a visit to Phillip Island, 90 minutes south of Melbourne. Philip island is well known for the Little Penguins that live there which are located on the western point of the island.
On Friday we made the journey over to see the &#8220;March of the Penguins&#8221;. Started [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend past marked our first weekend away with a visit to Phillip Island, 90 minutes south of Melbourne. Philip island is well known for the <a title="Phillip Island Nature Park" href="http://www.penguins.org.au/">Little Penguins</a> that live there which are located on the western point of the island.</p>
<p>On Friday we made the journey over to see the &#8220;March of the Penguins&#8221;. Started just after sunset, a series of lights are turned on, and we started to see a few penguins gathering down at the shore. When they form sufficiently large groups (more than 5), they begin their journey up the beach turning and running back to the water if they are spooked.</p>
<div id="attachment_183" class="wp-caption aligncenter" style="width: 410px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2007/02/little_penguin.jpg"><img class="size-medium wp-image-183" title="little_penguin" src="http://winterbug.com/wordpress/wp-content/uploads/2007/02/little_penguin-400x296.jpg" alt="little_penguin" width="400" height="296" /></a><p class="wp-caption-text">Little Penguins</p></div>
<p>Turns out that this time of year is the perfect time to visit as the chicks have just left their nest, and you can see fluffy penguins wandering around calling out for their parents.</p>
<p>Other than penguins, the rest of the weekend was just spent relaxing. We did find this sign post (below) which really made me wonder exactly who creates the little cartoons as this guy must have been smoking something! I was tempted to venture close to the cliff edge to see exactly how accurate the depiction was, however the thought of having the to be airlifted to hospital didn&#8217;t quite appeal to me.</p>
<div id="attachment_184" class="wp-caption aligncenter" style="width: 346px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2007/02/sign_post.jpg"><img class="size-medium wp-image-184" title="sign_post" src="http://winterbug.com/wordpress/wp-content/uploads/2007/02/sign_post-336x400.jpg" alt="Weird Sign Post" width="336" height="400" /></a><p class="wp-caption-text">Weird Sign Post</p></div>
<p>Check out more photos of our holiday <a title="Phillip Island Photo Gallery" href="http://gallery.winterbug.com/v/phillip_island/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2007/02/phillip-island/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Slim Pickings at the Raspberry Fair</title>
		<link>http://winterbug.com/wordpress/2007/01/slim-pickings-at-the-raspberry-fair/</link>
		<comments>http://winterbug.com/wordpress/2007/01/slim-pickings-at-the-raspberry-fair/#comments</comments>
		<pubDate>Sun, 14 Jan 2007 08:28:13 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://winterbug.com/2007/01/14/slim-pickings-at-the-raspberry-fair/</guid>
		<description><![CDATA[Today was the day when we decided to see more of Victoria. So being the raspberry fans we are, the Raspberry Fair up near Pheasant Creek seemed a good choice of destinations. Pheasant Creek is roughly 60 mins north of Melbourne up in the Kinglake region.
The main attraction of the day is the &#8220;pick your [...]]]></description>
			<content:encoded><![CDATA[<p>Today was the day when we decided to see more of Victoria. So being the raspberry fans we are, the Raspberry Fair up near Pheasant Creek seemed a good choice of destinations. Pheasant Creek is roughly 60 mins north of Melbourne up in the Kinglake region.</p>
<p>The main attraction of the day is the &#8220;pick your own raspberries&#8221; event. Unfortunately due to drought, the berries had ripened earlier than usual resulting in the &#8220;slim pickings&#8221; sign. We managed to scavenge a few remaining from the vines, however the main entertainment was watching some kid have a temper tantrum because he couldn&#8217;t find any and his mother threatening to leave him behind. At this point, we gave up, ate the raspberries we had found (oops, I think we were suppose to pay for them!) and had a raspberry icecream which was delicious.</p>
<div id="attachment_181" class="wp-caption aligncenter" style="width: 309px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2007/01/slim_pickings.jpg"><img class="size-medium wp-image-181" title="slim_pickings" src="http://winterbug.com/wordpress/wp-content/uploads/2007/01/slim_pickings-299x400.jpg" alt="Slim Pickings" width="299" height="400" /></a><p class="wp-caption-text">Slim Pickings</p></div>
<p>Overall the day was a lot of fun. Air-conditioning in the car would have made it more fun, but that&#8217;s the price you have to pay for owning a Barina :S</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2007/01/slim-pickings-at-the-raspberry-fair/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Woolly Bush</title>
		<link>http://winterbug.com/wordpress/2006/12/woolly-bush/</link>
		<comments>http://winterbug.com/wordpress/2006/12/woolly-bush/#comments</comments>
		<pubDate>Mon, 04 Dec 2006 09:49:08 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://winterbug.com/2006/12/04/woolly-bush/</guid>
		<description><![CDATA[Today we bought our new Christmas tree. It&#8217;s a Woolly Bush, an Australian native from the Albany region of Western Australia! We really had to hunt around for this but after visiting about 5 nurseries we finally found it.
Now we just need everyone to send us presents . . .
]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_219" class="wp-caption aligncenter" style="width: 309px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2006/12/xmas-tree_1.jpg"><img src="http://winterbug.com/wordpress/wp-content/uploads/2006/12/xmas-tree_1-299x400.jpg" alt="Woolly Bush" title="xmas-tree_1" width="299" height="400" class="size-medium wp-image-219" /></a><p class="wp-caption-text">Woolly Bush</p></div><br />
Today we bought our new Christmas tree. It&#8217;s a Woolly Bush, an Australian native from the Albany region of Western Australia! We really had to hunt around for this but after visiting about 5 nurseries we finally found it.</p>
<p>Now we just need everyone to send us presents . . .</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/12/woolly-bush/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Be My Friend</title>
		<link>http://winterbug.com/wordpress/2006/11/be-my-friend/</link>
		<comments>http://winterbug.com/wordpress/2006/11/be-my-friend/#comments</comments>
		<pubDate>Sat, 11 Nov 2006 02:46:24 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://winterbug.com/2006/11/11/be-my-friend/</guid>
		<description><![CDATA[Who needs friends when you have an iPod. I can stick on my headphones and thus ignore all the wierdo&#8217;s on the train.
Here is a list of my favourite podcasts:

The Science Show
Ockham&#8217;s Razor
SciPod (New Scientist)
TWIT (This Week In Tech)

]]></description>
			<content:encoded><![CDATA[<div id="attachment_118" class="wp-caption alignright" style="width: 410px"><a href="http://winterbug.com/wordpress/wp-content/uploads/2009/02/ipod.jpg"><img class="size-medium wp-image-118" title="ipod" src="http://winterbug.com/wordpress/wp-content/uploads/2006/11/ipod-400x307.jpg" alt="iPod on Wood" width="400" height="307" /></a><p class="wp-caption-text">iPod on Wood</p></div>
<p>Who needs friends when you have an iPod. I can stick on my headphones and thus ignore all the wierdo&#8217;s on the train.</p>
<p>Here is a list of my favourite podcasts:</p>
<ul>
<li><a href="http://www.abc.net.au/rn/podcast/feeds/science.xml">The Science Show</a></li>
<li><a href="http://www.abc.net.au/rn/podcast/feeds/ockham.xml">Ockham&#8217;s Razor</a></li>
<li><a href="http://www.newscientist.com/podcastfeed.ns">SciPod (New Scientist)</a></li>
<li><a href="http://leoville.tv/podcasts/twit.xml">TWIT (This Week In Tech)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/11/be-my-friend/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Settle down now</title>
		<link>http://winterbug.com/wordpress/2006/11/settle-down-now/</link>
		<comments>http://winterbug.com/wordpress/2006/11/settle-down-now/#comments</comments>
		<pubDate>Wed, 01 Nov 2006 02:47:54 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://winterbug.com/2006/11/01/settle-down-now/</guid>
		<description><![CDATA[Every time I look for a new house to live in, I forget how awful the whole experience is. However we have our house, we have our jobs, we will soon have our belongings (which seem to take several weeks to transport a mere 3500km&#8217;s).
I have completed my first week at Open Networks. The office [...]]]></description>
			<content:encoded><![CDATA[<p>Every time I look for a new house to live in, I forget how awful the whole experience is. However we have our house, we have our jobs, we will soon have our belongings (which seem to take several weeks to transport a mere 3500km&#8217;s).</p>
<p>I have completed my first week at Open Networks. The office is in the CBD, so this involved me getting out of bed, walking across the road, getting on the train, waiting for 25 minutes, getting off the train, walking across the road and sitting at my desk. Overall quite painless although I did feel like I was in a cattle run as I funnelled out of Flinders Street train station along with 10,000 other people.</p>
<p>Now all I need to do is decorate my cubicle a bit. Dang I wish I had kept the parachuting green bear!</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/11/settle-down-now/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Are we there yet?</title>
		<link>http://winterbug.com/wordpress/2006/10/are-we-there-yet/</link>
		<comments>http://winterbug.com/wordpress/2006/10/are-we-there-yet/#comments</comments>
		<pubDate>Thu, 12 Oct 2006 05:14:51 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://winterbug.com/2006/10/12/are-we-there-yet/</guid>
		<description><![CDATA[After months of packing, moving, moving again, cleaning, job hunting, house hunting, organising temporary accommodation, flights, car hire, moving trucks, selling off stuff, buying insurance and just familiarising ourselves with the city, we have finally arrived in Melbourne! The past month has been hectic, and very stressful, but now we are here at least we [...]]]></description>
			<content:encoded><![CDATA[<p>After months of packing, moving, moving again, cleaning, job hunting, house hunting, organising temporary accommodation, flights, car hire, moving trucks, selling off stuff, buying insurance and just familiarising ourselves with the city, we have finally arrived in Melbourne! The past month has been hectic, and very stressful, but now we are here at least we can relax a bit and just focus on finding a house before our stuff arrives.</p>
<p>Currently we are staying in a funky apartment in East Melbourne (<a href="http://www.birches.com.au/">Birches Serviced Apartment</a>). Great location with a quick tram into the city centre, plus it has free parking, reasonably priced ADSL (having tried torrents yet) and it takes pets!</p>
<p>It feels very strange being in a different city. I feel like I&#8217;m on holiday, and have to resist the temptation to just sleep half the day, and spend the other half walking around looking at museums and churches. After the mad panic we went through before getting here, a holiday would go down really well right about now.</p>
<p>And yes Matt, we are trucking over the Barina :D.</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/10/are-we-there-yet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Transform and Roll Out</title>
		<link>http://winterbug.com/wordpress/2006/09/transformers-roll-out/</link>
		<comments>http://winterbug.com/wordpress/2006/09/transformers-roll-out/#comments</comments>
		<pubDate>Sun, 17 Sep 2006 05:38:47 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Home]]></category>

		<guid isPermaLink="false">http://winterbug.com/2006/09/17/transformers-roll-out/</guid>
		<description><![CDATA[In case you haven&#8217;t heard, I have resigned from my position at Nautronix and are relocating from Perth to Melbourne. My time at Nautronix (almost 8 years!) has given me a broad range of experiences from writing assembly on 8 bit microprocessors and winding inductors, through to hanging out on drill rigs in Brazil, and [...]]]></description>
			<content:encoded><![CDATA[<p>In case you haven&#8217;t heard, I have resigned from my position at <a href="http://www.l-3com.com/nautronix/">Nautronix</a> and are relocating from Perth to Melbourne. My time at Nautronix (almost 8 years!) has given me a broad range of experiences from writing assembly on 8 bit microprocessors and winding inductors, through to hanging out on drill rigs in Brazil, and finally developing C++ applications to measure submarine noise. I can&#8217;t say I have enjoyed everything, but it sure has been interesting!</p>
<p>So to everyone at Nautronix (that read this blog anyway), thanks for putting up with me. I sure am going to miss things (not everything mind you), and I&#8217;ll be back to visit whenever I&#8217;m in town.</p>
<p>On that note, if anyone is looking to hire a software engineer in Melbourne, I&#8217;m available!</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/09/transformers-roll-out/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iPod says &#8220;Do not disconnect.&#8221;</title>
		<link>http://winterbug.com/wordpress/2006/08/ipod-says-do-not-disconnect/</link>
		<comments>http://winterbug.com/wordpress/2006/08/ipod-says-do-not-disconnect/#comments</comments>
		<pubDate>Mon, 28 Aug 2006 16:33:23 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://winterbug.com/2006/08/29/ipod-says-do-not-disconnect/</guid>
		<description><![CDATA[This has bugging me for ages. Whenever I want to disconnect my iPod with Linux, I always ended up having to unplug it with the &#8220;Do not disconnect.&#8221; message flashing. The solution is so:

chmod +s /usr/bin/eject

Ejecting the iPod, will now correctly disconnect the device.
]]></description>
			<content:encoded><![CDATA[<p>This has bugging me for ages. Whenever I want to disconnect my iPod with Linux, I always ended up having to unplug it with the &#8220;Do not disconnect.&#8221; message flashing. The solution is so:</p>
<pre>
chmod +s /usr/bin/eject
</pre>
<p>Ejecting the iPod, will now correctly disconnect the device.</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/08/ipod-says-do-not-disconnect/feed/</wfw:commentRss>
		</item>
		<item>
		<title>DLink DWL-G510 in Gentoo Linux</title>
		<link>http://winterbug.com/wordpress/2006/08/dlink-dwl-g510-in-gentoo-linux/</link>
		<comments>http://winterbug.com/wordpress/2006/08/dlink-dwl-g510-in-gentoo-linux/#comments</comments>
		<pubDate>Fri, 18 Aug 2006 12:46:11 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://winterbug.com/2006/08/18/dlink-dwl-g510-in-gentoo-linux/</guid>
		<description><![CDATA[So I wanted to move my computer into another room. The problem is that I will need to install a wireless card to keep myself on the network. Does Linux even support wireless yet? And I want WPA encryption on top of that too.
Well the answer seems to be yes, sorta, sometimes, if your lucky. [...]]]></description>
			<content:encoded><![CDATA[<p>So I wanted to move my computer into another room. The problem is that I will need to install a wireless card to keep myself on the network. Does Linux even support wireless yet? And I want WPA encryption on top of that too.</p>
<p>Well the answer seems to be yes, sorta, sometimes, if your lucky. So I hunted around and pulled out a DWL-G510 (HW Ver: C2), stuck it in the computer and lspci gives me:</p>
<pre>00:09.0 Network controller: RaLink RT2561/RT61 rev B 802.11g</pre>
<h3>Installing Driver</h3>
<p>The card contains an RaLink chipset. There are 3 drivers available:</p>
<ul>
<li><a href="http://rt2x00.serialmonkey.com">Rt2&#215;00</a> project also has the rt2&#215;00 driver v2.0.0-b3</li>
<li><a href="http://rt2x00.serialmonkey.com">Rt2&#215;00</a> project has legacy RT61 driver v1.1.0-b1</li>
<li><a href="http://www.ralinktech.com">Ralink</a> has v1.0.4</li>
</ul>
<p>The <strong>first</strong> driver from the Rt2&#215;00 project (available in portage, net-wireless/rt2&#215;00) didn&#8217;t work at all. I could load the driver, but scanning produced no result.</p>
<p>The <strong>second</strong> driver (available in portage, net-wireless/rt61) loaded fine, and I could gain a connection with no encryption and WEP encryption, but no matter what combination I used, I couldn&#8217;t get WPA to work.</p>
<p>The <strong>third</strong> driver I downloaded from Ralink&#8217;s website and with a little bit of fiddling, I am able to load it <strong>and</strong> connect using WPA encryption.</p>
<h3>Wireless Configuration</h3>
<p>I used the following commands to successfully connect to my Netgear DG834G wireless hub:</p>
<pre>#!/bin/sh
modprobe rt61
sleep 3

ifconfig ra0 up
iwlist ra0 scan

iwpriv ra0 set NetworkType=Infra
iwpriv ra0 set AuthMode=WPAPSK
iwpriv ra0 set EncrypType=TKIP
iwpriv ra0 set SSID="network name"
iwpriv ra0 set WPAPSK="my passphrase"
iwpriv ra0 set SSID="network name"</pre>
<p>After probing the device, I had to sleep otherwise the device didn&#8217;t come up correctly. Substitute &#8220;network name&#8221; with your own, and &#8220;my passphrase&#8221; with the WPA-PSK passphrase.</p>
<h3>Final</h3>
<p>I haven&#8217;t quite figured out how to get all this to work using the Gentoo standard network init script. The main problem seems to be that the network interface needs to be activated before it had be configured. For now I&#8217;m just happy I don&#8217;t have to run a 50 meter extension cable through my house.</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/08/dlink-dwl-g510-in-gentoo-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>KAddressBook iPod Synchonisation</title>
		<link>http://winterbug.com/wordpress/2006/08/kaddressbook-synchonisation-to-your-ipod/</link>
		<comments>http://winterbug.com/wordpress/2006/08/kaddressbook-synchonisation-to-your-ipod/#comments</comments>
		<pubDate>Sat, 12 Aug 2006 17:19:22 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://winterbug.com/2006/08/13/kaddressbook-synchonisation-to-your-ipod/</guid>
		<description><![CDATA[Amarok recently released the ability to synchonise music to your iPod, so I was finally able to stop using iTunes to transfer my songs. However I was still stuck using the Mac to sync my addressbook.
Well not anymore, after some quick poking around, and a simple script, I am now able to transfer my complete [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://amarok.kde.org">Amarok</a> recently released the ability to synchonise music to your iPod, so I was finally able to stop using iTunes to transfer my songs. However I was still stuck using the Mac to sync my addressbook.</p>
<p>Well not anymore, after some quick poking around, and a simple script, I am now able to transfer my complete KDE addressbook (including photo), with a simple command line.</p>
<p>Just mount the ipod, and execute the script, passing the ipod&#8217;s root directory as a parameter. That&#8217;s it! The script loads your KDE addressbook, makes a few simple modifications the iPod requires, and copies it across.</p>
<p>Download <a href="http://winterbug.com/wordpress/wp-content/uploads/2006/08/kde_ipod_sync.rb">kde_ipod_sync.rb</a></p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/08/kaddressbook-synchonisation-to-your-ipod/feed/</wfw:commentRss>
		</item>
		<item>
		<title>C++ Thread Class using SDL</title>
		<link>http://winterbug.com/wordpress/2006/08/c-thread-class-using-sdl/</link>
		<comments>http://winterbug.com/wordpress/2006/08/c-thread-class-using-sdl/#comments</comments>
		<pubDate>Thu, 03 Aug 2006 16:08:34 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://winterbug.com/2006/08/04/c-thread-class-using-sdl/</guid>
		<description><![CDATA[Download
Grab the thread.cpp and thread.h source files.
Introduction
Today I decided to write a cross platform thread class. After a quick look around, the contenders for the job of hiding operating system dependent code seemed to be:

Boost
ACE
SDL

As I&#8217;m after simplicity, SDL seems the appropriate choice as the API is basic and quite low level, yet I&#8217;m not [...]]]></description>
			<content:encoded><![CDATA[<h3>Download</h3>
<p>Grab the <a id="p13" href="http://winterbug.com/wordpress/wp-content/uploads/2006/08/thread.cpp"></a><a href="http://winterbug.com/wordpress/wp-content/uploads/2006/08/thread.cpp">thread.cpp</a> and <a id="p14" href="http://winterbug.com/wordpress/wp-content/uploads/2006/08/thread.h">thread.h</a> source files.</p>
<h3>Introduction</h3>
<p>Today I decided to write a cross platform thread class. After a quick look around, the contenders for the job of hiding operating system dependent code seemed to be:</p>
<ul>
<li><a href="http://boost.org">Boost</a></li>
<li><a href="http://http://www.cs.wustl.edu/~schmidt/ACE.html">ACE</a></li>
<li><a href="http://libsdl.org">SDL</a></li>
</ul>
<p>As I&#8217;m after simplicity, SDL seems the appropriate choice as the API is basic and quite low level, yet I&#8217;m not exposed to any platform specific code. One thing it&#8217;s missing that I thought might become useful in the future is thread priorities, but for now that&#8217;s something I can live without.</p>
<h3>The Class</h3>
<p>The three SDL functions I need to use for this class are:</p>
<table border="0">
<tbody>
<tr>
<th>Function</th>
<th>Description</th>
</tr>
<tr>
<td>SDL_CreateThread</td>
<td>Create the initial thread</td>
</tr>
<tr>
<td>SDL_WaitThread</td>
<td>Wait for the thread to finish executing</td>
</tr>
<tr>
<td>SDL_KillThread</td>
<td>Force the thread to die</td>
</tr>
</tbody>
</table>
<p>The first thing we need to do is to be able to start the thread. We do this with the following code:</p>
<pre>void
Thread::start()
{
    if (!m_running)
    {
        m_running = true;
        m_thread = SDL_CreateThread(runThread, this);
    }
}</pre>
<p>First we do a simple check to see if the thread has already been created, then we create the thread passing the entry function to the thread as the first function, and a pointer to this class as the second. The reason behind this combination of parameters, is because the first parameter must be a simple function pointer, and cannot point to a member function of a class. runThread() is a static function of on the class which fulfills this requirement. We therefore pass the the object pointer in as well so we can reference back to ourselves.</p>
<p>This becomes more obvious in the entry point function:</p>
<pre>int
Thread::runThread(void *data)
{
    Illuminate::Thread *thread = static_cast
(data);

    thread-&gt;run();

    return true;
}</pre>
<p>In this function, we first cast the data parameter back to the original Thread object which originally created the thread. We can then call the run() method which is the virtual method implemented in the subclass. We also keep track of the running state of the thread which can be accessed from the isRunning() method, and reset m_thread back to 0 so the thread can be started again.</p>
<h3>Usage</h3>
<p>Derive from the Thread abstract base class. Implement the void run() method. Construct your new class as an object and call start(). That&#8217;s it!</p>
<pre>#include "thread.h"

using namespace Illuminate;

class MyThread : public Thread
{
  private:
    virtual void run() {}
};

int main()
{
    MyThread thread;
    thread.start();       // start the thread
    thread.join();        // wait for the thread to complete
    return 0;
}</pre>
<h3>Problems</h3>
<p>The main current weakness of this class is the lack of thread safety, although there is unlikely to be problems in most suitations. A possible scenario which may cause problems is if the join() is called at the same time that the thread is completing as they both access the m_thread variable. The easiest way to get around this is through the use of locking, with which SDL supplies a simple interface for.</p>
<h3>Conclusion</h3>
<p>Well that&#8217;s it. A very simple class which allows a programmer to access some very advanced features. However it&#8217;s not all smooth sailing. Once you move down the path of threaded applications, you enter the realm of mutexes, which brings in a range of problems from deadlocking or worse!</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/08/c-thread-class-using-sdl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Theme</title>
		<link>http://winterbug.com/wordpress/2006/07/new-theme/</link>
		<comments>http://winterbug.com/wordpress/2006/07/new-theme/#comments</comments>
		<pubDate>Sat, 08 Jul 2006 17:47:54 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://winterbug.com/2006/07/09/new-theme/</guid>
		<description><![CDATA[The theme, inspired by the brilliant Slashdot page, has matured to a point where I&#8217;m not embarrassed to show it off. Don&#8217;t look too closely cause there are many things still broken, mostly the fonts and colours, but hopefully these will be cleaned up within the week.
I would have to say that writing this theme [...]]]></description>
			<content:encoded><![CDATA[<p>The theme, inspired by the brilliant <a title="Slashdot" href="http://slashdot.org">Slashdot</a> page, has matured to a point where I&#8217;m not embarrassed to show it off. Don&#8217;t look too closely cause there are many things still broken, mostly the fonts and colours, but hopefully these will be cleaned up within the week.</p>
<p>I would have to say that writing this theme has been an interesting learning experience in <a title="W3Schools Online Web Tutorials" href="http://www.w3schools.com/css">CSS</a>. When I have uploaded the final theme, I&#8217;ll make it available for download to anyone thats interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/07/new-theme/feed/</wfw:commentRss>
		</item>
		<item>
		<title>European Holiday</title>
		<link>http://winterbug.com/wordpress/2006/05/european-holiday/</link>
		<comments>http://winterbug.com/wordpress/2006/05/european-holiday/#comments</comments>
		<pubDate>Mon, 29 May 2006 16:55:44 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Europe]]></category>

		<guid isPermaLink="false">http://winterbug.com/2006/05/30/european-holiday/</guid>
		<description><![CDATA[Holly and I are currently on our European Holiday. This consist of 6 weeks travelling through the following destinations:

London
Paris
Dijon
Zurich
Munich
Salzburg
Verona
Rome

Check out the photos at http://gallery.winterbug.com
]]></description>
			<content:encoded><![CDATA[<p>Holly and I are currently on our European Holiday. This consist of 6 weeks travelling through the following destinations:</p>
<ul>
<li>London</li>
<li>Paris</li>
<li>Dijon</li>
<li>Zurich</li>
<li>Munich</li>
<li>Salzburg</li>
<li>Verona</li>
<li>Rome</li>
</ul>
<p>Check out the photos at <a title="The Gallery" href="http://gallery.winterbug.com">http://gallery.winterbug.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/05/european-holiday/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Introduction to Illuminate</title>
		<link>http://winterbug.com/wordpress/2006/04/introduction-to-illuminate/</link>
		<comments>http://winterbug.com/wordpress/2006/04/introduction-to-illuminate/#comments</comments>
		<pubDate>Tue, 18 Apr 2006 16:24:29 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[Illuminate]]></category>

		<guid isPermaLink="false">http://winterbug.com/?p=6</guid>
		<description><![CDATA[So it&#8217;s about time I introduce what Illuminate it about. It was originally started by Matt Comi several years ago and was an attempt to produce a car racing game of sorts.
I joined Matt shortly afterwards with the dream of producing a polished game within a year. Reality then set in that we did still [...]]]></description>
			<content:encoded><![CDATA[<p>So it&#8217;s about time I introduce what Illuminate it about. It was originally started by Matt Comi several years ago and was an attempt to produce a car racing game of sorts.</p>
<p>I joined Matt shortly afterwards with the dream of producing a polished game within a year. Reality then set in that we did still have to function in our full time jobs at Nautronix during the day and that spending hours each night hacking code wasn&#8217;t going to cut it. So I guess it has taken a back seat in which it is something that&#8217;s tinkered around with during spare time, to learn more about 3D game programming.</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/04/introduction-to-illuminate/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome</title>
		<link>http://winterbug.com/wordpress/2006/04/4/</link>
		<comments>http://winterbug.com/wordpress/2006/04/4/#comments</comments>
		<pubDate>Tue, 18 Apr 2006 10:16:35 +0000</pubDate>
		<dc:creator>Ryan Winter</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.winterbug.com/2006/05/26/4/</guid>
		<description><![CDATA[nothing here, cause I dont know where it goes]]></description>
			<content:encoded><![CDATA[<p>I have finally decided on Wordpress. Check back for more info soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://winterbug.com/wordpress/2006/04/4/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
