<?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>coderanger.com blog</title>
	<atom:link href="http://www.coderanger.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.coderanger.com/blog</link>
	<description>news about what I am developing and other random thoughts</description>
	<lastBuildDate>Tue, 27 Sep 2011 17:36:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Useful JavaScript Date Methods</title>
		<link>http://www.coderanger.com/blog/?p=84</link>
		<comments>http://www.coderanger.com/blog/?p=84#comments</comments>
		<pubDate>Tue, 27 Sep 2011 17:11:20 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.coderanger.com/blog/?p=84</guid>
		<description><![CDATA[I needed an easy way to add or subtract months from a JavaScript date and have it do it correctly for situations like the end of the month where the new month has different days, but also for it to roll backward/forward to a different year when necessary. Here is a simple solution which extends [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 5px; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D84"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D84&amp;source=coderanger&amp;style=normal&amp;service=bit.ly&amp;service_api=R_89e5fcd3ecd3a193dfa92625ffb99bd5&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I needed an easy way to add or subtract months from a JavaScript date and have it do it correctly for situations like the end of the month where the new month has different days, but also for it to roll backward/forward to a different year when necessary.</p>
<p>Here is a simple solution which extends the built-in Date class:</p>
<pre title="code" class="javascript">Date.prototype.addMonths = function( months )
{
	var monthsTotal = this.getMonth() + this.getYear() * 12 + months;
	var day = this.getDate();
	var year = monthsTotal / 12;
	var month = monthsTotal % 12;

	var maxDays = this.getDaysInMonth( year, month );
	if( day > maxDays )
	{
		day = maxDays;
		OutputLog( "day: " + day );
	}

	this.setYear( year );
	this.setMonth( month );
	this.setDate( day );
}

Date.prototype.getDaysInMonth = function( year, month )
{
	var days = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ];

	//
	//	Check for leap year
	if( month == 1 &#038;&#038; year % 4 == 0 &#038;&#038; ( year % 100 || year % 400 == 0 ) )
	{
		return 29;
	}

	return days[ month ];
}</pre>
<p>You would use these new methods as follows:</p>
<pre title="code" class="javascript">var test = new Date( 2011, 2, 30, 06, 10, 11 );
test.addMonths( -1 );
alert( test);

test = new Date( 2011, 1, 30, 06, 10, 11 );
test.addMonths( 12 );
alert( test );</pre>
<p>And here is an additional useful method to provide a way of returning the month name:</p>
<pre title="code" class="javascript">Date.prototype.getMonthName = function()
{
	var names = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ];

	return names[ this.getMonth() ];
}</pre>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://delicious.com/post?url=http://www.coderanger.com/blog/?p=84&amp;title=Useful+JavaScript+Date+Methods" title="Post to Delicious"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.coderanger.com/blog/?p=84&amp;t=Useful+JavaScript+Date+Methods" title="Post to Facebook"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.coderanger.com/blog/?p=84&amp;title=Useful+JavaScript+Date+Methods" title="Post to Reddit"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.coderanger.com/blog/?p=84&amp;title=Useful+JavaScript+Date+Methods" title="Post to StumbleUpon"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.coderanger.com/blog/?feed=rss2&#038;p=84</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning C#</title>
		<link>http://www.coderanger.com/blog/?p=75</link>
		<comments>http://www.coderanger.com/blog/?p=75#comments</comments>
		<pubDate>Mon, 19 Apr 2010 21:00:25 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.coderanger.com/blog/?p=75</guid>
		<description><![CDATA[I thought I would finally take the plunge and start reading that mammoth book on C# and .net 3.5 that I bought ages ago. Phew, there is a lot to go over but I have found a few things that sound great and a few things that really concern me. Good: No more worrying about [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 5px; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D75"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D75&amp;source=coderanger&amp;style=normal&amp;service=bit.ly&amp;service_api=R_89e5fcd3ecd3a193dfa92625ffb99bd5&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I thought I would finally take the plunge and start reading that mammoth book on C# and .net 3.5 that I bought ages ago.</p>
<p>Phew, there is a lot to go over but I have found a few things that sound great and a few things that really concern me.</p>
<ul>
<li><strong>Good:</strong> No more worrying about Unicode and 64 bit. From what I have read its all Unicode under the hood and the runtime chooses 64 or 32 bit depending on the OS so you dont have to worry about it.</li>
<li><strong>Bad:</strong> No optional parameters on method calls. WHAT, I was soooo shocked that this wasnt available, are we back to VB days &#8230; it appears so. However I have read that .net 4 does have support for optional parameters but what worries me is that I had presumed that this sort of basic thing was a given, so what else am I presuming?</li>
<li><strong>Bad:</strong> ByRef/ByValue confusion. Now this is something I am totally confused about, it feels like VB where some things are passed by reference and others by value; unless you have read the documentation and thoroughly understand and remember things then you just won&#8217;t know. But then you are totally screwed if you have ValueTypes and ReferenceTypes embedded within each other, you just cannot presume any sort of basic understanding of what might happen without a full understanding of any objects you are using. For example, a <strong>struct</strong> is a ValueType and is passed by value unless you explicitly use the <strong>ref</strong> keyword, whereas a <strong>class</strong> is a ReferenceType and is allocated on the heap and is always by reference</li>
<li><strong>Bad:</strong> No implicit stack/heap allocation. Things are done automatically for you so you do not have to worry; but what if you want to do things like allocate a number on the heap, well tough thats just too advanced for your little brain, sorry! This is where I have the biggest problem; with C/C++ you just always knew what was gonna happen, everything was on the stack and went out of scope unless you allocated it on the heap with <strong>new</strong>; now in C# <strong>new</strong> doesn&#8217;t do anything but call the default constructor on the object and any embedded objects (huh), why bother with that, why not do that by default and do away with <strong>new</strong> altogether &#8230; I am clearly misunderstanding something here</li>
<li><strong>Good:</strong> I like the way you can define the type of an enum, whether its a Byte or an Int32 (by default), this is useful for serialisation; I also like the way you can find out the &#8216;string&#8217; representation of any type value.</li>
<li><strong>Good:</strong> I like the way you can use <strong>int</strong> and it will always be an <strong>Int32</strong> on all OS&#8217;s and languages that support .net; <strong>long</strong> will always be an <strong>Int64</strong> where the OS supports it (e.g. not on embedded devices)</li>
</ul>
<p>I will carry on reading and learning and see what other things are thrown up &#8230; hopefully I will be corrected on the above as I find out more.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://delicious.com/post?url=http://www.coderanger.com/blog/?p=75&amp;title=Learning+C%23" title="Post to Delicious"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.coderanger.com/blog/?p=75&amp;t=Learning+C%23" title="Post to Facebook"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.coderanger.com/blog/?p=75&amp;title=Learning+C%23" title="Post to Reddit"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.coderanger.com/blog/?p=75&amp;title=Learning+C%23" title="Post to StumbleUpon"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.coderanger.com/blog/?feed=rss2&#038;p=75</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t blame others Sir Richard, look closer to home</title>
		<link>http://www.coderanger.com/blog/?p=74</link>
		<comments>http://www.coderanger.com/blog/?p=74#comments</comments>
		<pubDate>Mon, 26 Oct 2009 15:17:13 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[sky virgin general]]></category>

		<guid isPermaLink="false">http://www.coderanger.com/blog/?p=74</guid>
		<description><![CDATA[After reading Digital Spy report on @richardbranson&#8217;s attack on Sky TV, it saddens me that he (whom I respect a great deal) blames Sky in much the same way as he did British Airways &#8230; the two are not the same. The simple fact is that Sky TV can be used by anyone in the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 5px; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D74"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D74&amp;source=coderanger&amp;style=normal&amp;service=bit.ly&amp;service_api=R_89e5fcd3ecd3a193dfa92625ffb99bd5&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>After reading <a href='http://www.digitalspy.co.uk/broadcasting/news/a183329/branson-attacks-skys-pay-tv-dominance.html'>Digital Spy report</a> on @richardbranson&#8217;s attack on Sky TV, it saddens me that he (whom I respect a great deal) blames Sky in much the same way as he did British Airways &#8230; the two are not the same.</p>
<p>The simple fact is that Sky TV can be used by anyone in the UK, Virgin Cable cannot; if cable covered the same territories then there would be a fair argument for anti-competitive behaviour but they will never beat Sky or come close due to the fundamental technology they have and the cost in pushing it to others &#8230; what is their investment in rural cabling by-the-way, or in-fact any new cabling (instead of upgrading existing infrastructure).</p>
<p>Personally I would love the choice, but I have none so I am stuck with Sky (which I am happy with anyway at the moment) &#8230; but it would be nice for some competition to drive prices down a bit.</p>
<p>Its simply not Sky&#8217;s fault, it is only Virgin&#8217;s fault and that will never change as I do not see Virgin ever cabling non-metro areas.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://delicious.com/post?url=http://www.coderanger.com/blog/?p=74&amp;title=Don%E2%80%99t+blame+others+Sir+Richard%2C+look+closer+to+home" title="Post to Delicious"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.coderanger.com/blog/?p=74&amp;t=Don%E2%80%99t+blame+others+Sir+Richard%2C+look+closer+to+home" title="Post to Facebook"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.coderanger.com/blog/?p=74&amp;title=Don%E2%80%99t+blame+others+Sir+Richard%2C+look+closer+to+home" title="Post to Reddit"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.coderanger.com/blog/?p=74&amp;title=Don%E2%80%99t+blame+others+Sir+Richard%2C+look+closer+to+home" title="Post to StumbleUpon"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.coderanger.com/blog/?feed=rss2&#038;p=74</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Only one life</title>
		<link>http://www.coderanger.com/blog/?p=73</link>
		<comments>http://www.coderanger.com/blog/?p=73#comments</comments>
		<pubDate>Thu, 22 Oct 2009 10:52:54 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.coderanger.com/blog/?p=73</guid>
		<description><![CDATA[American novelist Louis Auchincloss: &#8220;A man can spend his whole existence never learning the simple lesson that he has only one life and that if he fails to do what he wants with it, nobody else really cares.&#8221; Posted via email from coderanger&#8217;s posterous]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 5px; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D73"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D73&amp;source=coderanger&amp;style=normal&amp;service=bit.ly&amp;service_api=R_89e5fcd3ecd3a193dfa92625ffb99bd5&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>American novelist Louis Auchincloss:</strong> <br />&#8220;A man can spend his whole existence never learning the simple lesson that he has only one life and that if he fails to do what he wants with it, nobody else really cares.&#8221;</p>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via email</a>   from <a href="http://coderanger.posterous.com/only-one-life">coderanger&#8217;s posterous</a>  </p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://delicious.com/post?url=http://www.coderanger.com/blog/?p=73&amp;title=Only+one+life" title="Post to Delicious"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.coderanger.com/blog/?p=73&amp;t=Only+one+life" title="Post to Facebook"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.coderanger.com/blog/?p=73&amp;title=Only+one+life" title="Post to Reddit"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.coderanger.com/blog/?p=73&amp;title=Only+one+life" title="Post to StumbleUpon"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.coderanger.com/blog/?feed=rss2&#038;p=73</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh what new TV to get?</title>
		<link>http://www.coderanger.com/blog/?p=71</link>
		<comments>http://www.coderanger.com/blog/?p=71#comments</comments>
		<pubDate>Sun, 04 Oct 2009 14:25:50 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.coderanger.com/blog/?p=71</guid>
		<description><![CDATA[I popped into the large Curry&#8217;s electrical store in Exeter today whilst taking the kids for a pizza to have a little look around at the TVs &#8230;&#160;I have been sort of hankering after getting an LCD or Plasma TV for a while but have been putting it off due to the expense, but my [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 5px; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D71"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D71&amp;source=coderanger&amp;style=normal&amp;service=bit.ly&amp;service_api=R_89e5fcd3ecd3a193dfa92625ffb99bd5&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://coderanger.com/i/blog/flat-screen-TV.jpg" alt="Flat screen tv" align='right' style="padding:5px;" /><br />
I popped into the large Curry&#8217;s electrical store in Exeter today whilst taking the kids for a pizza to have a little look around at the TVs &#8230;&nbsp;I have been sort of hankering after getting an LCD or Plasma TV for a while but have been putting it off due to the expense, but my big&nbsp;fat Sony CRT is starting to lose its colour (its only a few years old so why I ask is it doing that, but that&#8217;s another question and story) and everything goes a bit pink for a while, so I might finally indulge myself.</p>
<p>To be honest it is also the first time I have seen a proper&nbsp;HD picture and the difference side-by-side with a non-HD picture is absolutely amazing, but only through a BluRay player, the Disney animations like Wall-E were particularly startling, the HD picture through Freesat or Sky was absolutely terrible, compressed so much to be a pointless exercise.</p>
<p>After looking first at the size of screen, I think a 40 or 42&#8243; would be the maximum size that we could comfortably have for our size and shape of living room, but how do I choose; the sizes of TV are scattered around, you cannot compare one size TV with other makes and models of the same size against each other.</p>
<p>Coupled with the fact of them being scattered about, some were playing BluRay HD but most werent, the only ones that were playing BluRay were the most expensive ones, like the LED Backlit LCD TVs making them look far far far better than any others giving them a really unfair advantage &#8230;&nbsp;<em>yes this does look great but its because its the only one playing from a decent source</em>!</p>
<p>You would think buying a TV would be fairly straightforward, pick the size you want and the one with the best picture; but no, I cannot see how that could be done without spending an entire day and your own personal assistant to plug in and play the same DVD in each set in turn to compare them.</p>
<p>I feared this was a totally impossible task and it put me off completely (not helped was a wife and two kids who wouldn&#8217;t have enjoyed this experience at all) &#8230; Curry&#8217;s could have sold me a TV easily today, instead I walked out the store disheartened and empty-handed.</p>
<p>Fail to Curry&#8217;s on multiple fronts I think!</p>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via web</a>   from <a href="http://coderanger.posterous.com/oh-what-new-tv-to-get">coderanger&#8217;s posterous</a> </p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://delicious.com/post?url=http://www.coderanger.com/blog/?p=71&amp;title=Oh+what+new+TV+to+get%3F" title="Post to Delicious"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.coderanger.com/blog/?p=71&amp;t=Oh+what+new+TV+to+get%3F" title="Post to Facebook"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.coderanger.com/blog/?p=71&amp;title=Oh+what+new+TV+to+get%3F" title="Post to Reddit"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.coderanger.com/blog/?p=71&amp;title=Oh+what+new+TV+to+get%3F" title="Post to StumbleUpon"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.coderanger.com/blog/?feed=rss2&#038;p=71</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Great post on famous people&#8217;s working spaces</title>
		<link>http://www.coderanger.com/blog/?p=70</link>
		<comments>http://www.coderanger.com/blog/?p=70#comments</comments>
		<pubDate>Sat, 26 Sep 2009 15:25:59 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.coderanger.com/blog/?p=70</guid>
		<description><![CDATA[http://m.lifehacker.com/site?sid=lifehacker&#038;pid=JuicerHub&#038;targetUrl=http%3A%2F%2Flifehacker.com%2F5367129%2Fnine-workspaces-where-famous-folks-get-stuff-done%3Fop%3Dpost%26refId%3D5367129 Posted via email from coderanger&#8217;s posterous]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 5px; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D70"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D70&amp;source=coderanger&amp;style=normal&amp;service=bit.ly&amp;service_api=R_89e5fcd3ecd3a193dfa92625ffb99bd5&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://m.lifehacker.com/site?sid=lifehacker&#038;pid=JuicerHub&#038;targetUrl=http%3A%2F%2Flifehacker.com%2F5367129%2Fnine-workspaces-where-famous-folks-get-stuff-done%3Fop%3Dpost%26refId%3D5367129">http://m.lifehacker.com/site?sid=lifehacker&#038;pid=JuicerHub&#038;targetUrl=http%3A%2F%2Flifehacker.com%2F5367129%2Fnine-workspaces-where-famous-folks-get-stuff-done%3Fop%3Dpost%26refId%3D5367129</a>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via email</a>   from <a href="http://coderanger.posterous.com/great-post-on-famous-peoples-working-spaces">coderanger&#8217;s posterous</a>  </p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://delicious.com/post?url=http://www.coderanger.com/blog/?p=70&amp;title=Great+post+on+famous+people%E2%80%99s+working+spaces" title="Post to Delicious"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.coderanger.com/blog/?p=70&amp;t=Great+post+on+famous+people%E2%80%99s+working+spaces" title="Post to Facebook"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.coderanger.com/blog/?p=70&amp;title=Great+post+on+famous+people%E2%80%99s+working+spaces" title="Post to Reddit"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.coderanger.com/blog/?p=70&amp;title=Great+post+on+famous+people%E2%80%99s+working+spaces" title="Post to StumbleUpon"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.coderanger.com/blog/?feed=rss2&#038;p=70</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Reasons Pair Programming Is Not For the Masses</title>
		<link>http://www.coderanger.com/blog/?p=69</link>
		<comments>http://www.coderanger.com/blog/?p=69#comments</comments>
		<pubDate>Thu, 24 Sep 2009 13:03:53 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.coderanger.com/blog/?p=69</guid>
		<description><![CDATA[Great article by Obie Fernandez. To be honest I do use pair programming occasionally, normally to check over code that is important to be right as it&#8217;s a fundamental concept, or when I want to get the design right first time, or something that is difficult to fix later on if broken; but he has [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 5px; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D69"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D69&amp;source=coderanger&amp;style=normal&amp;service=bit.ly&amp;service_api=R_89e5fcd3ecd3a193dfa92625ffb99bd5&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a title="Great article by Obie Fernandez" href="http://blog.obiefernandez.com/content/2009/09/10-reasons-pair-programming-is-not-for-the-masses.html">Great article by Obie Fernandez</a>. To be honest I do use pair programming occasionally, normally to check over code that is important to be right as it&#8217;s a fundamental concept, or when I want to get the design right first time, or something that is difficult to fix later on if broken; but he has some great points in using it completely full-time</p>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via web</a> from <a href="http://coderanger.posterous.com/10-reasons-pair-programming-is-not-for-the-ma">coderanger&#8217;s posterous</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://delicious.com/post?url=http://www.coderanger.com/blog/?p=69&amp;title=10+Reasons+Pair+Programming+Is+Not+For+the+Masses" title="Post to Delicious"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.coderanger.com/blog/?p=69&amp;t=10+Reasons+Pair+Programming+Is+Not+For+the+Masses" title="Post to Facebook"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.coderanger.com/blog/?p=69&amp;title=10+Reasons+Pair+Programming+Is+Not+For+the+Masses" title="Post to Reddit"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.coderanger.com/blog/?p=69&amp;title=10+Reasons+Pair+Programming+Is+Not+For+the+Masses" title="Post to StumbleUpon"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.coderanger.com/blog/?feed=rss2&#038;p=69</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHOTO: Australia&#8217;s worst dust storm in 70 years</title>
		<link>http://www.coderanger.com/blog/?p=68</link>
		<comments>http://www.coderanger.com/blog/?p=68#comments</comments>
		<pubDate>Wed, 23 Sep 2009 21:38:57 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.coderanger.com/blog/?p=68</guid>
		<description><![CDATA[Seen by Matt on September 23 2009: Australia’s worst dust storm in 70 years leads to some amazing photos (above by tomhide). More dust storm photos at Flickr. via 37signals.com Some amazing photos to look at Posted via web from coderanger&#8217;s posterous]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 5px; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D68"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D68&amp;source=coderanger&amp;style=normal&amp;service=bit.ly&amp;service_api=R_89e5fcd3ecd3a193dfa92625ffb99bd5&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<div class="posterous_bookmarklet_entry">
<blockquote>
<div>
<p>Seen by Matt on September 23 2009: </p>
<div>
<div>
<div><a href="http://s3.amazonaws.com/37assets/svn/3945958990_07ebbc48ef_o-ca0d608afb8e76a41e5fcd9c0ce35d4e.jpg" target="_blank"><img src="http://s3.amazonaws.com/37assets/svn/thumb-3945958990_07ebbc48ef_o-ca0d608afb8e76a41e5fcd9c0ce35d4e.jpg" height="333" alt="3945958990_07ebbc48ef_o.jpg" width="500" /></a>
</p>
</div>
<div>
<p>Australia’s worst <a href="http://news.yahoo.com/s/ap/as_australia_dust_storm">dust storm</a> in 70 years leads to some amazing photos (<a href="http://www.flickr.com/photos/tomhide/3945958990/">above</a> by <a href="http://www.flickr.com/photos/tomhide/">tomhide</a>). <a href="http://www.flickr.com/photos/plasticbag/galleries/72157622310168099/">More dust storm photos at Flickr.</a></p>
</div>
</div>
</div>
</div>
</blockquote>
<div class="posterous_quote_citation">via <a href="http://37signals.com/svn/posts/1937-australias-worst-dust-storm-in-70-years">37signals.com</a></div>
<p>Some amazing photos to look at</p>
</div>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via web</a>   from <a href="http://coderanger.posterous.com/photo-australias-worst-dust-storm-in-70-years">coderanger&#8217;s posterous</a>  </p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://delicious.com/post?url=http://www.coderanger.com/blog/?p=68&amp;title=PHOTO%3A+Australia%E2%80%99s+worst+dust+storm+in+70+years" title="Post to Delicious"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.coderanger.com/blog/?p=68&amp;t=PHOTO%3A+Australia%E2%80%99s+worst+dust+storm+in+70+years" title="Post to Facebook"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.coderanger.com/blog/?p=68&amp;title=PHOTO%3A+Australia%E2%80%99s+worst+dust+storm+in+70+years" title="Post to Reddit"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.coderanger.com/blog/?p=68&amp;title=PHOTO%3A+Australia%E2%80%99s+worst+dust+storm+in+70+years" title="Post to StumbleUpon"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.coderanger.com/blog/?feed=rss2&#038;p=68</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Office Ribbon broken IMO</title>
		<link>http://www.coderanger.com/blog/?p=67</link>
		<comments>http://www.coderanger.com/blog/?p=67#comments</comments>
		<pubDate>Wed, 23 Sep 2009 21:14:51 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.coderanger.com/blog/?p=67</guid>
		<description><![CDATA[Having installed the latest Office on a new laptop for my wife I am absolutely dumbfounded at some of the design decisions with it. As my wife said, &#8220;how do I open a document or even create a new document?&#8221; &#8230; hmmm you have to click the weird logo in the top left to get [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 5px; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D67"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D67&amp;source=coderanger&amp;style=normal&amp;service=bit.ly&amp;service_api=R_89e5fcd3ecd3a193dfa92625ffb99bd5&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Having installed the latest Office on a new laptop for my wife I am absolutely dumbfounded at some of the design decisions with it.</p>
<p><img src="http://coderanger.com/i/blog/OfficeRibbon.png" alt="Office Ribbon" align="left" style="margin-right:10px" /></p>
<p>As my wife said, &#8220;how do I open a document or even create a new document?&#8221; &#8230; hmmm you have to click the weird logo in the top left to get a menu of commands with the things you want. Don&#8217;t ask me why the clipboard operations have been given pride of place on the left side of the main ribbon tab, most people never use them as those that know about the clipboard (and a lot of people do not) would use the keyboard, either way there should be &#8220;New&#8221;, &#8220;Open&#8221; and &#8220;Save&#8221; with Save being a nice big priority button.</p>
<p>&#8220;How do I save the document to a different place&#8221; &#8230; sorry again you have to go the weird logo menu thing.</p>
<p>&#8220;Is there any way to turn off the smart quote things as they cause problems with our computer system&#8221; &#8230; oh this is a toughie, you have to customise the toolbar strip (at the top above the ribbon) and add the &#8220;AutoCorrect Options&#8221; command yourself; then you can click the new button and edit the options, after which you will probably want to remove it again.</p>
<p>Then Word still has the horrible image handling, I remember working on the great word processor for the Commodore Amiga called Wordworth by Digita and we had much better and more intuitive graphic handling within documents &#8230; Word is just horrible and so messy to use!</p>
<p>Rant over, but I pity anyone who has to show someone how to get to grips with Office now, eek!</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://delicious.com/post?url=http://www.coderanger.com/blog/?p=67&amp;title=Office+Ribbon+broken+IMO" title="Post to Delicious"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.coderanger.com/blog/?p=67&amp;t=Office+Ribbon+broken+IMO" title="Post to Facebook"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.coderanger.com/blog/?p=67&amp;title=Office+Ribbon+broken+IMO" title="Post to Reddit"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.coderanger.com/blog/?p=67&amp;title=Office+Ribbon+broken+IMO" title="Post to StumbleUpon"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.coderanger.com/blog/?feed=rss2&#038;p=67</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Little art workshop with my kids</title>
		<link>http://www.coderanger.com/blog/?p=66</link>
		<comments>http://www.coderanger.com/blog/?p=66#comments</comments>
		<pubDate>Wed, 23 Sep 2009 20:26:24 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.coderanger.com/blog/?p=66</guid>
		<description><![CDATA[Glorious September weekend brought out the paints and canvas, gardens are so much nicer with kids in them! via twitcher Posted via web from coderanger&#8217;s posterous]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 5px; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D66"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.coderanger.com%2Fblog%2F%3Fp%3D66&amp;source=coderanger&amp;style=normal&amp;service=bit.ly&amp;service_api=R_89e5fcd3ecd3a193dfa92625ffb99bd5&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://posterous.com/getfile/files.posterous.com/coderanger/wfvhDAgloxxpmjcFqzEcIzrnhgjtoAwkoJeBngzHufrcttcJwAnochkIoFCp/ArtyKids.jpg.scaled500.jpg" alt="" width="400" height="300" /></p>
<div class="posterous_quote_citation">Glorious September weekend brought out the paints and canvas, gardens are so much nicer with kids in them!</div>
<div class="posterous_quote_citation">via <a href="http://coderanger.com/twitcher/">twitcher</a></div>
<p style="font-size: 10px;"><a href="http://posterous.com">Posted via web</a> from <a href="http://coderanger.posterous.com/little-art-workshop-with-my-kids-on-a-gloriou">coderanger&#8217;s posterous</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://delicious.com/post?url=http://www.coderanger.com/blog/?p=66&amp;title=Little+art+workshop+with+my+kids" title="Post to Delicious"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.coderanger.com/blog/?p=66&amp;t=Little+art+workshop+with+my+kids" title="Post to Facebook"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.coderanger.com/blog/?p=66&amp;title=Little+art+workshop+with+my+kids" title="Post to Reddit"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.coderanger.com/blog/?p=66&amp;title=Little+art+workshop+with+my+kids" title="Post to StumbleUpon"><img class="nothumb" src="http://www.coderanger.com/blog/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.coderanger.com/blog/?feed=rss2&#038;p=66</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

