<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/" version="2.0">
    <channel>
        <title>Brian Chavez - Serial Entrepreneur &amp; Engineer</title>
        <link>http://bchavez.bitarmory.com/Default.aspx</link>
        <description>Thoughts about .NET, C#, Security, and Gaming from a passionate developer</description>
        <language>en-US</language>
        <copyright>Brian Chavez</copyright>
        <managingEditor>bchavez@bitarmory.com</managingEditor>
        <generator>Subtext Version 1.9.5.176</generator>
        <image>
            <title>Brian Chavez - Serial Entrepreneur &amp; Engineer</title>
            <url>http://bchavez.bitarmory.com/images/RSS2Image.gif</url>
            <link>http://bchavez.bitarmory.com/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/BrianChavezsBlog" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
            <title>The Parallel port driver service failed to start &amp;ndash; Hyper-V</title>
            <category>Errors</category>
            <link>http://bchavez.bitarmory.com/archive/2009/05/22/the-parallel-port-driver-service-failed-to-start-hyper-v.aspx</link>
            <description>&lt;p&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin-left: 0px; margin-right: 0px; border-right-width: 0px" height="94" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/TheParallelportdriverservicefailedtostar_142AB/image_5c39ae28-fb81-465f-bc4d-aee800da19bf.png" width="187" align="right" border="0" /&gt;I migrated Bit Armory's servers from Virtual Server 2005 R2 to Microsoft Windows 2008 R2 Hyper-V and ran into a lot of &lt;em&gt;&lt;strong&gt;friction&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;  &lt;p&gt;Anyway, the migrated servers had annoying errors from the Service Control Manager saying:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Event Type:    Error      &lt;br /&gt;Event Source:    Service Control Manager       &lt;br /&gt;Event Category:    None       &lt;br /&gt;Event ID:    7000       &lt;br /&gt;Description:       &lt;br /&gt;The Parallel port driver service failed to start due to the following error:       &lt;br /&gt;The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="118" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/TheParallelportdriverservicefailedtostar_142AB/image_f857e70e-4db8-4213-96af-c33563f105cd.png" width="622" border="0" /&gt; &lt;/p&gt;  &lt;p&gt;The problem can easily be solved by disabling the "&lt;strong&gt;Parvdm&lt;/strong&gt;" device &amp;amp; driver service.  Open Device Manager, Check "&lt;strong&gt;Show hidden devices&lt;/strong&gt;", find "&lt;strong&gt;Parvdm&lt;/strong&gt;" in "&lt;strong&gt;Non-Plug and Play Drivers&lt;/strong&gt;".&lt;/p&gt;  &lt;p&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="574" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/TheParallelportdriverservicefailedtostar_142AB/image_d9e0a70f-47bc-459a-b66e-66a2c666db62.png" width="406" border="0" /&gt; &lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="334" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/TheParallelportdriverservicefailedtostar_142AB/image_ec09afa3-2929-45ec-aad3-6b5ba49609f5.png" width="403" border="0" /&gt; &lt;/p&gt;  &lt;p&gt;Then all should be well. Again, just more friction from Microsoft.  They really need to test this stuff. &lt;img alt="confused0072.gif" src="http://bchavez.bitarmory.com/Images/emotions/confused0072.gif" /&gt;&lt;/p&gt;  &lt;p&gt;Hope that helps,    &lt;br /&gt;Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/74.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2009/05/22/the-parallel-port-driver-service-failed-to-start-hyper-v.aspx</guid>
            <pubDate>Sat, 23 May 2009 05:56:17 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/74.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2009/05/22/the-parallel-port-driver-service-failed-to-start-hyper-v.aspx#feedback</comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/74.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/74.aspx</trackback:ping>
        </item>
        <item>
            <title>Google Checkout Seller Fees Increasing May 5th 2009</title>
            <link>http://bchavez.bitarmory.com/archive/2009/03/11/google-checkout-seller-fees-increasing-may-5th-2009.aspx</link>
            <description>&lt;p&gt;&lt;img height="136" border="0" align="right" width="141" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/GoogleCheckoutSellerFeesIncreasingMay5th_E6D6/image_b919782a-8c52-4b68-b163-c76eeacd8d5d.png" /&gt; Google's Checkout Merchant fees are increasing May 5th 2009.  This so called new "multi-tier" pricing is the SAME EXACT pricing as PayPal.  You can't even CALL Google for Checkout for telephone support!?!&lt;/p&gt;
&lt;p&gt;Quick! Join the Facebook group:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.facebook.com/group.php?gid=57485523675"&gt;http://www.facebook.com/group.php?gid=57485523675&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Merchants Against Google Checkout Fee Hikes!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Let's show the Internets can fight back!&lt;/p&gt;
&lt;h3&gt;PAYPAL FEES&lt;/h3&gt;
&lt;p&gt;&lt;img height="132" border="0" width="480" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/GoogleCheckoutSellerFeesIncreasingMay5th_E6D6/image_87b2d40d-fce0-41b9-a3ab-f3b746837e4d.png" /&gt; &lt;/p&gt;
&lt;h3&gt;GOOGLE CHECKOUT FEES&lt;/h3&gt;
&lt;p&gt;&lt;img height="145" border="0" width="569" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/GoogleCheckoutSellerFeesIncreasingMay5th_E6D6/image_8ec0b411-648a-48e1-845a-c22c8e3d2bc4.png" /&gt; &lt;/p&gt;
&lt;p&gt;?!?!&lt;/p&gt;
&lt;p&gt;--Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/73.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2009/03/11/google-checkout-seller-fees-increasing-may-5th-2009.aspx</guid>
            <pubDate>Wed, 11 Mar 2009 23:25:20 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/73.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2009/03/11/google-checkout-seller-fees-increasing-may-5th-2009.aspx#feedback</comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/73.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/73.aspx</trackback:ping>
        </item>
        <item>
            <title>ScriptSharp and 'not using an unsupported feature'</title>
            <category>Errors</category>
            <link>http://bchavez.bitarmory.com/archive/2009/02/04/scriptsharp-and-not-using-an-unsupported-feature.aspx</link>
            <description>&lt;p&gt;&lt;img height="90" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/ScriptSharpandnotusinganunsupportedfeatu_249D/image_0c15fc71-a15d-4940-90d1-0df49c8faf9f.png" width="90" align="right" border="0" /&gt; Well, I was working on killing a bug in JavaScript and I needed Sys.Debug.trace() to help.  I used Script#, and the compiler yelped this error at me:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Check that your C# source compiles and that you are not using an unsupported feature.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Whoops.  Didn't find much around and on good ole' Google, so I didn't have much of an option.  Turns out, I was using namespace-qualified types like so:&lt;/p&gt;  &lt;div style="font-size: 10pt; background: #313132; color: #dfdfc0; font-family: courier new"&gt;   &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   &lt;/span&gt; Sys&lt;span style="color: #c9b68f"&gt;.&lt;/span&gt;&lt;span style="color: #9ea6da"&gt;Debug&lt;/span&gt;&lt;span style="color: #c9b68f"&gt;.&lt;/span&gt;Trace( &lt;span style="color: #b8ced3"&gt;"foo"&lt;/span&gt; );&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;Just change your code to:&lt;/p&gt;  &lt;div style="font-size: 10pt; background: #313132; color: #dfdfc0; font-family: courier new"&gt;   &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   &lt;/span&gt; &lt;span style="color: #9ea6da"&gt;Debug&lt;/span&gt;&lt;span style="color: #c9b68f"&gt;.&lt;/span&gt;Trace( &lt;span style="color: #b8ced3"&gt;"foo"&lt;/span&gt; );&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;And the compiler should be happy again.&lt;/p&gt;  &lt;p&gt;Script# is a great tool to add to your tool belt along with MS AJAX and jQuery.  The Script# suite isn't exactly full-feature-tested compiler yet, but it's getting there!  Thanks again &lt;a href="http://www.nikhilk.net"&gt;Nikhil Kothari&lt;/a&gt;!&lt;/p&gt;  &lt;p&gt;Hope that helps!&lt;/p&gt;  &lt;p&gt;Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/72.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2009/02/04/scriptsharp-and-not-using-an-unsupported-feature.aspx</guid>
            <pubDate>Wed, 04 Feb 2009 10:36:31 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/72.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2009/02/04/scriptsharp-and-not-using-an-unsupported-feature.aspx#feedback</comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/72.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/72.aspx</trackback:ping>
        </item>
        <item>
            <title>NAnt 0.86, script task with RegEx and RegularExpressions</title>
            <category>Errors</category>
            <link>http://bchavez.bitarmory.com/archive/2009/02/01/nant-0.86-script-task-with-regex-and-regularexpressions.aspx</link>
            <description>&lt;p&gt;&lt;img height="86" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/NAn.86scripttaskwithRegExandRegularExpre_FF5/image_c91b9748-357c-4b8a-a743-e35911e8c395.png" width="187" align="right" border="0" /&gt; Muah.  While updating to NAnt 0.86, I was stuck with the following error while trying to execute a &lt;strong&gt;&amp;lt;script&amp;gt;&lt;/strong&gt; task:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;The name 'Regex' does not exist in the current context&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I was using a &amp;lt;script&amp;gt; task to do some RegEx some files apart of the build process.  Well, turns out that &lt;a href="http://nant.sourceforge.net/nightly/latest/releasenotes.html"&gt;NAnt 0.86-beta2 has a breaking change&lt;/a&gt;.  &lt;strong&gt;System.Text.RegularExpressions&lt;/strong&gt; is now removed by default from the imported assemblies of &lt;strong&gt;&amp;lt;script&amp;gt;&lt;/strong&gt; tasks.  Oh well...&lt;/p&gt;  &lt;p&gt;The following should get you back on track:&lt;/p&gt;  &lt;div style="font-size: 10pt; background: #313132; color: #dfdfc0; font-family: courier new"&gt;   &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  641&lt;/span&gt;     &amp;lt;&lt;span style="color: #e1795f"&gt;script&lt;/span&gt; &lt;span style="color: #cccc37"&gt;language&lt;/span&gt;=&lt;span style="color: #c89191"&gt;"C#"&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  642&lt;/span&gt;           &amp;lt;&lt;span style="color: #e1795f"&gt;code&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  643&lt;/span&gt; &amp;lt;![CDATA[&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  644&lt;/span&gt; &lt;span style="color: silver"&gt;        //C# code goes here...&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  645&lt;/span&gt; &lt;span style="color: silver"&gt;  &lt;/span&gt;]]&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  646&lt;/span&gt;           &amp;lt;/&lt;span style="color: #e1795f"&gt;code&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  647&lt;/span&gt;         &amp;lt;&lt;span style="color: #e1795f"&gt;imports&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  648&lt;/span&gt;             &amp;lt;&lt;span style="color: #e1795f"&gt;import&lt;/span&gt; &lt;span style="color: #cccc37"&gt;namespace&lt;/span&gt;=&lt;span style="color: #c89191"&gt;"System.Text.RegularExpressions"&lt;/span&gt;/&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  649&lt;/span&gt;         &amp;lt;/&lt;span style="color: #e1795f"&gt;imports&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  650&lt;/span&gt;         &amp;lt;&lt;span style="color: #e1795f"&gt;references&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  651&lt;/span&gt;             &amp;lt;&lt;span style="color: #e1795f"&gt;include&lt;/span&gt; &lt;span style="color: #cccc37"&gt;name&lt;/span&gt;=&lt;span style="color: #c89191"&gt;"System.dll"&lt;/span&gt;/&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  652&lt;/span&gt;         &amp;lt;/&lt;span style="color: #e1795f"&gt;references&lt;/span&gt;&amp;gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;  653&lt;/span&gt;     &amp;lt;/&lt;span style="color: #e1795f"&gt;script&lt;/span&gt;&amp;gt;&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;Just add the &lt;strong&gt;&amp;lt;imports&amp;gt;&lt;/strong&gt; and &lt;strong&gt;&amp;lt;references&amp;gt;&lt;/strong&gt; section to the &lt;strong&gt;&amp;lt;script&amp;gt;&lt;/strong&gt; task and all should be well again! :)&lt;/p&gt;  &lt;p&gt;Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/71.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2009/02/01/nant-0.86-script-task-with-regex-and-regularexpressions.aspx</guid>
            <pubDate>Sun, 01 Feb 2009 09:08:02 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/71.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2009/02/01/nant-0.86-script-task-with-regex-and-regularexpressions.aspx#feedback</comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/71.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/71.aspx</trackback:ping>
        </item>
        <item>
            <title>Upgrading SubText, IIS7, Windows 2008</title>
            <category>Errors</category>
            <category>Tips &amp; Tricks</category>
            <link>http://bchavez.bitarmory.com/archive/2009/01/13/upgrading-subtext-iis7-windows-2008.aspx</link>
            <description>&lt;p&gt;&lt;img height="95" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/UpgradingSubTextIIS7Windows2008_1070A/image_46a54e17-0dd3-487e-a708-5dac70f3532a.png" width="187" align="right" border="0" /&gt; Bit Armory, Inc. has decided to finally make the move to IIS7 for production.  Let's hope it goes well.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;First Impressions:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Performance seems a little better&lt;/li&gt;    &lt;li&gt;Better ASP.NET MVC support&lt;/li&gt;    &lt;li&gt;Easier Setup&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;I did have a problem with Subtext and IIS 7 yelping back an error:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;"System.Web.HttpException: Request is not available in this context"&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Thanks to &lt;a href="http://www.anewdevelopment.com/2008/01/installing-subtext-on-vista-request-is.html"&gt;Lance Fisher&lt;/a&gt;, the fix was easy, simply set "Classic .NET AppPool" in Manage Web Site &amp;gt; Advanced Settings ... should do the trick.&lt;/p&gt;  &lt;p&gt;&lt;img height="291" alt="image" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/UpgradingSubTextIIS7Windows2008_1070A/image_59ba07e1-ae23-4ca6-bc04-116891d05008.png" width="430" border="0" /&gt; &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Hope that helps!&lt;/p&gt;  &lt;p&gt;Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/70.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2009/01/13/upgrading-subtext-iis7-windows-2008.aspx</guid>
            <pubDate>Wed, 14 Jan 2009 02:42:41 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/70.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2009/01/13/upgrading-subtext-iis7-windows-2008.aspx#feedback</comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/70.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/70.aspx</trackback:ping>
        </item>
        <item>
            <title>Whoa! Google Chrome has crashed</title>
            <category>Errors</category>
            <link>http://bchavez.bitarmory.com/archive/2008/10/24/whoa-google-chrome-has-crashed.aspx</link>
            <description>&lt;p&gt;ALL my chrome browser windows just now closed...  I thought Google Chrome was immune to crashes.... apparently not.  Guess that "process isolation" feature stuff was pure marketing... &lt;img src="http://bchavez.bitarmory.com/Images/emotions/fighting0016.gif" alt="fighting0016.gif" /&gt;&lt;/p&gt;
&lt;p align="center"&gt;&lt;img height="156" border="0" width="352" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/WhoaGoogleChromehascrashed_611/image_95c5adfa-444d-4702-88ca-7eed7842b347.png" alt="image" /&gt;&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/69.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2008/10/24/whoa-google-chrome-has-crashed.aspx</guid>
            <pubDate>Fri, 24 Oct 2008 07:26:08 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/69.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2008/10/24/whoa-google-chrome-has-crashed.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/69.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/69.aspx</trackback:ping>
        </item>
        <item>
            <title>Obama Palin Dancing With The Stars</title>
            <link>http://bchavez.bitarmory.com/archive/2008/10/16/obama-palin-dancing-with-the-stars.aspx</link>
            <description>&lt;p&gt;LOL.  Just got this in my inbox.  Love the political dance!&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://bchavez.bitarmory.com/upload/PalinObamaDance.jpg"&gt;&lt;img height="480" alt="Palin Obama Dance" src="http://bchavez.bitarmory.com/images/bchavez_bitarmory_com/WindowsLiveWriter/TheObamaPalinDancingWithTheStars_C36F/ATT1889960_f3c7b676-96af-4485-b185-5e32eb468905.jpg" width="359" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="center"&gt;Whoever did this, certainly has some serious l33t Photoshop skillz.&lt;/p&gt;  &lt;p align="center"&gt;You can find the original &lt;a href="http://bchavez.bitarmory.com/upload/PalinObamaDance.jpg"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/68.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2008/10/16/obama-palin-dancing-with-the-stars.aspx</guid>
            <pubDate>Thu, 16 Oct 2008 20:54:42 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/68.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2008/10/16/obama-palin-dancing-with-the-stars.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/68.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/68.aspx</trackback:ping>
        </item>
        <item>
            <title>Enterprise Library Validation MessageTemplate Tokens</title>
            <category>C#</category>
            <category>Tips &amp; Tricks</category>
            <link>http://bchavez.bitarmory.com/archive/2008/08/28/enterprise-library-validation-messagetemplate-tokens.aspx</link>
            <description>&lt;p&gt;I always forget... pulled from MSDN with my notes added in italics:&lt;/p&gt; &lt;form id="aspnetForm" name="aspnetForm" action="http://msdn.microsoft.com/cc511900.aspx" method="post"&gt;   &lt;div id="contents"&gt;     &lt;div class="resizableArea" id="ctl00_rs1_ra1" style="height: 656px"&gt;       &lt;div class="rightSection" id="ctl00_rs1_raRight"&gt;         &lt;div class="RightPanel"&gt;           &lt;div class="ContentArea"&gt;             &lt;div class="topic"&gt;               &lt;div id="mainSection"&gt;                 &lt;div id="mainBody"&gt;                   &lt;div class="MTPS_CollapsibleRegion" id="ctl00_rs1_mainContentContainer_cpe46147" xmlns:msxsl="urn:schemas-microsoft-com:xslt"&gt;                     &lt;h3&gt;Understanding Message Template Tokens&lt;/h3&gt;                      &lt;div class="MTPS_CollapsibleSection" id="ctl00_rs1_mainContentContainer_cpe46147_c" style="display: block; overflow: visible; width: auto; height: auto"&gt;                       &lt;div class="MTPS_CollapsibleSection" id="" style="border-right: medium none; border-top: medium none; display: block; border-left: medium none; border-bottom: medium none"&gt;&lt;a name="sectionToggle2"&gt;&lt;/a&gt;                          &lt;p&gt;Custom message templates can contain tokens. The validator replaces these tokens with values before it adds the resulting message to an instance of the &lt;b&gt;ValidationResult&lt;/b&gt; class. Tokens are represented by using the strings {0}, {1}, {2}, and so on within the message template strings. All validators provided by the Validation Application Block use the first three tokens {0}, {1}, and {2} for the same purposes. Different validators may also understand additional tokens, beginning with {3}. The following table describes tokens {0}, {1}, and {2}. &lt;/p&gt;                          &lt;table&gt;&lt;tbody&gt;                             &lt;tr valign="top"&gt;                               &lt;th&gt;                                 &lt;p&gt;Token&lt;/p&gt;                               &lt;/th&gt;                                &lt;th&gt;                                 &lt;p&gt;Description&lt;/p&gt;                               &lt;/th&gt;                             &lt;/tr&gt;                              &lt;tr valign="top"&gt;                               &lt;td&gt;                                 &lt;p&gt;&lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;                               &lt;/td&gt;                                &lt;td&gt;                                 &lt;p&gt;This token represents the value of the object that is being validated. Although it can be useful to show the original value as a part of the validation message, you must be careful to avoid injection attacks by escaping any characters that can be used to attack the system that conveys the message to the user.&lt;/p&gt;                                  &lt;h4&gt;&lt;em&gt;In simple terms: returns "ObjectBeingValidatedFullTypeName+Field"&lt;/em&gt;&lt;/h4&gt;                               &lt;/td&gt;                             &lt;/tr&gt;                              &lt;tr valign="top"&gt;                               &lt;td&gt;                                 &lt;p&gt;&lt;b&gt;{1}&lt;/b&gt;&lt;/p&gt;                               &lt;/td&gt;                                &lt;td&gt;                                 &lt;p&gt;This token represents the key of the object that is being validated. When the validator is attached to a member of a type such as a property or a field, the key is set to the member name. When the validator is attached to an object, the key is null and the token is replaced by an empty string.&lt;/p&gt;                                  &lt;h4&gt;&lt;em&gt;In simple terms: returns "Field" name being validated&lt;/em&gt;&lt;/h4&gt;                               &lt;/td&gt;                             &lt;/tr&gt;                              &lt;tr valign="top"&gt;                               &lt;td&gt;                                 &lt;p&gt;&lt;b&gt;{2}&lt;/b&gt;&lt;/p&gt;                               &lt;/td&gt;                                &lt;td&gt;                                 &lt;p&gt;This token represents the tag that is specified on the validator instance. If no tag is supplied, the token is replaced by an empty string.&lt;/p&gt;                                  &lt;h4&gt;&lt;em&gt;In simple terms: returns contents of [Validator Tag="foo"] property defined in the attribute.&lt;/em&gt;&lt;/h4&gt;                               &lt;/td&gt;                             &lt;/tr&gt;                           &lt;/tbody&gt;&lt;/table&gt;                       &lt;/div&gt;                     &lt;/div&gt;                   &lt;/div&gt;                 &lt;/div&gt;               &lt;/div&gt;             &lt;/div&gt;           &lt;/div&gt;         &lt;/div&gt;       &lt;/div&gt;     &lt;/div&gt;   &lt;/div&gt; &lt;/form&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/67.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2008/08/28/enterprise-library-validation-messagetemplate-tokens.aspx</guid>
            <pubDate>Thu, 28 Aug 2008 23:48:13 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/67.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2008/08/28/enterprise-library-validation-messagetemplate-tokens.aspx#feedback</comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/67.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/67.aspx</trackback:ping>
        </item>
        <item>
            <title>Fluent C Sharp Language Extension Helpers - Part 1</title>
            <category>C#</category>
            <category>Tips &amp; Tricks</category>
            <link>http://bchavez.bitarmory.com/archive/2008/08/28/fluent-c-sharp-language-extension-helpers---part-1.aspx</link>
            <description>&lt;p&gt;So, I found myself doing a lot of &lt;strong&gt;for( int i = 0; i &amp;lt; n; i++ ){}&lt;/strong&gt; stuff lately.  So, I've decided to try something new. I've started a small collection of "Fluent Helpers" that alleviate a lot of the verbosity in C#.&lt;/p&gt;  &lt;p&gt;About &lt;strong&gt;28 characters&lt;/strong&gt; (including spaces) for a simple for loop to do some constant iteration.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;for( int i = 0; i &amp;lt; n, i++){&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;About &lt;strong&gt;18 characters&lt;/strong&gt; to do this (no pun intended):&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Do.This( 5, () =&amp;gt;{&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Here's an example:&lt;/p&gt;  &lt;div style="font-size: 10pt; background: #313132; color: #dfdfc0; font-family: courier new"&gt;   &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   51&lt;/span&gt;             &lt;span style="color: #9ea6da"&gt;Do&lt;/span&gt;&lt;span style="color: #c9b68f"&gt;.&lt;/span&gt;This( &lt;span style="font-weight: bold; color: #8fced1"&gt;5&lt;/span&gt;,&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   52&lt;/span&gt;                     () &lt;span style="color: #c9b68f"&gt;=&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   53&lt;/span&gt;                         {&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   54&lt;/span&gt;                             &lt;span style="color: #9ea6da"&gt;Console&lt;/span&gt;&lt;span style="color: #c9b68f"&gt;.&lt;/span&gt;Write( &lt;span style="color: #b8ced3"&gt;"Hello "&lt;/span&gt; );&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   55&lt;/span&gt;                             &lt;span style="color: #9ea6da"&gt;Console&lt;/span&gt;&lt;span style="color: #c9b68f"&gt;.&lt;/span&gt;WriteLine( &lt;span style="color: #b8ced3"&gt;"World!"&lt;/span&gt; );&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   56&lt;/span&gt;                         }&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   57&lt;/span&gt;                 );&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;Prints:&lt;/p&gt;  &lt;p&gt;Hello World!   &lt;br /&gt;Hello World!    &lt;br /&gt;Hello World!    &lt;br /&gt;Hello World!    &lt;br /&gt;Hello World!&lt;/p&gt;  &lt;p&gt;Now that &lt;em&gt;&lt;strong&gt;feels&lt;/strong&gt;&lt;/em&gt; much better on my hands, and looks much cleaner too, IMHO.  Here's the simple implementation for &lt;strong&gt;Do.This&lt;/strong&gt;:&lt;/p&gt;  &lt;div style="font-size: 10pt; background: #313132; color: #dfdfc0; font-family: courier new"&gt;   &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   42&lt;/span&gt;     &lt;span style="font-weight: bold; color: #5b8a86"&gt;public&lt;/span&gt; &lt;span style="font-weight: bold; color: #5b8a86"&gt;static&lt;/span&gt; &lt;span style="font-weight: bold; color: #5b8a86"&gt;class&lt;/span&gt; &lt;span style="color: #9ea6da"&gt;Do&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   43&lt;/span&gt;     {&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   44&lt;/span&gt;         &lt;span style="font-weight: bold; color: #5b8a86"&gt;public&lt;/span&gt; &lt;span style="font-weight: bold; color: #5b8a86"&gt;static&lt;/span&gt; &lt;span style="font-weight: bold; color: #5b8a86"&gt;void&lt;/span&gt; This(&lt;span style="font-weight: bold; color: #5b8a86"&gt;int&lt;/span&gt; times, &lt;span style="color: #2b91af"&gt;Action&lt;/span&gt; what)&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   45&lt;/span&gt;         {&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   46&lt;/span&gt;             &lt;span style="font-weight: bold; color: #5b8a86"&gt;for&lt;/span&gt;( &lt;span style="font-weight: bold; color: #5b8a86"&gt;int&lt;/span&gt; i &lt;span style="color: #c9b68f"&gt;=&lt;/span&gt; &lt;span style="font-weight: bold; color: #8fced1"&gt;0&lt;/span&gt;; i &lt;span style="color: #c9b68f"&gt;&amp;lt;&lt;/span&gt; times; i&lt;span style="color: #c9b68f"&gt;++&lt;/span&gt; )&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   47&lt;/span&gt;             {&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   48&lt;/span&gt;                 what();&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   49&lt;/span&gt;             }&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   50&lt;/span&gt;         }&lt;/p&gt;    &lt;p style="margin: 0px"&gt;&lt;span style="color: #eaaf00"&gt;   51&lt;/span&gt;     }&lt;/p&gt; &lt;/div&gt;  &lt;p&gt;I've already started a little library of these small syntax helpers I've collected.  If you have any suggestions, please share! &lt;img alt="cool0003.gif" src="http://bchavez.bitarmory.com/Images/emotions/cool0003.gif" /&gt;&lt;/p&gt;  &lt;p&gt;-Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/66.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2008/08/28/fluent-c-sharp-language-extension-helpers---part-1.aspx</guid>
            <pubDate>Thu, 28 Aug 2008 23:08:47 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/66.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2008/08/28/fluent-c-sharp-language-extension-helpers---part-1.aspx#feedback</comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/66.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/66.aspx</trackback:ping>
        </item>
        <item>
            <title>NHibernate 2.0 GA released!</title>
            <category>NHibernate</category>
            <link>http://bchavez.bitarmory.com/archive/2008/08/23/nhibernate-2.0-ga-released.aspx</link>
            <description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;Per Fabio's Post, NHibernate 2.0 has been released:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;NHibernate &lt;a href="http://2.0.0.GA"&gt;2.0.0.GA&lt;/a&gt; is released today      &lt;br /&gt;&lt;a href="https://sourceforge.net/project/showfiles.php?group_id=73818&amp;amp;package_id=73969"&gt;https://sourceforge.net/project/showfiles.php?group_id=73818&amp;amp;package_id=73969&lt;/a&gt;      &lt;br /&gt;Enjoy it!      &lt;br /&gt;We start the work for NH2.0.0SP1       &lt;br /&gt;~20 days to:      &lt;br /&gt;- support parameters in HQLFunctions      &lt;br /&gt;- minors change in tests      &lt;br /&gt;- improv for some dialects      &lt;br /&gt;- some other minors      &lt;br /&gt;And we hope nothing tremendous happen ;)      &lt;br /&gt;Bye.      &lt;br /&gt;Fabio Maulo      &lt;br /&gt;The human knowledge belong to the world&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Go grab the download and upgrade today! :)&lt;/p&gt;  &lt;p&gt;-Brian Chavez&lt;/p&gt;&lt;img src="http://bchavez.bitarmory.com/aggbug/65.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Brian Chavez</dc:creator>
            <guid>http://bchavez.bitarmory.com/archive/2008/08/23/nhibernate-2.0-ga-released.aspx</guid>
            <pubDate>Sat, 23 Aug 2008 17:01:09 GMT</pubDate>
            <wfw:comment>http://bchavez.bitarmory.com/comments/65.aspx</wfw:comment>
            <comments>http://bchavez.bitarmory.com/archive/2008/08/23/nhibernate-2.0-ga-released.aspx#feedback</comments>
            <wfw:commentRss>http://bchavez.bitarmory.com/comments/commentRss/65.aspx</wfw:commentRss>
            <trackback:ping>http://bchavez.bitarmory.com/services/trackbacks/65.aspx</trackback:ping>
        </item>
    </channel>
</rss>
