<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>nathandemick.com &#187; programming</title>
	<atom:link href="http://nathandemick.com/archive/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://nathandemick.com</link>
	<description></description>
	<lastBuildDate>Fri, 06 Apr 2012 19:58:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Sam Loutzenheiser</title>
		<link>http://nathandemick.com/2011/09/by-watching-television-one-should-be-able-to-guess/</link>
		<comments>http://nathandemick.com/2011/09/by-watching-television-one-should-be-able-to-guess/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 16:38:40 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathandemick.com/2011/09/by-watching-television-one-should-be-able-to-guess/</guid>
		<description><![CDATA[By watching television one should be able to guess that no matter how old you get, the same bullshit is always waiting to haunt you&#8230; but for whatever reason I reasoned that problems, no matter how complex, are in someway bound and finite. And in that reasoning, I came to the subconscience conclusion that if [...]]]></description>
			<content:encoded><![CDATA[<p>By watching television one should be able to guess that no matter how old you get, the same bullshit is always waiting to haunt you&#8230; but for whatever reason I reasoned that problems, no matter how complex, are in someway bound and finite. And in that reasoning, I came to the subconscience conclusion that if I work all of the existing ones out, I could actually live in peace&#8230; Sadly, this assumption was clearly wrong.</p>
]]></content:encoded>
			<wfw:commentRss>http://nathandemick.com/2011/09/by-watching-television-one-should-be-able-to-guess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Me: I didn&#8217;t program multitasking support in revolve ball Me: cos I&#8217;m lazy Ed: you didnt &#8216;ganbaru&#8217; M</title>
		<link>http://nathandemick.com/2011/05/me-i-didnt-program-multitasking-support-in/</link>
		<comments>http://nathandemick.com/2011/05/me-i-didnt-program-multitasking-support-in/#comments</comments>
		<pubDate>Tue, 03 May 2011 16:21:42 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathandemick.com/2011/05/me-i-didnt-program-multitasking-support-in/</guid>
		<description><![CDATA[Me: I didn&#8217;t program multitasking support in revolve ball Me: cos I&#8217;m lazy Ed: you didnt &#8216;ganbaru&#8217; Me: oh shit! you&#8217;re right]]></description>
			<content:encoded><![CDATA[<p>Me: I didn&#8217;t program multitasking support in revolve ball<br />
Me: cos I&#8217;m lazy<br />
Ed: you didnt &#8216;ganbaru&#8217;<br />
Me: oh shit! you&#8217;re right</p>
]]></content:encoded>
			<wfw:commentRss>http://nathandemick.com/2011/05/me-i-didnt-program-multitasking-support-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Populate a form with a serialized data string using jQuery</title>
		<link>http://nathandemick.com/2011/04/populate-a-form-with-a-serialized-data-string-using-jquery/</link>
		<comments>http://nathandemick.com/2011/04/populate-a-form-with-a-serialized-data-string-using-jquery/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 19:50:19 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathandemick.com/?p=421</guid>
		<description><![CDATA[OK, so you know about the great jQuery utility method serialize(), which, when applied to a jQuery object that represents a form, will turn all the form data into a key/value serialized string. Randomly, I was asked if it was possible to do the reverse. jQuery doesn&#8217;t have a method like that baked in, so [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so you know about the great jQuery utility method <code>serialize()</code>, which, when applied to a jQuery object that represents a form, will turn all the form data into a key/value serialized string. Randomly, I was asked if it was possible to do the reverse. jQuery doesn&#8217;t have a method like that baked in, so here&#8217;s my implementation.</p>
<pre class="brush:js">
function loadSerializedData(formId, data)
{
	var tmp = data.split('&amp;'), dataObj = {};

	// Bust apart the serialized data string into an obj
	for (var i = 0; i &lt; tmp.length; i++)
	{
		var keyValPair = tmp[i].split(&#039;=&#039;);
		dataObj[keyValPair[0]] = keyValPair[1];
	}

	// Loop thru form and assign each HTML tag the appropriate value
	$(&#039;#&#039; + formId + &#039; :input&#039;).each(function(index, element) {
		if (dataObj[$(this).attr(&#039;name&#039;)])
			$(this).val(dataObj[$(this).attr(&#039;name&#039;)]);
	});
}
</pre>
<p>Is there a better way to do this? Let me know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://nathandemick.com/2011/04/populate-a-form-with-a-serialized-data-string-using-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Here&#8217;s your obfuscated Javascript for the day</title>
		<link>http://nathandemick.com/2011/04/heres-your-obfuscated-javascript-for-the-day/</link>
		<comments>http://nathandemick.com/2011/04/heres-your-obfuscated-javascript-for-the-day/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 18:54:00 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathandemick.com/2011/04/heres-your-obfuscated-javascript-for-the-day/</guid>
		<description><![CDATA[function startsWithVowel(word) { return [&#8216;a&#8217;, &#8216;e&#8217;, &#8216;i&#8217;, &#8216;o&#8217;, &#8216;u&#8217;].indexOf(word[0])&#160;!= -1; }]]></description>
			<content:encoded><![CDATA[<p>function startsWithVowel(word)<br />
{<br />
    return [&#8216;a&#8217;, &#8216;e&#8217;, &#8216;i&#8217;, &#8216;o&#8217;, &#8216;u&#8217;].indexOf(word[0])&#160;!= -1;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://nathandemick.com/2011/04/heres-your-obfuscated-javascript-for-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pixelstyle: Mega Man 2, NES &#8211; 1989</title>
		<link>http://nathandemick.com/2010/12/pixelstyle-mega-man-2-nes-1989/</link>
		<comments>http://nathandemick.com/2010/12/pixelstyle-mega-man-2-nes-1989/#comments</comments>
		<pubDate>Mon, 27 Dec 2010 15:08:11 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathandemick.com/2010/12/pixelstyle-mega-man-2-nes-1989/</guid>
		<description><![CDATA[pixelstyle: Mega Man 2, NES &#8211; 1989]]></description>
			<content:encoded><![CDATA[<p><a href="http://pixelstyle.tumblr.com/post/2439935183/mega-man-2-nes-1989" class="tumblr_blog">pixelstyle</a>:</p>
<blockquote><p><em><strong>Mega Man 2,</strong></em> NES &#8211; 1989</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://nathandemick.com/2010/12/pixelstyle-mega-man-2-nes-1989/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phil: I&#8217;m taking pictures of the borq queen and her offspring today Me: No kidding? Prepare to be as</title>
		<link>http://nathandemick.com/2010/12/phil-im-taking-pictures-of-the-borq-queen-and/</link>
		<comments>http://nathandemick.com/2010/12/phil-im-taking-pictures-of-the-borq-queen-and/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 14:45:13 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathandemick.com/2010/12/phil-im-taking-pictures-of-the-borq-queen-and/</guid>
		<description><![CDATA[Phil: I&#8217;m taking pictures of the borq queen and her offspring today Me: No kidding? Prepare to be assimilated]]></description>
			<content:encoded><![CDATA[<p>Phil: I&#8217;m taking pictures of the borq queen and her offspring today<br />
Me: No kidding? Prepare to be assimilated</p>
]]></content:encoded>
			<wfw:commentRss>http://nathandemick.com/2010/12/phil-im-taking-pictures-of-the-borq-queen-and/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>paraisofriki: Awesome Ico fanart.</title>
		<link>http://nathandemick.com/2010/12/paraisofriki-awesome-ico-fanart/</link>
		<comments>http://nathandemick.com/2010/12/paraisofriki-awesome-ico-fanart/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 14:11:24 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathandemick.com/2010/12/paraisofriki-awesome-ico-fanart/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_584" class="wp-caption alignnone" style="width: 1034px"><a href="http://www.pixiv.net/member_illust.php?mode=medium&amp;illust_id=5713182" rel="attachment wp-att-584"><img src="http://nathandemick.com/wp-content/uploads/2011/12/tumblr_lctjyougdH1qa4e09o1_1280-1024x706.jpg" alt="" width="1024" height="706" class="size-large wp-image-584" /></a><p class="wp-caption-text">paraisofriki: Awesome Ico fanart.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://nathandemick.com/2010/12/paraisofriki-awesome-ico-fanart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tinycartridge: Nintendo’s headquarters building in Kyoto, Japan, captured by Juri Pozzi Awesome. The</title>
		<link>http://nathandemick.com/2010/11/tinycartridge-nintendos-headquarters-building/</link>
		<comments>http://nathandemick.com/2010/11/tinycartridge-nintendos-headquarters-building/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 19:22:00 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathandemick.com/2010/11/tinycartridge-nintendos-headquarters-building/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_587" class="wp-caption alignnone" style="width: 610px"><img src="http://nathandemick.com/wp-content/uploads/2011/12/tumblr_lcdej9VJ2v1qzp9weo1_1280.jpg" alt="" width="600" height="800" class="size-large wp-image-587" /><p class="wp-caption-text">tinycartridge: Nintendo’s headquarters building in Kyoto, Japan, captured by Juri Pozzi Awesome. The</p></div>
]]></content:encoded>
			<wfw:commentRss>http://nathandemick.com/2010/11/tinycartridge-nintendos-headquarters-building/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>paraisofriki: La cantidad de jueguecillos Flash es ALUCINANTE… aunque dentro de poco los de iOS barr</title>
		<link>http://nathandemick.com/2010/11/paraisofriki-la-cantidad-de-jueguecillos-flash/</link>
		<comments>http://nathandemick.com/2010/11/paraisofriki-la-cantidad-de-jueguecillos-flash/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 14:17:46 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathandemick.com/2010/11/paraisofriki-la-cantidad-de-jueguecillos-flash/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_590" class="wp-caption alignnone" style="width: 610px"><a href="http://www.rockpapershotgun.com/2010/11/18/guess-which-is-the-most-prolific-platform/" rel="attachment wp-att-590"><img src="http://nathandemick.com/wp-content/uploads/2011/12/tumblr_lc4kk8zM5k1qa4e09o1_1280.jpg" alt="" width="600" height="400" class="size-large wp-image-590" /></a><p class="wp-caption-text">paraisofriki: La cantidad de jueguecillos Flash es ALUCINANTE… aunque dentro de poco los de iOS barr</p></div>
]]></content:encoded>
			<wfw:commentRss>http://nathandemick.com/2010/11/paraisofriki-la-cantidad-de-jueguecillos-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>herochan: Castle Crashers Portraits  - by Johnny Utah Yeah Dan Paladin is awesome.</title>
		<link>http://nathandemick.com/2010/11/castlecrashers/</link>
		<comments>http://nathandemick.com/2010/11/castlecrashers/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 05:12:01 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nathandemick.com/2010/11/castlecrashers/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_593" class="wp-caption alignnone" style="width: 735px"><a href="http://herochan.com/post/1601991943/castlecrashers" rel="attachment wp-att-593"><img src="http://nathandemick.com/wp-content/uploads/2011/12/tumblr_lc1ninCoYI1qd9jlto1_1280-725x1024.jpg" alt="" width="725" height="1024" class="size-large wp-image-593" /></a><p class="wp-caption-text">herochan: Castle Crashers Portraits  - by Johnny Utah Yeah Dan Paladin is awesome.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://nathandemick.com/2010/11/castlecrashers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

