<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Start the Insanity...</title>
	<atom:link href="http://melriffe.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://melriffe.wordpress.com</link>
	<description>Sometimes I'll make sense, but that won't happen too often thankfully...</description>
	<pubDate>Fri, 20 Jun 2008 07:04:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>Rails and PostGIS databases&#8230;</title>
		<link>http://melriffe.wordpress.com/2008/06/18/rails-and-postgis-databases/</link>
		<comments>http://melriffe.wordpress.com/2008/06/18/rails-and-postgis-databases/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 07:50:22 +0000</pubDate>
		<dc:creator>melriffe</dc:creator>
		
		<category><![CDATA[agile]]></category>

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

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

		<guid isPermaLink="false">http://melriffe.wordpress.com/?p=43</guid>
		<description><![CDATA[
I&#8217;m currently working on a project that has recently migrated their database to a PostGIS database, it&#8217;s a Postgres database with special Spatial/Geometrical extensions.  Seems pretty straightforward until you realize the geometrical data is stored in this giant-ass column requiring those special functions to decode its contents.  Those functions work great when executing [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
I&#8217;m currently working on a project that has recently migrated their database to a PostGIS database, it&#8217;s a Postgres database with special Spatial/Geometrical extensions.  Seems pretty straightforward until you realize the geometrical data is stored in this giant-ass column requiring those special functions to decode its contents.  Those functions work great when executing straight SQL in a database client, but this is Rails.</p>
<p>
So I started looking for anything that could help bridge the gap.  I found this plugin: <a href="http://agilewebdevelopment.com/plugins/spatial_adapter">http://agilewebdevelopment.com/plugins/spatial_adapter</a>.  The main website is no longer available and, so, I&#8217;m assuming it&#8217;s no longer maintained.  Oh Joy!  I moved forward with the plugin, regardless.  While I was searching for the plugin I also had to learn how to build databases slated for PostGIS functionality.</p>
<p>
In addition to the standard <code>createdb -U [user] [database name]</code> there are three additional steps:</p>
<ol>
<li><code>createlang -U [user] plpgsql [database name]</code></li>
<li><code>psql -d [database name] -f lwpostgis.sql</code></li>
<li><code>psql -d [database name] -f spatial_ref_sys.sql</code></li>
</ol>
<p>That&#8217;s what I did to create a new development database so a database dump produced for me would correctly load.  I also used the development database to research a few of the PostGIS functions in the database client.</p>
<p>
All was going smoothly. I created a Model and fired up script/console.  So far so good.  I then decided to start creating some tests.  That&#8217;s when the fun began.  Not with the tests themselves but with the Spatial Adapter and, ultimately to the Database rake tasks and the PostgreSQL Adapter.</p>
<h3>Spatial Adapter Change Number 1</h3>
<p>
I uncovered a tiny bug when I first tried to run <code>rake test</code>: the schema.rb that was generated was missing column type information for my open id tables.  Specifically for the binary columns.  I tracked this down to the Spatial Adapter not using the right Column type in order to generate the correct schema.rb definition.  The PostgreSQLColumn knows how to convert a column of sql type bytea to a column of type binary for the schema definition.  The adapter was using a plain Column type which didn&#8217;t know how to do that conversion.</p>
<h3>Database rake task  and PostgreSQLAdapter changes</h3>
<p>
But after solving that problem I was faced with another one: how to create the test database such that it was PostGIS-capable?  Because this app has frozen Rails to 2.0.2 I was able to find the databases.rake file.  I figured I had to intercept, or at the very least override portions of the chain of tasks used to re-create the test database.  What I found was kind of strange to me.  Inside the databases.rake file was a mixture of shell commands and delegation to ActiveRecord::Base.connection.  My thinking is: Let the adapters do all the work since they should know what they need and how to perform the tasks.  MySQL is generally handled this way.  Postgres is not.  I needed it to be so that I could add the necessary commands at the right time in the sequence.</p>
<p>
So I changed databases.rake such that when the adapter is &#8216;postgresql&#8217; delegate to ActiveRecord::Base.connection for create_database, drop_database, and recreate_database.  create_database and drop_database were my first proofs-of-concept.  I basically took the shell commands out of databases.rake and put them in postgresql_adapter.rb.  I added the recreate_database since the commands inside databases.rake for db:test:purge were essentially the same as drop_database and create_database; I just moved the shell commands into the Adapter. I now have a databases.rake file that delegates to the Adapter for MySQL and PostgreSQL.</p>
<h3>Spatial Adapter Change Number 2</h3>
<p>
Now that I had the commands to recreate the test database in the PostgreSQLAdapter and I knew the SpatialAdapter sat on top of that, I just had to override the recreate_database method and add the three additional commands.  Easy-Peasy.  Oh, I did put the additional sql scripts (steps 3 and 4 from above) in my db directory so that the shell command to execute them would work.  Now I can do <code>rake test</code> and my test database will be created, PostGIS-ready, and my tests will get executed.</p>
<h3>Next Steps</h3>
<p>
Application-wise: start writing some spatial/geometrical tests.</p>
<p>
Changes-wise: produce some diff files(patches) for anyone who wants them.  And here&#8217;s where I&#8217;m asking for suggestions.  What would you do with the changes?</p>
<p>
It was a lot of fun and hard work to go through the code and make the necessary changes.  I&#8217;m glad I did it.  I&#8217;m doubly-glad Ruby makes it so easy to locate where you need to make the changes. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p><h3>Update</h3>
<p>
Looks like I won&#8217;t be submitting my Rails changes.  I looked up the files I changed in the Rails GitHub repository and the changes are already there; they&#8217;re not in 2.0.2 though.  I also looked up the author of the Spatial Adapter on RubyForge.  I joined the mailing list and asked about the status of development.  While waiting on the reply I went ahead and created a Spatial Adapter git repository by forking an existing one.  I made my changes.  You can find my Spatial Adapter git repository here: <a href="http://github.com/melriffe/spatial_adapter/tree/master">http://github.com/melriffe/spatial_adapter/tree/master</a>. If I hear back from the author I&#8217;ll let him know where he can find my changes.  Ciao</p>
<p><b>Cheers</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/melriffe.wordpress.com/43/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/melriffe.wordpress.com/43/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/melriffe.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/melriffe.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/melriffe.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/melriffe.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/melriffe.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/melriffe.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/melriffe.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/melriffe.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/melriffe.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/melriffe.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=melriffe.wordpress.com&blog=2717363&post=43&subd=melriffe&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://melriffe.wordpress.com/2008/06/18/rails-and-postgis-databases/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/melriffe-128.jpg" medium="image">
			<media:title type="html">melriffe</media:title>
		</media:content>
	</item>
		<item>
		<title>Chronic Illness can be stressful</title>
		<link>http://melriffe.wordpress.com/2008/05/31/chronic-illness-can-be-stressful/</link>
		<comments>http://melriffe.wordpress.com/2008/05/31/chronic-illness-can-be-stressful/#comments</comments>
		<pubDate>Sat, 31 May 2008 05:01:55 +0000</pubDate>
		<dc:creator>melriffe</dc:creator>
		
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://melriffe.wordpress.com/?p=42</guid>
		<description><![CDATA[
As I sit before this blank page I have no idea where we&#8217;ll go or what we&#8217;ll see but I have strong desire to pen some of the craziness I deal with on a daily basis.  Those who already know, know details I&#8217;ll not share here.  Those who don&#8217;t and care enough to [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
As I sit before this blank page I have no idea where we&#8217;ll go or what we&#8217;ll see but I have strong desire to pen some of the craziness I deal with on a daily basis.  Those who already know, know details I&#8217;ll not share here.  Those who don&#8217;t and care enough to ask will get the unvarnished truth, even if it makes you uncomfortable.  Life can be raw and messy and not always go according to plan. Just smile, dust yourself off, give Thanks for being alive and move on.  Life&#8217;s too short (a lesson I need to learn) to hold grudges, especially against  ethereal entities.</p>
<p>
My wife is my best friend, my lover, my hero.  She is everything I&#8217;m not and want to be: Smart, Kind, Generous, Beautiful, Thoughtful.  I mean I can be those things.  She /is/ those things, and more.  She truly is my better half.  I am nothing without her.  And there&#8217;s a real possibility that will be sooner rather then later.</p>
<p>
When we&#8217;re young, Death is so far away and unfathomable.  Into our twenties and early thirties many of us still feel invincible; Death is real but still not close.  Forty and beyond Death is real, close and sometimes holding our hands as we cross the street.  It&#8217;s so crazy.  We have no idea when it&#8217;s our time to go - Be happy as often as you can.  However, through a series of unfortunate events Death, I believe, is closer then ever.  And it scares me.</p>
<p>
Three years my wife had what was supposed to be routine surgery.  Well, three years ago she died.  Three years ago she came back, changed, but alive none the less.  We&#8217;re still dealing with the aftermath of that event.  We&#8217;re in the early stages of coordinating a kidney transplant.  Her health is quickly deteriorating.  I mean she has good days and she&#8217;s stubborn and will push herself beyond her limits.  But, and this frustrates her, she doesn&#8217;t have the stamina to &#8216;be normal&#8217; and &#8216;do normal&#8217; things.</p>
<p>
Where did it begin? With Corhn&#8217;s Disease in her teen years; her &#8216;official&#8217; diagnosis came in 1998.  This is a nasty disease when out of control.  We had many, many trips to the ER during the numerous episodes prior to finding the right doctor and mixture of drugs.  Because she was still having problems it was decided to move forward with the aforementioned surgery. This led to another surgery to save her life but caused severe nerve damage; she couldn&#8217;t walk for weeks after the surgery.  Her ciatic and femeral nerves were damaged.  Unbeknownst to us this led to one of her kidneys completely failing and the other one (where we are today) close to total failure and Heather needing a transplant.</p>
<p>
Heather is so good at everything she does.  When she decided she wanted to be an EMT she did it - getting the highest score on the certification test for the entire state of Virginia (which still holds).  On the rescue squad she ran with, she became the youngest squad leader, running her own ambulance.  The plan was to become a paramedic and parlay that into a nursing career.  The surgery made her alter her plans.</p>
<p>
When Heather decided to go to Nursing school, she obtained a 4.0 average.  This, from the women raising a family, working as a preschool teacher, and taking advanced classes: Calculus, Physiology &amp; Anatomy, Microbiology.  She started her 2d semester where she left off - getting the highest test scores in all of her classes.  The news and surgeries to date to learn about her kidney damage has her changing plans again.</p>
<p>
I&#8217;m not saying it&#8217;s been all doom and gloom.  We&#8217;ve had tremendous support from family and friends.  We&#8217;ve prayed, a lot. Even the families of the children she teaches has helped us through this latest bit of craziness.  I&#8217;m just saying it&#8217;s always on my mind like it&#8217;s always on her mind.  It&#8217;s distracting.  It&#8217;s stressful.  I&#8217;m usually not the one to play &#8220;What if&#8221; games - I&#8217;m more of a go with the flow kind of guy.  However, there is the real possibility that Heather and I won&#8217;t grow old together.  Who understands that stress?  I wish I didn&#8217;t.</p>
<p>
I wish I was strong like Heather. But I&#8217;m not.  I get my strength from her.  She&#8217;s my inspiration.  I pale in comparison.</p>
<p>
<b>Be Well</b></p>
<address>
a glisening cheek<br />
the dafodils are lonely<br />
my love forever<br />
</address>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/melriffe.wordpress.com/42/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/melriffe.wordpress.com/42/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/melriffe.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/melriffe.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/melriffe.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/melriffe.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/melriffe.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/melriffe.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/melriffe.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/melriffe.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/melriffe.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/melriffe.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=melriffe.wordpress.com&blog=2717363&post=42&subd=melriffe&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://melriffe.wordpress.com/2008/05/31/chronic-illness-can-be-stressful/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/melriffe-128.jpg" medium="image">
			<media:title type="html">melriffe</media:title>
		</media:content>
	</item>
		<item>
		<title>I haven&#8217;t posted in a while&#8230;</title>
		<link>http://melriffe.wordpress.com/2008/05/08/i-havent-posted-in-a-while/</link>
		<comments>http://melriffe.wordpress.com/2008/05/08/i-havent-posted-in-a-while/#comments</comments>
		<pubDate>Fri, 09 May 2008 03:17:13 +0000</pubDate>
		<dc:creator>melriffe</dc:creator>
		
		<category><![CDATA[agile]]></category>

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

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

		<guid isPermaLink="false">http://melriffe.wordpress.com/?p=41</guid>
		<description><![CDATA[
What have I been up to lately?  Plenty!

Let&#8217;s start shortly after I started working for/with Terralien; I still think it&#8217;s kind of cool that I&#8217;m part of the crew.  It was during this time that I sent up the Bat Signal.  In my opinion, I have one of the coolest networks on [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
What have I been up to lately?  Plenty!</p>
<p>
Let&#8217;s start shortly after I started working for/with Terralien; I still think it&#8217;s kind of cool that I&#8217;m part of the crew.  It was during this time that I sent up the Bat Signal.  In my opinion, I have one of the coolest networks on the planet.  All my friends rock!  I was able to get a couple more clients/projects.  The downside: I&#8217;m working all the time.  I work harder now then when I was just a POE.  But you know what?  That&#8217;s OK.</p>
<p>
So I need to get back to work&#8230;</p>
<p>
<b>Cheers</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/melriffe.wordpress.com/41/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/melriffe.wordpress.com/41/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/melriffe.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/melriffe.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/melriffe.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/melriffe.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/melriffe.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/melriffe.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/melriffe.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/melriffe.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/melriffe.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/melriffe.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=melriffe.wordpress.com&blog=2717363&post=41&subd=melriffe&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://melriffe.wordpress.com/2008/05/08/i-havent-posted-in-a-while/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/melriffe-128.jpg" medium="image">
			<media:title type="html">melriffe</media:title>
		</media:content>
	</item>
		<item>
		<title>Part of the Crew&#8230;</title>
		<link>http://melriffe.wordpress.com/2008/03/26/part-of-the-crew/</link>
		<comments>http://melriffe.wordpress.com/2008/03/26/part-of-the-crew/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 04:16:54 +0000</pubDate>
		<dc:creator>melriffe</dc:creator>
		
		<category><![CDATA[ruby]]></category>

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

		<guid isPermaLink="false">http://melriffe.wordpress.com/?p=40</guid>
		<description><![CDATA[
March has been a difficult month for me; details to follow with a later post.  However, and I believe there&#8217;s a silver lining to /every/ dark cloud, something really cool happened:  I was made a part of the Terralien crew.

At the beginning of the month, Nathaniel Talbott pinged me about doing some side-work [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
March has been a difficult month for me; details to follow with a later post.  However, and I believe there&#8217;s a silver lining to /every/ dark cloud, something really cool happened:  I was made a part of the Terralien crew.</p>
<p>
At the beginning of the month, Nathaniel Talbott pinged me about doing some side-work for his company Terralien.  I, of course, said, Yes!  After suffering for far too long, mired in Java projects, I was given the chance to get paid to write Rails code.  I was overjoyed, to say the least.</p>
<p>
Now, I&#8217;m not saying I didn&#8217;t have my share of challenges (again a later post) (hint: some of my closest friends know about the personal struggles currently going on at the Riffe household) but I was determined to do a good job.  This was one opportunity I didn&#8217;t want to squander away.  I dove right in and was relieved to find out my hard work was greatly appreciated.  Nathaniel called me and asked if I was interested in becoming a full-fledged member of the crew.  Yup that was my jaw dropping.  I was elated!</p>
<p>
What makes this so cool, for me, is the timing.  I&#8217;ve always wanted to go Independent.  Since being introduced to Rails (and Ruby) I&#8217;ve wanted to push my career in that direction.  Since leaving Smalltalk I&#8217;ve always wanted to get back, if not directly, then indirectly with a dynamically typed language - you really are more productive!  However, as my friends know, I need to provide medical benefits for my family.  That is and will be my challenge; until my wife completes Nursing school, that is. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>
I now find myself in a strange position.  Where just two weeks ago I was unemployed and scared shitless, I find myself with numerous opportunities in front of me as a member of the Terralien crew.  I still have some loose ends to tie-up; should be fun though!</p>
<p>
Thanks Nathaniel.  I guess Twitter&#8217;s useful after all, eh?</p>
<p>
<b>Cheers!</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/melriffe.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/melriffe.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/melriffe.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/melriffe.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/melriffe.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/melriffe.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/melriffe.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/melriffe.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/melriffe.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/melriffe.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/melriffe.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/melriffe.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=melriffe.wordpress.com&blog=2717363&post=40&subd=melriffe&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://melriffe.wordpress.com/2008/03/26/part-of-the-crew/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/melriffe-128.jpg" medium="image">
			<media:title type="html">melriffe</media:title>
		</media:content>
	</item>
		<item>
		<title>Looking for Ruby in Richmond?</title>
		<link>http://melriffe.wordpress.com/2008/03/12/looking-for-ruby-in-richmond/</link>
		<comments>http://melriffe.wordpress.com/2008/03/12/looking-for-ruby-in-richmond/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 04:20:18 +0000</pubDate>
		<dc:creator>melriffe</dc:creator>
		
		<category><![CDATA[git]]></category>

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

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://melriffe.wordpress.com/?p=37</guid>
		<description><![CDATA[
I have a secret to share with you: I help run one of the coolest users group in the Richmond, VA, USA area.  The name of the group is Central Virginia Ruby Enthusiasts Group (CVReg).  It&#8217;s filled with some of the nicest, most passionate, technologically savvy people.  Our focus is in Ruby and the tools and frameworks [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
I have a secret to share with you: I help run one of the coolest users group in the Richmond, VA, USA area.  The name of the group is Central Virginia Ruby Enthusiasts Group (CVReg).  It&#8217;s filled with some of the nicest, most passionate, technologically savvy people.  Our focus is in Ruby and the tools and frameworks that either sit on top of Ruby or co-exists with it.  We also dabble/demo/present on other dynamic language technologies; Smalltalk and Javascript being the most recent topics covered. You can get more information from Google (of course).  However, how about I just give you the link here?  <a href="http://cvreg.org" target="_blank">CVReg.org</a></p>
<p>
<b>Cheers!</b></p>
<p> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/melriffe.wordpress.com/37/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/melriffe.wordpress.com/37/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/melriffe.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/melriffe.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/melriffe.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/melriffe.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/melriffe.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/melriffe.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/melriffe.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/melriffe.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/melriffe.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/melriffe.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=melriffe.wordpress.com&blog=2717363&post=37&subd=melriffe&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://melriffe.wordpress.com/2008/03/12/looking-for-ruby-in-richmond/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/melriffe-128.jpg" medium="image">
			<media:title type="html">melriffe</media:title>
		</media:content>
	</item>
		<item>
		<title>Starting to look at Ruby Waves&#8230;</title>
		<link>http://melriffe.wordpress.com/2008/03/12/starting-to-look-at-ruby-waves/</link>
		<comments>http://melriffe.wordpress.com/2008/03/12/starting-to-look-at-ruby-waves/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 03:59:12 +0000</pubDate>
		<dc:creator>melriffe</dc:creator>
		
		<category><![CDATA[git]]></category>

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

		<guid isPermaLink="false">http://melriffe.wordpress.com/?p=36</guid>
		<description><![CDATA[
Hey Krusty Krew!  Just a quick note to let you that I&#8217;m staring to look at Ruby Waves. Why you may ask? Good question.  Probably mostly to satisfy my ADD.  However I love learning about new technology and this new web application framework for Ruby seems different enough from Rails to make [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
Hey Krusty Krew!  Just a quick note to let you that I&#8217;m staring to look at <a href="http://rubywaves.com">Ruby Waves</a>. Why you may ask? Good question.  Probably mostly to satisfy my ADD.  However I love learning about new technology and this new web application framework for Ruby seems different enough from Rails to make interesting.</p>
<p>
I really want to expand my Ruby knowledge and I feel I&#8217;ll get that chance with Waves.  Not to say I couldn&#8217;t have achieved this with Rails.  It&#8217;s just that Waves is just starting up; it&#8217;s good to be on the ground floor sometimes.  Waves is also my impetus for getting into Git (I&#8217;ll also start posting my experiences with it).</p>
<p>
I&#8217;m already thinking of a personal project to try with Waves.  I strongly encourage you to install it and follow the tutorial.  Expect more posts about Waves.</p>
<p>
<b>Cheers!</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/melriffe.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/melriffe.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/melriffe.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/melriffe.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/melriffe.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/melriffe.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/melriffe.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/melriffe.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/melriffe.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/melriffe.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/melriffe.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/melriffe.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=melriffe.wordpress.com&blog=2717363&post=36&subd=melriffe&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://melriffe.wordpress.com/2008/03/12/starting-to-look-at-ruby-waves/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/melriffe-128.jpg" medium="image">
			<media:title type="html">melriffe</media:title>
		</media:content>
	</item>
		<item>
		<title>Whoa! Where did the time go&#8230;</title>
		<link>http://melriffe.wordpress.com/2008/03/04/whoa-where-did-the-time-go/</link>
		<comments>http://melriffe.wordpress.com/2008/03/04/whoa-where-did-the-time-go/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 04:10:16 +0000</pubDate>
		<dc:creator>melriffe</dc:creator>
		
		<category><![CDATA[games]]></category>

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

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

		<guid isPermaLink="false">http://melriffe.wordpress.com/?p=35</guid>
		<description><![CDATA[
A lot has happened since my last post:  Gary Gygax died, (I&#8217;m linking to Wil Wheaton&#8217;s blog entry since it struck a chord with me), I&#8217;m learning Git (I know! About time, huh?), and I&#8217;ve been looking at Ruby Waves.

Back in the day I used to play D&#38;D.  In fact my first program [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
A lot has happened since my last post:  <a href="http://feeds.feedburner.com/~r/wwdn/~3/245704080/across-the-sea.html">Gary Gygax died</a>, (I&#8217;m linking to Wil Wheaton&#8217;s blog entry since it struck a chord with me), I&#8217;m learning <a href="http://git.or.cz/">Git</a> (I know! About time, huh?), and I&#8217;ve been looking at <a href="http://rubywaves.com">Ruby Waves</a>.</p>
<p>
Back in the day I used to play D&amp;D.  In fact my first program was a dice-rolling application for my Vic20.  I could roll-up some characters quickly.  Crazy fun! I played until my early 20&#8217;s; after that I only played once.  I hope Gary understood his influence.  He changed many lives. </p>
<p>
And onto Git: Thanks to a friend I now have a GitHub account.  However I also have a Gitorious account.  What can I say I signed up before I was told to get a GitHub account.  It&#8217;s all new to me right now; exciting times!  I have a long history with CVS and Subversion so I&#8217;m not new to SCM.  It feels good learning something new.</p>
<p>
However a heavy influencer in my getting some Git knowledge is Ruby Waves, a new (some would say next gen) Ruby web framework.  It appears to be mostly glue around other open source offerings but that&#8217;s cool too.  I like it now and plan to develop an application or two in it before giving my &#8216;official&#8217; review.</p>
<p>
<b>Cheers!</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/melriffe.wordpress.com/35/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/melriffe.wordpress.com/35/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/melriffe.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/melriffe.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/melriffe.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/melriffe.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/melriffe.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/melriffe.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/melriffe.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/melriffe.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/melriffe.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/melriffe.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=melriffe.wordpress.com&blog=2717363&post=35&subd=melriffe&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://melriffe.wordpress.com/2008/03/04/whoa-where-did-the-time-go/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/melriffe-128.jpg" medium="image">
			<media:title type="html">melriffe</media:title>
		</media:content>
	</item>
		<item>
		<title>I love Coffee&#8230;</title>
		<link>http://melriffe.wordpress.com/2008/02/27/i-love-coffee/</link>
		<comments>http://melriffe.wordpress.com/2008/02/27/i-love-coffee/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 21:31:53 +0000</pubDate>
		<dc:creator>melriffe</dc:creator>
		
		<category><![CDATA[coffee]]></category>

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

		<guid isPermaLink="false">http://melriffe.wordpress.com/?p=34</guid>
		<description><![CDATA[i &#60;3 the coffee

I always knew being on Twitter would one day pay off.  I follow Pete Cashmore of Mashable and he posted a link to participate in a free beta &#8216;test&#8217;.  Sign up and get your blog listed and you get a free sample of some coffee.  Nice.

The company is Joffrey&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3>i &lt;3 the coffee</h3>
<p>
I always knew being on Twitter would one day pay off.  I follow Pete Cashmore of Mashable and he posted a link to participate in a free beta &#8216;test&#8217;.  Sign up and get your blog listed and you get a free sample of some coffee.  Nice.</p>
<p>
The company is Joffrey&#8217;s and the free sample is Jamaican Me Crazy.  Head on over to their beta site (no time limit is posted but I have to believe samples will run out).</p>
<p>
Links:</p>
<ul>
<li><a href="http://joffreys.com">Joffrey&#8217;s Main Site</a></li>
<li><a href="http://beta.joffreys.com">Joffrey&#8217;s Beta Site</a></li>
<li><a href="http://mashable.com">Pete Cashmore&#8217;s Mashable</a></li>
<li><a href="http://twitter.com/mashable">Pete&#8217;s Twitter Profile</a></li>
</ul>
<p>
<b>Cheers!</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/melriffe.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/melriffe.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/melriffe.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/melriffe.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/melriffe.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/melriffe.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/melriffe.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/melriffe.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/melriffe.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/melriffe.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/melriffe.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/melriffe.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=melriffe.wordpress.com&blog=2717363&post=34&subd=melriffe&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://melriffe.wordpress.com/2008/02/27/i-love-coffee/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/melriffe-128.jpg" medium="image">
			<media:title type="html">melriffe</media:title>
		</media:content>
	</item>
		<item>
		<title>TextMate, Leopard, Rspec&#8230;oh my&#8230;</title>
		<link>http://melriffe.wordpress.com/2008/02/27/textmate-leopard-rspecoh-my/</link>
		<comments>http://melriffe.wordpress.com/2008/02/27/textmate-leopard-rspecoh-my/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 14:57:11 +0000</pubDate>
		<dc:creator>melriffe</dc:creator>
		
		<category><![CDATA[osx]]></category>

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

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

		<guid isPermaLink="false">http://melriffe.wordpress.com/?p=33</guid>
		<description><![CDATA[In Conclusion

The end of the story is that I should wipe my drive, reinstall Leopard, and build what&#8217;s missing in my development environment; reinstalling all the &#8217;soft&#8217; items too (and by soft I mean: applications, documents, music, movies, and pictures)
TextMate and Rspec

While I was doing straight Ruby coding, using Rspec for my tests, TextMate was [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3>In Conclusion</h3>
<p>
The end of the story is that I should wipe my drive, reinstall Leopard, and build what&#8217;s missing in my development environment; reinstalling all the &#8217;soft&#8217; items too (and by soft I mean: applications, documents, music, movies, and pictures)</p>
<h3>TextMate and Rspec</h3>
<p>
While I was doing straight Ruby coding, using Rspec for my tests, TextMate was my friend.  It was fun, worked a charm.  However, while doing some Rails work I kept getting this bizarre error about not having Rails 2.0.2 installed. </p>
<blockquote><p>Huh? I most certainly do!.</p></blockquote>
<p>After I commented out <code>RAILS_GEM_VERSION</code> in <code>environment.rb</code> I finally figured out why it wasn&#8217;t working:  TextMate was using Ruby shipped with Leopard and that version didn&#8217;t have Rails 2.0.2 installed.</p>
<blockquote><p>Yikes! Now what?</p></blockquote>
<p>I first went to the <a href="http://rpsec.info" target="_blank">Rspec</a> <a href="http://rspec.info/documentation/tools/extensions/editors/textmate.html" target="_blank">TM page</a> and found this tidbit of info:</p>
<pre>
You may also have to set your TM_RUBY environment variable in TextMate’s preferences to point to your ruby executable.
You can also tell RSpec.tmbundle to use a particular RSpec (the library) at a particular location on your filesystem.
Just define the TM_RSPEC_HOME environment variable in TextMate’s preferences. This should point to the your working copy’s rspec directory.
</pre>
<p>So I updated my TextMate preferences, adding <strong>TM_RUBY</strong> and <strong>TM_RSPEC_HOME</strong> and Viola&#8217;  All is well and happy in the land.</p>
<h3>The Cause?</h3>
<p>
I upgraded from Tiger to Leopard - just an upgrade - not a wipe and reinstall.  And on Tiger I had installed Ruby from MacPorts and everything (minus TextMate until recently) was configured to look for Ruby in <code>/opt/local</code>.</p>
<p>
I got some good advice last night: <code>sudo port uninstal ruby</code>.  Looks like I&#8217;ll be planning some changes to my development environment. </p>
<p>
<b>Cheers!</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/melriffe.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/melriffe.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/melriffe.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/melriffe.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/melriffe.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/melriffe.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/melriffe.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/melriffe.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/melriffe.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/melriffe.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/melriffe.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/melriffe.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=melriffe.wordpress.com&blog=2717363&post=33&subd=melriffe&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://melriffe.wordpress.com/2008/02/27/textmate-leopard-rspecoh-my/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/melriffe-128.jpg" medium="image">
			<media:title type="html">melriffe</media:title>
		</media:content>
	</item>
		<item>
		<title>Moved Projects to the side-bar&#8230;</title>
		<link>http://melriffe.wordpress.com/2008/02/26/moved-projects-to-the-side-bar/</link>
		<comments>http://melriffe.wordpress.com/2008/02/26/moved-projects-to-the-side-bar/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 05:32:42 +0000</pubDate>
		<dc:creator>melriffe</dc:creator>
		
		<category><![CDATA[agile]]></category>

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://melriffe.wordpress.com/?p=32</guid>
		<description><![CDATA[Listed in the side-bar, along with my other sites on the intewebz, is the link to my PBJ Wiki for projects. I decided I didn&#8217;t want to move my projects notes to this site - I like the wiki-style of project documentation and PBJ Wiki provides that for me.  Plus, you can subscribe to [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Listed in the side-bar, along with my other sites on the intewebz, is the link to my PBJ Wiki for projects. I decided I didn&#8217;t want to move my projects notes to this site - I like the wiki-style of project documentation and PBJ Wiki provides that for me.  Plus, you can subscribe to that site&#8217;s RSS Feed since I don&#8217;t have RSS support on the other pages of this blog.</p>
<p><b>Cheers!</b></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/melriffe.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/melriffe.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/melriffe.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/melriffe.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/melriffe.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/melriffe.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/melriffe.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/melriffe.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/melriffe.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/melriffe.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/melriffe.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/melriffe.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=melriffe.wordpress.com&blog=2717363&post=32&subd=melriffe&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://melriffe.wordpress.com/2008/02/26/moved-projects-to-the-side-bar/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/melriffe-128.jpg" medium="image">
			<media:title type="html">melriffe</media:title>
		</media:content>
	</item>
	</channel>
</rss>