<?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>Ruby On The Shoulders Of Giants</title>
	<atom:link href="http://rotsog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rotsog.wordpress.com</link>
	<description>Code Red</description>
	<lastBuildDate>Sat, 23 Jun 2007 17:18:38 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='rotsog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/f46b9ee09eedf8ce5ebb9fea5e1f8f08?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Ruby On The Shoulders Of Giants</title>
		<link>http://rotsog.wordpress.com</link>
	</image>
			<item>
		<title>Some much needed REST</title>
		<link>http://rotsog.wordpress.com/2007/06/23/some-much-needed-rest/</link>
		<comments>http://rotsog.wordpress.com/2007/06/23/some-much-needed-rest/#comments</comments>
		<pubDate>Sat, 23 Jun 2007 17:18:38 +0000</pubDate>
		<dc:creator>Chris Duncan</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://rotsog.wordpress.com/2007/06/23/some-much-needed-rest/</guid>
		<description><![CDATA[The advent of Rails 1.2 has seen the introduction of the Representational State Transfer (REST) style of software architecture into the framework, but what is REST all about? I could wax lyrical about my understanding of the concepts, however, people far more knowledgeable than myself have already written some fantastic stuff about Rails and REST, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=23&subd=rotsog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The advent of Rails 1.2 has seen the introduction of the <strong>Representational State Transfer</strong> (<a href="http://en.wikipedia.org/wiki/REST">REST</a>) style of software architecture into the framework, but what is REST all about? I could wax lyrical about my understanding of the concepts, however, people far more knowledgeable than myself have already written some fantastic stuff about Rails and REST, therefore I redirect you to a couple of them that have been particularly helpful to me.</p>
<p>Firstly, I point you to a series of introductory articles entitled &#8216;REST 101&#8242; by Jeff Cohen on the blog <a href="http://www.softiesonrails.com/tags/rest">Softies on Rails</a>. Thanks Jeff for your explanation, it worked for me.</p>
<p>Secondly, check out the excellent book <a href="http://www.amazon.com/RESTful-Web-Services-Leonard-Richardson/dp/0596529260/ref=pd_bbs_sr_1/103-5159098-8173441?ie=UTF8&amp;s=books&amp;qid=1182618291&amp;sr=8-1">RESTful Web Services</a> by Leonard Richardson, Sam Ruby published by O&#8217;Reilly. Do not be put off by the &#8216;web services&#8217; part of the title, because this is more than pertinent to Restful Rails web application design.</p>
<p>Hack away and above all have fun!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rotsog.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rotsog.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rotsog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rotsog.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rotsog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rotsog.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rotsog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rotsog.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rotsog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rotsog.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rotsog.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rotsog.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=23&subd=rotsog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rotsog.wordpress.com/2007/06/23/some-much-needed-rest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2adbbe58bd5008a7ba6180de2414cd91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rotsog</media:title>
		</media:content>
	</item>
		<item>
		<title>Code That Writes Code &#8211; Metaprogramming</title>
		<link>http://rotsog.wordpress.com/2007/04/18/code-that-writes-code-metaprogramming/</link>
		<comments>http://rotsog.wordpress.com/2007/04/18/code-that-writes-code-metaprogramming/#comments</comments>
		<pubDate>Wed, 18 Apr 2007 17:05:35 +0000</pubDate>
		<dc:creator>Chris Duncan</dc:creator>
				<category><![CDATA[Unexpected Finds]]></category>

		<guid isPermaLink="false">http://rotsog.wordpress.com/2007/04/18/code-that-writes-code-metaprogramming/</guid>
		<description><![CDATA[On the Worldwide Wonder Web there are numerous mentions of metaprogramming in connection with Ruby. Up until now I&#8217;ve kinda glossed over it with a mental Postit to investigate later.
Whilst trying to decide what to blog about today I followed a link that took me to Hal Fulton&#8217;s (Author of &#8220;The Ruby Way&#8221;) page and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=22&subd=rotsog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>On the Worldwide Wonder Web there are numerous mentions of <a href="http://en.wikipedia.org/wiki/Metaprogramming">metaprogramming</a> in connection with Ruby. Up until now I&#8217;ve kinda glossed over it with a mental Postit to investigate later.</p>
<p>Whilst trying to decide what to blog about today I followed a link that took me to Hal Fulton&#8217;s (Author of <em>&#8220;The Ruby Way&#8221;</em>) <a href="http://rubyhacker.com/">page</a> and subsequently on to <a href="http://www.devsource.com/article2/0,1895,1928562,00.asp">an article</a> that he had written about metaprogramming. The article is a brief introduction to the subject, illustrating the power of Ruby in this regard. The big &#8220;R&#8221; has mucho mojo dude, check it out.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rotsog.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rotsog.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rotsog.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rotsog.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rotsog.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rotsog.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rotsog.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rotsog.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rotsog.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rotsog.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rotsog.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rotsog.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=22&subd=rotsog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rotsog.wordpress.com/2007/04/18/code-that-writes-code-metaprogramming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2adbbe58bd5008a7ba6180de2414cd91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rotsog</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby In, HTML Out: Markaby</title>
		<link>http://rotsog.wordpress.com/2007/04/17/ruby-in-html-out-markaby/</link>
		<comments>http://rotsog.wordpress.com/2007/04/17/ruby-in-html-out-markaby/#comments</comments>
		<pubDate>Tue, 17 Apr 2007 12:21:28 +0000</pubDate>
		<dc:creator>Chris Duncan</dc:creator>
				<category><![CDATA[Ruby Stuff]]></category>

		<guid isPermaLink="false">http://rotsog.wordpress.com/2007/04/17/ruby-in-html-out-markaby/</guid>
		<description><![CDATA[At some point you will probably want to create some browser content for your web application. If you use Camping that means using Markaby, the Ruby HTML generator. Markaby is baked into Camping and can be installed as a plugin for Rails, but it can just as easily be incorporated into a standard Ruby script.
Define [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=21&subd=rotsog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>At some point you will probably want to create some browser content for your web application. If you use <a href="http://redhanded.hobix.com/bits/campingAMicroframework.html">Camping</a> that means using <a href="http://markaby.rubyforge.org/">Markaby</a>, the Ruby HTML generator. Markaby is baked into Camping and can be installed as a plugin for <a href="http://www.rubyonrails.org/">Rails</a>, but it can just as easily be incorporated into a standard Ruby script.</p>
<p>Define your page layout in Ruby syntax like so (this example was saved as an ordinary ruby script &#8211; mktest.rb):-</p>
<p><font color="#cccc33">#!/usr/bin/env ruby</font></p>
<p><font color="#cccc33">require &#8216;rubygems&#8217;<br />
require &#8216;markaby&#8217;</font></p>
<p><font color="#cccc33">mab = Markaby::Builder.new<br />
mab.html do<br />
head { title &#8220;Things to do&#8221; }<br />
body do<br />
h1 &#8220;Stuff I need to remember&#8221;<br />
ul do<br />
li &#8220;Feed the cat&#8221;<br />
li &#8220;Pay credit card bill&#8221;<br />
li &#8220;Get a better job&#8221;<br />
end<br />
end<br />
end<br />
puts mab.to_s</font></p>
<p>Then run the code and see the output:-</p>
<p><font color="#cccc33">$:&gt;ruby mktest.rb<br />
&lt;html&gt;&lt;head&gt;&lt;meta content=&#8221;text/html; charset=utf-8&#8243; http-equiv=&#8221;Content-Type&#8221;/&gt;&lt;title&gt;Things to do&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;h1&gt;Stuff I need to remember&lt;/h1&gt;&lt;ul&gt;&lt;li&gt;Feed the cat&lt;/li&gt;&lt;li&gt;Pay credit card bill&lt;/li&gt;&lt;li&gt;Get a better job&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</font></p>
<p>I like it. I like it a lot!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rotsog.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rotsog.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rotsog.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rotsog.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rotsog.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rotsog.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rotsog.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rotsog.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rotsog.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rotsog.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rotsog.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rotsog.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=21&subd=rotsog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rotsog.wordpress.com/2007/04/17/ruby-in-html-out-markaby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2adbbe58bd5008a7ba6180de2414cd91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rotsog</media:title>
		</media:content>
	</item>
		<item>
		<title>Rails Development Made Simple &#8211; Locomotive</title>
		<link>http://rotsog.wordpress.com/2007/04/16/rails-development-made-simple-locomotive/</link>
		<comments>http://rotsog.wordpress.com/2007/04/16/rails-development-made-simple-locomotive/#comments</comments>
		<pubDate>Mon, 16 Apr 2007 07:25:41 +0000</pubDate>
		<dc:creator>Chris Duncan</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://rotsog.wordpress.com/2007/04/16/rails-development-made-simple-locomotive/</guid>
		<description><![CDATA[One of the perennial problems that faces a developer when starting to work with new development tools is the set up of the development environment. This process can be one of the most frustrating tasks in IT and can, in some extreme cases, lead the developer to exclaim &#8220;Oh WTF!&#8221; and simply move on to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=20&subd=rotsog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One of the perennial problems that faces a developer when starting to work with new development tools is the set up of the development environment. This process can be one of the most frustrating tasks in IT and can, in some extreme cases, lead the developer to exclaim &#8220;Oh WTF!&#8221; and simply move on to an easier to manage tool.</p>
<p>In the Apple Mac universe, setting up your development environment yourself is not too problematic, especially if you use <a href="http://www.macports.org/">Macports</a> and <a href="http://rubygems.org/">Rubygems</a>. However, utilities like <a href="http://rmagick.rubyforge.org/">RMagick</a> can be a real pain in the posterior to install, not to mention keeping track of updated versions of things. People, I yearn for simplicity. I do not enjoy struggle for it&#8217;s own sake. I make a blood sacrifice to the Ruby Gods and lo, they send me <a href="http://locomotive.raaum.org/">Locomotive</a>.</p>
<p>Locomotive is a self-contained Rails development environment for the Mac and it is magnificently marvellous (Ryan Raaum you are a saint). It contains all the basic ingredients needed to keep a Rails developer happy, integrates with <a href="http://en.wikipedia.org/wiki/Terminal_(application)">Terminal</a> and <a href="http://macromates.com/">Textmate</a>, and has a <strong>bundle</strong> system that makes installing updates and the infamous RMagick trivial.</p>
<p>If you have a Mac and haven&#8217;t tried it yet make tracks to the <a href="http://locomotive.raaum.org/">site</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rotsog.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rotsog.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rotsog.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rotsog.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rotsog.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rotsog.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rotsog.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rotsog.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rotsog.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rotsog.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rotsog.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rotsog.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=20&subd=rotsog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rotsog.wordpress.com/2007/04/16/rails-development-made-simple-locomotive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2adbbe58bd5008a7ba6180de2414cd91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rotsog</media:title>
		</media:content>
	</item>
		<item>
		<title>Counting Strings Within Strings &#8211; scan</title>
		<link>http://rotsog.wordpress.com/2007/04/15/counting-strings-within-strings-scan/</link>
		<comments>http://rotsog.wordpress.com/2007/04/15/counting-strings-within-strings-scan/#comments</comments>
		<pubDate>Sun, 15 Apr 2007 09:31:58 +0000</pubDate>
		<dc:creator>Chris Duncan</dc:creator>
				<category><![CDATA[N.O.T.M]]></category>

		<guid isPermaLink="false">http://rotsog.wordpress.com/2007/04/15/counting-strings-within-strings-scan/</guid>
		<description><![CDATA[This is the first post in my Not Obvious To Me (N.O.T.M) section. Here lie examples of my intuitive (or just plain misguided) use of Ruby that have not yielded the results that I expected.
The problem was how to count the occurrences of pairs of newline characters in a given string. I was looking for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=19&subd=rotsog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is the first post in my Not Obvious To Me (N.O.T.M) section. Here lie examples of my intuitive (or just plain misguided) use of Ruby that have not yielded the results that I expected.</p>
<p>The problem was how to count the occurrences of pairs of newline characters in a given string. I was looking for newline but this case holds good for other repeating characters. Seemed to me that the <strong>String.count</strong> method should be used. Nice try brother, but how do I break this gently &#8211; No! What happens in irb is this:-</p>
<p><font color="#cccc33">irb(main):001:0&gt; str = &#8220;Rita, Bob<br />
irb(main):002:0&#8243;<br />
irb(main):003:0&#8243; and Sue too&#8221;<br />
=&gt; &#8220;Rita, Bob\n\nand Sue too&#8221;<br />
irb(main):004:0&gt; str.count(&#8220;\n\n&#8221;)<br />
=&gt; 2</font></p>
<p>As you can see the result is <strong>2</strong>, even though I entered a pair of newline characters. What I should have used was the <strong>String.scan</strong> method like this:-</p>
<p><font color="#cccc33">irb(main):001:0&gt; str = &#8220;Rita, Bob<br />
irb(main):002:0&#8243;<br />
irb(main):003:0&#8243; and Sue too&#8221;<br />
=&gt; &#8220;Rita, Bob\n\nand Sue too&#8221;<br />
irb(main):004:0&gt; str.scan(/\n\n/).size<br />
=&gt; 1</font></p>
<p>Voila, the answer is <strong>1</strong>, just as required. Notice that the result from the scan method is an array, each element containing an occurrence of your search string; consequently the <strong>size</strong> or <strong>length</strong> method is invoked to get the number.</p>
<p>This solution was provided by Chad Fowler (not sure whether this is the Ruby-famous <a href="http://www.chadfowler.com/">Chad</a>) via the <a href="http://groups.google.com/group/ruby-talk-google?lnk=iggc">ruby-talk-google</a> group. Much obliged.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rotsog.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rotsog.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rotsog.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rotsog.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rotsog.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rotsog.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rotsog.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rotsog.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rotsog.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rotsog.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rotsog.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rotsog.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=19&subd=rotsog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rotsog.wordpress.com/2007/04/15/counting-strings-within-strings-scan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2adbbe58bd5008a7ba6180de2414cd91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rotsog</media:title>
		</media:content>
	</item>
		<item>
		<title>Applescript The Ruby Way: rb-appscript</title>
		<link>http://rotsog.wordpress.com/2007/04/14/applescript-the-ruby-way-rb-appscript/</link>
		<comments>http://rotsog.wordpress.com/2007/04/14/applescript-the-ruby-way-rb-appscript/#comments</comments>
		<pubDate>Sat, 14 Apr 2007 13:24:10 +0000</pubDate>
		<dc:creator>Chris Duncan</dc:creator>
				<category><![CDATA[Unexpected Finds]]></category>

		<guid isPermaLink="false">http://rotsog.wordpress.com/2007/04/14/applescript-the-ruby-way-rb-appscript/</guid>
		<description><![CDATA[Task automation is a great way to increase productivity (ask any serious sysadmin) and is overlooked by many computer users because either they don&#8217;t know how to do it, or they can&#8217;t be bothered to learn yet another language. I&#8217;m as guilty as the next guy of continuing to do repetitive actions by hand, shame [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=18&subd=rotsog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Task automation is a great way to increase productivity (ask any serious sysadmin) and is overlooked by many computer users because either they don&#8217;t know how to do it, or they can&#8217;t be bothered to learn yet another language. I&#8217;m as guilty as the next guy of continuing to do repetitive actions by hand, shame on me!</p>
<p><a href="http://www.apple.com/macosx/features/applescript/">Applescript</a> is widely used on the Mac platform to automate tasks, however as a language it leaves a lot to be desired. Enter <a href="http://rubyforge.org/projects/rb-appscript/">rb-appscript</a>, a Ruby library <cite>&#8220;that allows you to control scriptable Mac OS X applications using ordinary Ruby scripts&#8221;</cite>.</p>
<p>If you need or <em>ought</em> to cut some Applescript code, but you want to get Ruby wid it, just <strong>sudo gem install rb-appscript</strong> and hack away.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rotsog.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rotsog.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rotsog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rotsog.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rotsog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rotsog.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rotsog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rotsog.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rotsog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rotsog.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rotsog.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rotsog.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=18&subd=rotsog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rotsog.wordpress.com/2007/04/14/applescript-the-ruby-way-rb-appscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2adbbe58bd5008a7ba6180de2414cd91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rotsog</media:title>
		</media:content>
	</item>
		<item>
		<title>Compact And Bijou Wiki &#8211; Junebug</title>
		<link>http://rotsog.wordpress.com/2007/04/13/compact-and-bijou-wiki-junebug/</link>
		<comments>http://rotsog.wordpress.com/2007/04/13/compact-and-bijou-wiki-junebug/#comments</comments>
		<pubDate>Fri, 13 Apr 2007 07:32:51 +0000</pubDate>
		<dc:creator>Chris Duncan</dc:creator>
				<category><![CDATA[Camping]]></category>

		<guid isPermaLink="false">http://rotsog.wordpress.com/2007/04/13/compact-and-bijou-wiki-junebug/</guid>
		<description><![CDATA[It&#8217;s one thing having a lightweight Ruby web application framework like Camping, it&#8217;s quite another coming up with useful applications to build with it.
I&#8217;m quite a fan of Backpack, which is essentially a personal wiki with some pleasing additional functionality, so I was pleased to find Junebug Wiki, a no-nonsense personal wiki built with Camping.
There [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=17&subd=rotsog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It&#8217;s one thing having a lightweight Ruby web application framework like Camping, it&#8217;s quite another coming up with useful applications to build with it.</p>
<p>I&#8217;m quite a fan of <a href="http://www.backpackit.com/">Backpack</a>, which is essentially a personal wiki with some pleasing additional functionality, so I was pleased to find <a href="http://www.junebugwiki.com/JunebugWiki">Junebug Wiki</a>, a no-nonsense personal wiki built with Camping.</p>
<p>There is no fat on Junebug, it is minimalist and all the better for that. If you want to add or change functionality then go ahead, you get the source code when you download after all. What does a Junebug wiki look like? Well the Junebug website is a good example.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rotsog.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rotsog.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rotsog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rotsog.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rotsog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rotsog.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rotsog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rotsog.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rotsog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rotsog.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rotsog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rotsog.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=17&subd=rotsog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rotsog.wordpress.com/2007/04/13/compact-and-bijou-wiki-junebug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2adbbe58bd5008a7ba6180de2414cd91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rotsog</media:title>
		</media:content>
	</item>
		<item>
		<title>Old Dog, New Tricks: IT Retraining</title>
		<link>http://rotsog.wordpress.com/2007/04/13/old-dog-new-tricks-it-retraining/</link>
		<comments>http://rotsog.wordpress.com/2007/04/13/old-dog-new-tricks-it-retraining/#comments</comments>
		<pubDate>Fri, 13 Apr 2007 07:05:30 +0000</pubDate>
		<dc:creator>Chris Duncan</dc:creator>
				<category><![CDATA[Heartfelt Pleading]]></category>

		<guid isPermaLink="false">http://rotsog.wordpress.com/2007/04/13/old-dog-new-tricks-it-retraining/</guid>
		<description><![CDATA[This old dog needs to retrain. No question, the skillset on my CV is not going to get me where I need and want to be. My personal circumstances have changed, making it imperative that I work from home or very near home which means teleworking is my preferred modus operandi. I have decided that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=16&subd=rotsog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This old dog needs to retrain. No question, the skillset on my CV is not going to get me where I need and want to be. My personal circumstances have changed, making it imperative that I work from home or very near home which means teleworking is my preferred modus operandi. I have decided that learning Ruby may be the gateway to my goals, but I have a problem.</p>
<p>My CV doesn&#8217;t indicate to potential employers that I can hack Ruby because I am self-taught. &#8216;Self-taught&#8217; in the sense that I have bought books, read articles and collected information from the Internet and completed tutorials. None of this seems to make a jot of difference to employment agencies here in the UK, not to mention that teleworking opportunities seem to be in short supply.</p>
<p>In an attempt to gain some &#8216;real world&#8217; Ruby experience I have offered my services free of charge in exchange for the opportunity to do some CV friendly Ruby work. I put out a brief message on a couple of Ruby Google Groups asking for help, not really expecting positive feedback. To say that I was pleasantly surprised would be an understatement. Not only did I receive encouragement and support, as luck would have it a kind soul offered to set me some Ruby coding exercises (thank you kind soul!) which I started yesterday.</p>
<p>My faith in human nature somewhat restored, I continue on my quest for that elusive Ruby teleworking gig. If anyone reading this can assist me, please do not  hesitate to get in touch.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rotsog.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rotsog.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rotsog.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rotsog.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rotsog.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rotsog.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rotsog.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rotsog.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rotsog.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rotsog.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rotsog.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rotsog.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=16&subd=rotsog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rotsog.wordpress.com/2007/04/13/old-dog-new-tricks-it-retraining/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2adbbe58bd5008a7ba6180de2414cd91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rotsog</media:title>
		</media:content>
	</item>
		<item>
		<title>Rails With A Face Lift: Flex</title>
		<link>http://rotsog.wordpress.com/2007/04/12/rails-with-a-face-lift-flex/</link>
		<comments>http://rotsog.wordpress.com/2007/04/12/rails-with-a-face-lift-flex/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 16:04:36 +0000</pubDate>
		<dc:creator>Chris Duncan</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://rotsog.wordpress.com/2007/04/12/rails-with-a-face-lift-flex/</guid>
		<description><![CDATA[For a while now I&#8217;ve been a bit fed up with Javascript front-end stuff for web apps. Don&#8217;t get me wrong, I have nothing but admiration for the ingenuity of libraries like script.aculo.us, prototype and others, after all they are facilitating a level of browser-based UI richness that is staggering.
Yet something doesn&#8217;t sit right with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=15&subd=rotsog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For a while now I&#8217;ve been a bit fed up with Javascript front-end stuff for web apps. Don&#8217;t get me wrong, I have nothing but admiration for the ingenuity of libraries like <a href="http://script.aculo.us/">script.aculo.us</a>, <a href="http://www.prototypejs.org/">prototype</a> and others, after all they are facilitating a level of browser-based UI richness that is staggering.</p>
<p>Yet something doesn&#8217;t sit right with me, AJAX et al and I think I can put my finger on it; it all seems just a bit <em>too</em> complicated. Different browsers requiring special consideration, clever code to allow browsers to do things that they weren&#8217;t originally designed to do, it just don&#8217;t feeeeel right!</p>
<p>Naturally enough I became a one man hunting party to find that elusive neater front-end and inevitably my path wound up at Adobe&#8217;s door. Why Adobe? &#8216;Tis Flash country brothers and sisters. Wait a second while I don my <a href="http://www.nomex.com/">Nomex</a> suit and prepare for the tongues of flame to roast my nether regions.</p>
<p>OK, I know there are many of you who have issued an IT <a href="http://en.wikipedia.org/wiki/Fatwa">fatwa</a> on Flash, but listen, put your objections to one side for a moment and consider this; web front-ends built with <a href="http://www.adobe.com/products/flex/">Flex 2</a> (Adobe&#8217;s Rich Internet Application IDE) play pretty nicely with Rails.</p>
<p>Don&#8217;t believe me? Just Google &#8216;flex + rails&#8217;. This ain&#8217;t new, even so, I thought that I&#8217;d better blog about it just in case you hadn&#8217;t considered hooking up Flash via Flex with Rails. The goodness of Flash + the greatness of Rails need I say more?</p>
<p>If you need a consistent cross-browser display platform and you&#8217;re not constrained by monetary or ideological issues, put this on your evaluation list. </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rotsog.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rotsog.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rotsog.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rotsog.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rotsog.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rotsog.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rotsog.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rotsog.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rotsog.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rotsog.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rotsog.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rotsog.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=15&subd=rotsog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rotsog.wordpress.com/2007/04/12/rails-with-a-face-lift-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2adbbe58bd5008a7ba6180de2414cd91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rotsog</media:title>
		</media:content>
	</item>
		<item>
		<title>French And Ruby &#8211; Fluent Language</title>
		<link>http://rotsog.wordpress.com/2007/04/12/french-and-ruby-fluent-language/</link>
		<comments>http://rotsog.wordpress.com/2007/04/12/french-and-ruby-fluent-language/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 05:58:50 +0000</pubDate>
		<dc:creator>Chris Duncan</dc:creator>
				<category><![CDATA[Random Muttering]]></category>

		<guid isPermaLink="false">http://rotsog.wordpress.com/2007/04/12/french-and-ruby-fluent-language/</guid>
		<description><![CDATA[I&#8217;ve been learning French on and off for years. Since leaving school I&#8217;ve flirted with it on numerous occasions, however, to date I&#8217;m still not fluent.
I&#8217;ve been learning Ruby for less time  and already I feel more at home with it than I do French. It seems that I love the idea of learning French [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=14&subd=rotsog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been learning French on and off for years. Since leaving school I&#8217;ve flirted with it on numerous occasions, however, to date I&#8217;m still not fluent.</p>
<p>I&#8217;ve been learning Ruby for less time  and already I feel more at home with it than I do French. It seems that I love the <em>idea</em> of learning French but I love learning Ruby.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rotsog.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rotsog.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rotsog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rotsog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rotsog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rotsog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rotsog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rotsog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rotsog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rotsog.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rotsog.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rotsog.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rotsog.wordpress.com&blog=939022&post=14&subd=rotsog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rotsog.wordpress.com/2007/04/12/french-and-ruby-fluent-language/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2adbbe58bd5008a7ba6180de2414cd91?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rotsog</media:title>
		</media:content>
	</item>
	</channel>
</rss>