<?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>dBlogIt by Dustin Boston</title>
	<atom:link href="http://dblogit.com/feed" rel="self" type="application/rss+xml" />
	<link>http://dblogit.com</link>
	<description>A one-man playground for nerds</description>
	<lastBuildDate>Sun, 30 Oct 2011 21:57:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Vinyl</title>
		<link>http://dblogit.com/archives/3699</link>
		<comments>http://dblogit.com/archives/3699#comments</comments>
		<pubDate>Sun, 30 Oct 2011 21:57:36 +0000</pubDate>
		<dc:creator>Dustin Boston</dc:creator>
				<category><![CDATA[Image]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[records]]></category>

		<guid isPermaLink="false">http://dblogit.com/archives/3699</guid>
		<description><![CDATA[I was just taking a look through my father in-law’s awesome record collection. Omg. Van Halen, Led Zeppelin, Fleetwood Mac… I could go on and on. So much incredible classic rock in one little egg crate.]]></description>
			<content:encoded><![CDATA[<p><img style="display:block;margin-right:auto;margin-left:auto;" alt="image" src="http://dblogit.com/wp-content/uploads/2011/10/wpid-FxCam_1320011422742.jpg" /></p>
<p>I was just taking a look through my father in-law’s awesome record collection. Omg. Van Halen, Led Zeppelin, Fleetwood Mac… I could go on and on. So much incredible classic rock in one little egg crate. </p>
]]></content:encoded>
			<wfw:commentRss>http://dblogit.com/archives/3699/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First steps</title>
		<link>http://dblogit.com/archives/3695</link>
		<comments>http://dblogit.com/archives/3695#comments</comments>
		<pubDate>Sun, 23 Oct 2011 00:37:26 +0000</pubDate>
		<dc:creator>Dustin Boston</dc:creator>
				<category><![CDATA[Image]]></category>

		<guid isPermaLink="false">http://dblogit.com/archives/3695</guid>
		<description><![CDATA[Jameson took three little baby steps completely on his own today! His balance is great but he really doesn’t understand what he’s doing yet]]></description>
			<content:encoded><![CDATA[<p><img style="display:block;margin-right:auto;margin-left:auto;" alt="image" src="http://dblogit.com/wp-content/uploads/2011/10/wpid-FxCam_1319329602243.jpg" /></p>
<p>Jameson took three little baby steps completely on his own today! His balance is great but he really doesn’t understand what he’s doing yet <img src='http://dblogit.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dblogit.com/archives/3695/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Our Awesome Engagement Photos by The R2 Studio @ther2studio</title>
		<link>http://dblogit.com/archives/3682</link>
		<comments>http://dblogit.com/archives/3682#comments</comments>
		<pubDate>Wed, 19 Oct 2011 18:24:41 +0000</pubDate>
		<dc:creator>Dustin Boston</dc:creator>
				<category><![CDATA[Image]]></category>
		<category><![CDATA[engagement]]></category>

		<guid isPermaLink="false">http://dblogit.com/?p=3682</guid>
		<description><![CDATA[Heather and I recently had our engagement pictures taken by the lovely ladies at The R2 Studio (heavy flash). They were incredible and made us feel like rock stars. Head over to the blog post and then check out the &#8230; <a href="http://dblogit.com/archives/3682">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://dblogit.com/wp-content/uploads/2011/10/012-TheR2Studio-HeatherDustinENG-600x509.jpg" alt="" title="Engagement Photo" width="600" height="509" class="alignnone size-full wp-image-3683" /></p>
<p>Heather and I recently had <a href="http://www.heatheranddustineng.ther2studio.com/#/client-gallery/">our engagement pictures</a> taken by the lovely ladies at <a href="http://ther2studio.com/">The R2 Studio (heavy flash)</a>. They were incredible and made us feel like rock stars. Head over to <a href="http://ther2studio.com/blog/?p=3952">the blog post</a> and then check out <a href="http://www.heatheranddustineng.ther2studio.com/#/client-gallery/">the full set</a>.</p>
<p><ins datetime="2011-10-20T16:31:49+00:00">Update: Our photos also got <a href="http://hifiweddings.com/2011/10/20/heather-dustins-stinkweed-sesh/">featured on Hi-Fi weddings</a>. Sweet!</ins></p>
]]></content:encoded>
			<wfw:commentRss>http://dblogit.com/archives/3682/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another reason I hate text messaging</title>
		<link>http://dblogit.com/archives/3668</link>
		<comments>http://dblogit.com/archives/3668#comments</comments>
		<pubDate>Mon, 01 Aug 2011 19:07:51 +0000</pubDate>
		<dc:creator>Dustin Boston</dc:creator>
				<category><![CDATA[Image]]></category>

		<guid isPermaLink="false">http://dblogit.com/?p=3668</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://dblogit.com/wp-content/uploads/2011/08/ragecomic-phone-troll-2-500x369.png" alt="" title="Phone Troll 2" width="500" height="369" class="alignnone size-medium wp-image-3669" /></p>
]]></content:encoded>
			<wfw:commentRss>http://dblogit.com/archives/3668/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One of the many reasons I hate text messaging</title>
		<link>http://dblogit.com/archives/3662</link>
		<comments>http://dblogit.com/archives/3662#comments</comments>
		<pubDate>Mon, 01 Aug 2011 17:38:40 +0000</pubDate>
		<dc:creator>Dustin Boston</dc:creator>
				<category><![CDATA[Image]]></category>

		<guid isPermaLink="false">http://dblogit.com/?p=3662</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://dblogit.com/wp-content/uploads/2011/08/ragecomic-phone-troll-500x369.png" alt="" title="Phone Troll" width="500" height="369" class="alignnone size-medium wp-image-3663" /></p>
]]></content:encoded>
			<wfw:commentRss>http://dblogit.com/archives/3662/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cover your code</title>
		<link>http://dblogit.com/archives/3659</link>
		<comments>http://dblogit.com/archives/3659#comments</comments>
		<pubDate>Tue, 26 Jul 2011 23:33:13 +0000</pubDate>
		<dc:creator>Dustin Boston</dc:creator>
				<category><![CDATA[Link]]></category>
		<category><![CDATA[code coverage]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://dblogit.com/?p=3659</guid>
		<description><![CDATA[Just started using JSCoverage for testing code coverage in Javascript. It’s super simple to implement—I even got it working with RequireJS (just had to make sure it was using relative URLs).]]></description>
			<content:encoded><![CDATA[<p>Just started using <a href="http://siliconforks.com/jscoverage/">JSCoverage</a> for testing code coverage in Javascript. It’s super simple to implement—I even got it working with RequireJS (just had to make sure it was using relative URLs). </p>
]]></content:encoded>
			<wfw:commentRss>http://dblogit.com/archives/3659/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Les Twins Dancing To Edit Ants</title>
		<link>http://dblogit.com/archives/3632</link>
		<comments>http://dblogit.com/archives/3632#comments</comments>
		<pubDate>Wed, 20 Jul 2011 05:47:28 +0000</pubDate>
		<dc:creator>Dustin Boston</dc:creator>
				<category><![CDATA[Video]]></category>
		<category><![CDATA[dance]]></category>
		<category><![CDATA[sytycd]]></category>

		<guid isPermaLink="false">http://dblogit.com/archives/3632</guid>
		<description><![CDATA[Um yeah, this is just awesome. Thanks Steve.]]></description>
			<content:encoded><![CDATA[<p>Um yeah, this is just awesome. Thanks <a href="http://monkinetic.com">Steve</a>. </p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/t6OeNwrU5_8"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/t6OeNwrU5_8" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://dblogit.com/archives/3632/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery’s Live vs Delegate Methods</title>
		<link>http://dblogit.com/archives/3630</link>
		<comments>http://dblogit.com/archives/3630#comments</comments>
		<pubDate>Tue, 19 Jul 2011 19:09:09 +0000</pubDate>
		<dc:creator>Dustin Boston</dc:creator>
				<category><![CDATA[Link]]></category>
		<category><![CDATA[delegate]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[live]]></category>

		<guid isPermaLink="false">http://dblogit.com/?p=3630</guid>
		<description><![CDATA[While researching the various event binding methods that jQuery has available I stumbled upon When You Should Use jQuery’s Live and Delegate Methods. The syntax for delegate() is simpler than live() and it offers a potential performance boost when you &#8230; <a href="http://dblogit.com/archives/3630">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While researching the various event binding methods that jQuery has available I stumbled upon <a href="http://shaneriley.tumblr.com/post/1679999567/when-you-should-use-jquerys-live-and-delegate-methods">When You Should Use jQuery’s Live and Delegate Methods</a>. </p>
<p>The syntax for <code>delegate()</code> is simpler than <code>live()</code> and it offers a potential performance boost when you know the context of future objects that will be rendered to the page.</p>
]]></content:encoded>
			<wfw:commentRss>http://dblogit.com/archives/3630/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript By Reference vs By Value</title>
		<link>http://dblogit.com/archives/3617</link>
		<comments>http://dblogit.com/archives/3617#comments</comments>
		<pubDate>Mon, 18 Jul 2011 17:27:27 +0000</pubDate>
		<dc:creator>Dustin Boston</dc:creator>
				<category><![CDATA[Post]]></category>
		<category><![CDATA[cloning]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[objects]]></category>

		<guid isPermaLink="false">http://dblogit.com/?p=3617</guid>
		<description><![CDATA[Sometimes Javascript makes me want to kick little kittens. This time it’s because there is no built-in way to pass objects by value. First a little guide regarding Javascript and by reference vs by value: Primitive types (boolean and numeric) &#8230; <a href="http://dblogit.com/archives/3617">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Sometimes Javascript makes me want to kick little kittens. This time it’s because there is no built-in way to pass objects by value. First a little guide regarding Javascript and by reference vs by value:</p>
<ul>
<li>Primitive types (boolean and numeric) are passed by value</li>
<li>Objects, arrays, and functions are passed by reference</li>
<li>Strings are immutable so Javascript handles them internally</li>
</ul>
<h3>Why this matters</h3>
<p>Every time you pass an object to a function and change it, the original will also be modified. This is understandable behavior seeing as the object could be quite large and therefore memory-intensive if were to be copied at will. So how can you pass an object by value? <a href="http://docstore.mik.ua/orelly/webprog/jscript/ch11_02.htm">Javascript: The Definitive Guide</a> gives us a clue (emphasis added):</p>
<blockquote><p>A function can use the reference to modify properties of the object or elements of the array. <span class="highlight">But if the function overwrites the reference with a reference to a new object or array, that modification is not visible outside of the function.</span></p></blockquote>
<p>Basically you have to create a new object and copy each of the original properties to it. I have three things to say about this:</p>
<ol>
<li>It’s stupid, why can’t there just be a way to specify by value like any other language?</li>
<li>There’s no way around this limitation. It’s built into Javascript on purpose by people much smarter than me.</li>
<li>jQuery can help</li>
</ol>
<h3>jQuery to the rescue</h3>
<p>jQuery has a nice method that can be used to copy one object to another: <a title="jQuery.extend() documentation" href="http://api.jquery.com/jQuery.extend/"><code>jQuery.extend()</code></a>. Just add this line to the top of your function when you do not intend to modify the original:</p>
<pre>var newObj = jQuery.extend({}, oldObj);</pre>
<p>Make sure to check out the documentation for more information if you’ve got a complex object. Also, if you’re looking for a non-jQuery solution, <a href="http://my.opera.com/GreyWyvern/blog/show.dml/1725165">How to copy arrays and objects in Javascript</a> provides true object cloning (not copying) which may make it more efficient.</p>
]]></content:encoded>
			<wfw:commentRss>http://dblogit.com/archives/3617/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Return false will break you</title>
		<link>http://dblogit.com/archives/3608</link>
		<comments>http://dblogit.com/archives/3608#comments</comments>
		<pubDate>Thu, 14 Jul 2011 21:23:09 +0000</pubDate>
		<dc:creator>Dustin Boston</dc:creator>
				<category><![CDATA[Post]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[live]]></category>

		<guid isPermaLink="false">http://dblogit.com/?p=3608</guid>
		<description><![CDATA[I just had this issue (and I’ve had it before) with jQuery live bindings not getting triggered. I checked and double checked. The element was in fact bound to the event. But when I clicked on it, nothing would happen, &#8230; <a href="http://dblogit.com/archives/3608">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just had this issue (and I’ve had it before) with jQuery live bindings not getting triggered. I checked and double checked. The element was in fact bound to the event. But when I clicked on it, nothing would happen, and no errors were thrown. I spent a while telling Google about it but teh Googs had nothing to say. After a few hours I realized what I had done.</p>
<p>So what was the problem? <code>return false</code>. There was another event bound to the element which had a <code>return false</code> at the end, thus preventing subsequent events from firing. Once I removed it (and replaced it with <code>event.preventDefault</code>) everything worked as expected. Moral of the story is to be judicious when using <code>return false</code>. </p>
<p>For more information read <a title="jQuery Events: Stop (Mis)Using Return False" href="http://fuelyourcoding.com/jquery-events-stop-misusing-return-false/" rel="bookmark">jQuery Events: Stop (Mis)Using Return False</a>. Also, there was a really helpful post/discussion over on StackOverflow regarding when and <a href="http://stackoverflow.com/questions/3330193/early-exit-from-function/3330206#3330206">how to use <code>return </code>properly</a>. Check it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://dblogit.com/archives/3608/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

