Jesse Ezell Blog
<i>.NET and Other Interesting Stuff</i> <div id="ad"><script type="text/javascript"><!-- google_ad_client = "pub-1219444915196145"; /* 468x60, created 1/25/10 */ google_ad_slot = "1898962835"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div>
-
MySQL .NET Connector Connection Pooling Bug
If you are using the MySQL .NET connectors and run across the message "Stream does not support writing" like I did, you will probably have a few unpleasant days ahead. Have no fear though, the solution isn't too hard to implement. The problem is that the connection pooling mechanism in the drivers is broken. If an error occurs at the packet level, the underlying streams to the connection are closed, but the connection is not removed from the connection pool. As a result, the connection (which is permanently broken when the underlying streams are closed) gets returned to subsequent connection calls and results in your server crashing for all calls made on that pooled connection. I've reported the bug to the MySQL team, so hopefully it will be officially fixed--but, in the mean time, you can simply add a property to the PacketReader and PacketWriter that ensures that the stream can be read from / written to and then a property on the NativeDriver / Driver class that ensures that this value is true. Then, from the connection pool manager, in the loop that searches idle connections, do a sanity check on the connection before returning it to the app. If the connection's streams have been broken, remove it from the idle pool instead of continuing.
-
What stops me from Implementing Visual Studio Team System
Ohad explains the reasons he isn't switching to team system.
-
Fixing XmlDataSourceView
I know Scott posted a "fix" for the XmlDataSourceView that simply strips all the namespaces out of the document with a transform. That seems pretty lame IMO, because if you are actually using the namespaces, this isn't really a fix and could lead to lots of bad side effects. So, I figured, there has to be a way to fix this. And here it is. It's not really all that tested, but it should do the trick. Feel free to use it and/or make it better or prettier (for example, you could implement all the members of XmlDataSource view--with the exception of the GetView ones of course--and have them wrap the provider's ones):
-
VS 2005 IDE Quirks
Looks like Roy is running into some trouble with the new IDE already. I've noticed a few quirks here and there so far, but nothing too major. Pretty huge overhaul on the IDE though, so not suprising that some bugs made it in to RTM. Personally, I would rather have the IDE with a few bugs and have a VS 2005 with 2.0 framework RTM, than no bugs and a VS 2006/2007. I'm just glad that I can finally use generics and the 2.0 framework. As long as I only get one crash or quirk for every collection class I didn't have to define, it will all even out in the end.
-
MS Retards
Looks like some of the geniuses that brought us Microsoft Bob are at work on the .NET framework 2.0. I love how the XmlDataSource control doesn't let you use xml namespaces in the RTM version. How the hell does anyone that doesn't understand the importance of Xml namespaces get a job creating the primary Xml databinding feature of .NET 2.0? Maybe I am missing something, but I know this was a problem that was brought up numerous times during beta, and it doesn't look like it was addressed in RTM.
-
MySQL 5.0 Released
MySQL 5.0 was just released for production use. I've been using MySQL for a recent project, and I must say that I have been pretty impressed. The latest version adds support for triggers, views, cursors, stored procs, etc., reducing the number of "big" missing features from MySQL by a bit. The thing that has most impressed me about MySQL so far is the tool support. Usually, when you work with OpenSource products, you get some inferior, thrown together piece of crap or some command line only admin option. However, in the case of MySQL, you have a ton of great tools with UIs that are much better than the current generation of MS SQL tools IMO. There is also a tool that I had a chance to use that is far superior to anything Microsoft offers when converting databases (MySQL Migration Toolkit). It takes existing SQL Server, Oracle, Access, etc. databases and will not only construct the matching schema and create the tables in MySQL, but will also import your existing data. I used this to transfer an existing SQL Server DB and it worked insanely well.
-
OpenOffice = Bloatware?
Interesting comparison of CPU/Memory usage of OpenOffice and MS Office:
-
Articulate Presenter Wins Again
Articulate Presenter took the gold for the "Most Innovative" E-Learning technology of 2005 at the Brandon Hall Excellence in E-Learning awards, beating out its main competitor Macromedia Breeze once again (Breeze ended up taking home the bronze). Last month, Presenter took home the "Best of Show" award at TechLearn. I've hand a hand in the product's code since the first release, so it is nice to see Articulate really taking off lately, racking up some big awards, and smashing the competition. It's definately a pleasure to have the opportunity to work on such a great product for a company full of such awesome people.
-
Exorcism
I haven't seen The Exorcism of Emily Rose quite yet. From what I had heard, it seemed like just another failed attempt to top the all time scariest movie ever in many people's minds, The Exorcist. However, the story of Emily Rose is apparently quite different than the story of the little boy that The Exorcist was based off of. Apparently, the story comes from the events in the life of Anneliese Michel, a woman who died during what many believe was a misdiagnosis of epilepsy/schizophrenia as demonic possession. In any case, after reading this article from Newsweek, I am tempted to see the movie, which is based on a story that illustrates a point that is quite the opposite of the one in The Exorcist. Either Hollywood really jazzed up the story and cut out the main point, or everyone I have talked to that has seen the movie seems to have missed it
-
Speaking of IM
If you needed one more reason not to use Google Talk...looks like Microsoft and Yahoo have agreed to play together.