<?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"
	>

<channel>
	<title>Unhandled Exceptions</title>
	<atom:link href="http://bluegator.org:66/devel/feed/" rel="self" type="application/rss+xml" />
	<link>http://bluegator.org:66/devel</link>
	<description></description>
	<pubDate>Mon, 06 Oct 2008 15:50:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>At least I twitter&#8230;</title>
		<link>http://bluegator.org:66/devel/archives/2008/10/06/at-least-i-twitter/</link>
		<comments>http://bluegator.org:66/devel/archives/2008/10/06/at-least-i-twitter/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 15:50:34 +0000</pubDate>
		<dc:creator>~mattg</dc:creator>
		
		<category><![CDATA[.NET Development]]></category>

		<guid isPermaLink="false">http://bluegator.org:66/devel/archives/2008/10/06/at-least-i-twitter/</guid>
		<description><![CDATA[I realized today that I haven&#8217;t posted here in a week, and nothing has been development-related for about a month.&#160; There is good reason for that, but I&#8217;m not going to explain because it&#8217;s really just an excuse.
The last month has been really dedicated to finishing some of the feature development in our new product.&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>I realized today that I haven&#8217;t posted here in a week, and nothing has been development-related for about a month.&nbsp; There is good reason for that, but I&#8217;m not going to explain because it&#8217;s really just an excuse.</p>
<p>The last month has been really dedicated to finishing some of the feature development in our new product.&nbsp; The new product is an XBAP application, so some of my time has been devoted to figuring out ways to implement features in partial trust.&nbsp; </p>
<p>The end of the month brought my first foray into deploying the XBAP, which I know is going to be a pain.&nbsp; Not so much because of creating virtual directories, etc, but because any time I change one of the files in the XBAP, the manifest files need regenerated.&nbsp; I thought the Mage.exe tool would be able to help me with this, but it turns out the tool has a problem with regenerating hashes when the .<b>deploy</b> extension is used.&nbsp; Overall, deploying this thing in an install format is going to be painful.</p>
<p>My current workload is solely bug fixing.&nbsp; With our main focus on completing feature development, some of the lower priority bugs were overlooked, and now we&#8217;re forced to go back through and hit those bugs hard to clean them up.&nbsp; I&#8217;m doing my part (19 cleared on Friday, and I&#8217;m hoping to hit 20 today), but I still have other issues to attend to.&nbsp; Oh well, such is life as a developer, I suppose.</p>
]]></content:encoded>
			<wfw:commentRss>http://bluegator.org:66/devel/archives/2008/10/06/at-least-i-twitter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Not bad, I suppose&#8230;</title>
		<link>http://bluegator.org:66/devel/archives/2008/09/28/not-bad-i-suppose/</link>
		<comments>http://bluegator.org:66/devel/archives/2008/09/28/not-bad-i-suppose/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 00:32:11 +0000</pubDate>
		<dc:creator>~mattg</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://bluegator.org:66/devel/archives/2008/09/28/not-bad-i-suppose/</guid>
		<description><![CDATA[Given the amount of training I did, I should be happy to have finished better than last year.&#160; My 5K split was pretty good for me (25:23, which would have put me in to finish under 51), but the heat got to me a little.&#160; My final time was 53:06, which is about an 8:30 [...]]]></description>
			<content:encoded><![CDATA[<p>Given the amount of training I did, I should be happy to have finished better than last year.&nbsp; My 5K split was pretty good for me (25:23, which would have put me in to finish under 51), but the heat got to me a little.&nbsp; My final time was 53:06, which is about an 8:30 pace.&nbsp; Again, faster than last year, but I had been hoping to do a little better.</p>
<p>No, it wasn&#8217;t exceptionally warm, but it was extremely humid.&nbsp; I sweat a LOT, and running in humidity (with little to no wind) takes it&#8217;s toll on me.&nbsp; No excuse, I supposed.&nbsp; But it was an enjoyable morning.&nbsp; Tomorrow it&#8217;s back to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://bluegator.org:66/devel/archives/2008/09/28/not-bad-i-suppose/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A couple days rest before the Great Race.</title>
		<link>http://bluegator.org:66/devel/archives/2008/09/25/a-couple-days-rest-before-the-great-race/</link>
		<comments>http://bluegator.org:66/devel/archives/2008/09/25/a-couple-days-rest-before-the-great-race/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 02:12:53 +0000</pubDate>
		<dc:creator>~mattg</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://bluegator.org:66/devel/archives/2008/09/25/a-couple-days-rest-before-the-great-race/</guid>
		<description><![CDATA[I ran an easy few miles this afternoon as my final run before the Great Race.  I had wanted to avoid hills, but given the geography of this area, that&#8217;s pretty much impossible.  I ran the 5K loop up to the church and through the park.  I felt pretty good, and my [...]]]></description>
			<content:encoded><![CDATA[<p>I ran an easy few miles this afternoon as my final run before the Great Race.  I had wanted to avoid hills, but given the geography of this area, that&#8217;s pretty much impossible.  I ran the 5K loop up to the church and through the park.  I felt pretty good, and my time wasn&#8217;t all that bad (averaged about 8:30 per mile).  I&#8217;ll probably lift tomorrow (maybe a little cardio, but no running).</p>
<p>Work has been rather hectic.  I have an awful lot of quarterly objectives that I need to meet in the next three days, so I&#8217;ve been kind of busy pushing out new features and wrapping up some of my objectives.  I don&#8217;t think I&#8217;ll have a problem finishing up, but it&#8217;s definitely going to be tight.</p>
]]></content:encoded>
			<wfw:commentRss>http://bluegator.org:66/devel/archives/2008/09/25/a-couple-days-rest-before-the-great-race/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Digsby = Sweet</title>
		<link>http://bluegator.org:66/devel/archives/2008/09/18/digsby-sweet/</link>
		<comments>http://bluegator.org:66/devel/archives/2008/09/18/digsby-sweet/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 00:20:03 +0000</pubDate>
		<dc:creator>~mattg</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://bluegator.org:66/devel/archives/2008/09/18/digsby-sweet/</guid>
		<description><![CDATA[I have been using Trillian for some time because it allows you to utilize multiple IM clients (AIM, ICQ, MSN, Yahoo) in a single application.  However, with my increased usage of Gmail, Facebook, and Twitter, it still seemed like I had too much open to do the same things.
Firefox has some add-ons like Twitkit [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using Trillian for some time because it allows you to utilize multiple IM clients (AIM, ICQ, MSN, Yahoo) in a single application.  However, with my increased usage of Gmail, Facebook, and Twitter, it still seemed like I had too much open to do the same things.</p>
<p>Firefox has some add-ons like Twitkit and the GMail Manager that allowed some interactivity, but that mean that I had to have Firefox open all the time.  Sadly, when I&#8217;m really focused on development, I don&#8217;t usually have that open.</p>
<p>A co-worker noticed my tweet about Twitter&#8217;s IM service being down for some time.  He pointed me to <a href="http://www.digsby.com/" target="_blank">Digsby</a>, which is the current uber client for IM, Email, and several social networking sites (Facebook, MySpace, and Twitter are the only ones currently implemented).  Given my new fascination with Facebook, I thought I&#8217;d give it a try.  So far, I&#8217;m impressed.</p>
<p>The ability to tweet from the IM client works great (better than Twitter&#8217;s own IM bot).  The integration into Facebook chat means I&#8217;m on Facebook chat pretty much all day, which is pretty fun.  And, since my various email accounts (2 gmails, yahoo, msn, and a couple pop accounts) are easily manageable within Digsby, it looks like Trillian is out.  It&#8217;s served me well, but the Digsby client seems much more integrated.</p>
]]></content:encoded>
			<wfw:commentRss>http://bluegator.org:66/devel/archives/2008/09/18/digsby-sweet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pretty much slammed&#8230;</title>
		<link>http://bluegator.org:66/devel/archives/2008/09/03/pretty-much-slammed/</link>
		<comments>http://bluegator.org:66/devel/archives/2008/09/03/pretty-much-slammed/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 23:33:04 +0000</pubDate>
		<dc:creator>~mattg</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://bluegator.org:66/devel/archives/2008/09/03/pretty-much-slammed/</guid>
		<description><![CDATA[That&#8217;s my life in a nutshell.  My wife and I put in an offer on a house (on a whim) which they accepted.  We&#8217;re now in the middle of trying to sell our house so that we can pay for the other house.  Yes, our purchase of the new house is contingent [...]]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s my life in a nutshell.  My wife and I put in an offer on a house (on a whim) which they accepted.  We&#8217;re now in the middle of trying to sell our house so that we can pay for the other house.  Yes, our purchase of the new house is contingent on the sale of our current home, so it&#8217;s not quite as hectic as it possibly could be.</p>
<p>What&#8217;s that mean?  Well, my days are spent fixing bugs (and implementing features) in our new product in preparation for a release within the next month or so.  My nights and weekends are filled with cleaning and fixing our current house.  Our townhouse is only three years old, so it&#8217;s in wonderful shape, but there are some touch-ups here and there that need done (some drywall patches, a few paint touch-ups, and general top to bottom cleaning).  </p>
<p>I&#8217;m getting a little burned out at this point, but hopefully we can sell this place and get into the new house before Christmas.  Our fingers are crossed.</p>
]]></content:encoded>
			<wfw:commentRss>http://bluegator.org:66/devel/archives/2008/09/03/pretty-much-slammed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>If I were to build a liquid-cooled PC&#8230;.</title>
		<link>http://bluegator.org:66/devel/archives/2008/08/27/if-i-were-to-build-a-liquid-cooled-pc/</link>
		<comments>http://bluegator.org:66/devel/archives/2008/08/27/if-i-were-to-build-a-liquid-cooled-pc/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 02:52:13 +0000</pubDate>
		<dc:creator>~mattg</dc:creator>
		
		<category><![CDATA[Random Thoughts]]></category>

		<guid isPermaLink="false">http://bluegator.org:66/devel/archives/2008/08/27/if-i-were-to-build-a-liquid-cooled-pc/</guid>
		<description><![CDATA[It would have to be like this.  I guess there&#8217;s just something fun about having a waterfall in my computer&#8230;  Although does that mean I would have to pee a lot while working?
]]></description>
			<content:encoded><![CDATA[<p>It would have to be like <a href="http://www.custompc.co.uk/features/604728/video-dream-pcs-2008-armaris-amazing-xcp.html">this</a>.  I guess there&#8217;s just something fun about having a waterfall in my computer&#8230;  Although does that mean I would have to pee a lot while working?</p>
]]></content:encoded>
			<wfw:commentRss>http://bluegator.org:66/devel/archives/2008/08/27/if-i-were-to-build-a-liquid-cooled-pc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Exception Handling Application Block and WCF</title>
		<link>http://bluegator.org:66/devel/archives/2008/08/26/exception-handling-application-block-and-wcf/</link>
		<comments>http://bluegator.org:66/devel/archives/2008/08/26/exception-handling-application-block-and-wcf/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 15:21:19 +0000</pubDate>
		<dc:creator>~mattg</dc:creator>
		
		<category><![CDATA[.NET Development]]></category>

		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://bluegator.org:66/devel/archives/2008/08/26/exception-handling-application-block-and-wcf/</guid>
		<description><![CDATA[I spent the better part of a day last week trying to reconfigure our application exception handling.  With our switch to a WCF service, our business layer&#8217;s method of throwing exceptions for validation problems or as warnings became a bit, well, annoying.  
I actually thought I had a solution:  Have the WCF [...]]]></description>
			<content:encoded><![CDATA[<p>I spent the better part of a day last week trying to reconfigure our application exception handling.  With our switch to a WCF service, our business layer&#8217;s method of throwing exceptions for validation problems or as warnings became a bit, well, annoying.  </p>
<p>I actually thought I had a solution:  Have the WCF service include error details.  What that does is send back a SOAP FaultException (<b>System.ServiceModel.FaultException&lt;T&gt;</b>), where <b>T</b> is a <b>System.ServiceModel.ExceptionDetail</b>).  From there, I could examine the ExceptionDetail and detemine what type of exception was thrown and handle it appropriately.  All well and good, although throwing those exceptions around makes the service somewhat vulnerable, since users can use exceptions to glean information about the system.</p>
<p>I could live with that, except for the fact that my system didn&#8217;t work in partial trust.  Why?  Because <b>System.ServiceModel.ExceptionDetail</b> is not serializable in partial trust (one of its properties doesn&#8217;t have a setter or something).  So it was back to the drawing board.</p>
<p>A Google search or seven led me to <a href="http://blogs.microsoft.co.il/blogs/bursteg/archive/2007/04/07/Shielding-WCF-Services-with-Exception-Handling-Application-Block-_2D00_-Part-1.aspx">Guy Burstein&#8217;s</a> blog post about WCF Exception handling using <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=90DE37E0-7B42-4044-99BE-F8ECFBBC5B65&amp;displaylang=en">Microsoft&#8217;s Enterprise Library</a> and it&#8217;s Exception Handling Application Block.  Basically, the MS Enterprise Library has some classes that allow me to automatically wrap and generate a SOAP FaultException with any internal type (<b>T</b> from above) that I want.  That means that I can return the data that I want AND I can filter the exceptions as I wish.</p>
<p>It&#8217;s a pretty slick system, but getting it working tooks some time.  I think most of my time dealt with little idiosyncracies, like where the classes are defined, how the application block is configured, etc.  One thing I will not for posterity is that your fault class (The class you want to go into the SOAP exception) cannot be a &#8220;class within a class.&#8221;  I couldn&#8217;t figure out the proper full name for that, and it ended up giving me headaches.  So I moved the class to the namespace level, and everything worked ok.</p>
<p>I&#8217;m not going to repeat all the steps, as Guy&#8217;s blog does an excellent job of describing the steps.  Once I get some time (ha!), I&#8217;d like to look into the automated logging of the exceptions, as I think that would be extremely helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://bluegator.org:66/devel/archives/2008/08/26/exception-handling-application-block-and-wcf/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Swimming??</title>
		<link>http://bluegator.org:66/devel/archives/2008/08/16/swimming/</link>
		<comments>http://bluegator.org:66/devel/archives/2008/08/16/swimming/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 03:36:51 +0000</pubDate>
		<dc:creator>~mattg</dc:creator>
		
		<category><![CDATA[Random Thoughts]]></category>

		<guid isPermaLink="false">http://bluegator.org:66/devel/archives/2008/08/16/swimming/</guid>
		<description><![CDATA[That&#8217;s right, swimming.  I don&#8217;t really follow swimming that often, but the main excitement of these games so far has been Phelps&#8217; quest (and completion) of 8 gold medals.  From the 4&#215;100 relay, where 31 year old anchor Jason Lezak chased down the French anchor to win the relay by 8 hundredths of [...]]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s right, swimming.  I don&#8217;t really follow swimming that often, but the main excitement of these games so far has been Phelps&#8217; quest (and completion) of 8 gold medals.  From the 4&#215;100 relay, where 31 year old anchor Jason Lezak chased down the French anchor to win the relay by 8 hundredths of a second, to the 100 M butterfly where Phelps out-touched Milorad Cavic by 1 hundredth of a second, some of the races were decided by the closest of margins.  Others, like the 4&#215;200 freestyle relay, were quite simply blowouts (the US won by over 5 seconds), but still amazing nonetheless.</p>
<p>I tip my hat to Michael Phelps.  To swim 17 races in 8 or so days is just insane, especially breaking 7 world records in the process.  However, I have to give the same congratulations to Phelps&#8217; relay teammates, particularly Jason Lezak.  Those guys gave their all to help Phelps complete his quest, and it shows that swimming seems to be an individual affair, but certain races showcase the teamwork required to really dominate.</p>
<p>That being said, I really wonder how many swimming medalists live and train in the US?  It seems that there are a lot of people who swim for their home country but live and train in the US.  I guess that really shows the dominance of the US in this sport.</p>
]]></content:encoded>
			<wfw:commentRss>http://bluegator.org:66/devel/archives/2008/08/16/swimming/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Two days for an exception handler?</title>
		<link>http://bluegator.org:66/devel/archives/2008/08/14/two-days-for-an-exception-handler/</link>
		<comments>http://bluegator.org:66/devel/archives/2008/08/14/two-days-for-an-exception-handler/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 00:40:48 +0000</pubDate>
		<dc:creator>~mattg</dc:creator>
		
		<category><![CDATA[.NET Development]]></category>

		<guid isPermaLink="false">http://bluegator.org:66/devel/archives/2008/08/14/two-days-for-an-exception-handler/</guid>
		<description><![CDATA[That&#8217;s right, it took me about two days (minus an hour here or there) to complete our exception handler.  I know, that seems like a fairly long time, but it was a bit more than I anticipated.  Plus, I have a habit of going overboard on certain things, and this is most definitely [...]]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s right, it took me about two days (minus an hour here or there) to complete our exception handler.  I know, that seems like a fairly long time, but it was a bit more than I anticipated.  Plus, I have a habit of going overboard on certain things, and this is most definitely one of them.</p>
<p>It&#8217;s actually a pretty slick little class.  The guts of it are a few static methods which take an exception.  From there, the class will categorize the exception based on type, display the message to the user, and log the exception to an XML log file as determined by the log level.  Since we&#8217;re trying to get our application to run in .Net&#8217;s partial trust, I had to use the IsolatedStorage classes in order to save the XML.  </p>
<p>The bulk of the work actually came in handling our &#8220;fatal&#8221; exceptions  We expect exceptions of type <b>ValidationException</b> and <b>ApplicationException</b>, so we handle those with a simple message box and let the user get back to work.  Other exceptions, however, are unrecoverable, so I created a dialog page that displays the error to the user and allows them to send the report (via web service) to us.  Not only did I have to get the error dialog to work, but I had to re-style it, which took at least 4 or 5 hours.</p>
<p>Extras?  Well, the the log level is also used to specify the number of stack frames that get written to the log.  It also specifies whether or not our non-fatal exceptions get written to the log.  I also took a few extra steps to &#8220;lock down&#8221; the class so it&#8217;s easy to use and not very easy to misuse.</p>
<p>So, see, I do work. <img src='http://bluegator.org:66/devel/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://bluegator.org:66/devel/archives/2008/08/14/two-days-for-an-exception-handler/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Back to PHP, with classes!</title>
		<link>http://bluegator.org:66/devel/archives/2008/08/12/back-to-php-with-classes/</link>
		<comments>http://bluegator.org:66/devel/archives/2008/08/12/back-to-php-with-classes/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 15:32:04 +0000</pubDate>
		<dc:creator>~mattg</dc:creator>
		
		<category><![CDATA[.NET Development]]></category>

		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://bluegator.org:66/devel/archives/2008/08/12/back-to-php-with-classes/</guid>
		<description><![CDATA[I have a couple of features to implement for a side project, and I finally delved into the basics of PHP classes.  I&#8217;m sure that I am not using the full functionality of the class, but at least I can now load objects from the database without repeating SQL statements constantly.  If I [...]]]></description>
			<content:encoded><![CDATA[<p>I have a couple of features to implement for a side project, and I finally delved into the basics of PHP classes.  I&#8217;m sure that I am not using the full functionality of the class, but at least I can now load objects from the database without repeating SQL statements constantly.  If I had a lot of extra time (haha, that&#8217;s funny), I&#8217;d re-write the entire site using classes for the DB objects.  But for now, the new stuff will have to do.</p>
<p>As far as work goes, I&#8217;m pretty busy trying to wrap up my projects for the month and get a jumpstart on my quarterly objectives.  I just realized that I have some extra projects (like creating an installer for our new product) that may take up a good portion of my time next month, so I&#8217;m trying to get my development done this month.</p>
<p>I had really hoped to get to all of my development tasks, but I had about a week and a half of straight bug fixing in order to help get bugs down for a release at the end of this month.  We&#8217;re getting there, but there is a lot more to do before we can wrap it up.</p>
]]></content:encoded>
			<wfw:commentRss>http://bluegator.org:66/devel/archives/2008/08/12/back-to-php-with-classes/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
