These ones are pretty simple in implementation but go a long way to cleaning up your code. In some cases, the slight performance overhead may not be acceptable but I haven’t run into any real-world problems with them. Check out the usage below. int x = 3; // is x either 1, 3, or 5? [...]
Archives for January 2010
How would you like to lose your job to a 9 year old?
This is pretty impressive. When I was 9 I was still trying to figure out how I could get Guns N’ Roses to come to my birthday party. Of course the cynics will probably claim it is a reflection of the MCSE certification, but how can you not be impressed? 9-Year-Old is World’s Youngest Microsoft [...]
Yes we can! Scott Brown wins MA special election!
Sure, it’s a victory for the GOP. But more importantly, it’s a victory for “just right of center” moderates and independents like me. Scott Brown’s astonishing defeat of Martha Coakley, the one “chosen” to replace the late Ted Kennedy, sends a dual message to both the right and left – don’t f*ck with the independents! [...]
AT&T fixes bug that logged users into random Facebook accounts
Note sure how Facebook gets off the hook on this one. This is entirely a *Facebook* problem, not AT&T. If Facebook wasn’t developed by morons with no regard for privacy and security, this bug wouldn’t be possible. AT&T fixes bug that logged users into random Facebook accounts Okay, so we were under the impression that [...]
Ed Bott: It’s time to stop using IE6
Ed Bott has thrown down the gauntlet when it comes to companies that still use Internet Explorer 6. Users stuck on IE6 are one of the main reasons IE still has such a bad reputation when it comes to security even though Firefox and Safari were found to be far more vulnerable than Internet Explorer [...]
Easy way to prevent WebBrowser control from using window.alert
There are all sorts of official ways of doing this implementing various IE hosting interfaces in order to handle the presentation of the UI. But if you’re trying to automate a web page and a pesky window.alert is blocking your progress, the following code will supress it for the current page. /// <summary> /// Handles [...]
Posts