<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for pet3r</title><link>http://disqus.com/by/pet3r/</link><description></description><atom:link href="http://disqus.com/pet3r/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 05 Jan 2009 05:55:55 -0000</lastBuildDate><item><title>Re: Ruby on Rails Tutorials | Ruby Pond</title><link>http://rubypond.com/articles/2009/01/05/ruby-on-rails-tutorials/#comment-4890789</link><description>&lt;p&gt;Thanks for the links - great stuff, not just for beginners!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pet3r</dc:creator><pubDate>Mon, 05 Jan 2009 05:55:55 -0000</pubDate></item><item><title>Re: HTML Scraping with scRUBYt! for Fun and Profit</title><link>http://advent2008.hackruby.com/past/2008/12/23/html_scraping_with_scrubyt_for_fun_and_profit/#comment-4586223</link><description>&lt;p&gt;Nokogiri is a lower-level tool (scRUBYt! is also built on Hpricot, and probably be switched over to Nokogiri soon).&lt;/p&gt;&lt;p&gt;Comparing Nokogiri to scRUBYt! doesn't make too much sense - yes, they both can be used to create scrapers, but the similarity stops there. Probably it didn't came across from the above article, since I was concentrating on the basics, but scRUBYt! does a lot of things under the hood - e.g. I could add crawling to paginated detail pages to the above code with 2 lines.&lt;/p&gt;&lt;p&gt;Also, in  scRUBYt!, you can use Firefox as the agent so you can scrape AJAX pages (see &lt;a href="http://www.rubyrailways.com/ajax-scraping-with-scrubyt-linkedin-google-analytics-yahoo-suggestions/)" rel="nofollow noopener" target="_blank" title="http://www.rubyrailways.com/ajax-scraping-with-scrubyt-linkedin-google-analytics-yahoo-suggestions/)"&gt;http://www.rubyrailways.com...&lt;/a&gt; which is not possible with Nokogiri et al.&lt;/p&gt;&lt;p&gt;Of course there are times when I am using Hpricot / regexps for some quick and dirty scraping myself - however, a 20-30 line scRUBYt! script is much more quicker to create and maintain than a Nokogiri code that does the same.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pet3r</dc:creator><pubDate>Tue, 23 Dec 2008 03:41:11 -0000</pubDate></item><item><title>Re: Thinking out of the Box with Enumerable#inject</title><link>http://advent2008.hackruby.com/past/2008/12/11/thinking_out_of_the_box_with_enumerableinject/#comment-4332682</link><description>&lt;p&gt;Indeed - the article is updated with this info.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pet3r</dc:creator><pubDate>Thu, 11 Dec 2008 14:53:44 -0000</pubDate></item><item><title>Re: Thinking out of the Box with Enumerable#inject</title><link>http://advent2008.hackruby.com/past/2008/12/11/thinking_out_of_the_box_with_enumerableinject/#comment-4332663</link><description>&lt;p&gt;&amp;gt; The only reason assignment works is because `a += i` is an expression which returns `a + i&lt;/p&gt;&lt;p&gt;Yeah, I know, that's why I used it - it might be just me, but I find it more natural like this while I don't feel like I am doing a mistake in this case (not talking about inject()ing like this in general, jut about this case)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pet3r</dc:creator><pubDate>Thu, 11 Dec 2008 14:52:52 -0000</pubDate></item><item><title>Re: Thinking out of the Box with Enumerable#inject</title><link>http://advent2008.hackruby.com/past/2008/12/11/thinking_out_of_the_box_with_enumerableinject/#comment-4332606</link><description>&lt;p&gt;Hmm, it reads more natural to me - and I am not using a temporary variable, a is the accumulator you have anyway.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pet3r</dc:creator><pubDate>Thu, 11 Dec 2008 14:50:42 -0000</pubDate></item><item><title>Re: Thinking out of the Box with Enumerable#inject</title><link>http://advent2008.hackruby.com/past/2008/12/11/thinking_out_of_the_box_with_enumerableinject/#comment-4326484</link><description>&lt;p&gt;@Henrik: that's really cool! Hopefully we can update the article with this suggestion.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pet3r</dc:creator><pubDate>Thu, 11 Dec 2008 07:04:05 -0000</pubDate></item><item><title>Re: Thinking out of the Box with Enumerable#inject</title><link>http://advent2008.hackruby.com/past/2008/12/11/thinking_out_of_the_box_with_enumerableinject/#comment-4322549</link><description>&lt;p&gt;Oh yeah, the good od to_proc hack - how could I forget :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pet3r</dc:creator><pubDate>Wed, 10 Dec 2008 23:18:10 -0000</pubDate></item></channel></rss>