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

<channel>
	<title>codemonkey.org.uk &#187; zune</title>
	<atom:link href="http://www.codemonkey.org.uk/tag/zune/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codemonkey.org.uk</link>
	<description>Dave Jones' Linux &#38; opensource stuff.</description>
	<lastBuildDate>Sat, 03 Jul 2010 23:33:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>More on leap seconds.</title>
		<link>http://www.codemonkey.org.uk/2008/12/31/leap-seconds-2/</link>
		<comments>http://www.codemonkey.org.uk/2008/12/31/leap-seconds-2/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 03:09:59 +0000</pubDate>
		<dc:creator>davej</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[leap second]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[qa]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[zune]]></category>

		<guid isPermaLink="false">http://www.codemonkey.org.uk/?p=43</guid>
		<description><![CDATA[Jesse Keating made a comment in my previous post on leap seconds, which I thought was worth highlighting in another post, for the benefit of those who don&#8217;t read the comments. This is why rarely executed codepaths suck. Whilst it is tempting to gloat over another Microsoft failure, this could easily have been any other [...]<p><a href="http://www.codemonkey.org.uk/2008/12/31/leap-seconds-2/">More on leap seconds.</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>



No related posts.]]></description>
			<content:encoded><![CDATA[<p>Jesse Keating made a comment in <a href="http://www.codemonkey.org.uk/2008/12/31/leap-seconds/">my previous post on leap seconds</a>, which I thought was worth highlighting in another post, for the benefit of those who don&#8217;t read the comments.</p>
<p><a href="http://zuneinsider.com/archive/2008/12/31/30gb-zune-issues-official-update.aspx">This is why rarely executed codepaths suck</a>.   Whilst it is tempting to gloat over another Microsoft failure, this could easily have been any other OS.  I already mentioned that Linux had suffered something similar once.  A bug like this in consumer devices is a nightmarish, but imagine if such a bug ended up in something more critical ?  &#8220;Sorry, your life support system went offline because there was a leap second&#8221;.  In safety critical systems, rare codepaths are kind of terrifying.</p>
<p>Writing test cases for bugs like this is also not particularly fun.  You&#8217;d have to have a fake ntp server for testing the rare case.<br />
Now think about all the other potential &#8216;only runs once every blue moon&#8217; codepaths in your apps, and imagine the effort required to write test plans for all of them. Not impossible, but certainly a lot of potential job security there for QA folks.  Just like fuzz-testing, traditional coverage-testing by just running common workloads aren&#8217;t the panacea of testing when there are variables outside your control.</p>
<p>What&#8217;s still puzzling to me though.. The Zunes died several hours before 00:00:00 UTC.<br />
Quirk of MSFT&#8217;s ntp implementation I guess. *shrug*</p>
<p><a href="http://www.codemonkey.org.uk/2008/12/31/leap-seconds-2/">More on leap seconds.</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.codemonkey.org.uk/2008/12/31/leap-seconds-2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
