<?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>Gwynne&#039;s Blog &#187; code mistakes</title>
	<atom:link href="http://blog.darkrainfall.org/tag/code-mistakes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.darkrainfall.org</link>
	<description></description>
	<lastBuildDate>Sat, 17 Dec 2011 15:39:08 +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>Missions of the Reliant: You&#8217;ve got to know why things work on a starship.</title>
		<link>http://blog.darkrainfall.org/missions-of-the-reliant-youve-got-to-know-why-things-work-on-a-starship/</link>
		<comments>http://blog.darkrainfall.org/missions-of-the-reliant-youve-got-to-know-why-things-work-on-a-starship/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 09:13:33 +0000</pubDate>
		<dc:creator>Gwynne Raskind</dc:creator>
				<category><![CDATA[Missions of the Reliant]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[code mistakes]]></category>
		<category><![CDATA[porting]]></category>
		<category><![CDATA[star trek]]></category>
		<category><![CDATA[tv quotes]]></category>

		<guid isPermaLink="false">http://blog.darkrainfall.org/?p=437</guid>
		<description><![CDATA[I finally worked out the major design issues blocking the way for the command input console (also known as that tiny rectangle in the bottom right you see short messages and crew commands in) to exist. Long story short, a &#8230; <a href="http://blog.darkrainfall.org/missions-of-the-reliant-youve-got-to-know-why-things-work-on-a-starship/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.darkrainfall.org/missions-of-the-reliant-youve-got-to-know-why-things-work-on-a-starship/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Missions of the Reliant: Belay that phaser order! Arm photon torpedos!</title>
		<link>http://blog.darkrainfall.org/missions-of-the-reliant-belay-that-phaser-order-arm-photon-torpedos/</link>
		<comments>http://blog.darkrainfall.org/missions-of-the-reliant-belay-that-phaser-order-arm-photon-torpedos/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 13:52:20 +0000</pubDate>
		<dc:creator>Gwynne Raskind</dc:creator>
				<category><![CDATA[Missions of the Reliant]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[code mistakes]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[porting]]></category>

		<guid isPermaLink="false">http://blog.darkrainfall.org/?p=419</guid>
		<description><![CDATA[Torpedos now work. There are some minor glitches, mainly that it should only take two torpedos to destroy a fighter on easy difficulty, not six, but that&#8217;s the only remaining issue with the torpedos themselves. I already know the cause &#8230; <a href="http://blog.darkrainfall.org/missions-of-the-reliant-belay-that-phaser-order-arm-photon-torpedos/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.darkrainfall.org/missions-of-the-reliant-belay-that-phaser-order-arm-photon-torpedos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Floating-point makes my brain melt</title>
		<link>http://blog.darkrainfall.org/floating-point-makes-my-brain-melt/</link>
		<comments>http://blog.darkrainfall.org/floating-point-makes-my-brain-melt/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 19:52:56 +0000</pubDate>
		<dc:creator>Gwynne Raskind</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[assembly]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[clang]]></category>
		<category><![CDATA[code mistakes]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[technobabble]]></category>

		<guid isPermaLink="false">http://blog.darkrainfall.org/?p=369</guid>
		<description><![CDATA[Sometimes it&#8217;s better to do the obvious than try to be &#8220;correct&#8221;. How would you check if a floating-point variable x was zero? Common sense says x == 0.0 should work, right? But the compiler gets cranky about floating-point compares, &#8230; <a href="http://blog.darkrainfall.org/floating-point-makes-my-brain-melt/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.darkrainfall.org/floating-point-makes-my-brain-melt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subtle pitfalls of doing things in -dealloc</title>
		<link>http://blog.darkrainfall.org/subtle-pitfalls-of-doing-things-in-dealloc/</link>
		<comments>http://blog.darkrainfall.org/subtle-pitfalls-of-doing-things-in-dealloc/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 19:04:16 +0000</pubDate>
		<dc:creator>Gwynne Raskind</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[code mistakes]]></category>
		<category><![CDATA[garbage collection]]></category>
		<category><![CDATA[Key-Value Coding]]></category>
		<category><![CDATA[Key-Value Observing]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[singleton pattern]]></category>

		<guid isPermaLink="false">http://blog.darkrainfall.org/?p=349</guid>
		<description><![CDATA[Let me describe the setup for this issue. Take a gobal (set property on a singleton object) list of objects which holds only weak references (in this case, if it held strong references, the objects would never lose their last &#8230; <a href="http://blog.darkrainfall.org/subtle-pitfalls-of-doing-things-in-dealloc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.darkrainfall.org/subtle-pitfalls-of-doing-things-in-dealloc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Missions of the Reliant, take 2</title>
		<link>http://blog.darkrainfall.org/missions-of-the-reliant-take-2/</link>
		<comments>http://blog.darkrainfall.org/missions-of-the-reliant-take-2/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 09:08:58 +0000</pubDate>
		<dc:creator>Gwynne Raskind</dc:creator>
				<category><![CDATA[Missions of the Reliant]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Adobe Photoshop Elements]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[code mistakes]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[Infini-D]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[OpenGL]]></category>
		<category><![CDATA[porting]]></category>

		<guid isPermaLink="false">http://blog.darkrainfall.org/?p=201</guid>
		<description><![CDATA[Well, having the project file for Missions in place, I went to organize some of the resources &#8211; sprites, backgrounds, strings, all that fun jazz, and there&#8217;s plenty of it. In particular, I found myself re-engineering a couple of icons &#8230; <a href="http://blog.darkrainfall.org/missions-of-the-reliant-take-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.darkrainfall.org/missions-of-the-reliant-take-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clang: one savvy code analyzer!</title>
		<link>http://blog.darkrainfall.org/clang-one-savvy-code-analyzer/</link>
		<comments>http://blog.darkrainfall.org/clang-one-savvy-code-analyzer/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 17:12:55 +0000</pubDate>
		<dc:creator>Gwynne Raskind</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[clang]]></category>
		<category><![CDATA[code mistakes]]></category>
		<category><![CDATA[objective-c]]></category>

		<guid isPermaLink="false">http://blog.darkrainfall.org/?p=29</guid>
		<description><![CDATA[Given this code: Where are the two NULL dereferences Clang claims to have found? Answer: In the assignments to lbuf and rbuf. By checking whether the pointers are NULL earlier in the function, I alerted Clang to the possibility that &#8230; <a href="http://blog.darkrainfall.org/clang-one-savvy-code-analyzer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.darkrainfall.org/clang-one-savvy-code-analyzer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feeling stupid when writing code</title>
		<link>http://blog.darkrainfall.org/feeling-stupid-when-writing-code/</link>
		<comments>http://blog.darkrainfall.org/feeling-stupid-when-writing-code/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 05:03:07 +0000</pubDate>
		<dc:creator>Gwynne Raskind</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[10.6]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[clang]]></category>
		<category><![CDATA[code mistakes]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://blog.darkrainfall.org/?p=18</guid>
		<description><![CDATA[We all make mistakes when coding, and some of them are quite deeply foolish. But this particular snafu I just made takes the cake, in my opinion (dumbed-down code): See it? (Hint: Look at the implementation of skipBytes().) The correct &#8230; <a href="http://blog.darkrainfall.org/feeling-stupid-when-writing-code/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.darkrainfall.org/feeling-stupid-when-writing-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

