<?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>Musings&#60;Biefeld&#62;</title>
	<atom:link href="http://sbiefeld.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sbiefeld.com</link>
	<description>- curiosities of development, life, the universe and everything -</description>
	<lastBuildDate>Tue, 02 Feb 2010 04:32:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A rhyme for cordialities</title>
		<link>http://sbiefeld.com/2010/02/01/a-rhyme-for-cordialities/</link>
		<comments>http://sbiefeld.com/2010/02/01/a-rhyme-for-cordialities/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 04:32:48 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[Poetry]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=410</guid>
		<description><![CDATA[
How are things&#8230;
Things are things
People are people
I am neither
Things nor people
I am me
you are you
Next time ask
How do you do

]]></description>
			<content:encoded><![CDATA[<blockquote>
<h3>How are things&#8230;<br />
Things are things<br />
People are people<br />
I am neither<br />
Things nor people<br />
I am me<br />
you are you<br />
Next time ask<br />
How do you do<br />
<h3></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2010/02/01/a-rhyme-for-cordialities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Step by Step to Using MSpec (Machine.Specifications) with ReSharper</title>
		<link>http://sbiefeld.com/2009/08/27/step-by-step-to-using-mspec-machine-specifications-with-resharper/</link>
		<comments>http://sbiefeld.com/2009/08/27/step-by-step-to-using-mspec-machine-specifications-with-resharper/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:33:52 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Unit Testing]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[Behavior Driven Design]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[MSpec]]></category>
		<category><![CDATA[ReSharper]]></category>
		<category><![CDATA[Specifications]]></category>
		<category><![CDATA[Unit Test]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=391</guid>
		<description><![CDATA[
Whilst researching using MSpec with ReSharper I found it difficult to find all the resources I needed in one place. This is an attempt to condense everything into that one place and facilitate those seeking to accomplish the same task.
Step 1 &#8211; Git It:
First thing&#8217;s first, grab the latest Machine Spec source from github.
$ git [...]]]></description>
			<content:encoded><![CDATA[<p><br/>
<p>Whilst researching using MSpec with ReSharper I found it difficult to find all the resources I needed in one place. This is an attempt to condense everything into that one place and facilitate those seeking to accomplish the same task.</p>
<h3>Step 1 &#8211; Git It:</h3>
<p>First thing&#8217;s first, grab the latest Machine Spec source from github.</p>
<pre style="background-color: #141414;font-family: Lucida Console;padding: 5px;border:solid 1px #333; overflow: auto; color: #BEBEC8; font-size: 10pt;">$ git clone git://github.com/machine.machine.specifications.git mspec</pre>
<h3>Step 2 &#8211; Build It:</h3>
<p>Next, open it up in Visual Studio, set it to build in release mode and build it. Now the binaries will be ready for you.
</p>
<h3>Step 3 &#8211; Setup ReSharper:</h3>
<p>Now we need to setup ReSharper to be able to utilize the MSpec framework and run the tests in ReSharper&#8217;s test runner. To do this we need to add a plugins directory to the &#8220;JetBrains\ReSharper\v4.5\Bin&#8221; directory or the where ever the bin directory for your ReSharper is located. In the Plugins create a Machine.Specifications directory, so you should now have a path similar to; &#8220;JetBrains\ReSharper\v4.5\Bin\Plugins\Machine.Specifications&#8221;. Place the following dlls in the newly created folder: Machine.Specifications.ReSharperRunner.4.5.dll and Machine.Specifications.dll.
</p>
<h3>Step 4 &#8211; Write some Specifications:</h3>
<p>Coolio, now to test some behaviors, the dlls needed in our test project; Machine.Specifications.dll, Machine.Specifications.NUnit.dll or Machine.Specifications.XUnit.dll, and the appropriate test framework dll.</p>
<p><br/>
<p>Let&#8217;s take a look at a couple of examples to get used to the syntax. The most common keywords you want to pay attention to are <strong>Subject, Establish, Because</strong> and <strong>It</strong>. Declare the Subject of your Spec, Establish a context of the spec, Because x occurs, It should do something. For more complex scenarios you can use the keyword, <strong>Behaves_like</strong> and the <strong>Behaviors</strong> attribute which allows you to define complex behaviors. If you need to perform some cleanup use the <strong>Cleanup</strong> keyword.</p>
<p>Now for a couple of simple contrived examples&#8230;</p>
<p>This first specification looks at adding two numbers:</p>
<pre style="background-color: #141414;font-family: Lucida Console;padding: 5px;border:solid 1px #333; overflow: auto; color: #BEBEC8; font-size: 10pt;">[<span style="color: #7386a5;">Subject</span>(<span style="color: #8f9d6a;">"adding two operands"</span>)]
<span style="color: #cda869;">public class</span> <span style="color: #7386a5;">when_adding_two_operands</span>
{
	<span style="color: #cda869;">static decimal</span> value;

	<span style="color: #7386a5;">Establish</span> context <span style="color: #cda869;">=</span> () <span style="color: #cda869;">=&gt;</span>
		value <span style="color: #cda869;">=</span> <span style="color: #9B7032;">0m</span>;

	<span style="color: #7386a5;">Because</span> of <span style="color: #cda869;">=</span> () <span style="color: #cda869;">=&gt;</span>
		value <span style="color: #cda869;">= new</span> Operator().Add(<span style="color: #9B7032;">42.0m</span>, <span style="color: #9B7032;">42.0m</span>);

	<span style="color: #7386a5;">It</span> should_add_both_operands <span style="color: #cda869;">=</span> () <span style="color: #cda869;">=&gt;</span>
		value.ShouldEqual(<span style="color: #9B7032;">84.0m</span>);
}</pre>
<p>The second specification looks at adding multiple numbers:</p>
<pre style="background-color: #141414;font-family: Lucida Console;padding: 5px;border:solid 1px #333; overflow: auto; color: #BEBEC8; font-size: 10pt;">[<span style="color: #7386a5;">Subject</span>(<span style="color: #8f9d6a;">"adding multiple operands"</span>)]
<span style="color: #cda869;">public class</span> <span style="color: #7386a5;">when_adding_multiple_operands</span>
{
	<span style="color: #cda869;">static decimal</span> value;

	<span style="color: #7386a5;">Establish</span> context <span style="color: #cda869;">=</span> () <span style="color: #cda869;">=&gt;</span>
		value <span style="color: #cda869;">=</span> <span style="color: #9B7032;">0m</span>;

	<span style="color: #7386a5;">Because</span> of <span style="color: #cda869;">=</span> () <span style="color: #cda869;">=&gt;</span>
		value <span style="color: #cda869;">= new</span> Operator().Add(<span style="color: #9B7032;">42m</span>, <span style="color: #9B7032;">42m</span>, <span style="color: #9B7032;">42m</span>);

	<span style="color: #7386a5;">It</span> should_add_all_operands <span style="color: #cda869;">=</span> () <span style="color: #cda869;">=&gt;</span>
		value.ShouldEqual(<span style="color: #9B7032;">126m</span>);
}</pre>
<p>The code being tested:</p>
<pre style="background-color: #141414;font-family: Lucida Console;padding: 5px;border:solid 1px #333; overflow: auto; color: #BEBEC8; font-size: 10pt;"><span style="color: #cda869;">public class</span> <span style="color: #7386a5;">Operator</span>
{
	<span style="color: #cda869;">public decimal</span> Add(<span style="color: #cda869;">decimal</span> firstOperand, <span style="color: #cda869;">decimal</span> secondOperand)
	{
		<span style="color: #cda869;">return</span> firstOperand <span style="color: #cda869;">+</span> secondOperand;
	}

	<span style="color: #cda869;">public decimal</span> Add(<span style="color: #cda869;">params decimal</span>[] operands)
	{
		<span style="color: #cda869;">decimal</span> value <span style="color: #cda869;">=</span> <span style="color: #9B7032;">0m</span>;

		<span style="color: #cda869;">foreach</span> (<span style="color: #cda869;">var</span> operand <span style="color: #cda869;">in</span> operands)
		{
			value <span style="color: #cda869;">+=</span> operand;
		}

		<span style="color: #cda869;">return</span> value;
	}
}</pre>
<h3>Step 5 &#8211; Create Templates to Improve Your Efficiency:</h3>
<p>
Using ReSharper templates is a good way to improve your spec writing efficiency, the following are templates I have been using.</p>
<p>This first one is for your normal behaviors:</p>
<pre style="background-color: #141414;font-family: Lucida Console;padding: 5px;border:solid 1px #333; overflow: auto; color: #BEBEC8; font-size: 10pt;">[Subject("$subject$")]
public class when_<span style="color: #cda869;">$when$</span>
{
	Establish context =()=&gt;	{};

	Because of =()=&gt; {};		

	It should_$should$ =()=&gt; <span style="color: #7386a5;">$END$</span>;
}</pre>
<p>This one&#8217;s for assertions by themselves:</p>
<pre style="background-color: #141414;font-family: Lucida Console;padding: 5px;border:solid 1px #333; overflow: auto; color: #BEBEC8; font-size: 10pt;">It should_<span style="color: #cda869;">$should$</span> =()=&gt; <span style="color: #7386a5;">$END$</span>;</pre>
<h3>Step 6 &#8211; Run the Report</h3>
<p>The report generated is pretty much the exact same as the SpecUnit report. The easiest thing to do is place the following MSpec binaries and file in the directory where your test binaries are placed; CommandLine.dll, Machine.Specifications.ConsoleRunner.exe, Machine.Specifications.dll and CommandLine.xml. The command to run the report goes a little something like:</p>
<pre style="background-color: #141414;font-family: Lucida Console;padding: 5px;border:solid 1px #333; overflow: auto; color: #BEBEC8; font-size: 10pt;">machine.specifications.consolerunner --html &lt;the location you want the html report stored&gt; &lt;your test dll name&gt;</pre>
<p>This is the report generated from the example specs:<br/><br/><img src="http://sbiefeld.com/wp-content/uploads/2009/08/MSpecReportExample.PNG" alt="MSpecReportExample" title="MSpecReportExample" width="434" height="390" class="alignnone size-full wp-image-394" style="border: solid 1px #ddd;" /></p>
<p><br/>
<p>Well, that&#8217;s about all for now, let me know if you have any questions.</p>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/08/27/step-by-step-to-using-mspec-machine-specifications-with-resharper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Fluent NHibernate with an External NHibernate Config File</title>
		<link>http://sbiefeld.com/2009/07/13/configuring-fluent-nhibernate-with-an-external-nhibernate-config-file/</link>
		<comments>http://sbiefeld.com/2009/07/13/configuring-fluent-nhibernate-with-an-external-nhibernate-config-file/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 18:03:03 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=384</guid>
		<description><![CDATA[A while ago I was having issues using configuring fluent NHibernate with an external configuration file. I kept running into the issue of mappings not being registered. I was finally able to get it working appropriately and thought I would share my solution. The key is to configure the normal mappings first and then pass [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I was having issues using configuring fluent NHibernate with an external configuration file. I kept running into the issue of mappings not being registered. I was finally able to get it working appropriately and thought I would share my solution. The key is to configure the normal mappings first and then pass that configuration in when configuring fluent NHibernate.</p>
<pre style="background-color: #141414;font-family: Lucida Console;padding: 5px;border:solid 1px #333; overflow: auto; color: #BEBEC8; font-size: 10pt;"><span style="color: #cda869;">string</span> configFile = <span style="color: #8f9d6a;">"hibernate.cfg.xml"</span>;<br/><br/><span style="color: #5f5a5f;">//setup the normal map configuration</span><br/><span style="color: #cda869;">Configuration</span> normalConfig = <span style="color: #cda869;">new</span> <span style="color: #7386a5;">Configuration</span>().Configure(configFile);<br/><br/><span style="color: #5f5a5f;">//setup the fluent map configuration</span><br/><span style="color: #7386a5;">Fluently</span>.Configure(normalConfig)<br/>	.Mappings(<br/>		m =&gt; m.FluentMappings<br/>		.ConventionDiscovery.Add(<span style="color: #7386a5;">DefaultLazy</span>.AlwaysFalse())<br/>		.AddFromAssemblyOf&lt;<span style="color: #7386a5;">UserMap</span>&gt;())<br/>	.BuildConfiguration();<br/></pre>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/07/13/configuring-fluent-nhibernate-with-an-external-nhibernate-config-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No Fluff News &#8211; Coming soon</title>
		<link>http://sbiefeld.com/2009/05/23/no-fluff-news-coming-soon/</link>
		<comments>http://sbiefeld.com/2009/05/23/no-fluff-news-coming-soon/#comments</comments>
		<pubDate>Sat, 23 May 2009 21:44:04 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[no fluff news]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=372</guid>
		<description><![CDATA[
I am ramping up on my next personal project, No Fluff News.  The site is going to be designed to sort out real news from non-news. The objective so far: Aggregate news, weed out non-news, link to true news, create an insightful, non-PC, sarcastic description and picture per item. For updates on the site [...]]]></description>
			<content:encoded><![CDATA[<p><br/>
<p>I am ramping up on my next personal project, <a href="http://nofluffnews.org" target="_blank">No Fluff News</a>.  The site is going to be designed to sort out real news from non-news. The objective so far: Aggregate news, weed out non-news, link to true news, create an insightful, non-PC, sarcastic description and picture per item. For updates on the site follow on twitter, <a href="http://twitter.com/nofluffnews" target="_blank">@nofluffnews</a>.</p>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/05/23/no-fluff-news-coming-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bilderberg, Obama and the Erosion of Our Freedoms</title>
		<link>http://sbiefeld.com/2009/05/16/bilderberg-obama-and-the-erosion-of-our-freedoms/</link>
		<comments>http://sbiefeld.com/2009/05/16/bilderberg-obama-and-the-erosion-of-our-freedoms/#comments</comments>
		<pubDate>Sat, 16 May 2009 07:57:55 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[Freedom]]></category>
		<category><![CDATA[Survival]]></category>
		<category><![CDATA[Abraham Lincoln]]></category>
		<category><![CDATA[Alex Jones]]></category>
		<category><![CDATA[arrest]]></category>
		<category><![CDATA[Bilderberg]]></category>
		<category><![CDATA[Bush]]></category>
		<category><![CDATA[citizenry media]]></category>
		<category><![CDATA[Deception]]></category>
		<category><![CDATA[Erosion of Freedom]]></category>
		<category><![CDATA[Hitler Youth]]></category>
		<category><![CDATA[Information Revolution]]></category>
		<category><![CDATA[New World Order]]></category>
		<category><![CDATA[Obama]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Ruling Elite]]></category>
		<category><![CDATA[The Guardian]]></category>
		<category><![CDATA[Thomas Jefferson]]></category>
		<category><![CDATA[uk]]></category>
		<category><![CDATA[www.guardian.co.uk]]></category>
		<category><![CDATA[www.infowars.com]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=308</guid>
		<description><![CDATA[
Just watched the Obama Deception, made by Alex Jones,  it is very illuminating on the facade put up by international banking cartels that have been around for centuries, i.e. the Rothschild Family. It is incredible that people continue to believe politicians even though they continually lie. Some of the best quotes from the film [...]]]></description>
			<content:encoded><![CDATA[<p><br/>
<p>Just watched the <a href="http://www.prisonplanet.com/the-obama-deception-guide.html" target=_blank">Obama Deception</a>, made by <a href="http://www.infowars.com/alexjones.html" target="_blank">Alex Jones</a>,  it is very illuminating on the facade put up by international banking cartels that have been around for centuries, i.e. the <a href="http://en.wikipedia.org/wiki/Rothschild_family" target="_blank">Rothschild Family</a>. It is incredible that people continue to believe politicians even though they continually lie.<br/><br/> Some of the best quotes from the film are of former presidents Abraham Lincoln and Thomas Jefferson:<br />
<blockquote><i>&#8220;The money powers prey upon the nation in times of peace and conspire against it in times of adversity. It is more despotic than a monarchy, more insolent than autocracy, (and) more selfish than bureaucracy. It denounces, as public enemies, all who question its methods or throw light upon its crimes. I have two great enemies, the Southern Army in front of me and the bankers in the rear. Of the two, the one at my rear is my greatest foe&#8230;corporations have been enthroned, and an era of corruption in high places will follow, and the money power of the country will endeavor to prolong its reign by working upon the prejudices of the people until the wealth is aggregated in the hands of a few, and the Republic is destroyed.&#8221;</i> &#8211; <a href="http://en.wikipedia.org/wiki/Abraham_Lincoln" target="_blank">Abraham Lincoln</a></p></blockquote>
<blockquote><p><i>&#8220;If the American people ever allow private banks to control the issue of their currency, first by inflation then by deflation, the banks and the corporations that will grow up around them, will deprive the people of all property until their children wake up homeless on the continent their fathers conquered.&#8221;</i> &#8211; <a href="http://en.wikipedia.org/wiki/Thomas_Jefferson" target="_blank">Thomas Jefferson</a></p></blockquote>
<p><br/>Bush and Obama are one in the same, two figure heads of a serpent constricting the freedom and life out of our country. Our freedoms are slowly being taken from us, they are beginning to assault free people filming and taking pictures in public places, both in the <a href="http://www.youtube.com/watch?v=nugbYXIglhI" target="_blank">U.K.</a> and the <a href="http://www.youtube.com/watch?v=6TVfUVRsOZE" target="_blank">U.S.</a><br/><br/>The <a href="http://www.prisonplanet.com/leaked-agenda-bilderberg-group-plans-economic-depression.html" target="_blank">Bilderberg Group</a> is currently meeting outside of Athens, Greece. A writer for the <a href="http://www.guardian.co.uk/" target="_blank">The Guardian</a>, Charlie Skelton has been <a href="http://www.guardian.co.uk/world/series/charlie-skeltons-bilderberg-files" target="_blank">arrested multiple times for taking pictures</a> near where the group is meeting. Skelton is a very engaging and enlightening writer.  Here are a few highlights from his posts:<br />
<blockquote>&#8220;It wasn&#8217;t meant to end this way. I&#8217;d gone for a gentle sunset walk, up by the Bilderberg hotel, to relax before the big opening day of the elite globalist shindig, watch Phoebus plunge headlong into the western sea, and (yes) maybe sneak a couple of short-lens pictures of the mounting security&#8230;Over came the man with the machine gun. Over came the man with the special mirror-on-a-stick for car bombs. It was the first time in my life, and hopefully the last, that I&#8217;ve been intimidated by a mirror on a stick. They circled round me. One of them, the one in the photo with one hand up and the other on his pistol, kept prodding me in the shoulder, and shouting: &#8216;Give the camera! Just give the camera!&#8217;&#8221; &#8211; <a href="http://www.guardian.co.uk/world/2009/may/14/bilderberg-charlie-skelton-dispatch" target ="_blank">Charlie Skelton</a></p></blockquote>
<blockquote><p>&#8220;Bilderberg is all about control. It&#8217;s about &#8220;what shall we do next?&#8221; We run lots of stuff already, how about we run some more? How about we make it easier to run stuff? More efficient. Efficiency is good. It would be so much easier with a single bank, a single currency, a single market, a single government. How about a single army? That would be pretty cool. We wouldn&#8217;t have any wars then. This prawn cocktail is GOOD. How about a single way of thinking? How about a controlled internet&#8230;My confession is that being tailed today by Greek special branch, and doubling back through a cafe and catching them out, and buying them chilled water on a hot day like in Beverley Hills Cop, when Eddie Murphy has room service sent to their car – all this was pretty exciting&#8230;Bilderberg is about positions of control. I get within half a mile of it, and suddenly I&#8217;m one of the controlled. I&#8217;m followed, watched, logged, detained, detained again. I&#8217;d been put in that position by the &#8220;power&#8221; that was up the road. Likewise, the Bilderberg delegates occupy a position of power over the bobbing ignorance of the people patting beach balls in the sea, and me with my crappy little camera and my curiosity and my ill-formed sense of citizenship. I may not be very good at bearing witness here, but I&#8217;m doing my best. I haven&#8217;t shinned over the fence and shoved a camera in David Rockefeller&#8217;s face but I don&#8217;t want to be shot in the forehead.&#8221;- <a href="http://www.guardian.co.uk/world/2009/may/15/bilderberg-charlie-skelton-dispatch1" target ="_blank">Charlie Skelton</a></p></blockquote>
<blockquote><p>&#8220;I walk into the far entrance of the cafe. I&#8217;m in an episode of The Wire. The cafe is long and thin. I double back on myself and stand, hidden, by the earlier entrance. I&#8217;m standing behind a shrub, clutching a laptop to my chest, my heart beating like a Phil Collins solo (on drums, not piano)&#8230;They&#8217;re watching me now. REALLY. They&#8217;re sitting on the wall outside the cafe Oceania or whatever this is called, watching me type this sentence. I asked them in for a coffee but they declined. They laughed sheepishly when I called them Starsky and Hutch.&#8221;- <a href="http://www.guardian.co.uk/world/2009/may/15/bilderberg-charlie-skelton-dispatch" target ="_blank">Charlie Skelton</a></p></blockquote>
<p><br/>Not only that, the <a href="http://www.youtube.com/watch?v=cB8Vh7odaDY" target="_blank">youth</a> of our country are <a href="http://www.nytimes.com/2009/05/14/us/14explorers.html?_r=3&#038;hp" target="_blank">being trained in tactical assault</a> reminiscent of the <a href="http://en.wikipedia.org/wiki/Hitler_Youth" target="_blank">Hitler Youth</a>. They are gearing up to take our country hostage and handle any uprising that may occur against the self-appointed gods that these ruling elite view themselves as.<br/><br/> The best way to fight these narcissistic rulers is to spread information exposing who they are and what they are doing. Everyone must become a disseminator of information about secret/semi-secret organizations like the <a href="http://en.wikipedia.org/wiki/Bilderberg_Group" target="_blank">Bilderberg Group</a>, the <a href="http://en.wikipedia.org/wiki/Council_on_Foreign_Relations" target="_blank">Council on Foreign Relations</a>, and the <a href="http://en.wikipedia.org/wiki/Trilateral_Commission" target="_blank">Trilateral Commission</a>.  Freedom of information is the absolute enemy of the elite bankers, politicians, and corporations. Only through an <a href="http://en.wikipedia.org/wiki/Information" target="_blank">information</a> <a href="http://en.wikipedia.org/wiki/Revolution">revolution</a> exposing truth will we the people be able to usurp these <a href="http://en.wikipedia.org/wiki/Bilderberg_Group" target="_blank">fascistic, narcissistic, masochistic would-be rulers</a>. The corruption is endemic in all levels of government and the citizen media is key to embarrassing and exposing the degradation of these so-called rulers. Resist the <a href="http://en.wikipedia.org/wiki/Doublespeak">doublespeak</a> and <a href="http://en.wikipedia.org/wiki/Newspeak">newspeak</a>, don&#8217;t be <a href="http://en.wikipedia.org/wiki/Sheeple" target="_blank">sheeple</a>, seek the truth and you shall be free.</p>
<h4>The Obama Deception Film</h4>
<p><br/></p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/eAaQNACwaLw&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/eAaQNACwaLw&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
<h3></h3>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/05/16/bilderberg-obama-and-the-erosion-of-our-freedoms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing with a Compiled Class that Doesn&#8217;t Implement an Interface &#8211; Adapter Pattern</title>
		<link>http://sbiefeld.com/2009/05/12/testing-with-a-compiled-class-that-doesnt-implement-an-interface-adapter-pattern/</link>
		<comments>http://sbiefeld.com/2009/05/12/testing-with-a-compiled-class-that-doesnt-implement-an-interface-adapter-pattern/#comments</comments>
		<pubDate>Wed, 13 May 2009 04:32:12 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Design Patterns]]></category>
		<category><![CDATA[Adapter Pattern]]></category>
		<category><![CDATA[Compiled Class]]></category>
		<category><![CDATA[Implement Interface]]></category>
		<category><![CDATA[Specification]]></category>
		<category><![CDATA[Unit Test]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=288</guid>
		<description><![CDATA[
*UPDATE: Per&#160;sean chambers, this is an example of the&#160;adapter pattern

I recently ran into an issue where I needed to implement a simple email service to send users a randomly generated PIN when they are first entered into the system. To accomplish this I decided to just use the System.Net.Mail implementation.&#160; To create and send an [...]]]></description>
			<content:encoded><![CDATA[<p><br/>
<p>*UPDATE: Per&nbsp;<a href="/members/schambers/default.aspx" target="_blank">sean chambers</a>, this is an example of the&nbsp;<a href="http://en.wikipedia.org/wiki/Adapter_pattern" target="_blank">adapter pattern</a></p>
<p><br/></p>
<p>I recently ran into an issue where I needed to implement a simple email service to send users a randomly generated PIN when they are first entered into the system. To accomplish this I decided to just use the <a target="_blank" title="system.net.mail" href="http://msdn.microsoft.com/en-us/library/system.net.mail.aspx">System.Net.Mail</a> implementation.&nbsp; To create and send an email you have to use the <a target="_blank" title="SmtpClient" href="http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.aspx">SmtpClient</a> class which does not implement an interface. All I really wanted to test was that the Send() method was called, I did not want to write an integration test that actually sends an email.</p>
<p><br/></p>
<p>One way to work around this problem is to create an interface containing the elements you need to mock from the compiled class.&nbsp; After this, create your own class that inherits the compiled class and implements your interface. Now when testing, you can seemingly mock up the non-interfaced compiled class, which is exactly what I wanted to achieve. I am not sure whether this is the appropriate way to handle the issue, if anyone has any thoughts on a better way to do this, I would be grateful for the advice.</p>
<p>My specification ended up looking like this:</p>
<p><br/></p>
<pre style="background-color: #141414;font-family: Lucida Console;padding: 5px;border:solid 1px #333; overflow: auto; color: #BEBEC8; font-size: 10pt;"><span style="color: #cda869;">public class</span> <span style="color: #7386a5;">EmailServiceSpecs</span> : <span style="color: #7386a5;">ContextSpecification</span>
{
	<span style="color: #cda869;">protected</span> <span style="color: #d0da90;">IEmailService</span> _emailService;
	<span style="color: #cda869;">protected</span> <span style="color: #d0da90;">ISmtpClient</span> _smtpClient;
	<span style="color: #cda869;">protected string</span> _emailTo <span style="color: #cda869;">=</span> <span style="color: #8f9d6a;">"phillip.fry@planetexpress.com"</span>;
	<span style="color: #cda869;">protected string</span> _emailFrom <span style="color: #cda869;">=</span> <span style="color: #8f9d6a;">"hermes.conrad@planetexpress.com"</span>;
	<span style="color: #cda869;">protected string</span> _emailSubject <span style="color: #cda869;">=</span> <span style="color: #8f9d6a;">"New Process to Improve Morale"</span>;
	<span style="color: #cda869;">protected string</span> _emailBody <span style="color: #cda869;">=</span> <span style="color: #8f9d6a;">"From now on all employees will be required to have Brain slugs, remember, a mindless worker is a happy worker."</span>;

	<span style="color: #cda869;">protected override void</span> SharedContext()
	{
		<span style="color: #7386a5;">DependencyInjection</span><span style="color: #cda869;">.</span><span style="color: #7386a5;">RegisterType</span>&lt;<span style="color: #d0da90;">IEmailService</span>, <span style="color: #7386a5;">EmailService</span>&gt;();

		_emailService <span style="color: #cda869;">=</span> <span style="color: #7386a5;">DependencyInjection</span>
			<span style="color: #cda869;">.</span>GetDependency&lt;<span style="color: #d0da90;">IEmailService</span>&gt;(_emailTo, _emailFrom, _emailSubject, _emailBody);

		_smtpClient <span style="color: #cda869;">=</span> <span style="color: #7386a5;">MockRepository</span>.GenerateMock&lt;<span style="color: #d0da90;">ISmtpClient</span>&gt;();

		<span style="color: #7386a5;">DependencyInjection</span><span style="color: #cda869;">.</span>RegisterInstance(_smtpClient);
	}
}

[<span style="color: #7386a5;">TestFixture</span>]
[<span style="color: #7386a5;">Concern</span>(<span style="color: #8f9d6a;">"Email Service"</span>)]
<span style="color: #cda869;">public class</span> <span style="color: #7386a5;">when_sending_an_email</span> : <span style="color: #7386a5;">EmailServiceSpecs</span>
{
	<span style="color: #cda869;">protected override void</span> Context()
	{
		_smtpClient.Stub(smptClient <span style="color: #cda869;">=&gt;</span> smptClient<span style="color: #cda869;">.</span>Send(<span style="color: #cda869;">new</span> <span style="color: #7386a5;">MailMessage</span>()))
			<span style="color: #cda869;">.</span>IgnoreArguments()
			<span style="color: #cda869;">.</span>Repeat<span style="color: #cda869;">.</span>Any();

		_emailService<span style="color: #cda869;">.</span>Send();
	}

	[<span style="color: #7386a5;">Test</span>]
	[<span style="color: #7386a5;">Observation</span>]
	<span style="color: #cda869;">public void</span> should_send_email()
	{
		_smtpClient<span style="color: #cda869;">.</span>AssertWasCalled<
			(smtpClient <span style="color: #cda869;">=&gt;</span> smtpClient<span style="color: #cda869;">.</span>Send(<span style="color: #cda869;">new</span> MailMessage()),
			assertionOptions <span style="color: #cda869;">=&gt;</span> assertionOptions<span style="color: #cda869;">.</span>IgnoreArguments());
	}
}
</pre>
<p>Below are my email classes:</p>
<pre style="background-color: #141414;font-family: Lucida Console;padding: 5px;border:solid 1px #333; overflow: auto; color: #BEBEC8; font-size: 10pt;"><span style="color: #cda869;">public interface</span> <span style="color: #d0da90;">ISmtpClient</span>
{
	<span style="color: #cda869;">void</span> Send(<span style="color: #7386a5;">MailMessage</span> message);
}

[<span style="color: #7386a5;">MapDependency</span>(<span style="color: #cda869;">typeof</span>(<span style="color: #d0da90;">ISmtpClient</span>))]
<span style="color: #cda869;">public class </span><span style="color: #7386a5;">SubsideSmtpClient</span> : <span style="color: #7386a5;">SmtpClient</span>, <span style="color: #d0da90;">ISmtpClient</span> { }

<span style="color: #cda869;">public interface</span> <span style="color: #d0da90;">IEmailService</span>
{
	<span style="color: #cda869;">void</span> Send();
}

[<span style="color: #7386a5;">MapDependency</span>(<span style="color: #cda869;">typeof</span>(<span style="color: #d0da90;">IEmailService</span>))]
<span style="color: #cda869;">public class</span> <span style="color: #7386a5;">EmailService</span> : <span style="color: #d0da90;">IEmailService</span>
{
	<span style="color: #cda869;">public</span> <span style="color: #7386a5;">EmailService</span>(<span style="color: #cda869;">string</span> to, <span style="color: #cda869;">string</span> from, <span style="color: #cda869;">string</span> subject, <span style="color: #cda869;">string</span> body)
	{
		Email = <span style="color: #cda869;">new</span> <span style="color: #7386a5;">MailMessage</span>(from, to, subject, body);
	}

	<span style="color: #cda869;">protected</span> <span style="color: #7386a5;">MailMessage</span> Email
	{
		<span style="color: #cda869;">get</span>; <span style="color: #cda869;">set</span>;
	}

	<span style="color: #cda869;">private</span> <span style="color: #d0da90;">ISmtpClient</span> _smptClient;

	<span style="color: #cda869;">protected</span> <span style="color: #d0da90;">ISmtpClient</span> Smtp
	{
		<span style="color: #cda869;">get</span>
		{
			_smptClient = <span style="color: #7386a5;">DependencyUtilities</span>
				<span style="color: #cda869;">.</span>RetrieveDependency(_smptClient);
			<span style="color: #cda869;">return</span> _smptClient;
		}
	}

	<span style="color: #cda869;">public void</span> Send()
	{
		Smtp<span style="color: #cda869;">.</span>Send(Email);
	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/05/12/testing-with-a-compiled-class-that-doesnt-implement-an-interface-adapter-pattern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated MonoChrome Firefox theme</title>
		<link>http://sbiefeld.com/2009/05/12/updated-monochrome-firefox-theme/</link>
		<comments>http://sbiefeld.com/2009/05/12/updated-monochrome-firefox-theme/#comments</comments>
		<pubDate>Wed, 13 May 2009 04:16:38 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[MonoChrome]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=274</guid>
		<description><![CDATA[
Hey just wanted to let everyone know that I updated my Firefox theme, MonoChrome, for version 3.5b4pre.You can grab it from the link below:

https://addons.mozilla.org/en-US/firefox/addon/8791

Screen shot:


If you would like to contribute or grab the source, it is hosted on google code:
http://code.google.com/p/monochrometheme
]]></description>
			<content:encoded><![CDATA[<p><br/>
<p>Hey just wanted to let everyone know that I updated my Firefox theme, MonoChrome, for version 3.5b4pre.<br />You can grab it from the link below:</p>
<p><br/></p>
<p><a target="_blank" title="MonoChrome" href="https://addons.mozilla.org/en-US/firefox/addon/8791">https://addons.mozilla.org/en-US/firefox/addon/8791</a></p>
<p><br/></p>
<p>Screen shot:</p>
<p><br/></p>
<p><img src="http://www.lostechies.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/monochromeBrowserAll.png" /></p>
<p>If you would like to contribute or grab the source, it is hosted on google code:</p>
<p><a target="_blank" title="monochrome theme" href="http://code.google.com/p/monochrometheme">http://code.google.com/p/monochrometheme</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/05/12/updated-monochrome-firefox-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Weather Vein</title>
		<link>http://sbiefeld.com/2009/05/11/the-weather-vein/</link>
		<comments>http://sbiefeld.com/2009/05/11/the-weather-vein/#comments</comments>
		<pubDate>Tue, 12 May 2009 04:54:06 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[Philosophy]]></category>
		<category><![CDATA[Poetry]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Michael Savage]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=227</guid>
		<description><![CDATA[
A wonderful poem by Michael Savage:
&#8220;I am Moses,
I am Abraham.
I am Isaac,
I am Charlagmane.
I am John Wayne,
I am Coltrane.
They try to suppress me,
try to redress me.
Call me incorrect,
deserving no respect.
I am Patton,
I am Hatton,
even Mt. Batten.
I am Eisenhower,
not a wallflower.
I am Washington,
I am Pershing.
I am McArthur,
I am Kipling.
I am Audie Murphy
and I am Sky King.
They&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p><br/>
<p>A wonderful poem by <a href="http://michaelsavage.wnd.com" target="_blank">Michael Savage</a>:</p>
<blockquote><p>&#8220;I am <a href="http://en.wikipedia.org/wiki/Moses">Moses</a>,<br />
I am <a href="http://en.wikipedia.org/wiki/Abraham" target="_blank">Abraham</a>.<br />
I am <a href="http://en.wikipedia.org/wiki/Isaac" target="_blank">Isaac</a>,<br />
I am <a href="http://en.wikipedia.org/wiki/Charlemagne" target="_blank">Charlagmane</a>.<br />
I am <a href="http://en.wikipedia.org/wiki/John_Wayne" target="_blank">John Wayne</a>,<br />
I am <a href="http://en.wikipedia.org/wiki/John_Coltrane" target="_blank">Coltrane</a>.<br />
They try to suppress <a href="http://michaelsavage.wnd.com" target="_blank">me</a>,<br />
try to redress me.<br />
Call me incorrect,<br />
deserving no respect.<br />
I am <a href="http://en.wikipedia.org/wiki/George_S._Patton" target="_blank">Patton</a>,<br />
I am <a href="http://en.wikipedia.org/wiki/Ricky_Hatton" target="_blank">Hatton</a>,<br />
even <a href="http://en.wikipedia.org/wiki/Mount_Batten" target="_blank">Mt. Batten</a>.<br />
I am <a href="http://en.wikipedia.org/wiki/Dwight_D._Eisenhower" target="_blank">Eisenhower</a>,<br />
not a <a href="http://en.wiktionary.org/wiki/wallflower" target="_blank">wallflower</a>.<br />
I am <a href="http://en.wikipedia.org/wiki/George_Washington" target="_blank">Washington</a>,<br />
I am <a href="http://en.wikipedia.org/wiki/John_J._Pershing" target="_blank">Pershing</a>.<br />
I am <a href="http://en.wikipedia.org/wiki/Douglas_MacArthur" target="_blank">McArthur</a>,<br />
I am <a href="http://en.wikipedia.org/wiki/Rudyard_Kipling" target="_blank">Kipling</a>.<br />
I am <a href="http://en.wikipedia.org/wiki/Audie_Murphy" target="_blank">Audie Murphy</a><br />
and I am <a href="http://en.wikipedia.org/wiki/Sky_King" target="_blank">Sky King</a>.<br />
They&#8217;ll steal your crown,<br />
trample you down.<br />
Take your good name,<br />
and put it to shame.<br />
I am <a href="http://en.wikipedia.org/wiki/Gene_Autry" target="_blank">Gene Autry</a>,<br />
I am <a href="http://en.wikipedia.org/wiki/Roy_Rogers" target="_blank">Roy Rogers</a>.<br />
I am <a href="http://en.wikipedia.org/wiki/Tom_Mix" target="_blank">Tom Mix</a>.<br />
They try to push me,<br />
over the <a href="http://en.wikipedia.org/wiki/Styx_(mythology)" target="_blank">river Styx</a>.<br />
But it won&#8217;t mix,<br />
with my true blood,<br />
which runs thick for <a href="http://en.wikipedia.org/wiki/United_States" target="_blank">America</a>.<br />
I am the bane,<br />
of those <a href="http://en.wiktionary.org/wiki/vain" target="_blank">vain</a>.<br />
I am the Weather Vein!<br />
I am <a href="http://michaelsavage.wnd.com/" target="_blank">Michael Savage!</a>&#8220;</p></blockquote>
<p><br/></p>
<p>Poem relating to Savage&#8217;s <a href="http://www.guardian.co.uk/commentisfree/2009/may/10/michael-savage-radio-homeopathy-jacqui-smith" target="_blank">ban in the U.K.</a></p>
<p>-<a href="http://michaelsavage.wnd.com" target="_blank">Michael Savage</a></p>
<p>Audio Source: <a href="./Stuff/SavageTheWeatherVein.zip" >mp3</a><br/><br />
Copyright 2009 <a href="http://michaelsavage.wnd.com" target="_blank">Michael Savage</a>, <a href="http://www.talkradionetwork.com" target="_blank">Talk Radio Network</a> All Rights Reserved.</p>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/05/11/the-weather-vein/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Visual Studio Twilight theme</title>
		<link>http://sbiefeld.com/2009/04/14/my-visual-studio-twilight-theme/</link>
		<comments>http://sbiefeld.com/2009/04/14/my-visual-studio-twilight-theme/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 05:54:05 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[ASPX]]></category>
		<category><![CDATA[Color Scheme]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=208</guid>
		<description><![CDATA[
I just finalized my text color theme for visual studio. Just thought I would share it with everyone. It is geared towards those of you who have resharper installed, but it should still work fine without it.

The theme is based off of the textmate twilight theme. I was going for a low contrast theme that [...]]]></description>
			<content:encoded><![CDATA[<p><br/>
<p>I just finalized my text color theme for visual studio. Just thought I would share it with everyone. It is geared towards those of you who have resharper installed, but it should still work fine without it.</p>
<p><br/></p>
<p>The theme is based off of the <a href="http://wiki.macromates.com/Themes/UserSubmittedThemes" target="_blank">textmate</a> twilight theme. I was going for a low contrast theme that is easy on the eyes.&nbsp; I have tried the Vibrant Ink theme and it is too abrasive for me. My goal was to make warnings and errors blatantly obvious and distinguish classes from interfaces. I also love how the comments are dark and do not draw attention, I am not a big fan of comments.&nbsp; I think the code along with BDD tests should be self-explanatory of what is going on.</p>
<p><br/></p>
<p>All resharper warnings show up as red text. Build errors have red squiggly lines under them.&nbsp; Breakpoints have red background. </p>
<p><br/></p>
<p>Here is a c# example:</p>
<p><br/></p>
<p><img src="http://www.lostechies.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/TwilightCs.PNG" /></p>
<p><br/></p>
<p>Here is an example of an aspx page:</p>
<p><br/></p>
<p><img src="http://www.lostechies.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/TwilightAspx.PNG" /></p>
<p><br/></p>
<p>Style sheet example:</p>
<p><br/></p>
<p><img src="http://www.lostechies.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/TwilightCss.PNG" /></p>
<p><br/></p>
<p>JavaScript example:</p>
<p><br/></p>
<p><img src="http://www.lostechies.com/cfs-filesystemfile.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/TwilightJs.PNG" /></p>
<p><br/></p>
<p>Let me know if you have any suggestions.</p>
<p><br/></p>
<p><a target="_blank" href="http://www.lostechies.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.21.37/MyTwighlightTheme.zip">Grab the Visual Studio settings file here!</a></p>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/04/14/my-visual-studio-twilight-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing at the Speed of Microsoft</title>
		<link>http://sbiefeld.com/2009/03/03/developing-at-the-speed-of-microsoft/</link>
		<comments>http://sbiefeld.com/2009/03/03/developing-at-the-speed-of-microsoft/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 01:13:39 +0000</pubDate>
		<dc:creator>Sean Biefeld</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://sbiefeld.com/?p=194</guid>
		<description><![CDATA[
As .net developers do you ever feel like Microsoft is hindering your development by the development tools they impose on us. I have been thinking about this lately and decide to discuss it, or this might actually be a rant, forgive the rant. I aim to take a brief look at web development the Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p><br/></p>
<p>As .net developers do you ever feel like <a target="_blank" href="http://en.wikipedia.org/wiki/Microsoft">Microsoft i</a>s hindering your development by the development tools they impose on us. I have been thinking about this lately and decide to discuss it, or this might actually be a rant, forgive the rant. I aim to take a brief look at web development the Microsoft way, how it has evolved, and the hindrances imposed on the community.</p>
<h3>The Microsoft Web Development World</h3>
<p>Now I have never developed Microsoft web applications pre-webforms, i.e. pre-<a target="_blank" href="http://en.wikipedia.org/wiki/ASP.NET">Asp.net</a>, so I am not going to comment on that. What I am going to focus on is Microsoft&#8217;s asp.net development frameworks. As a side note, I have not done much development on the windows side of things, but it seems that it has been stagnating. I would love to see Microsoft write some bindings for <a target="_blank" href="http://en.wikipedia.org/wiki/GTK%2B">GTK+</a> and/or <a target="_blank" href="http://en.wikipedia.org/wiki/Qt_(toolkit)">Qt</a>, and support those cross platform toolkits. Pie in the sky dreams, I know.</p>
<h4>ASP.NET &#8211; Web Forms</h4>
<p>Somehow in their brilliance, big brother decided that abstracting HTML and Javascript into a infinitely more complex framework would be a good idea. This is ludicrous, don&#8217;t introduce unnecessary bloat into a framework. The page life cycle is ridiculous, all the built in webform controls use some retarded infinite inheritance scheme. Also what&#8217;s Microsoft&#8217;s infatuation with span tags, they wrapped all their webform controls in them.</p>
<p><br/></p>
<p> Lol, I know this is common knowledge and has been discussed at length before but I still have to deal with it on a daily basis and it feels like I&#8217;m trying to cut off my leg with a steak knife. My interest lies in finding the true reasoning behind this. I have to working theories. One is that Microsoft is so loving and kind towards their developers that they wanted to coddle them, and that coddling most likely stemmed from their lack of respect for us and our intelligence.  The other theory is that Microsoft convoluted the framework without realizing it due to their arrogance, believing they own the world and the way they are doing things must be right.</p>
<h4>ASP.NET AJAX</h4>
<p>Next the <a target="_blank" href="http://en.wikipedia.org/wiki/Web_2.0">web 2.0</a> boom arrived and everyone was clamoring for more interactive web UIs. The .net developers yelled loud enough and long enough that they wanted to have the same thing that they were witnessing in other web frameworks. The keyword here is <a target="_blank" href="http://en.wikipedia.org/wiki/ASP.NET_AJAX">ajax</a>. So what does Microsoft do, they don&#8217;t take this moment and think about totally redesigning their asp.net framework, they say lets create some more complex web controls and use them in conjunction with an uber-complex ajax framework. </p>
<p><br/></p>
<p>Awesome, we now how fresh steamy poo piled on top of old rotting, festering poo. Thanks big brother. Instead of realizing their mistakes they made with web forms they exacerbate the problem. Now we get a seemingly dumbed down ajax scheme, oh just wrap everything in an update panel and Microsoft will do the rest. Besides the fact that this removes all control you have over the interactions between the server and client, you also can not use any other javascript inside of these panels. So once again it boils down to arrogance, contempt, and a lack of foresight.</p>
<h4>ASP.NET MVC</h4>
<p>Now, Microsoft sees a significant proportion of developers moving to <a target="_blank" href="http://en.wikipedia.org/wiki/Ruby_(programming_language)">ruby</a> utilizing the <a target="_blank" href="http://en.wikipedia.org/wiki/Ruby_on_Rails">ruby on rails framework</a>. Also the community is yelling and screaming again, must be appeasement time. Did Microsoft actually take an introspective look and realize how ass backwards webforms is? Doubtful, they just figured out that they better do something to try and hold onto market share and give the community some fools gold. So they copy ruby on rails, ooooh, way to go big brother, you&#8217;re so innovative!</p>
<p><br/></p>
<p> It is way too late in the game, <a target="_blank" href="http://en.wikipedia.org/wiki/ASP.NET_MVC_Framework">asp.net mvc</a> is something Microsoft should have done long ago. Back when they were formulating asp.net webforms. There is no excuse for Microsoft not to have created a framework like this when they introduced the asp.net ajax stuff. It&#8217;s ridiculous, and still they are losing market share, I wonder why. </p>
<p><br/></p>
<p>They ignore their base long enough and they won&#8217;t have a base. What are we supposed to drink the kool-aid and be satisfied, the <a target="_blank" href="http://en.wikipedia.org/wiki/Model-view-controller">MVC pattern</a> is how old? Oh, wow they are supporting a way to <a target="_blank" href="http://en.wikipedia.org/wiki/Unit_testing">unit test</a> the UI interactions, wow how progressive you are Microsoft. Where is the support for plugins, where is the support for <a target="_blank" href="http://en.wikipedia.org/wiki/Representational_State_Transfer">RESTful web services</a>? The point is there is nothing to be impressed about, it&#8217;s ridiculous that people are excited, this should have happened long ago.</p>
<h3>Conclusion</h3>
<p>Now don&#8217;t get your panties in a wad I&#8217;m not all cynical, I like <a target="_blank" href="http://en.wikipedia.org/wiki/C_Sharp_(programming_language)">c#</a> as a language, even thought it is a static language and I like the <a target="_blank" href="http://en.wikipedia.org/wiki/Common_Language_Runtime">CLR</a>. Hopefully MVC is a sign that Microsoft is going to be moving at a less stagnant pace. I don&#8217;t think they will be. </p>
<p><br/></p>
<p>Things like <a target="_blank" href="http://www.mono-project.com/Main_Page">Mono</a>, <a target="_blank" href="/controlpanel/blogs/posteditor.aspx/http:/www.nhibernate.org/ ">NHibernate</a>, the <a target="_blank" href="http://altdotnet.org/">alt.net community</a> supplement the failings of the giant, but we should be fed up. Microsoft doesn&#8217;t listen, because of their corporate culture, which i doubt will change. Adding things to the web framework that should have been there long ago is nothing to celebrate, there i said it, <a target="_blank" href="http://www.youtube.com/watch?v=_6rAUUoaNZo">&#8220;Big whoop, want to fight about it&#8221;</a>. </p>
<p><br/></p>
<p>On a larger scale, why is Microsoft not listening to the community more, why are they not seeking to improve the community along the lines of the ruby community?  Where is Microsoft&#8217;s version of package management like <a target="_blank" href="http://en.wikipedia.org/wiki/RubyGems">ruby gems</a>? Where&#8217;s their continuous integration/build tool? Where&#8217;s their testing framework? Where&#8217;s there promotion of best software practices, i.e. <a target="_blank" href="/blogs/chad_myers/archive/2008/03/07/pablo-s-topic-of-the-month-march-solid-principles.aspx">SOLID</a>, <a target="_blank" href="http://en.wikipedia.org/wiki/Test-driven_development">TDD</a>, <a target="_blank" href="http://en.wikipedia.org/wiki/Behavior_Driven_Development">BDD</a>, <a target="_blank" href="http://en.wikipedia.org/wiki/Agile_software_development">Agile methodologies</a>, <a target="_blank" href="http://blog.scottbellware.com/2009/02/decade-of-agile-dawn-of-lean.html">Lean methodologies</a>? The answer is no where, all of that exists inside the community without Microsoft&#8217;s support. </p>
<p><br/></p>
<p>The community is bettering ourselves in spite of Microsoft&#8217;s stagnation. Now think what could be accomplished if they actually fully embraced the community and threw their money and clout behind what the community stands for, it would be great. I am very doubtful that will happen, though, I think it will take mass exodus from .net development for Microsoft to ever get the message. If nothing happens the .net community will continue to stagger along at the pace of Microsoft, it will not reach its potential, and the community will wither and die. </p>
<p><br/></p>
<p>There is an entire software industry that needs to mature, the .net community is but a sub-section of it.&nbsp; It would be great if we could lead the industry in best practices and passion for our craft.</p>
]]></content:encoded>
			<wfw:commentRss>http://sbiefeld.com/2009/03/03/developing-at-the-speed-of-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
