<?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: Memo #5: Use ary.uniq method carefully in Ruby</title>
	<atom:link href="http://kpumuk.info/development/memo-5-use-ary-uniq-method-carefully-in-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://kpumuk.info/development/memo-5-use-ary-uniq-method-carefully-in-ruby/</link>
	<description>In my blog I&#039;ll try to describe about interesting technologies, my discovery in IT and some useful things about programming.</description>
	<lastBuildDate>Tue, 06 Apr 2010 13:34:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: roger rubygems</title>
		<link>http://kpumuk.info/development/memo-5-use-ary-uniq-method-carefully-in-ruby/comment-page-1/#comment-283328</link>
		<dc:creator>roger rubygems</dc:creator>
		<pubDate>Sat, 31 Jul 2010 19:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/?p=721#comment-283328</guid>
		<description>So was this fixed for 1.8.7 at some point then? [between p72 and p174]?</description>
		<content:encoded><![CDATA[<p>So was this fixed for 1.8.7 at some point then? [between p72 and p174]?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FX Poster</title>
		<link>http://kpumuk.info/development/memo-5-use-ary-uniq-method-carefully-in-ruby/comment-page-1/#comment-282249</link>
		<dc:creator>FX Poster</dc:creator>
		<pubDate>Sat, 31 Jul 2010 13:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/?p=721#comment-282249</guid>
		<description>Ubuntu 9.04 have Ruby 1.8.7-p72, and this &quot;bug&quot; is still there :)</description>
		<content:encoded><![CDATA[<p>Ubuntu 9.04 have Ruby 1.8.7-p72, and this &#8220;bug&#8221; is still there :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pete</title>
		<link>http://kpumuk.info/development/memo-5-use-ary-uniq-method-carefully-in-ruby/comment-page-1/#comment-282241</link>
		<dc:creator>pete</dc:creator>
		<pubDate>Sat, 31 Jul 2010 17:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/?p=721#comment-282241</guid>
		<description>The good news is, it looks like this was fixed in 1.8.7 and 1.9.

I slightly modified your script:

&lt;code lang=&quot;ruby&quot;&gt;
p [{&quot;id&quot;=&gt;667824693}, {&quot;id&quot;=&gt;667824693}].uniq
p [{&quot;id&quot;=&gt;66782469}, {&quot;id&quot;=&gt;66782469}].uniq
p [{&quot;id&quot;=&gt;6678246931}, {&quot;id&quot;=&gt;6678246931}].uniq
&lt;/code&gt;

And ran it with multiruby:

&lt;code&gt;
phiggins@lihnucks ~ $ multiruby example.rb

VERSION = 1.8.7-p174
CMD     = ~/.multiruby/install/1.8.7-p174/bin/ruby example.rb

[{&quot;id&quot;=&gt;667824693}]
[{&quot;id&quot;=&gt;66782469}]
[{&quot;id&quot;=&gt;6678246931}]

RESULT = 0

VERSION = 1.8.6-p369
CMD     = ~/.multiruby/install/1.8.6-p369/bin/ruby example.rb

[{&quot;id&quot;=&gt;667824693}, {&quot;id&quot;=&gt;667824693}]
[{&quot;id&quot;=&gt;66782469}, {&quot;id&quot;=&gt;66782469}]
[{&quot;id&quot;=&gt;6678246931}, {&quot;id&quot;=&gt;6678246931}]

RESULT = 0

VERSION = 1.9.1-p129
CMD     = ~/.multiruby/install/1.9.1-p129/bin/ruby example.rb

[{&quot;id&quot;=&gt;667824693}]
[{&quot;id&quot;=&gt;66782469}]
[{&quot;id&quot;=&gt;6678246931}]

RESULT = 0

TOTAL RESULT = 0 failures out of 3

Passed: 1.9.1-p129, 1.8.6-p369, 1.8.7-p174
Failed:
&lt;/code&gt;

</description>
		<content:encoded><![CDATA[<p>The good news is, it looks like this was fixed in 1.8.7 and 1.9.</p>
<p>I slightly modified your script:</p>
<div class="codecolorer-container ruby twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#CC0066; font-weight:bold;">p</span> <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#996600;">&quot;id&quot;</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#006666;">667824693</span><span style="color:#006600; font-weight:bold;">&#125;</span>, <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#996600;">&quot;id&quot;</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#006666;">667824693</span><span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">uniq</span><br />
<span style="color:#CC0066; font-weight:bold;">p</span> <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#996600;">&quot;id&quot;</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#006666;">66782469</span><span style="color:#006600; font-weight:bold;">&#125;</span>, <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#996600;">&quot;id&quot;</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#006666;">66782469</span><span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">uniq</span><br />
<span style="color:#CC0066; font-weight:bold;">p</span> <span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#996600;">&quot;id&quot;</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#006666;">6678246931</span><span style="color:#006600; font-weight:bold;">&#125;</span>, <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#996600;">&quot;id&quot;</span><span style="color:#006600; font-weight:bold;">=&gt;</span><span style="color:#006666;">6678246931</span><span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">uniq</span></div></td></tr></tbody></table></div>
<p>And ran it with multiruby:</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">phiggins@lihnucks ~ $ multiruby example.rb<br />
<br />
VERSION = 1.8.7-p174<br />
CMD &nbsp; &nbsp; = ~/.multiruby/install/1.8.7-p174/bin/ruby example.rb<br />
<br />
[{&quot;id&quot;=&gt;667824693}]<br />
[{&quot;id&quot;=&gt;66782469}]<br />
[{&quot;id&quot;=&gt;6678246931}]<br />
<br />
RESULT = 0<br />
<br />
VERSION = 1.8.6-p369<br />
CMD &nbsp; &nbsp; = ~/.multiruby/install/1.8.6-p369/bin/ruby example.rb<br />
<br />
[{&quot;id&quot;=&gt;667824693}, {&quot;id&quot;=&gt;667824693}]<br />
[{&quot;id&quot;=&gt;66782469}, {&quot;id&quot;=&gt;66782469}]<br />
[{&quot;id&quot;=&gt;6678246931}, {&quot;id&quot;=&gt;6678246931}]<br />
<br />
RESULT = 0<br />
<br />
VERSION = 1.9.1-p129<br />
CMD &nbsp; &nbsp; = ~/.multiruby/install/1.9.1-p129/bin/ruby example.rb<br />
<br />
[{&quot;id&quot;=&gt;667824693}]<br />
[{&quot;id&quot;=&gt;66782469}]<br />
[{&quot;id&quot;=&gt;6678246931}]<br />
<br />
RESULT = 0<br />
<br />
TOTAL RESULT = 0 failures out of 3<br />
<br />
Passed: 1.9.1-p129, 1.8.6-p369, 1.8.7-p174<br />
Failed:</div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: FX Poster</title>
		<link>http://kpumuk.info/development/memo-5-use-ary-uniq-method-carefully-in-ruby/comment-page-1/#comment-282239</link>
		<dc:creator>FX Poster</dc:creator>
		<pubDate>Sat, 31 Jul 2010 13:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/?p=721#comment-282239</guid>
		<description>Эх, теперь мне прийдется имплементить свой uniq-метод. Но за обьяснения спасибо. :)</description>
		<content:encoded><![CDATA[<p>Эх, теперь мне прийдется имплементить свой uniq-метод. Но за обьяснения спасибо. :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
