<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogbybob.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Blog by Bob</title><link>http://blogbybob.com/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Syncfusion special, today only</title><link>http://blogbybob.com/archive/2009/08/10/syncfusion-special-today-only.aspx</link><pubDate>Mon, 10 Aug 2009 23:23:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1484</guid><dc:creator>Bob</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1484</wfw:commentRss><comments>http://blogbybob.com/archive/2009/08/10/syncfusion-special-today-only.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;Well, I probably should have posted this before 7:30 at night...&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;A href="http://www.syncfusion.com/"&gt;http://www.syncfusion.com/&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;They are basically selling a $995 set of MVC controls for $5 *today only* in support of One Laptop per Child. I picked mine up, get one if you need it.&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1484" width="1" height="1"&gt;</description><category domain="http://blogbybob.com/archive/tags/MVC/default.aspx">MVC</category></item><item><title>Dispose, or the lack thereof</title><link>http://blogbybob.com/archive/2009/08/05/dispose-or-the-lack-thereof.aspx</link><pubDate>Thu, 06 Aug 2009 00:46:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1483</guid><dc:creator>Bob</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1483</wfw:commentRss><comments>http://blogbybob.com/archive/2009/08/05/dispose-or-the-lack-thereof.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;I have seen the oddest thing on the internet as of late (yes, this is old news and the arguments are over, but I have been busy).&lt;/P&gt;
&lt;P mce_keep="true"&gt;The Linq Datacontext very specifically inherits from IDisposable. Coding to an interface, if an object exposes Dispose, we call it. End of story.&lt;/P&gt;
&lt;P mce_keep="true"&gt;This is actually pretty easy, as all that is required is wrapping your object up in a try/catch/finally or in a using block and its all handled for us relatively painlessly.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Then along comes MVC, for anyone not familiar with MVC, go read about it, then come back if you wish and finish this post. Or not. This Disposable pattern doesn't fit nicely into MVC... Actually, let me back up and touch on that a bit more. The Disposable pattern doesn't fit well with MVC when you are leaking the IQueryable interface into your UI.&lt;/P&gt;
&lt;P mce_keep="true"&gt;This sounds like a non-issue to all of us out here that have been working hard to write code correctly, get better everyday, follow patterns and practices etc, so what's the deal?&lt;/P&gt;
&lt;P mce_keep="true"&gt;The odd thing I mentioned earlier is that the ASP.NET MVC team, employeed at Microsoft, the people who many feel are the best minds working in the grand ole field that is the web, is telling us to blow all that good code away, it doesn't do us anything but cause us pain.&lt;/P&gt;
&lt;P mce_keep="true"&gt;All of the sample code and the 'recommendations' for their repositories leak IQueryable to the UI. Besides being totally anti everything we have been trying to accomplish *as an industry* for the last 5 years (get data querying code in the correct tiers), it also means that when you take advantage of this implementation leak and actually write a query in your UI (really?), if your data context has been disposed, you get an error. Let us recap that. If you do what you aren't supposed to do, you get an error.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Sounds simple enough. The solution, don't expose implemenation specific to LINQ. No? What? The answer we are being given is to...not dispose of our datacontext. These mavericks of the web are telling us that the SQL data context doesn't manage the actual database connection and therefore doesn't manage any unmanaged resources and it doesn't matter if we don't dispose it.&lt;/P&gt;
&lt;P mce_keep="true"&gt;While, from an implementation standpoint, this is technically true, we are being told by the company that has had to deal more with backwards compatability, has pain more in lines of code, time and money than *anyone* else by having to support breaking changes where people coded to the implementation of their APIs instead of the interface. You would *think*, these people, of *all* people would be the *last* to recommend we do the same now. And show it in all of their sample code for MVC.&lt;/P&gt;
&lt;P mce_keep="true"&gt;I mean, really? &lt;/P&gt;
&lt;P mce_keep="true"&gt;What is even worse is you don't even need to worry about disposable, you can still dispose of your datacontext properly and leak your magical interface.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Controller Dispose -&amp;gt; Repository Dispose -&amp;gt; DataContext Dispose&lt;/P&gt;
&lt;P mce_keep="true"&gt;If you have to leak your magic query interface instead of creating another method or two in your repository, at least do that...&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1483" width="1" height="1"&gt;</description><category domain="http://blogbybob.com/archive/tags/MVC/default.aspx">MVC</category><category domain="http://blogbybob.com/archive/tags/Linq/default.aspx">Linq</category></item><item><title>Smoothie for Men</title><link>http://blogbybob.com/archive/2009/07/22/smoothie-for-men.aspx</link><pubDate>Wed, 22 Jul 2009 13:22:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1482</guid><dc:creator>Bob</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1482</wfw:commentRss><comments>http://blogbybob.com/archive/2009/07/22/smoothie-for-men.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;Man Smoothie&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;1 Pound Ground Beef&lt;BR&gt;1 Pound Bacon&lt;BR&gt;1/2 Pound Cheddar&lt;BR&gt;1 Egg&lt;BR&gt;1 Stick Butter&lt;BR&gt;Alcohol to Taste&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;The only real challenge here is the smoothie machine is not going to handle this so well. The typical solution is to hook up the DEWALT drill to the bottom of the smoothie machine, but use as much creativity here as you would like.&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1482" width="1" height="1"&gt;</description></item><item><title>CssSelector</title><link>http://blogbybob.com/archive/2009/04/10/cssselector.aspx</link><pubDate>Fri, 10 Apr 2009 14:26:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1467</guid><dc:creator>Bob</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1467</wfw:commentRss><comments>http://blogbybob.com/archive/2009/04/10/cssselector.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;&lt;A href="http://github.com/rafaelp/css_browser_selector/tree/master"&gt;http://github.com/rafaelp/css_browser_selector/tree/master&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Greatest thing since sliced cheese.&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1467" width="1" height="1"&gt;</description><category domain="http://blogbybob.com/archive/tags/Css/default.aspx">Css</category></item><item><title>Free Windows 2008 e-learning courses from Microsoft</title><link>http://blogbybob.com/archive/2009/04/04/free-windows-2008-e-learning-courses-from-microsoft.aspx</link><pubDate>Sat, 04 Apr 2009 22:40:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1466</guid><dc:creator>Bob</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1466</wfw:commentRss><comments>http://blogbybob.com/archive/2009/04/04/free-windows-2008-e-learning-courses-from-microsoft.aspx#comments</comments><description>&lt;p&gt;&lt;a href="https://www.microsoftelearning.com/eLearning/offerDetail.aspx?offerPriceId=127516" target="_blank" mce_href="https://www.microsoftelearning.com/eLearning/offerDetail.aspx?offerPriceId=127516"&gt;https://www.microsoftelearning.com/eLearning/offerDetail.aspx?offerPriceId=127516&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;br&gt;&lt;/p&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1466" width="1" height="1"&gt;</description><category domain="http://blogbybob.com/archive/tags/Microsoft/default.aspx">Microsoft</category></item><item><title>Charter, the other white meat</title><link>http://blogbybob.com/archive/2009/03/18/charter-the-other-white-meat.aspx</link><pubDate>Wed, 18 Mar 2009 18:08:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1463</guid><dc:creator>Bob</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1463</wfw:commentRss><comments>http://blogbybob.com/archive/2009/03/18/charter-the-other-white-meat.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;So. I had charter here in the sunny Lake Norman area and ended up cancelling since from 5pm-10pm I pretty much didnt have internet. The nodes that handled my internet traffic were so oversaturated that I was lucky to get 385kb (yes, little b) of downstream during that 4 hour period. And this wasnt now and then, this was every single day.&lt;/P&gt;
&lt;P mce_keep="true"&gt;So, after many service calls (this was before a certain tech told me the issue was the node congestion) they finally decided to start charging me for service calls to fix the issue, which, of course, wasn't actually getting fixed.&lt;/P&gt;
&lt;P mce_keep="true"&gt;I ended up cancelling my service and going with the only alternative in my area. 1.5meg DSL. So I went from fast most of the time but unusable for 5 hours in the afternoon to slow as heck all the time. I had to cancel my Netflix account because with the 1.5 meg service, I could no longer stream movied at anything higher than Commodore 64 graphics levels.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Fast forward a year or so. Somebody tells me that from what they can tell the node congestion has gotten better (I dont know if they upgraded or if enough people cancelled it isnt as much of an issue anymore) so I decide to give it a whirl. I called Charter and ordered their 20 meg down/2 meg up service which runs $80 a month in this area. I dont really care if I get that kind of downstream or now, but I would love to have 2 meg up.&lt;/P&gt;
&lt;P mce_keep="true"&gt;The appointment is set up and confirmed for 9-12 or something on the only day I can be away from work. I sit here and wait. And wait. And wait. And at 2pm i call Charter. I pressed 2 to choose 'If you are calling about a scheduled appointment' and the nice lady tells me she doesn't see an appointment for me and sends me to new sales. New sales informs me there is no appointment and they won't be able to send anyone out to my house. On they day they chose. That I made sure to be available for.&lt;/P&gt;
&lt;P mce_keep="true"&gt;I asked them to go ahead and cancel my account. I cancelled my account before I even had my service installed. That has to be some kind of record, but from what I have seen, Charter deserves it.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Charter, AT&amp;amp;T wanted me to send you a big thanks! from them. On the bright side, I hear uverse should be available here soon.&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1463" width="1" height="1"&gt;</description><category domain="http://blogbybob.com/archive/tags/Irks/default.aspx">Irks</category></item><item><title>Peanut Butter</title><link>http://blogbybob.com/archive/2009/03/09/peanut-butter.aspx</link><pubDate>Mon, 09 Mar 2009 19:42:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1461</guid><dc:creator>Bob</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1461</wfw:commentRss><comments>http://blogbybob.com/archive/2009/03/09/peanut-butter.aspx#comments</comments><description>&lt;P&gt;Is it safe to eat Peanut Butter yet?&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1461" width="1" height="1"&gt;</description></item><item><title>Windows 7</title><link>http://blogbybob.com/archive/2009/03/05/windows-7.aspx</link><pubDate>Thu, 05 Mar 2009 15:25:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1460</guid><dc:creator>Bob</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1460</wfw:commentRss><comments>http://blogbybob.com/archive/2009/03/05/windows-7.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;If you arent using the Windows 7 beta, DO IT! I am very happy with it and running it on all of my laptop/desktop machines.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;The only down to it is Media Center seems pretty broken to me. I have 300+ DVDs ripped (yes, all legit!) to my Windows Home Server and playing them through My Movies(great plugin!) works great in Vista Media Center, but locks up 7 Media Center often. Hopefully they will get it sorted soon, as I love the rest of the OS.&lt;/P&gt;
&lt;P mce_keep="true"&gt;You can check out My Movies &lt;A href="http://www.mymovies.dk/" target=_blank mce_href="http://www.mymovies.dk/"&gt;here&lt;/A&gt;. I need to do a post soon about my Media Center journey, as it has been a job and a half! Actually, probably needs to be a couple posts.&amp;nbsp;Also, I guess I should do one on my current project, the CarPuter!&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1460" width="1" height="1"&gt;</description><category domain="http://blogbybob.com/archive/tags/Microsoft/default.aspx">Microsoft</category></item><item><title>Falling Down</title><link>http://blogbybob.com/archive/2009/01/19/falling-down.aspx</link><pubDate>Mon, 19 Jan 2009 16:18:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1457</guid><dc:creator>Bob</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1457</wfw:commentRss><comments>http://blogbybob.com/archive/2009/01/19/falling-down.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;&amp;lt;img src="&lt;A href="http://blogbybob.com/images/fallingdown.jpg" mce_href="http://blogbybob.com/images/fallingdown.jpg"&gt;http://blogbybob.com/images/fallingdown.jpg&lt;/A&gt;"&amp;nbsp;alt="An ordinary man's war with everyday life"&amp;nbsp;/&amp;gt;&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1457" width="1" height="1"&gt;</description></item><item><title>Red Heads</title><link>http://blogbybob.com/archive/2008/12/15/red-heads.aspx</link><pubDate>Mon, 15 Dec 2008 13:19:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1455</guid><dc:creator>Bob</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1455</wfw:commentRss><comments>http://blogbybob.com/archive/2008/12/15/red-heads.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;There were a plethora of red heads out this weekend. Don't tell my girlfriend, but I am going to marry a red head one day.&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1455" width="1" height="1"&gt;</description></item><item><title>Vanity Plate</title><link>http://blogbybob.com/archive/2008/03/04/vanity-plate.aspx</link><pubDate>Tue, 04 Mar 2008 14:53:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1434</guid><dc:creator>Bob</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1434</wfw:commentRss><comments>http://blogbybob.com/archive/2008/03/04/vanity-plate.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;I was going to get ROADKILL on my plate on my motorcycle, but bike plates are only 7 letters. These things just never seem to work out...&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1434" width="1" height="1"&gt;</description><category domain="http://blogbybob.com/archive/tags/Motorcycle/default.aspx">Motorcycle</category></item><item><title>Floss</title><link>http://blogbybob.com/archive/2007/11/07/floss.aspx</link><pubDate>Wed, 07 Nov 2007 14:45:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1428</guid><dc:creator>Bob</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1428</wfw:commentRss><comments>http://blogbybob.com/archive/2007/11/07/floss.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;&lt;A class="" title=Floss href="http://blogbybob.com/music/05%20Time%20After%20Time%20[The%20S.F.E.%20Version].wma" target=_blank mce_href="http://blogbybob.com/music/05 Time After Time [The S.F.E. Version].wma"&gt;http://blogbybob.com/music/05 Time After Time [The S.F.E. Version].wma&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1428" width="1" height="1"&gt;</description></item><item><title>HAHA</title><link>http://blogbybob.com/archive/2007/08/01/haha.aspx</link><pubDate>Wed, 01 Aug 2007 12:34:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1421</guid><dc:creator>Bob</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1421</wfw:commentRss><comments>http://blogbybob.com/archive/2007/08/01/haha.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;They're coming to take me away, HA HA&lt;BR&gt;They're coming to take me away, HO HO HEE HEE HA HA&lt;BR&gt;To the funny farm&lt;BR&gt;Where life is beautiful all the time&lt;BR&gt;And I'll be happy to see&lt;BR&gt;Those nice, young men&lt;BR&gt;In their clean, white coats&lt;BR&gt;And they're coming to take me away, &lt;I&gt;Ha-haaa!&lt;/I&gt;&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1421" width="1" height="1"&gt;</description></item><item><title>Solo Scrum</title><link>http://blogbybob.com/archive/2007/07/19/solo-scrum.aspx</link><pubDate>Thu, 19 Jul 2007 13:05:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1417</guid><dc:creator>Bob</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1417</wfw:commentRss><comments>http://blogbybob.com/archive/2007/07/19/solo-scrum.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;I do Scrum solo and pair program with myself. I even usually understand what I am writing.&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1417" width="1" height="1"&gt;</description><category domain="http://blogbybob.com/archive/tags/All+about+Bob/default.aspx">All about Bob</category></item><item><title>Sunglasses</title><link>http://blogbybob.com/archive/2007/06/21/sunglasses.aspx</link><pubDate>Thu, 21 Jun 2007 10:55:00 GMT</pubDate><guid isPermaLink="false">bf319af5-e003-4fa3-843a-531836bde8e7:1414</guid><dc:creator>Bob</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogbybob.com/rsscomments.aspx?PostID=1414</wfw:commentRss><comments>http://blogbybob.com/archive/2007/06/21/sunglasses.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;So, I came in at 5:30 this morning (woot! early morning releases) and accidently wore my dark riding glasses. So, of course, &lt;A class="" href="http://blogbybob.com/music/Sunglasses_at_Night.mp3" target=_blank mce_href="http://blogbybob.com/music/Sunglasses_at_Night.mp3"&gt;this&lt;/A&gt; was stuck in my head the whole morning.&lt;/P&gt;&lt;img src="http://blogbybob.com/aggbug.aspx?PostID=1414" width="1" height="1"&gt;</description><category domain="http://blogbybob.com/archive/tags/Music/default.aspx">Music</category></item></channel></rss>