<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Not in code &#187; Ruby</title>
	<atom:link href="http://notincode.wordpress.com/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://notincode.wordpress.com</link>
	<description>Software is about people</description>
	<lastBuildDate>Mon, 22 Jun 2009 00:33:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='notincode.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/1bb58d250bfeaaf97c6daf48b9a54b30?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Not in code &#187; Ruby</title>
		<link>http://notincode.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://notincode.wordpress.com/osd.xml" title="Not in code" />
	<atom:link rel='hub' href='http://notincode.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Installing Ruby 1.8.6 using MacPorts</title>
		<link>http://notincode.wordpress.com/2009/06/19/installing-ruby-1-8-6-using-macports/</link>
		<comments>http://notincode.wordpress.com/2009/06/19/installing-ruby-1-8-6-using-macports/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 01:16:25 +0000</pubDate>
		<dc:creator>hiremaga</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.hiremaga.com/?p=239</guid>
		<description><![CDATA[Do this: sudo port install ruby186 Because this: sudo port install ruby &#8230; will install Ruby 1.8.7 And don&#8217;t forget: sudo port install rb-rubygems And if you&#8217;re trying to get Ruby with MySQL going read this. Tagged: macports, os x, Ruby<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=239&subd=notincode&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Do this:<br />
<code>sudo port install ruby186</code></p>
<p>Because this:<br />
<code>sudo port install ruby</code></p>
<p>&#8230; will install Ruby 1.8.7</p>
<p>And don&#8217;t forget:<br />
<code>sudo port install rb-rubygems</code></p>
<p>And if you&#8217;re trying to get Ruby with MySQL going read <a href="http://notahat.com/posts/15">this</a>.</p>
<br /> Tagged: macports, os x, Ruby <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notincode.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notincode.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notincode.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notincode.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notincode.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notincode.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notincode.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notincode.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notincode.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notincode.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=239&subd=notincode&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://notincode.wordpress.com/2009/06/19/installing-ruby-1-8-6-using-macports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd84e3662c2772ec1f22649b9aa7464a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hiremaga</media:title>
		</media:content>
	</item>
		<item>
		<title>Testing instance methods in a Module with Object.extend()</title>
		<link>http://notincode.wordpress.com/2008/06/07/testing-instance-methods-in-a-module-with-objectextend/</link>
		<comments>http://notincode.wordpress.com/2008/06/07/testing-instance-methods-in-a-module-with-objectextend/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 17:15:19 +0000</pubDate>
		<dc:creator>hiremaga</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://notincode.wordpress.com/?p=228</guid>
		<description><![CDATA[A common type of mixin I&#8217;ve encountered involves a Module with instance methods which is included into a Class. Writing an orthogonal test for a target Class is easy enough, you simply mock/stub any methods the Module provides. Testing the Module elegantly however is less obvious, atleast it wasn&#8217;t obvious to me. One approach I&#8217;ve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=228&subd=notincode&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>A common type of mixin I&#8217;ve encountered involves a Module with instance methods which is <a href="http://www.ruby-doc.org/core/classes/Module.html#M001661">included</a> into a Class.</p>
<p>Writing an orthogonal test for a target Class is easy enough, you simply mock/stub any methods the Module provides. </p>
<p>Testing the Module elegantly however is less obvious, atleast it wasn&#8217;t obvious to me.</p>
<p>One approach I&#8217;ve used is to create a fake class for the test,Â include the Module and finally instantiate this for the test. But there&#8217;s the issue of testing the Module&#8217;s interaction with the including Class. For this you could partially mock/stub the test class instance, but there&#8217;s a simpler approach that avoids the test class altogether: create an ordinary rSpec mock instance and <a href="http://www.ruby-doc.org/core/classes/Object.html#M000337">extend</a>Â it with the Module.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notincode.wordpress.com/228/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notincode.wordpress.com/228/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notincode.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notincode.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notincode.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notincode.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notincode.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notincode.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notincode.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notincode.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notincode.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notincode.wordpress.com/228/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=228&subd=notincode&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://notincode.wordpress.com/2008/06/07/testing-instance-methods-in-a-module-with-objectextend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd84e3662c2772ec1f22649b9aa7464a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hiremaga</media:title>
		</media:content>
	</item>
		<item>
		<title>Metakoans</title>
		<link>http://notincode.wordpress.com/2008/06/07/metakoans/</link>
		<comments>http://notincode.wordpress.com/2008/06/07/metakoans/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 16:59:35 +0000</pubDate>
		<dc:creator>hiremaga</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://notincode.wordpress.com/?p=231</guid>
		<description><![CDATA[Looking to exercise your Ruby muscles? Why not try the Metakoans RubyQuiz. I did this recently and found it helped my understanding of Ruby&#8217;s meta programming facilities. My solution&#8217;s here.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=231&subd=notincode&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Looking to exercise your Ruby muscles? Why not try the <a href="http://www.rubyquiz.com/quiz67.html">Metakoans</a> RubyQuiz. I did this recently and found it helped my understanding of Ruby&#8217;s meta programming facilities.</p>
<p>My solution&#8217;s <a href="http://pastie.org/210250">here</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notincode.wordpress.com/231/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notincode.wordpress.com/231/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notincode.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notincode.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notincode.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notincode.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notincode.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notincode.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notincode.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notincode.wordpress.com/231/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notincode.wordpress.com/231/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notincode.wordpress.com/231/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=231&subd=notincode&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://notincode.wordpress.com/2008/06/07/metakoans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd84e3662c2772ec1f22649b9aa7464a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hiremaga</media:title>
		</media:content>
	</item>
		<item>
		<title>Don&#8217;t get forked by rSpec</title>
		<link>http://notincode.wordpress.com/2008/01/31/dont-get-forked-by-rspec/</link>
		<comments>http://notincode.wordpress.com/2008/01/31/dont-get-forked-by-rspec/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 12:24:12 +0000</pubDate>
		<dc:creator>hiremaga</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://notincode.wordpress.com/?p=225</guid>
		<description><![CDATA[A 2 week break over christmas/new years and pairing with the incandescent Mark Ryall seemed to make our unit test (spec?) suite time of 200 seconds feel excruciatingly slow. I&#8217;m only kidding Mark, I really do enjoy pairing with you. :) (How do you punctuate around a smiley?) Feeling even more (irrationally) intolerant than usual, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=225&subd=notincode&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>A 2 week break over christmas/new years and pairing with the incandescent Mark Ryall seemed to make our unit test (spec?) suite time of 200 seconds feel excruciatingly slow. I&#8217;m only kidding Mark, I really do enjoy pairing with you. :)</p>
<p>(How do you punctuate around a smiley?)</p>
<p>Feeling even more (irrationally) intolerant than usual, I convinced Mark to let us switch away from the reams of text produced by rSpec&#8217;s &#8216;specdoc&#8217; format to its more succinct &#8216;progress&#8217; format and we immediately noticed something odd. Each example was being run 7 times, in fact the entire suite was being run several times with runs interleaved!</p>
<p>Some perplexed investigation and educated guessing finally revealed the cause.</p>
<p>While rSpec gives you a SpecRunner for free via an at_exit hook, we use a script to explicitly invoke a CommandLine::SpecRunner. This is in part because our project is built by Ant (it&#8217;s a polygot-project; a mishmash of Java, Ruby, Python and, somewhat unfortunately IMO, Bash) and in part just because &#8230;</p>
<p>rSpec&#8217;s at_exit hook allows you to run your specs directly via the ruby command (e.g. $ ruby three_is_greater_than_four_spec.rb) and is responsible enough to ensure you haven&#8217;t already run these specs with a custom runner. Except if you call Process.fork during an example.</p>
<p>When you fork in an example the at_exit hook gets replicated in the child process and when this child process tries to exit, you guessed it, it runs your specs. Turns out we had quite a few unstubbed forks in our unit level specs. The immediate remedy was to stub these; they are unit level specs which should after all  be orthogonal.</p>
<p>To make sure we aren&#8217;t inadvertently bitten again we&#8217;ve intercepted rSpec&#8217;s at_exit hook from any child processes by creating our own at_exit hook which exits without executing any other at_exit blocks, i.e. :at_exit { exit! }</p>
<p>Our 830ish specs now run in 15 seconds. The numbers don&#8217;t quite add up (200 seconds / 7 processes &gt; 15 seconds), but since I&#8217;m certain none are being skipped,  I&#8217;m content with this outcome.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notincode.wordpress.com/225/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notincode.wordpress.com/225/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notincode.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notincode.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notincode.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notincode.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notincode.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notincode.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notincode.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notincode.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notincode.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notincode.wordpress.com/225/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=225&subd=notincode&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://notincode.wordpress.com/2008/01/31/dont-get-forked-by-rspec/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd84e3662c2772ec1f22649b9aa7464a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hiremaga</media:title>
		</media:content>
	</item>
		<item>
		<title>What he said</title>
		<link>http://notincode.wordpress.com/2007/07/16/what-he-said/</link>
		<comments>http://notincode.wordpress.com/2007/07/16/what-he-said/#comments</comments>
		<pubDate>Mon, 16 Jul 2007 11:30:11 +0000</pubDate>
		<dc:creator>hiremaga</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.hiremaga.com/?p=258</guid>
		<description><![CDATA[Amen<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=219&subd=notincode&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://elhumidor.blogspot.com/2007/06/again-reopen-with-classevalmoduleeval.html">Amen</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notincode.wordpress.com/219/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notincode.wordpress.com/219/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notincode.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notincode.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notincode.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notincode.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notincode.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notincode.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notincode.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notincode.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notincode.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notincode.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=219&subd=notincode&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://notincode.wordpress.com/2007/07/16/what-he-said/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd84e3662c2772ec1f22649b9aa7464a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hiremaga</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby Nuby Night Screencasts</title>
		<link>http://notincode.wordpress.com/2007/07/06/ruby-nuby-night-screencasts/</link>
		<comments>http://notincode.wordpress.com/2007/07/06/ruby-nuby-night-screencasts/#comments</comments>
		<pubDate>Fri, 06 Jul 2007 00:04:49 +0000</pubDate>
		<dc:creator>hiremaga</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Screencast]]></category>

		<guid isPermaLink="false">http://www.hiremaga.com/?p=255</guid>
		<description><![CDATA[Screencasts of some of the presentations at the recent nuby night at Melbourne&#8217;s Ruby user group are now up on Cogent&#8217;s website.A big thanks to Marty Andrews for loaning his expensive equipment to the group and facilitating the recording of these screencasts.You can download copies of my slides here. [Update] Photos from the night can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=217&subd=notincode&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://cogentconsulting.com.au/screencasts/index.html">Screencasts</a> of some of the presentations at the recent <a href="http://groups.google.com.au/group/melbourne-ruby/web/ruby-newbie-night">nuby night</a> at <a href="http://groups.google.com.au/group/melbourne-ruby">Melbourne&#8217;s Ruby user group</a> are now up on <a href="http://www.cogentconsulting.com.au">Cogent&#8217;s website</a>.A big thanks to <a href="http://www.martyandrews.net">Marty Andrews</a> for loaning his expensive equipment to the group and facilitating the recording of these screencasts.You can download copies of my slides <a href="http://www.hiremaga.com/wp-content/uploads/2007/07/MigrationsIn3Mins.pdf">here</a>. <a href="http://creativecommons.org/licenses/by/3.0/" rel="license"> <img src="http://i.creativecommons.org/l/by/3.0/80x15.png" style="border-width:0;" alt="Creative Commons License" /></a>[Update] Photos from the night can be seen <a href="http://www.flickr.com/photos/71993871@N00/sets/72157600656732623/">here</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notincode.wordpress.com/217/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notincode.wordpress.com/217/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notincode.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notincode.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notincode.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notincode.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notincode.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notincode.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notincode.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notincode.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notincode.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notincode.wordpress.com/217/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=217&subd=notincode&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://notincode.wordpress.com/2007/07/06/ruby-nuby-night-screencasts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd84e3662c2772ec1f22649b9aa7464a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hiremaga</media:title>
		</media:content>

		<media:content url="http://i.creativecommons.org/l/by/3.0/80x15.png" medium="image">
			<media:title type="html">Creative Commons License</media:title>
		</media:content>
	</item>
		<item>
		<title>Hi, I&#8217;m Ruby on Rails</title>
		<link>http://notincode.wordpress.com/2007/05/15/hi-im-ruby-on-rails/</link>
		<comments>http://notincode.wordpress.com/2007/05/15/hi-im-ruby-on-rails/#comments</comments>
		<pubDate>Tue, 15 May 2007 10:00:02 +0000</pubDate>
		<dc:creator>hiremaga</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.hiremaga.com/?p=251</guid>
		<description><![CDATA[This funny video was created by the witty guys at RailsEnvy. I&#8217;ve embedded it for your convenience. Found via the Ruby on Rails weblog.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=213&subd=notincode&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>This funny video was created by the witty guys at <a href="http://railsenvy.com/2007/5/14/ruby-on-rails-commercial">RailsEnvy</a>. I&#8217;ve embedded it for your convenience.</p>
<p><span style="text-align:center; display: block;"><a href="http://notincode.wordpress.com/2007/05/15/hi-im-ruby-on-rails/"><img src="http://img.youtube.com/vi/PQbuyKUaKFo/2.jpg" alt="" /></a></span></p>
<p>Found via the <a href="http://weblog.rubyonrails.com/2007/5/14/hi-i-m-ruby-on-rails">Ruby on Rails weblog</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notincode.wordpress.com/213/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notincode.wordpress.com/213/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notincode.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notincode.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notincode.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notincode.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notincode.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notincode.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notincode.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notincode.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notincode.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notincode.wordpress.com/213/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=213&subd=notincode&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://notincode.wordpress.com/2007/05/15/hi-im-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd84e3662c2772ec1f22649b9aa7464a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hiremaga</media:title>
		</media:content>

		<media:content url="http://img.youtube.com/vi/PQbuyKUaKFo/2.jpg" medium="image" />
	</item>
		<item>
		<title>Ruby isn&#8217;t defensive</title>
		<link>http://notincode.wordpress.com/2007/05/09/ruby-isnt-defensive/</link>
		<comments>http://notincode.wordpress.com/2007/05/09/ruby-isnt-defensive/#comments</comments>
		<pubDate>Wed, 09 May 2007 11:49:04 +0000</pubDate>
		<dc:creator>hiremaga</dc:creator>
				<category><![CDATA[Quote]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.hiremaga.com/?p=249</guid>
		<description><![CDATA[I came across this little gem while reading the Unix philosophy page on Wikipedia (Mike Gancarz&#8217;s 9 paramount precepts are worth a read). &#8220;UNIX was not designed to stop its users from doing stupid things, as that would also stop them from doing clever things.&#8221; – Doug Gwyn I think you could say the same [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=212&subd=notincode&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I came across this little gem while reading the <a href="http://en.wikipedia.org/wiki/Unix_philosophy">Unix philosophy</a> page on Wikipedia (Mike Gancarz&#8217;s 9 paramount precepts are worth a read).</p>
<blockquote><p>&#8220;UNIX was not designed to stop its users from doing stupid things, as that would also stop them from doing clever things.&#8221; – Doug Gwyn</p></blockquote>
<p>I think you could say the same about Ruby.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notincode.wordpress.com/212/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notincode.wordpress.com/212/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notincode.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notincode.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notincode.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notincode.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notincode.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notincode.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notincode.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notincode.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notincode.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notincode.wordpress.com/212/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=212&subd=notincode&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://notincode.wordpress.com/2007/05/09/ruby-isnt-defensive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd84e3662c2772ec1f22649b9aa7464a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hiremaga</media:title>
		</media:content>
	</item>
		<item>
		<title>Wrong Ruby version on your Powerbook?</title>
		<link>http://notincode.wordpress.com/2007/05/05/wrong-ruby-version-on-your-powerbook/</link>
		<comments>http://notincode.wordpress.com/2007/05/05/wrong-ruby-version-on-your-powerbook/#comments</comments>
		<pubDate>Sat, 05 May 2007 06:16:05 +0000</pubDate>
		<dc:creator>hiremaga</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.hiremaga.com/?p=247</guid>
		<description><![CDATA[If you own an Apple Powerbook and try upgrading Ruby using MacPorts, you may find that typing &#8216;ruby -v&#8217; at the console stubbornly insists the version installed is 1.8.2 whereas you&#8217;re expecting something more recent (1.8.6 at time of this post). In my case it turned out that this was because the default order of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=210&subd=notincode&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>If you own an Apple <a href="http://en.wikipedia.org/wiki/PowerBook_G4">Powerbook</a> and try upgrading <a href="http://www.ruby-lang.org/">Ruby</a> using <a href="http://www.macports.org/">MacPorts</a>, you may find that typing &#8216;ruby -v&#8217; at the console stubbornly insists the version installed is 1.8.2 whereas you&#8217;re expecting something more recent (1.8.6 at time of this post).</p>
<p>In my case it turned out that this was because the default order of the PATH environment variable had &#8216;/opt/local/bin&#8217; after &#8216;/usr/bin&#8217;. This meant that the older version that came with OS X Tiger which was in &#8216;/usr/bin&#8217; was being used in preference to the newer version installed by MacPorts in &#8216;/opt/local/bin&#8217;.</p>
<p>The solution: simply change PATH in ~/.profile so &#8216;/opt/local/bin&#8217; appears before &#8216;/usr/bin&#8217;.</p>
<p>Finally, it turns out that on <a href="http://www.hiremaga.com/?p=238">my shiny new Macbook Pro</a> the PATH is ordered this way by default.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notincode.wordpress.com/210/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notincode.wordpress.com/210/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notincode.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notincode.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notincode.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notincode.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notincode.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notincode.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notincode.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notincode.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notincode.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notincode.wordpress.com/210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=210&subd=notincode&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://notincode.wordpress.com/2007/05/05/wrong-ruby-version-on-your-powerbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd84e3662c2772ec1f22649b9aa7464a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hiremaga</media:title>
		</media:content>
	</item>
		<item>
		<title>Seeing Red</title>
		<link>http://notincode.wordpress.com/2005/10/24/seeing-red/</link>
		<comments>http://notincode.wordpress.com/2005/10/24/seeing-red/#comments</comments>
		<pubDate>Sun, 23 Oct 2005 11:55:03 +0000</pubDate>
		<dc:creator>hiremaga</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.hiremaga.com/?p=88</guid>
		<description><![CDATA[I&#8217;ve been playing with Ruby and Ruby on Rails recently. Here are some very early thoughts. Ruby I love its clear &#38; succinct syntax. As several people have already said, it looks great for creating DSLs. Runtime/dynamic type checking. No opinion yet, other than &#8216;interesting&#8217;. Lexical blocks, yeehaa! A million different ways to define class [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=70&subd=notincode&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with Ruby and Ruby on Rails recently. Here are some very early thoughts.</p>
<p><a href="http://www.ruby-lang.org/">Ruby</a>
<ul>
<li>I love its clear &amp; succinct syntax. As several people have already said, it looks great for creating <a href="http://www.martinfowler.com/bliki/DomainSpecificLanguage.html">DSL</a>s.</li>
<li>Runtime/dynamic type checking. No opinion yet, other than &#8216;interesting&#8217;.</li>
<li>Lexical blocks, yeehaa!</li>
<li>A million different ways to define class level members (and other things, I think), why? I think I just need to understand this better.</li>
<li>A culture of unit testing, goodo.</li>
<li>The tutorials, docos and a hugely passionate &amp; welcoming community. Mind-blowing. <a href="http://headrush.typepad.com/creating_passionate_users/2005/08/what_i_learned_.html">Kathy Sierra loves this</a>, I do too. It&#8217;s infectious. </li>
<li>Lack of a decent IDE (I haven&#8217;t found one yet anyway), considering the last statement I&#8217;m sure there&#8217;ll be one along soon. <a href="http://rubyeclipse.sourceforge.net/">RDT</a> looks promising.</li>
<li>Rubgems. Rocks! I can&#8217;t believe how easy it is to download &amp; install with gems. But then I guess I haven&#8217;t spent in a lot of time in Debian land recently, it could be that I&#8217;m just easily impressed. I&#8217;ve also heard this stuff is super-easy in the Mac world, can&#8217;t wait to find out <a href="http://www.hiremaga.com/?p=86">when I finally get my Powerbook</a>.</li>
<li>Multi-platform &#8211; means I continue to use it on my Mac, yay!</li>
</ul>
<p><a href="http://www.rubyonrails.org/">Rails</a>
<ul>
<li>The seemingly &#8220;impressive&#8221; demos that show web pages automatically update themselves when a database table is updated. Misleading, but then <a href="http://rails.homelinux.org/">Four Days on Rails</a> appears to make up for this.</li>
<li>Scaffolding, interesting, &#8220;feels&#8221; open to abuse to an extent but so are so many other powerful tools I suppose. A case of Spider-manesque &#8211; &#8220;with great power come great responsibility&#8221;?</li>
<li>The <code>Generators</code> that come with Rails, I *love* these.</li>
<li>More tutorials, docos, videos etc, excellent again.</li>
<li>Included Webrick &#8211; I cannot understate how great this is, when I was first learning about JSPs, Servlets etc getting Tomcat running just right was a pain. At the time, I gave up and went with Resin. I don&#8217;t mean to bag Tomcat, just saying that having a webserver all included with the framework makes it much easier for a nube like me to focus on a higher level of abstraction initially.</li>
<li><a href="https://trails.dev.java.net/">Trails</a> &#8211; Rails for Java? Rails has piqued my curiosity enough for me to add Trails highish on my To Research list at <a href="http://www.rememberthemilk.com/">RememberTheMilk</a>.</li>
<li>R.I.P. ugly MS Access home grown databases. Here&#8217;s a low barrier of entry alternative that&#8217;ll allow you to build a much better engineered application.</li>
<li>Watchout Java/Struts/Webwork/Spring/J2EE etc? I don&#8217;t think so. I believe that each of these technologies still has their place (I just wish I could say I understood them all well enough to state what this is in each case :P)</li>
</ul>
<p>Finally, a disclaimer. As I said before, these are very early, nascent thoughts. To say that I&#8217;ve only scratched their surface is probably an exagerration. So, please forgive, but point out any (and I&#8217;m sure there are a few) errors, misconceptions or gaps in this post.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/notincode.wordpress.com/70/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/notincode.wordpress.com/70/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/notincode.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/notincode.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/notincode.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/notincode.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/notincode.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/notincode.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/notincode.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/notincode.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/notincode.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/notincode.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.hiremaga.com&blog=2620597&post=70&subd=notincode&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://notincode.wordpress.com/2005/10/24/seeing-red/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cd84e3662c2772ec1f22649b9aa7464a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hiremaga</media:title>
		</media:content>
	</item>
	</channel>
</rss>