Jeff Atwood

Indoor enthusiast. Co-founder of Stack Overflow and Discourse. Disclaimer: I have no idea what I'm talking about. Find me here:

Bay Area, CA
Jeff Atwood

Sometimes It's a Hardware Problem

One of our best servers at work was inherited from a previous engagement for x64 testing: it's a dual Opteron 250 with 8 gigabytes of RAM. Even after a year of service, those are still decent specs. And it has a nice upgrade path, too: the Tyan Thunder

By Jeff Atwood · · Comments

The Last Configuration Section Handler.. Revisited

If you need to store a little bit of state-- in your configuration file, or on disk-- nothing is faster than some quick and dirty serialization. Or as I like to call it, stringization. In late 2004, I wrote about The Last Configuration Section Handler, which does exactly this for

By Jeff Atwood · · Comments

Fitts' Law and Infinite Width

Fitts' Law is arguably the most important formula in the field of human-computer interaction. It's.. Time = a + b log2 ( D / S + 1 ) .. where D is the distance from the starting point of the cursor, and S is the width of the target. This is all considered on

By Jeff Atwood · · Comments

Quad Core Desktops and Diminishing Returns

Dual core CPUs were a desktop novelty in the first half of 2005. Now, with the introduction of the Mac Pro (see one unboxed), dual core is officially pass. Quad core-- at least in the form of two dual-core CPUs-- is where it's at for desktop systems. And

By Jeff Atwood · · Comments

Properties vs. Public Variables

I occasionally see code with properties like this: private int name; public int Name {     get { return name; }     set { name = value; } } As I see it, there are three things to consider here. 1. When is a property not a property? When it's a glorified public variable. Why waste everyone&

By Jeff Atwood · · Comments

Filesystem Metadata Doesn't Scale

Although I always use CDDB metadata in my self-ripped MP3 files, the quality of the ID3 tags in my MP3 files lags far behind the quality of the file and folder names. File and folder naming is immediately visible and easy to change. C:MusicBeatlesThe White AlbumDisc 1�1 -

By Jeff Atwood · · Comments

A Spec-tacular Failure

I've written before about the dubious value of functional specifications. If you want to experience the dubious value of specifications first hand, try writing a tool to read and write ID3 tags. ID3 tags describe the metadata for an MP3 file, such as Artist, Album, Track, and so

By Jeff Atwood · · Comments

My Love/Hate relationship with ClearType

I've been vacillating a bit on ClearType recently. I love ClearType in theory. A threefold improvement in horizontal resolution on LCDs is an incredible step forward for computer displays. Internet Explorer 7 forces the issue a bit by always defaulting to ClearType for web content, even if you

By Jeff Atwood · · Comments

Shortening Long File Paths

We're working on a little shell utility that displays paths in a menu. Some of these paths can get rather long, so I cooked up this little regular expression to shorten them. It's a replacement, so you call it like this: static string PathShortener(string path)

By Jeff Atwood · · Comments

Open Source: Free as in "Free"

Here's Scott Hanselman [http://www.hanselman.com/blog/SandcastleMicrosoftCTPOfAHelpCHMFileGeneratorOnTheTailsOfTheDeathOfNDoc.aspx] on the death of nDoc [http://www.charliedigital.com/PermaLink,guid,95b2ab68-ba92-413a-b758-2783cde5df9c.aspx] : > We are blessed. This Open Source stuff is free. But it's free like a puppy. It takes years of care and feeding.

By Jeff Atwood · · Comments

Linus Torvalds, Visual Basic Fan

Stiff recently asked a few programmers a series of open-ended questions: * How did you learn programming? Were schools of any use? * What's the most important skill every programmer should have? * Are math and physics important skills for a programmer? * What will be the next big thing in computer

By Jeff Atwood · · Comments

Are You an XML Bozo?

Here's a helpful article that documents some common pitfalls to avoid when composing XML documents. Nobody wants to be called an XML Bozo by Tim Bray, the co-editor of the XML specification, right? There seem to be developers who think that well-formedness is awfully hard -- if not

By Jeff Atwood · · Comments