<?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: Using MPlayer identify with Ruby</title>
	<atom:link href="http://www.railsguru.com/articles/2006/07/12/using-mplayer-identify-with-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.railsguru.com/articles/2006/07/12/using-mplayer-identify-with-ruby/</link>
	<description>Andy Lo-A-Foe&#039;s blog</description>
	<lastBuildDate>Thu, 01 Sep 2011 02:55:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: p3t0r</title>
		<link>http://www.railsguru.com/articles/2006/07/12/using-mplayer-identify-with-ruby/comment-page-1/#comment-39</link>
		<dc:creator>p3t0r</dc:creator>
		<pubDate>Wed, 12 Jul 2006 12:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.railsguru.com/2007/07/30/using-mplayer-identify-with-ruby#comment-39</guid>
		<description>Cool hack!

I tried to figure out why you use the &lt;em&gt;compact!&lt;/em&gt; function... doesn&#039;t this return nil if it didn&#039;t make any changes?
&lt;pre&gt;

irb(main):001:0&gt; [&quot;a&quot;,&quot;b&quot;,&quot;c&quot;].compact!
=&gt; nil
irb(main):002:0&gt; [&quot;a&quot;,&quot;b&quot;,&quot;c&quot;,nil].compact!
=&gt; [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;]
irb(main):003:0&gt; [&quot;a&quot;,&quot;b&quot;,&quot;c&quot;,nil].compact
=&gt; [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;]

&lt;/pre&gt;

Using &lt;em&gt;compact&lt;/em&gt; seems safer to me...</description>
		<content:encoded><![CDATA[<p>Cool hack!</p>
<p>I tried to figure out why you use the &lt;em&gt;compact!&lt;/em&gt; function&#8230; doesn&#8217;t this return nil if it didn&#8217;t make any changes?<br />
&lt;pre&gt;</p>
<p>irb(main):001:0&gt; [&quot;a&quot;,&quot;b&quot;,&quot;c&quot;].compact!<br />
=&gt; nil<br />
irb(main):002:0&gt; [&quot;a&quot;,&quot;b&quot;,&quot;c&quot;,nil].compact!<br />
=&gt; [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;]<br />
irb(main):003:0&gt; [&quot;a&quot;,&quot;b&quot;,&quot;c&quot;,nil].compact<br />
=&gt; [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;]</p>
<p>&lt;/pre&gt;</p>
<p>Using &lt;em&gt;compact&lt;/em&gt; seems safer to me&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://www.railsguru.com/articles/2006/07/12/using-mplayer-identify-with-ruby/comment-page-1/#comment-40</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Wed, 12 Jul 2006 12:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.railsguru.com/2007/07/30/using-mplayer-identify-with-ruby#comment-40</guid>
		<description>According to the specs yes, but this is never an issue in this case. But you are right, it is still safer to use compact, nice catch :)

-andy</description>
		<content:encoded><![CDATA[<p>According to the specs yes, but this is never an issue in this case. But you are right, it is still safer to use compact, nice catch <img src='http://www.railsguru.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>-andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: albert</title>
		<link>http://www.railsguru.com/articles/2006/07/12/using-mplayer-identify-with-ruby/comment-page-1/#comment-41</link>
		<dc:creator>albert</dc:creator>
		<pubDate>Wed, 12 Jul 2006 12:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.railsguru.com/2007/07/30/using-mplayer-identify-with-ruby#comment-41</guid>
		<description>I had to do something similar. Check out my version, based on yours.

http://pastie.caboo.se/40788</description>
		<content:encoded><![CDATA[<p>I had to do something similar. Check out my version, based on yours.</p>
<p><a href="http://pastie.caboo.se/40788" rel="nofollow">http://pastie.caboo.se/40788</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://www.railsguru.com/articles/2006/07/12/using-mplayer-identify-with-ruby/comment-page-1/#comment-42</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Wed, 12 Jul 2006 12:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.railsguru.com/2007/07/30/using-mplayer-identify-with-ruby#comment-42</guid>
		<description>@albert: much more robust implementation, nice!&lt;br/&gt;
&lt;br/&gt;
thx,&lt;br/&gt;
andy</description>
		<content:encoded><![CDATA[<p>@albert: much more robust implementation, nice!&lt;br/&gt;<br />
&lt;br/&gt;<br />
thx,&lt;br/&gt;<br />
andy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

