<?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>If only I were</title>
	<atom:link href="http://subjunctive.us/feed/" rel="self" type="application/rss+xml" />
	<link>http://subjunctive.us</link>
	<description>community and better software</description>
	<lastBuildDate>Tue, 07 May 2013 03:23:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='subjunctive.us' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>If only I were</title>
		<link>http://subjunctive.us</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://subjunctive.us/osd.xml" title="If only I were" />
	<atom:link rel='hub' href='http://subjunctive.us/?pushpress=hub'/>
		<item>
		<title>Getting started with Mercurial on Windows</title>
		<link>http://subjunctive.us/2010/02/24/getting-started-with-mercurial-on-windows/</link>
		<comments>http://subjunctive.us/2010/02/24/getting-started-with-mercurial-on-windows/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 03:56:24 +0000</pubDate>
		<dc:creator>Chris Sutton</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://subjunctive.us/?p=244</guid>
		<description><![CDATA[Microsoft made a big move recently by supporting Mercurial on Codeplex. The company I was working for in 2009 was contemplating moving to a DVCS (Distributed Version Control System) and had we made the move, we would have gone to Mercurial. So I&#8217;ve been using Mercurial off and on for the last 8 months and have been pleased [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=244&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Microsoft made a big move recently by supporting <a title="Mercurial" href="http://mercurial.selenic.com/wiki/" target="_blank">Mercurial</a> on <a title="Mercurial on CodePlex" href="http://blogs.msdn.com/codeplex/archive/2010/01/22/codeplex-now-supporting-native-mercurial.aspx" target="_blank">Codeplex</a>. The company I was working for in 2009 was contemplating moving to a DVCS (Distributed Version Control System) and had we made the move, we would have gone to <a title="Mercurial" href="http://mercurial.selenic.com/wiki/" target="_blank">Mercurial</a>. So I&#8217;ve been using Mercurial off and on for the last 8 months and have been pleased with the ease of use and the clean command set.</p>
<p>First get and install <a title="TortoiseHg" href="http://tortoisehg.bitbucket.org/" target="_blank">TortoiseHg</a> - <a href="http://tortoisehg.bitbucket.org/">http://tortoisehg.bitbucket.org/</a></p>
<p>If you are just starting with Mercurial here are some basic commands that will get you going. For the sake of this article, I&#8217;m going to use <a title="Orchard" href="http://orchard.codeplex.com/" target="_blank">Orchard</a> as the example repository.</p>
<p><strong>-Orchard source url:</strong> <a href="https://hg01.codeplex.com/orchard" rel="nofollow">https://hg01.codeplex.com/orchard</a></p>
<p><strong>-Clone repository:</strong> hg clone <a href="https://hg01.codeplex.com/orchard" rel="nofollow">https://hg01.codeplex.com/orchard</a></p>
<p><strong>-Clone repository (named working directory):</strong> hg clone <a href="https://hg01.codeplex.com/orchard" rel="nofollow">https://hg01.codeplex.com/orchard</a> my_dir</p>
<p><strong>-Pull source from remote:</strong> hg pull -u</p>
<p>**Note: &#8216;-u&#8217; is important since it updates your local working copy after pulling the latest</p>
<p><strong>-Local commit:</strong> hg ci -m &#8220;some message&#8221;</p>
<p>**Note: Remember that you are committing to you local repository, you still need to &#8216;push&#8217; to your remote repository.</p>
<p><strong>-Push commits to remote:</strong> hg push</p>
<p>**Note: this command will likely request your credentials</p>
<p><strong>-Check status of local files:</strong> hg status</p>
<p><strong>-View the commit log:</strong> hg log</p>
<p><strong>-View the most recent commit:</strong> hg tip</p>
<p>If you prefer to use visual tools then just type &#8216;hgtk&#8217; at your command line and you will see all of the commands that will launch visual Mercurial tools. The following is an example for the visual log.</p>
<p><strong>-View visual log of commits:</strong> hgtk log</p>
<p>If you have been using git or bazaar, then switching to Mercurial should be trivial.</p>
<p>What I&#8217;ve shown here is just the very beginning set of commands for Mercurial. If you want to dig deeper, then you&#8217;ll want to read the <a title="Hg Book" href="http://hgbook.red-bean.com/read/" target="_blank">Hg Book</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/subjunctive.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/subjunctive.wordpress.com/244/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=244&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://subjunctive.us/2010/02/24/getting-started-with-mercurial-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d661b40046e1de0c6a30cea576d12238?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">subjunctive</media:title>
		</media:content>
	</item>
		<item>
		<title>An Iowa City Blogger</title>
		<link>http://subjunctive.us/2008/12/09/an-iowa-city-blogger/</link>
		<comments>http://subjunctive.us/2008/12/09/an-iowa-city-blogger/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 04:04:52 +0000</pubDate>
		<dc:creator>Chris Sutton</dc:creator>
				<category><![CDATA[Tech Community]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://subjunctive.wordpress.com/2008/12/09/an-iowa-city-blogger/</guid>
		<description><![CDATA[I met Bill Sorenson at the Iowa Code Camp recently and figured out that he has been blogging on tech topics for quite some time. Go check out his blog here.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=226&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I met <a href="http://www.truewill.net/myblog/">Bill Sorenson</a> at the <a href="http://iowacodecamp.com/">Iowa Code Camp</a> recently and figured out that he <a href="http://www.truewill.net/myblog/">has been blogging</a> on tech topics for quite some time. Go check out his <a href="http://www.truewill.net/myblog/">blog here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/subjunctive.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/subjunctive.wordpress.com/226/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=226&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://subjunctive.us/2008/12/09/an-iowa-city-blogger/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d661b40046e1de0c6a30cea576d12238?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">subjunctive</media:title>
		</media:content>
	</item>
		<item>
		<title>Func&lt;T&gt; based Generic List Initializers</title>
		<link>http://subjunctive.us/2008/12/06/funct-based-generic-list-initializers/</link>
		<comments>http://subjunctive.us/2008/12/06/funct-based-generic-list-initializers/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 19:19:39 +0000</pubDate>
		<dc:creator>Chris Sutton</dc:creator>
				<category><![CDATA[Learning]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[func]]></category>
		<category><![CDATA[generics]]></category>

		<guid isPermaLink="false">http://subjunctive.wordpress.com/2008/12/06/funct-based-generic-list-initializers/</guid>
		<description><![CDATA[A couple of weeks ago I was writing some code to initialize List&#60;T&#62; but my technique was very verbose and it seemed to be a distraction from what I was trying to do. Plus it seemed that every one else was writing about getting their func on. So I looked back at some code that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=222&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>A couple of weeks ago I was writing some code to initialize List&lt;T&gt; but my technique was very verbose and it seemed to be a distraction from what I was trying to do. Plus it seemed that every one else <a href="http://devlicio.us/blogs/tim_barcz/archive/2008/12/02/creating-temporary-passwords-bring-in-da-func-lt-t-gt.aspx" target="_blank">was writing</a> about <a href="http://codebetter.com/blogs/karlseguin/archive/2008/07/03/get-your-func-on.aspx" target="_blank">getting their func on</a>.</p>
<p>So I looked back at some code that <a href="http://developernotes.com/post/Generic-Factory-over-Object-Initializers.aspx" target="_blank">Nick Parker</a> had written:</p>
<blockquote>
<div>
<div style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">class</span> Builder</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   2:</span> {</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   3:</span>     <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">static</span> TType Create&lt;TType&gt;(Action&lt;TType&gt; actionOnTType) <span style="color:#0000ff;">where</span> TType : <span style="color:#0000ff;">new</span>()</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   4:</span>     {</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   5:</span>         var item = <span style="color:#0000ff;">new</span> TType();</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   6:</span>         actionOnTType(item);</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   7:</span>         <span style="color:#0000ff;">return</span> item;</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   8:</span>     }</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   9:</span> }</pre>
</div>
</div>
</blockquote>
<p>And tweaked it to initialize a list:</p>
<blockquote>
<div>
<div style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">class</span> Builder</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   2:</span> {</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   3:</span>     <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">static</span> List&lt;TType&gt; CreateList&lt;TType&gt;(<span style="color:#0000ff;">long</span> size, Func&lt;TType&gt; initExpression)</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   4:</span>     {</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   5:</span>         var items = <span style="color:#0000ff;">new</span> List&lt;TType&gt;();</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   6:</span>         <span style="color:#0000ff;">for</span> (<span style="color:#0000ff;">long</span> i = 0; i &lt; size; i++)</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   7:</span>         {</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   8:</span>             TType item = initExpression();</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   9:</span>             items.Add(item);</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  10:</span>         }</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  11:</span></pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  12:</span>         <span style="color:#0000ff;">return</span> items;</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  13:</span>     }</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  14:</span> }</pre>
</div>
</div>
</blockquote>
<p>Now I can initialize a list like this:</p>
<blockquote>
<div>
<div style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> List&lt;Door&gt; doors = Builder.CreateList(100, () =&gt; <span style="color:#0000ff;">new</span> Door {IsOpen = <span style="color:#0000ff;">false</span>});</pre>
</div>
</div>
</blockquote>
<p>Just for the record the Func initialization above could handle much more complex scenarios if needed. My usage is very simple.</p>
<p>Another variation on this is to create an extension method that does the same initialization like this:</p>
<blockquote>
<div>
<div style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">static</span> <span style="color:#0000ff;">void</span> Init&lt;TType&gt;(<span style="color:#0000ff;">this</span> IList&lt;TType&gt; values, <span style="color:#0000ff;">int</span> size, Func&lt;TType&gt; initExpression)</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   2:</span> {</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   3:</span>     <span style="color:#0000ff;">for</span> (<span style="color:#0000ff;">int</span> i = 0; i &lt; size; i++)</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   4:</span>     {</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   5:</span>         TType item = initExpression();</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   6:</span>         values.Add(item);</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   7:</span>     }</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   8:</span> }</pre>
</div>
</div>
</blockquote>
<p>And here is how you would use the extension method version:</p>
<blockquote>
<div>
<div style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> var doors = <span style="color:#0000ff;">new</span> List&lt;Door&gt;();</pre>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;font-family:consolas,'Courier New',courier,monospace;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   2:</span> doors.Init(10, () =&gt; <span style="color:#0000ff;">new</span> Door());</pre>
</div>
</div>
</blockquote>
<p>Thanks to <a href="http://www.developernotes.com/" target="_blank">Nick Parker</a> for some suggestions as I was working on this.</p>
<p>Something I would like to figure out is how to do this based on IEnumerable instead of IList. If you have ideas regarding implementing this on IEnumerable please add them as comments.</p>
<p>Also, if you want to see where I was using this, pull down the subversion source here: <a title="http://subversion.assembla.com/svn/solon-tools/trunk/Puzzles" href="http://subversion.assembla.com/svn/solon-tools/trunk/Puzzles">http://subversion.assembla.com/svn/solon-tools/trunk/Puzzles</a></p>
<p><a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fsubjunctive.wordpress.com%2f2008%2f12%2f06%2ffunct-based-generic-list-initializers%2f"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fsubjunctive.wordpress.com%2f2008%2f12%2f06%2ffunct-based-generic-list-initializers%2f" border="0" alt="kick it on DotNetKicks.com" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/subjunctive.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/subjunctive.wordpress.com/222/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=222&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://subjunctive.us/2008/12/06/funct-based-generic-list-initializers/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d661b40046e1de0c6a30cea576d12238?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">subjunctive</media:title>
		</media:content>

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fsubjunctive.wordpress.com%2f2008%2f12%2f06%2ffunct-based-generic-list-initializers%2f" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
		<item>
		<title>Learning Python</title>
		<link>http://subjunctive.us/2008/12/06/learning-python/</link>
		<comments>http://subjunctive.us/2008/12/06/learning-python/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 06:07:03 +0000</pubDate>
		<dc:creator>Chris Sutton</dc:creator>
				<category><![CDATA[Learning]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://subjunctive.wordpress.com/2008/12/06/learning-python/</guid>
		<description><![CDATA[I&#8217;ve almost learned Python several times in the recent past, but now I&#8217;m committing to learn it. Some of my learning resources are The Python Tutorial and Dive Into Python. What are other good online resources? I&#8217;ve installed Python 3 on my machine and also have IronPython setup so I can keep up with Microsoft&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=221&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve almost learned <a href="http://python.org/">Python</a> several times in the recent past, but now I&#8217;m committing to learn it. Some of my learning resources are <a href="http://docs.python.org/3.0/tutorial/index.html">The Python Tutorial</a> and <a href="http://diveintopython.org/">Dive Into Python</a>. What are other good online resources?</p>
<p>I&#8217;ve installed <a href="http://python.org/download/releases/3.0/">Python 3</a> on my machine and also have <a href="http://www.codeplex.com/IronPython">IronPython</a> setup so I can keep up with Microsoft&#8217;s implementation. Another goal with IronPython is to be able to us it in an ASP.NET project.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/subjunctive.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/subjunctive.wordpress.com/221/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=221&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://subjunctive.us/2008/12/06/learning-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d661b40046e1de0c6a30cea576d12238?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">subjunctive</media:title>
		</media:content>
	</item>
		<item>
		<title>You can stop putting Change History in source, it&#8217;s 2008</title>
		<link>http://subjunctive.us/2008/12/05/you-can-stop-putting-change-history-in-source-its-2008/</link>
		<comments>http://subjunctive.us/2008/12/05/you-can-stop-putting-change-history-in-source-its-2008/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 16:37:37 +0000</pubDate>
		<dc:creator>Chris Sutton</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://subjunctive.wordpress.com/2008/12/05/you-can-stop-putting-change-history-in-source-its-2008/</guid>
		<description><![CDATA[CHANGE HISTORY========================================================AUTHOR&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; LAST MODIFIED&#160; DESCRIPTION========================================================v-someone&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2008-08-21&#160;&#160;&#160;&#160;&#160;&#160; Initial Version It&#8217;s official, we are at the end of 2008 and there are lots of good source control tools out there(some of the best are free). You don&#8217;t need to keep putting change history comments in your source if you are using source control. If you add comments [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=220&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>CHANGE HISTORY<br />========================================================<br />AUTHOR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LAST MODIFIED&nbsp; DESCRIPTION<br />========================================================<br />v-someone&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2008-08-21&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Initial Version</p>
</blockquote>
<p>It&#8217;s official, we are at the end of 2008 and there are lots of good source control tools out there(<a href="http://subversion.tigris.org/" target="_blank">some of the best are free</a>). </p>
<p>You don&#8217;t need to keep putting change history comments in your source if you are using source control. If you add comments when you commit your code this will be handled for you.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/subjunctive.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/subjunctive.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=220&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://subjunctive.us/2008/12/05/you-can-stop-putting-change-history-in-source-its-2008/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d661b40046e1de0c6a30cea576d12238?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">subjunctive</media:title>
		</media:content>
	</item>
		<item>
		<title>Solon Spartans Win 2008 2A Football Championship</title>
		<link>http://subjunctive.us/2008/11/23/solon-spartans-win-2008-2a-football-championship/</link>
		<comments>http://subjunctive.us/2008/11/23/solon-spartans-win-2008-2a-football-championship/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 21:49:24 +0000</pubDate>
		<dc:creator>Chris Sutton</dc:creator>
				<category><![CDATA[Iowa]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[champions]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[hawkeyes]]></category>
		<category><![CDATA[Johnson County]]></category>
		<category><![CDATA[Solon]]></category>

		<guid isPermaLink="false">http://subjunctive.wordpress.com/2008/11/23/solon-spartans-win-2008-2a-football-championship/</guid>
		<description><![CDATA[On Saturday afternoon the Solon Spartans became back to back 2A football champions. They won with a dominating 60-14 score. Congrats again. Later Saturday night the Hawkeyes beat the Gophers 55-0, even better it was on the Gophers home turf in the Metrodome. Saturday was a good day for football teams from Johnson County.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=218&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>On Saturday afternoon the Solon Spartans became <a href="http://www.iowaprepsports.com/article.php?id=711229924&amp;pubdate=20081122">back to back 2A football champions</a>. They won with a dominating 60-14 score. Congrats <a href="http://subjunctive.wordpress.com/2007/11/17/solon-spartans-win-2a-football-championship/">again</a>.</p>
<p>Later Saturday night the <a href="http://www.gazetteonline.com/apps/pbcs.dll/article?AID=/20081123/SPORTS/711229930/1056">Hawkeyes beat the Gophers 55-0</a>, even better it was on the Gophers home turf in the Metrodome.</p>
<p>Saturday was a good day for football teams from <a href="http://www.johnson-county.com/">Johnson County</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/subjunctive.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/subjunctive.wordpress.com/218/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=218&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://subjunctive.us/2008/11/23/solon-spartans-win-2008-2a-football-championship/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d661b40046e1de0c6a30cea576d12238?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">subjunctive</media:title>
		</media:content>
	</item>
		<item>
		<title>Unity at CRineta</title>
		<link>http://subjunctive.us/2008/11/04/unity-at-crineta/</link>
		<comments>http://subjunctive.us/2008/11/04/unity-at-crineta/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 17:12:36 +0000</pubDate>
		<dc:creator>Chris Sutton</dc:creator>
				<category><![CDATA[CRineta]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Tech Community]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://subjunctive.wordpress.com/2008/11/04/unity-at-crineta/</guid>
		<description><![CDATA[Jeff Brand from our North Central Microsoft office came to CRineta and gave a very good talk on Unity, Microsoft&#8217;s dependency injection container. From my experience when people talk about IOC/DI they end up skipping basic concepts, but Jeff didn&#8217;t. It was really good because he went back to the very beginning and built a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=217&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://slickthought.net/" target="_blank">Jeff Brand</a> from our North Central Microsoft office came to <a href="http://www.crineta.org" target="_blank">CRineta</a> and gave a very good talk on <a href="http://www.codeplex.com/unity" target="_blank">Unity</a>, Microsoft&#8217;s <a href="http://en.wikipedia.org/wiki/Dependency_injection" target="_blank">dependency injection</a> container.</p>
<p>From my experience when people talk about IOC/DI they end up skipping basic concepts, but Jeff didn&#8217;t. It was really good because he went back to the very beginning and built a live code example along the way. And as he built the code base, he introduced all the core concepts. </p>
<p>I learned a lot and think I&#8217;ll introduce Unity into my current project. <a href="http://structuremap.sourceforge.net" target="_blank">Structure Map</a> has been on my list to learn for awhile, so I&#8217;ll probably use it to compare for usability and features.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/subjunctive.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/subjunctive.wordpress.com/217/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=217&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://subjunctive.us/2008/11/04/unity-at-crineta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d661b40046e1de0c6a30cea576d12238?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">subjunctive</media:title>
		</media:content>
	</item>
		<item>
		<title>Iowa Tech is Heating Up</title>
		<link>http://subjunctive.us/2008/10/15/iowa-tech-is-heating-up/</link>
		<comments>http://subjunctive.us/2008/10/15/iowa-tech-is-heating-up/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 02:36:57 +0000</pubDate>
		<dc:creator>Chris Sutton</dc:creator>
				<category><![CDATA[CRineta]]></category>
		<category><![CDATA[Iowa]]></category>
		<category><![CDATA[Tech Community]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://subjunctive.wordpress.com/2008/10/15/iowa-tech-is-heating-up/</guid>
		<description><![CDATA[Early this year I blogged about the general state the .NET community in Eastern Iowa and Iowa in general. Some of the goals on January 1st were to see more techies blogging, more speaking, to run our first camp and to see the tech community grow in general. So here is an update. We had [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=215&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Early this year <a href="http://subjunctive.wordpress.com/2008/01/01/a-new-year-in-iowa/">I blogged</a> about the general state the .NET community in Eastern Iowa and Iowa in general. Some of the goals on January 1st were to see more techies blogging, more speaking, to run our first camp and to see the tech community grow in general.</p>
<p>So here is an update. We had an incredibly successful first <a href="http://iowacodecamp.com">code camp</a> at the University of Iowa conference center on May 3rd. We had around 130 people attend over the course of the day with about 25 people presenting.</p>
<p>On the blogging front, <a href="http://devlicio.us/blogs/tim_barcz/">Tim Barcz</a> has really taken his blogging up a notch and has moved over to the <a href="http://devlicio.us/">devlicio.us</a> community. <a href="http://dumpsterdoggy.com/">Chris Missal</a> has been doing some nice work with ASP.NET and jQuery and I hope to see some more good blogging from there.</p>
<p><a href="http://weblogs.asp.net/bryansampica/">Bryan Sampica</a>, <a href="http://blog.lozanotek.com/archive/2008/05/13/New_Wrox_Title_ASP.NET_3.5_Programmers_Reference.aspx">Javier Lozano</a> and <a href="http://geekswithblogs.net/dlussier/Default.aspx">D&#8217;Arcy Lussier</a>(well he&#8217;s Canadian, but that&#8217;s close enough) are writing &#8220;<a href="http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470384603.html">ASP.NET 3.5 Programmers Reference</a>&#8220;. This is very cool to have two Iowa authors writing a major programming title.</p>
<p>I&#8217;m sure there are other good bloggers in Iowa who are doing good writing, let me know in comments who else is out there.</p>
<p>Our next <a href="http://iowacodecamp.com">code camp</a> in Iowa is just a couple of weeks away on November 8th. It is being held at the DMACC West campus in West Des Moines. We have great speakers from Colorado, Minnesota, Iowa, South Dakota, Kansas, Texas and Ohio. We are also introducing a new format called a <a href="http://en.wikipedia.org/wiki/Fishbowl_(conversation)">fishbowl</a> in two of the sessions. <a href="http://iowacodecamp.com/">Register here</a> if you haven&#8217;t already.</p>
<p>The Cedar Falls / Waterloo area is getting a new Ineta group (tentatively Cedar Valley INETA) headed up by Josh Flory. We hope to see good things happen up north.</p>
<p><a href="http://crineta.org">CRineta</a> webcasted it&#8217;s first user group meeting presentation in October which was interesting. We have some work to improve this medium, but it has a lot of potential for reaching people that can make it into the meetings. Josh Flory is the primary person who made this happen, so thanks to him.</p>
<p>The University of Iowa has a new <a href="http://groups.google.com/group/ic-ruby">Ruby group</a> as well, which is a great development.</p>
<p>We have 2 1/2 months left in 2008 so let&#8217;s finish this year off well.</p>
<p>By the way, <a href="http://devlicio.us/blogs/tim_barcz/">Tim Barcz</a>, <a href="http://devlicio.us/blogs/derik_whittaker/">Derik Whittaker</a> and I might have some big news in a week or two but I can&#8217;t officially announce it yet.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/subjunctive.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/subjunctive.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=215&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://subjunctive.us/2008/10/15/iowa-tech-is-heating-up/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d661b40046e1de0c6a30cea576d12238?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">subjunctive</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET MVC goes Beta</title>
		<link>http://subjunctive.us/2008/10/15/aspnet-mvc-goes-beta/</link>
		<comments>http://subjunctive.us/2008/10/15/aspnet-mvc-goes-beta/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 20:44:56 +0000</pubDate>
		<dc:creator>Chris Sutton</dc:creator>
				<category><![CDATA[Patterns]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[aspnetmvc]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://subjunctive.wordpress.com/2008/10/15/aspnet-mvc-goes-beta/</guid>
		<description><![CDATA[I just saw that ASP.NET MVC went beta based on a tweet from Kevin Dente. Time to do some upgrades and see what is new and changed in this release.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=212&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I just saw that <a href="http://www.microsoft.com/downloads/details.aspx?familyid=a24d1e00-cd35-4f66-baa0-2362bdde0766&amp;displaylang=en&amp;tm" target="_blank">ASP.NET MVC went beta</a> based on a <a href="http://twitter.com/kevindente">tweet</a> from <a href="http://weblogs.asp.net/kdente/">Kevin Dente</a>. Time to do some upgrades and see what is new and changed in this release.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/subjunctive.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/subjunctive.wordpress.com/212/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=212&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://subjunctive.us/2008/10/15/aspnet-mvc-goes-beta/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d661b40046e1de0c6a30cea576d12238?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">subjunctive</media:title>
		</media:content>
	</item>
		<item>
		<title>jQuery, MIT and GPL</title>
		<link>http://subjunctive.us/2008/10/09/jquery-mit-and-gpl/</link>
		<comments>http://subjunctive.us/2008/10/09/jquery-mit-and-gpl/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 20:56:53 +0000</pubDate>
		<dc:creator>Chris Sutton</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://subjunctive.wordpress.com/2008/10/09/jquery-mit-and-gpl/</guid>
		<description><![CDATA[/* * jQuery 1.2.6 &#8211; New Wave Javascript * * Copyright (c) 2008 John Resig (jquery.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $ * $Rev: 5685 $ */ This text is the header in the jQuery 1.2.6 release. It&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=211&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote><p>/*<br /> * jQuery 1.2.6 &#8211; New Wave Javascript<br /> *<br /> * Copyright (c) 2008 John Resig (jquery.com)<br /> * Dual licensed under the MIT (MIT-LICENSE.txt)<br /> * and GPL (GPL-LICENSE.txt) licenses.<br /> *<br /> * $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $<br /> * $Rev: 5685 $<br /> */</p>
</blockquote>
<p>This text is the header in the jQuery 1.2.6 release. It&#8217;s obvious that it is dual licensed under MIT and GPL, but isn&#8217;t it still weird that Microsoft will support and will package a library with text that says &#8220;GPL&#8221;?
<p>Props to the people at Microsoft who took the risk to push for this really good 3rd party JavaScript library.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/subjunctive.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/subjunctive.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=subjunctive.us&#038;blog=79455&#038;post=211&#038;subd=subjunctive&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://subjunctive.us/2008/10/09/jquery-mit-and-gpl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d661b40046e1de0c6a30cea576d12238?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">subjunctive</media:title>
		</media:content>
	</item>
	</channel>
</rss>
