<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>mccraigmccraig of the clan mccraig</title>
	<atom:link href="http://mccraigmccraig.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mccraigmccraig.wordpress.com</link>
	<description>not to be confused with mccraigmccraig of the clan mccraig</description>
	<lastBuildDate>Wed, 04 Nov 2009 15:28:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mccraigmccraig.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>mccraigmccraig of the clan mccraig</title>
		<link>http://mccraigmccraig.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mccraigmccraig.wordpress.com/osd.xml" title="mccraigmccraig of the clan mccraig" />
	<atom:link rel='hub' href='http://mccraigmccraig.wordpress.com/?pushpress=hub'/>
		<item>
		<title>WORM tables for ActiveRecord</title>
		<link>http://mccraigmccraig.wordpress.com/2009/11/04/worm-tables-for-activerecord/</link>
		<comments>http://mccraigmccraig.wordpress.com/2009/11/04/worm-tables-for-activerecord/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 15:25:07 +0000</pubDate>
		<dc:creator>mccraigmccraig</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://mccraigmccraig.wordpress.com/?p=67</guid>
		<description><![CDATA[do you do large offline batch jobs and load the results into a database table ? do you want there to be a smooth changeover from the previous version of the results to a new version, with no rollbacks or lock timeouts ? activerecord_worm_table allows an ActiveRecord model to be backed by several database tables, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=67&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>do you do large offline batch jobs and load the results into a database table ?</p>
<p>do you want there to be a smooth changeover from the previous version of the results to a new version, with no rollbacks or lock timeouts ?</p>
<p><a href="http://github.com/mccraigmccraig/activerecord_worm_table">activerecord_worm_table</a> allows an ActiveRecord model to be backed by several database tables, an active table, a working table and one or more historical tables. data is loaded into the working table, and when finished the working table becomes the active table. the old active table becomes a historical table, and any active queries continue using that table</p>
<p>it&#8217;s available from <a href="http://gemcutter.org/">gemcutter</a> :</p>
<pre>gem install activerecord_worm_table
</pre>
<p>and it&#8217;s easy to use :</p>
<pre>class Foo &lt; ActiveRecord::Base
  include ActiveRecord::WormTable
end
Foo.connection.execute( "insert into #{Foo.working_table_name} values ('foofoo')" )
Foo.advance_version
Foo.first
</pre>
<p>( MySQL support only for now )</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mccraigmccraig.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mccraigmccraig.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mccraigmccraig.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mccraigmccraig.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mccraigmccraig.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mccraigmccraig.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mccraigmccraig.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mccraigmccraig.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mccraigmccraig.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mccraigmccraig.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mccraigmccraig.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mccraigmccraig.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mccraigmccraig.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mccraigmccraig.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=67&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mccraigmccraig.wordpress.com/2009/11/04/worm-tables-for-activerecord/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mccraigmccraig</media:title>
		</media:content>
	</item>
		<item>
		<title>concatenation of character classes with oniguruma and joni regexes</title>
		<link>http://mccraigmccraig.wordpress.com/2009/08/21/concatenation-of-character-classes-with-oniguruma-and-joni-regexes/</link>
		<comments>http://mccraigmccraig.wordpress.com/2009/08/21/concatenation-of-character-classes-with-oniguruma-and-joni-regexes/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 17:41:33 +0000</pubDate>
		<dc:creator>mccraigmccraig</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://mccraigmccraig.wordpress.com/?p=63</guid>
		<description><![CDATA[i was pleasantly surprised by some regex goodness present in oniguruma [ ruby 1.9 ] and joni [ jruby ] regexes can concatenate character classes, so you can do things like match against &#8220;all unicode whitespace except newlines&#8221; thus : /[[^\n]&#38;&#38;[:space:]]+/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=63&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>i was pleasantly surprised by some regex goodness present in oniguruma [ ruby 1.9 ] and joni [ jruby ]</p>
<p>regexes can concatenate character classes, so you can do things like match against &#8220;all unicode whitespace except newlines&#8221; thus :</p>
<p><code>/[[^\n]&amp;&amp;[:space:]]+/</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mccraigmccraig.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mccraigmccraig.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mccraigmccraig.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mccraigmccraig.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mccraigmccraig.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mccraigmccraig.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mccraigmccraig.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mccraigmccraig.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mccraigmccraig.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mccraigmccraig.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mccraigmccraig.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mccraigmccraig.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mccraigmccraig.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mccraigmccraig.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=63&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mccraigmccraig.wordpress.com/2009/08/21/concatenation-of-character-classes-with-oniguruma-and-joni-regexes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mccraigmccraig</media:title>
		</media:content>
	</item>
		<item>
		<title>ruby / jruby xml stream parser</title>
		<link>http://mccraigmccraig.wordpress.com/2009/06/20/ruby-jruby-xml-stream-parser/</link>
		<comments>http://mccraigmccraig.wordpress.com/2009/06/20/ruby-jruby-xml-stream-parser/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 09:33:01 +0000</pubDate>
		<dc:creator>mccraigmccraig</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://mccraigmccraig.wordpress.com/?p=45</guid>
		<description><![CDATA[to give sonar an xml input format, for content provided via a rest api or files, i looked around for a ruby xml parser oriented towards parsing large documents : perhaps too large to fit in memory there are plenty of low-level stream parsers around e.g. in rexml, but they stop some way short of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=45&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>to give <a href="http://www.trampolinesystems.com/products">sonar</a> an xml input format, for content provided via a rest api or files, i looked around for a ruby xml parser oriented towards parsing large documents : perhaps too large to fit in memory</p>
<p>there are plenty of low-level stream parsers around e.g. in <a href="http://www.ruby-doc.org/core/classes/REXML/Parsers/PullParser.html">rexml</a>, but they stop some way short of allowing the solution to be expressed in a natural way</p>
<p><a href="http://github.com/mccraigmccraig/xml_stream_parser">here</a>&#8216;s a parser, which sits atop rexml&#8217;s pull parser, and allows you to formulate your parse in ruby blocks which straightforwardly process xml elements. what you keep and how you convert is completely specified by those blocks, so you can happily parse an unending document in constant memory</p>
<pre>&lt;people&gt;
  &lt;person name="alice"&gt;likes cheese&lt;/person&gt;
  &lt;person name="bob"&gt;likes music&lt;/person&gt;
  &lt;person name="charles"&gt;likes alice&lt;/person&gt;
&lt;/people&gt;</pre>
<p>can be parsed with :</p>
<pre>require 'rubygems'
require 'xml_stream_parser'

people = {}
XmlStreamParser.new.parse_dsl(doc) do
  element "people"  do |name,attrs|
    elements "person" do |name, attrs|
      people[attrs["name"]] = text
    end
  end
end</pre>
<p>a plainer api is also supported, allowing a parse to be split over multiple methods [ since <code>parse_dsl</code> uses <code>instance_exec</code> to call blocks, and loses context ]</p>
<pre>
people = {}
XmlStreamParser.new.parse(doc) do |p|
  p.element( "people" ) do |name,attrs|
    p.elements( "person" ) do |name, attrs|
      people[attrs["name"]] = p.text
    end
  end
end</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mccraigmccraig.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mccraigmccraig.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mccraigmccraig.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mccraigmccraig.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mccraigmccraig.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mccraigmccraig.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mccraigmccraig.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mccraigmccraig.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mccraigmccraig.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mccraigmccraig.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mccraigmccraig.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mccraigmccraig.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mccraigmccraig.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mccraigmccraig.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=45&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mccraigmccraig.wordpress.com/2009/06/20/ruby-jruby-xml-stream-parser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mccraigmccraig</media:title>
		</media:content>
	</item>
		<item>
		<title>ackack : ack integration for emacs + ecb</title>
		<link>http://mccraigmccraig.wordpress.com/2009/06/10/ack-integration-for-emacs-ecb/</link>
		<comments>http://mccraigmccraig.wordpress.com/2009/06/10/ack-integration-for-emacs-ecb/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 14:06:29 +0000</pubDate>
		<dc:creator>mccraigmccraig</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://mccraigmccraig.wordpress.com/?p=41</guid>
		<description><![CDATA[ackack : an emacs integration for the grep replacement, ack features are run ack within emacs clickable results ecb source path sensitive : searches current project alternatives to search sub-projects of current project, for large projects<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=41&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://github.com/mccraigmccraig/ackack/tree">ackack</a> : an emacs integration for the grep replacement, <a href="http://code.google.com/p/ack/">ack</a></p>
<p>features are</p>
<ul>
<li>run ack within emacs</li>
<li>clickable results</li>
<li>ecb source path sensitive : searches current project</li>
<li>alternatives to search sub-projects of current project, for large projects</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mccraigmccraig.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mccraigmccraig.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mccraigmccraig.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mccraigmccraig.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mccraigmccraig.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mccraigmccraig.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mccraigmccraig.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mccraigmccraig.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mccraigmccraig.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mccraigmccraig.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mccraigmccraig.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mccraigmccraig.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mccraigmccraig.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mccraigmccraig.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=41&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mccraigmccraig.wordpress.com/2009/06/10/ack-integration-for-emacs-ecb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mccraigmccraig</media:title>
		</media:content>
	</item>
		<item>
		<title>rspec-mode for emacs</title>
		<link>http://mccraigmccraig.wordpress.com/2009/06/08/rspec-mode-for-emacs/</link>
		<comments>http://mccraigmccraig.wordpress.com/2009/06/08/rspec-mode-for-emacs/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 12:23:49 +0000</pubDate>
		<dc:creator>mccraigmccraig</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://mccraigmccraig.wordpress.com/?p=37</guid>
		<description><![CDATA[here&#8216;s a mod to pat maddox&#8217;s rspec-mode for emacs : u get jruby spec running [ requires a "jspec" script ] in addition to cruby results in ecb compile window following of results as they are output automatic scroll-to-bottom of results after completion<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=37&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://github.com/mccraigmccraig/rspec-mode.el/tree/master">here</a>&#8216;s a mod to pat maddox&#8217;s rspec-mode for emacs :</p>
<p>u get</p>
<ul>
<li>jruby spec running [ requires a "jspec" script ] in addition to cruby</li>
<li>results in ecb compile window</li>
<li>following of results as they are output</li>
<li>automatic scroll-to-bottom of results after completion</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mccraigmccraig.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mccraigmccraig.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mccraigmccraig.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mccraigmccraig.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mccraigmccraig.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mccraigmccraig.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mccraigmccraig.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mccraigmccraig.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mccraigmccraig.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mccraigmccraig.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mccraigmccraig.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mccraigmccraig.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mccraigmccraig.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mccraigmccraig.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=37&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mccraigmccraig.wordpress.com/2009/06/08/rspec-mode-for-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mccraigmccraig</media:title>
		</media:content>
	</item>
		<item>
		<title>ActiveRecord-JDBC plugin for MySQL master-slave configurations</title>
		<link>http://mccraigmccraig.wordpress.com/2009/03/20/activerecord-jdbc-plugin-for-mysql-master-slave-configurations/</link>
		<comments>http://mccraigmccraig.wordpress.com/2009/03/20/activerecord-jdbc-plugin-for-mysql-master-slave-configurations/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 12:43:56 +0000</pubDate>
		<dc:creator>mccraigmccraig</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://mccraigmccraig.wordpress.com/?p=30</guid>
		<description><![CDATA[here&#8217;s an ActiveRecord-JDBC plugin for simple use of MySQL master-slave configurations active-record-jdbc-mysql-master-slave (re-posted from work)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=30&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>here&#8217;s an ActiveRecord-JDBC plugin for simple use of MySQL master-slave configurations</p>
<p><a href="http://github.com/mccraigmccraig/active-record-jdbc-mysql-master-slave/tree" target="_self">active-record-jdbc-mysql-master-slave</a></p>
<p>(re-posted from <a href="http://www.trampolinesystems.com/blog/machines/2009/03/20/activerecord-jdbc-plugin-for-working-with-mysql-master-slave-configurations/">work</a>)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mccraigmccraig.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mccraigmccraig.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mccraigmccraig.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mccraigmccraig.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mccraigmccraig.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mccraigmccraig.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mccraigmccraig.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mccraigmccraig.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mccraigmccraig.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mccraigmccraig.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mccraigmccraig.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mccraigmccraig.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mccraigmccraig.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mccraigmccraig.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=30&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mccraigmccraig.wordpress.com/2009/03/20/activerecord-jdbc-plugin-for-mysql-master-slave-configurations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mccraigmccraig</media:title>
		</media:content>
	</item>
		<item>
		<title>ruby objects, classes and eigenclasses</title>
		<link>http://mccraigmccraig.wordpress.com/2008/10/29/ruby-objects-classes-and-eigenclasses/</link>
		<comments>http://mccraigmccraig.wordpress.com/2008/10/29/ruby-objects-classes-and-eigenclasses/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 22:05:51 +0000</pubDate>
		<dc:creator>mccraigmccraig</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://mccraigmccraig.wordpress.com/?p=7</guid>
		<description><![CDATA[while working on a little ruby metaprogramming, i realised i didn&#8217;t understand how objects, classes and eigenclasses relate to each other in ruby _why helped some, but i still wasn&#8217;t completely clear i undertook an investigation, with ruby 1.8.6 ( mri and jruby 1.1.4 ), and ruby 1.9 ( mri ) the two 1.8.6 rubys [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=7&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>while working on a little ruby metaprogramming, i realised i didn&#8217;t understand how objects, classes and eigenclasses relate to each other in ruby</p>
<p><a href="http://whytheluckystiff.net/articles/seeingMetaclassesClearly.html">_why</a> helped some, but i still wasn&#8217;t completely clear</p>
<p>i undertook an investigation, with ruby 1.8.6 ( mri and jruby 1.1.4 ), and ruby 1.9 ( mri )</p>
<p>the two 1.8.6 rubys are consistent with each other, but different from ruby 1.9. method resolution seems to function similarly in both 1.8.6 and 1.9, but eigenclasses are referenced differently</p>
<p>this diagram captures what i found</p>
<div id="attachment_13" class="wp-caption aligncenter" style="width: 490px"><a href="http://mccraigmccraig.files.wordpress.com/2008/10/ruby-eigenclass.png"><img class="size-full wp-image-13" title="ruby objects, classes and eigenclasses" src="http://mccraigmccraig.files.wordpress.com/2008/10/ruby-eigenclass.png?w=480&#038;h=665" alt="relationships between ruby objects, classes and eigenclasses" width="480" height="665" /></a><p class="wp-caption-text">relationships between ruby objects, classes and eigenclasses</p></div>
<p>(pdf: <a href="http://mccraigmccraig.files.wordpress.com/2008/10/ruby-eigenclass.pdf">ruby objects, classes and eigenclasses )<br />
</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mccraigmccraig.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mccraigmccraig.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mccraigmccraig.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mccraigmccraig.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mccraigmccraig.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mccraigmccraig.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mccraigmccraig.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mccraigmccraig.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mccraigmccraig.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mccraigmccraig.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mccraigmccraig.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mccraigmccraig.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mccraigmccraig.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mccraigmccraig.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mccraigmccraig.wordpress.com&amp;blog=5330256&amp;post=7&amp;subd=mccraigmccraig&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mccraigmccraig.wordpress.com/2008/10/29/ruby-objects-classes-and-eigenclasses/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mccraigmccraig</media:title>
		</media:content>

		<media:content url="http://mccraigmccraig.files.wordpress.com/2008/10/ruby-eigenclass.png" medium="image">
			<media:title type="html">ruby objects, classes and eigenclasses</media:title>
		</media:content>
	</item>
	</channel>
</rss>
