Thursday, May 11, 2006

I just got done updating my list of developer resources.  Have a look and let me know what I missed!

Thursday, May 11, 2006 4:29:05 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Wednesday, May 10, 2006

Ever needed to do reflection over a generic type?  Look no further.  MSDN has a good explanation:

http://msdn2.microsoft.com/en-us/library/b8ytshk6(VS.80).aspx

Wednesday, May 10, 2006 3:37:22 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Tuesday, May 09, 2006

Well, it looks like Wal-Mart is claiming rights to "the smiley face." Which smiley face? All of them I guess... (http://news.bbc.co.uk/2/hi/business/4984138.stm - via Slashdot)

I guess I'm going to have to stop using smiley emoticons in my emails (or blog posts) :-)  I could get slapped with trademark infrigement or something. Also expect mass arrests among junior high girls. 

Kind of ironic that Wal-Mart's spokes person's last name is "Simley" which is easily mis-read "Smiley"

Tuesday, May 09, 2006 4:34:02 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Wednesday, May 03, 2006

Jessica Fosler recently posted a great summary on common causes for .NET memory leaks ("You gotta learn to let it go: Top 4 memory leaks").  If you're leaking memory, I'd strongly suggest this as as starting point.

In my experience, static/shared events are the most likely culprit.  Anytime you're dealing with a static event, check and double-check to make sure you're unregistering your handlers during cleanup.  Here's what Jessica says about it:

Make sure you know who you're giving your object out to. If you're stuffing your object in a static (or shared) list, it should be removed at some point in time, as that shared list will hold open the lifetime of your object.

This also goes for hooking onto static events.  (I've mentioned this one before.)  The most common culprits are SystemEvents.UserPreferenceChanged and Application.Exit, Application.Idle etc.  If you're hooking onto these events, remember to unhook when you're ready for cleanup, otherwise the Application and/or SystemEvents class will keep your object alive.

Wednesday, May 03, 2006 5:00:15 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Tuesday, April 25, 2006

Well, that didn't take long.  Yesterday, I posted a couple of annoyances about IE7, and today they released the full beta 2 - both issues are fixed.  One day turn-around?  I'm impressed :-P

Tuesday, April 25, 2006 6:11:55 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [2]  |