<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: A binary clock in Ruby using Shoes</title>
	<atom:link href="http://blog.coryfoy.com/2008/09/a-binary-clock-in-ruby-using-shoes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.coryfoy.com/2008/09/a-binary-clock-in-ruby-using-shoes/</link>
	<description>Agile Coaching, Ruby, .NET, Debugging, why not?</description>
	<lastBuildDate>Fri, 03 Sep 2010 01:46:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ashbb</title>
		<link>http://blog.coryfoy.com/2008/09/a-binary-clock-in-ruby-using-shoes/comment-page-1/#comment-41</link>
		<dc:creator>ashbb</dc:creator>
		<pubDate>Wed, 24 Sep 2008 05:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=44#comment-41</guid>
		<description>Fantastic! I love simple code. :)</description>
		<content:encoded><![CDATA[<p>Fantastic! I love simple code. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cory Foy</title>
		<link>http://blog.coryfoy.com/2008/09/a-binary-clock-in-ruby-using-shoes/comment-page-1/#comment-42</link>
		<dc:creator>Cory Foy</dc:creator>
		<pubDate>Tue, 23 Sep 2008 19:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=44#comment-42</guid>
		<description>Great idea! That&#039;s what I get for doing it late at night and without a pair - I missed both the simplest thing, and an interesting pattern.</description>
		<content:encoded><![CDATA[<p>Great idea! That&#8217;s what I get for doing it late at night and without a pair &#8211; I missed both the simplest thing, and an interesting pattern.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.coryfoy.com/2008/09/a-binary-clock-in-ruby-using-shoes/comment-page-1/#comment-43</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 23 Sep 2008 14:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cornetdesign.com/?p=44#comment-43</guid>
		<description>Cool app. Shoes is indeed cool, and as it matures it&#039;s definitely something that many people may use.&lt;br /&gt;&lt;br /&gt;By the way, for the get_image_pos_to_turn_on method, why don&#039;t you use a case block?&lt;br /&gt;&lt;br /&gt;Or even better—since num is just an integer string, just use a single array:&lt;br /&gt;&lt;br /&gt;IMAGE_POSITIONS = [&lt;br /&gt;  [],&lt;br /&gt;  [0],&lt;br /&gt;  [1],&lt;br /&gt;  [0, 1],&lt;br /&gt;  [2],&lt;br /&gt;  [0, 2],&lt;br /&gt;  [1, 2],&lt;br /&gt;  [0, 1, 2],&lt;br /&gt;  [3],&lt;br /&gt;  [0, 3]&lt;br /&gt;]&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;def get_image_pos_to_turn_on num&lt;br /&gt;  IMAGE_POSITIONS[num.to_i] or []&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;...Actually, since the array follows a pattern, you probably could just generate it, if it&#039;s worth it.</description>
		<content:encoded><![CDATA[<p>Cool app. Shoes is indeed cool, and as it matures it&#8217;s definitely something that many people may use.</p>
<p>By the way, for the get_image_pos_to_turn_on method, why don&#8217;t you use a case block?</p>
<p>Or even better—since num is just an integer string, just use a single array:</p>
<p>IMAGE_POSITIONS = [<br />  [],<br />  [0],<br />  [1],<br />  [0, 1],<br />  [2],<br />  [0, 2],<br />  [1, 2],<br />  [0, 1, 2],<br />  [3],<br />  [0, 3]<br />]<br />end</p>
<p>def get_image_pos_to_turn_on num<br />  IMAGE_POSITIONS[num.to_i] or []<br />end</p>
<p>&#8230;Actually, since the array follows a pattern, you probably could just generate it, if it&#8217;s worth it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
