<?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>The Captain&#039;s Log</title>
	<atom:link href="http://jamiecook.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamiecook.wordpress.com</link>
	<description>Jamie&#039;s travels around Europe</description>
	<lastBuildDate>Wed, 07 Dec 2011 22:15:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jamiecook.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>The Captain&#039;s Log</title>
		<link>http://jamiecook.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jamiecook.wordpress.com/osd.xml" title="The Captain&#039;s Log" />
	<atom:link rel='hub' href='http://jamiecook.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Ruby: Comparing an Object’s Class in a Case Statement</title>
		<link>http://jamiecook.wordpress.com/2011/12/07/ruby-comparing-an-objects-class-in-a-case-statement/</link>
		<comments>http://jamiecook.wordpress.com/2011/12/07/ruby-comparing-an-objects-class-in-a-case-statement/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 22:14:42 +0000</pubDate>
		<dc:creator>jamiecook</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ruby case class]]></category>

		<guid isPermaLink="false">http://jamiecook.wordpress.com/?p=428</guid>
		<description><![CDATA[Thanks to the o.b blog for this ruby tidbit. If you want to use an object&#8217;s class in a case statement in ruby the intuitive case obj.class when String: "blah" when Fixnum: "foo" end doesn&#8217;t actually work? Why not you ask? Surely String == String will return true. Alas it seems we are now victims [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=428&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thanks to the <a href="http://www.postal-code.com/mrhappy/blog/2007/02/01/ruby-comparing-an-objects-class-in-a-case-statement/">o.b blog</a> for this ruby tidbit. If you want to use an object&#8217;s class in a case statement in ruby the intuitive<br />
<code><br />
    case obj.class<br />
      when String: "blah"<br />
      when Fixnum: "foo"<br />
    end<br />
</code><br />
doesn&#8217;t actually work? Why not you ask? Surely String == String will return true. Alas it seems we are now victims of ruby being too clever for it&#8217;s own good; if you&#8217;ve put class objects in the when clause you are obviously (?) wanting to compare the class of the object in the case statement. So ruby is helpfully inserting an extra .class call for you.</p>
<p>So if you want it to actually work<br />
<code><br />
    case obj<br />
      when String: "blah"<br />
      when Fixnum: "foo"<br />
    end<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamiecook.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamiecook.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamiecook.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamiecook.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jamiecook.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jamiecook.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jamiecook.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jamiecook.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamiecook.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamiecook.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamiecook.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamiecook.wordpress.com/428/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamiecook.wordpress.com/428/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamiecook.wordpress.com/428/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=428&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jamiecook.wordpress.com/2011/12/07/ruby-comparing-an-objects-class-in-a-case-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f61f5bb74d1fe7b6b4c54b88445652?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamiecook</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up PostgreSQL + postgis for rails on ubuntu</title>
		<link>http://jamiecook.wordpress.com/2011/11/24/setting-up-postgresql-postgis-for-rails-on-ubuntu/</link>
		<comments>http://jamiecook.wordpress.com/2011/11/24/setting-up-postgresql-postgis-for-rails-on-ubuntu/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 02:32:12 +0000</pubDate>
		<dc:creator>jamiecook</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database postgresql postgis rails ubuntu]]></category>

		<guid isPermaLink="false">http://jamiecook.wordpress.com/?p=423</guid>
		<description><![CDATA[I know there are plenty of guides out there for this, but this is to allow me to tie together all the relevant info I&#8217;ve found about this. I already had postgres installed and configured so I just had to install the postgis extensions sudo apt-get install postgresql-8.4-postgis The following is adapted from this guide [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=423&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I know there are plenty of guides out there for this, but this is to allow me to tie together all the relevant info I&#8217;ve found about this. </p>
<p>I already had postgres installed and configured so I just had to install the postgis extensions</p>
<p><code><br />
sudo apt-get install postgresql-8.4-postgis<br />
</code></p>
<p>The following is adapted from <a href="http://mapfish.org/doc/implementations/rails.html">this guide</a> to use the correct locations for postgres 8.4 </p>
<p><code><br />
sudo su - postgres<br />
createdb -E UTF8 template_postgis # Create the template spatial database.<br />
createlang -d template_postgis plpgsql # Adding PLPGSQL language support.<br />
psql -d osm -f /usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sql<br />
psql -d osm -f /usr/share/postgresql/8.4/contrib/postgis-1.5/spatial_ref_sys.sql<br />
cat &lt;&lt;EOS | psql -d template_postgis<br />
UPDATE pg_database SET datistemplate = TRUE WHERE datname = &#039;template_postgis&#039;;<br />
REVOKE ALL ON SCHEMA public FROM public;<br />
GRANT USAGE ON SCHEMA public TO public;<br />
GRANT ALL ON SCHEMA public TO postgres;<br />
GRANT SELECT, UPDATE, INSERT, DELETE ON TABLE public.geometry_columns TO PUBLIC;<br />
GRANT SELECT, UPDATE, INSERT, DELETE ON TABLE public.spatial_ref_sys TO PUBLIC;<br />
GRANT ALL ON geometry_columns TO PUBLIC;<br />
GRANT ALL ON geography_columns TO PUBLIC;<br />
GRANT ALL ON spatial_ref_sys TO PUBLIC;<br />
VACUUM FULL FREEZE;<br />
EOS<br />
</code></p>
<p><a href="http://whatcodecraves.com/articles/2008/02/05/setup_rails_with_postgresql/">This guide</a> shows how to setup your database.yml but you are probably better off following the advice from the <a href="https://github.com/fragility/spatial_adapter/wiki/Rails-and-PostGIS">spatial_adapter wiki</a>. Your database.yml should look like this</p>
<p><code><br />
test:<br />
  adapter: postgresql<br />
  encoding: utf8<br />
  database: myproject_test<br />
  template: template_postgis<br />
</code></p>
<p>Then you can create your db and perform any migrations with:</p>
<p><code><br />
rake db:create<br />
rake db:migrate<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamiecook.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamiecook.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamiecook.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamiecook.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jamiecook.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jamiecook.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jamiecook.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jamiecook.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamiecook.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamiecook.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamiecook.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamiecook.wordpress.com/423/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamiecook.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamiecook.wordpress.com/423/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=423&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jamiecook.wordpress.com/2011/11/24/setting-up-postgresql-postgis-for-rails-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f61f5bb74d1fe7b6b4c54b88445652?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamiecook</media:title>
		</media:content>
	</item>
		<item>
		<title>fatal: open database /etc/aliases.db</title>
		<link>http://jamiecook.wordpress.com/2011/11/07/fatal-open-database-etcaliases-db/</link>
		<comments>http://jamiecook.wordpress.com/2011/11/07/fatal-open-database-etcaliases-db/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 02:06:39 +0000</pubDate>
		<dc:creator>jamiecook</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://jamiecook.wordpress.com/?p=419</guid>
		<description><![CDATA[Thanks to these guys (http://www.scriptinstallation.in/fatal_database_aliases.html) I was able to solve this with On a new postfix mail server installation, i got following error on console The error is because postfix can&#8217;t find &#8220;/etc/aliases.db&#8221;. Problem is fixed with by recreating aliases.db file.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=419&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thanks to these guys (http://www.scriptinstallation.in/fatal_database_aliases.html) I was able to solve this with</p>
<p>On a new postfix mail server installation, i got following error on console</p>
<p>
Jul 11 19:19:32 freebsd postfix/local[654]: fatal: open database /etc/aliases.db: No such file or directory
</p>
<p>The error is because postfix can&#8217;t find &#8220;/etc/aliases.db&#8221;. Problem is fixed with by recreating aliases.db file.</p>
<p><pre class="brush: bash; light: true;">
postfix stop
rm -f /etc/aliases.db
newaliases
postfix start
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamiecook.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamiecook.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamiecook.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamiecook.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jamiecook.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jamiecook.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jamiecook.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jamiecook.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamiecook.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamiecook.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamiecook.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamiecook.wordpress.com/419/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamiecook.wordpress.com/419/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamiecook.wordpress.com/419/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=419&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jamiecook.wordpress.com/2011/11/07/fatal-open-database-etcaliases-db/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f61f5bb74d1fe7b6b4c54b88445652?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamiecook</media:title>
		</media:content>
	</item>
		<item>
		<title>My first github repo</title>
		<link>http://jamiecook.wordpress.com/2011/10/22/my-first-github-repo/</link>
		<comments>http://jamiecook.wordpress.com/2011/10/22/my-first-github-repo/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 05:24:05 +0000</pubDate>
		<dc:creator>jamiecook</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby git github]]></category>

		<guid isPermaLink="false">http://jamiecook.wordpress.com/?p=416</guid>
		<description><![CDATA[More out of curiosity than anything else I decided to see if I could create a ruby API for the Brisbane Translink GO card, I&#8217;ve pushed it up onto github (https://github.com/jamiecook/gocard-ruby-api) if anyone is interested.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=416&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>More out of curiosity than anything else I decided to see if I could create a ruby API for the Brisbane Translink GO card, I&#8217;ve pushed it up onto github (<a href="https://github.com/jamiecook/gocard-ruby-api">https://github.com/jamiecook/gocard-ruby-api</a>) if anyone is interested. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamiecook.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamiecook.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamiecook.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamiecook.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jamiecook.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jamiecook.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jamiecook.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jamiecook.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamiecook.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamiecook.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamiecook.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamiecook.wordpress.com/416/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamiecook.wordpress.com/416/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamiecook.wordpress.com/416/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=416&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jamiecook.wordpress.com/2011/10/22/my-first-github-repo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f61f5bb74d1fe7b6b4c54b88445652?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamiecook</media:title>
		</media:content>
	</item>
		<item>
		<title>Using ruby to fix line endings</title>
		<link>http://jamiecook.wordpress.com/2010/12/06/using-ruby-to-fix-line-endings/</link>
		<comments>http://jamiecook.wordpress.com/2010/12/06/using-ruby-to-fix-line-endings/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 22:45:06 +0000</pubDate>
		<dc:creator>jamiecook</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[line-endings]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://jamiecook.wordpress.com/?p=405</guid>
		<description><![CDATA[I just f*@&#38;ed up my svn entries file by changing the line endings during a manual edit (note: don&#8217;t try that at home). But anyways the fix was to load the file in binary mode, strip the spurious line endings and re-write the file in binary mode<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=405&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just f*@&amp;ed up my svn entries file by changing the line endings during a manual edit (note: don&#8217;t try that at home). But anyways the fix was to load the file in binary mode, strip the spurious line endings and re-write the file in binary mode</p>
<p><pre class="brush: ruby; light: false;">
e = []; File.open('entries', 'rb') {|f| e = f.read }
File.open('entries', 'wb') {|f| f.write(e.gsub(/\x0D\x0A/, &quot;\x0A&quot;) }
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamiecook.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamiecook.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamiecook.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamiecook.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jamiecook.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jamiecook.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jamiecook.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jamiecook.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamiecook.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamiecook.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamiecook.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamiecook.wordpress.com/405/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamiecook.wordpress.com/405/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamiecook.wordpress.com/405/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=405&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jamiecook.wordpress.com/2010/12/06/using-ruby-to-fix-line-endings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f61f5bb74d1fe7b6b4c54b88445652?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamiecook</media:title>
		</media:content>
	</item>
		<item>
		<title>/3GB switch in Windows [Vista,7]</title>
		<link>http://jamiecook.wordpress.com/2010/12/01/3gb-switch-in-windows-vista7/</link>
		<comments>http://jamiecook.wordpress.com/2010/12/01/3gb-switch-in-windows-vista7/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 22:04:29 +0000</pubDate>
		<dc:creator>jamiecook</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://jamiecook.wordpress.com/?p=401</guid>
		<description><![CDATA[Thanks to Volker for this little explanation of the changed process for enabling large memory space for user mode applications. Instead of adding /3GB to your boot.ini as you did in windows XP, you now execute the following command from an administrator command prompt:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=401&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://www.typepad.com/services/trackback/6a00d8341c3ba053ef01156fb41e78970b">Volker</a> for this little explanation of the changed process for enabling large memory space for user mode applications. Instead of adding /3GB to your boot.ini as you did in windows XP, you now execute the following command from an administrator command prompt:</p>
<p><pre class="brush: powershell; light: false;">
BCDEDIT.EXE /Set IncreaseUserVa 3072
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamiecook.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamiecook.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamiecook.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamiecook.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jamiecook.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jamiecook.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jamiecook.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jamiecook.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamiecook.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamiecook.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamiecook.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamiecook.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamiecook.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamiecook.wordpress.com/401/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=401&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jamiecook.wordpress.com/2010/12/01/3gb-switch-in-windows-vista7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f61f5bb74d1fe7b6b4c54b88445652?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamiecook</media:title>
		</media:content>
	</item>
		<item>
		<title>Boost shared_ptr method make_shared</title>
		<link>http://jamiecook.wordpress.com/2010/04/28/boost-shared_ptr-method-make_shared/</link>
		<comments>http://jamiecook.wordpress.com/2010/04/28/boost-shared_ptr-method-make_shared/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 12:39:06 +0000</pubDate>
		<dc:creator>jamiecook</dc:creator>
				<category><![CDATA[shared_ptr]]></category>
		<category><![CDATA[boost]]></category>
		<category><![CDATA[c++]]></category>

		<guid isPermaLink="false">http://jamiecook.wordpress.com/?p=384</guid>
		<description><![CDATA[I was reading a post about a new feature in Visual Studio 2010 that would allow for syntax like this for shared_ptr and I thought there should already be something like that in boost; turns out there was and I just wasn&#8217;t using it. So I&#8217;m posting an example of how this can make your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=384&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was reading a post about a new feature in Visual Studio 2010 that would allow for syntax like this for shared_ptr</p>
<p><pre class="brush: cpp; light: true;">
auto sp = make_shared&lt;T&gt;(args)
</pre></p>
<p>and I thought there should already be something like that in boost; turns out there was and I just wasn&#8217;t using it. So I&#8217;m posting an example of how this can make your code a bit cleaner and neater; below is a before and after</p>
<p><pre class="brush: cpp; light: false;">
tuple&lt;int,int,int,int&gt; key = make_tuple(stopNrA, stopNrB, transitLineNr, time);
if (!hasElement(m_routeSegments, key))
  m_routeSegments[key] = shared_ptr(new RouteSegment(param1, param2));
return m_routeSegments[key];
</pre></p>
<p>and then after using make_shared and auto</p>
<p><pre class="brush: cpp; light: false;">
auto key = make_tuple(stopNrA, stopNrB, transitLineNr, time);
if (!hasElement(m_routeSegments, key))
  m_routeSegments[key] = make_shared&lt;RouteSegment&gt;(param1, param2);
return m_routeSegments[key];
</pre></p>
<p>The differences aren&#8217;t huge but it&#8217;s easy to see how things like the typing of a temporary key value and the boiler plate of constructing an object and then passing it to the constructor of a shared_ptr can unnecessarily clutter code making it less readable.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamiecook.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamiecook.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamiecook.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamiecook.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jamiecook.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jamiecook.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jamiecook.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jamiecook.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamiecook.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamiecook.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamiecook.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamiecook.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamiecook.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamiecook.wordpress.com/384/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=384&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jamiecook.wordpress.com/2010/04/28/boost-shared_ptr-method-make_shared/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f61f5bb74d1fe7b6b4c54b88445652?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamiecook</media:title>
		</media:content>
	</item>
		<item>
		<title>Boost Unit Test Reporting</title>
		<link>http://jamiecook.wordpress.com/2010/02/17/boost-unit-test-reporting/</link>
		<comments>http://jamiecook.wordpress.com/2010/02/17/boost-unit-test-reporting/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 09:47:00 +0000</pubDate>
		<dc:creator>jamiecook</dc:creator>
				<category><![CDATA[1.42.0]]></category>
		<category><![CDATA[boost]]></category>
		<category><![CDATA[c++]]></category>

		<guid isPermaLink="false">http://jamiecook.wordpress.com/?p=379</guid>
		<description><![CDATA[In case it&#8217;s not obvious, I&#8217;m doing some work with boost today upgrading from 1.34.1 -&#62; 1.42.0. I just came across this following error while running my tests &#60;pre&#62;C:\projects\svn\bdk\ot51&#62;ZenithBase_test.exe &#8211;report_level=yes Test setup error: invalid report level yes&#60;/pre&#62; Thats funny because &#8216;yes&#8217; used to be a valid option and I can&#8217;t see what they&#8217;ve changed it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=379&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In case it&#8217;s not obvious, I&#8217;m doing some work with boost today upgrading from 1.34.1 -&gt; 1.42.0. I just came across this following error while running my tests</p>
<p>&lt;pre&gt;C:\projects\svn\bdk\ot51&gt;ZenithBase_test.exe &#8211;report_level=yes<br />
Test setup error: invalid report level yes&lt;/pre&gt;</p>
<p>Thats funny because &#8216;yes&#8217; used to be a valid option and I can&#8217;t see what they&#8217;ve changed it to or even what the possible options are anywhere on the internet&#8230; so I decided to put them down here based on my digging through the source:</p>
<p>* confirm &#8211; CONFIRMATION_REPORT,<br />
* short &#8211; SHORT_REPORT,<br />
* detailed &#8211; DETAILED_REPORT,<br />
* no &#8211; NO_REPORT</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamiecook.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamiecook.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamiecook.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamiecook.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jamiecook.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jamiecook.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jamiecook.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jamiecook.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamiecook.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamiecook.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamiecook.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamiecook.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamiecook.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamiecook.wordpress.com/379/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=379&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jamiecook.wordpress.com/2010/02/17/boost-unit-test-reporting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f61f5bb74d1fe7b6b4c54b88445652?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamiecook</media:title>
		</media:content>
	</item>
		<item>
		<title>BOOST_STATIC_ASSERT incomplete type not allowed</title>
		<link>http://jamiecook.wordpress.com/2010/02/17/boost_static_assert-incomplete-type-not-allowed/</link>
		<comments>http://jamiecook.wordpress.com/2010/02/17/boost_static_assert-incomplete-type-not-allowed/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 08:12:55 +0000</pubDate>
		<dc:creator>jamiecook</dc:creator>
				<category><![CDATA[boost]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[Intel]]></category>
		<category><![CDATA[templates]]></category>

		<guid isPermaLink="false">http://jamiecook.wordpress.com/2010/02/17/boost_static_assert-incomplete-type-not-allowed/</guid>
		<description><![CDATA[I&#8217;ve recently been trying to compile the newest boost library (1.42.0) using the Intel 11.0 compiler and came across this error in code which previously compiled using 1.34.1 1&#62;../../deps/boost_1_42_0/boost/test/floating_point_comparison.hpp(229): error: incomplete type is not allowed 1&#62; BOOST_STATIC_ASSERT( !is_integral::value ); 1&#62; ^ 1&#62; detected during: 1&#62; instantiation of "boost::test_tools::predicate_result boost::test_tools::check_is_close_t::operator()(FPT1, FPT2, boost::test_tools::percent_tolerance_t, boost::test_tools::floating_point_comparison_type) const [with FPT1=int, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=376&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been trying to compile the newest boost library (1.42.0) using the Intel 11.0 compiler and came across this error in code which previously compiled using 1.34.1</p>
<pre>1&gt;../../deps/boost_1_42_0/boost/test/floating_point_comparison.hpp(229): error: incomplete type is not allowed
1&gt;          BOOST_STATIC_ASSERT( !is_integral::value );
1&gt;          ^
1&gt;          detected during:
1&gt;            instantiation of "boost::test_tools::predicate_result boost::test_tools::check_is_close_t::operator()(FPT1, FPT2, boost::test_tools::percent_tolerance_t, boost::test_tools::floating_point_comparison_type) const [with FPT1=int, FPT2=int, ToleranceBaseType=double]" at line 523 of "../../deps/boost_1_42_0/boost/test/test_tools.hpp"
1&gt;            instantiation of "bool boost::test_tools::tt_detail::check_frwd(Pred, const boost::unit_test::lazy_ostream &amp;, boost::test_tools::const_string, size_t={unsigned int}, boost::test_tools::tt_detail::tool_level, boost::test_tools::tt_detail::check_type, const Arg0 &amp;, const char *, const Arg1 &amp;, const char *, const Arg2 &amp;, const char *) [with Pred=boost::test_tools::check_is_close_t, Arg0=int, Arg1=int, Arg2=boost::test_tools::percent_tolerance_t]" at line 26 of
1&gt;                      "..\tests\Timing\VlcTimingProfile_test.cpp"
</pre>
<p>incomplete type huh, what the hell could that be about? Well it turns out that this is just a very *un*informative error which is generated when the assert evaluated to false. In my case it was caused by calling BOOST_CHECK_CLOSE(int,int,float), when I changed this to BOOST_CHECK_CLOSE(float,float,float) it compiled fine&#8230; but the error message didn&#8217;t really reflect where the error was at all.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamiecook.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamiecook.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamiecook.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamiecook.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jamiecook.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jamiecook.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jamiecook.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jamiecook.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamiecook.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamiecook.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamiecook.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamiecook.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamiecook.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamiecook.wordpress.com/376/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=376&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jamiecook.wordpress.com/2010/02/17/boost_static_assert-incomplete-type-not-allowed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f61f5bb74d1fe7b6b4c54b88445652?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamiecook</media:title>
		</media:content>
	</item>
		<item>
		<title>San Francisco</title>
		<link>http://jamiecook.wordpress.com/2010/02/12/san-francisco/</link>
		<comments>http://jamiecook.wordpress.com/2010/02/12/san-francisco/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 18:12:02 +0000</pubDate>
		<dc:creator>jamiecook</dc:creator>
				<category><![CDATA[California]]></category>
		<category><![CDATA[San Francisco]]></category>
		<category><![CDATA[USA]]></category>

		<guid isPermaLink="false">http://jamiecook.wordpress.com/2010/02/12/san-francisco/</guid>
		<description><![CDATA[In San Fran we stayed just off Union Square (centre of town) in a hotel called the Mosser which was the smallest room (outside of south Korea) I&#8217;ve ever been in. The toilet so small that the basin couldn&#8217;t fit in and had to be accommodated in the main room This was more than made [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=371&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In San Fran we stayed just off Union Square (centre of town) in a hotel called the Mosser which was the smallest room (outside of south Korea) I&#8217;ve ever been in. The toilet so small that the basin couldn&#8217;t fit in and had to be accommodated in the main room <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  This was more than made up for by it&#8217;s great location however; we would literally walk out of the hotel into the hustle and bustle of downtown San Francisco. While in town we did the things typically expected of tourist, we drove across the Golden Gate bridge and spent some time exploring the Golden Gate park which is an enormous reserve to the west of the city which stretches right down to the Pacific ocean. We also had some fun taking a trip out to Alcatraz island which quite apart from it&#8217;s history as a jail has a very rich military history dating back to the Mexican occupation of California. We then jumped on a guided tour of the town given by a talkative chap named Dom who drove us around in an open top 1924 Ford motorcar which had been refitted with a new gas powered engine (they are big on green over in SF) which could drag it up and down San Fran&#8217;s incredible hills.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jamiecook.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jamiecook.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jamiecook.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jamiecook.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jamiecook.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jamiecook.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jamiecook.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jamiecook.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jamiecook.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jamiecook.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jamiecook.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jamiecook.wordpress.com/371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jamiecook.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jamiecook.wordpress.com/371/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jamiecook.wordpress.com&amp;blog=10551410&amp;post=371&amp;subd=jamiecook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jamiecook.wordpress.com/2010/02/12/san-francisco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73f61f5bb74d1fe7b6b4c54b88445652?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamiecook</media:title>
		</media:content>
	</item>
	</channel>
</rss>
