Welcome to McFunley.com Sign in | Join | Faq

January 2005 - Posts

McFunley: did you name this page something impossible to remember correctly on purpose?McFunley: this is a good anti-querystring hacking techniqueDarrelHerbst: the twocheckboxcolumn.aspx?DarrelHerbst: i remember itDarrelHerbst: your mind is addled with Read More
Where I work, there are programmers of widely varying skill levels all working on a single project. Some pieces tend to get behind, and some finish much more quickly. There are a seemingly endless number of integration problems. I am daily pondering what Read More
I added a CAPTCHA control as a stop-gap measure against comment spam. It was getting a little out of hand. I don't think it's the most user-friendly thing in the world, as it doesn't appear to have any obvious way to validate that someone has actually Read More
Brad Abrams had a recent post about how the usual way of raising an event in C#:   protected virtual void OnMyEvent(EventArgs e) { if(MyEvent != null)       {             Read More
I wrote this collection of classes over the holidays as part of a side project and forgot about it. Today at work I needed basically exactly the same thing, but unfortunately I didn’t have it handy and had to recreate it from scratch.   This Read More
Suppose you ask me, “how wide is that picture frame?” (No, nevermind why you care how wide the picture frame is. This is a little device I call, “using narrative to make a semi-technical thing sound approachable.)   “About Read More
I suppose that’s one way you might do it, but here is another:   private void button1_Click(object sender, System.EventArgs e) { WebRequest request = WebRequest.Create("http://www.mcfunley.com/stuff/hi.txt");        Read More
I have been trying to keep up the variety in the posts, so here you go: Laura Bush Select Shimmery Oscar de la Renta Inaugural Gown That ought to keep you S.O.B.'s guessing. Read More
From Brad Abrams. I would have to say the best function name ever is definitely Function Batman. But if we're limiting it to Microsoft products, I guess I'd have to say I'm often surprised by the number of internal framework methods that are labeled Read More
I’m not very interested in politics per se, but rather a lot of issues on the periphery of the discussion (religions, the madness of crowds, attention to details, bowling). Even still, it’s basically impossible for me to avoid these terms. Read More
I've been having a lot of fun with this post on .Net Undocumented. If x, y, z are ints, ...   1. If x < 0, then -x > 0.                         Read More
This article was brought to my attention from a few sources. The general theme here is, “concurrency is going to be really important as processors begin to hit physical limits, and these kinds of programs are harder to write.“ I thought I Read More
Something interesting I came across today. Two seemingly identical loops in two different languages:   for(int i = 0; i <= 10000000; i++) { TimeSpan t2 = DateTime.Now.Subtract(t);                 Read More
Something that has been bugging me for a while is that there is no framework function as simple as string.Join( ) for, say, an array of integers. Or at least, there aren’t any that I’m aware of.   There are a bunch of ways to write Read More
Article by Len Pasquarelli. I found this really interesting. ...statistically at least, the AFC bracket is the best since the league adopted the current 12-team format in 1990. The six AFC qualifiers have a combined 73 victories... The 59 aggregate Read More
SKIN NAME : ImageHeader