<?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"
	>
<channel>
	<title>Comments on: 5 Ways to Sharpen Your Ruby-foo</title>
	<atom:link href="http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/</link>
	<description>A goal is a dream with a deadline.</description>
	<pubDate>Sat, 30 Aug 2008 00:47:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Nick Vrilic</title>
		<link>http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-102371</link>
		<dc:creator>Nick Vrilic</dc:creator>
		<pubDate>Thu, 10 Apr 2008 10:50:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-102371</guid>
		<description>More on Random numbers in Ruby here:

http://snippets.dzone.com/posts/show/4697 

Anyway, an informative post!</description>
		<content:encoded><![CDATA[<p>More on Random numbers in Ruby here:</p>
<p><a href="http://snippets.dzone.com/posts/show/4697" rel="nofollow">http://snippets.dzone.com/posts/show/4697</a> </p>
<p>Anyway, an informative post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: szeryf</title>
		<link>http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-102369</link>
		<dc:creator>szeryf</dc:creator>
		<pubDate>Thu, 10 Apr 2008 08:40:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-102369</guid>
		<description>The "randomize by sorting" idiom ([1,2,3,4,5].sort_by { rand }) is seriously flawed. It generates biased results and is asymptoticaly slower that Knuth-Yates algorithm (O(n log n) vs O(n)). I wouldn't recommend it to anyone as a general solution. I wrote about it at http://szeryf.wordpress.com/2007/06/19/a-simple-shuffle-that-proved-not-so-simple-after-all/</description>
		<content:encoded><![CDATA[<p>The &#8220;randomize by sorting&#8221; idiom ([1,2,3,4,5].sort_by { rand }) is seriously flawed. It generates biased results and is asymptoticaly slower that Knuth-Yates algorithm (O(n log n) vs O(n)). I wouldn&#8217;t recommend it to anyone as a general solution. I wrote about it at <a href="http://szeryf.wordpress.com/2007/06/19/a-simple-shuffle-that-proved-not-so-simple-after-all/" rel="nofollow">http://szeryf.wordpress.com/2007/06/19/a-simple-shuffle-that-proved-not-so-simple-after-all/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn Gillen</title>
		<link>http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-102343</link>
		<dc:creator>Glenn Gillen</dc:creator>
		<pubDate>Tue, 08 Apr 2008 10:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-102343</guid>
		<description>Great article. I've found with the .to_i conversion that it's helped to be a little more explicit as most people aren't aware that it take parameters, so:

2.to_i(base=2)</description>
		<content:encoded><![CDATA[<p>Great article. I&#8217;ve found with the .to_i conversion that it&#8217;s helped to be a little more explicit as most people aren&#8217;t aware that it take parameters, so:</p>
<p>2.to_i(base=2)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prateek Dayal</title>
		<link>http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-62327</link>
		<dc:creator>Prateek Dayal</dc:creator>
		<pubDate>Thu, 23 Aug 2007 05:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-62327</guid>
		<description>&lt;strong&gt;Ruby on rails learning curve!&lt;/strong&gt;

The post should be called my ruby on rails learning curve. I just wanted to write about what it was for a person like me to learn ruby on rails and get productive in it and make something like Muziboo.com
I was introduced to rails by a cousin of mine w...</description>
		<content:encoded><![CDATA[<p><strong>Ruby on rails learning curve!</strong></p>
<p>The post should be called my ruby on rails learning curve. I just wanted to write about what it was for a person like me to learn ruby on rails and get productive in it and make something like Muziboo.com<br />
I was introduced to rails by a cousin of mine w&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links sobre Ruby &#171; Learning on Rails</title>
		<link>http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-61564</link>
		<dc:creator>Links sobre Ruby &#171; Learning on Rails</dc:creator>
		<pubDate>Mon, 20 Aug 2007 12:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-61564</guid>
		<description>[...] Links sobre&#160;Ruby 20Ago07    Cinco dicas para Ruby: http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Links sobre&nbsp;Ruby 20Ago07    Cinco dicas para Ruby: <a href="http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/" rel="nofollow">http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: de tomKronieken &#187; Blog Archive &#187; links for 2007-08-10</title>
		<link>http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-59142</link>
		<dc:creator>de tomKronieken &#187; Blog Archive &#187; links for 2007-08-10</dc:creator>
		<pubDate>Fri, 10 Aug 2007 19:17:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-59142</guid>
		<description>[...] 5 Ways to Sharpen Your Ruby-foo - igvita.com (tags: wishlist) [...]</description>
		<content:encoded><![CDATA[<p>[...] 5 Ways to Sharpen Your Ruby-foo - igvita.com (tags: wishlist) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Grigorik</title>
		<link>http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-42309</link>
		<dc:creator>Ilya Grigorik</dc:creator>
		<pubDate>Sun, 03 Jun 2007 22:36:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-42309</guid>
		<description>Rick, thanks for the clarification. I'm pretty your sequence is the correct one:

&lt;blockquote&gt;(singleton of B) -&gt; (singleton of Object) -&gt; Class -&gt; Module -&gt;Object -&gt; (I_Class wrapper for Kernel)&lt;/blockquote&gt;

I abbreviated this sequence in my original post, but have obviously lost a lot of details in the translation. Come to think of it, I think that's the way that David Black described in his book also.</description>
		<content:encoded><![CDATA[<p>Rick, thanks for the clarification. I&#8217;m pretty your sequence is the correct one:</p>
<blockquote><p>(singleton of B) -> (singleton of Object) -> Class -> Module ->Object -> (I_Class wrapper for Kernel)</p></blockquote>
<p>I abbreviated this sequence in my original post, but have obviously lost a lot of details in the translation. Come to think of it, I think that&#8217;s the way that David Black described in his book also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick DeNatale</title>
		<link>http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-41921</link>
		<dc:creator>Rick DeNatale</dc:creator>
		<pubDate>Sat, 02 Jun 2007 23:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-41921</guid>
		<description>Ilya,

You say:
&lt;blockquote&gt;
On every method call, Ruby will search its object space in the following order:

   1. Current instance, followed by class methods
...
&lt;/blockquote&gt;

There's actually no crossover between instance methods and class methods.  This came up on ruby-talk last week also.

Here's a post on 
&lt;a href="http://talklikeaduck.denhaven2.com/articles/2007/06/02/chain-chain-chain" rel="nofollow" rel="nofollow"&gt; which explains how method lookup really works&lt;/a&gt;.

Rick</description>
		<content:encoded><![CDATA[<p>Ilya,</p>
<p>You say:</p>
<blockquote><p>
On every method call, Ruby will search its object space in the following order:</p>
<p>   1. Current instance, followed by class methods<br />
&#8230;
</p></blockquote>
<p>There&#8217;s actually no crossover between instance methods and class methods.  This came up on ruby-talk last week also.</p>
<p>Here&#8217;s a post on<br />
<a href="http://talklikeaduck.denhaven2.com/articles/2007/06/02/chain-chain-chain" rel="nofollow" rel="nofollow"> which explains how method lookup really works</a>.</p>
<p>Rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chain, Chain, Chain</title>
		<link>http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-41920</link>
		<dc:creator>Chain, Chain, Chain</dc:creator>
		<pubDate>Sat, 02 Jun 2007 23:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-41920</guid>
		<description>[...] A week or so ago, someone posted some questions on ruby-talk about this issue, and then twoday I ran across this blog review of David Black&#8217;s &#8220;Ruby for Rails&#8221; which contained this:  On every method call, Ruby will search its object space in the following order: [...]</description>
		<content:encoded><![CDATA[<p>[...] A week or so ago, someone posted some questions on ruby-talk about this issue, and then twoday I ran across this blog review of David Black&#8217;s &#8220;Ruby for Rails&#8221; which contained this:  On every method call, Ruby will search its object space in the following order: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Grigorik</title>
		<link>http://www.igvita.com/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-37463</link>
		<dc:creator>Ilya Grigorik</dc:creator>
		<pubDate>Fri, 11 May 2007 04:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2007/05/08/5-ways-to-sharpen-your-ruby-foo/#comment-37463</guid>
		<description>Jgeiger, thanks for that. I should proofread my stuff more carefully! :)

Grant, thanks for the clarification. Also, nice tip about the .to_s(2), I wasn't aware of that feature!</description>
		<content:encoded><![CDATA[<p>Jgeiger, thanks for that. I should proofread my stuff more carefully! :)</p>
<p>Grant, thanks for the clarification. Also, nice tip about the .to_s(2), I wasn&#8217;t aware of that feature!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
