<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Facticius indoles</title>
	<atom:link href="http://huragok.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://huragok.wordpress.com</link>
	<description></description>
	<lastBuildDate>Tue, 03 Jan 2012 00:57:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='huragok.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Facticius indoles</title>
		<link>http://huragok.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://huragok.wordpress.com/osd.xml" title="Facticius indoles" />
	<atom:link rel='hub' href='http://huragok.wordpress.com/?pushpress=hub'/>
		<item>
		<title>cloudlab.io: Benchmarking</title>
		<link>http://huragok.wordpress.com/2012/01/03/cloudlab-io-benchmarking/</link>
		<comments>http://huragok.wordpress.com/2012/01/03/cloudlab-io-benchmarking/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 00:57:54 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[cloudlab.io]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Seditious Technologies]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[octave]]></category>
		<category><![CDATA[sage]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=1044</guid>
		<description><![CDATA[In trying to build a good replacement for other numerical processing applications, we’ve needed to benchmark the performance of cloudlab versus other places in which JavaScript can be run to process numbers &#8230; - Me, over at the cloudlab.io blog For those who don&#8217;t know, cloudlab.io is an online numerical processing suite akin to Matlab or Octave [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=1044&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>In trying to build a good replacement for other numerical processing applications, we’ve needed to benchmark the performance of cloudlab versus other places in which JavaScript can be run to process numbers &#8230;</p>
<p>- <a href="http://blog.cloudlab.io/post/15211899560/benchmarking">Me, over at the cloudlab.io blog</a></p></blockquote>
<p>For those who don&#8217;t know, <a href="http://cloudlab.io">cloudlab.io</a> is an online numerical processing suite akin to Matlab or Octave or Sage that utilizes JSON and Javascript and the POWER OF THE CLOUD!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/1044/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/1044/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/1044/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=1044&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2012/01/03/cloudlab-io-benchmarking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>Occupy Brisbane: Day 1 (Photos)</title>
		<link>http://huragok.wordpress.com/2011/10/15/occupy-brisbane-day-1-photos/</link>
		<comments>http://huragok.wordpress.com/2011/10/15/occupy-brisbane-day-1-photos/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 06:35:22 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Brisbane]]></category>
		<category><![CDATA[occupy x]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=1025</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=1025&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<a href="http://huragok.wordpress.com/2011/10/15/occupy-brisbane-day-1-photos/#gallery-1-slideshow">Click to view slideshow.</a>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/1025/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/1025/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/1025/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/1025/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/1025/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/1025/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/1025/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/1025/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/1025/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/1025/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/1025/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/1025/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/1025/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/1025/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=1025&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/10/15/occupy-brisbane-day-1-photos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>Anarchism</title>
		<link>http://huragok.wordpress.com/2011/10/14/anarchism/</link>
		<comments>http://huragok.wordpress.com/2011/10/14/anarchism/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 11:52:03 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[anarchism]]></category>
		<category><![CDATA[occupy x]]></category>
		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=1010</guid>
		<description><![CDATA[It may not be widely known but I am an Anarchist. When someone comes out and says this, the first thing that may come to mind is violent rioters in black vandalising storefronts as has been the case with many of the anti-globalization / G20 protests. No, this isn&#8217;t what anarchism is all about. Anarchism [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=1010&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">It may not be widely known but I am an Anarchist. When someone comes out and says this, the first thing that may come to mind is violent rioters in black vandalising storefronts as has been the case with many of the anti-globalization / G20 protests. No, this isn&#8217;t what anarchism is all about. Anarchism in its simplest terms means without leaders or ruling classes. Anarchism when practiced without coercion is really a nice system of living: live your life, don&#8217;t tread on me and I won&#8217;t tread on you.</p>
<p style="text-align:justify;">Unfortunately, the reason we&#8217;re all stuck on this dumb rock is that capital flows mainly in one direction these days: up towards those with the majority of it. The reason the Occupy X movement has been gaining ground in the United States is that with 10+% unemployment (more for other elements of society), crippling debt and the incredulous sums paid out to financial institutions for acting <em>illegally</em>, the poor are becoming poorer and the richer are becoming richer. Besides the degradation in workers rights, the influence of money in the political process and the ever growing totalitarian police state, people are waking up to the fact they are getting screwed over from cradle to the grave.</p>
<p style="text-align:justify;">It&#8217;s not as bad here in Australia. We enjoy a fairly robust political system (not to be confused with the current policies and leadership of those currently in government) and workers rights are fairly good (thanks to the abolition of Work Choices). Unionism is on the decline, the same unionism that gave us the rights we have at work now. All in all, we&#8217;ve got it pretty good, but isn&#8217;t it better to strive for something even better?</p>
<div id="attachment_1015" class="wp-caption alignright" style="width: 67px"><a href="http://huragok.files.wordpress.com/2011/10/ob-flyer.pdf"><img class="size-thumbnail wp-image-1015 " title="The Black Flag" src="http://huragok.files.wordpress.com/2011/10/black-flag.png?w=57&#038;h=57" alt="Download" width="57" height="57" /></a><p class="wp-caption-text">Download</p></div>
<p style="text-align:justify;">I&#8217;m planning on turning-out to the Occupy Brisbane protest tomorrow to gauge the feelings of those who want to make things better (hopefully a valid supposition). As such, I&#8217;ve thrown together a little primer on anarchism (click the picture to download) that tries to get tongues wagging with some general information and some questions that should spur discussion. I&#8217;m no ideologue, just an engineer with some hopes and some ideas, so don&#8217;t think this is the be-all and end-all of what anarchism is about. Comments would be very welcome and what&#8217;s the harm in ideas?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/1010/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/1010/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/1010/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/1010/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/1010/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/1010/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/1010/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/1010/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/1010/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/1010/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/1010/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/1010/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/1010/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/1010/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=1010&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/10/14/anarchism/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/10/black-flag.png?w=57" medium="image">
			<media:title type="html">The Black Flag</media:title>
		</media:content>
	</item>
		<item>
		<title>I did a Thing</title>
		<link>http://huragok.wordpress.com/2011/08/29/i-did-a-thing/</link>
		<comments>http://huragok.wordpress.com/2011/08/29/i-did-a-thing/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 03:28:00 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Papers]]></category>
		<category><![CDATA[Professional Matters]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=998</guid>
		<description><![CDATA[I&#8217;m a published author of a conference paper: The testing and monitoring of elite athletes in their natural training environment is becoming an area of interest to the sporting community. Specialised equipment is cumbersome and influences the training and analysis regimens athletes undertake to improve their performance. Ubiquitous and off-the-shelf versatile smartphones with advanced sensing capabilities [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=998&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://huragok.files.wordpress.com/2011/08/zoidberg-hooray.jpeg"><img class="alignright size-medium wp-image-999" style="border-color:initial;border-style:initial;border-width:0;" title="zoidberg-hooray" src="http://huragok.files.wordpress.com/2011/08/zoidberg-hooray.jpeg?w=300&#038;h=267" alt="" width="300" height="267" /></a>I&#8217;m a published author of a <a href="http://www.sciencedirect.com/science/article/pii/S1877705811010368" target="_blank">conference paper</a>:</p>
<blockquote><p>The testing and monitoring of elite athletes in their natural training environment is becoming an area of interest to the sporting community. Specialised equipment is cumbersome and influences the training and analysis regimens athletes undertake to improve their performance. Ubiquitous and off-the-shelf versatile smartphones with advanced sensing capabilities can be applied to sports activity monitoring, providing a cost-effective means of widespread performance analysis. This paper briefly outlines the case for using these smartphones in sports monitoring applications, presents a model to collect data generated by these devices and presents the results of real-world usage when applied to cricket.</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/998/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/998/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/998/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/998/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/998/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/998/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/998/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/998/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/998/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/998/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/998/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/998/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/998/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/998/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=998&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/08/29/i-did-a-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/08/zoidberg-hooray.jpeg?w=300" medium="image">
			<media:title type="html">zoidberg-hooray</media:title>
		</media:content>
	</item>
		<item>
		<title>Processing for iOS Update</title>
		<link>http://huragok.wordpress.com/2011/08/15/processing-for-ios-update/</link>
		<comments>http://huragok.wordpress.com/2011/08/15/processing-for-ios-update/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 05:59:03 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Seditious Technologies]]></category>
		<category><![CDATA[Compilers]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=987</guid>
		<description><![CDATA[Currently, we have a (mostly) working implementation of the core library sans 3D-rendering subsystem components. We can code, deploy and run these processing sketches on all of the iOS devices (iOS 3.2+). However, there are a few issues we’re wrangling with right now and it’s because of the toolchain which makes this whole Processing sketch [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=987&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>Currently, we have a (mostly) working implementation of the core library sans 3D-rendering subsystem components. We can code, deploy and run these processing sketches on all of the iOS devices (iOS 3.2+). However, there are a few issues we’re wrangling with right now and it’s because of the toolchain which makes this whole Processing sketch to App conversion. To understand the problems involved, let’s have a look at how we do it. <a href="http://seditious-tech.com/2011/08/15/processing-for-ios-update/">Read more here.</a></p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/987/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/987/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/987/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=987&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/08/15/processing-for-ios-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>Redaction Snippet</title>
		<link>http://huragok.wordpress.com/2011/07/14/redaction-snippet/</link>
		<comments>http://huragok.wordpress.com/2011/07/14/redaction-snippet/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 19:16:57 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[User Experience]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=975</guid>
		<description><![CDATA[My name is Tristan and my number is ###-####. Obviously you wouldn&#8217;t really use CSS to redact information, but it serves as a clue to the reader that this information is hidden for a reason.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=975&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: css;">
.redact {
  background-color: black;
  color: black;
}
</pre><br />
<pre class="brush: xml;">
&lt;p&gt;My name is Tristan and my number is &lt;span class=&quot;redact&quot;&gt;###-####&lt;/span&gt;.&lt;/p&gt;
</pre></p>
<p>My name is Tristan and my number is <span style="background-color:black;color:black;">###-####</span>.</p>
<p>Obviously you wouldn&#8217;t really use CSS to redact information, but it serves as a clue to the reader that this information is hidden for a reason.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/975/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/975/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/975/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=975&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/07/14/redaction-snippet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>Processing for iOS / Seditious Technologies</title>
		<link>http://huragok.wordpress.com/2011/06/06/processing-for-ios-seditious-technologies/</link>
		<comments>http://huragok.wordpress.com/2011/06/06/processing-for-ios-seditious-technologies/#comments</comments>
		<pubDate>Sun, 05 Jun 2011 20:11:15 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Seditious Technologies]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[San Francisco]]></category>
		<category><![CDATA[WWDC]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=945</guid>
		<description><![CDATA[Guys and gals, I guess it&#8217;s time for me to come out of the entrepreneurial closet. Stu Mac and I got together a few months ago to work on some web app stuff for fun and profit, and it looked pretty damn promising. So we started Seditious Technologies (edgy names are so Web 2.0). Thanks to some pivoting, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=945&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://huragok.files.wordpress.com/2011/06/processing.png"><img class="alignright size-full" style="margin-left:10px;margin-right:10px;" title="Processing for iOS" src="http://huragok.files.wordpress.com/2011/06/processing.png?w=958" alt=""   /></a>Guys and gals, I guess it&#8217;s time for me to come out of the entrepreneurial closet. <a href="fractureddesigns.wordpress.com">Stu Mac</a> and I got together a few months ago to work on some web app stuff for fun and profit, and it looked pretty damn promising. So we started <a href="http://seditious-tech.com/2011/06/01/well-here-we-are/">Seditious Technologies</a> (<em>edgy names are so <a href="http://unsuck-it.com/web-2-0/">Web 2.0</a></em>).</p>
<p>Thanks to some <a href="http://unsuck-it.com/pivot/">pivoting</a>, we&#8217;ve been working on something pretty damn cool: <a href="http://seditious-tech.com/2011/06/06/product-announcement-processing-for-ios/">Processing for iOS</a>. What it is is a set of libraries and tools which allow the processing user/developer to deploy native apps into the iOS ecosystem. We&#8217;re also working on some cool extras that will make the non-coding parts of the development process easier.</p>
<p>The core processing implementation we are developing is a clean-room one developed from the available documentation, and while it makes things kinda hard doing it this way it is necessary in maintaining our obligations to the open source community. It&#8217;s not going to be a free product, however we are exploring ideas on pricing taking into account the differences between hobbyists and commercial enterprises. We will be contributing back to the relevant open-source tools we do use and modify in accordance with the various open source licences.</p>
<p>Anyway, have a look at the <a href="http://seditious-tech.com/2011/06/06/product-announcement-processing-for-ios/">video in our announcement</a>. If you&#8217;re in the San Francisco Bay Area or at WWDC this week and you want to meet up and talk about Processing for iOS, or what Seditious Technologies can do for you (we also do client work), just reply here, send me an email or tweet and I&#8217;ll get back to you ASAP.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/945/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/945/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=945&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/06/06/processing-for-ios-seditious-technologies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/06/processing.png" medium="image">
			<media:title type="html">Processing for iOS</media:title>
		</media:content>
	</item>
		<item>
		<title>FlightGear and iOS</title>
		<link>http://huragok.wordpress.com/2011/04/22/flightgear-and-ios/</link>
		<comments>http://huragok.wordpress.com/2011/04/22/flightgear-and-ios/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 07:26:55 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[FlightGear]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=888</guid>
		<description><![CDATA[So I whipped-up a rough flight controller for FlightGear using Accelerometer-Simulator (AccSim) and Mono. With this bridging application, you can control the roll and pitch of your aircraft using any iOS device that can run AccSim. One caveat right now is that, at least on my machine, it chugs the system down to one frame [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=888&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignright size-full wp-image-136" style="margin-left:10px;margin-right:10px;" title="mzl.zkxqfelw.100x100-75" src="http://huragok.files.wordpress.com/2010/04/mzl-zkxqfelw-100x100-75.jpg?w=958" alt=""   />So I whipped-up a rough flight controller for <a href="http://www.flightgear.org/">FlightGear</a> using <a href="https://code.google.com/p/accelerometer-simulator/">Accelerometer-Simulator</a> (AccSim) and Mono. With this bridging application, you can control the roll and pitch of your aircraft using any iOS device that can run AccSim. One caveat right now is that, at least on my machine, it chugs the system down to one frame per second. I have a feeling that this has something to do with the way FlightGear&#8217;s internal modelling system runs, or it&#8217;s because I&#8217;m continually shoving data down it&#8217;s throat as fast as the socket will allow &#8230; but that&#8217;s an optimization for another day.</p>
<p><img class="alignright size-full wp-image-889" style="margin:10px;" title="FG" src="http://huragok.files.wordpress.com/2011/04/fg.png?w=958" alt=""   /></p>
<p style="text-align:justify;">The provided socket interface to FlightGear is pretty neat, and I could definitely see creating a native app on the horizon if I thought there was any interest or money in it. Being able to control your autopilot, flight controls and aircraft systems through an iOS device would be pretty sweet.</p>
<p style="text-align:justify;">You can grab the solution <a href="http://dl.dropbox.com/u/5869984/Open%20Source/NFGConnector.zip">here</a> (MIT Licence) and Accelerometer-Simulator <a href="http://itunes.apple.com/us/app/accelerometer-simulator/id336476721?mt=8">here</a> (it&#8217;s free). Read the README.txt file for more information on how to use it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/888/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/888/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/888/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=888&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/04/22/flightgear-and-ios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/04/mzl-zkxqfelw-100x100-75.jpg" medium="image">
			<media:title type="html">mzl.zkxqfelw.100x100-75</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/04/fg.png" medium="image">
			<media:title type="html">FG</media:title>
		</media:content>
	</item>
		<item>
		<title>Copland 2010: A Partial Solution?</title>
		<link>http://huragok.wordpress.com/2011/04/20/copland-2010-a-partial-solution/</link>
		<comments>http://huragok.wordpress.com/2011/04/20/copland-2010-a-partial-solution/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 08:44:02 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Speculation]]></category>
		<category><![CDATA[WWDC]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=876</guid>
		<description><![CDATA[This year the promotional hint that Apple dropped was Join us for a preview of the future of iOS and Mac OS X. On the surface it&#8217;s saying &#8220;hey, we got OS X Lion and we&#8217;ll be shipping the next iPhone soon&#8221;. While everyone in the digital punditry scene seems to agree on this, I think [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=876&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_882" class="wp-caption alignright" style="width: 310px"><img class="size-medium wp-image-882" title="copland2010" src="http://huragok.files.wordpress.com/2011/04/copland2010.png?w=300&#038;h=168" alt="" width="300" height="168" /><p class="wp-caption-text">Image courtesy of Ars Technica</p></div>
<p style="text-align:justify;">This year the promotional hint that Apple dropped was <em>Join us for a preview of the future of iOS and Mac OS X</em>. On the surface it&#8217;s saying &#8220;hey, we got OS X Lion and we&#8217;ll be shipping the next iPhone soon&#8221;. While everyone in the digital punditry scene seems to agree on this, I think John Siracusa on the latest <a href="http://5by5.tv/hypercritical/14"><em>Hypercritical</em> (A Dark Age of Objective-C)</a> may be onto something with his <a href="http://arstechnica.com/staff/fatbits/2005/09/1372.ars">Avoiding Copland 2010</a> thesis.</p>
<p style="text-align:justify;">Basically, his central argument boils down to a software technology crisis: Apple hasn&#8217;t got a plan to modernise its software architecture and they&#8217;re in for some <em>Heavy Shit</em> ©. He posits that Objective-C, while given a boost in necessity thanks to resource-constrained iOS devices, hasn&#8217;t kept track with the wider development world which has transitioned to memory-managed languages like Java, C#, and dynamic languages like Ruby and Javascript. While the language itself has evolved (for example, <a href="https://huragok.wordpress.com/2010/06/25/blocks/">Blocks</a>), Objective-C for the most part is still a wrapper over C. OS X and iOS still share a common ancestor in <a href="http://en.wikipedia.org/wiki/NeXTSTEP">NeXTSTEP</a> which was created <em>decades</em> ago, something akin to the lineage of Microsift&#8217;s NT kernel.</p>
<p style="text-align:justify;">I have to agree with him and I for one could see <em>Lion</em> as the tail end of OS X. If the message Apple is giving us with WWDCs subtitle is read between the lines, then perhaps we could see an announcement that addresses Siracusa&#8217;s concern. Can Apple do away with Objective-C and Cocoa? Assuming Apple wants to sink some <a href="http://www.businessweek.com/technology/ByteOfTheApple/blog/archives/2010/01/almost_40_billion_in_cash_what_is_apple_waiting_for.html">serious cash</a> into developing the next leap in operating system architecture (i.e. their <a href="http://en.wikipedia.org/wiki/Midori_(operating_system)">Midori</a>) and kill a bunch of developers by transitioning to a totally new non-legacy programming interface, what are their options when it comes to the de-facto programming language?</p>
<p style="text-align:justify;">Apple with learned from many third parties that they can&#8217;t rely on others for support. Java is out, thanks to Oracle&#8217;s <a href="http://arstechnica.com/tech-policy/news/2010/08/oracle-sues-google-over-use-of-java-in-android-sdk.ars">asshattery</a>. C#, while an open ECMA standard, is predominately a Microsoft technology bound to the .NET platform. Sure, they could finagle the language onto a new framework that implements just the standard-defined types, but let&#8217;s just agree that C# and .NET were made for each other. For the past few years, Apple has been pouring a bunch of resources into the  <a title="LLVM Project" href="http://llvm.org/">LLVM Project</a>. What&#8217;s interesting about this toolchain is that you can have multiple front ends and all the features of modern compilers like JIT and position independent code (PIC). Apple could in theory support any language with a LLVM front end.</p>
<p>A language like Objective-C.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/876/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/876/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/876/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=876&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/04/20/copland-2010-a-partial-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/04/copland2010.png?w=300" medium="image">
			<media:title type="html">copland2010</media:title>
		</media:content>
	</item>
		<item>
		<title>WWDC 2011: Empire Strikes Back</title>
		<link>http://huragok.wordpress.com/2011/04/20/wwdc-2011-empire-strikes-back/</link>
		<comments>http://huragok.wordpress.com/2011/04/20/wwdc-2011-empire-strikes-back/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 08:36:41 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[AUC]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[San Francisco]]></category>
		<category><![CDATA[WWDC]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=867</guid>
		<description><![CDATA[I went to Apple&#8217;s Worldwide Developer&#8217;s Conference last year in San Francisco and it was awesome. Thanks to the Apple University Consortium (AUC), I&#8217;m going again this year on the Student Competitive Scholarship. The AUC is a fantastic organisation for Australian university students because they provide training, grants and resources to students, foster a healthy attitude [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=867&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignright size-medium wp-image-868" style="margin-left:10px;margin-right:10px;" title="WWDC 2011" src="http://huragok.files.wordpress.com/2011/04/wwdc2011.png?w=300&#038;h=185" alt="" width="300" height="185" />I went to Apple&#8217;s Worldwide Developer&#8217;s Conference last year in San Francisco and it was awesome. Thanks to the <a href="http://auc.edu.au/">Apple University Consortium</a> (AUC), I&#8217;m going again this year on the Student Competitive Scholarship. The AUC is a fantastic organisation for Australian university students because they provide training, grants and resources to students, foster a healthy attitude of Apple technologies but not cram the message of BUY APPLE STUFF!!!1 down your throat.</p>
<p style="text-align:justify;">In any case, my learning aims for WWDC in June are a bit different from last year. Last year I was a nascent iOS developer looking for a better knowledge of the platform and luckily for me, the majority of sessions were geared towards iOS. This year, I&#8217;m looking to improve my web applications knowledge and low-level iOS programming (OpenCL, optimisation strategies etc).</p>
<p style="text-align:justify;">If I&#8217;m lucky, I might even pick up an iPad 2 if the exchange rate holds&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/867/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=867&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/04/20/wwdc-2011-empire-strikes-back/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/04/wwdc2011.png?w=300" medium="image">
			<media:title type="html">WWDC 2011</media:title>
		</media:content>
	</item>
		<item>
		<title>Scope TV Segment</title>
		<link>http://huragok.wordpress.com/2011/04/10/scope-tv-segment/</link>
		<comments>http://huragok.wordpress.com/2011/04/10/scope-tv-segment/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 03:58:22 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Professional Matters]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=847</guid>
		<description><![CDATA[Back in December of last year, the guys from Scope TV filmed a segment with me about my research on using smartphones in sport. I basically go over the dumbed-down version of my research and even show a bit of the research software I&#8217;ve developed (waiting for peer-reviewed publications to go through before I expound [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=847&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-849 alignright" title="Scope TV" src="http://huragok.files.wordpress.com/2011/04/scopetv.png?w=300&#038;h=167" alt="Scope TV" width="300" height="167" /></p>
<p>Back in December of last year, the guys from Scope TV filmed a segment with me about my research on using smartphones in sport. I basically go over the dumbed-down version of my research and even show a bit of the research software I&#8217;ve developed (waiting for peer-reviewed publications to go through before I expound on the details of it).</p>
<p>A big thanks to <a href="http://www.digiphd.com/">Roger Chappel</a> for serving as a running prop. You can find the <strong><em>Smart Phone Tech</em></strong> video <a href="http://ten.com.au/video.htm?movideo_p=41450&amp;movideo_m=100340">here at Channel Ten</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/847/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/847/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/847/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=847&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/04/10/scope-tv-segment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/04/scopetv.png?w=300" medium="image">
			<media:title type="html">Scope TV</media:title>
		</media:content>
	</item>
		<item>
		<title>iOS Device Sensing: Native Applications</title>
		<link>http://huragok.wordpress.com/2011/04/01/ios-device-sensing-native-applications/</link>
		<comments>http://huragok.wordpress.com/2011/04/01/ios-device-sensing-native-applications/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 07:43:47 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Sensing]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=744</guid>
		<description><![CDATA[Sensing on commodity smartphone hardware and its application to human activity monitoring is the subject of my research as a PhD student. In this article I present an evaluation of the (mostly free) applications currently available on the iOS App Store pertinent to my work. MobileLogger [Free] This app is my favorite offline logging application that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=744&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sensing on commodity smartphone hardware and its application to human activity monitoring is the subject of my research as a PhD student. In this article I present an evaluation of the (mostly free) applications currently available on the iOS App Store pertinent to my work.</p>
<p><span style="font-size:20px;font-weight:bold;">MobileLogger [<a href="http://itunes.apple.com/us/app/mobilelogger/id365459773?mt=8#">Free</a>]</span></p>
<p><img class="size-full wp-image-745 alignright" title="MobileLogger" src="http://huragok.files.wordpress.com/2011/03/img_0233.png?w=958" alt=""   /></p>
<p>This app is my favorite offline logging application that has great functionality and a damn fine interface . Compatible with iOS 4, it allows the logging of acceleration, location, heading and audio. Logging formats include CSV, JSON, <a href="http://goldencheetah.org/">Golden Cheetah</a> and <a href="http://en.wikipedia.org/wiki/GPS_eXchange_Format">GPX</a>. Logs can be emailed in the desired format, or you can dump all logs (stored in a SQLite database) and have that emailed to you.</p>
<p>A very interesting facet of the app is the backing web application which presents a <a href="http://mobilelogger.robertcarlsen.net/">unique geographical view</a> of users who&#8217;ve chosen to upload their data. Developer <a href="http://robertcarlsen.net/">Robert Carlson</a> did an outstanding job with the user interface; reviewing logs is a breeze with pertinent metrics like duration, distance and speed. The only faults I can give the app is a lack of gyroscope support using the new CoreMotion framework, and that the Dashboard view looks a little simplistic and underwhelming compared to the polished quality of the rest of the app. Nitpicks really.</p>
<p>MobileLogger is available free on the <a href="http://itunes.apple.com/us/app/mobilelogger/id365459773?mt=8#">iTunes App Store</a> and you can grab the <a href="https://www.appcelerator.com/">Titanium</a> source code (GPLv3) on <a href="http://github.com/rcarlsen/Mobile-Logger">GitHub</a>.</p>
<h2>SensorLogger [<a href="http://itunes.apple.com/au/app/sensorlogger/id383595336?mt=8">Free</a>]</h2>
<p><img class="alignright size-full wp-image-754" title="SensorLogger" src="http://huragok.files.wordpress.com/2011/03/img_0234.png?w=958" alt=""   />I require realtime sensor data feeds for my research, so when I needed something to fill the gap while my own app was in development, SensorLogger stepped into the breech and gave me what I needed. SensorLogger is much like MobileLogger, but with a more .. <em>utilitarian</em> interface, support for the gyroscope and realtime streaming over UDP sockets. Logs are recorded on the client&#8217;s side in CSV format and can be emailed after recording. Also available from the developer is a SensorLogger network listener (Objective-C) and a <a href="http://en.wikipedia.org/wiki/Quartz_Composer">Quartz Composer</a> plugin.</p>
<p>While data can be streamed, the downside is that there&#8217;s no binary streaming mode &#8211; data is transmitted in text form and in the clear.  I&#8217;ve also found occasional glitching in its storage of log data and transmission of high-frequency multi-channel data (i.e. <a href="http://tvtropes.org/pmwiki/pmwiki.php/Main/UpToEleven">turning it up to 11</a>).</p>
<p>SensorLogger was developed by <a href="http://scottgerring.com/">Scott Gerring</a> at <a href="http://amongstbits.com/sensorLogger.html">AmongstBits</a> and is available for free on the <a href="http://itunes.apple.com/au/app/sensorlogger/id383595336?mt=8">iTunes App Store</a>.</p>
<h2>Sensor Monitor [<a href="http://itunes.apple.com/us/app/sensor-monitor/id381075251?mt=8">Freemium</a>]</h2>
<p><img class="alignright size-full wp-image-766" title="photo" src="http://huragok.files.wordpress.com/2011/04/photo.png?w=958" alt=""   />Certainly the most comprehensive coverage of iOS sensing, <a href="http://app.fuzzface.net/sensor-monitor">Sensor Monitor by Ko, Young-woo</a> is a hard app to love. The interface seems ad-hoc and consists of UI components dropped into a view and organised with tabs. Another gripe I have is that unlike SensorLogger and MobileLogger, logging in the free version consists of  individual sensor channels dumped into separate files.</p>
<p>Sensor Monitor&#8217;s redeeming feature is it&#8217;s coverage of the different sensors (location, heading, acceleration, rotation, audio, battery, and touch gestures). While I&#8217;ve not upgraded the app (UDP streaming becomes available), I could see this app becoming much more useful for non-techie users if the interface was cleaned-up and getting your data out for multi-sensing sessions wasn&#8217;t such a pain.</p>
<p>I can&#8217;t really recommend this app for the average user, but the free version is good enough for developers and techies.</p>
<h2>xSensor [<a href="http://itunes.apple.com/us/app/xsensor/id345145166?mt=8">Free</a>/<a href="http://itunes.apple.com/us/app/xsensor-pro/id345830472?mt=8">Paid</a>]</h2>
<p><img class="alignright size-full wp-image-771" title="photo 1" src="http://huragok.files.wordpress.com/2011/04/photo-1.png?w=958" alt=""   />Coming in second last is xSensor (free) and xSensor Pro (USD $9.99) by <a href="http://www.xbow.com/">Crossbow Technology, Inc</a>. This app came out quite a while ago and isn&#8217;t quite up to date in terms of sensing capability, but it has a slick, easy-to-use interface that most users can appreciate. Sensing is restricted to accelerometry, location and heading and is limited to some odd sample rates (1/4/16/32 Hz). Files can be logged to CSV format, and the paid Pro version increases the size of logged data.</p>
<p>While the free version of the app is great for just about everyone, asking $9.99 for the pro version is really just gouging the user (I got mine on sale!).</p>
<h2><span style="color:#ffffff;">_</span></h2>
<h2>Accelerometer-Simulator [<a href="http://itunes.apple.com/us/app/accelerometer-simulator/id336476721?mt=8">Free</a>]</h2>
<p><img class="alignright size-full wp-image-772" title="photo 2" src="http://huragok.files.wordpress.com/2011/04/photo-2.png?w=958" alt=""   />Accelerometer-Simulator (AccSim) was my first experience with using iOS for activity monitoring purposes, and I&#8217;ve used this app for a number of different applications aside from my research (see: <a title="Processing and the iPhone: Accelerometer Data" href="http://huragok.wordpress.com/2010/04/28/processing-and-the-iphone-accelerometer-data/">Processing and the iPhone</a>). For data logging purposes it&#8217;s okay, but its real purpose is to give your simulated app real accelerometer data through UIKit&#8217;s <a href="http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIAccelerometer_Class/Reference/UIAccelerometer.html">UIAccelerometer</a> and an XCode #include.</p>
<p>These days AccSim is a bit dated and doesn&#8217;t support the new CoreMotion framework or any of the other sensors available on iOS devices, but if you&#8217;re just starting out in iOS development and you&#8217;d like to get a feel for how an application in this class is designed, or you want to have real acceleration data samples in your app through the simulator, I thoroughly recommend AccSim. From what I see of the other sensor apps on the store, a lot of people have used AccSim too.</p>
<p>AccSim was originally developed by Otto Chrons and was made available for free by <a href="http://www.brianhpratt.net/">Brian Pratt</a> on the<a href="http://itunes.apple.com/us/app/accelerometer-simulator/id336476721?mt=8"> iTunes App Store</a>, with the project&#8217;s source code (BSD) available on <a href="https://code.google.com/p/accelerometer-simulator/">Google Code</a>. You can find additional information about AccSim on its <a href="http://www.brianhpratt.net/cms/index.php?page=accsim">support page</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/744/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/744/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=744&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/04/01/ios-device-sensing-native-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/03/img_0233.png" medium="image">
			<media:title type="html">MobileLogger</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/03/img_0234.png" medium="image">
			<media:title type="html">SensorLogger</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/04/photo.png" medium="image">
			<media:title type="html">photo</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/04/photo-1.png" medium="image">
			<media:title type="html">photo 1</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/04/photo-2.png" medium="image">
			<media:title type="html">photo 2</media:title>
		</media:content>
	</item>
		<item>
		<title>Beginner&#8217;s .NET Micro Framework: Collections</title>
		<link>http://huragok.wordpress.com/2011/03/07/beginners-net-micro-framework-collections/</link>
		<comments>http://huragok.wordpress.com/2011/03/07/beginners-net-micro-framework-collections/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 11:36:03 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[.NET Micro Framework]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Netduino]]></category>
		<category><![CDATA[NETMF]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=686</guid>
		<description><![CDATA[Quick Look — Collections implement traditional data management structures that can be useful in a variety of situations, allowing easy storage, retrieval and manipulation of data contained within them. We will explore the four main collections within the .NET Micro Framework&#8217;s System.Collections namespace: Queues, Stacks, Maps and Lists. Queue — a queue represents a sequence [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=686&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<div>
<p style="text-align:justify;"><strong>Quick Look</strong> — Collections implement traditional data management structures that can be useful in a variety of situations, allowing easy storage, retrieval and manipulation of data contained within them. We will explore the four main collections within the .NET Micro Framework&#8217;s <em><strong>System.Collections</strong></em> namespace: Queues, Stacks, Maps and Lists.</p>
<hr />
<p><strong><a href="http://msdn.microsoft.com/en-us/library/ff689202.aspx"><img class="alignright" title="MSDN: System.Collections.Queue" src="http://huragok.files.wordpress.com/2010/08/icon-msdn_small.png?w=35&#038;h=35" alt="" width="35" height="35" /></a>Queue</strong> — a queue represents a sequence of values that are added to the back of the queue and removed from the front of the queue; its operation is summarily described as  <em>First-In, First Out</em>:</p>
<div class="wp-caption aligncenter" style="width: 541px"><img title="Queue Transition Diagram" src="http://huragok.files.wordpress.com/2010/08/queue2.png?w=531&#038;h=251" alt="Queue Transition Diagram" width="531" height="251" /><p class="wp-caption-text">Fig. 1: Queue Transition Diagram</p></div>
<p>While the class contains more methods and properties than described here, the following is a list of pertinent ones that you&#8217;ll most commonly use:</p>
<ul>
<li><strong>Count </strong>contains the number of items in the queue</li>
<li><strong>Enqueue()</strong> adds an item to the back of queue</li>
<li><strong>Dequeue()</strong> removes and returns the item at the front of the queue. If the queue is empty, an exception may be thrown</li>
<li><strong>Peek()</strong> returns the item at the front of the queue without removing it</li>
<li><strong>Clear()</strong> removes all items in the queue</li>
</ul>
<p><pre class="brush: csharp;">
Queue myQueue = new Queue();
myQueue.Enqueue(&quot;Hello&quot;);
myQueue.Enqueue(&quot;World&quot;);
while(myQueue.Count != 0) {
    Console.Write(&quot;{0} &quot;, (string)myQueue.Dequeue());
}
// Output: Hello World
</pre></p>
<p>One important thing to note is that items returned from the queue must be boxed back to its original type. Unfortunately, the .NET Micro Framework does not support generics, so you&#8217;re left either casting the return object or subclassing System.Collections.Queue to return the type you want.</p>
<hr />
<p><strong><a href="http://msdn.microsoft.com/en-us/library/ff689244.aspx"><img class="alignright" title="MSDN: System.Collections.Stack" src="http://huragok.files.wordpress.com/2010/08/icon-msdn_small.png?w=35&#038;h=35" alt="" width="35" height="35" /></a>Stack</strong> — a stack has the opposite effect of a queue &#8211; items <em>pushed</em> onto the top of the stack are available immediately for retrieval, while items pushed onto the stack earlier are <em>popped</em> off the stack in reversed order to when they were pushed; this structure is also known as <em>Last-In, First-Out</em>:</p>
<div class="wp-caption aligncenter" style="width: 580px"><img class=" " title="Stack Transition Diagram" src="http://huragok.files.wordpress.com/2010/08/stack.png?w=570&#038;h=320" alt="Stack Transition Diagram" width="570" height="320" /><p class="wp-caption-text">Fig. 2: Stack Transition Diagram</p></div>
<p>The stack has a similar interface to a queue:</p>
<ul>
<li><strong>Count</strong> contains the number of items in the stack</li>
<li><strong>Push()</strong> adds an item to the top of the stack</li>
<li><strong>Pop()</strong> removes and returns the item at the top of the stack. If the stack is empty, an exception may be thrown</li>
<li><strong>Peek()</strong> returns the item on the top of the stack without removing it</li>
<li><strong>Clear()</strong> removes all items in the stack</li>
</ul>
<p><pre class="brush: csharp;">
Stack myStack = new Stack();
myStack.Push(&quot;Hello&quot;);
myStack.Push(&quot;World&quot;);
while(myStack.Count != 0) {
    Console.Write(&quot;{0} &quot;, (string)myStack.Pop());
}
// Output: World Hello
</pre></p>
<p>As is with the queue, items popped off the stack must be boxed back into the original type.</p>
<hr />
<p><strong><a href="http://msdn.microsoft.com/en-us/library/ff689103.aspx"><img class="alignright" title="MSDN: System.Collections.Hashtable" src="http://huragok.files.wordpress.com/2010/08/icon-msdn_small.png?w=35&#038;h=35" alt="" width="35" height="35" /></a>Hashtable</strong> — whereas the queue and stack are sequential access structures (items being added and removed one-by-one), the hashtable presents a random access interface; any item added to the table may be accessed at  any time and is also known as a <em>map</em> or <em>dictionary.</em> Items in the table consist of key-value pairs and are indexed according to a hash of the key-value pair.</p>
<ul>
<li><strong>Count</strong> returns the number of items in the dictionary</li>
<li><strong>Add()</strong> adds an key-value pair to the dictionary</li>
<li><strong>Remove()</strong> removes a single item from the dictionary</li>
<li><strong>Clear()</strong> removes all items from the dictionary</li>
</ul>
<p>When accessing this data structure, you can access it much like an array, where keys represent the index and values represent the contents of the item:</p>
<p><pre class="brush: plain;">
Hashtable ht = new Hashtable();
ht.Add(&quot;Manager&quot;, &quot;John Smith&quot;);
ht.Add(&quot;Storeroom&quot;, &quot;Joe Bloggs&quot;);
ht.Add(&quot;Cashier&quot;, &quot;Jane Jones&quot;);

Console.WriteLine(&quot;The Manager is: {0}&quot;, (string)ht[&quot;Manager&quot;]);
Console.WriteLine(&quot;Employees:&quot;);
foreach(DictionaryEntry de in ht) {
	Console.WriteLine(&quot;\t{0}&quot;, (string)de.Value);
}

// ## Output ##
// The Manager is: John Smith
// Employees:
//     John Smith
//     Joe Bloggs
//     Jane Jones
</pre></p>
<hr />
<p><strong><a href="http://msdn.microsoft.com/en-us/library/ee425013.aspx"><img class="alignright" title="MSDN: System.Collections.ArrayList" src="http://huragok.files.wordpress.com/2010/08/icon-msdn_small.png?w=35&#038;h=35" alt="" width="35" height="35" /></a>ArrayList</strong> — a list is a data structure which allows you to insert, remove and retrieve data to and from any position in the array. Also known as a <em>linked-list</em>, the collection grows according to the number of items placed in it.</p>
<div class="wp-caption aligncenter" style="width: 561px"><img class=" " title="ArrayList Transition Diagram" src="http://huragok.files.wordpress.com/2010/08/arraylist.png?w=551&#038;h=431" alt="ArrayList Transition Diagram" width="551" height="431" /><p class="wp-caption-text">Fig. 3: ArrayList Transition Diagram</p></div>
<p>Because the list is so easy to manipulate, there is quite a bit more to the interface than the other collections examined previously:</p>
<ul>
<li><strong>Count</strong> contains the number of items in the list</li>
<li><strong>Add()</strong> adds an item to the back of the list (at index <em><strong>ArrayList.Count</strong></em>)</li>
<li><strong>Insert()</strong> adds an item to the list at the specified index, shifting the items following the specified index back by one</li>
<li><strong>Contains()</strong> determines whether an item is in the list</li>
<li><strong>IndexOf()</strong> determines where in the list an item is and gives you the index</li>
<li><strong>Remove()</strong> removes the first occurrence of the item in the list</li>
<li><strong>RemoveAt()</strong> removes the item at the specified index, shifting the items following the specified index forward by one</li>
</ul>
<p><pre class="brush: csharp;">
public static void Main()
{
	ArrayList list = new ArrayList();
	list.Add(5);                 PrintList(list);
	list.Add(27);                PrintList(list);
	list.Insert(1, 53);          PrintList(list);
	list.Insert(list.Count, 98); PrintList(list);
	list.Add(27);                PrintList(list);
	list.RemoveAt(1);            PrintList(list);
	list.Remove(27);             PrintList(list);

	Console.WriteLine(&quot;Item at index 2 is: {0}&quot;, list[2]);
}

public static void PrintList(ArrayList list)
{
	foreach(int i in list) {
		Console.Write(&quot;{0}, &quot;, i);
	}
	Console.WriteLine();
}
// ## Output ##
// 5,
// 5, 27,
// 5, 53, 27
// 5, 53, 27, 98
// 5, 53, 27, 98, 27
// 5, 27, 98, 27
// 5, 98, 27
// Item at index 2 is: 27
</pre></p>
<hr />
<p style="text-align:justify;">One main point to consider when using collections in a micro framework device is that of memory consumption. Each collection carries <em>overhead</em> &#8211; data that serves no other purpose than to facilitate the items you store in the collection. For example, inserting hundreds of items in an ArrayList will quickly use up most of the memory on a Netduino.</p>
<p style="text-align:justify;">There is however a trick to increasing the size of your collections: by forcing the Garbage Collector to run (<em><strong>System.Diagnostics.Debug.GC(true)</strong></em>), you can clear away some of the transient overhead. The downside is that you must wait for the Garbage Collector to finish, so you are basically trading memory consumption for time. Depending on your application, this may be perfectly suitable.</p>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/686/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=686&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/03/07/beginners-net-micro-framework-collections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/08/icon-msdn_small.png" medium="image">
			<media:title type="html">MSDN: System.Collections.Queue</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/08/queue2.png" medium="image">
			<media:title type="html">Queue Transition Diagram</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/08/icon-msdn_small.png" medium="image">
			<media:title type="html">MSDN: System.Collections.Stack</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/08/stack.png" medium="image">
			<media:title type="html">Stack Transition Diagram</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/08/icon-msdn_small.png" medium="image">
			<media:title type="html">MSDN: System.Collections.Hashtable</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/08/icon-msdn_small.png" medium="image">
			<media:title type="html">MSDN: System.Collections.ArrayList</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/08/arraylist.png" medium="image">
			<media:title type="html">ArrayList Transition Diagram</media:title>
		</media:content>
	</item>
		<item>
		<title>Beginner&#8217;s .NET Micro Framework</title>
		<link>http://huragok.wordpress.com/2011/03/07/beginners-net-micro-framework/</link>
		<comments>http://huragok.wordpress.com/2011/03/07/beginners-net-micro-framework/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 11:35:09 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[.NET Micro Framework]]></category>
		<category><![CDATA[Netduino]]></category>
		<category><![CDATA[NETMF]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=704</guid>
		<description><![CDATA[Introduction I had initially written these articles some time ago, waiting for the day I could release the whole library in one swoop. Things have changed and time is at a premium, therefore I&#8217;ll be releasing articles every other week or so. The intended audience is not those who already learned from the bigger brother [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=704&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Introduction</h2>
<p>I had initially written these articles some time ago, waiting for the day I could release the whole library in one swoop. Things have changed and time is at a premium, therefore I&#8217;ll be releasing articles every other week or so. The intended audience is not those who already learned from the bigger brother framework, but for those transitioning from other environments (Arduino etc) and want to know a little more about what the .NET Micro Framework has to offer the developer.</p>
<h2>Articles</h2>
<ul>
<li><strong><a title="Beginner’s .NET Micro Framework: Collections" href="http://huragok.wordpress.com/2011/03/07/beginners-net-micro-framework-collections/">Collections</a>:</strong> &#8220;<em>&#8230; implement traditional data management structures that can be useful in a variety of situations, allowing easy storage, retrieval and manipulation of data contained within them. We will explore the four main collections within the .NET Micro Framework&#8217;s <strong>System.Collections</strong> namespace: Queues, Stacks, Maps and Lists.</em>&#8220;</li>
</ul>
<hr />
<p style="text-align:center;"><img class="size-full wp-image-705 aligncenter" title="icon-msdn_small" src="http://huragok.files.wordpress.com/2011/03/icon-msdn_small.png?w=958" alt="MSDN"   /></p>
<p style="text-align:center;"><strong>Note:</strong> When you see this icon, you can follow it to MSDN&#8217;s documentation.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/704/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=704&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/03/07/beginners-net-micro-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2011/03/icon-msdn_small.png" medium="image">
			<media:title type="html">icon-msdn_small</media:title>
		</media:content>
	</item>
		<item>
		<title>Introducing MuDB</title>
		<link>http://huragok.wordpress.com/2011/03/05/introducing-mudb/</link>
		<comments>http://huragok.wordpress.com/2011/03/05/introducing-mudb/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 12:53:01 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[.NET Micro Framework]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Netduino]]></category>
		<category><![CDATA[NETMF]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=667</guid>
		<description><![CDATA[Databases can be awesome. They can also not be. Embedded programming can be awesome. It can also not be. As a quick proof-of-concept, I decided to see how far I could go in designing an embedded, code-first database that can be used with my Netduino. Enter Mu Database, a simple object-oriented database to help you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=667&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Databases can be awesome. They can also not be.</em><br />
<em>Embedded programming can be awesome. It can also not be.</em></p>
<p>As a quick proof-of-concept, I decided to see how far I could go in designing an embedded, code-first database that can be used with my Netduino. Enter <a href="http://mu.codeplex.com/" target="_blank">Mu Database</a>, a simple object-oriented database to help you manage your data. Begin overview-by-example!</p>
<hr />
<p>The example included with the source is for use with Secret Lab&#8217;s <a href="http://netduino.com" target="_blank">Netduino</a>, and also requires <a href="http://microlinq.codeplex.com/" target="_blank">MicroLinq</a>. After creating a new Netduino application and importing the required references, define your table&#8217;s model with a simple class:</p>
<p><pre class="brush: csharp;">
    [Serializable]
    public class Product
    {
        public int Id;
        public string Name;
        public float Cost;

        public Product(int id, string name, float cost)
        {
            this.Id = id;
            this.Name = name;
            this.Cost = cost;
        }

        public override string ToString()
        {
            return &quot;Id:&quot; + this.Id.ToString() + &quot;, Name: &quot; + this.Name + &quot;, Cost: $&quot; + this.Cost;
        }
    }
</pre></p>
<p>In MuDB, <strong>public fields</strong> correspond to table columns. Notice that the class is also marked <em>Serializable</em>. To start the process, create a new instance of MuDB and insert a new table into it by passing the type of our model (<em>Product</em>):</p>
<p><pre class="brush: plain;">
    Database db = new Database(null);
    var Products = db.Insert(typeof(Product));
</pre></p>
<p>Inserting records into the table:</p>
<p><pre class="brush: plain;">
    Products.Insert(new Product(1, &quot;Apple&quot;, 1.50f));
    Products.Insert(new Product(2, &quot;Orange&quot;, 1.75f));
    Products.Insert(new Product(3, &quot;Banana&quot;, 1.30f));
</pre></p>
<p>Note that attempting to create two tables of the same type, or trying to insert a different type will result in a DatabaseException. After inserting our data, we can query it using MicroLinq:</p>
<p><pre class="brush: plain;">
    var product = Products.Data.FirstOrDefault(p =&gt; ((Product)p).Name == &quot;Apple&quot;);
    Debug.Print(product.ToString());
</pre></p>
<p>Which yields in debugger:<br />
<code>Id:1, Name: Apple, Cost: $1.5</code></p>
<hr />
<p>So there are a few issues right now, like that it takes up a whole bunch o&#8217; memory. You can also serialize/deserialize tables with a caveat: it&#8217;s not supported by the Netduino firmware. Still, it&#8217;s not bad for a few hours of coding.</p>
<p>You can grab the source at <a href="http://mu.codeplex.com" target="_blank">http://mu.codeplex.com</a>. If you use it, let me know how you went.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/667/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/667/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/667/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/667/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/667/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/667/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/667/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/667/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/667/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/667/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/667/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/667/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/667/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/667/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=667&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/03/05/introducing-mudb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>Customizing HTML5 Sliders</title>
		<link>http://huragok.wordpress.com/2011/03/01/customizing-html5-sliders/</link>
		<comments>http://huragok.wordpress.com/2011/03/01/customizing-html5-sliders/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 06:26:24 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=655</guid>
		<description><![CDATA[Say you want a slider that selects descrete values and and for each value you want to update a text element with some custom text based on the number selected: You can do so using a little javascript: Javascript is infuriating to me, but I&#8217;m slowly learning the ropes.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=655&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Say you want a slider that selects descrete values and and for each value you want to update a text element with some custom text based on the number selected:</p>
<p><pre class="brush: xml;">
&lt;section&gt;
    &lt;input type=&quot;range&quot; min=&quot;0&quot; max=&quot;2&quot; value=&quot;1&quot; step=&quot;1&quot; onchange=&quot;sliderDidChange(this.value)&quot; /&gt;
    &lt;span id=&quot;sliderText&quot;&gt;&lt;/span&gt;
&lt;/section&gt;
</pre></p>
<p>You can do so using a little javascript:</p>
<p><pre class="brush: jscript;">
function sliderDidChange(val) {
    var elem = document.getElementById(&quot;sliderText&quot;);
    switch (parseInt(val,10)) {
        case 0: elem.innerHTML = &quot;I am number one&quot;; break;
        case 1: elem.innerHTML = &quot;I am number two&quot;; break;
        case 2: elem.innerHTML = &quot;I am number three&quot;; break;
    }
}
</pre></p>
<p>Javascript is infuriating to me, but I&#8217;m slowly learning the ropes.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/655/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/655/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/655/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/655/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/655/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/655/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/655/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/655/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/655/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/655/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/655/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/655/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/655/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/655/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=655&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/03/01/customizing-html5-sliders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>/Dev/World/2010 Video</title>
		<link>http://huragok.wordpress.com/2011/02/10/devworld2010-video/</link>
		<comments>http://huragok.wordpress.com/2011/02/10/devworld2010-video/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 16:00:02 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[AUC]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[/dev/world/2010]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Professional Matters]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=638</guid>
		<description><![CDATA[Back in 2010 I went on down to Melbourne to give a talk on iOS device sensing for /dev/world/2010 on behalf of the Apple University Consortium (AUC). While it went well enough for my first public presentation, I certainly learned the lesson that you really need a lot of preparation and rehearsal before the event. Besides rambling for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=638&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Back in 2010 <a href="http://huragok.wordpress.com/2010/09/13/good-news-everyone/">I went on down to Melbourne</a> to give a talk on iOS device sensing for /dev/world/2010 on behalf of the Apple University Consortium (AUC). While it went well enough for my first public presentation, I certainly learned the lesson that you really need a lot of preparation and rehearsal before the event. Besides rambling for a good portion of the presentation, one of my biggest mistakes was trying to be fancy and making code change brightness/color when going over it to the audience. This proved to be a bad idea because the room was partially lit, and the interplay of shadows and lighting wrecked the effect I was going for.</p>
<p style="text-align:center;"><div class='embed-vimeo' style='text-align:center;'><iframe src='http://player.vimeo.com/video/19742596' width='400' height='300' frameborder='0'></iframe></div></p>
<p style="text-align:justify;">Not bad I suppose, but I can&#8217;t <em>stand</em> to hear myself talk.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/638/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/638/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/638/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/638/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/638/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/638/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/638/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/638/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/638/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/638/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/638/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/638/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/638/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/638/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=638&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2011/02/10/devworld2010-video/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>Authorization Fail</title>
		<link>http://huragok.wordpress.com/2010/11/16/authorization-fail/</link>
		<comments>http://huragok.wordpress.com/2010/11/16/authorization-fail/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 12:03:48 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Fails]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=632</guid>
		<description><![CDATA[Yeah, I know.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=632&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: csharp;">
public static bool IsAuthorized(int id, string username) {
    if(GetPerson(id) != null)
    return (username == GetPerson(id).User) ? true : false;
    return false;
}
</pre></p>
<p>Yeah, I know.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/632/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=632&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/11/16/authorization-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>Touchdown!</title>
		<link>http://huragok.wordpress.com/2010/09/22/touchdown/</link>
		<comments>http://huragok.wordpress.com/2010/09/22/touchdown/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 12:25:40 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[.NET Micro Framework]]></category>
		<category><![CDATA[NETMF]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=601</guid>
		<description><![CDATA[I GOT .NET WORKING ON THE IPHONE!!!!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=601&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_602" class="wp-caption aligncenter" style="width: 650px"><img class="size-full wp-image-602" title="Touch Down!" src="http://huragok.files.wordpress.com/2010/09/touchdown.jpg?w=958" alt=""   /><p class="wp-caption-text">UIKit/UIButton in action</p></div>
<p style="text-align:justify;">After a few hours of messing around with the default emulator (I <em>really</em> suck at WPF), I managed to create a cute little clone of iOS&#8217;s UIKit/UIButton element using the .NET Micro Framework&#8217;s presentation stuff. I&#8217;m going to see where this goes&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/601/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=601&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/09/22/touchdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/09/touchdown.jpg" medium="image">
			<media:title type="html">Touch Down!</media:title>
		</media:content>
	</item>
		<item>
		<title>Good news everyone!</title>
		<link>http://huragok.wordpress.com/2010/09/13/good-news-everyone/</link>
		<comments>http://huragok.wordpress.com/2010/09/13/good-news-everyone/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 11:07:20 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[AUC]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[/dev/world/2010]]></category>
		<category><![CDATA[Melbourne]]></category>
		<category><![CDATA[Professional Matters]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=582</guid>
		<description><![CDATA[Thanks to the Apple University Consortium (AUC) I was sent to Apple&#8217;s worldwide developer conference this year and it was a blast. In accepting the scholarship I in turn would agree to &#8220;give back&#8221; to the community: software, talks on campus &#8211; you know, proselytizing the Think Different way. In my case, I decided to give back [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=582&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignright size-full wp-image-583" title="farnsworth" src="http://huragok.files.wordpress.com/2010/09/farnsworth.jpg?w=958" alt=""   />Thanks to the Apple University Consortium (AUC) I was sent to Apple&#8217;s worldwide developer conference this year and it was a blast. In accepting the scholarship I in turn would agree to &#8220;give back&#8221; to the community: software, talks on campus &#8211; you know, proselytizing the <em>Think Different</em> way. <span style="font-size:15.6px;line-height:20px;">In my case, I decided to give back by giving a presentation on iOS sensing capabilities at <a href="http://www.auc.edu.au/DevWorld+2010">dev/world/2010 Developer Conference</a>:</span></p>
<blockquote>
<h3><strong>iOS Device Sensing: Technologies &amp; Applications</strong></h3>
<p style="text-align:justify;"><strong>Speaker:</strong> Tristan McNab<br />
<strong> Target Audience:</strong> Beginner to Intermediate</p>
<p style="text-align:justify;">With the advent of modern semiconductor fabrication techniques sensing devices have now become commonplace in smart phones. The iPhone was revolutionary in bringing accelerometer-based interaction to a wider audience and has been consistently innovated upon with the addition of other sensing technologies &#8211; magnetometers, gyroscopes and geolocation/GPS. These sensing technologies have a wide range of applications from simple user interactions to human activity monitoring and augmented reality. This session will provide a broad overview of the sensing technologies available on iOS-enabled devices, what these sensors can be used for, and issues you&#8217;ll need to consider when using sensors in your applications.</p>
<p style="text-align:justify;"><strong>Bio:</strong> Tristan is a PhD student with the Centre for Wireless Monitoring &amp; Applications at Griffith University after recently completing his bachelor&#8217;s degree in Microelectronic Engineering. He is currently working with iOS devices in human activity monitoring, determining the characteristics of and designing software for the iPhone in sport, integrating it into a network-centric data collection and analysis system.</p>
</blockquote>
<p style="text-align:justify;">The talk is slated for Wednesday the 29th of September and will be recorded for the convenience of attendees, so look here in the future for some footage of me talking about what iOS has to offer developers dealing with Human-Computer Interaction (HCI), personal activity monitoring or even Augmented Reality (AR). This is the first time I&#8217;ll be giving such a presentation to a large audience and I&#8217;m really looking forward to seeing how well I can pull it off.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/582/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/582/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/582/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=582&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/09/13/good-news-everyone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/09/farnsworth.jpg" medium="image">
			<media:title type="html">farnsworth</media:title>
		</media:content>
	</item>
		<item>
		<title>WWDC 2010 / SF Photos</title>
		<link>http://huragok.wordpress.com/2010/08/12/wwdc-2010-sf-photos/</link>
		<comments>http://huragok.wordpress.com/2010/08/12/wwdc-2010-sf-photos/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 06:12:31 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[AUC]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[San Francisco]]></category>
		<category><![CDATA[WWDC]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=286</guid>
		<description><![CDATA[Photos from my trip to San Francisco and the Apple Worldwide Developer's Conference this year. Warning: not a photographer.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=286&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<a href="http://huragok.wordpress.com/2010/08/12/wwdc-2010-sf-photos/#gallery-2-slideshow">Click to view slideshow.</a>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=286&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/08/12/wwdc-2010-sf-photos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>Netduino</title>
		<link>http://huragok.wordpress.com/2010/08/12/netduino/</link>
		<comments>http://huragok.wordpress.com/2010/08/12/netduino/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 00:29:14 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[.NET Micro Framework]]></category>
		<category><![CDATA[Netduino]]></category>
		<category><![CDATA[NETMF]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=271</guid>
		<description><![CDATA[.NET just got more awesome...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=271&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_272" class="wp-caption alignright" style="width: 225px"><a rel="attachment wp-att-272" href="http://huragok.wordpress.com/2010/08/12/netduino/photo_overhead/"><img class="size-full  wp-image-272   " style="margin-left:10px;margin-right:10px;" title="photo_overhead" src="http://huragok.files.wordpress.com/2010/08/photo_overhead.gif?w=958" alt="Image of the Netduino"   /></a><p class="wp-caption-text">Netduino Development Board</p></div>
<p style="text-align:justify;">Finally, an <a href="http://arduino.cc/">Arduino</a> clone worth buying! The guys at Secret Labs LLC last week released the <a href="http://netduino.com/netduino/">Netduino</a>, a sexy piece of kit that runs .NET Micro Framework 4. At $34.95 USD, it&#8217;s a steal compared to <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9797">other Arduino-styled devices</a>. Oh, and it&#8217;s also open source &#8211; hardware, software, firmware &#8211; all of it.</p>
<p style="text-align:justify;">Guess I won&#8217;t have to keep working on a <a href="http://huragok.wordpress.com/2010/05/29/changingtack/">CLR EE anymore</a>! <a rel="attachment wp-att-273" href="http://huragok.wordpress.com/2010/08/12/netduino/emot-razz/"><img class="alignnone size-full wp-image-273" title="emot-razz" src="http://huragok.files.wordpress.com/2010/08/emot-razz.gif?w=958" alt=""   /></a></p>
<p style="text-align:justify;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/271/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=271&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/08/12/netduino/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/08/photo_overhead.gif" medium="image">
			<media:title type="html">photo_overhead</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/08/emot-razz.gif" medium="image">
			<media:title type="html">emot-razz</media:title>
		</media:content>
	</item>
		<item>
		<title>iReality</title>
		<link>http://huragok.wordpress.com/2010/07/11/ireality/</link>
		<comments>http://huragok.wordpress.com/2010/07/11/ireality/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 02:56:19 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Augmented Reality]]></category>
		<category><![CDATA[Speculation]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=241</guid>
		<description><![CDATA[There are only two fields of technology I try my best to keep abreast of: systems programming and ubiquitous computing &#8211; specifically wearable computing. From the academic research of Steve Mann, MIT Media Lab and ETH Zürich to inventive do-it-yourself hacker community, the ability to have synthetic information augmenting and influencing my day to day [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=241&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">There are only two fields of technology I try my best to keep abreast of: systems programming and ubiquitous computing &#8211; specifically wearable computing. From the academic research of <a href="http://wearcam.org/steve.html">Steve Mann</a>, <a href="http://www.media.mit.edu/wearables/">MIT Media Lab</a> and <a href="http://www.wearable.ethz.ch/">ETH Zürich</a> to inventive <a href="http://hackaday.com/category/wearable-hacks/">do-it-yourself hacker community</a>, the ability to have synthetic information augmenting and influencing my day to day activities has been a dream.</p>
<div id="_mcePaste" style="text-align:justify;">
<h3>Convergence</h3>
<p>Slowly but surely, technology is converging towards a point where everyday consumers will be able to view layers of digital information over the real world. We&#8217;re already seeing software like <a href="http://www.wikitude.org/">Wikitude</a> and<strong> </strong><a href="http://www.acrossair.com/acrossair_app_augmented_reality_browser_for_iPhone_3GS.htm">acrossair browser</a> bridging the gap between meatspace and cyberspace, allowing smartphones to overlay information necessary to the user without needing to go through conventional text-based web pages. While it is a little dorky and disruptive to hold your phone in front of you to get this overlay, it&#8217;s a necessary step in evolution for augmented reality (AR) from Palm Pilot to <em>Ghost in the Shell</em>-styled cybernetics.</p>
<p>The next step in AR&#8217;s evolution however is low-cost head-mounted display equipment to come onto the market that doesn&#8217;t make the user a Star Trek-eque &#8220;Geordi LaForge&#8221; social reject. While the aesthetic disdain for existing display glasses over time could be ameliorated much like the commonplace Bluetooth headset, a case could be made that they never would be because they look <em>too</em> foreign. Why do you think all mobile phones look like each other? Nobody likes the clunky military-style brick phone.</p>
<h3>iReality</h3>
<p>Earlier this year <a href="http://bits.blogs.nytimes.com/2010/03/16/apple-hires-wearable-computing-engineer/">Apple hired on Richard DeVaul</a>, founder of <em>AWare Technologies</em> and well accomplished researcher at MIT in augmented reality and wearable computing. This followed a series of patents <a href="http://www.patentlyapple.com/patently-apple/2008/04/apple-preparing-a-cool-ipod-visual-head-display-system.html">in 2008</a>, with more wearable patents <a href="http://www.mobilewhack.com/iphone-patenting-head-mounted-and-wearable-computer-technology/">this year</a>. Hell, there&#8217;s even a design for Apple-inspired AR glasses: <a href="http://www.maclife-digital.com/maclife/201001/?pg=26#pg26">iVision</a>. With all this information stacking-up and no official word of it coming any time soon, the question begs to be asked &#8220;<em>if Apple is getting on the AR bandwagon, how will they do it</em>?&#8221;</p>
<p><strong>One: <em>Accessory AR</em>.</strong> The wearable system would consist of a mobile iOS Device paired with some form of heads-up-display (HUD). We can safely assume that it would utilize wireless technology like the recently-released Bluetooth 4.0 specification &#8211; wires are so last century! In being centered around augmented reality, naturally it would need stereo high-definition video displays and audio input/output. Additionally it would also need orientation sensing to give the system feedback on the position of the user, the kind given by a paired magnetometer/accelerometer system. Using the paired device&#8217;s on board location and communications equipment, the user is fully engaged with the world and ready to roam. Future versions would have the ability to process video input, but in my realistic opinion, first versions could get away selling without it.</p>
<p><strong>Two: <em>Next-gen iOS</em></strong>. In order to fully utilize the AR paradigm of user interaction, iOS-AR will need to be created. Simply put, the existing touch-based interaction model is not sufficient for naturalistic interaction with the world. Forgoing device-based touch and camera-based gestural recognition, that leaves voice-based interaction as the probable method of interaction. Two integral technologies would be speaker command recognition and agent-based assistive intelligence. The former problem is just a matter of design pressure, however the latter is much harder to get right and herculean in terms of sheer complexity.</p>
<p>Visually, the system would need a minimalstic interface that can communicate pertinent information to the user without overload. Is a battery charge indicator really necessary? I imagine that heavy use of transparency will be iOS-AR&#8217;s modus operandi, in addition to putting most iconography on the periphery of vision and a major shift away from textual interfaces. Unless it&#8217;s appropriate to the context of the user&#8217;s situation, text is a no-no and clutters the user&#8217;s field of view.</p>
<p><strong>Three: <em>Assistive Intelligence</em>.</strong> Assistive intelligence, much like the &#8220;Humanistic Intelligence&#8221; presented in Steve Mann&#8217;s <em>Wearable Computing: Towards Humanistic Intelligence</em> [<a href="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.62.4991&amp;rep=rep1&amp;type=pdf">Citation</a>], makes it easier for the user to interact with the wearable system. Two modes of operation would be inherent in its function: user-directed tasks in which commands are issued by the user to the system to complete some task, and suggestive feedback in which the system takes it upon itself to prompt the user with information he or she would find useful. The former being an explicit action, the latter implicit. For example, should you be walking down the street and the system recieves notification from your friend&#8217;s system (someone already in your address book) that you are both within proximity. Naturally, this would be good information for you to see so that you could mosey on over to your friend and strike-up a conversation. The problem however is in privacy: what if you don&#8217;t want to talk to your friend today because you&#8217;ve had a fight? It&#8217;s these little details that would take <em>years</em> to get right.</p>
<p><strong>Four: </strong><strong><em>Maximum Reality Distortion Field</em></strong><strong>.</strong> iOS-AR will be a &#8220;stunningly revolutionary&#8221; advancement according to Apple CEO Jobs, most likely delivered at a WWDC event in four to five years&#8217; time. Expect hyperbole equivalent to that spoken of the fourth iPhone this year, but this time it will be completely worthy.</p>
<h3>Today&#8217;s Reality</h3>
<p>Unfortunately, when it comes to wearable computing there we&#8217;re left with clunky, wired video glasses. The best available option if you can&#8217;t wait for Apple (or Google if you swing Android-ly) is Vuzix&#8217;s soon to be released <a href="http://www.vuzix.com/iwear/products_wrap920ar.html">Wrap 920AR</a>. If I had the cash to buy these suckers, I&#8217;d certainly be trying to develop a true augmented reality app for iOS&#8230;</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=241&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/07/11/ireality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;^Blocks&#8221;</title>
		<link>http://huragok.wordpress.com/2010/06/25/blocks/</link>
		<comments>http://huragok.wordpress.com/2010/06/25/blocks/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 00:07:49 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=223</guid>
		<description><![CDATA[Syntactic abortion ahoy!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=223&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So here&#8217;s a little code snippet that illustrates another Objective-C syntactic abortion. If you need to use them because of the new iPhone 4 SDK (and you probably will at some point), here&#8217;s a little code snippet of blocks in action:</p>
<h5>&lt;insert name&gt;ViewController.h:</h5>
<p><pre class="brush: objc;">
#import &lt;UIKit/UIKit.h&gt;
#import &lt;CoreMotion/CoreMotion.h&gt;
#import &lt;Foundation/Foundation.h&gt;

@interface LowLevelViewController : UIViewController {
    CMMotionManager* cmm;
    NSOperationQueue* motionQueue;
}
@end
</pre></p>
<h5>&lt;insert name&gt;ViewController.m:</h5>
<p><pre class="brush: objc;">
- (void) viewDidLoad
{
	cmm = [[CMMotionManager alloc] init];
	if(!cmm.accelerometerAvailable) {
		NSLog(@&quot;Accelerometer not available&quot;);
	}
	else {
		cmm.accelerometerUpdateInterval = (double)1/50;	//50Hz
		motionQueue = [[NSOperationQueue alloc] init];

		[cmm startAccelerometerUpdatesToQueue: motionQueue withHandler: ^( CMAccelerometerData* data, NSError* error) {
			 NSLog(@&quot;Accelerometer: %@&quot;, [data description]);
		 }];
	}
    [super viewDidLoad];
}

- (void) dealloc {
    [motionQueue release];
    [cmm release];
    [super dealloc];
}
</pre></p>
<p>Look at that caret (^) in viewDidLoad(). <em><strong>Ugh</strong></em>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/223/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=223&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/06/25/blocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>DS.NET Announcement</title>
		<link>http://huragok.wordpress.com/2010/06/14/ds-net-announcement/</link>
		<comments>http://huragok.wordpress.com/2010/06/14/ds-net-announcement/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 08:38:01 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[.NET Micro Framework]]></category>
		<category><![CDATA[NDS]]></category>
		<category><![CDATA[NETMF]]></category>
		<category><![CDATA[Nintendo DS]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=217</guid>
		<description><![CDATA[A small update about the DS.NET project, bringing the .NET Micro Framework to the Nintendo DS.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=217&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignright" style="margin-left:10px;" title="logo" src="http://huragok.files.wordpress.com/2010/06/logo.png?w=55&#038;h=55" alt="" width="55" height="55" /> A few months ago, I made a <a href="http://huragok.wordpress.com/2010/03/18/ds-net-a-terrific-challenge/">post</a> discussing porting the .NET Micro Framework to the Nintendo DS. Well, for some time it&#8217;d been on the backburner, with my <a href="http://huragok.wordpress.com/2010/05/29/changingtack/">homebrew hardware </a><span style="font-size:13.2px;"><a href="http://huragok.wordpress.com/2010/05/29/changingtack/">eventually failing</a>. Good news is that a soldering iron can fix most things, and so my card is working again! </span><span style="font-size:13.2px;">Anyway, an update: the good news is that a fellow hacker wants what I do so I&#8217;m pleased to announce the <a href="http://code.google.com/p/ds-dotnet/">DS.NET Project</a> and the developer <a href="http://groups.google.com/group/ds-dotnet-developer">discussion group</a>. If you want in, go apply and get hackin&#8217;!</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/217/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=217&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/06/14/ds-net-announcement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/06/logo.png" medium="image">
			<media:title type="html">logo</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing Tack</title>
		<link>http://huragok.wordpress.com/2010/05/29/changingtack/</link>
		<comments>http://huragok.wordpress.com/2010/05/29/changingtack/#comments</comments>
		<pubDate>Sat, 29 May 2010 13:04:25 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Compilers]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=207</guid>
		<description><![CDATA[Want to write .NET applications for 8-bit embedded microcontroller systems? I've done the research for you!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=207&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">So I&#8217;ve been trying to port the .NET Micro Framework to the Nintendo DS <a href="http://huragok.wordpress.com/2010/03/18/ds-net-a-terrific-challenge/">lately</a>. Turns out that homebrew flash cards have a limited life span and mine is now six feet under through overuse. Rest in peace my dear M3DS Real. Alas, running on a tight budget has left me no room to replace the dead card, so with that it&#8217;s time to change tack and drop the project &#8211; luckily I have a backup plan that leverages my new knowledge!</p>
<p style="text-align:justify;"><span style="font-size:13.2px;">Over the past few months, I&#8217;ve been researching ways to get .NET Common Intermediate Language (CIL) bytecode executing on 8-bit microcontrollers, or something that can translate CIL ahead of time (AOT) into a native binary. Turns out there are a few near-miss solutions to my problem, so I present to you some of the projects others have done.</span></p>
<p style="text-align:center;"><span style="color:#ffffff;">_</span></p>
<p style="text-align:justify;"><strong>GCC4NET/GCCCIL</strong> — <a href="http://gcc.gnu.org/projects/cli.html">GCC4NET</a> does the unthinkable and produces managed CIL bytecode from unmanaged C source code. Conversely, <a href="http://www.hipeac.net/node/823">GCCCIL</a> produces unmanaged native machine code from input CIL bytecode. While the former extension to gcc has little bearing on our problem thanks to better solutions being available (VC# and Mono) that are far more mature, the latter is very pertinent to our problem. However there are of course sticking points&#8230;</p>
<p style="text-align:justify;">Firstly, support for essential features of the execution runtime <a href="http://gcc.gnu.org/projects/cli.html#frontend">are missing</a> like objects/arrays (and therefore garbage collection), exceptions and generics (oh how I love thee!). Secondly, even if these features were present, you&#8217;d need to either try and merge it into the gcc for your microcontroller of choice (like avr-gcc), or fork the distribution and maintain updates. I think that would get pretty damn tedious after a few updates don&#8217;t you?</p>
<p style="text-align:justify;">Still, it&#8217;s a pretty interesting evolution of the collection and looks to be reasonably active (July &#8217;09). We can only hope someone implements a C# frontend for gcc in the future, BCL dependence be damned. Godspeed, unknown coder!</p>
<p style="text-align:justify;"><span style="font-size:13.2px;"><strong>Pigmeo</strong> — A <a href="http://en.pigmeo.org/wiki/Main_Page">wonderful project</a> that could solve all that ails me with the unfortunate problem of being dead (<a href="http://en.pigmeo.org/wiki/Pigmeo_0.0.2">latest release</a> being April &#8217;08). The goal was to produce a <a href="http://en.pigmeo.org/wiki/About_Pigmeo">toolchain</a> that takes any managed .NET executable, runs it through a few processes and generates assembly language source for your target architecture. Looking through the source distribution of Pigmeo reveals some interesting ideas, but alas it is truly dead and doesn&#8217;t look to be picked-up by anyone.</span></p>
<p style="text-align:justify;"><span style="font-size:13.2px;"><strong>Dot Net Anywhere</strong> — when .NET and Mono doesn&#8217;t do it for you, you could always roll your own with <a href="http://dotnetanywhere.org/">Dot Net Anywhere</a>. Though it looks like this project is in purgatory with the latest release being May &#8217;09, DNR offers a <a href="http://dotnetanywhere.org/index.php/implementation/net-features/">more full-featured</a> .NET experience with the exception of multi-dimensional arrays&#8230; I think I could live with that. Out of all the projects I&#8217;ve found, DNR represents the closest solution to an 8-bit .NET environment. Mr DNR Developer, please keep on truckin&#8217;.</span></p>
<p style="text-align:justify;"><strong>CrossNet &amp; XMLVM</strong> — Cross-compilation is pretty tricky stuff. Both projects are cross-compilers but the modus operandi for each is different. Whereas <a href="http://crossnet.codeplex.com/">CrossNet</a> parses .NET assemblies and generates emulated and unmanaged C++ source code ready for compilation by another compiler, <a href="http://xmlvm.org/">XMLVM</a> transforms .NET assemblies (amongst others) into an XML intermediate format so that multiple languages can compile from the same representation.</p>
<p style="text-align:justify;">Suffice to say, upon further examination of each, I found XMLVM to be unsuitable for my problem and CrossNet to be a little immature. I&#8217;ll be watching both as they both are active projects with bright futures. I guess it&#8217;s a case of &#8220;watch this space&#8221;.</p>
<p style="text-align:justify;"><strong>Further Afield</strong> — Looking at .NET&#8217;s retarded brother Java, there has been much more work done in creating dedicated virtual machines for microcontrollers such as <a href="http://www.harbaum.org/till/nanovm/">NanoVM</a> and <a href="http://tinyvm.sourceforge.net/">TinyVM</a>, both no longer actively maintained. One interesting and potentially useful project is <a href="http://darjeeling.sourceforge.net/">Darjeeling</a>, a JVM that is geared towards memory efficiency. Check out <a href="http://www.st.ewi.tudelft.nl/~koen/papers/middleware08.pdf">these</a> <a href="http://www.es.ewi.tudelft.nl/papers/2009-Brouwers-darjeeling.pdf">papers</a> on Darjeeling.</p>
<p style="text-align:center;"><span style="color:#ffffff;">_</span></p>
<p style="text-align:justify;">So with all that in mind, I wouldn&#8217;t mind taking a shot at some Darjeeling equivalent for the .NET framework. Time to experiment I think!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/207/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=207&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/05/29/changingtack/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>Web Application Basics: iWebKit + ASP.NET</title>
		<link>http://huragok.wordpress.com/2010/05/09/web-application-basics-iwebkit-plus-aspdotnet/</link>
		<comments>http://huragok.wordpress.com/2010/05/09/web-application-basics-iwebkit-plus-aspdotnet/#comments</comments>
		<pubDate>Sun, 09 May 2010 04:30:27 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[iWebKit]]></category>
		<category><![CDATA[Mono]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=144</guid>
		<description><![CDATA[New to iPhone Web Application development and want to learn? This article gives you the basic knowledge you need to get your very first webapp going using ASP.NET and iWebKit!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=144&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><em><strong><br />
</strong></em></p>
<p style="text-align:justify;">If you&#8217;re like me, you want an iPhone OS-themed website. You&#8217;ll also want a dynamically-generated website &#8211; <em>static pages and forms are so 1997</em>. The good news is that it&#8217;s really easy to do, will cost you nothing and most of the heavy lifting has been already done for you. Today we&#8217;ll examine how to build quick &#8216;n&#8217; dirty web applications for the iPhone platform using Mono, ASP.NET and a theming kit called iWebKit. If you&#8217;re an old web development warhorse, this is not for you. If however you&#8217;re just starting out in the field, this is probably right up your alley.</p>
<p style="text-align:center;"><span style="color:#ffffff;">_</span></p>
<h3 style="text-align:justify;">Theming Options</h3>
<p style="text-align:justify;">Undoubtedly one of the best features of the iPhone platform is Mobile Safari. Safari utilizes the WebKit layout engine and is capable of rendering pages using HTML5, CSS3 and good ol&#8217; JavaScript. There are a number of frameworks out there that work with Safari (or most other WebKit browsers in fact) like  <a href="http://www.iwebkit.net/">iWebKit</a>,  <a href="http://code.google.com/p/iui/">iUI</a> and  <a href="http://www.jqtouch.com/">jQTouch</a>. I chose iWebKit because it&#8217;s a nifty theming kit that gives web pages iPhone-styled flair, and from beginner to advanced users, it&#8217;s crazy easy to use.</p>
<p style="text-align:center;"><span style="color:#ffffff;">_</span></p>
<h3 style="text-align:justify;">A New Solution</h3>
<p style="text-align:justify;"><a rel="attachment wp-att-146" href="http://huragok.wordpress.com/2010/05/09/web-application-basics-iwebkit-plus-aspdotnet/screenshot-new-solution/"><img class="alignright size-medium wp-image-146" style="margin-left:25px;" title="Screenshot-New Solution" src="http://huragok.files.wordpress.com/2010/05/screenshot-new-solution.png?w=300&#038;h=239" alt="New Solution Dialog Window (Mono)" width="300" height="239" /></a>So in this demo / tutorial, we&#8217;ll be creating a web application that gets two integer values from the user, adds them together, and returns the result back to the user. We&#8217;ll also be wrapping these HTML form elements in iWebKit sexyness. If you want to code along, you&#8217;ll need an iPhone, iPod Touch or a WebKit-based browser (like <a href="http://www.twotoasts.de/index.php?/pages/midori_summary.html">Midori</a>), Mono, a wireless Ethernet connection if you want to view the webapp on your iDevice, and finally <a href="http://iwebkit.net/downloads">iWebKit</a>.</p>
<p style="text-align:justify;">Let&#8217;s start by creating a new ASP.NET web application in Mono (<strong>File -&gt; New -&gt; Solution&#8230;</strong>) and call it AdditionCalcApp (how imaginative!). Go past the second dialog and hit forward. What you&#8217;re presented with at this point is an empty barebones app that will give the user a button to click on and when clicked it will change the text on the button to a new value.</p>
<p style="text-align:justify;">While we&#8217;re setting-up, we might as well do two necessary things &#8211; configure xsp2 to accept LAN requests, and deploy our theming kit into a resources directory. Go to the Solution Browser, right-click on the AdditionCalcApp project and select Options (or, <strong>Project -&gt; Options </strong>in the menu bar).</p>
<p style="text-align:justify;"><a rel="attachment wp-att-150" href="http://huragok.wordpress.com/2010/05/09/web-application-basics-iwebkit-plus-aspdotnet/screenshot-setup/"><img class="alignright size-medium wp-image-150" style="margin-left:25px;margin-bottom:25px;" title="Screenshot-setup" src="http://huragok.files.wordpress.com/2010/05/screenshot-setup.png?w=300&#038;h=180" alt="Setting-up the XSP Web Server in Mono" width="300" height="180" /></a>In the <strong>Run</strong> Section of the project options, select the <strong>XSP Web Server</strong> subsection and enter your machine&#8217;s IP address in the appropriate field. To check if your setup is working properly, save these changes and hit F5 to build and run your project. Fire-up Safari on your iDevice and navigate to &#8220;http://xxx.xxx.x.x:8080/&#8221; &#8211; if it&#8217;s working properly, you&#8217;ll see a button you can click and it&#8217;ll change from &#8220;Click Me!&#8221; to &#8220;You Clicked Me!&#8221;. If not, you&#8217;re on your own!</p>
<p style="text-align:justify;">The second part of the setup is adding iWebKit to your project. Now, the method I present is quick and dirty and probably shouldn&#8217;t be used for enterprise-scale web applications, but it serves it&#8217;s purpose. In the Solution browser, right-click on your project and select &#8220;<strong>Add -&gt; ASP.NET Directory -&gt; Theme</strong>&#8220;. This will add a folder to your project which will contain iWebKit&#8217;s files. From the <em>Framework</em> directory in the iWebKit archive, extract <em>css</em>/, <em>images</em>/ and <em>javascript</em>/ into the project folder you&#8217;ve just created.</p>
<p style="text-align:center;"><span style="color:#ffffff;">_</span></p>
<h3 style="text-align:justify;">The Pretty Stuff</h3>
<p style="text-align:justify;">Now that we&#8217;re all set up, let&#8217;s get coding some HTML (in Default.aspx). Our page is split into two distinct sections: the head and the body. The head incorporates our theming and meta information and the body contains our addition input form.</p>
<p><pre class="brush: xml;">
&lt;head&gt;
  &lt;meta content=&quot;yes&quot; name=&quot;apple-mobile-web-app-capable: /&gt;
  &lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot; /&gt;
  &lt;meta content=&quot;minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no&quot; name=&quot;viewport&quot; /&gt;
  &lt;link href=&quot;Theme/css/style.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot; type=&quot;text/css&quot; /&gt;
  &lt;script src=&quot;Theme/javascript/functions.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
  &lt;title&gt;ASP.NET + iWebKit Demo&lt;/title&gt;
&lt;/head&gt;
</pre></p>
<p style="text-align:justify;">There are a few things to note in the head section. We have two meta tags telling the browser that this is a mobile Safari-based web application (lines two and four) and two tags that tell the browser to use the iWebKit CSS and JavaScript theming code (lines five and six). To utilize the shiny things in iWebKit in Safari, we have two main sections in the body region: the <strong>topbar</strong> divider and the <strong>content</strong> divider. The topbar divider specifies the navigation bar component of the theme and can specify links to and from other pages and a title for the page:</p>
<p><pre class="brush: xml;">

  &lt;div id=&quot;topbar&quot;&gt;
    &lt;div id=&quot;title&quot;&gt;ASP.NET + iWebKit&lt;/div&gt;
    &lt;div id=&quot;leftnav&quot;&gt;
      &lt;asp:hyperlink navigateurl=&quot;Default.aspx&quot; runat=&quot;server&quot; imageurl=&quot;Theme/images/home.png&quot;&gt;&lt;/asp:hyperlink&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div id=&quot;content&quot;&gt;
    ...
</pre></p>
<p style="text-align:justify;">The <strong>title</strong> divider of the topbar is obvious, it&#8217;s the textual in-page title of the application. The <strong>leftnav</strong> divider allows navigation to other pages, however I&#8217;ve set it redirect back to the page we&#8217;re on (a simple way of refreshing the page &#8230; I&#8217;m lazy). Moving on!</p>
<p style="text-align:center;"><span style="color:#ffffff;">_</span></p>
<h3 style="text-align:justify;">Nice Body!</h3>
<p style="text-align:justify;">In our <strong>content</strong> divider we&#8217;re going to place our form and some basic instructions to the user. Our form is going to have two inputs (TextBoxes A and B) and a button to run the inputs against the server to calculate our function (addition) and present the result. Code dump!</p>
<p><pre class="brush: xml;">
&lt;div id=&quot;content&quot;&gt;
  &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
    &lt;span class=&quot;graytitle&quot;&gt;Form Example&lt;/span&gt;
    &lt;ul class=&quot;pageitem&quot;&gt;
      &lt;li class=&quot;smallfield&quot;&gt;
        &lt;span class=&quot;name&quot;&gt;Value A:&lt;/span&gt;
        &lt;asp:textbox id=&quot;A&quot; runat=&quot;server&quot;&gt;&lt;/asp:textbox&gt;
      &lt;/li&gt;
      &lt;li class=&quot;smallfield&quot;&gt;
        &lt;span class=&quot;name&quot;&gt;Value B:&lt;/span&gt;
        &lt;asp:textbox id=&quot;B&quot; runat=&quot;server&quot;&gt;&lt;/asp:textbox&gt;
      &lt;/li&gt;
      &lt;li class=&quot;button&quot;&gt;
        &lt;asp:button id=&quot;submit&quot; runat=&quot;server&quot; text=&quot;Calculate&quot; onclick=&quot;submitClicked&quot;&gt;&lt;/asp:button&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/form&gt;
  &lt;span class=&quot;graytitle&quot;&gt;Instructions&lt;/span&gt;
  &lt;ul class=&quot;pageitem&quot;&gt;
    &lt;li class=&quot;textbox&quot;&gt;
      &lt;p&gt;Click the two textfields to enter integer values. Click the button to add them together.&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;div id=&quot;footer&quot;&gt;
&lt;/div&gt;
</pre></p>
<p style="text-align:justify;">More of information about the span formatting tags is available in the <a href="http://iwebkit.net/http//iwebkit.net/download/UserGuidePrint.pdf">iWebKit Documentation</a>, but suffice to say each list tag represents an element in a grouping of elements. For each form element we give it a name (A, B or submit), some other properties and we tell them to submit these values to the web server. One thing to note is the <strong>OnClick</strong> property of the submit button. This property tells the server to invoke the submitClicked method in Default.aspx.cs, the codebehind for the page, when the user hits the button.</p>
<p style="text-align:center;"><span style="color:#ffffff;">_</span></p>
<h3 style="text-align:justify;">Code Behind Style</h3>
<p><pre class="brush: csharp;">
public partial class Default : System.Web.UI.Page
{
    public virtual void submitClicked(object sender, EventArgs args)
    {
        submit.Text = &quot;Result: &quot; + (Int32.Parse(A.Text) + Int32.Parse(B.Text)).ToString();
        A.Text = &quot; &quot;;
        B.Text = &quot; &quot;;
    }
}
</pre></p>
<div id="attachment_151" class="wp-caption alignright" style="width: 50px"><a rel="attachment wp-att-151" href="http://huragok.wordpress.com/2010/05/09/web-application-basics-iwebkit-plus-aspdotnet/screenshot-asp-net-iwebkit-demo-midori/"><img class="size-thumbnail wp-image-151" title="Screenshot-ASP.NET + iWebKit Demo - Midori" src="http://huragok.files.wordpress.com/2010/05/screenshot-asp-net-iwebkit-demo-midori.png?w=40&#038;h=57" alt="Web App on Load with Values inserted" width="40" height="57" /></a><p class="wp-caption-text">Before</p></div>
<p style="text-align:justify;">This is the easy part. The above snippet replaces the generic method in Default.aspx.cs that Mono generated for us when we created our project. When the user clicks/touches the button on the page, the form information is submitted to server and the button event handler is invoked. We parse the text fields A and B with the static Int32 class method Parse(), add the numbers together, convert it back to a string and set the button label to that result. For the sake of being nice, we clear the A &amp; B text fields to a non-value. Illustrated to the right are before and after shots of the web application in action (click to make big).</p>
<div id="attachment_152" class="wp-caption alignright" style="width: 50px"><a rel="attachment wp-att-152" href="http://huragok.wordpress.com/2010/05/09/web-application-basics-iwebkit-plus-aspdotnet/screenshot-asp-net-iwebkit-demo-midori-onsubmit/"><img class="size-thumbnail wp-image-152" title="Screenshot-ASP.NET + iWebKit Demo - Midori-onsubmit" src="http://huragok.files.wordpress.com/2010/05/screenshot-asp-net-iwebkit-demo-midori-onsubmit.png?w=40&#038;h=57" alt="Web Application Submitted - Result is 48" width="40" height="57" /></a><p class="wp-caption-text">After</p></div>
<p style="text-align:justify;">Now there are some caveats with this web application. The biggest one is that there is no error checking and there is no input validation. If the user enters a non-integer in either of the text fields, then the server is going to throw an exception and crash. This leads to the second &#8216;fault&#8217;, that is, there is no recovering from the fault once it&#8217;s made without loading-up the application again. The application is using the basic error page generated by xsp2 and it&#8217;s pretty non-user-friendly to say the least. There are options to configure more useful error pages but that lies outside the scope of this tutorial.</p>
<p style="text-align:center;"><span style="color:#ffffff;">_</span></p>
<h3 style="text-align:justify;">Review</h3>
<p style="text-align:justify;">Hopefully this tutorial has given you an idea how you can create easy to use and pretty web applications for mobile Safari using iWebKit and ASP.NET. In the future I will be presenting some more advanced web application tutorials that utilize databases and RESTful web services to do nifty and awesome things. Hope to see you then!</p>
<p style="text-align:justify;">&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/144/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=144&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/05/09/web-application-basics-iwebkit-plus-aspdotnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/05/screenshot-new-solution.png?w=300" medium="image">
			<media:title type="html">Screenshot-New Solution</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/05/screenshot-setup.png?w=300" medium="image">
			<media:title type="html">Screenshot-setup</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/05/screenshot-asp-net-iwebkit-demo-midori.png?w=40" medium="image">
			<media:title type="html">Screenshot-ASP.NET + iWebKit Demo - Midori</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/05/screenshot-asp-net-iwebkit-demo-midori-onsubmit.png?w=40" medium="image">
			<media:title type="html">Screenshot-ASP.NET + iWebKit Demo - Midori-onsubmit</media:title>
		</media:content>
	</item>
		<item>
		<title>Processing and the iPhone: Accelerometer Data</title>
		<link>http://huragok.wordpress.com/2010/04/28/processing-and-the-iphone-accelerometer-data/</link>
		<comments>http://huragok.wordpress.com/2010/04/28/processing-and-the-iphone-accelerometer-data/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 12:15:14 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Client-Server]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Sensing]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=134</guid>
		<description><![CDATA[Want an easy way to use the accelerometer data for your visualization projects? Have a look at this simple code snippet for the answer to your Processing needs!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=134&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><a href="http://huragok.files.wordpress.com/2010/04/processing_logo.gif"><img class="size-full wp-image-135 alignright" style="margin-left:0;margin-right:0;" title="processing_logo" src="http://huragok.files.wordpress.com/2010/04/processing_logo.gif?w=958" alt=""   /></a><a href="http://huragok.files.wordpress.com/2010/04/mzl-zkxqfelw-100x100-75.jpg"><img class="size-full wp-image-136 alignright" style="margin-left:10px;margin-right:10px;" title="mzl.zkxqfelw.100x100-75" src="http://huragok.files.wordpress.com/2010/04/mzl-zkxqfelw-100x100-75.jpg?w=958" alt=""   /></a>I love <a href="http://processing.org/">Processing</a>. It&#8217;s a great language that&#8217;s derived from Java with a nice IDE and concept: <em>don&#8217;t worry about the complex stuff you need to do arts-y stuff with, it&#8217;s already done for you</em>. So in furthering my professional research (read: slacking-off), I&#8217;ve come up with a neat little code snippet for everyone to use the iPhone&#8217;s accelerometer sensor for Processing sketches (see below). This snippet requires two pieces of software:</p>
<ul>
<li><a href="http://itunes.apple.com/us/app/accelerometer-simulator/id336476721?mt=8">Accelerometer-Simulator</a> (iPhone App)</li>
<li><a href="http://ubaa.net/shared/processing/udp/udp.zip">UDP</a> (Processing Library)</li>
</ul>
<p><span style="color:#ffffff;">_</span></p>
<h3>The Rundown</h3>
<p><span style="color:#ffffff;">_</span></p>
<h3><a href="http://huragok.files.wordpress.com/2010/04/screenshot-iphoneaccelerometerprocessing.png"><img class="size-medium wp-image-137 alignright" style="margin-left:15px;margin-right:15px;" title="Screenshot-iPhoneAccelerometerProcessing" src="http://huragok.files.wordpress.com/2010/04/screenshot-iphoneaccelerometerprocessing.png?w=300&#038;h=192" alt="" width="300" height="192" /></a></h3>
<p style="text-align:justify;">Basically, this snippet uses the listening capabilities of the UDP class to listen on a designated port for incoming UDP transmissions. The Accelerometer Simulator app streams a formatted packet (see the <a href="http://code.google.com/p/accelerometer-simulator/wiki/Home">Google Code Project</a>) over UDP to the host running the Processing Sketch.</p>
<p style="text-align:justify;">Once received, the sketch splits the data packet into separate tokens, converts them into a 3D Vector (global variable <strong>p</strong>) where upon entering the drawing loop of the sketch, provides the location to which the 3D cube is drawn to relative to the center of the window. In order to make the movement of the cube more pronounced (acceleration ranges are approximately ±2.5g), an acceleration scaling factor was used to multiply the incoming acceleration samples.</p>
<p style="text-align:justify;"><span style="color:#ffffff;">_</span></p>
<h3>The Code</h3>
<p><span style="color:#ffffff;">_</span></p>
<p><span style="color:#0000ff;">iPhoneAccelerometerProcessing.pde:</span><br />
<pre class="brush: java;">
import hypermedia.net.*;

// Global Variables
UDP udp;
PVector p;
final float prescaler = 20;

// Setup Method / Entry Point
void setup()
{
    size(screen.width/2, screen.height/2, P3D);
    udp = new UDP(this, 6000);
    udp.listen(true);
    strokeWeight(4);
    p = new PVector(0,0,0);
}

// Draw Method / Per-Frame Drawing Routine
void draw()
{
    background(255);
    translate( (p.x*prescaler)+width/2,
               (p.y*prescaler)+height/2,
               (p.z*prescaler));
    rotateY(0.5);
    box(100);
}

// UDP Data Packet Listener
void receive( byte[] data, String ip, int port )
{
    String message = new String(subset(data, 0, data.length-2));
    String[] toks = splitTokens(message, &quot;,&quot;);
    p = new PVector( float(toks[2]), float(toks[3]), float(toks[4]) );
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=134&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/04/28/processing-and-the-iphone-accelerometer-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/04/processing_logo.gif" medium="image">
			<media:title type="html">processing_logo</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/04/mzl-zkxqfelw-100x100-75.jpg" medium="image">
			<media:title type="html">mzl.zkxqfelw.100x100-75</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/04/screenshot-iphoneaccelerometerprocessing.png?w=300" medium="image">
			<media:title type="html">Screenshot-iPhoneAccelerometerProcessing</media:title>
		</media:content>
	</item>
		<item>
		<title>Goin&#8217; Stateside!</title>
		<link>http://huragok.wordpress.com/2010/04/19/goin-stateside/</link>
		<comments>http://huragok.wordpress.com/2010/04/19/goin-stateside/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 06:48:37 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[AUC]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[San Francisco]]></category>
		<category><![CDATA[WWDC]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=122</guid>
		<description><![CDATA[Thanks to the Apple University Consortium, I've been selected to go to WWDC 2010 this year!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=122&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://huragok.files.wordpress.com/2010/04/wwdc-2010.jpg"><img class="alignright size-medium wp-image-123" title="wwdc-2010" src="http://huragok.files.wordpress.com/2010/04/wwdc-2010.jpg?w=173&#038;h=180" alt="" width="173" height="180" /></a><strong>Awesome!</strong></p>
<p>Thanks to the <a href="http://auc.edu.au/">Apple University Consortium</a>, I&#8217;ve been <a href="http://auc.edu.au/WWDC+Scholarship+Recipients+2010">selected</a> to go to WWDC 2010 this year. This grant scholarship is grant worth $2000 AUD:</p>
<ul>
<li>Return economy airfares to San Francisco, USA from Australia.</li>
<li>Return economy domestic airfares as required to point of departure from Australia.</li>
<li>Twin-share accommodation in San Francisco at the Courtyard Marriott for up to 7 days</li>
<li>WWDC Conference Ticket</li>
</ul>
<p>Though it&#8217;s still not fully confirmed, sources say it&#8217;s to be held June 28 to July 2 in California. Time to get the ol&#8217; passport sorted&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=122&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/04/19/goin-stateside/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/04/wwdc-2010.jpg?w=288" medium="image">
			<media:title type="html">wwdc-2010</media:title>
		</media:content>
	</item>
		<item>
		<title>AUC iPhone Workshop Perth</title>
		<link>http://huragok.wordpress.com/2010/04/13/auc-iphone-workshop-perth/</link>
		<comments>http://huragok.wordpress.com/2010/04/13/auc-iphone-workshop-perth/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 05:13:17 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[AUC]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[Perth]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=102</guid>
		<description><![CDATA[A quick summary of my trip to Perth for the AUC iPhone SDK Workshop. Pictures included!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=102&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><a href="http://auc.edu.au/"><img class="aligncenter" title="AUC-Logo" src="http://auc.edu.au/styles/auc/auc-logo2.gif" alt="AUC Logo" width="423" height="62" /></a></p>
<p style="text-align:justify;">I had the privilege last week to attend one of AUC&#8217;s <a href="http://auc.edu.au/iPhone+SDK+Workshops">iPhone SDK Workshops</a> from the 7-9 April in <a href="http://en.wikipedia.org/wiki/Perth,_Western_Australia">Perth, Australia</a>. The three-day workshop covered in some detail the skills required to develop for the iPhone / iPod Touch platforms, ending in a development contest to see who could best apply their newfound knowledge (for a $50 iTunes Store Gift Voucher &#8230; <em>meh</em>).</p>
<p style="text-align:justify;">Specifically, the workshop covered (in no particular order):</p>
<li style="padding-left:30px;">Model-View-Controller (MVC), Target-Action / Delegation Programming Paradigms</li>
<li style="padding-left:30px;">Objective-C Primer</li>
<li style="padding-left:30px;">Using XCode, Interface Builder, iPhone Simulator, and the value of RTFM</li>
<li style="padding-left:30px;">Structure of Apps, Metadata and Configuration</li>
<li style="padding-left:30px;">Views, View Controllers and UI Elements (Buttons, Labels, etc)</li>
<li style="padding-left:30px;">Navigation Controllers, TableViews</li>
<li style="padding-left:30px;">Touch / Multitouch, Events and the Responder Chain</li>
<li style="padding-left:30px;">Storage Mechanisms (Preferences, Documents, SQLite DB) and the App Sandbox</li>
<li style="padding-left:30px;">iPhone Graphics API&#8217;s: UIKit, Quartz2D, CoreAnimation, OpenGL ES</li>
<li style="padding-left:30px;">Core Location</li>
<li style="padding-left:30px;">App Purchases, Push Notifications &amp; Available API&#8217;s</li>
<p style="text-align:justify;"><span style="color:#ffffff;">-</span></p>
<p style="text-align:justify;">I had a really great time (barring the flight to Perth, a five-hour bore) in Perth, it was a fantastic city with a great vibe. Much thanks to the staff of the <a href="http://www.cliftons.com/perth">Cliftons Training Center Perth</a>, and a special thanks to Louis and Brock for demonstrating the workshop!</p>
<p><span style="color:#ffffff;">-</span></p>
<h3>Photos</h3>
<p><span style="color:#ffffff;">-</span></p>
<div id="attachment_108" class="wp-caption aligncenter" style="width: 911px"><a href="http://huragok.files.wordpress.com/2010/04/2010-17-42-21.jpg"><img class="size-full wp-image-108" title="Pretty!" src="http://huragok.files.wordpress.com/2010/04/2010-17-42-21.jpg?w=958" alt="Ice crystal formation on jetliner window"   /></a><p class="wp-caption-text">Ice Crystal Formation at 10,000 ft. - &quot;Hey Jim, there seems to be a crack in the window!&quot;</p></div>
<div id="attachment_104" class="wp-caption aligncenter" style="width: 911px"><a href="http://huragok.files.wordpress.com/2010/04/2010-17-44-38.jpg"><img class="size-full wp-image-104" title="Perth Skyline" src="http://huragok.files.wordpress.com/2010/04/2010-17-44-38.jpg?w=958" alt="Perth Skyline"   /></a><p class="wp-caption-text">Perth, WA - Brisbane ... but better.</p></div>
<div id="attachment_106" class="wp-caption aligncenter" style="width: 911px"><a href="http://huragok.files.wordpress.com/2010/04/2010-17-45-44.jpg"><img class="size-full wp-image-106" title="Perth Cityscape" src="http://huragok.files.wordpress.com/2010/04/2010-17-45-44.jpg?w=958" alt="Perth Cityscape"   /></a><p class="wp-caption-text">Perth Cityscape / King&#039;s Park + One Goon</p></div>
<div id="attachment_107" class="wp-caption aligncenter" style="width: 911px"><a href="http://huragok.files.wordpress.com/2010/04/2010-17-46-10.jpg"><img class="size-full wp-image-107" title="iPhone Developers in Training" src="http://huragok.files.wordpress.com/2010/04/2010-17-46-10.jpg?w=958" alt="iPhone Developers in Training"   /></a><p class="wp-caption-text">iPhone Developers in Training - Mother of God!!!!1</p></div>
<div id="attachment_109" class="wp-caption aligncenter" style="width: 540px"><a href="http://huragok.files.wordpress.com/2010/04/2010-14-33-35.png"><img class="size-full wp-image-109" title="Black Swans" src="http://huragok.files.wordpress.com/2010/04/2010-14-33-35.png?w=958" alt="Black Swans w/Goslings"   /></a><p class="wp-caption-text">Black Swans w/Goslings - &quot;Whatchu lookin&#039; at Swaaaan!&quot;</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=102&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/04/13/auc-iphone-workshop-perth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://auc.edu.au/styles/auc/auc-logo2.gif" medium="image">
			<media:title type="html">AUC-Logo</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/04/2010-17-42-21.jpg" medium="image">
			<media:title type="html">Pretty!</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/04/2010-17-44-38.jpg" medium="image">
			<media:title type="html">Perth Skyline</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/04/2010-17-45-44.jpg" medium="image">
			<media:title type="html">Perth Cityscape</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/04/2010-17-46-10.jpg" medium="image">
			<media:title type="html">iPhone Developers in Training</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/04/2010-14-33-35.png" medium="image">
			<media:title type="html">Black Swans</media:title>
		</media:content>
	</item>
		<item>
		<title>AUC Student Developer Scholarship Application Video</title>
		<link>http://huragok.wordpress.com/2010/04/02/auc-student-developer-scholarship-application-video/</link>
		<comments>http://huragok.wordpress.com/2010/04/02/auc-student-developer-scholarship-application-video/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 05:19:47 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[AUC]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=99</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=99&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<span style="text-align:center; display: block;"><a href="http://huragok.wordpress.com/2010/04/02/auc-student-developer-scholarship-application-video/"><img src="http://img.youtube.com/vi/oIc3hCN0tqQ/2.jpg" alt="" /></a></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=99&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/04/02/auc-student-developer-scholarship-application-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>Article I: Introduction &amp; Theory</title>
		<link>http://huragok.wordpress.com/2010/03/27/article-i-introduction-theory/</link>
		<comments>http://huragok.wordpress.com/2010/03/27/article-i-introduction-theory/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 12:32:14 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Compilers]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=89</guid>
		<description><![CDATA[This article serves as a basic introduction to the Let's Build a Compiler: Redux -series of articles on compiler construction. It also gives a primer on Backus-Naur form, a way in which language can be deconstructed into symbolic tokens.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=89&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Generic Introduction #1</h3>
<p style="text-align:justify;">So, you want to write a compiler huh? If that&#8217;s what you want, then you&#8217;ve come to the right place. This is the first article in a series of (hopefully) many that deal with compiler construction using the Lookahead Recursive-Descent method for LL(k) grammars. Now, this method is not used in mainstream compilers these days what with Abstract Syntax Trees and stuff like that. No, this is an earlier method that is fairly easy to grasp by people who understand &#8230; wait for it &#8230; programming. Where appropriate, I comment on anything that may look tricky and at all times will keep the algorithm <strong>simple</strong>. If it isn&#8217;t simple, you&#8217;re doing it wrong. That said, let&#8217;s move onto what tools you will need to write your compiler, then a little bit of theory. Sound good?</p>
<p style="text-align:center;"><span style="color:#ffffff;">–</span></p>
<h3>Tools of the Trade</h3>
<p style="text-align:right;padding-left:420px;">“Manually managing blocks of memory in C is like juggling bars of soap in a prison shower: It’s all fun and games until you forget about one of them.”<br />
<em>– anonymous Usenet user</em></p>
<p style="text-align:justify;">So it&#8217;s no surprise that you can write really complex code with just a few lines of C# and the .NET Base Class Library (BCL). Growing-up with C/C++ and libc, moving to C# and .NET was a culture-shock. Not having to really worry about memory allocations and object references? Fan-fracking-tastic I say! So as you&#8217;ve probably guessed, we&#8217;ll be writing our compiler in C#. I&#8217;m using Mono/MonoDevelop, but any .NET 2.0-compliant compiler/runtime will compile/run this software.</p>
<p style="text-align:justify;">Since our output files are going to be in assembly language, we&#8217;re going to need an assembler. I prefer <a href="http://flatassembler.net/">Flat Assmbler</a> (FASM), but if you prefer <a href="http://en.wikipedia.org/wiki/GNU_Assembler">GNU Assembler</a> (GAS) or <a href="http://en.wikipedia.org/wiki/Netwide_Assembler">Netwide Assembler</a> (NASM), I&#8217;m not stopping you &#8211; I just wont help you out in debugging the output.</p>
<p style="text-align:justify;">Finally, we have our execution platform. I&#8217;m still hung on the best way of demonstrating that you&#8217;re producing real, executable code with the compiler.  At this present time, I&#8217;m looking at an illustrative and user-friendly virtual machine (VM) with an Intel x86-like programmer&#8217;s model written in <a href="http://processing.org/">Processing,</a> or using something that can host a MS-DOS clone. Luckily, thanks to this being an incremental series we can put that off until another article.</p>
<p style="text-align:center;"><span style="color:#ffffff;">–</span></p>
<h3 style="text-align:justify;">Thank-You, Mr. Backus</h3>
<p><!-- ======================================================= --> <!-- Created by AbiWord, a free, Open Source wordprocessor.  --> <!-- For more information visit http://www.abisource.com.    --> <!-- ======================================================= --> <!-- #toc, .toc, .mw-warning { 	border: 1px solid #aaa; 	background-color: #f9f9f9; 	padding: 5px; 	font-size: 95%; } #toc h2, .toc h2 { 	display: inline; 	border: none; 	padding: 0; 	font-size: 100%; 	font-weight: bold; } #toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { 	text-align: center; } #toc ul, .toc ul { 	list-style-type: none; 	list-style-image: none; 	margin-left: 0; 	padding-left: 0; 	text-align: left; } #toc ul ul, .toc ul ul { 	margin: 0 0 0 2em; } #toc .toctoggle, .toc .toctoggle { 	font-size: 94%; }@media print, projection, embossed { 	body { 		padding-top:1in; 		padding-bottom:1in; 		padding-left:1in; 		padding-right:1in; 	} } body { 	font-family:'Times New Roman'; 	font-style:normal; 	widows:2; 	font-variant:normal; 	font-weight:normal; 	text-decoration:none; 	text-indent:0in; 	color:#000000; 	text-align:left; 	font-size:12pt; } table { } td { 	border-collapse:collapse; 	text-align:left; 	vertical-align:top; } --></p>
<div>
<p style="text-align:justify;">So, a compiler is all about translating one language into another (high-level declarations into low-level assembly or machine code). Languages all have rules: if you said &#8220;<span style="color:#0000ff;"><em>The quick red fox jumped over the brown log</em></span>&#8220;, and then your idiot friend said &#8220;<span style="color:#993300;"><em>quick red fox jumped over red log</em></span>&#8221; you would ask them what they did with the other words. Sure, you can understand it, but if you were an automaton that follows the rules, you would baulk at the idiot friend. Backus-Naur Form (BNF) is one such way of representing language, specifically <em>context-free grammars</em>, in a symbolic and rule-following way. In the above example we could say that it&#8217;s structure could be decomposed into:</p>
<p style="text-align:justify;padding-left:60px;">The &lt;speed&gt; &lt;color&gt; &lt;animal&gt; &lt;previous-tense action&gt; &lt;method of action&gt; the &lt;color&gt; &lt;object&gt;</p>
<p style="text-align:justify;">In this structure (aka <em>syntax</em>), we could substitute other symbols like &#8220;<em>The slow blue turtle ambled down the green path</em>&#8220;. If we were to give the following syntax:</p>
<p style="text-align:justify;padding-left:60px;">The [&lt;speed&gt;] [&lt;color&gt;] (&lt;animal&gt; | &lt;vehicle&gt;) &lt;previous-tense action&gt; &lt;method of action&gt; the [&lt;color&gt;] &lt;object&gt;</p>
<p style="text-align:justify;">The following sentence would still be a valid one: &#8220;<em>The truck rolled along the road</em>&#8220;. But what did we do with all the other symbols (items within &lt;&gt; brackets) in our syntax? Well we omitted them because they were optional (wrapped in [] brackets). We can also see that there are two types of symbols: those that can have substitutions (<em>non-terminal</em>) like &lt;color&gt;, and those that cannot (<em>terminal</em>) like the beginning &#8216;the&#8217;. Other examples of terminal symbols would be blue and red for &lt;color&gt; and cat or dog for &lt;animal&gt;.</p>
<p><!-- ======================================================= --> <!-- Created by AbiWord, a free, Open Source wordprocessor.  --> <!-- For more information visit http://www.abisource.com.    --> <!-- ======================================================= --> <!-- #toc, .toc, .mw-warning { 	border: 1px solid #aaa; 	background-color: #f9f9f9; 	padding: 5px; 	font-size: 95%; } #toc h2, .toc h2 { 	display: inline; 	border: none; 	padding: 0; 	font-size: 100%; 	font-weight: bold; } #toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { 	text-align: center; } #toc ul, .toc ul { 	list-style-type: none; 	list-style-image: none; 	margin-left: 0; 	padding-left: 0; 	text-align: left; } #toc ul ul, .toc ul ul { 	margin: 0 0 0 2em; } #toc .toctoggle, .toc .toctoggle { 	font-size: 94%; }@media print, projection, embossed { 	body { 		padding-top:1in; 		padding-bottom:1in; 		padding-left:1in; 		padding-right:1in; 	} } body { 	font-family:'Times New Roman'; 	font-style:normal; 	widows:2; 	font-variant:normal; 	font-weight:normal; 	text-decoration:none; 	text-indent:0in; 	color:#000000; 	text-align:left; 	font-size:12pt; } table { } td { 	border-collapse:collapse; 	text-align:left; 	vertical-align:top; } --></p>
<div>
<p style="text-align:justify;"><span style="color:#ffffff;">–</span></p>
<h3 style="text-align:justify;">Thank-You Mr. Naur</h3>
<p style="text-align:justify;">There are two rules to BNF specifications: the left-hand side must be a non-terminal symbol; and the right-hand side must consist of one or more symbols.  A non-terminal is any symbol which can be reduced further through the substitution of other symbols. Conversely, a terminal symbol cannot be reduced. The following is a general format for a specification:</p>
<p><!-- ======================================================= --> <!-- Created by AbiWord, a free, Open Source wordprocessor.  --> <!-- For more information visit http://www.abisource.com.    --> <!-- ======================================================= --> <!-- #toc, .toc, .mw-warning { 	border: 1px solid #aaa; 	background-color: #f9f9f9; 	padding: 5px; 	font-size: 95%; } #toc h2, .toc h2 { 	display: inline; 	border: none; 	padding: 0; 	font-size: 100%; 	font-weight: bold; } #toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { 	text-align: center; } #toc ul, .toc ul { 	list-style-type: none; 	list-style-image: none; 	margin-left: 0; 	padding-left: 0; 	text-align: left; } #toc ul ul, .toc ul ul { 	margin: 0 0 0 2em; } #toc .toctoggle, .toc .toctoggle { 	font-size: 94%; }@media print, projection, embossed { 	body { 		padding-top:1in; 		padding-bottom:1in; 		padding-left:1in; 		padding-right:1in; 	} } body { 	font-family:'Times New Roman'; 	font-style:normal; 	widows:2; 	font-variant:normal; 	font-weight:normal; 	text-decoration:none; 	text-indent:0in; 	color:#000000; 	text-align:left; 	font-size:12pt; } table { } td { 	border-collapse:collapse; 	text-align:left; 	vertical-align:top; } p, h1, h2, h3, li { 	color:#000000; 	font-family:'Times New Roman'; 	font-size:12pt; 	text-align:left; 	vertical-align:normal; } --></p>
<div>
<p style="padding-left:60px;">&lt;symbol&gt; ::= expression</p>
<p style="text-align:justify;">The non-terminal symbol on the left is equal (::=) to the expression on the right, where expression is comprises of other symbols in the language specification. As an example, let&#8217;s describe the language of telephone numbers. A telephone number consists of three main descriptors: international prefix, area code and the local number itself. We also know that a phone number must consist of only base-10 digits (and the &#8216;+&#8217; for international prefixes). With this knowledge, we can define a BNF specification for a telephone number in Australia as:</p>
<p style="padding-left:60px;">&lt;phone number&gt; ::= [[&lt;international code&gt;] &lt;area code&gt;] &lt;local number&gt;</p>
<p style="padding-left:60px;">&lt;international code&gt; ::=<strong> +</strong> &lt;digit&gt; {&lt;digit&gt;}</p>
<p style="padding-left:60px;">&lt;area code&gt; ::= &lt;digit&gt; &lt;digit&gt;</p>
<p style="padding-left:60px;">&lt;local number&gt; ::= &lt;digit&gt; &lt;digit&gt; &lt;digit&gt; &lt;digit&gt; &lt;digit&gt; &lt;digit&gt; &lt;digit&gt; &lt;digit&gt;</p>
<p style="padding-left:60px;">&lt;digit&gt; ::= <strong>0</strong> | <strong>1</strong> | <strong>2</strong> | <strong>3</strong> | <strong>4</strong> | <strong>5</strong> | <strong>6</strong> | <strong>7</strong> | <strong>8</strong> | <strong>9</strong></p>
<p style="text-align:justify;">So in this example we have eleven terminal symbols (in bold) and five non-terminal symbols. In addition to these symbols, we have some BNF expression-specific formatting punctuation:</p>
<ul>
<li> {&lt;symbol&gt;} which indicates substitution repetition of the symbol zero or more times</li>
<li> [&lt;symbol&gt;] which indicates an optional symbol substitution</li>
<li> |  indicates a selection between symbols</li>
</ul>
<p style="text-align:justify;">In the future we&#8217;ll formulate a BNF specification for the language we will write the compiler for, but for now that&#8217;s enough theory language theory. If not, use your initiative and discover some more information.</p>
<p style="text-align:justify;"><span style="color:#ffffff;">–</span></p>
<h3>Next Time in <em>Let&#8217;s Build a Compiler: Redux</em></h3>
<p style="text-align:justify;">In our next lesson we&#8217;ll be getting down to business and coding a module in the compiler which translates input source files into a symbolic representation, also known as the <em>Lexical Scanner</em> or <em>Lexer</em>. We need this symbolic representation in the future because compilers are deterministic automatons. In order to understand the mechanism behind how this process works, we&#8217;ll also look into <em>Finite State Machines</em>, a way in which to represent decision logic based on the current state of affairs.</p>
<p style="text-align:center;"><span style="color:#ffffff;">–</span></p>
<p style="text-align:justify;">See you then,</p>
<p style="text-align:justify;">Tristan.</p>
</div>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=89&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/03/27/article-i-introduction-theory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
		<item>
		<title>DS.NET: A Terrific Challenge!</title>
		<link>http://huragok.wordpress.com/2010/03/18/ds-net-a-terrific-challenge/</link>
		<comments>http://huragok.wordpress.com/2010/03/18/ds-net-a-terrific-challenge/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 11:40:37 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[.NET Micro Framework]]></category>
		<category><![CDATA[NDS]]></category>
		<category><![CDATA[NETMF]]></category>
		<category><![CDATA[Nintendo DS]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=63</guid>
		<description><![CDATA[So in my last entry, I hinted at some projects I had been mulling over. One of those ideas was DS.NET, a port of the .NET Micro Framework (NETMF) to the Nintendo DS (NDS) hardware platform. The NDS is a nifty little piece of hardware with two processors (ARM7, ARM9), two LCD screens (one with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=63&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<p style="text-align:justify;">So in my <a href="http://huragok.wordpress.com/2010/03/07/on-reinventing-the-wheel/">last entry</a>, I hinted at some projects I had been mulling over. One of those ideas was <em><strong>DS.NET</strong></em>, a port of the <a href="http://www.netmf.com/home.aspx">.NET Micro Framework</a> (NETMF) to the <a href="http://en.wikipedia.org/wiki/Nintendo_DS">Nintendo DS</a> (NDS) hardware platform. The NDS is a nifty little piece of hardware with two processors (ARM7, ARM9), two LCD screens (one with touch input), sound I/O and 802.11b Wireless Ethernet. The real reason NETMF should be ported to the NDS is that in doing so, the ability for homebrew application development would become easier for those interested in programming for the NDS. No fiddling around with different graphics modes and control registers, just pure managed C#.</p>
<p style="text-align:justify;">So, in this article I&#8217;ll briefly explain what NETMF is, what I think is required to port the NETMF platform to the NDS, and the next steps in the DS.NET project. Now I wont make any promises that there will be a port of the framework, but hey, it&#8217;s not like I wont give it a go!</p>
<p style="text-align:justify;"><span style="color:#ffffff;">-</span></p>
<h3>.NET Micro Framework: Smart Programming of Dumb Devices</h3>
<p style="text-align:justify;">In a nutshell, NETMF is a significantly pared-down version of the .NET BCL running on an CIL interpreter geared towards embedded devices (&#8220;bare metal&#8221;). The framework can be booted from flash memory and allows applications running in the interpreter to access the underlying hardware through managed drivers. Figure 1 below illustrates the layered levels of the framework:</p>
<p style="text-align:justify;"><span style="color:#ffffff;">-</span></p>
<p style="text-align:center;"><span style="color:#000000;"> </span></p>
<div id="attachment_69" class="wp-caption aligncenter" style="width: 508px"> <a href="http://huragok.files.wordpress.com/2010/03/netmf.png"><img class="size-full wp-image-69" title=".NET Micro Framework Architecture Layers" src="http://huragok.files.wordpress.com/2010/03/netmf.png?w=958" alt=""   /></a><p class="wp-caption-text">Figure 1:  .NET Micro Framework Architecture Layers</p></div>
<p style="text-align:justify;"><span style="color:#ffffff;">-</span></p>
<p style="text-align:justify;">So the topmost layer is, as with NETMF&#8217;s bigger brothers the Compact Framework and the Full framework. the application layer where managed user code executes. To develop applications for NETMF devices requires the NETMF SDK. Directly underneath is the library-level layer, where the .NET Base Class Library (BCL), Windows Presentation Foundation (WPF) and harware-specific libraries are. In the runtime component layer lies the Common Language Runtime (CLR), the Platform Abstraction Layer (PAL), and the Hardware Abstraction Layer (HAL). It could probably be said that each of these three components are separate layers themselves, but hey, whatever floats MS&#8217;s boat right?</p>
<p style="text-align:justify;"><span style="color:#ffffff;">-</span></p>
<h3>Nintendo DS: A Hacker&#8217;s Paradox</h3>
<p style="text-align:justify;">Homebrew software development for the NDS has been around for a long time, with hundreds of hackers reverse-engineering the hidden proprietary magic inside. So, what has the NDS got to offer the DS.NET developer?</p>
<div>Processing:</div>
<div>
<ul>
<li>An <a href="http://www.arm.com/products/processors/classic/arm9/arm946.php">ARM946E-S</a> processor running at 67Mhz, typically used to handle application execution (including graphical routines)</li>
<li>An <a href="http://www.arm.com/products/processors/classic/arm7/arm7tdmi.php">ARM7TDMI</a> processor running at 33Mhz, typically used to handle on-board device management</li>
<li>Multiple graphics interfaces, including a 3D renderer and two 2D renderers</li>
</ul>
</div>
<div>Memory:</div>
<div>
<ul>
<li>4096 Kb of External Working RAM (<em>EWRAM</em>), shared between both cores</li>
<li>16 Kb of Instruction Tightly-Coupled Memory (ITCM), used to store frequently-used routines and accessable only to the ARM9 core</li>
<li>16 Kb of Data Tightly-Coupled Memory (DTCM), used to store frequently-used variables and acessable only to the ARM9 core</li>
<li>64 Kb of Internal Working RAM (<em>IWRAM</em>), fast memory than is accessable only by the ARM7 core</li>
<li>2 x 16 Kb banks of Working RAM (<em>WRAM</em>), which can mapped to the memory space of either core</li>
<li>656 Kb of Video RAM (VRAM) split into multiple banks for varying purposes</li>
</ul>
</div>
<div>All this memory can be confusing! Thankfully, the folks over at Dev-Scene.com have illustrated the memory configuration of the NDS <a href="http://www.dev-scene.com/NDS/Tutorials_Day_2#Memory_Layout">here</a>. Basically, the ITCM and DTCM memories act as an L2 cache for the ARM9 processor, with the IWRAM acting as a shared Instruction/Data cache for the ARM7 processor.</div>
<div></div>
<div>I/O:</div>
<ul>
<li>Sound</li>
<li>Microphone</li>
<li>RTC</li>
<li>802.11b Wireless Ethernet</li>
</ul>
<p><span style="color:#ffffff;">-</span></p>
<h3>DS.NET: A Worthy Challenge, a whole lotta work!</h3>
<p style="text-align:justify;">So, there are a number of considerations even thinking about porting NETMF to the DS. Firstly, we are dealing with a multiprocessor system: this means division of labor and synchronization. So knowing that the ARM7 processor has exclusive access to the I/O devices of the system, let&#8217;s assign the ARM7 it&#8217;s own BSP and make it responsible to the ARM9 processor as a slave. Operating as a slave, we&#8217;ll make the ARM9 processor the master which will run all applications and will have it&#8217;s own BSP. Secondly, the toolchain is going to be annoying. A whole bunch of code will be required from DevKitPro/ndslib/ndswifi/ndsfat.</p>
<p>So in conclusion, this is a big project. If there&#8217;s a developer out there who wants in, let me know (<a href="http://huragok.wordpress.com/about-2/">see here</a>) what your interests and abilities are and I&#8217;m sure we could work towards something freakin&#8217; cool!</p>
<p><span style="color:#ffffff;">-</span></p>
<p>[a] Figure 1 extracted from the .NET Micro Framework Porting Kit CHM Documentation</p>
</div>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:372px;width:1px;height:1px;"><span style="color:#000000;">—</span></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=63&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/03/18/ds-net-a-terrific-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>

		<media:content url="http://huragok.files.wordpress.com/2010/03/netmf.png" medium="image">
			<media:title type="html">.NET Micro Framework Architecture Layers</media:title>
		</media:content>
	</item>
		<item>
		<title>On reinventing the wheel&#8230;</title>
		<link>http://huragok.wordpress.com/2010/03/07/on-reinventing-the-wheel/</link>
		<comments>http://huragok.wordpress.com/2010/03/07/on-reinventing-the-wheel/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 11:30:24 +0000</pubDate>
		<dc:creator>Tristan</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://huragok.wordpress.com/?p=58</guid>
		<description><![CDATA[Examining my schedule today, I counted five active software projects (discounting PhD-related projects) I am currently involved with: Let&#8217;s Build A Compiler: Redux DexOS/ARM9, a port of the Intel i386 DexOS to an ARM9 Development Board DexOS/CPADS, a platform-independent virtual machine for Assembly Language Operating Systems DexOS Wiki, comprehensive documentation for the DexOS community A [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=58&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Examining my schedule today, I counted five active software projects (discounting PhD-related projects) I am currently involved with:</p>
<ol style="text-align:justify;">
<li><em>Let&#8217;s Build A Compiler: Redux</em></li>
<li>DexOS/ARM9, a port of the Intel i386 <a href="http://dex4u.com/">DexOS</a> to an <a href="http://www.friendlyarm.net/products/mini2440">ARM9 Development Board</a></li>
<li>DexOS/CPADS, a platform-independent virtual machine for Assembly Language Operating Systems</li>
<li>DexOS Wiki, comprehensive documentation for the DexOS community</li>
<li>A Confidential iPhone Application Project</li>
</ol>
<p style="text-align:justify;">That list doesn&#8217;t encompass ideas that are in varying stages of fertilization, like Arduino32, ProcessingDS and Menuet.NET. Then there are more projects I than I care to count that have been thrown to the wayside. Reflecting upon this messy state of affairs, I declared to myself that I needed to pick a project and follow it through to completion (or at least until I can palm it off to a maintainer who actually <em>cares</em>). This reflection lead to further thought on my programming practices&#8230;</p>
<p style="text-align:justify;">I like to start a project <em>tabula rasa</em>, usually with me reinventing the wheel. It usually starts-out as a <em>cool idea</em>, which then proceeds to first-page google searches for existing solutions, a cursory read if the search yields related or tangential results. Finally, it ends up with either a prototype system or complete failure followed by relegation to the dusty project archives.</p>
<p style="text-align:justify;">While this state of affairs leads to the exploration of many <em>cool ideas</em>, these projects never see the light of day or contribute significantly to ongoing software projects. So with my free time (ha!) being significantly small, what do I do?</p>
<p style="text-align:justify;">Prototype the next <em>cool idea</em>!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/huragok.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/huragok.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/huragok.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/huragok.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/huragok.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/huragok.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/huragok.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/huragok.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/huragok.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/huragok.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/huragok.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/huragok.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/huragok.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/huragok.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=huragok.wordpress.com&amp;blog=10853786&amp;post=58&amp;subd=huragok&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://huragok.wordpress.com/2010/03/07/on-reinventing-the-wheel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Solidus</media:title>
		</media:content>
	</item>
	</channel>
</rss>
