<?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>A Life, Programming</title>
	<atom:link href="http://alifeprogramming.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://alifeprogramming.wordpress.com</link>
	<description>A Life &#60;strike&#62;spent&#60;/strike&#62; &#60;strike&#62;wasted&#60;/strike&#62; Programming</description>
	<lastBuildDate>Tue, 10 Feb 2009 00:23:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='alifeprogramming.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>A Life, Programming</title>
		<link>http://alifeprogramming.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://alifeprogramming.wordpress.com/osd.xml" title="A Life, Programming" />
	<atom:link rel='hub' href='http://alifeprogramming.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Abusing an Assistant Designer</title>
		<link>http://alifeprogramming.wordpress.com/2009/02/08/abusing-an-assistant-designer/</link>
		<comments>http://alifeprogramming.wordpress.com/2009/02/08/abusing-an-assistant-designer/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 17:09:10 +0000</pubDate>
		<dc:creator>Nosredna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alifeprogramming.wordpress.com/?p=40</guid>
		<description><![CDATA[You'll be manually sorting polygons all day for WEEKS!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alifeprogramming.wordpress.com&amp;blog=6484837&amp;post=40&amp;subd=alifeprogramming&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We had to do a 3D game for the Sega CD once (youngsters: the Sega CD was a Sega Genesis plugged into a CD system so you could play from a disc instead of a game cartridge). It wasn&#8217;t easy. RandyT had some really clever way to draw triangles, and that helped a lot, but getting the speed we needed to do everything was just impossible.</p>
<p>The game was a zip-around-on-various-alien-landscapes shooter. I realized that we could cheat and do all the vehicles in cylindrical coordinates instead of in true 3D, so the vehicles could turn in a full circle (but, unfortunately, not flip over). All the rotation ended up in a lookup table. All of the sudden, the 3D wasn&#8217;t a problem.</p>
<p>But still, to get as many vehicles out there as we wanted, we couldn&#8217;t spend any time sorting the polygons that made up each vehicle (we barely had time to sort the vehicles), so I made a tool where you could look at the vehicle and push and pull polygons until everything you needed to see from a given angle was sorted.</p>
<p> </p>
<h2><strong>Sorry Greg</strong></h2>
<p>This was really a pain, because you had to look straight on and down onto the ground vehicles, and you had to look straight on and up at the flying vehicles. If you just couldn&#8217;t make it work, you had to go to an artist and ask him to add a polygon.</p>
<p>So whomever had to do this had a <em>really</em> crummy job, and it fell to our ambitious assistant designer, GregG, who was busy designing stuff we knew we&#8217;d never have time to ship anyway. &#8220;Greg, all that great stuff your designing? The weight, weapons, ammo details? Forget that. We just made this really primitive tool. You&#8217;ll be manually sorting polygons all day for WEEKS!&#8221;</p>
<p>Sorry Greg. I still feel guilty.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alifeprogramming.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alifeprogramming.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alifeprogramming.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alifeprogramming.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alifeprogramming.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alifeprogramming.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alifeprogramming.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alifeprogramming.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alifeprogramming.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alifeprogramming.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alifeprogramming.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alifeprogramming.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alifeprogramming.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alifeprogramming.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alifeprogramming.wordpress.com&amp;blog=6484837&amp;post=40&amp;subd=alifeprogramming&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alifeprogramming.wordpress.com/2009/02/08/abusing-an-assistant-designer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d5cf9b8d40af8083b1797aa7c5f3de9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nosredna</media:title>
		</media:content>
	</item>
		<item>
		<title>Comments are always Wrong</title>
		<link>http://alifeprogramming.wordpress.com/2009/02/07/comments-are-always-wrong/</link>
		<comments>http://alifeprogramming.wordpress.com/2009/02/07/comments-are-always-wrong/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 02:10:57 +0000</pubDate>
		<dc:creator>Nosredna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alifeprogramming.wordpress.com/?p=4</guid>
		<description><![CDATA[I was taking a break. I worked at a big game company. My group was porting a PC game to the Amiga. Mostly I was rewriting the slowest parts in 68000 assembly language. We worked all sorts of odd hours, but no matter what hours I was in there, I always got sleepy an hour [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alifeprogramming.wordpress.com&amp;blog=6484837&amp;post=4&amp;subd=alifeprogramming&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was taking a break.</p>
<p>I worked at a big game company. My group was porting a PC game to the Amiga. Mostly I was rewriting the slowest parts in 68000 assembly language. We worked all sorts of odd hours, but no matter what hours I was in there, I always got sleepy an hour after lunch, so I walked around to wake up.</p>
<p>We had a nice Atrium with some indoor trees and a restaraunt in the building. Lots of places to go, even in rainy Eugene. Stairs to walk up and down.</p>
<p>I ended up in the big office where the three guys programming the football game sat. I was social with all three. We all had families or were soon to have them.</p>
<p>Their window was open. There was a cool breeze, and you could hear teenagers and buses outside. It was nice. I could sit there and shoot the bull for maybe 10 minutes before getting kicked out.</p>
<p>DaveM was running a batch or a grep or something on some source file he was looking at.</p>
<p>Bang, all the comments were gone. He leaned in and started looking at code.</p>
<p> </p>
<h2><strong>No Comment</strong></h2>
<p>&#8220;Where did the comments go?,&#8221; I asked.</p>
<p>&#8220;Comments are always wrong. You should never look at them.&#8221;</p>
<p>Wow. This was great. My day had gone from drab to peacock in a blink. There was nothing, <em>nothing</em> better than an argument that started with one of Dave&#8217;s provocative statements.</p>
<p>&#8220;Well that can&#8217;t be true. Some comments must be right.&#8221;</p>
<p>Dave and I had managed to distract TimM and GlenW. Tim offered, &#8220;All of mine are wrong.&#8221; Glen laughed.</p>
<p>This was serious business to Dave.</p>
<p> </p>
<h2><strong>The Code is the Code</strong></h2>
<p>&#8220;The code is the code. That&#8217;s what runs. If you read the comment, it&#8217;ll tell you what the guy meant to do, but the guy probably wrote it wrong anyway. And it&#8217;s probably changed twice since then. If you believe the comment, you won&#8217;t really look to see what the code is doing.&#8221;</p>
<p>Glen said, &#8220;My favorite kind of comment is the one that says, &#8216;increment m.&#8217;&#8221;</p>
<p>&#8220;Yeah, and there&#8217;s no m anywhere in the file anymore,&#8221; Tim joked.</p>
<p>&#8220;I just don&#8217;t want to see them,&#8221; stressed Dave, &#8220;they don&#8217;t help anyone.&#8221;</p>
<p>&#8220;Most of my comments mark the places where I don&#8217;t know what I&#8217;m doing,&#8221; I said. I was getting into it. &#8220;They say, &#8216;I should look at this again,&#8217; or, &#8216;I should do this a better way.&#8217;&#8221;</p>
<p>Tim said, &#8220;Let me look at my comments&#8230; Here&#8217;s one. It says, &#8216;I don&#8217;t know why this works.&#8217;&#8221;</p>
<p>Dave said, &#8220;I believe that one.&#8221;</p>
<p>&#8220;Yeah,&#8221; Tim said. &#8220;Maybe all my comments aren&#8217;t wrong after all.&#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alifeprogramming.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alifeprogramming.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alifeprogramming.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alifeprogramming.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alifeprogramming.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alifeprogramming.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alifeprogramming.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alifeprogramming.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alifeprogramming.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alifeprogramming.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alifeprogramming.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alifeprogramming.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alifeprogramming.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alifeprogramming.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alifeprogramming.wordpress.com&amp;blog=6484837&amp;post=4&amp;subd=alifeprogramming&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alifeprogramming.wordpress.com/2009/02/07/comments-are-always-wrong/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d5cf9b8d40af8083b1797aa7c5f3de9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Nosredna</media:title>
		</media:content>
	</item>
	</channel>
</rss>
