<?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/"
	>

<channel>
	<title>A little place of calm</title>
	<atom:link href="http://aimee.mychores.co.uk/feed" rel="self" type="application/rss+xml" />
	<link>http://aimee.mychores.co.uk</link>
	<description>Aimee's personal journal</description>
	<pubDate>Sat, 20 Jun 2009 23:13:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A website in a day</title>
		<link>http://aimee.mychores.co.uk/2009/06/20/post/594/a-website-in-a-day</link>
		<comments>http://aimee.mychores.co.uk/2009/06/20/post/594/a-website-in-a-day#comments</comments>
		<pubDate>Sat, 20 Jun 2009 23:13:52 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
		
		<category><![CDATA[friends]]></category>

		<category><![CDATA[geeky]]></category>

		<category><![CDATA[social]]></category>

		<category><![CDATA[web 2.x]]></category>

		<category><![CDATA[winchester]]></category>

		<category><![CDATA[winchesterweb]]></category>

		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=594</guid>
		<description><![CDATA[Sometimes it&#039;s excellent fun to work with somebody to produce a website in a day. With no requirement for ongoing support, just get it up and running, instant gratification. In a way, it says, &#034;Look what we can do when we set our minds to it!&#034;

winchesterwebscene.co.uk
Yesterday, @sydlawrence phoned me to ask if i&#039;d like to [...]


Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/12/31/post/391/so-long-2008' rel='bookmark' title='Permanent Link: So long, 2008'>So long, 2008</a></li><li><a href='http://aimee.mychores.co.uk/2008/01/11/post/152/fit-healthy-and-happy' rel='bookmark' title='Permanent Link: Fit, healthy and happy'>Fit, healthy and happy</a></li><li><a href='http://aimee.mychores.co.uk/2008/11/19/post/366/the-joy-of-github' rel='bookmark' title='Permanent Link: The joy of GitHub'>The joy of GitHub</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Sometimes it&#039;s excellent fun to work with somebody to produce a website in a day. With no requirement for ongoing support, just get it up and running, instant gratification. In a way, it says, &#034;Look what we can do when we set our minds to it!&#034;</p>
<p><a href="http://www.flickr.com/photos/sermoa/3644539565/" title="New site for the Winchester Web Scene by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3626/3644539565_d80c13f1c8.jpg" width="500" height="330" alt="New site for the Winchester Web Scene" /></a><br />
<a href="http://winchesterwebscene.co.uk">winchesterwebscene.co.uk</a></p>
<p>Yesterday, @<a href="http://twitter.com/sydlawrence">sydlawrence</a> phoned me to ask if i&#039;d like to help make a new site for the Winchester Web Scene. Without a second thought, i said, &#034;DEFINITELY!&#034; We got together at 3pm today at the Bridge Patisserie. We drank lots of coffee, went on to the Bishop on the Bridge, then went back to Syd&#039;s house and ate pizza. We got the whole site designed, coded, integrating with Twitter, Flickr, Google Maps, Gravatar and Campaign Monitor for email subscriptions, with a blog plus comments, events list and RSS feeds &#8230; in about 5 hours.</p>
<p>It was nice that two Winchester web companies, <a href="http://www.marmaladeontoast.co.uk/">Marmalade on Toast</a> and <a href="http://edendevelopment.co.uk/">Eden Development</a> were able to combine talent to work on a fun social project together. The two of us had a great time making it!</p>
<p>The site gives a far greater prominence to the Winchester Web Scene than the old Ning site did. Still in its first few hours of existence, the site has already had 71 unique visitors. The future of the Winchester Web Scene is looking very bright!</p>
<p>The next event is a barbeque at the Hyde Tavern on the 6th July from 7pm. If you live near Winchester and are interested in anything to do with the web, you&#039;re very welcome to come along! :)</p>
	<p></p>
	<p>
	Posted in <a href="http://aimee.mychores.co.uk/category/friends" title="View all posts in friends" rel="category tag">friends</a>,  <a href="http://aimee.mychores.co.uk/category/geeky" title="View all posts in geeky" rel="category tag">geeky</a>,  <a href="http://aimee.mychores.co.uk/category/social" title="View all posts in social" rel="category tag">social</a>,  <a href="http://aimee.mychores.co.uk/category/web-2x" title="View all posts in web 2.x" rel="category tag">web 2.x</a>,  <a href="http://aimee.mychores.co.uk/category/winchester" title="View all posts in winchester" rel="category tag">winchester</a>,  <a href="http://aimee.mychores.co.uk/category/winchesterweb" title="View all posts in winchesterweb" rel="category tag">winchesterweb</a> | <a href="http://aimee.mychores.co.uk/2009/06/20/post/594/a-website-in-a-daytrackback/">Trackback</a> | <a href="http://aimee.mychores.co.uk/2009/06/20/post/594/a-website-in-a-day#comments">4 comments</a> | <a href="http://aimee.mychores.co.uk/2009/06/20/post/594/a-website-in-a-day#respond">Comment here</a>
	</p>

<p>Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/12/31/post/391/so-long-2008' rel='bookmark' title='Permanent Link: So long, 2008'>So long, 2008</a></li><li><a href='http://aimee.mychores.co.uk/2008/01/11/post/152/fit-healthy-and-happy' rel='bookmark' title='Permanent Link: Fit, healthy and happy'>Fit, healthy and happy</a></li><li><a href='http://aimee.mychores.co.uk/2008/11/19/post/366/the-joy-of-github' rel='bookmark' title='Permanent Link: The joy of GitHub'>The joy of GitHub</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://aimee.mychores.co.uk/2009/06/20/post/594/a-website-in-a-day/feed</wfw:commentRss>
		</item>
		<item>
		<title>A quick look at Hobo</title>
		<link>http://aimee.mychores.co.uk/2009/06/12/post/588/a-quick-look-at-hobo</link>
		<comments>http://aimee.mychores.co.uk/2009/06/12/post/588/a-quick-look-at-hobo#comments</comments>
		<pubDate>Fri, 12 Jun 2009 22:49:20 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
		
		<category><![CDATA[geeky]]></category>

		<category><![CDATA[interesting]]></category>

		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=588</guid>
		<description><![CDATA[Having just installed Rails on Ubuntu tonight, and reminded myself how utterly horrible the Rails scaffold looks (it&#039;s supposed to!) i thought i might have a look at Hobo.
Hobo builds upon Rails, brings in a few plugins, makes it even faster to do things, and looks pretty good right from the start.

So get it installed:

sudo [...]


Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2009/06/12/post/579/rails-on-ubuntu-in-14-minutes' rel='bookmark' title='Permanent Link: Rails on Ubuntu in 14 minutes'>Rails on Ubuntu in 14 minutes</a></li><li><a href='http://aimee.mychores.co.uk/2008/09/14/post/331/installing-ruby-on-rails-on-debian-lenny' rel='bookmark' title='Permanent Link: Installing Ruby on Rails on Debian Lenny'>Installing Ruby on Rails on Debian Lenny</a></li><li><a href='http://aimee.mychores.co.uk/2008/11/28/post/371/rails-on-a-netbook' rel='bookmark' title='Permanent Link: Rails on a netbook?'>Rails on a netbook?</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Having just <a href="http://aimee.mychores.co.uk/2009/06/12/post/579/rails-on-ubuntu-in-14-minutes">installed Rails on Ubuntu tonight</a>, and reminded myself how utterly horrible the Rails scaffold looks (it&#039;s supposed to!) i thought i might have a look at <a href="http://hobocentral.net/">Hobo</a>.</p>
<p>Hobo builds upon Rails, brings in a few plugins, makes it even faster to do things, and looks pretty good right from the start.</p>
<p><span id="more-588"></span></p>
<p>So get it installed:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem sources <span style="color: #660033;">-a</span> http:<span style="color: #000000; font-weight: bold;">//</span>gems.github.com
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> hobo</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>rails_apps<span style="color: #000000; font-weight: bold;">/</span>
hobo hobotest
<span style="color: #7a0874; font-weight: bold;">cd</span> hobotest<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>This is how you make a model using Hobo:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>script<span style="color: #000000; font-weight: bold;">/</span>generate hobo_model_resource lollipop flavour:string date_eaten:<span style="color: #c20cb9; font-weight: bold;">date</span> rating:integer</pre></div></div>

<p>Hobo generates migrations from the model:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>script<span style="color: #000000; font-weight: bold;">/</span>generate hobo_migration</pre></div></div>

<p>Whoops! I don&#039;t have sqlite installed.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> sqlite3 libsqlite3-dev
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> sqlite3-ruby</pre></div></div>

<p>Try that again:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>script<span style="color: #000000; font-weight: bold;">/</span>generate hobo_migration</pre></div></div>

<p>I choose &#039;migrate now&#039;. Oh wow! It automatically generates a users table for me! This feels promising!</p>
<p>Let&#039;s see some examples of what the interface looks like.</p>
<p><strong>Initial welcome screen</strong></p>
<p><a href="http://www.flickr.com/photos/sermoa/3620784814/" title="Initial Hobo welcome page by sermoa, on Flickr"><img src="http://farm3.static.flickr.com/2369/3620784814_96f3812db7.jpg" width="500" height="289" alt="Initial Hobo welcome page" /></a></p>
<p><strong>No link to create anything when not logged in</strong></p>
<p><a href="http://www.flickr.com/photos/sermoa/3620784816/" title="Cannot create anything when not logged in by sermoa, on Flickr"><img src="http://farm3.static.flickr.com/2472/3620784816_8833de9475.jpg" width="500" height="289" alt="Cannot create anything when not logged in" /></a></p>
<p><strong>A log in screen</strong></p>
<p><a href="http://www.flickr.com/photos/sermoa/3620784818/" title="Hobo log in screen by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3642/3620784818_94b9bb01c8.jpg" width="500" height="289" alt="Hobo log in screen" /></a></p>
<p>Hobo gives you user account management right out of the box!</p>
<p><strong>A signup screen</strong></p>
<p><a href="http://www.flickr.com/photos/sermoa/3620784826/" title="Hobo sign up screen by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3340/3620784826_d662460073.jpg" width="500" height="289" alt="Hobo signup screen" /></a></p>
<p><strong>Index page of all lollipops</strong></p>
<p><a href="http://www.flickr.com/photos/sermoa/3620784832/" title="Hobo index page by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3539/3620784832_46a45ffe29.jpg" width="500" height="289" alt="Hobo index page" /></a></p>
<p>Less detailed than Rails default scaffolding, but much nicer to look at.</p>
<p><strong>View a single lollipop</strong></p>
<p><a href="http://www.flickr.com/photos/sermoa/3620784836/" title="Hobo view page by sermoa, on Flickr"><img src="http://farm3.static.flickr.com/2449/3620784836_07180428a9.jpg" width="500" height="289" alt="Hobo view page" /></a></p>
<p>I like lollipops, okay?! :)</p>
<p><strong>Edit a lollipop</strong></p>
<p><a href="http://www.flickr.com/photos/sermoa/3620797442/" title="Hobo edit page by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3378/3620797442_521527d1ea.jpg" width="500" height="289" alt="Hobo edit page" /></a></p>
<p>I was curious as to what the Hobo generated users table looks like:</p>
<p><a href="http://www.flickr.com/photos/sermoa/3620797444/" title="SQLite Manager showing the Hobo users table by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3608/3620797444_755efa8201.jpg" width="500" height="218" alt="SQLite Manager showing the Hobo users table" /></a></p>
<p>I see it has things such as remember tokens, user status (active) and an administrator flag. Looks really useful!</p>
<p>However, i don&#039;t know where all the code is!</p>
<p><a href="http://www.flickr.com/photos/sermoa/3620797448/" title="Hobo - where's all the code?! by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3301/3620797448_7ecf341ac4.jpg" width="500" height="347" alt="Hobo - where's all the code?!" /></a></p>
<p>The most code i could find is the bit about user authorisation. Which is very useful, definitely. But hardly any controller code or views. It just makes me wonder how easy it is to change away from the Hobo default opinions.</p>
<p>Anyway, it looks pretty good. I&#039;ll probably write some sort of vaguely useful application with Hobo to see how it works out. Apparently AJAX is really easy using Hobo, and views are much easier to write with their DRYML. I also noticed a &#039;themes&#039; directory so i bet it&#039;s quite easy to reskin the site. Those kind of things are nice to have. Just so long as the <em>convention over configuration</em> doesn&#039;t go too far and make it hard to configure anything <em>other</em> than the convention!</p>
<p>Oooh, the <a href="http://cookbook.hobocentral.net/manual/dryml-guide">Hobo manual</a> looks useful &#8230; :)</p>
	<p></p>
	<p>
	Posted in <a href="http://aimee.mychores.co.uk/category/geeky" title="View all posts in geeky" rel="category tag">geeky</a>,  <a href="http://aimee.mychores.co.uk/category/interesting" title="View all posts in interesting" rel="category tag">interesting</a>,  <a href="http://aimee.mychores.co.uk/category/ruby-on-rails" title="View all posts in ruby on rails" rel="category tag">ruby on rails</a> | <a href="http://aimee.mychores.co.uk/2009/06/12/post/588/a-quick-look-at-hobotrackback/">Trackback</a> | <a href="http://aimee.mychores.co.uk/2009/06/12/post/588/a-quick-look-at-hobo#comments">1 comment</a> | <a href="http://aimee.mychores.co.uk/2009/06/12/post/588/a-quick-look-at-hobo#respond">Comment here</a>
	</p>

<p>Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2009/06/12/post/579/rails-on-ubuntu-in-14-minutes' rel='bookmark' title='Permanent Link: Rails on Ubuntu in 14 minutes'>Rails on Ubuntu in 14 minutes</a></li><li><a href='http://aimee.mychores.co.uk/2008/09/14/post/331/installing-ruby-on-rails-on-debian-lenny' rel='bookmark' title='Permanent Link: Installing Ruby on Rails on Debian Lenny'>Installing Ruby on Rails on Debian Lenny</a></li><li><a href='http://aimee.mychores.co.uk/2008/11/28/post/371/rails-on-a-netbook' rel='bookmark' title='Permanent Link: Rails on a netbook?'>Rails on a netbook?</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://aimee.mychores.co.uk/2009/06/12/post/588/a-quick-look-at-hobo/feed</wfw:commentRss>
		</item>
		<item>
		<title>Rails on Ubuntu in 14 minutes</title>
		<link>http://aimee.mychores.co.uk/2009/06/12/post/579/rails-on-ubuntu-in-14-minutes</link>
		<comments>http://aimee.mychores.co.uk/2009/06/12/post/579/rails-on-ubuntu-in-14-minutes#comments</comments>
		<pubDate>Fri, 12 Jun 2009 21:59:10 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
		
		<category><![CDATA[geeky]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[ruby on rails]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=579</guid>
		<description><![CDATA[I recently installed Ubuntu Jaunty Jackalope and hadn&#039;t yet got around to putting Rails on to it.
Installing Ruby and Gems and Rails and getting them all to work nicely together can be a pain, so i&#039;m happy to say i managed to go from nothing to Rails installed and working in 14 minutes this time! [...]


Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/09/14/post/331/installing-ruby-on-rails-on-debian-lenny' rel='bookmark' title='Permanent Link: Installing Ruby on Rails on Debian Lenny'>Installing Ruby on Rails on Debian Lenny</a></li><li><a href='http://aimee.mychores.co.uk/2008/11/28/post/371/rails-on-a-netbook' rel='bookmark' title='Permanent Link: Rails on a netbook?'>Rails on a netbook?</a></li><li><a href='http://aimee.mychores.co.uk/2008/03/24/post/230/rails-grrr' rel='bookmark' title='Permanent Link: Rails grrr'>Rails grrr</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I recently installed Ubuntu Jaunty Jackalope and hadn&#039;t yet got around to putting Rails on to it.</p>
<p>Installing Ruby and Gems and Rails and getting them all to work nicely together can be a pain, so i&#039;m happy to say i managed to go from nothing to Rails installed and working in 14 minutes this time! Thanks very much to <a href="http://wiki.rubyonrails.org/getting-started/installation/linux">Installing Ruby on Rails on Debian/Ubuntu</a> for most of the tips. Here&#039;s how it panned out for me:</p>
<p><span id="more-579"></span></p>
<p><strong>21:33</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential libssl-dev libreadline5-dev zlib1g-dev</pre></div></div>

<p><strong>21:34</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.ruby-lang.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>stable-snapshot.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzf stable-snapshot.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> ruby<span style="color: #000000; font-weight: bold;">/</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<p><strong>21:37</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>A quick test:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ruby <span style="color: #660033;">-v</span>
ruby 1.8.8dev <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2009</span>-06-<span style="color: #000000;">11</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>x86_64-linux<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ruby <span style="color: #660033;">-ropenssl</span> <span style="color: #660033;">-rzlib</span> <span style="color: #660033;">-rreadline</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;puts :Hello&quot;</span>
Hello</pre></div></div>

<p>Good. Ruby installed and working with openssl, zlib and readline. So far so good. Now for the gems.</p>
<p><strong>21:39</strong></p>
<p>Check <a href="http://rubyforge.org/frs/?group_id=126">on RubyForge</a> for the latest version of gems to download.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ..
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>rubyforge.org<span style="color: #000000; font-weight: bold;">/</span>frs<span style="color: #000000; font-weight: bold;">/</span>download.php<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">57643</span><span style="color: #000000; font-weight: bold;">/</span>rubygems-1.3.4.tgz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzvf rubygems-1.3.4.tgz
<span style="color: #7a0874; font-weight: bold;">cd</span> rubygems-1.3.4<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> ruby setup.rb</pre></div></div>

<p><strong>21:42</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gem <span style="color: #660033;">-v</span>
1.3.4</pre></div></div>

<p>Lovely. Now i can install Rails.</p>
<p><strong>21:43</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> rails</pre></div></div>

<p>Bah, i should have chosen <code>--no-rdoc --no-ri</code>!</p>
<p><strong>21:47</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rails <span style="color: #660033;">-v</span>
Rails 2.3.2</pre></div></div>

<p>Success!</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gem list
<span style="color: #000000; font-weight: bold;">***</span> LOCAL GEMS <span style="color: #000000; font-weight: bold;">***</span>
&nbsp;
actionmailer <span style="color: #7a0874; font-weight: bold;">&#40;</span>2.3.2<span style="color: #7a0874; font-weight: bold;">&#41;</span>
actionpack <span style="color: #7a0874; font-weight: bold;">&#40;</span>2.3.2<span style="color: #7a0874; font-weight: bold;">&#41;</span>
activerecord <span style="color: #7a0874; font-weight: bold;">&#40;</span>2.3.2<span style="color: #7a0874; font-weight: bold;">&#41;</span>
activeresource <span style="color: #7a0874; font-weight: bold;">&#40;</span>2.3.2<span style="color: #7a0874; font-weight: bold;">&#41;</span>
activesupport <span style="color: #7a0874; font-weight: bold;">&#40;</span>2.3.2<span style="color: #7a0874; font-weight: bold;">&#41;</span>
rails <span style="color: #7a0874; font-weight: bold;">&#40;</span>2.3.2<span style="color: #7a0874; font-weight: bold;">&#41;</span>
rake <span style="color: #7a0874; font-weight: bold;">&#40;</span>0.8.7<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>So i have Rails in 14 minutes. That made a good post title, but it&#039;s not over yet! I&#039;m going to need MySQL.</p>
<p><strong>21:48</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mysql-server mysql-client</pre></div></div>

<p><strong>21:49</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libmysql-ruby
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libmysqlclient15-dev
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> mysql</pre></div></div>

<p>I always like to use PhpMyAdmin with MySQL.</p>
<p><strong>21:51</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> phpmyadmin</pre></div></div>

<p><strong>21:54</strong></p>
<p>A line needs to go at the bottom of <code>/etc/apache2/apache2.conf</code>:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Include /etc/phpmyadmin/apache.conf</pre></div></div>

<p><strong>21:55</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</pre></div></div>

<p>Yay! Installed and working!</p>
<p><a href="http://www.flickr.com/photos/sermoa/3619892729/" title="MySQL and PhpMyAdmin installed and working by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3412/3619892729_f6bec86ef2.jpg" width="500" height="289" alt="MySQL and PhpMyAdmin installed and working" /></a></p>
<p>A quick test of a Rails application &#8230;</p>
<p>EUWW!! WEBRICK!!</p>
<p><strong>22:01</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> mongrel</pre></div></div>

<p>Whew! Better! :)</p>
<p><a href="http://www.flickr.com/photos/sermoa/3620727368/" title="Test rails app by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3400/3620727368_9a9afdb1fa.jpg" width="500" height="289" alt="Test rails app" /></a></p>
<p>Lovely ugly Rails scaffolding! Perhaps this is a good time to try out Hobo. That&#039;ll be <a href="http://aimee.mychores.co.uk/2009/06/12/post/588/a-quick-look-at-hobo">my next blog post</a>! :)</p>
	<p></p>
	<p>
	Posted in <a href="http://aimee.mychores.co.uk/category/geeky" title="View all posts in geeky" rel="category tag">geeky</a>,  <a href="http://aimee.mychores.co.uk/category/linux" title="View all posts in linux" rel="category tag">linux</a>,  <a href="http://aimee.mychores.co.uk/category/ruby-on-rails" title="View all posts in ruby on rails" rel="category tag">ruby on rails</a>,  <a href="http://aimee.mychores.co.uk/category/ubuntu" title="View all posts in ubuntu" rel="category tag">ubuntu</a> | <a href="http://aimee.mychores.co.uk/2009/06/12/post/579/rails-on-ubuntu-in-14-minutestrackback/">Trackback</a> | <a href="http://aimee.mychores.co.uk/2009/06/12/post/579/rails-on-ubuntu-in-14-minutes#comments">3 comments</a> | <a href="http://aimee.mychores.co.uk/2009/06/12/post/579/rails-on-ubuntu-in-14-minutes#respond">Comment here</a>
	</p>

<p>Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/09/14/post/331/installing-ruby-on-rails-on-debian-lenny' rel='bookmark' title='Permanent Link: Installing Ruby on Rails on Debian Lenny'>Installing Ruby on Rails on Debian Lenny</a></li><li><a href='http://aimee.mychores.co.uk/2008/11/28/post/371/rails-on-a-netbook' rel='bookmark' title='Permanent Link: Rails on a netbook?'>Rails on a netbook?</a></li><li><a href='http://aimee.mychores.co.uk/2008/03/24/post/230/rails-grrr' rel='bookmark' title='Permanent Link: Rails grrr'>Rails grrr</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://aimee.mychores.co.uk/2009/06/12/post/579/rails-on-ubuntu-in-14-minutes/feed</wfw:commentRss>
		</item>
		<item>
		<title>Feeling excited about something!</title>
		<link>http://aimee.mychores.co.uk/2009/06/01/post/576/feeling-excited-about-something</link>
		<comments>http://aimee.mychores.co.uk/2009/06/01/post/576/feeling-excited-about-something#comments</comments>
		<pubDate>Mon, 01 Jun 2009 21:42:27 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
		
		<category><![CDATA[geohashing]]></category>

		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=576</guid>
		<description><![CDATA[I wrote the following on Saturday 30th May and somehow failed to publish it &#8230;
It&#039;s a beautiful day. I feel the need to get out, do something different. I&#039;ve got that feeling like &#034;Something&#039;s coming&#034; from West Side Story.
This morning i watched the Google Wave presentation. I thought it was pretty good but not that [...]


Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2007/12/06/post/128/128' rel='bookmark' title='Permanent Link: Feeling much better'>Feeling much better</a></li><li><a href='http://aimee.mychores.co.uk/2008/04/11/post/248/this-is-nice' rel='bookmark' title='Permanent Link: This is nice'>This is nice</a></li><li><a href='http://aimee.mychores.co.uk/2008/04/22/post/259/string-theory-summarised' rel='bookmark' title='Permanent Link: String theory'>String theory</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><em>I wrote the following on Saturday 30th May and somehow failed to publish it &#8230;</em></p>
<p>It&#039;s a beautiful day. I feel the need to get out, do something different. I&#039;ve got that feeling like &#034;Something&#039;s coming&#034; from West Side Story.</p>
<p>This morning i watched the <a href="http://www.youtube.com/watch?v=v_UyVmITiYQ">Google Wave presentation</a>. I thought it was pretty good but not that ground-breaking. It&#039;s just a mashup of all sorts of different ideas: email, instant messaging, wiki, document editing. The live collaboration is cool but really just shows the power of <a href="http://en.wikipedia.org/wiki/Jabber">XMPP</a> (Extensible Messaging and Presence Protocol).</p>
<p>It triggered off a feeling in my head that i need to do something awesome. I&#039;ve had this feeling twice before in my life. First time i learnt PHP and i came up with my own CMS. Second time i learnt Rails and wrote MyChores. I&#039;ve got that same feeling that i had both of those times, like there&#039;s an idea in my head. Something cool that i can&#039;t quite figure out what it is, but there is something creative bubbling in my head. I need to learn something, and i need to channel this potential energy into something wonderful.</p>
<p>I think it might have to do with Google Web Toolkit and mobile technology. I&#039;ll look into it and see what i can learn from it.</p>
<p>However, i feel that today is not the day for sitting at a computer. I&#039;ve had an insanely busy week at work, and i feel i need to get out and enjoy the sunshine. It&#039;s a glorious day. I plan to take a trip down to Portsmouth, get some fresh air, look at the sea, maybe do some shopping, do a lot of thinking. I&#039;ll take the boat over to Gosport and be at <a href="http://irc.peeron.com/xkcd/map/map.html?date=2009-05-30&#038;lat=50&#038;long=-2&#038;zoom=7&#038;abs=1">today&#039;s geohash location</a> for 4pm. I don&#039;t know whether anyone else will turn up, but i&#039;ll take a camera and maybe knock on the door of the house where the geohash happened to fall today!</p>
	<p></p>
	<p>
	Posted in <a href="http://aimee.mychores.co.uk/category/geohashing" title="View all posts in geohashing" rel="category tag">geohashing</a>,  <a href="http://aimee.mychores.co.uk/category/xkcd" title="View all posts in xkcd" rel="category tag">xkcd</a> | <a href="http://aimee.mychores.co.uk/2009/06/01/post/576/feeling-excited-about-somethingtrackback/">Trackback</a> | <a href="http://aimee.mychores.co.uk/2009/06/01/post/576/feeling-excited-about-something#comments">2 comments</a> | <a href="http://aimee.mychores.co.uk/2009/06/01/post/576/feeling-excited-about-something#respond">Comment here</a>
	</p>

<p>Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2007/12/06/post/128/128' rel='bookmark' title='Permanent Link: Feeling much better'>Feeling much better</a></li><li><a href='http://aimee.mychores.co.uk/2008/04/11/post/248/this-is-nice' rel='bookmark' title='Permanent Link: This is nice'>This is nice</a></li><li><a href='http://aimee.mychores.co.uk/2008/04/22/post/259/string-theory-summarised' rel='bookmark' title='Permanent Link: String theory'>String theory</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://aimee.mychores.co.uk/2009/06/01/post/576/feeling-excited-about-something/feed</wfw:commentRss>
		</item>
		<item>
		<title>Distressing times for the Rails community</title>
		<link>http://aimee.mychores.co.uk/2009/04/30/post/568/distressing-times-for-the-rails-community</link>
		<comments>http://aimee.mychores.co.uk/2009/04/30/post/568/distressing-times-for-the-rails-community#comments</comments>
		<pubDate>Thu, 30 Apr 2009 00:48:43 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
		
		<category><![CDATA[rant]]></category>

		<category><![CDATA[ruby on rails]]></category>

		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=568</guid>
		<description><![CDATA[Things like this sadden me: Mike Gunderloy resigns as a Rails activist, no longer wishing to be a public spokesperson for Rails. This is a great loss for the community.
Things like this disappoint me: the attitudes of a few people cause a tainting on the entire community. Even if David Naughton has misunderstood the issue, [...]


Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/11/19/post/366/the-joy-of-github' rel='bookmark' title='Permanent Link: The joy of GitHub'>The joy of GitHub</a></li><li><a href='http://aimee.mychores.co.uk/2007/08/08/post/14/the-line-has-been-drawn' rel='bookmark' title='Permanent Link: The line has been drawn.'>The line has been drawn.</a></li><li><a href='http://aimee.mychores.co.uk/2008/06/09/post/287/yayness' rel='bookmark' title='Permanent Link: My passion'>My passion</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Things like this sadden me: <a href="http://afreshcup.com/2009/04/28/a-painful-decision/">Mike Gunderloy resigns as a Rails activist</a>, no longer wishing to be a public spokesperson for Rails. This is a great loss for the community.</p>
<p>Things like this disappoint me: <a href="http://twitter.com/nihiliad/statuses/1651622565">the attitudes of a few people cause a tainting on the entire community</a>. Even if David Naughton has misunderstood the issue, it is clear that the whole debate has had a negative effect on the Rails community.</p>
<p>Unexpected pornography at a professional conference surprises me, shocks me a little. I wonder whether Matt Aimonetti, at any point during the preparation of that presentation, thought &#034;This is likely to offend some people&#034;, and if so, whether Matt decided not to care.</p>
<p>The refusal of some Rails representatives to even acknowledge that there is a problem angers me. Yes it was edgy. Yes it was creative. It can be those things and still be offensive. &#034;Creative&#034; is not a synonym for &#034;acceptable&#034;. Offending people is a big deal. The unpology &#034;I&#039;m sorry that you happened to be offended&#034; is a world away from apologising for having been the cause of offence.</p>
<p>It is not a person&#039;s fault for being offended. Without wishing to be a Bible-basher, there is a lot to be said for this little nugget of advice:</p>
<blockquote><p>&#034;If it is possible, as far as it depends on you, live at peace with everyone.&#034;</p></blockquote>
<p>You can&#039;t please everybody all the time, but there are basic precautions that you can take, and when you have made a mistake, you can take responsibility for it and apologise for it.</p>
<p>I think that is the end of my rant, and i hope i will have nothing more to say about it.</p>
<p><center>* * *</center></p>
<p>I would like to say publicly, again, that i appreciate my job so very much. I am extremely lucky to work in a family-friendly, vibrant, fun, laid-back yet totally professional environment, doing a job that i enjoy with my whole heart. I don&#039;t expect expect to be discriminated against, nor do i expect any special treatment. I receive precisely the appropriate amount of respect and admiration that i deserve based on my skill as a programmer. I am extremely grateful for it.</p>
<p>Here&#039;s a picture of me loving my job today, along with some of my colleagues, sat on the picnic bench in the sunshine: <a href="http://yfrog.com/4o8a2j">yfrog.com/4o8a2j</a> :)</p>
<p><center>* * *</center></p>
<p>Sort of related to the rant, i have been wondering tonight where my opinions come from. Different people have different opinions, and i can read and intellectually understand varying stances, so what is it that sways me so strongly in one particular direction? I have an opinion on almost any given topic, but i don&#039;t always know what it is that makes me feel that way.</p>
<p>I find the various <a href="http://en.wikipedia.org/wiki/Trolley_problem">out-of-control tram hurtling down a track</a> thought experiments quite interesting in terms of moral dilemmas to which people often have a strong opinion, yet cannot quite explain why. Ethics and morals are curious subjects.</p>
	<p></p>
	<p>
	Posted in <a href="http://aimee.mychores.co.uk/category/rant" title="View all posts in rant" rel="category tag">rant</a>,  <a href="http://aimee.mychores.co.uk/category/ruby-on-rails" title="View all posts in ruby on rails" rel="category tag">ruby on rails</a>,  <a href="http://aimee.mychores.co.uk/category/work" title="View all posts in work" rel="category tag">work</a> | <a href="http://aimee.mychores.co.uk/2009/04/30/post/568/distressing-times-for-the-rails-communitytrackback/">Trackback</a> | <a href="http://aimee.mychores.co.uk/2009/04/30/post/568/distressing-times-for-the-rails-community#comments">6 comments</a> | <a href="http://aimee.mychores.co.uk/2009/04/30/post/568/distressing-times-for-the-rails-community#respond">Comment here</a>
	</p>

<p>Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/11/19/post/366/the-joy-of-github' rel='bookmark' title='Permanent Link: The joy of GitHub'>The joy of GitHub</a></li><li><a href='http://aimee.mychores.co.uk/2007/08/08/post/14/the-line-has-been-drawn' rel='bookmark' title='Permanent Link: The line has been drawn.'>The line has been drawn.</a></li><li><a href='http://aimee.mychores.co.uk/2008/06/09/post/287/yayness' rel='bookmark' title='Permanent Link: My passion'>My passion</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://aimee.mychores.co.uk/2009/04/30/post/568/distressing-times-for-the-rails-community/feed</wfw:commentRss>
		</item>
		<item>
		<title>MyChores logo contest</title>
		<link>http://aimee.mychores.co.uk/2009/04/14/post/566/mychores-logo-contest</link>
		<comments>http://aimee.mychores.co.uk/2009/04/14/post/566/mychores-logo-contest#comments</comments>
		<pubDate>Tue, 14 Apr 2009 20:51:56 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
		
		<category><![CDATA[mychores]]></category>

		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=566</guid>
		<description><![CDATA[I have just launched a contest for a new logo for MyChores.
If you&#039;re a creative type (unlike me - i do code, not graphics!) then please have a go. The logos submitted will be judged by MyChores members and the favourite one will be used on the site. It doesn&#039;t matter whether you use MyChores [...]


Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/07/12/post/294/mychores-news' rel='bookmark' title='Permanent Link: MyChores news'>MyChores news</a></li><li><a href='http://aimee.mychores.co.uk/2007/11/03/post/93/mychores' rel='bookmark' title='Permanent Link: MyChores'>MyChores</a></li><li><a href='http://aimee.mychores.co.uk/2007/08/08/post/14/the-line-has-been-drawn' rel='bookmark' title='Permanent Link: The line has been drawn.'>The line has been drawn.</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I have just launched a <a href="http://journal.mychores.co.uk/logo-contest">contest for a new logo for MyChores</a>.</p>
<p>If you&#039;re a creative type (unlike me - i do code, not graphics!) then please have a go. The logos submitted will be judged by MyChores members and the favourite one will be used on the site. It doesn&#039;t matter whether you use MyChores or not.</p>
<p>Please help spread the word so that lots of people get to hear about it!</p>
	<p></p>
	<p>
	Posted in <a href="http://aimee.mychores.co.uk/category/mychores" title="View all posts in mychores" rel="category tag">mychores</a> | <a href="http://aimee.mychores.co.uk/2009/04/14/post/566/mychores-logo-contesttrackback/">Trackback</a> | <a href="http://aimee.mychores.co.uk/2009/04/14/post/566/mychores-logo-contest#comments">14 comments</a> | <a href="http://aimee.mychores.co.uk/2009/04/14/post/566/mychores-logo-contest#respond">Comment here</a>
	</p>

<p>Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/07/12/post/294/mychores-news' rel='bookmark' title='Permanent Link: MyChores news'>MyChores news</a></li><li><a href='http://aimee.mychores.co.uk/2007/11/03/post/93/mychores' rel='bookmark' title='Permanent Link: MyChores'>MyChores</a></li><li><a href='http://aimee.mychores.co.uk/2007/08/08/post/14/the-line-has-been-drawn' rel='bookmark' title='Permanent Link: The line has been drawn.'>The line has been drawn.</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://aimee.mychores.co.uk/2009/04/14/post/566/mychores-logo-contest/feed</wfw:commentRss>
		</item>
		<item>
		<title>CouchDB and data storage</title>
		<link>http://aimee.mychores.co.uk/2009/04/10/post/551/couchdb-and-data-storage</link>
		<comments>http://aimee.mychores.co.uk/2009/04/10/post/551/couchdb-and-data-storage#comments</comments>
		<pubDate>Fri, 10 Apr 2009 13:12:15 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
		
		<category><![CDATA[books]]></category>

		<category><![CDATA[couchdb]]></category>

		<category><![CDATA[geeky]]></category>

		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=551</guid>
		<description><![CDATA[Alexander Lang has written a great article about why CouchDB is not compatible with ActiveRecord, and why you should not try to coerce CouchDB into mimicking a relational database. It really is a very different thing altogether: The case of ActiveRecord vs. CouchDB
In my experience of CouchDB i first tried out ActiveCouch because of my [...]


Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/09/07/post/320/couchdb-on-rails-part-1-of' rel='bookmark' title='Permanent Link: CouchDB on Rails (part 1 of ?)'>CouchDB on Rails (part 1 of ?)</a></li><li><a href='http://aimee.mychores.co.uk/2008/09/08/post/323/couchdb-on-rails-part-3-of' rel='bookmark' title='Permanent Link: CouchDB on Rails (part 3 of ?)'>CouchDB on Rails (part 3 of ?)</a></li><li><a href='http://aimee.mychores.co.uk/2008/09/12/post/328/couchdb-on-rails-part-6-of' rel='bookmark' title='Permanent Link: CouchDB on Rails (part 6 of ?)'>CouchDB on Rails (part 6 of ?)</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Alexander Lang has written a great article about why CouchDB is not compatible with ActiveRecord, and why you should not try to coerce CouchDB into mimicking a relational database. It really is a very different thing altogether: <a href="http://upstream-berlin.com/2009/03/31/the-case-of-activerecord-vs-couchdb/">The case of ActiveRecord vs. CouchDB</a></p>
<p>In my experience of CouchDB i first <a href="http://aimee.mychores.co.uk/2008/09/09/post/325">tried out ActiveCouch</a> because of my familiarity with ActiveRecord. I soon came across problems because it was trying to make CouchDB something that it is not. As i exclaimed at the time, <em>&#034;LOL. ActiveRecord this is not!&#034;</em></p>
<p>I had far more <a href="http://aimee.mychores.co.uk/2008/12/10/post/330">success with couchrest</a> which is a much closer CouchDB wrapper, enabling CouchDB to be used as it&#039;s intended: as a RESTful interface with map/reduce views.</p>
<p><img src="http://aimee.mychores.co.uk/wp-content/uploads/2009/04/31ywgz51v-l_sl500_aa180_-233x300.jpg" alt="Domain-Driven Design" style="float:right; margin: 0 0 1em 1em;" /></p>
<p>Recently i have been reading <a href="http://www.amazon.co.uk/Domain-Driven-Design-Tackling-Complexity-Software/dp/0321125215">Domain-Driven Design</a> by Eric Evans. Through reading it my understanding of Rails - and web programming - has completely turned around. My thinking used to be entirely database-centric. I saw Rails as little more than an easy access into the database. For ages i didn&#039;t even realise that you could have models that <em>weren&#039;t</em> connected to a database table!</p>
<p>Now my thinking has changed and i consider the primary focus to be the domain model. I think about the classes and the design patterns that apply to them. I consider how they fit together, how they communicate with each other, and the boundaries between the core domain and subdomains. In my mind, the database has gone from being the most important thing to being just a method of persistence for the data in the domain model.</p>
<p>When you think of things this way round you are less likely to get hung up on the differences between ActiveRecord and CouchDB. You work out your domain, design the classes <em>and then</em> think about the most appropriate database platform to support your model.<br style="clear:right;" /></p>
<p><strong>Update:</strong> I&#039;ve just come across a useful article that provides three methods to achieve a has_many relational structure in CouchDB. <a href="http://www.cmlenz.net/archives/2007/10/couchdb-joins">CouchDB &#034;Joins&#034;</a> by Christopher Lenz.</p>
	<p></p>
	<p>
	Posted in <a href="http://aimee.mychores.co.uk/category/books" title="View all posts in books" rel="category tag">books</a>,  <a href="http://aimee.mychores.co.uk/category/couchdb" title="View all posts in couchdb" rel="category tag">couchdb</a>,  <a href="http://aimee.mychores.co.uk/category/geeky" title="View all posts in geeky" rel="category tag">geeky</a>,  <a href="http://aimee.mychores.co.uk/category/ruby-on-rails" title="View all posts in ruby on rails" rel="category tag">ruby on rails</a> | <a href="http://aimee.mychores.co.uk/2009/04/10/post/551/couchdb-and-data-storagetrackback/">Trackback</a> | <a href="http://aimee.mychores.co.uk/2009/04/10/post/551/couchdb-and-data-storage#comments">6 comments</a> | <a href="http://aimee.mychores.co.uk/2009/04/10/post/551/couchdb-and-data-storage#respond">Comment here</a>
	</p>

<p>Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/09/07/post/320/couchdb-on-rails-part-1-of' rel='bookmark' title='Permanent Link: CouchDB on Rails (part 1 of ?)'>CouchDB on Rails (part 1 of ?)</a></li><li><a href='http://aimee.mychores.co.uk/2008/09/08/post/323/couchdb-on-rails-part-3-of' rel='bookmark' title='Permanent Link: CouchDB on Rails (part 3 of ?)'>CouchDB on Rails (part 3 of ?)</a></li><li><a href='http://aimee.mychores.co.uk/2008/09/12/post/328/couchdb-on-rails-part-6-of' rel='bookmark' title='Permanent Link: CouchDB on Rails (part 6 of ?)'>CouchDB on Rails (part 6 of ?)</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://aimee.mychores.co.uk/2009/04/10/post/551/couchdb-and-data-storage/feed</wfw:commentRss>
		</item>
		<item>
		<title>Right Now Search</title>
		<link>http://aimee.mychores.co.uk/2009/04/05/post/549/right-now-search</link>
		<comments>http://aimee.mychores.co.uk/2009/04/05/post/549/right-now-search#comments</comments>
		<pubDate>Sun, 05 Apr 2009 23:54:29 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
		
		<category><![CDATA[geeky]]></category>

		<category><![CDATA[interesting]]></category>

		<category><![CDATA[twitter]]></category>

		<category><![CDATA[web 2.x]]></category>

		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=549</guid>
		<description><![CDATA[With all this talk of Google wanting to buy Twitter, it got me thinking about the exciting potential for real-time searching. I&#039;ve seen some greasemonkey scripts for adding Twitter search results into Google, but i wanted something a little bit different. I wanted to search multiple places and bring them together in columns. Something a [...]


Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2007/10/06/post/76/a-slow-lazy-caturday' rel='bookmark' title='Permanent Link: A slow, lazy Caturday'>A slow, lazy Caturday</a></li><li><a href='http://aimee.mychores.co.uk/2009/02/01/post/473/twitter-youre-doing-it-right' rel='bookmark' title='Permanent Link: Twitter: you&#039;re doing it right!'>Twitter: you&#039;re doing it right!</a></li><li><a href='http://aimee.mychores.co.uk/2008/11/19/post/366/the-joy-of-github' rel='bookmark' title='Permanent Link: The joy of GitHub'>The joy of GitHub</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>With all this talk of Google wanting to buy Twitter, it got me thinking about the exciting potential for real-time searching. I&#039;ve seen some greasemonkey scripts for adding Twitter search results into Google, but i wanted something a little bit different. I wanted to search multiple places and bring them together in columns. Something a bit like this:</p>
<p><a href="http://www.flickr.com/photos/sermoa/3416424128/" title="Right Now Search by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3574/3416424128_77308d183d.jpg" width="500" height="313" alt="Right Now Search" /></a></p>
<p>So i spent the whole afternoon figuring out how to do it (and in the process, learning how to do object-oriented PHP!) and you can try it out here: <a href="http://rightnow.aimee.mychores.co.uk">rightnow.aimee.mychores.co.uk</a></p>
<p>I need help on making it more interactive. It should be fairly easy to define new search locations like plugins. I want people to be able to choose which they wish to search on. I would like AJAX updating with auto refreshing. And of course i need a lot of help with the design!</p>
<p>If you fancy having a play, fork it on Github! <a href="http://github.com/sermoa/right_now_search">github.com/sermoa/right_now_search</a> :)</p>
	<p></p>
	<p>
	Posted in <a href="http://aimee.mychores.co.uk/category/geeky" title="View all posts in geeky" rel="category tag">geeky</a>,  <a href="http://aimee.mychores.co.uk/category/interesting" title="View all posts in interesting" rel="category tag">interesting</a>,  <a href="http://aimee.mychores.co.uk/category/twitter" title="View all posts in twitter" rel="category tag">twitter</a>,  <a href="http://aimee.mychores.co.uk/category/web-2x" title="View all posts in web 2.x" rel="category tag">web 2.x</a> | <a href="http://aimee.mychores.co.uk/2009/04/05/post/549/right-now-searchtrackback/">Trackback</a> | <a href="http://aimee.mychores.co.uk/2009/04/05/post/549/right-now-search#comments">1 comment</a> | <a href="http://aimee.mychores.co.uk/2009/04/05/post/549/right-now-search#respond">Comment here</a>
	</p>

<p>Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2007/10/06/post/76/a-slow-lazy-caturday' rel='bookmark' title='Permanent Link: A slow, lazy Caturday'>A slow, lazy Caturday</a></li><li><a href='http://aimee.mychores.co.uk/2009/02/01/post/473/twitter-youre-doing-it-right' rel='bookmark' title='Permanent Link: Twitter: you&#039;re doing it right!'>Twitter: you&#039;re doing it right!</a></li><li><a href='http://aimee.mychores.co.uk/2008/11/19/post/366/the-joy-of-github' rel='bookmark' title='Permanent Link: The joy of GitHub'>The joy of GitHub</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://aimee.mychores.co.uk/2009/04/05/post/549/right-now-search/feed</wfw:commentRss>
		</item>
		<item>
		<title>What&#039;s going on in aimee&#039;s life?</title>
		<link>http://aimee.mychores.co.uk/2009/03/16/post/543/whats-going-on-in-aimees-life</link>
		<comments>http://aimee.mychores.co.uk/2009/03/16/post/543/whats-going-on-in-aimees-life#comments</comments>
		<pubDate>Mon, 16 Mar 2009 22:15:28 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
		
		<category><![CDATA[amusing]]></category>

		<category><![CDATA[colemak]]></category>

		<category><![CDATA[dvorak]]></category>

		<category><![CDATA[friends]]></category>

		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=543</guid>
		<description><![CDATA[I&#039;m back! I have been away from the Internet for a week - a self-enforced leave of absence to try to avoid getting RSI. Happily to say, it seems to have worked - just typing as much as i need to at work, and having a rest in the evenings. I love programming and i [...]


Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/03/31/post/239/esperanto' rel='bookmark' title='Permanent Link: Esperanto'>Esperanto</a></li><li><a href='http://aimee.mychores.co.uk/2008/01/27/post/177/having-fun-in-second-life' rel='bookmark' title='Permanent Link: Having fun in Second Life'>Having fun in Second Life</a></li><li><a href='http://aimee.mychores.co.uk/2009/02/05/post/484/on-learning-vim' rel='bookmark' title='Permanent Link: On learning Vim'>On learning Vim</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I&#039;m back! I have been away from the Internet for a week - a self-enforced leave of absence to try to avoid getting RSI. Happily to say, it seems to have worked - just typing as much as i need to at work, and having a rest in the evenings. I love programming and i love my job, so i really don&#039;t want to injure myself.</p>
<p>I have been trying out another keyboard layout: Colemak. It has similar aims to Dvorak but, unlike Dvorak, they actually used a computer to help generate the layout! Also, unlike Dvorak, Colemak layout is fairly similar to Qwerty, possibly making it easier for Qwerty users to switch. It keeps Z, X, C and V in the same place, useful for the obvious keyboard shortcuts.</p>
<p><a href="http://colemak.com/">colemak.com</a> - the website for the layout.<br />
<a href="http://www.flickr.com/photos/sermoa/3360420977/">Colemak on a TypeMatrix EZ-Reach keyboard</a> - made for my own reference, but i imagine others may come looking for it too. If you want it as a PDF, let me know.</p>
<p>Work has been fun lately - we&#039;ve been trying out pair programming and i&#039;m really enjoying it. I took a while to believe that it really is beneficial for two people to program together, but i&#039;m coming round to the idea now. Especially when trouble-shooting - there is almost no break in the flow because the combination of two brains focussed on a problem means that we come up with the solution pretty quickly. Plus it&#039;s also really good fun! :D I think the key is to have a separate pairing station set up with two keyboards and two mice plugged in. That gives a feeling of equality. With a little perseverance it soon starts to feel very natural to program together.</p>
<p>Social life has been fun too. The Spring weather is making me very happy. Church has been great, really enjoying it. In my week-of-no-internet i became totally hooked on <a href="http://www.imdb.com/title/tt0478942/">Life On Mars</a> - can&#039;t wait to see the second series!</p>
<p>I leave you with something that i saw in a bookshop in Southampton yesterday - made me LOL ;-)</p>
<p><a href="http://www.flickr.com/photos/sermoa/3359157925/" title="LOL by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3623/3359157925_8468a7faef.jpg" width="500" height="375" alt="LOL" /></a></p>
	<p></p>
	<p>
	Posted in <a href="http://aimee.mychores.co.uk/category/amusing" title="View all posts in amusing" rel="category tag">amusing</a>,  <a href="http://aimee.mychores.co.uk/category/colemak" title="View all posts in colemak" rel="category tag">colemak</a>,  <a href="http://aimee.mychores.co.uk/category/dvorak" title="View all posts in dvorak" rel="category tag">dvorak</a>,  <a href="http://aimee.mychores.co.uk/category/friends" title="View all posts in friends" rel="category tag">friends</a>,  <a href="http://aimee.mychores.co.uk/category/work" title="View all posts in work" rel="category tag">work</a> | <a href="http://aimee.mychores.co.uk/2009/03/16/post/543/whats-going-on-in-aimees-lifetrackback/">Trackback</a> | <a href="http://aimee.mychores.co.uk/2009/03/16/post/543/whats-going-on-in-aimees-life#comments">9 comments</a> | <a href="http://aimee.mychores.co.uk/2009/03/16/post/543/whats-going-on-in-aimees-life#respond">Comment here</a>
	</p>

<p>Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/03/31/post/239/esperanto' rel='bookmark' title='Permanent Link: Esperanto'>Esperanto</a></li><li><a href='http://aimee.mychores.co.uk/2008/01/27/post/177/having-fun-in-second-life' rel='bookmark' title='Permanent Link: Having fun in Second Life'>Having fun in Second Life</a></li><li><a href='http://aimee.mychores.co.uk/2009/02/05/post/484/on-learning-vim' rel='bookmark' title='Permanent Link: On learning Vim'>On learning Vim</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://aimee.mychores.co.uk/2009/03/16/post/543/whats-going-on-in-aimees-life/feed</wfw:commentRss>
		</item>
		<item>
		<title>Album art meme</title>
		<link>http://aimee.mychores.co.uk/2009/02/26/post/536/album-art-meme</link>
		<comments>http://aimee.mychores.co.uk/2009/02/26/post/536/album-art-meme#comments</comments>
		<pubDate>Thu, 26 Feb 2009 19:48:28 +0000</pubDate>
		<dc:creator>Aimee</dc:creator>
		
		<category><![CDATA[art]]></category>

		<category><![CDATA[interesting]]></category>

		<category><![CDATA[meme]]></category>

		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=536</guid>
		<description><![CDATA[For once, a meme that&#039;s actually worth doing! My thanks go to Kapitano for this one. It takes a little while to do, but it&#039;s fun!

Go to a random page on Wikipedia. The heading is your band name.
Select the last in a list of random quotations, or the last few words of it. That&#039;s your [...]


Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/04/20/post/255/shock-a-meme' rel='bookmark' title='Permanent Link: Shock, a meme!'>Shock, a meme!</a></li><li><a href='http://aimee.mychores.co.uk/2008/02/14/post/199/%e2%99%a5%e2%99%a5-kitty-love-%e2%99%a5%e2%99%a5' rel='bookmark' title='Permanent Link: ♥♥ Kitty love! ♥♥'>♥♥ Kitty love! ♥♥</a></li><li><a href='http://aimee.mychores.co.uk/2008/05/10/post/276/nemew-winchester' rel='bookmark' title='Permanent Link: Nemew, Winchester'>Nemew, Winchester</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>For once, a meme that&#039;s actually worth doing! My thanks go to <a href="http://kapitano.blogspot.com/2009/02/mimetic-art.html">Kapitano</a> for this one. It takes a little while to do, but it&#039;s fun!</p>
<ol>
<li>Go to <a href="http://en.wikipedia.org/wiki/Special:Random">a random page on Wikipedia</a>. The heading is your band name.</li>
<li>Select the last in <a href="http://www.quotationspage.com/random.php3">a list of random quotations</a>, or the last few words of it. That&#039;s your album title.</li>
<li>Take the third of <a href="http://www.flickr.com/explore/interesting/7days">a random selection of Flickr images</a>. That&#039;s your album art.</li>
<li>Now get creative.</li>
</ol>
<p><a href="http://www.flickr.com/photos/sermoa/3312357046/" title="Trip Distribution by sermoa, on Flickr"><img src="http://farm4.static.flickr.com/3522/3312357046_3af42acc91.jpg" width="500" height="500" alt="Trip Distribution" /></a></p>
<p>My random Wikipedia page is <a href="http://en.wikipedia.org/wiki/Trip_distribution">Trip distribution</a>, part of a mathematical transportation forecasting model.</p>
<p>My <a href="http://www.quotationspage.com/quote/27001.html">random quote</a>:</p>
<blockquote><p>The deepest definition of youth is life as yet untouched by tragedy.</p></blockquote>
<p><small>- Alfred North Whitehead<br />
English mathematician &#038; philosopher (1861 - 1947)</small></p>
<p>For my Flickr image i couldn&#039;t take the third one because it was &#039;All rights reserved&#039; so i kept going until i found one with a Creative Commons share and derive image. Which turned out to be this lovely picture: <a href="http://www.flickr.com/photos/g-ratphotos/3295294813/">Hello flickr, (explored)</a> by <a href="http://www.flickr.com/photos/g-ratphotos/">OUCHcharley</a>.</p>
	<p></p>
	<p>
	Posted in <a href="http://aimee.mychores.co.uk/category/art" title="View all posts in art" rel="category tag">art</a>,  <a href="http://aimee.mychores.co.uk/category/interesting" title="View all posts in interesting" rel="category tag">interesting</a>,  <a href="http://aimee.mychores.co.uk/category/meme" title="View all posts in meme" rel="category tag">meme</a>,  <a href="http://aimee.mychores.co.uk/category/photos" title="View all posts in photos" rel="category tag">photos</a> | <a href="http://aimee.mychores.co.uk/2009/02/26/post/536/album-art-memetrackback/">Trackback</a> | <a href="http://aimee.mychores.co.uk/2009/02/26/post/536/album-art-meme#comments">12 comments</a> | <a href="http://aimee.mychores.co.uk/2009/02/26/post/536/album-art-meme#respond">Comment here</a>
	</p>

<p>Related posts:<ol><li><a href='http://aimee.mychores.co.uk/2008/04/20/post/255/shock-a-meme' rel='bookmark' title='Permanent Link: Shock, a meme!'>Shock, a meme!</a></li><li><a href='http://aimee.mychores.co.uk/2008/02/14/post/199/%e2%99%a5%e2%99%a5-kitty-love-%e2%99%a5%e2%99%a5' rel='bookmark' title='Permanent Link: ♥♥ Kitty love! ♥♥'>♥♥ Kitty love! ♥♥</a></li><li><a href='http://aimee.mychores.co.uk/2008/05/10/post/276/nemew-winchester' rel='bookmark' title='Permanent Link: Nemew, Winchester'>Nemew, Winchester</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://aimee.mychores.co.uk/2009/02/26/post/536/album-art-meme/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 3.319 seconds -->
<!-- Cached page generated by WP-Super-Cache on 2009-07-04 22:25:55 -->
<!-- Compression = gzip -->