<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>has_many :thoughts: Tag RubyQuiz</title>
    <link>http://blog.kineticweb.com/articles/tag/rubyquiz</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Musings from a Ruby on Rails development team</description>
    <item>
      <title>Sharpening your Ruby fu</title>
      <description>&lt;p&gt;There was some discussion at last night&amp;#8217;s Philly on Rails meeting about resources for helping you learn ruby and challenging you to do so.&lt;/p&gt;


	&lt;p&gt;Here&amp;#8217;s a few I&amp;#8217;ve put together:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://www.rubyquiz.com"&gt;Ruby Quiz&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://codekata.pragprog.com/codekata/"&gt;Prag Dave&amp;#8217;s Code Kata&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://projecteuler.net/"&gt;Project Euler&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://codegolf.com/"&gt;Code Golf&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;</description>
      <pubDate>Thu, 18 Oct 2007 07:23:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:98f99da5-955d-4c1e-8367-7efbcdeb4315</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2007/10/18/sharpening-your-ruby-fu</link>
      <category>ruby</category>
      <category>RubyQuiz</category>
      <category>puzzles</category>
      <trackback:ping>http://blog.kineticweb.com/articles/trackback/67</trackback:ping>
    </item>
    <item>
      <title>Colin's Ruby Quiz #126 Submission</title>
      <description>&lt;p&gt;If you haven&amp;#8217;t looked at this week&amp;#8217;s &lt;a href="http://www.rubyquiz.com"&gt;RubyQuiz&lt;/a&gt; yet, beware. Spoilers ahead.&lt;/p&gt;


	&lt;p&gt;This week&amp;#8217;s quiz was dead simple. But I think that&amp;#8217;s the point of this one. The most interesting thing about RubyQuiz for me is looking at how other people solved the same problem (no matter how simple) and learning about other ways to do things.&lt;/p&gt;


	&lt;p&gt;Here&amp;#8217;s my solution:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;(1..100).each do |n|
  ret = &amp;quot;&amp;quot;
  ret += &amp;quot;Fizz&amp;quot; if n.divmod(3).last == 0
  ret += &amp;quot;Buzz&amp;quot; if n.divmod(5).last == 0
  ret = n if ret == &amp;quot;&amp;quot;
  puts ret
end&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;The challenge presented this week is one that is well suited for a quick in-interview coding session for potential hires. Having prospective employees write code was a new idea to me that I read about in Joel on Software. And although I didn&amp;#8217;t have candidates in the last round of hiring write code, I did review some psudo-code on the whiteboard with them and I think the next candidates will actually sit down at a machine and tap something out for us in our presence.&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jun 2007 09:03:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:856fb621-0cd5-4488-9901-290971b38276</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2007/06/03/colins-ruby-quiz-126-submission</link>
      <category>ruby</category>
      <category>RubyQuiz</category>
      <category>Business</category>
      <trackback:ping>http://blog.kineticweb.com/articles/trackback/37</trackback:ping>
    </item>
  </channel>
</rss>
