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

<channel>
	<title>LordElph's Ramblings</title>
	<atom:link href="http://blog.dixo.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dixo.net</link>
	<description>Stuff and nonsense about software development and whatever else I find fun...</description>
	<pubDate>Tue, 01 Jul 2008 14:58:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Geograph Torrents</title>
		<link>http://blog.dixo.net/2008/06/30/geograph-torrents/</link>
		<comments>http://blog.dixo.net/2008/06/30/geograph-torrents/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 22:03:53 +0000</pubDate>
		<dc:creator>lordelph</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.dixo.net/?p=202</guid>
		<description><![CDATA[Something Geograph has needed for some time is a way to get at the entire archive without causing us huge bandwidth bills - it&#8217;s currently around 100GB in size.
So I&#8217;m please to announce http://torrents.geograph.org.uk/ where you will be able to download the entire archive via BitTorrent!
More details&#8230;
We&#8217;re going to release the archive as a series [...]]]></description>
			<content:encoded><![CDATA[<p>Something <a href="http://www.geograph.org.uk">Geograph</a> has needed for some time is a way to get at the entire archive without causing us huge bandwidth bills - it&#8217;s currently around 100GB in size.</p>
<p>So I&#8217;m please to announce <a href="http://torrents.geograph.org.uk/">http://torrents.geograph.org.uk/</a> where you will be able to download the entire archive via <a href="http://en.wikipedia.org/wiki/BitTorrent_(protocol)" title="Wikipedia page on BitTorrent">BitTorrent</a>!</p>
<p><strong>More details&#8230;</strong></p>
<p>We&#8217;re going to release the archive as a series of volumes, each containing around 50,000 images and weighing in at around 5GB. The <a href="http://torrents.geograph.org.uk/torrents/geograph_vol001_image_0_to_49999.torrent">first volume</a> is available now, with a smaller <a href="http://torrents.geograph.org.uk/torrents/sample.torrent">sample volume</a> which allows you to preview how the metadata is delivered.</p>
<p>All the metadata for each volume is delivered as a RDF formatted file called manifest.rdf, which should be self explanatory, here is a sample fragment:<br />
Look</p>
<p>&lt;rdf:Description rdf:about=&#8221;<strong>00/00/000014.jpg</strong>&#8220;&gt;<br />
&lt;dc:identifier&gt;<strong>http://www.geograph.org.uk/photo/14</strong>&lt;/dc:identifier&gt;<br />
&lt;dc:title&gt;<strong>Durdle Door from the east</strong>&lt;/dc:title&gt;<br />
&lt;dc:subject&gt;<strong>Coastline/Beaches</strong>&lt;/dc:subject&gt;<br />
&lt;dc:creator&gt;<strong>Helena Downton</strong>&lt;/dc:creator&gt;<br />
&lt;dc:dateSubmitted&gt;<strong>2005-03-06T10:20:26Z</strong>&lt;/dc:dateSubmitted&gt;<br />
&lt;georss:point relationshiptag=&#8221;is-picture-of&#8221;&gt;<strong>50.6205085825182 -2.27398572077417</strong>&lt;/georss:point&gt;<br />
&lt;georss:point relationshiptag=&#8221;was-taken-from&#8221;&gt;<strong>50.6211552007986 -2.26663784055893</strong>&lt;/georss:point&gt;<br />
&lt;dc:licence&gt;<strong>http://creativecommons.org/licenses/by-sa/2.0</strong>/&lt;/dc:licence&gt;<br />
&lt;dc:format&gt;<strong>image/jpeg</strong>&lt;/dc:format&gt;<br />
&lt;dc:type&gt;<strong>http://purl.org/dc/dcmitype/StillImage</strong>&lt;/dc:type&gt;<br />
&lt;dc:publisher&gt;<strong>www.geograph.org.uk</strong>&lt;/dc:publisher&gt;<br />
&lt;/rdf:Description&gt;</p>
<p><strong>How to download</strong></p>
<p>If you are new to using bittorrent, you will need some software, such as <a href="http://azureus.sourceforge.net/">Vuze (aka Azureus)</a> or <a href="http://www.utorrent.com/">uTorrent</a>. Once installed, go to  <a href="http://torrents.geograph.org.uk/">http://torrents.geograph.org.uk/</a> and click a torrent link to set it downloading - easy!</p>
<p><strong>Please seed!</strong></p>
<p>Please seed these torrents if you are able - simply leave your torrent client software running after your download has completed. You&#8217;ll be helping others to complete their downloads faster!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dixo.net/2008/06/30/geograph-torrents/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pastebin post filtering</title>
		<link>http://blog.dixo.net/2008/03/16/pastebin-post-filtering/</link>
		<comments>http://blog.dixo.net/2008/03/16/pastebin-post-filtering/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 07:56:42 +0000</pubDate>
		<dc:creator>lordelph</dc:creator>
		
		<category><![CDATA[Pastebin]]></category>

		<guid isPermaLink="false">http://blog.dixo.net/2008/03/16/pastebin-post-filtering/</guid>
		<description><![CDATA[As there&#8217;s been some cases of cracked email address lists being posted on pastebin recently, this week I tweaked the spam filtering to block such posts. A few legitimate posts got caught in the crossfire, causing a few more tweaks to the rules. 
If you&#8217;re having trouble posting something because pastebin says it looks like [...]]]></description>
			<content:encoded><![CDATA[<p>As there&#8217;s been some cases of cracked email address lists being posted on <a href="http://pastebin.com">pastebin </a>recently, this week I tweaked the spam filtering to block such posts. A few legitimate posts got caught in the crossfire, causing a few more tweaks to the rules. </p>
<p>If you&#8217;re having trouble posting something because pastebin says it looks like spam, post a sample in a comment below and I&#8217;ll see what I can do to improve it!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dixo.net/2008/03/16/pastebin-post-filtering/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Custom Mosaic Posters for Charity</title>
		<link>http://blog.dixo.net/2008/03/11/custom-mosaic-posters-for-charity/</link>
		<comments>http://blog.dixo.net/2008/03/11/custom-mosaic-posters-for-charity/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 22:48:39 +0000</pubDate>
		<dc:creator>lordelph</dc:creator>
		
		<category><![CDATA[Fun]]></category>

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

		<guid isPermaLink="false">http://blog.dixo.net/2008/03/11/custom-mosaic-posters-for-charity/</guid>
		<description><![CDATA[Many people enjoyed the 3rd birthday mosaic image I made for Geograph, so I&#8217;m now offering to make custom mosaics for anyone who wants one. All I ask in return is that you make a donation of whatever you can afford to Oxfam - see my fundraising page for details.
Here&#8217;s my first effort, an A2 [...]]]></description>
			<content:encoded><![CDATA[<p>Many people enjoyed the <a href="/2008/03/06/geograph-is-three/">3rd birthday mosaic</a> image I made for <a href="http://www.geograph.org.uk">Geograph</a>, so I&#8217;m now offering to make custom mosaics for anyone who wants one. All I ask in return is that you make a donation of whatever you can afford to Oxfam - see my <a href="http://justgiving.com/pauldixon">fundraising page</a> for details.</p>
<p>Here&#8217;s my first effort, an A2 sized poster based on <a href="http://www.geograph.org.uk/photo/379450">this</a> Geograph image by Michael Ely. Click for zoomable fun! </p>
<p><a href='/geograph3/mtb.html' title='Click for zoomable image'><img src='http://blog.dixo.net/wp-content/uploads/2008/03/mtb_mosaic2_thumb.jpg' alt='Mosaic' /></a></p>
<p>Thankyou so much to Michael for helping me towards my fundraising target of £1500.</p>
<p>The images are made from tiles drawn from Geograph images - thanks to the <a title="Complete Geograph picture credits" href="http://www.geograph.org.uk/credits/">thousands of photographers</a> who made that possible.</p>
<p>Get in touch if you&#8217;d like one too!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dixo.net/2008/03/11/custom-mosaic-posters-for-charity/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Geograph is Three!</title>
		<link>http://blog.dixo.net/2008/03/06/geograph-is-three/</link>
		<comments>http://blog.dixo.net/2008/03/06/geograph-is-three/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 09:15:40 +0000</pubDate>
		<dc:creator>lordelph</dc:creator>
		
		<category><![CDATA[Geograph]]></category>

		<guid isPermaLink="false">http://blog.dixo.net/2008/03/06/geograph-is-three/</guid>
		<description><![CDATA[Geograph went live on March 6th 2005 - three years on it has far surpassed all our expectations! Here is a small selection of the 700,000 images - click the picture for a zoomable version.

This mosaic is derived from Three Trees by David Crocker. Tiles drawn from images submitted to Geograph in 2007 - many [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Geograph web site" href="http://www.geograph.org.uk">Geograph </a>went live on March 6th 2005 - three years on it has far surpassed all our expectations! Here is a small selection of the 700,000 images - click the picture for a zoomable version.</p>
<p><a href="http://blog.dixo.net/geograph3/" title="Click image to zoom in on detail!"><img src='http://blog.dixo.net/wp-content/uploads/2008/03/mosaic48thumb.jpg' alt='Geograph is three' /></a></p>
<p>This mosaic is derived from <a title="View original image on Geograph website" href="http://www.geograph.org.uk/photo/65245">Three Trees</a> by David Crocker. Tiles drawn from images submitted to Geograph in 2007 - many thanks to the <a title="Complete Geograph picture credits" href="http://www.geograph.org.uk/credits/">thousands of photographers</a> who made that possible.</p>
<p>Naturally, the above image is <a title="Full size JPEG 3200x2400 pixels, 1.8MB" href="http://blog.dixo.net/geograph3/mosaic48.jpg">available for re-use</a> under a <a title="Creative Commons licence details" href="http://creativecommons.org/licenses/by-sa/2.0/uk/">Creative Commons 2.0 by-sa</a> licence!</p>
<p>The mosaic was created with <a href="http://www.complang.tuwien.ac.at/schani/metapixel/">Metapixel</a> and the zoomable version was generated with <a href="http://zoomify.com/express.htm">Zoomify</a>. Suggestions for more celebratory mosaics are welcome!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dixo.net/2008/03/06/geograph-is-three/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fire Eagle Invites - Want One?</title>
		<link>http://blog.dixo.net/2008/03/05/fire-eagle-invites-want-one/</link>
		<comments>http://blog.dixo.net/2008/03/05/fire-eagle-invites-want-one/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 21:01:41 +0000</pubDate>
		<dc:creator>lordelph</dc:creator>
		
		<category><![CDATA[Geodata]]></category>

		<guid isPermaLink="false">http://blog.dixo.net/2008/03/05/fire-eagle-invites-want-one/</guid>
		<description><![CDATA[I have a couple of spare invites for Yahoo&#8217;s new location service Fire Eagle, which had a limited beta launch today. Leave a comment if you want one.
I had a quick play earlier and as TechCrunch noted, it&#8217;s a little light on features right now! If nothing else, the current beta gives a glimpse of [...]]]></description>
			<content:encoded><![CDATA[<p>I have a couple of spare invites for Yahoo&#8217;s new location service <a href="http://fireeagle.yahoo.net/">Fire Eagle</a>, which had a limited beta launch today. Leave a comment if you want one.</p>
<p>I had a quick play earlier and as <a href="http://feeds.feedburner.com/~r/Techcrunch/~3/246310223/">TechCrunch</a> noted, it&#8217;s a little light on features right now! If nothing else, the current beta gives a glimpse of how they will manage the privacy issues surrounding a &#8220;always on&#8221; awareness of your location.</p>
<p>I might see what I can hack together to use it while doing the <a href="http://trailwalker.dixo.net/">Trailwalker Challenge</a> later this year!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dixo.net/2008/03/05/fire-eagle-invites-want-one/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Geohash PHP class</title>
		<link>http://blog.dixo.net/2008/02/28/geohash-php-class/</link>
		<comments>http://blog.dixo.net/2008/02/28/geohash-php-class/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 00:43:15 +0000</pubDate>
		<dc:creator>lordelph</dc:creator>
		
		<category><![CDATA[Geodata]]></category>

		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://blog.dixo.net/2008/02/28/geohash-php-class/</guid>
		<description><![CDATA[geohash.org popped up recently with a method of generating short hash codes for geographical locations. The codes have some interesting properties and the algorithm is documented on wikipedia.
I recently started doing a Project Euler problem a day as a fun diversion. I found the geohash algorithm intriguing, so it became my &#8220;Euler problem&#8221; for the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://geohash.org/">geohash.org</a> popped up recently with a method of generating short hash codes for geographical locations. The codes have some interesting properties and the algorithm is documented <a href="http://en.wikipedia.org/wiki/Geohash">on wikipedia</a>.</p>
<p>I recently started doing a <a href="http://projecteuler.net/">Project Euler</a> problem a day as a fun diversion. I found the geohash algorithm intriguing, so it became my &#8220;Euler problem&#8221; for the day! </p>
<p>Having done it, I&#8217;m not sure I&#8217;ll find a use for it myself, but if anyone else finds it handy, do let me know!</p>
<p><a href="/downloads/geohash-php-class/">Download it here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dixo.net/2008/02/28/geohash-php-class/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Munin plugin for graphing MySQL slave delay</title>
		<link>http://blog.dixo.net/2008/02/10/munin-plugin-for-graphing-mysql-slave-delay/</link>
		<comments>http://blog.dixo.net/2008/02/10/munin-plugin-for-graphing-mysql-slave-delay/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 11:41:26 +0000</pubDate>
		<dc:creator>lordelph</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://blog.dixo.net/2008/02/10/munin-plugin-for-graphing-mysql-slave-delay/</guid>
		<description><![CDATA[I wanted to track the delay of a mysql slave server in Munin, and found nothing appropriate after a quick google. So, in case anyone else finds it useful, here is a plugin which will allow you to do just that.
Here&#8217;s a typical graph:

Download:  mysql_slave (1 Kb)
EDIT: I wrote this so I could better [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to track the delay of a mysql slave server in <a href="http://munin.sourceforge.net/">Munin</a>, and found nothing appropriate after a quick google. So, in case anyone else finds it useful, here is a plugin which will allow you to do just that.</p>
<p>Here&#8217;s a typical graph:</p>
<p><img src='http://blog.dixo.net/wp-content/uploads/2008/02/slavedelay.png' alt='Slave Delay Graph' /></p>
<p>Download:  <a href="http://blog.dixo.net/mysql_slave">mysql_slave</a> (1 Kb)</p>
<p>EDIT: I wrote this so I could better understand the recovery time of a slave which had 13 hours of updates to catch up on. While it was good for that, it&#8217;s less useful for the day-to-day lag as munin will only be polling it every 5 minutes. A better way would be to use <a href="http://maatkit.sourceforge.net/doc/mk-heartbeat.html">mk-heartbeat</a> to get a more accurate moving average.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dixo.net/2008/02/10/munin-plugin-for-graphing-mysql-slave-delay/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I&#8217;m walking 62 miles in less than 30 hours!</title>
		<link>http://blog.dixo.net/2008/02/09/im-walking-62-miles-in-less-than-30-hours/</link>
		<comments>http://blog.dixo.net/2008/02/09/im-walking-62-miles-in-less-than-30-hours/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 12:48:46 +0000</pubDate>
		<dc:creator>lordelph</dc:creator>
		
		<category><![CDATA[Fun]]></category>

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

		<guid isPermaLink="false">http://blog.dixo.net/2008/02/09/im-walking-62-miles-in-less-than-30-hours/</guid>
		<description><![CDATA[I&#8217;ve formed a team to take on the Oxfam Trailwalker Challenge - a 62 mile walk on the South Downs that must be undertaken in less than 30 hours! Our training is well underway, and it looks like we&#8217;ll be shooting for around 25 hours. 
On the big day I&#8217;ll be sending pics and reports [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve formed a team to take on the Oxfam Trailwalker Challenge - a 62 mile walk on the South Downs that must be undertaken in less than 30 hours! Our training is well underway, and it looks like we&#8217;ll be shooting for around 25 hours. </p>
<p>On the big day I&#8217;ll be sending pics and reports to the <a href="http://trailwalker.dixo.net">team blog</a>, and you&#8217;ll also be able to send us messages of support via SMS too.</p>
<p>We&#8217;re hoping to raise £1500 for Oxfam, so if you can possibly afford it, please consider <a href="http://justgiving.com/pauldixon">sponsoring me</a>.</p>
<p>You can keep track of our training and out how to sponsor us on our team blog at <a href="http://trailwalker.dixo.net">http://trailwalker.dixo.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dixo.net/2008/02/09/im-walking-62-miles-in-less-than-30-hours/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Feyntube transforms YouTube comments into reasonable and smart ones</title>
		<link>http://blog.dixo.net/2008/01/22/feyntube-transforms-youtube-comments-into-reasonable-and-smart-ones/</link>
		<comments>http://blog.dixo.net/2008/01/22/feyntube-transforms-youtube-comments-into-reasonable-and-smart-ones/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 16:07:06 +0000</pubDate>
		<dc:creator>lordelph</dc:creator>
		
		<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://blog.dixo.net/2008/01/22/feyntube-transforms-youtube-comments-into-reasonable-and-smart-ones/</guid>
		<description><![CDATA[Tired of banal comments on YouTube videos? Now every comment can be intellectually stimulating by installing a GreaseMonkey script called Feyntube - turns every comment into a Richard Feynmann quote. 
(Blimey, my first post in months. Must try harder).
]]></description>
			<content:encoded><![CDATA[<p>Tired of banal comments on YouTube videos? Now every comment can be intellectually stimulating by installing a GreaseMonkey script called <a href="http://www.julien-oster.de/projects/feyntube/">Feyntube</a> - turns every comment into a Richard Feynmann quote. </p>
<p>(Blimey, my first post in months. Must try harder).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dixo.net/2008/01/22/feyntube-transforms-youtube-comments-into-reasonable-and-smart-ones/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MySQL gotcha using BETWEEN with dates</title>
		<link>http://blog.dixo.net/2007/11/16/mysql-gotcha-using-between-with-dates/</link>
		<comments>http://blog.dixo.net/2007/11/16/mysql-gotcha-using-between-with-dates/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 12:47:21 +0000</pubDate>
		<dc:creator>lordelph</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://blog.dixo.net/2007/11/16/mysql-gotcha-using-between-with-dates/</guid>
		<description><![CDATA[We just updated a development server from Ubuntu 6.06 to 6.10. As a result, MySQL went up a couple of point releases from 5.0.22 to 5.0.24a.
Suddenly, the web application we were working on stopped working. It wasn&#8217;t possible to log in.
We quickly narrowed it down to a clause in query which checked a users subscription [...]]]></description>
			<content:encoded><![CDATA[<p>We just updated a development server from Ubuntu 6.06 to 6.10. As a result, MySQL went up a couple of point releases from 5.0.22 to 5.0.24a.</p>
<p>Suddenly, the web application we were working on stopped working. It wasn&#8217;t possible to log in.</p>
<p>We quickly narrowed it down to a clause in query which checked a users subscription was valid by checking its start and end dates. It looked  bit like this:</p>
<pre>
SELECT foo FROM bar WHERE NOW() BETWEEN start AND end;
</pre>
<p>MySQL 5.0.22 returned rows, but 5.0.24 didn&#8217;t. After scratching our heads, I checked <a href="http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#operator_between">the manual:</a></p>
<blockquote><p>For best results when using BETWEEN with date or time values, you should use CAST() to explicitly convert the values to the desired data type. Examples: If you compare a DATETIME to two DATE values, convert the DATE values to DATETIME values. If you use a string constant such as &#8216;2001-1-1&#8242; in a comparison to a DATE, cast the string to a DATE.</p></blockquote>
<p>The phrase &#8220;best results&#8221; make it sound like we&#8217;re baking a cake, and that your query results will be fluffier and more flavoursome if you use CAST! What they actually mean is, if you&#8217;re comparing different date types, you&#8217;re screwed if you don&#8217;t cast. You might get nothing.</p>
<p>Sure enough, our start and end columns were dates, and using cast in the query worked just fine:</p>
<pre>
SELECT foo FROM bar WHERE <b>CAST(NOW() AS DATE)</b>  BETWEEN start AND end;
</pre>
<p>I couldn&#8217;t find anything directly related to this change in behaviour in the changelogs, but hopefully this will help someone out there&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dixo.net/2007/11/16/mysql-gotcha-using-between-with-dates/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
