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

Which Online Discussion Archetype Are You?

If you've participated in usenet, mailing lists, or web forum discussions for any length of time, you're probably familiar with Godwin's law [http://en.wikipedia.org/wiki/Godwin's_law]: > As an online discussion grows longer, the probability of a comparison involving

By Jeff Atwood · · Comments

64-bit Desktop vs. 64-bit Server

When people find out I'm a big fan of AMD's Athlon 64 -- specifically the dual core X2 chips -- they often ask how I'm enjoying 64-bit Windows. They're always surprised to hear that I have no interest in a 64-bit OS

By Jeff Atwood · · Comments

Sample Databases in SQL Server 2005

SQL Server 2005 doesn't include the classic Pubs and Northwind databases. You can, however, download them from Microsoft [http://www.microsoft.com/downloads/details.aspx?FamilyId=06616212-0356-46A0-8DA2-EEBC53A68034&displaylang=en] . You'll get both binary database images (*.mdf and *.ldf) as well as SQL scripts. If you

By Jeff Atwood · · Comments

GotDotNet: still sucking after all these years

Why is it that fully half of my interactions with GotDotNet are extremely unpleasant? I was telling someone about the Microsoft sponsored IronPython project [http://www.microsoft.com/downloads/details.aspx?FamilyID=c6a7fee3-6495-427f-8b1f-768a2715170c&displaylang=en] today and I foolishly attempted to click through to the GotDotNet workspace [http://www.

By Jeff Atwood · · Comments

Search: If It Isn't Incremental, It's Excremental

After I discovered the CTRL+I incremental search function in Visual Studio [http://msdn2.microsoft.com/en-us/library/f27e8wzh], I never used the standard find dialog again. Incremental search is so good that it makes traditional search dialogs completely obsolete. If you think that's hyperbole, consider that Chris

By Jeff Atwood · · Comments

Improving the Clipboard

In this era of 3ghz processors, 1gb memory, and 500gb hard drives, why is the Windows clipboard only capable of holding a single item? Sure, you have fancy multi-level undo and redo in applications like Microsoft Word and Visual Studio. Did you know that the humble Windows textbox supports a

By Jeff Atwood · · Comments

Avoiding Booleans

Brad Abrams recently posted [http://blogs.msdn.com/brada/archive/2005/10/26/475085.aspx] another great excerpt from the unfortunately named .NET Framework Standard Library Annotated Reference Volume 2 [http://www.amazon.com/exec/obidos/ASIN/0321194454/codihorr-20]: > Avoid creating methods with Boolean parameters. Boolean parameters make calls

By Jeff Atwood · · Comments

Copying Visual Studio Code Snippets to the Clipboard as HTML

As I mentioned in Formatting HTML code snippets with Ten Ton Wrecking Balls, copying code to your clipboard in Visual Studio is often an excercise in futility if you want anything more than plain vanilla text. VS copies code to the clipboard with bizarro-world RTF formatting instead of the sane,

By Jeff Atwood · · Comments

Google search VS.NET macro

Here's a handy little Visual Studio .NET macro which searches for the currently highlighted term in Google. The search is launched as a new tab within the IDE when you press Alt+F1 I know what you're thinking: you've seen this macro before [http:

By Jeff Atwood · · Comments

The Cognitive Style of Visual Studio

Charles Petzold is widely known as the guy who put the h in hWnd. He's the author of the seminal 1988 book Programming Windows, now in its fifth edition. And he can prove it, too. He has an honest-to-God Windows tattoo on his arm: This is explained in

By Jeff Atwood · · Comments

The Cost of Leaving Your PC On

Between my server and my Windows Media Center home theater PC, I have at least two PCs on all the time at home. Have you ever wondered how much it’s costing you to leave a computer on 24 hours a day, 7 days a week? The first thing you

By Jeff Atwood · · Comments

Excluding Matches With Regular Expressions

Here's an interesting regex problem [http://techreport.com/forums/viewtopic.php?t=34782]: > I seem to have stumbled upon a puzzle that evidently is not new, but for which no (simple) solution has yet been found. I am trying to find a way to exclude an entire

By Jeff Atwood · · Comments