<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>This Hours Eternity</title>
	<atom:link href="http://adammills.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://adammills.wordpress.com</link>
	<description>Random Ramblings on .NET, C#, most things tech, the outdoors and Life in General.</description>
	<lastBuildDate>Tue, 24 Nov 2009 17:24:02 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='adammills.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/76d7ef04ebd0a0973f27563867fef54b?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>This Hours Eternity</title>
		<link>http://adammills.wordpress.com</link>
	</image>
			<item>
		<title>Window.Close() from XAML</title>
		<link>http://adammills.wordpress.com/2009/07/01/window-close-from-xaml/</link>
		<comments>http://adammills.wordpress.com/2009/07/01/window-close-from-xaml/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 17:40:27 +0000</pubDate>
		<dc:creator>adammills</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Things To Remember]]></category>

		<guid isPermaLink="false">http://adammills.wordpress.com/2009/07/01/window-close-from-xaml/</guid>
		<description><![CDATA[It’s been a long time since I last posted. Since then I have been working on my first WPF contract. I have definately drank the cool aid, I love WPF (when MVVM is being used anyway).
One thing I haven’t been able to find any info on is how to close a window from XAML. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=37&subd=adammills&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It’s been a long time since I last posted. Since then I have been working on my first WPF contract. I have definately drank the cool aid, I love WPF (when MVVM is being used anyway).</p>
<p>One thing I haven’t been able to find any info on is how to close a window from XAML. I tried and tried and then gave up. Until now!</p>
<p>Having discovered the power of Attached Behaviours, I decided to write one that would close a window. All you need do then is create a data trigger that watches a CloseSignal on the ViewModel and sets the Close property to true.</p>
<div id="_mcePaste">
<div id="_mcePaste">public static class WindowCloseBehaviour</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste">public static void SetClose(DependencyObject target, bool value)</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste">target.SetValue(CloseProperty, value);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste"></div>
<div id="_mcePaste">public static readonly DependencyProperty CloseProperty =</div>
<div id="_mcePaste">DependencyProperty.RegisterAttached(</div>
<div id="_mcePaste">&#8220;Close&#8221;,</div>
<div id="_mcePaste">typeof(bool),</div>
<div id="_mcePaste">typeof(WindowCloseBehaviour),</div>
<div id="_mcePaste">new UIPropertyMetadata(false, OnClose));</div>
<div id="_mcePaste"></div>
<div id="_mcePaste">private static void OnClose(DependencyObject sender, DependencyPropertyChangedEventArgs e)</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste">if (e.NewValue is bool &amp;&amp; ((bool)e.NewValue))</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste">Window window = GetWindow(sender);</div>
<div id="_mcePaste">if (window != null)</div>
<div id="_mcePaste">window.Close();</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste"></div>
<div id="_mcePaste">private static Window GetWindow(DependencyObject sender)</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste">Window window = null;</div>
<div id="_mcePaste"></div>
<div id="_mcePaste">if (sender is Window)</div>
<div id="_mcePaste">window = (Window)sender;</div>
<div id="_mcePaste"></div>
<div id="_mcePaste">if (window == null)</div>
<div id="_mcePaste">window = Window.GetWindow(sender);</div>
<div id="_mcePaste"></div>
<div id="_mcePaste">return window;</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}</div>
</div>
<p>and then in your XAML</p>
<p>&lt;Style.Triggers&gt;<br />
&lt;DataTrigger Binding=&#8221;{Binding CloseSignal}&#8221; Value=&#8221;true&#8221;&gt;<br />
&lt;Setter Property=&#8221;Behaviours:WindowCloseBehaviour.Close&#8221; Value=&#8221;true&#8221; /&gt;<br />
&lt;/DataTrigger&gt;<br />
&lt;/Style&gt;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adammills.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adammills.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adammills.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adammills.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adammills.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adammills.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adammills.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adammills.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adammills.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adammills.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=37&subd=adammills&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adammills.wordpress.com/2009/07/01/window-close-from-xaml/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3ec459157a208c159ff65ca77d6b88f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adammills</media:title>
		</media:content>
	</item>
		<item>
		<title>London</title>
		<link>http://adammills.wordpress.com/2009/01/28/london/</link>
		<comments>http://adammills.wordpress.com/2009/01/28/london/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 02:56:31 +0000</pubDate>
		<dc:creator>adammills</dc:creator>
				<category><![CDATA[Announcement]]></category>

		<guid isPermaLink="false">http://adammills.wordpress.com/2009/01/28/london/</guid>
		<description><![CDATA[My extended sabbatical is over and I touch down in London on Thursday. My resume is now posted in the very empty About section.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=32&subd=adammills&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>My extended sabbatical is over and I touch down in London on Thursday. My resume is now posted in the very empty <a href="http://adammills.wordpress.com/about/">About</a> section.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adammills.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adammills.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adammills.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adammills.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adammills.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adammills.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adammills.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adammills.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adammills.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adammills.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=32&subd=adammills&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adammills.wordpress.com/2009/01/28/london/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3ec459157a208c159ff65ca77d6b88f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adammills</media:title>
		</media:content>
	</item>
		<item>
		<title>OpenID</title>
		<link>http://adammills.wordpress.com/2008/08/13/openid-2/</link>
		<comments>http://adammills.wordpress.com/2008/08/13/openid-2/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 04:16:55 +0000</pubDate>
		<dc:creator>adammills</dc:creator>
				<category><![CDATA[Things To Remember]]></category>

		<guid isPermaLink="false">http://adammills.wordpress.com/2008/08/13/openid-2/</guid>
		<description><![CDATA[The posts here have been few and far between due to my year honeymoon. I just noticed it&#8217;s only been 3 months since I found out about OpenID. Already they have some huge sites using it&#8230;. I like it.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=26&subd=adammills&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The posts here have been few and far between due to my year honeymoon. I just noticed it&#8217;s only been 3 months since I found out about OpenID. Already they have some <a href="http://openid.net/get/" target="_blank">huge sites</a> using it&#8230;. I like it.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adammills.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adammills.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adammills.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adammills.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adammills.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adammills.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adammills.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adammills.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adammills.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adammills.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adammills.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adammills.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=26&subd=adammills&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adammills.wordpress.com/2008/08/13/openid-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3ec459157a208c159ff65ca77d6b88f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adammills</media:title>
		</media:content>
	</item>
		<item>
		<title>Coding without comments</title>
		<link>http://adammills.wordpress.com/2008/08/13/coding-without-comments/</link>
		<comments>http://adammills.wordpress.com/2008/08/13/coding-without-comments/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 04:05:55 +0000</pubDate>
		<dc:creator>adammills</dc:creator>
				<category><![CDATA[Blogroll]]></category>

		<guid isPermaLink="false">http://adammills.wordpress.com/2008/08/13/coding-without-comments/</guid>
		<description><![CDATA[This is a great post about commenting code. I couldn&#8217;t have written it better myself. No really, I couldn&#8217;t have. I don&#8217;t code in English well.  
http://www.codinghorror.com/blog/archives/001150.html
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=25&subd=adammills&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is a great post about commenting code. I couldn&#8217;t have written it better myself. No really, I couldn&#8217;t have. I don&#8217;t code in English well. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a title="http://www.codinghorror.com/blog/archives/001150.html" href="http://www.codinghorror.com/blog/archives/001150.html">http://www.codinghorror.com/blog/archives/001150.html</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adammills.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adammills.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adammills.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adammills.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adammills.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adammills.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adammills.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adammills.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adammills.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adammills.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adammills.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adammills.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=25&subd=adammills&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adammills.wordpress.com/2008/08/13/coding-without-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3ec459157a208c159ff65ca77d6b88f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adammills</media:title>
		</media:content>
	</item>
		<item>
		<title>CI Factory</title>
		<link>http://adammills.wordpress.com/2008/05/04/ci-factory/</link>
		<comments>http://adammills.wordpress.com/2008/05/04/ci-factory/#comments</comments>
		<pubDate>Sun, 04 May 2008 02:50:11 +0000</pubDate>
		<dc:creator>adammills</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Things To Remember]]></category>
		<category><![CDATA[Continuous Integration]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://adammills.wordpress.com/2008/05/04/ci-factory/</guid>
		<description><![CDATA[Continuous Integration Factory (CI Factory) has just popped up onto my radar and looks fantastic.
Being currently on hiatus and looking to get into the London contracting scene I have been talking to expats about how much pain to expect. Build process comes up time and time again. I&#8217;ve heard of builds being manual and taking [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=24&subd=adammills&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Continuous Integration Factory (<a href="http://www.cifactory.org/" target="_blank">CI Factory</a>) has just popped up onto my radar and looks fantastic.</p>
<p>Being currently on hiatus and looking to get into the London contracting scene I have been talking to expats about how much pain to expect. Build process comes up time and time again. I&#8217;ve heard of builds being manual and taking whole weekends!! So this looks to be a handy tool to have under your belt for getting CI setup quickly.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adammills.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adammills.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adammills.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adammills.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adammills.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adammills.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adammills.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adammills.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adammills.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adammills.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adammills.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adammills.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=24&subd=adammills&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adammills.wordpress.com/2008/05/04/ci-factory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3ec459157a208c159ff65ca77d6b88f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adammills</media:title>
		</media:content>
	</item>
		<item>
		<title>OpenID</title>
		<link>http://adammills.wordpress.com/2008/05/04/openid/</link>
		<comments>http://adammills.wordpress.com/2008/05/04/openid/#comments</comments>
		<pubDate>Sun, 04 May 2008 02:39:51 +0000</pubDate>
		<dc:creator>adammills</dc:creator>
				<category><![CDATA[Things To Remember]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://adammills.wordpress.com/2008/05/04/openid/</guid>
		<description><![CDATA[Another awesome service that is getting traction is OpenID. OpenID is an online identity service where users sign up once and online applications use OpenID to authenticate.
Microsoft tried this before and failed, thankfully. This seems to be an independent foundation. And as long as it stays so, has my vote.
As a consumer this excites me. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=23&subd=adammills&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Another awesome service that is getting traction is <a href="http://openid.net/" target="_blank">OpenID</a>. OpenID is an online identity service where users sign up once and online applications use OpenID to authenticate.</p>
<p>Microsoft tried this before and failed, thankfully. This seems to be an independent foundation. And as long as it stays so, has my vote.</p>
<p>As a consumer this excites me. While our Toshiba R500 has made life easier by allowing us to connect most login details to my fingerprints. That solution only gets helps us so much (like whenever I&#8217;m around the laptop).</p>
<p>There are some obvious issues to overcome when dealing with centralised authentication. I don&#8217;t think any are daunting. And some like security are actually blessings in disguise. Like Open Source Software a central authentication system should be theoretically more secure. Instead of relying on the skill sets of a multitude of different teams implementing their own security systems for each application. A team of (hopefully) security experts are able to focus on the thing they do well. And let others focus on making their applications do what they are trying to do.</p>
<p>Convincing business to adopt it will be the real challenge.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adammills.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adammills.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adammills.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adammills.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adammills.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adammills.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adammills.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adammills.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adammills.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adammills.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adammills.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adammills.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=23&subd=adammills&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adammills.wordpress.com/2008/05/04/openid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3ec459157a208c159ff65ca77d6b88f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adammills</media:title>
		</media:content>
	</item>
		<item>
		<title>XMP InvariantCulture or CurrentCulture</title>
		<link>http://adammills.wordpress.com/2008/04/05/xmp-invariantculture-or-currentculture/</link>
		<comments>http://adammills.wordpress.com/2008/04/05/xmp-invariantculture-or-currentculture/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 05:23:51 +0000</pubDate>
		<dc:creator>adammills</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://adammills.wordpress.com/?p=22</guid>
		<description><![CDATA[Well it wasn&#8217;t to be all smooth sailing in my XMP adventure. It turns out dates will always be a problem in life. The BitmapMetadata class has a property DateTaken that is a string! When I copied the date from the backup file to the current file it was swapping the days and months around?
Whats [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=22&subd=adammills&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Well it wasn&#8217;t to be all smooth sailing in my XMP adventure. It turns out dates will always be a problem in life. The BitmapMetadata class has a property DateTaken that is a string! When I copied the date from the backup file to the current file it was swapping the days and months around?</p>
<p>Whats wrong with this i thought?<br />
<code>destMetadata.DateTaken = sourceMetadata.DateTaken;<br />
</code><br />
Download trusty Reflector to the travel laptop and voila!<br />
It turns out the property getter uses <code>DateTime.FromFiletime</code> to get the string. It appears this uses the Current Culture to format the date. The setter parses the passed in value using <code>Convert.ToDateTime(value, CultureInfo.InvariantCulture);<br />
</code><br />
I maybe missing something and I am sure it is by design, but surely they could have used a consistent culture to save me from this? Especially on my honeymoon! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<code>DateTime fromDate = Convert.ToDateTime(sourceMetaData.DateTaken, CultureInfo.CurrentCulture);<br />
destMetadata.DateTaken = fromDate.ToString(CultureInfo.InvariantCulture.DateTimeFormat);<br />
</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adammills.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adammills.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adammills.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adammills.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adammills.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adammills.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adammills.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adammills.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adammills.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adammills.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adammills.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adammills.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=22&subd=adammills&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adammills.wordpress.com/2008/04/05/xmp-invariantculture-or-currentculture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3ec459157a208c159ff65ca77d6b88f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adammills</media:title>
		</media:content>
	</item>
		<item>
		<title>A Temporary Hiatus &#8211; XMP</title>
		<link>http://adammills.wordpress.com/2008/04/05/a-temporary-hiatus-xmp/</link>
		<comments>http://adammills.wordpress.com/2008/04/05/a-temporary-hiatus-xmp/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 05:11:14 +0000</pubDate>
		<dc:creator>adammills</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[.NET 3.5]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XMP]]></category>

		<guid isPermaLink="false">http://adammills.wordpress.com/?p=21</guid>
		<description><![CDATA[It&#8217;s been about 6 months since I left BluFreeway and took to a life of beaches and relaxation that ones honeymoon brings.  
The call of coding had nagged me into installing VS 2008 on our lightweight travel laptop to stay afresh of developments in the .NET space. When a small error on my behalf (no [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=21&subd=adammills&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It&#8217;s been about 6 months since I left BluFreeway and took to a life of beaches and relaxation that ones honeymoon brings. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The call of coding had nagged me into installing VS 2008 on our lightweight travel laptop to stay afresh of developments in the .NET space. When a small error on my behalf (no prompts for bulk changes in Vista&#8217;s Photo Gallery!!) corrupted all the dates of our wedding photos that Kahlia had painstakingly rated, tagged and categorised.</p>
<p>Smiling smugly i said &#8220;No Problem!&#8221;, knowing all I had to do was whip up some code to copy the dates from the originals we had backed up. A few minutes later I had some code to do such a task. I even knew about EXIF and how to access it. How proud I was off myself knowing all about this graphics stuff! To my dismay the app whilst changing the metadata did nothing towards fixing the problem in Vista. Apparenlty my knowledge was out of date.</p>
<p>Enter Adobes brain child, XMP, a new era in metadata apparently. Thankfully .NET 3.5 has a great set of classes to handle this, WPF. It made the whole process really simple in the end. If only the documentation was as good.</p>
<p>Know it&#8217;s back to the sand and surf for awhile yet.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adammills.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adammills.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adammills.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adammills.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adammills.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adammills.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adammills.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adammills.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adammills.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adammills.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adammills.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adammills.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=21&subd=adammills&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adammills.wordpress.com/2008/04/05/a-temporary-hiatus-xmp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3ec459157a208c159ff65ca77d6b88f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adammills</media:title>
		</media:content>
	</item>
		<item>
		<title>Fade To Blue</title>
		<link>http://adammills.wordpress.com/2007/10/10/fade-to-blue/</link>
		<comments>http://adammills.wordpress.com/2007/10/10/fade-to-blue/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 07:28:41 +0000</pubDate>
		<dc:creator>adammills</dc:creator>
				<category><![CDATA[Things To Remember]]></category>

		<guid isPermaLink="false">http://adammills.wordpress.com/2007/10/10/fade-to-blue/</guid>
		<description><![CDATA[My time at CampaignMaster is coming to a close after 4.5 years.  Working for PwC when IBM (Big Blue) bought them, I left just after the merger in March 2003. Four and a half years later I am leaving CampaignMaster after Bluefreeway acquired the company (to get married and travel)&#8230;. scary.
I though I&#8217;d look at the numbers:

1 subversion repositry 
2  Server [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=20&subd=adammills&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>My time at <a target="_blank" href="http://www.campaignmaster.com.au" title="CM">CampaignMaster</a> is coming to a close after 4.5 years.  Working for PwC when IBM (Big Blue) bought them, I left just after the merger in March 2003. Four and a half years later I am leaving <a target="_blank" href="http://www.campaignmaster.com.au" title="CM">CampaignMaster</a> after <a href="http://www.bluefreeway.com" title="Blue">Bluefreeway</a> acquired the company (to get married and travel)&#8230;. scary.</p>
<p>I though I&#8217;d look at the numbers:</p>
<ul>
<li>1 subversion repositry </li>
<li>2  Server Locations</li>
<li>3 offices</li>
<li>4y 6m 21 days</li>
<li>9 Developers worked on CM (at different times)</li>
<li>14 blog posts (Huge!)</li>
<li>26 Major Releases</li>
<li>65 project files</li>
<li>3,000 Unit Tests</li>
<li>306,060 lines of code</li>
<li>10 000 000 + emails a month</li>
</ul>
<p>I&#8217;m off for 4-6 months of travel and to get married. Our travels will be blogged about at <a href="http://www.chambills.com/">http://www.chambills.com</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adammills.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adammills.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adammills.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adammills.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adammills.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adammills.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adammills.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adammills.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adammills.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adammills.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adammills.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adammills.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=20&subd=adammills&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adammills.wordpress.com/2007/10/10/fade-to-blue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3ec459157a208c159ff65ca77d6b88f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adammills</media:title>
		</media:content>
	</item>
		<item>
		<title>Recruitment Sucks</title>
		<link>http://adammills.wordpress.com/2007/09/21/recruitment-sucks/</link>
		<comments>http://adammills.wordpress.com/2007/09/21/recruitment-sucks/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 06:37:47 +0000</pubDate>
		<dc:creator>adammills</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://adammills.wordpress.com/2007/09/21/recruitment-sucks/</guid>
		<description><![CDATA[The biggest bain of my job by far is recruiting new hires. The market for C# developers in Sydney is very tight at the moment and what seems to be available is not very impressive. So I thought I would compile a list of my many frustrating encounters; both with Candidates and Recruiters.
We are hiring again.. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=19&subd=adammills&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The biggest bain of my job by far is recruiting new hires. The market for C# developers in Sydney is very tight at the moment and what seems to be available is not very impressive. So I thought I would compile a list of my many frustrating encounters; both with Candidates and Recruiters.<br />
We are hiring again.. so I&#8217;m sure i&#8217;ll add more in the future.<br />
<span id="more-19"></span><br />
<strong>Recruiters</strong></p>
<ul>
<li>Don&#8217;t attempt to head hunt the new hire you found us weeks after they started. I understand you need to make hay while the sun shines, but we won&#8217;t use again, period. We will tell everyone that will listen.</li>
<li>Don&#8217;t waste our time with resumes that don&#8217;t match the requirements. (Side note: We had one firm whom presented us a candidate with way less than excellent language skils despite our request for excellent language skills. It turns out the recruitment firm has official levels, excellent not being the top. We needed to ask for exceptional language skills. I would hire me, I would not rate my language skills as exceptional or even excellent for that matter)</li>
<li>Treat this as a relationship. If you call me 10 times a day I am going to stop taking your calls and start dating other people.</li>
</ul>
<p><strong>Candidates</strong></p>
<ul>
<li>First and Foremost, be honest about what you do not know. Most of the time it doesn&#8217;t really matter if you don&#8217;t know every question we ask. We are generally trying to find an common area of knowledge so we can have an indepth discussion. In my opinion, if you don&#8217;t know when a finally statement is executed you are not a senior developer. If you can&#8217;t at least explain what a HttpHandler is; your not an ASP.NET guru.</li>
<li>I&#8217;m generally dissapointed with the knowledge of candidates; my made up stats:
<ul>
<li>45% have heard of NUnit (how is this possible) </li>
<li>40% have heard about Agile Methodologies and Practices</li>
<li>30% of senior ASP.NET applicants have written a HttpHandler or HttpModule</li>
<li>25% know what the Factory Pattern is</li>
<li>15% have written an automated unit test</li>
<li>10% have heard of Inversion of Control or Dependency Injection</li>
<li>5% have used IoC or DI or can name a framework for it.</li>
<li>1% have heard of mocking, used or can name a Mocking Framework</li>
</ul>
</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/adammills.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/adammills.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adammills.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adammills.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adammills.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adammills.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adammills.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adammills.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adammills.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adammills.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adammills.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adammills.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adammills.wordpress.com&blog=31662&post=19&subd=adammills&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://adammills.wordpress.com/2007/09/21/recruitment-sucks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3ec459157a208c159ff65ca77d6b88f3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adammills</media:title>
		</media:content>
	</item>
	</channel>
</rss>