<?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>the weekly whinge</title>
	<atom:link href="http://www.weeklywhinge.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.weeklywhinge.com</link>
	<description>words from the whinger-in-chief</description>
	<lastBuildDate>Tue, 25 May 2010 15:41:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>android alarm fail</title>
		<link>http://www.weeklywhinge.com/?p=276</link>
		<comments>http://www.weeklywhinge.com/?p=276#comments</comments>
		<pubDate>Tue, 25 May 2010 15:34:56 +0000</pubDate>
		<dc:creator>whinger</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://www.weeklywhinge.com/?p=276</guid>
		<description><![CDATA[Lesson number 36 of Android. Want your android phone&#8217;s alarm to wake you in the morning? Don&#8217;t kill the &#8220;clock&#8221; process. I thought that process was just the front-end bit. It seems not. Thank goodness Willow was there to remind me it was time for walkies&#8230;]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Verdana; font-size: small;">Lesson number 36 of Android.</span></p>
<p><span><span style="font-family: Verdana;">Want your android phone&#8217;s alarm to wake you in the morning? Don&#8217;t kill the &#8220;clock&#8221; process.</p>
<p>I thought that process was just the front-end bit. It seems not. Thank goodness <a title="Willow's early days" href="http://weeklywhinge.com/willow/" target="_blank">Willow</a> was there to remind me it was time for walkies&#8230;<br />
</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weeklywhinge.com/?feed=rss2&amp;p=276</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ntp suxx0r, d00d5</title>
		<link>http://www.weeklywhinge.com/?p=260</link>
		<comments>http://www.weeklywhinge.com/?p=260#comments</comments>
		<pubDate>Sun, 09 May 2010 19:08:53 +0000</pubDate>
		<dc:creator>whinger</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.weeklywhinge.com/?p=260</guid>
		<description><![CDATA[This Dr Dobbs article caught my eye when I was looking for a Windows Mobile NTP client (long story). I read it with some alarm as the introduction implies that they&#8217;ve found a fundamental problem with NTP and then became steadily more incredulous as I read the article to find that they were talking about [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ddj.com/embedded-systems/223000197">This Dr Dobbs article </a>caught my eye when I was looking for a Windows Mobile NTP client (long story). I read it with some alarm as the introduction implies that they&#8217;ve found a fundamental problem with NTP and then became steadily more incredulous as I read the article to find that they were talking about periodically running &#8211; on mission-critical systems, of course &#8211; ntpclient to synchronise with a single time source.</p>
<p>They&#8217;ve basically written up alarmist crap that&#8217;s worthy of the Daily Mail about the fact that if you use what&#8217;s essentially a test program against a single not-particularly-stable server it doesn&#8217;t work very well. Big surprise.</p>
<p>Does anyone really use ntpclient like that on a critical production server? I&#8217;d have thought configuring ntpd with a few ntp servers wasn&#8217;t exactly hard &#8211; there&#8217;s even a pretty noddy <a href="http://kbase.redhat.com/faq/docs/DOC-2148">Redhat howto for it</a>. And yet the title of the article (and especially the introduction) suggest that they&#8217;ve uncovered a fundamental problem with ntp.</p>
<p>I&#8217;m left wondering if timekeeper is a Dr Dobbs product, to be honest. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.weeklywhinge.com/?feed=rss2&amp;p=260</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MYSQL: Convert hex string to integer</title>
		<link>http://www.weeklywhinge.com/?p=256</link>
		<comments>http://www.weeklywhinge.com/?p=256#comments</comments>
		<pubDate>Fri, 07 May 2010 14:17:05 +0000</pubDate>
		<dc:creator>whinger</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.weeklywhinge.com/?p=256</guid>
		<description><![CDATA[So there&#8217;s a few places on the web asking how to do this; while it&#8217;s easy to do SELECT x'1fb5'; if you have the hex string stored in a field you can&#8217;t do that. The answer is to use CONV() ie SELECT CONV(myhexfield, 16, 10); It&#8217;s that simple.]]></description>
			<content:encoded><![CDATA[<p>So there&#8217;s a few places on the web asking how to do this; while it&#8217;s easy to do</p>
<p><code>SELECT x'1fb5';</code></p>
<p>if you have the hex string stored in a field you can&#8217;t do that.</p>
<p>The answer is to use <a href="http://dev.mysql.com/doc/refman/5.0/en/mathematical-functions.html#function_conv">CONV()</a></p>
<p>ie</p>
<p><code>SELECT CONV(myhexfield, 16, 10);</code></p>
<p>It&#8217;s that simple.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weeklywhinge.com/?feed=rss2&amp;p=256</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bargaintastic!!</title>
		<link>http://www.weeklywhinge.com/?p=249</link>
		<comments>http://www.weeklywhinge.com/?p=249#comments</comments>
		<pubDate>Tue, 04 May 2010 14:11:33 +0000</pubDate>
		<dc:creator>whinger</dc:creator>
				<category><![CDATA[Funny]]></category>

		<guid isPermaLink="false">http://www.weeklywhinge.com/?p=249</guid>
		<description><![CDATA[This is the latest offer from Tesco&#8217;s. Looks like a real bargain to me! Edit: they&#8217;ve since spotted this, and have made the juice more expensive (it&#8217;s now £1.35 or 3 for £4). I&#8217;m not sure that was quite what I was hinting at when I posted this&#8230;]]></description>
			<content:encoded><![CDATA[<p>This is the latest offer from Tesco&#8217;s. Looks like a real bargain to me!</p>
<p><img class="aligncenter size-full wp-image-250" title="Tesco's latest offer" src="http://www.weeklywhinge.com/wp-content/uploads/2010/05/tesco_bargain.jpg" alt="Tesco Orange Juice - £1.33 or 3 for £4!" width="597" height="327" /><br />
Edit: they&#8217;ve since spotted this, and have made the juice more expensive (it&#8217;s now £1.35 or 3 for £4). I&#8217;m not sure that was quite what I was hinting at when I posted this&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weeklywhinge.com/?feed=rss2&amp;p=249</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>linktastic</title>
		<link>http://www.weeklywhinge.com/?p=247</link>
		<comments>http://www.weeklywhinge.com/?p=247#comments</comments>
		<pubDate>Fri, 26 Mar 2010 16:34:13 +0000</pubDate>
		<dc:creator>whinger</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.weeklywhinge.com/?p=247</guid>
		<description><![CDATA[I don&#8217;t tend to post links, but this one just made me lol more than most.]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t tend to post links, but <a href="http://eatingoffthepeoplesprincess.tumblr.com/">this one</a> just made me lol more than most.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weeklywhinge.com/?feed=rss2&amp;p=247</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>come play our oh-so-hard game</title>
		<link>http://www.weeklywhinge.com/?p=240</link>
		<comments>http://www.weeklywhinge.com/?p=240#comments</comments>
		<pubDate>Fri, 12 Feb 2010 15:16:28 +0000</pubDate>
		<dc:creator>whinger</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.weeklywhinge.com/?p=240</guid>
		<description><![CDATA[So betfair have a £5 free bet game (probably only works if you already have an account, although I&#8217;m not sure of that) which at first glance looks like a scratchcard &#8211; you have to click on the three hearts from nine which have a £ behind them. Except that if (after clicking start) you [...]]]></description>
			<content:encoded><![CDATA[<p>So betfair have a <a href="https://promotions.betfair.com/valentines-game-1">£5 free bet game</a> (probably only works if you already have an account, although I&#8217;m not sure of that) which at first glance looks like a scratchcard &#8211; you have to click on the three hearts from nine which have a £ behind them. Except that if (after clicking start) you do nothing for a few seconds it quietly shows you which ones to click.</p>
<p>I guess it&#8217;s intentional but I don&#8217;t care: these free bet offers are great &#8211; I won £120 on the National this year risk-free and haven&#8217;t used my account since except for their free bet offers, and yet they keep on sending them to me <img src='http://www.weeklywhinge.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.weeklywhinge.com/?feed=rss2&amp;p=240</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>XP BSOD STOP 0&#120;0000007b after a virus scan</title>
		<link>http://www.weeklywhinge.com/?p=229</link>
		<comments>http://www.weeklywhinge.com/?p=229#comments</comments>
		<pubDate>Sun, 03 Jan 2010 19:06:53 +0000</pubDate>
		<dc:creator>whinger</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.weeklywhinge.com/?p=229</guid>
		<description><![CDATA[Scenario: heavily infected machine, drive attached to second machine and scanned; infected files deleted but when drive reinserted windows fails to boot with 0x0000007b blue screen STOP message. Lots of stuff on the internet about this, mostly suggesting hardware changes or faulty hardware. No-one mentions the virus scan. It turns out the reason is one [...]]]></description>
			<content:encoded><![CDATA[<p>Scenario: heavily infected machine, drive attached to second machine and scanned; infected files deleted but when drive reinserted windows fails to boot with 0x0000007b blue screen STOP message.</p>
<p>Lots of stuff on the internet about this, mostly suggesting hardware changes or faulty hardware. No-one mentions the virus scan. It turns out the reason is one of the files deleted by the virus scan is loaded during early boot.</p>
<p>I went through the list of files loaded by the machine (I was lucky that <a title="moonpoint.com" href="http://support.moonpoint.com/os/windows/debugging/WinDbg/Stop_0xC2_Error.php" target="_blank">this page</a> showed the list of files Windows loads on the machine &#8211; a Dell Dimension 2400) and checked the file existed on the target &#8211; the only one that was on my working install and not on the target was atapi.sys; copying this from the working machine solved the problem instantly.</p>
<p>I guess the sensible thing to do was to keep a track of the files deleted by the virus scan&#8230; but if &#8211; like me &#8211; you were too blasé to do something so sensible, I hope this helps some.</p>
<p><small>Edit: Note that on vista (unlike XP) you can run sfc /scannow from the recovery console</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weeklywhinge.com/?feed=rss2&amp;p=229</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flat( bat)tery will get you nowhere</title>
		<link>http://www.weeklywhinge.com/?p=226</link>
		<comments>http://www.weeklywhinge.com/?p=226#comments</comments>
		<pubDate>Mon, 09 Nov 2009 09:47:27 +0000</pubDate>
		<dc:creator>whinger</dc:creator>
				<category><![CDATA[Whinges]]></category>

		<guid isPermaLink="false">http://www.weeklywhinge.com/?p=226</guid>
		<description><![CDATA[Flat battery today. Some ignorant bitch decided that she would have strop at me because I asked her to go up over the pavement (while I had C&#8217;s car next to mine) and it &#8220;would damage her wheel&#8221;. Nice bit of understanding for your fellow man, honey, it&#8217;s not my fault you can&#8217;t drive well [...]]]></description>
			<content:encoded><![CDATA[<p>Flat battery today. Some ignorant bitch decided that she would have strop at me because I asked her to go up over the pavement (while I had C&#8217;s car next to mine) and it &#8220;would damage her wheel&#8221;.</p>
<p>Nice bit of understanding for your fellow man, honey, it&#8217;s not my fault you can&#8217;t drive well enough to go up and down on the dropped kerbs&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weeklywhinge.com/?feed=rss2&amp;p=226</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting juxtaposition&#8230;</title>
		<link>http://www.weeklywhinge.com/?p=219</link>
		<comments>http://www.weeklywhinge.com/?p=219#comments</comments>
		<pubDate>Fri, 23 Oct 2009 14:13:22 +0000</pubDate>
		<dc:creator>whinger</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[aldi]]></category>

		<guid isPermaLink="false">http://www.weeklywhinge.com/?p=219</guid>
		<description><![CDATA[In Aldi&#8216;s Sunday offers email&#8230;]]></description>
			<content:encoded><![CDATA[<p>In <a title="Aldi" href="http://www.aldi.co.uk/" target="_blank">Aldi</a>&#8216;s Sunday offers email&#8230;</p>
<p style="text-align: center;"><img class="size-full wp-image-218" title="Aldi Clip" src="http://www.weeklywhinge.com/wp-content/uploads/2009/10/juxt.gif" alt="Reciprocating Saw and My Little Baby Born" width="224" height="370" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.weeklywhinge.com/?feed=rss2&amp;p=219</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>your negative aura just zeroes me out</title>
		<link>http://www.weeklywhinge.com/?p=215</link>
		<comments>http://www.weeklywhinge.com/?p=215#comments</comments>
		<pubDate>Tue, 06 Oct 2009 14:55:26 +0000</pubDate>
		<dc:creator>whinger</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Whinges]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.weeklywhinge.com/?p=215</guid>
		<description><![CDATA[So in this post I talked about -COALESCE(null, 0) returning -0 in my legacy 5.0.15 mysql server and moaned that I couldn&#8217;t use -COALESCE(null, -0) to get around it. It occurred to me that this might be because the parser intercepts the &#8220;-0&#8243; and goes &#8220;don&#8217;t be silly&#8221;. So I tried this: SELECT -COALESCE(null, -COALESCE(null, [...]]]></description>
			<content:encoded><![CDATA[<p>So in <a href="/?p=91">this post</a> I talked about -COALESCE(null, 0) returning -0 in my legacy 5.0.15 mysql server and moaned that I couldn&#8217;t use -COALESCE(null, -0) to get around it.</p>
<p>It occurred to me that this might be because the <em>parser</em> intercepts the &#8220;-0&#8243; and goes &#8220;don&#8217;t be silly&#8221;. So I tried this:</p>
<p>SELECT -COALESCE(null, -COALESCE(null, 0))</p>
<p>and &#8211; genius! &#8211; it works!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weeklywhinge.com/?feed=rss2&amp;p=215</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
