 
<?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>james.lab6.com</title>
	<atom:link href="http://james.lab6.com/feed" rel="self" type="application/rss+xml" />
	<link>http://james.lab6.com</link>
	<description>james.lab6.com</description>
	<pubDate>Wed, 14 May 2008 16:46:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Preparing for a long long driv&#8230;</title>
		<link>http://james.lab6.com/2008/05/14/preparing-for-a-long-long-driv</link>
		<comments>http://james.lab6.com/2008/05/14/preparing-for-a-long-long-driv#comments</comments>
		<pubDate>Wed, 14 May 2008 16:46:05 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://james.lab6.com/2008/05/14/preparing-for-a-long-long-driv</guid>
		<description><![CDATA[Preparing for a long long drive to Anglesey.
]]></description>
			<content:encoded><![CDATA[<p>Preparing for a long long drive to Anglesey.</p>
]]></content:encoded>
			<wfw:commentRss>http://james.lab6.com/2008/05/14/preparing-for-a-long-long-driv/feed</wfw:commentRss>
		</item>
		<item>
		<title>Wearing my hat for the first t&#8230;</title>
		<link>http://james.lab6.com/2008/05/13/wearing-my-hat-for-the-first-t</link>
		<comments>http://james.lab6.com/2008/05/13/wearing-my-hat-for-the-first-t#comments</comments>
		<pubDate>Tue, 13 May 2008 16:36:30 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://james.lab6.com/2008/05/13/wearing-my-hat-for-the-first-t</guid>
		<description><![CDATA[Wearing my hat for the first time this year.
]]></description>
			<content:encoded><![CDATA[<p>Wearing my hat for the first time this year.</p>
]]></content:encoded>
			<wfw:commentRss>http://james.lab6.com/2008/05/13/wearing-my-hat-for-the-first-t/feed</wfw:commentRss>
		</item>
		<item>
		<title>Comparing JPEGs</title>
		<link>http://james.lab6.com/2008/05/11/comparing-jpegs</link>
		<comments>http://james.lab6.com/2008/05/11/comparing-jpegs#comments</comments>
		<pubDate>Sun, 11 May 2008 17:41:20 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://james.lab6.com/?p=705</guid>
		<description><![CDATA[Sometimes hard disks break - this is why we have backups. Sometimes parts of hard disks become silently corrupted and you don&#8217;t find out until months or years later when you come to view an old photo and find the top 20% intact followed by a field of grey - this is why we have [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes hard disks break - this is why we have backups. Sometimes parts of hard disks become silently corrupted and you don&#8217;t find out until months or years later when you come to view an old photo and find the top 20% intact followed by a field of grey - this is why we have incremental backups.</p>
<p>To compare today&#8217;s version of a file to last year&#8217;s version you might do something like this:</p>
<blockquote><pre>$ sha256sum newcopy.jpg oldcopy.jpg
ce5d948cf9bfe9d3709cef57016b4e1c6db5391b9efca4c1ef958fe557d81e1b  newcopy.jpg
56bb613661ebb20ab212f748caff2023f80f9854ada17c7001af4a1f9d30b6aa  oldcopy.jpg</pre>
</blockquote>
<p>The different checksums indicate differences in the file that a comparison of file size might not show up. But checking sums of JPEGs is complicated by software which modifies the EXIF header. Digikam, for example, will change the image header whenever you correct the timestamp, do a rotation, add a comment or tag, or basically do any metadata operation. The image itself might never be altered, but the JPEG file can go through many iterations. If your incremental backups are perfect, you should still be able to find a backed-up copy of what today&#8217;s file <i>should</i> be, but unless you&#8217;re using some kind of wicked insane ZFS system, your last backup will have a non-zero age.</p>
<p>In my particular case, I suspected a photo had become corrupted, but couldn&#8217;t prove it, as past versions from my rdiff-backup snapshots had a different checksum at different points in time, reflecting changes that had been made to the metadata by successive versions of Digikam and occasional tagging operations. Because the file <i>had</i> been changed, I couldn&#8217;t use checksums to prove the difference was due to corruption.</p>
<p><kbd>jhead</kbd> to the rescue!</p>
<p><kbd>jhead</kbd> is a JPEG metadata utility (and an Ubuntu package of the same name). Use it like this to strip all metadata out of a JPEG file, leaving only the pure image:</p>
<blockquote><pre>$ jhead -purejpg newcopy.jpg oldcopy.jpg
Modified: newcopy.jpg
Modified: oldcopy.jpg
$ sha256sum newcopy.jpg oldcopy.jpg
42f61a8e8d78153a41cc9c7fcb20055ed3e403c88366395a577bea64166218a9 newcopy.jpg
42f61a8e8d78153a41cc9c7fcb20055ed3e403c88366395a577bea64166218a9 oldcopy.jpg</pre>
</blockquote>
<p>As it turned out, the image was not corrupted at all! Yay!</p>
]]></content:encoded>
			<wfw:commentRss>http://james.lab6.com/2008/05/11/comparing-jpegs/feed</wfw:commentRss>
		</item>
		<item>
		<title>I proposed to Rhiannon today! &#8230;</title>
		<link>http://james.lab6.com/2008/05/04/i-proposed-to-rhiannon-today</link>
		<comments>http://james.lab6.com/2008/05/04/i-proposed-to-rhiannon-today#comments</comments>
		<pubDate>Sun, 04 May 2008 17:33:12 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://james.lab6.com/2008/05/04/i-proposed-to-rhiannon-today</guid>
		<description><![CDATA[I proposed to Rhiannon today! :)
]]></description>
			<content:encoded><![CDATA[<p>I proposed to Rhiannon today! :)</p>
]]></content:encoded>
			<wfw:commentRss>http://james.lab6.com/2008/05/04/i-proposed-to-rhiannon-today/feed</wfw:commentRss>
		</item>
		<item>
		<title>At a wedding!</title>
		<link>http://james.lab6.com/2008/05/02/at-a-wedding</link>
		<comments>http://james.lab6.com/2008/05/02/at-a-wedding#comments</comments>
		<pubDate>Fri, 02 May 2008 19:03:15 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://james.lab6.com/2008/05/02/at-a-wedding</guid>
		<description><![CDATA[At a wedding!
]]></description>
			<content:encoded><![CDATA[<p>At a wedding!</p>
]]></content:encoded>
			<wfw:commentRss>http://james.lab6.com/2008/05/02/at-a-wedding/feed</wfw:commentRss>
		</item>
		<item>
		<title>Having an eye test for the fir&#8230;</title>
		<link>http://james.lab6.com/2008/04/27/having-an-eye-test-for-the-fir</link>
		<comments>http://james.lab6.com/2008/04/27/having-an-eye-test-for-the-fir#comments</comments>
		<pubDate>Sun, 27 Apr 2008 12:41:22 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://james.lab6.com/2008/04/27/having-an-eye-test-for-the-fir</guid>
		<description><![CDATA[Having an eye test for the first time in about 2 years.
]]></description>
			<content:encoded><![CDATA[<p>Having an eye test for the first time in about 2 years.</p>
]]></content:encoded>
			<wfw:commentRss>http://james.lab6.com/2008/04/27/having-an-eye-test-for-the-fir/feed</wfw:commentRss>
		</item>
		<item>
		<title>Back in the city centre consum&#8230;</title>
		<link>http://james.lab6.com/2008/04/27/back-in-the-city-centre-consum</link>
		<comments>http://james.lab6.com/2008/04/27/back-in-the-city-centre-consum#comments</comments>
		<pubDate>Sun, 27 Apr 2008 11:41:26 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://james.lab6.com/2008/04/27/back-in-the-city-centre-consum</guid>
		<description><![CDATA[Back in the city centre consuming&#8230;
]]></description>
			<content:encoded><![CDATA[<p>Back in the city centre consuming&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://james.lab6.com/2008/04/27/back-in-the-city-centre-consum/feed</wfw:commentRss>
		</item>
		<item>
		<title>Walked into Game and just aske&#8230;</title>
		<link>http://james.lab6.com/2008/04/25/walked-into-game-and-just-aske</link>
		<comments>http://james.lab6.com/2008/04/25/walked-into-game-and-just-aske#comments</comments>
		<pubDate>Fri, 25 Apr 2008 19:42:51 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://james.lab6.com/2008/04/25/walked-into-game-and-just-aske</guid>
		<description><![CDATA[Walked into Game and just asked for a copy of Wii Fit and they had one!
]]></description>
			<content:encoded><![CDATA[<p>Walked into Game and just asked for a copy of Wii Fit and they had one!</p>
]]></content:encoded>
			<wfw:commentRss>http://james.lab6.com/2008/04/25/walked-into-game-and-just-aske/feed</wfw:commentRss>
		</item>
		<item>
		<title>Dark Season</title>
		<link>http://james.lab6.com/2008/04/24/dark-season</link>
		<comments>http://james.lab6.com/2008/04/24/dark-season#comments</comments>
		<pubDate>Thu, 24 Apr 2008 20:21:27 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

		<guid isPermaLink="false">http://james.lab6.com/?p=699</guid>
		<description><![CDATA[In 1991 there was a childrens&#8217; television series called Dark Season. I recall thinking it was brilliant at the time. It was written by Russell T Davies, who is now the executive producer and writer of Doctor Who. The story centred on a sinister plot to take over childrens&#8217; minds by distributing free computers.
Meanwhile, One [...]]]></description>
			<content:encoded><![CDATA[<p>In 1991 there was a childrens&#8217; television series called <a href="http://en.wikipedia.org/wiki/Dark_Season">Dark Season</a>. I recall thinking it was brilliant at the time. It was written by Russell T Davies, who is now the executive producer and writer of Doctor Who. The story centred on a sinister plot to take over childrens&#8217; minds by distributing free computers.</p>
<p>Meanwhile, <a href="http://arstechnica.com/news.ars/post/20080424-negroponte-developers-at-odds-over-future-of-olpc-platform.html">One Laptop Per Child</a> appears to be running into difficulties. The project&#8217;s <a href="http://arstechnica.com/news.ars/post/20080422-exodus-of-key-figures-from-olpc-a-troubling-sign-for-project.html">&#8220;extreme dependence on scale to bring down cost&#8221;</a> is <a href="http://james.lab6.com/2007/10/05/one-laptop-per-comrade">worryingly familiar</a>; like collective farming, their economies of scale have not yet been great enough to overcome the massive disadvantages of central planning.</p>
<p>And now <a href="http://aseigo.blogspot.com/2008/04/deploying-kde-to-52-million-young.html">Brazil is rolling out KDE to 52,000,000 children</a>. The project is called &#8220;Um Computador por Aluno&#8221; - One Computer Per Student. It may not match the headline features of OLPC, like mesh networking and a cool low-power display, but it looks more likely to work in the real world. In this respect, OLPC may be more like the Soviet space programme than the Soviet state farms: the standout achievements of the Russians, like Sputnik and Yuri Gagarin, were impressive and noteworthy, but the system ultimately couldn&#8217;t compete with the more open and dynamic American space programme.</p>
]]></content:encoded>
			<wfw:commentRss>http://james.lab6.com/2008/04/24/dark-season/feed</wfw:commentRss>
		</item>
		<item>
		<title>Avocado + Soy Sauce = Awesome!</title>
		<link>http://james.lab6.com/2008/04/24/avocado-soy-sauce-awesome</link>
		<comments>http://james.lab6.com/2008/04/24/avocado-soy-sauce-awesome#comments</comments>
		<pubDate>Thu, 24 Apr 2008 18:44:29 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://james.lab6.com/2008/04/24/avocado-soy-sauce-awesome</guid>
		<description><![CDATA[Avocado + Soy Sauce = Awesome!
]]></description>
			<content:encoded><![CDATA[<p>Avocado + Soy Sauce = Awesome!</p>
]]></content:encoded>
			<wfw:commentRss>http://james.lab6.com/2008/04/24/avocado-soy-sauce-awesome/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.767 seconds -->
