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

What Would Blanka Do?

Sometimes you just gotta ask yourself: What Would Blanka Do? [http://www.wired.com/news/culture/0,1284,67251,00.html?tw=wn_tophead_4] > "Eventually, my nickname at school became Blanka. When I got into real fights, I even tried using some of his moves. They never

By Jeff Atwood · · Comments

Encryption for Dummies

I just posted a new article on CodeProject, .NET Encryption Simplified. In my spare time over the last 6 months, I've delved deeper and deeper into the System.Security.Cryptography classes. And you know what I learned? Cryptography is hard. Anyway, I now have a heavily documented wrapper

By Jeff Atwood · · Comments

Improved craigslist.org all city search

Due to popular demand one person's request, I added for sale searching to my existing craigslist.org all-city search page. I also made a few other minor improvements: * Searching of Jobs or For Sale items * Selection of subcategories * Age of posts in days is shown as an offset

By Jeff Atwood · · Comments

Good Test / Bad Test

After years of building ad-hoc test harnesses, I finally adopted formal unit testing on a recent project of mine using NUnit [http://www.nunit.org/] and TestRunner [http://www.mailframe.net/Products/TestRunner/]. It was gratifyingly simple to get my first unit tests up and running: <TestFixture()> _ Public

By Jeff Atwood · · Comments

Determining Build Date the hard way

One of the key diagnostic data points for any .NET assembly is "when was it built"? Until recently, I thought there were only two ways to suss this out: 1. Check the filesystem date and time 2. Derive the build date from the assembly version The filesystem method

By Jeff Atwood · · Comments

ASP.NET NTLM Authentication - is it worth it?

At work, we have the luxury of assuming that everyone's on an intranet. So when it comes to identity management on our ASP.NET websites, NTLM authentication [http://dotnetjunkies.com/Article/6B31D299-347C-4B85-82C5-954546165C80.dcik] is the go-to solution. Why trouble the user with Yet Another Login Dialog when you

By Jeff Atwood · · Comments

Tabbed Browsing and MDI-SDI-WTF

Cyrus bemoans the user interface catastrophe known as tabbed browsing [http://blogs.msdn.com/cyrusn/archive/2005/04/10/406971.aspx]: > As far as I can tell, tabs just exist to violate the existing window managment systems I have in the OSs i use. So all the built-in ways

By Jeff Atwood · · Comments

Hackers and Pastry Chefs

In Maciej Ceglowski's cutting counterpoint [http://www.idlewords.com/2005/04/dabblers_and_blowhards.htm] to Paul Graham's Hackers and Painters [http://www.paulgraham.com/hp.html], he cites a key difference between software development and painting: writing software doesn't get you laid. >

By Jeff Atwood · · Comments

Raleigh Code Camp Tomorrow

If anyone reading this is local to Raleigh-Durham and signed up for the 2005 Raleigh Code Camp [http://www.codecamp.org] at NC State [http://www.codecamp.org/Logistics.aspx], fair warning: I'll be presenting there. The speaker schedule [http://www.codecamp.org/Schedule.aspx] is packed with

By Jeff Atwood · · Comments

Custom wsdlHelpGenerator + webroot = error

Why are the smallest bugs in the .NET framework always the most disproportionately frustrating? Take the wsdlHelpGenerator [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfwsdlhelpgenerator.asp] element, for example. Sure, it seems straightforward enough; you want to replace the default crappy, random hash sorted list

By Jeff Atwood · · Comments

Checksums and Hashes

I learned to appreciate the value of the Cyclic Redundancy Check (CRC) algorithm in my 8-bit, 300 baud file transferring days. If the CRC of the local file matched the CRC stored in the file (or on the server), I had a valid download. I also learned a little bit

By Jeff Atwood · · Comments