Browse by Tags

Can you find the bug in this code? (THE FIX)
Wednesday, March 26, 2008 12:30 PM
Thanks to everyone for contributing!  It was really neat to read everyone's ideas and see the discussion and review (talking about code is always fun!).  Here is a summary of responses and the "fixed" code.  If you are interested in the original problem, go here .   @drakiula: The idea with the Response.Redirect is that it will stop... Read More...
Can you find the bug in this code?
Tuesday, March 25, 2008 8:04 AM
This is a real bug that I came across yesterday in some code I had written about a week before.  I was a little surprised at the mechanics but it makes sense once you understand what is happening ... 1: private void Foo() 2: { 3: try 4: { 5: AuthenticationInfo authenticationInfo = GetAuthenticationInfo(Request.QueryString[ "t" ]); 6: Authenticator... Read More...
Duplicate column name weirdness in ADO.NET
Monday, April 10, 2006 7:11 PM
I came across the following issue the other day with a very large stored procedure that had *lots* of columns. Unfortunately I had introduced a duplicate column name by using "as" in my SQL but things definitely work as I expected. Take a look for yourself ... 1 using (SqlConnection connection = new SqlConnection( "user id=x;password=y;server=localhost;" )) 2... Read More...
by thycotic | 3 comment(s)
Filed under: ,
John Morales is blogging!
Wednesday, December 28, 2005 9:17 AM
John Morales joined thycotic back in October and has been impressing us since the start with his knowledge of keyboard shortcuts (how often do you see *your* fellow developers writing their own macros in VS.NET?), Regular Expressions, Resharper, DotLucene and his ability to solve problems. After a little prodding, we now have him blogging with a few gems already... Read More...
by thycotic | with no comments
Filed under: , ,
DC Housing Market versus 70-320
Sunday, March 27, 2005 11:15 AM
This weekend we purchased a condo in the Washington DC area and I passed the Microsoft 70-320 exam ("Developing XML Web Services and Server Components with Microsoft Visual C# .NET and the Microsoft .NET Framework"). The natural question for any techie then would be: which was harder? Let's weigh up the contenders: DC House Purchase Compete with at least 10 other... Read More...
by thycotic | 1 comment(s)
Filed under: ,
Adding CAPTCHA to FlexWiki
Tuesday, January 11, 2005 12:44 PM
Blog spam sucks but being hosted on weblogs.asp.net doesn't leave a lot of options at the moment. Blog spam could seen as a personal attack on your good nature and an attempt to mess with your small expression outlet to the rest of the world? Wiki spam on the company wiki however, is outright war! :-) Thanks to Jeff for pointing me towards Miguel Jimenez's Clearscreen... Read More...
by thycotic | 1 comment(s)
Filed under: ,
C# Teaser - The Tricky Ternary Teaser?
Thursday, December 23, 2004 1:05 AM
Today we came across a little quirk that is worth sharing. Big thanks to Bob Flanders and Jeff Schoolcraft for help in figuring out the quirk. The Rules: Prize (a Thycotic keyring light ) to be mailed to the first comment with the correct answer(s) on this blog post with valid contact information . My definition of the problem is the correct one. :) Other answers... Read More...
by thycotic | 6 comment(s)
Filed under: ,
Programming Contest by EggHeadCafe ... just Regex?
Thursday, December 09, 2004 1:05 AM
Rafael Munoz pointed me towards a Programming Contest By EggHeadCafe in his latest MVP Update New sletter. Reading through their criteria ... <snip> 2. All occurrences of an in a sentence must be replaced by un. 3. Replace all occurrences of au in a sentence with oo 4. Inside any word (ie., after the first character): replace all a's not followed by whitespace... Read More...
by thycotic | 3 comment(s)
Filed under: ,
Rosebud. Or is it RoseBud? (Hashtable)
Friday, September 10, 2004 5:03 PM
Last night at the WinProTeam .NET UG Rockville Meeting, Carney Clegg spoke on "Using Hashtables Effectively". Of course, my burning question on Hashtables was ... Why is it Hashtable and not HashTable as the .NET Design Guidelines would indicate? The question went unanswered last night with only my guess that it was kept the same to keep transitioning Java developers... Read More...
by thycotic | with no comments
Filed under: , ,
CShark and other interesting .NET related license plates?
Sunday, April 04, 2004 11:33 PM
It has finally arrived - a personalized license plate (or tag in DMV jargon) from the DMV. After them first issuing the plate which never arrived - then refusing to do anything about it when called, then the kind souls at AAA issued a new plate so we could complete this years registration for the car and issued a request to the DMV to reissue the plate which... Read More...
by thycotic | 1 comment(s)
Filed under: ,
More Posts

This Blog

Syndication