software development

regex

If You Like Regular Expressions So Much, Why Don’t You Marry Them?

All right... will! I’m continually amazed how useful regular expressions are in my daily coding. I’m still working on the MhtBuilder refactoring, and I needed a function to convert all URLs in a page of HTML from relative to absolute: <summary> converts all relative url references

By Jeff Atwood ·
Comments

internet explorer

Because IE6 is the new Netscape 4.7x

As I read through all the articles spawned by the IE7 announcement (press release), I finally realized something: IE6 is the new Netscape 4.7x. It’s like we woke up one day, and IE6 had transformed overnight into the browser that we all wish would go away. The one

By Jeff Atwood ·
Comments
A Developer’s Second Most Important Asset

ergonomics

A Developer’s Second Most Important Asset

As software developers, we worry a lot about improving and protecting our most important asset – our brains. But what about our second most important asset – our rear ends? As much time as we spend seated in front of a computer, it pays to think about investing in quality seating. I’

By Jeff Atwood ·
Comments

c#

Logging TraceListener Improved

I made a few improvements to the Logging TraceListener: * Files can now be aged by date as well as size * Filename is now completely templated using a single FileNameTemplate property, which supports standard String.Format codes for file number and date * Added separate properties to specify units of scale for

By Jeff Atwood ·
Comments

.net

Paging Dr. Dotnetsky...

You always notice the names that appear frequently in your code related Google searches. For me, one of those names is Peter Bromberg, PhD, the driving force behind Egghead Cafe. There are some great articles there, but the pick of the litter are the ones by Peter’s alter ego,

By Jeff Atwood ·
Comments

security

On Managed Code Performance

My personal turning point on the importance of managed code was in September 2001, when the NIMDA worm absolutely crushed our organization. It felt like a natural disaster without the “natural” part – the first notable port 80 IIS buffer overrun exploit. We got literally zero work done that day, and

By Jeff Atwood ·
Comments
The One Trillion Dollar Development Pyramid

.net

The One Trillion Dollar Development Pyramid

Kit George is the program manager for the .NET Base Class Library team. Kit recently posted an entry on the BCL blog describing a solution to a customer problem: We recently got asked this question by a customer: “In C#, how do I ensure that a string entered into a

By Jeff Atwood ·
Comments

ownership

You Gotta Own It

One of the frustrations I’ve experienced with offshoring projects is the diminished sense of ownership. We’re still responsible for the software put in front of the end users, and yet we’re not allowed to put our hands on the code. Instead, we draw UML diagrams, we enter

By Jeff Atwood ·
Comments
Gettin’ Greppy Wit It

regular expressions

Gettin’ Greppy Wit It

We’re currently supporting a third party application that, in addition to producing some truly impressive WTFs, generates incredibly verbose log files with zillions of ‘error messages’ that aren’t really errors. This makes diagnosing problems in their server code* very difficult. It is, however, a great use for a

By Jeff Atwood ·
Comments
Keyboarding

keyboard shortcuts

Keyboarding

Like Scott Hanselman, I view the mouse as an optional computer accessory.* Manly coders love the smell of compilation in the morning and we know that speed = keyboard. A mouse? C’mon. That’s so teenage girls can pick emoticons in AOL Instant Messenger. And for flash “developers.” Us tough

By Jeff Atwood ·
Comments
ASP.NET About Box (Page)

asp.net

ASP.NET About Box (Page)

I had a request for an ASP.NET version of my windows forms About Box. This is a good idea that I’ve considered in the past, so I took the time to convert it today: Clicking details will provide a dump of all loaded assemblies in summary form, with

By Jeff Atwood ·
Comments

software development

Ivory Tower Development

I’ve always discouraged ivory tower development – teams where developers are cloistered away for years in their high towers, working on technical software wizardry. These developers have no idea how users will respond to their software they’re creating. They probably couldn’t even tell you the last time they

By Jeff Atwood ·
Comments