<?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"
	>

<channel>
	<title>watt&#124;not</title>
	<atom:link href="http://www.wattornot.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wattornot.com</link>
	<description>For when I feel like bloggin' around</description>
	<pubDate>Sat, 26 Apr 2008 21:16:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Another Ounce Update</title>
		<link>http://www.wattornot.com/2008/04/26/another-ounce-update/</link>
		<comments>http://www.wattornot.com/2008/04/26/another-ounce-update/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 21:16:57 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[bang users]]></category>

		<category><![CDATA[ounce]]></category>

		<category><![CDATA[pownce]]></category>

		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.wattornot.com/2008/04/26/another-ounce-update/</guid>
		<description><![CDATA[<p>	During my much-needed post-new-website downtime, I made some updates to Ounce.



	
		I fixed the bug causing some videos to show up as broken images.  This is actually a bug in Pownce&#8217;s API, which categorizes video content as &#8220;photos.&#8221;
		YouTube videos are now embedded inline.
		I added support for the new bang-user construct, so links like !andrewwatt will [...]</p> <a href="http://www.wattornot.com/2008/04/26/another-ounce-update/">Read the full article in all its splendor &#187;</a>]]></description>
			<content:encoded><![CDATA[	<p>During my much-needed post-new-website downtime, I made some updates to <a href="http://www.wattornot.com/ounce">Ounce</a>.</p>

<p class="c"><a href="http://www.wattornot.com/ounce" title="Ounce" class="image"><img src="http://www.wattornot.com/blog/uploads/2008/04/ounce-logo.png" width="406" height="300" alt="Ounce" /></a></p>

	<ul>
		<li>I fixed the bug causing some videos to show up as broken images.  This is actually a bug in Pownce&#8217;s <span class="caps">API</span>, which categorizes video content as &#8220;photos.&#8221;</li>
		<li>YouTube videos are now embedded inline.</li>
		<li>I added support for the new bang-user construct, so links like !<a href="http://pownce.com/andrewwatt">andrewwatt</a> will remain links in Ounce&#8217;s feed.  Also, I can&#8217;t be the only one who thinks it&#8217;s funny that that could reasonably be pronounced as &#8220;bang Andrew Watt.&#8221;</li>
		<li>There is now a second feed available that contains the public notes of just your friends (and, ostensibly, people of whom you are a fan).  If you have a lot of friends and want to follow all of them via <span class="caps">RSS</span>, this is probably more convenient than adding each feed to your reader individually.  To get your friends&#8217; feed <span class="caps">URL</span>, simply append &#8220;/to&#8221; to your own feed.  Or generate it <a href="http://www.wattornot.com/ounce">directly from Ounce</a>.</li>
	</ul>
	<ul>
		<li>I created a new logo, as shown above, explicitly for the purpose of submitting Ounce to <a href="http://pownce.com/tools/">Pownce&#8217;s tools/apps directory</a>.</li>
	</ul>

	<p>All of these changes are effective immediately, so no action is necessary on your part (except for the new friends feed, if you want to use it).</p>]]></content:encoded>
			<wfw:commentRss>http://www.wattornot.com/2008/04/26/another-ounce-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New eChef Site is Live</title>
		<link>http://www.wattornot.com/2008/04/24/new-echef-site-is-live/</link>
		<comments>http://www.wattornot.com/2008/04/24/new-echef-site-is-live/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 00:03:13 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[echef]]></category>

		<category><![CDATA[fancyzoom]]></category>

		<category><![CDATA[ruby on rails]]></category>

		<category><![CDATA[sifr]]></category>

		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.wattornot.com/2008/04/24/new-echef-site-is-live/</guid>
		<description><![CDATA[<p>	My excuse for not blogging or generally producing any other content for the last couple months has been that I was busy working on a project for eChef.  And so I am incredibly relieved to finally announce its completion.

	Behold echefsoftware.com, the new home of eChef online!  This new site is almost a complete [...]</p> <a href="http://www.wattornot.com/2008/04/24/new-echef-site-is-live/">Read the full article in all its splendor &#187;</a>]]></description>
			<content:encoded><![CDATA[	<p>My excuse for not blogging or generally producing any other content for the last couple months has been that I was busy working on a project for eChef.  And so I am incredibly relieved to finally announce its completion.</p>

	<p>Behold <a href="http://www.echefsoftware.com">echefsoftware.com</a>, the new home of eChef online!  This new site is almost a complete rewrite.  Neither Megan nor I were ever totally satisfied with the first one: it was too static and was designed in a way that was not at all conducive to being extended.  We were running separate web apps for the store and the news blog, and the download link had to be manually updated every time we released a new version.  Overall it just wasn&#8217;t the caliber of experience you&#8217;d expect from a company that <em>makes software</em>.</p>

	<p>Most of my favorite new features sit on the admin side that I can&#8217;t really show off, but I will point out a couple of things.</p>

	<ul>
		<li>Snazzy new logo!</li>
		<li>The screenshot previews on the <a href="http://www.echefsoftware.com/software/organize">organize</a>, <a href="http://www.echefsoftware.com/software/compose">compose</a>, <a href="http://www.echefsoftware.com/software/view">view</a>, and <a href="http://www.echefsoftware.com/software/print">print</a> pages use a modified version of <a href="http://www.fancyzoom.com">FancyZoom</a> to do that cool inline viewing thing (we made it somewhat more compatible with old versions of IE and more screenshot-friendly).</li>
		<li>We use <a href="http://wiki.novemberborn.net/sifr">sIFR</a> to get that custom font in all the main page headers.</li>
		<li>The store is actually just an updated version of <a href="http://www.wattornot.com/2007/07/30/new-echef-store/">the one we had embedded in the old site back in July</a>.</li>
		<li>All the pages have validation links, because I made sure everything was valid <span class="caps">XHTML</span> from the get-go this time around.</li>
	</ul>
	<ul>
		<li>Everything is running together as a single Rails app!</li>
	</ul>

	<p>So go have <a href="http://www.echefsoftware.com/">a look around</a> and tell me what you think!</p>]]></content:encoded>
			<wfw:commentRss>http://www.wattornot.com/2008/04/24/new-echef-site-is-live/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Passive-Aggressive Hack Warning</title>
		<link>http://www.wattornot.com/2008/02/20/the-passive-aggressive-hack-warning/</link>
		<comments>http://www.wattornot.com/2008/02/20/the-passive-aggressive-hack-warning/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 09:11:49 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[hacking]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[the pickaxe]]></category>

		<guid isPermaLink="false">http://www.wattornot.com/2008/02/20/the-passive-aggressive-hack-warning/</guid>
		<description><![CDATA[<p>	Today I chuckled at this bit of documentation for Object#instance_variable_set in the Pickaxe.

	
		Sets the instance variable named by symbol to other_obj, thereby frustrating the efforts of the class&#8217;s author to attempt to provide proper encapsulation.
	

	And then I decided that perhaps I should find a better way to accomplish what I was doing.</p> <a href="http://www.wattornot.com/2008/02/20/the-passive-aggressive-hack-warning/">Read the full article in all its splendor &#187;</a>]]></description>
			<content:encoded><![CDATA[	<p>Today I chuckled at this bit of documentation for <code>Object#instance_variable_set</code> in <a href="http://www.amazon.com/Programming-Ruby-Pragmatic-Programmers-Second/dp/0974514055" title="The Pickaxe on Amazon">the Pickaxe</a>.</p>

	<blockquote class="doc">
		<p class="doc">Sets the instance variable named by <em>symbol</em> to <em>other_obj</em>, thereby frustrating the efforts of the class&#8217;s author to attempt to provide proper encapsulation.</p>
	</blockquote>

	<p>And then I decided that perhaps I should find a better way to accomplish what I was doing.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wattornot.com/2008/02/20/the-passive-aggressive-hack-warning/feed/</wfw:commentRss>
		</item>
		<item>
		<title>eChef Update</title>
		<link>http://www.wattornot.com/2008/02/12/echef-update/</link>
		<comments>http://www.wattornot.com/2008/02/12/echef-update/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 23:36:55 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[echef]]></category>

		<category><![CDATA[grocery categories]]></category>

		<category><![CDATA[ingredients]]></category>

		<category><![CDATA[user interface]]></category>

		<guid isPermaLink="false">http://www.wattornot.com/2008/02/12/echef-update/</guid>
		<description><![CDATA[<p>In which I notify you that eChef 1.2 has been released, and expound upon my favorite new feature.  With fancy zooming images!</p> <a href="http://www.wattornot.com/2008/02/12/echef-update/">Read the full article in all its splendor &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>In which I notify you that eChef 1.2 has been released, and expound upon my favorite new feature.  With fancy zooming images!</p> <a href="http://www.wattornot.com/2008/02/12/echef-update/">Read the full article in all its splendor &#187;</a>]]></content:encoded>
			<wfw:commentRss>http://www.wattornot.com/2008/02/12/echef-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Science and Culture</title>
		<link>http://www.wattornot.com/2008/02/07/science-and-culture/</link>
		<comments>http://www.wattornot.com/2008/02/07/science-and-culture/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 06:13:20 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[adam]]></category>

		<category><![CDATA[an]]></category>

		<category><![CDATA[denki shock]]></category>

		<category><![CDATA[happy flower chair]]></category>

		<category><![CDATA[harajuku]]></category>

		<category><![CDATA[izakaya]]></category>

		<category><![CDATA[japan]]></category>

		<category><![CDATA[joypolis]]></category>

		<category><![CDATA[mark]]></category>

		<category><![CDATA[miraikan]]></category>

		<category><![CDATA[odaiba]]></category>

		<category><![CDATA[rainbow bridge]]></category>

		<category><![CDATA[science]]></category>

		<category><![CDATA[shibuya]]></category>

		<category><![CDATA[the lockup]]></category>

		<category><![CDATA[venusfort]]></category>

		<category><![CDATA[zerii]]></category>

		<guid isPermaLink="false">http://www.wattornot.com/2008/02/07/science-and-culture/</guid>
		<description><![CDATA[<p>This is the sixth in a series of posts retro-blogging my trip to Japan in January 2007, in which I recount my visit to Odaiba, Joypolis, Harajuku, Shibuya, and The Lockup.  Yes, I am really still working on these despite not adding anything for six months.</p> <a href="http://www.wattornot.com/2008/02/07/science-and-culture/">Read the full article in all its splendor &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>This is the sixth in a series of posts retro-blogging my trip to Japan in January 2007, in which I recount my visit to Odaiba, Joypolis, Harajuku, Shibuya, and The Lockup.  Yes, I am really still working on these despite not adding anything for six months.</p> <a href="http://www.wattornot.com/2008/02/07/science-and-culture/">Read the full article in all its splendor &#187;</a>]]></content:encoded>
			<wfw:commentRss>http://www.wattornot.com/2008/02/07/science-and-culture/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The 2008 Wii List</title>
		<link>http://www.wattornot.com/2008/02/02/the-2008-wii-list/</link>
		<comments>http://www.wattornot.com/2008/02/02/the-2008-wii-list/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 06:32:35 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[buying guide]]></category>

		<category><![CDATA[mario kart]]></category>

		<category><![CDATA[nintendo]]></category>

		<category><![CDATA[no more heroes]]></category>

		<category><![CDATA[okami]]></category>

		<category><![CDATA[smash bros]]></category>

		<category><![CDATA[videogames]]></category>

		<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://www.wattornot.com/2008/02/02/the-2008-wii-list/</guid>
		<description><![CDATA[<p>	Well I said I could do better than last time, so here&#8217;s my attempt.  Without further ado:



	I&#8217;m a little worried about my bank account this spring, because there are a bunch of killer-looking Wii games slated for release, and on top of that, I still haven&#8217;t picked up Zack &#038; Wiki.

	1. Super Smash Bros. [...]</p> <a href="http://www.wattornot.com/2008/02/02/the-2008-wii-list/">Read the full article in all its splendor &#187;</a>]]></description>
			<content:encoded><![CDATA[	<p>Well I <a href="http://www.wattornot.com/2008/01/21/the-january-post/">said I could do better</a> than last time, so here&#8217;s my attempt.  Without further ado:</p>

<p class="c"><img class="bordered" src="http://www.wattornot.com/blog/uploads/2008-wii-list.png" width="750" height="500" alt="2008 Wii Buying Guide" /></p>

	<p>I&#8217;m a little worried about my bank account this spring, because there are a <em>bunch</em> of killer-looking Wii games slated for release, and on top of that, I still haven&#8217;t picked up Zack &#038; Wiki.</p>

	<h3>1. Super Smash Bros. Brawl</h3>

	<p>Who <em>isn&#8217;t</em> looking forward to this one?  The lucky bastards in Japan who already have it, I suppose.  This is the sort of game that, if Nintendo wasn&#8217;t already having enough problems keeping Wiis on store shelves, would probably create that problem for them.  I might camp out for this.</p>

	<h3>2. Mario Kart</h3>

	<p>Not many details about this have slipped out yet, except that it&#8217;s slated for a spring release and will have a steering wheel wiimote attachment.  But it&#8217;s pretty fair to reason that this one will be awesome, based on the fact that it&#8217;s <em>Mario Kart</em>.</p>

	<h3>3. Okami</h3>

	<p>I loved Okami the first time around, but it&#8217;s easy to see how it would have been a better fit on the Wii.  From the calligraphy mechanic to the cell-shaded graphics, this guy was just begging for a Wii port.  And it&#8217;s the sort of game that I had actually started a second playthrough on already, so the fact that it&#8217;s recycled content is—at least for me—not a problem.  The only bad part about is that its scheduled release date of March 25 is <em>way</em> too close to Smash Bros.  Give me some room to breathe here, guys!</p>

	<h3>4. No More Heroes</h3>

	<p>This one is probably the riskiest selection of the list.  The previews I saw made it look like a really unique title, and the Wii doesn&#8217;t have a lot of those yet.  It was actually released already last week, and the reviews so far have been strangely polarized.  I generally tend to side with the positive on games like that, so I&#8217;m not hesitant to put this one on the list.</p>

	<h3>5. Wii Fit</h3>

	<p>I already take back what I said about No More Heroes—this is the title with the biggest potential to flop.  The concept seems so utterly gimmicky, that if anyone but Nintendo was attempting it, I would immediately write this one off.  But Nintendo can apparently pull that sort of thing off, and it certainly does look fun, so I&#8217;ll inevitably pick this one up.</p>

	<h3>Honorable Mentions</h3>

	<p><strong>Star Wars: The Force Unleashed.</strong>  Not a Wii exclusive, but man does this game look awesome.  It&#8217;s been a while since I&#8217;ve played a good Star Wars game (not that there haven&#8217;t been any).</p>

	<p><strong>Rock Band.</strong>  Just announced!  Whether this comes out decent will depend entirely upon whether it supports online play and downloadable content like the PS3/360 versions, or if it&#8217;s crippled like the PS2 port.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wattornot.com/2008/02/02/the-2008-wii-list/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sometimes I Talk About Japan</title>
		<link>http://www.wattornot.com/2008/01/26/sometimes-i-talk-about-japan/</link>
		<comments>http://www.wattornot.com/2008/01/26/sometimes-i-talk-about-japan/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 01:50:47 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[akihabara]]></category>

		<category><![CDATA[flickr]]></category>

		<category><![CDATA[haruhi dude]]></category>

		<category><![CDATA[japan]]></category>

		<category><![CDATA[mickey mouse]]></category>

		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://www.wattornot.com/2008/01/26/sometimes-i-talk-about-japan/</guid>
		<description><![CDATA[<p>	I uploaded some new Japan photos to Flickr.  Well, actually they&#8217;re a year old now.  I really need to finish up that series of posts from my trip.  Anyhow, these are the photos from the second half of this post in case you want to follow along (the photos from the first [...]</p> <a href="http://www.wattornot.com/2008/01/26/sometimes-i-talk-about-japan/">Read the full article in all its splendor &#187;</a>]]></description>
			<content:encoded><![CDATA[	<p>I uploaded some <a href="http://www.flickr.com/photos/wattornot/sets/72157603802132357">new Japan photos</a> to Flickr.  Well, actually they&#8217;re a year old now.  I really need to finish up that series of posts from my trip.  Anyhow, these are the photos from the second half of <a href="http://www.wattornot.com/2007/07/16/foxes-and-maids/" title="Foxes and Maids">this post</a> in case you want to follow along (the photos from the first half are <a href="http://www.flickr.com/photos/wattornot/sets/72157600307017702/" title="Kyoto photos on Flickr">here</a>).  These are mostly from Akihabara, so they&#8217;re pretty entertaining.</p>

<div class="c">
<a class="image" href="http://www.flickr.com/photos/wattornot/sets/72157603802132357/" title="Tokyo photos on Flickr"><img src="http://farm3.static.flickr.com/2301/2222040280_a44eb85c0d.jpg" alt="Haruhi dude" /></a>
<div class="caption">Allow me to introduce Haruhi dude and his friend Mickey Mouse.</div>
</div>

	<p>I got a Flickr Pro account for Christmas (thanks Caroline and Tom!) and bought an <a href="http://connectedflow.com/flickrexport/iphoto/">iPhoto FlickrExport plugin</a> license back in December when there was a discount code on Daring Fireball.  So I don&#8217;t really have the I-hate-my-web-gallery excuse anymore for not getting all my old photos online.  My new excuse is that I like to hand pick photos for posting online—throwing out boring ones, setting titles, making sure each is cleaned up if necessary, and adding descriptions to most of them—and that shit takes time.</p>

	<p>Anyhow, I&#8217;m still working on finishing those Japan posts, and getting all the photos online, as well as moving my old ones to Flickr and replacing my site&#8217;s embedded gallery.  So don&#8217;t even think I&#8217;m done talking about Japan.  This recent series of non-Japan posts has been a <em>fluke</em>, and nothing more.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wattornot.com/2008/01/26/sometimes-i-talk-about-japan/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ounce Media Support</title>
		<link>http://www.wattornot.com/2008/01/26/ounce-media-support/</link>
		<comments>http://www.wattornot.com/2008/01/26/ounce-media-support/#comments</comments>
		<pubDate>Sat, 26 Jan 2008 20:00:33 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[flickr]]></category>

		<category><![CDATA[i don't speak french]]></category>

		<category><![CDATA[ical]]></category>

		<category><![CDATA[ounce]]></category>

		<category><![CDATA[pownce]]></category>

		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://www.wattornot.com/2008/01/26/ounce-media-support/</guid>
		<description><![CDATA[<p>	I just updated Ounce again.  It now shows inline thumbnails of Flickr photos, just like Pownce!  Unfortunately, this seems to only work with Flickr, because the Pownce API doesn&#8217;t give out those new thumbnails for any image (yet?).  I also added event support, complete with the iCal link, even though I&#8217;ve never [...]</p> <a href="http://www.wattornot.com/2008/01/26/ounce-media-support/">Read the full article in all its splendor &#187;</a>]]></description>
			<content:encoded><![CDATA[	<p>I just updated <a href="http://www.wattornot.com/ounce">Ounce</a> again.  It now shows inline thumbnails of Flickr photos, just like Pownce!  Unfortunately, this seems to only work with Flickr, because the Pownce <span class="caps">API</span> doesn&#8217;t give out those <a href="http://pownce.com/leahculver/notes/1243615/">new thumbnails for any image</a> (yet?).  I also added event support, complete with the iCal link, even though I&#8217;ve never actually used Pownce events.  I guess I&#8217;m a completist?</p>

	<p>And of course there were a few bugfixes as well.  Kudos to <a href="http://pownce.com/tekrotzen">Tek Rotzen</a> for reporting a bug that I never would have found: apparently it didn&#8217;t work when a user had less than 2 notes.  Remember, you can send feedback for Ounce to <a href="mailto:ounce@wattornot.com">ounce@wattornot.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wattornot.com/2008/01/26/ounce-media-support/feed/</wfw:commentRss>
		</item>
		<item>
		<title>On Pixels and Knowing When to Quit</title>
		<link>http://www.wattornot.com/2008/01/23/on-pixels-and-knowing-when-to-quit/</link>
		<comments>http://www.wattornot.com/2008/01/23/on-pixels-and-knowing-when-to-quit/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 22:06:39 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[comboboxes]]></category>

		<category><![CDATA[datagridviews]]></category>

		<category><![CDATA[dot net]]></category>

		<category><![CDATA[echef]]></category>

		<category><![CDATA[microsoft]]></category>

		<category><![CDATA[pixels]]></category>

		<category><![CDATA[the nature of concession]]></category>

		<category><![CDATA[user interface]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.wattornot.com/2008/01/23/on-pixels-and-knowing-when-to-quit/</guid>
		<description><![CDATA[<p>	This weekend I attempted to fix a cosmetic bug in eChef that had been bothering me for a long time.  It didn&#8217;t go so well.

	

	Below is a cropped screenshot from eChef 1.1.  This is a new recipe window to which I have just added 1 cup of flour as an ingredient.



	Now I&#8217;m going [...]</p> <a href="http://www.wattornot.com/2008/01/23/on-pixels-and-knowing-when-to-quit/">Read the full article in all its splendor &#187;</a>]]></description>
			<content:encoded><![CDATA[	<p>This weekend I attempted to fix a cosmetic bug in eChef that had been bothering me for a long time.  It didn&#8217;t go so well.</p>

	<p><span id="more-113"></span></p>

	<p>Below is a cropped screenshot from eChef 1.1.  This is a new recipe window to which I have just added 1 cup of flour as an ingredient.</p>

<div class="c"><img src="http://www.wattornot.com/blog/uploads/combobox-pixels-1.png" alt="An unfocused combobox cell at 18 pixels."/></div>

	<p>Now I&#8217;m going to drop down the Unit combobox.</p>

<div class="c"><img src ="/blog/uploads/combobox-pixels-2.png" alt="A combobox cell in edit mode at 18 pixels."/></div>

	<p>Do you see it?  The combobox grew in height by about 3 pixels, causing the bottom of the arrow to be cut off.  This is very minor and superficial bug; it doesn&#8217;t affect functionality at all.  But I am a perfectionist, so while I was working on some related code I decided to take a crack at it.</p>

	<p class="note">Warning: most of this post is very technical.  Feel free to <a href="#pixels-conclusion">skip ahead to the conclusion</a> if you&#8217;re not feeling nerdy.</p>

	<p>The reason the combobox grows has to do with the way these grids work.  We use .<span class="caps">NET</span> 2.0&#8217;s <a href="http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview(VS.80).aspx" title="DataGridView class on MSDN">DataGridView</a> class, which conserves resources by only instantiating one editing control for each column.  When a cell is not being edited, it draws itself to resemble its control in an unfocused state.  That&#8217;s what you see in the first screen shot: the cell has drawn a fake combobox at the correct height for this row (18 pixels).</p>

	<p>When editing begins in the cell, the grid gives the cell the editing control, it&#8217;s initialized to hold the right value, and then it takes over drawing itself.  That&#8217;s what you see in the second screen shot: a real combobox drawing itself.  Unfortunately, the real combobox ignores the height of its containing cell, resulting in the cropping effect.</p>

	<p>Naturally the first thing I tried was just setting the combobox&#8217;s height during its initialization, but it turns out comboboxes (at least in .<span class="caps">NET</span>) cannot be resized vertically.  For some reason you can <a href="http://msdn2.microsoft.com/en-us/library/system.windows.forms.comboboxrenderer(VS.80).aspx" title="ComboBoxRenderer class on MSDN">draw one at an arbitrary size</a> à la unfocused cells, but you can&#8217;t make a real one be any height except 21 pixels.  It was at this point that I started more serious experiments.</p>

	<p>Since I knew I could draw a fake one at any height, I thought maybe I roll my own combobox control, and re-implement all the necessary functionality from scratch.  It would mean reinventing the wheel, but it would give me complete freedom in rendering.</p>

	<p>I was somewhat relieved to discover that this wouldn&#8217;t work.  An editing control apparently can&#8217;t draw outside the bounds of its cell, so rendering the dropdown list proved impossible.  I&#8217;m not sure how the built-in combobox actually accomplishes this; I suspect the DataGridView treats it as something of a special case, and passes the drawing duty on to some native part of Windows that&#8217;s not bound by this restriction.</p>

	<p>So if I couldn&#8217;t draw my own combobox, I thought maybe I could override an OnPaint event somewhere and draw <em>over</em> the system one.  Again, no dice.  No matter where I hooked in, I couldn&#8217;t draw on top.  Even if I overrode the OnPaint method of the containing form itself to ensure that my drawing happened last, combobox controls were unaffected.  This provided further evidence for my theory that they are drawn by some low-level system routine; that is, by a <em>cheater</em>.</p>

	<p>After a little more research, I found <a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2187427&#038;SiteID=1" title="MSDN forum post showing how to use SendMessage() and CB_SETITEMHEIGHT ">an <span class="caps">API</span> call</a> outside of .<span class="caps">NET</span> that might work.  I also decided to hide my combobox from the DataGridView by wrapping it in a custom control—the idea being that if the grid was the one responsible for passing off combobox drawing to the system, perhaps that I could sneak the combobox past it in disguise.</p>

	<p>As it turned, out I <em>could</em> adjust the height of a combobox this way.  The custom control I made worked like a charm: I finally had a combobox with an adjustable height.  <em>But</em>, not when embedded in a cell.  For whatever reason, as soon as I put it in a DataGridView, the combobox went back to its default height.</p>

	<p class="note" id="pixels-conclusion">End of technical stuff.</p>

	<p>After all this effort, I finally gave up.  I tweaked our grids so that rows with combobox cells would draw 3 pixels taller to accommodate them.  They now look like this when unfocused.</p>

<div class="c"><img src ="/blog/uploads/combobox-pixels-3.png" alt="An unfocused combobox cell at 21 pixels."/></div>

	<p>And like this when they&#8217;re dropped.</p>

<div class="c"><img src ="/blog/uploads/combobox-pixels-4.png" "A combobox cell in edit mode at 21 pixels."/></div>

	<p>Which certainly looks fine, but is 3 pixels per row more than I wanted to sacrifice.</p>

	<p>UI problems like this aren&#8217;t new for us.  While working on eChef I&#8217;ve come across plenty of cases where the built-in UI components of .<span class="caps">NET</span> (and Windows in general) are simply not sufficient for what we wish to accomplish.  Usually this is because we want something to work The Way It Works in iTunes, which is obviously not something Microsoft goes out of its way to support or sanction.</p>

	<p>The solutions vary in complexity: sometimes it&#8217;s a simple tweak, and sometimes we have to rebuild basic functionality from scratch.  But this weekend I experienced the first case where I absolutely could not attain the desired effect; success was impossible.  I had to cut my losses and compromise a solution.  This was both frustrating, since I&#8217;d dumped too many hours into a lost cause, and depressing, since, well, that is the nature of concession.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wattornot.com/2008/01/23/on-pixels-and-knowing-when-to-quit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The January Post</title>
		<link>http://www.wattornot.com/2008/01/21/the-january-post/</link>
		<comments>http://www.wattornot.com/2008/01/21/the-january-post/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 16:06:28 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[buying guide]]></category>

		<category><![CDATA[postmortem]]></category>

		<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://www.wattornot.com/2008/01/21/the-january-post/</guid>
		<description><![CDATA[<p>	So another year has passed me by, and the season has come in which bloggers traditionally put out roundups and resolutions, the former taking the shape of so many Best Ofs, Top Tens, or Eponymous Awards, and the latter mostly the same but written in an optimistic future tense.  I&#8217;ll probably also be putting [...]</p> <a href="http://www.wattornot.com/2008/01/21/the-january-post/">Read the full article in all its splendor &#187;</a>]]></description>
			<content:encoded><![CDATA[	<p>So another year has passed me by, and the season has come in which bloggers traditionally put out roundups and resolutions, the former taking the shape of so many Best Ofs, Top Tens, or <a href="http://www.cabel.name/2008/01/2007-cabel-yay-awards.html">Eponymous Awards</a>, and the latter mostly the same but written in an optimistic future tense.  I&#8217;ll probably also be putting out my own tribute to the milestones of 2007 soon, but I&#8217;ve decided not to bother with the resolutions this year.  The concept behind resolutions is fine, but I prefer focus on <em>continuous improvement</em>, without those massive, looming targets to distract me.  Plus I&#8217;m not very good at writing them, apparently, so F that noise.</p>

	<p>Anyhow, I haven&#8217;t had a real blog article in like two months, so I thought it might be a good time lay out what I have to look forward to so far in 2008, and maybe examine some of my old predictions as well.  Of course, I am referring specifically to the domain of video games.</p>

	<p>Back in the end 2006 I made a <a href="http://www.wattornot.com/2006/11/02/the-countdown/">Wii</a> <a href="http://www.wattornot.com/2006/11/04/the-countdown-continued/">Buyer&#8217;s</a> <a href="http://www.wattornot.com/2006/11/06/the-final-countdown/">Guide</a> with my most anticipated titles of the time.  I think we&#8217;re sufficiently far out for the ol&#8217; hindsight to focus now, so let&#8217;s see how I did.</p>

	<h3>Andrew&#8217;s Complete Wii Buying Guide Postmortem</h3>

	<h4>1. The Legend of Zelda: Twilight Princess</h4>

	<p>Oh yeah, nailed this one.  Probably my favorite game of 2006. 1 for 1!</p>

	<h4>2. Red Steel</h4>

	<p>Whoops!  I think this caught a lot of people off guard.  Great concept, awful execution.  Well, here&#8217;s hoping they do better in the sequel. 1 for 2.</p>

	<h4>3. Trauma Center: Second Opinion</h4>

	<p>Yes!  It was unexpectedly difficult, but I loved playing this game.  2 for 3.</p>

	<h4>4. WarioWare: Smooth Moves &#038; Rayman Raving Rabbids (tie)</h4>

	<p>I have only played Rayman once or twice but it seemed like a great party game.  WarioWare on the other hand&#8230; WarioWare was so much fun that it made me forget where I was standing, and jump into my basement ceiling.  I had a nasty bump and actually dented the metal corner of the overhang that I hit.  4 for 5!</p>

	<h4>6. Excite Truck</h4>

	<p>Hmmm&#8230; I heard some good things, but never actually played it.  Does half a point sound fair?  OK: 4.5 for 6.</p>

	<h4>7. Elebits</h4>

	<p>I guess I just got too excited at the potential of this one to consider how incredibly stupid it looked in every video I saw.  4.5 for 7.</p>

	<p>Yikes, 64% accuracy is lower than I would have hoped.  I&#8217;ll have to do better this year.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wattornot.com/2008/01/21/the-january-post/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
