urls

regex

The Problem With URLs

URLs are simple things. Or so you'd think. Let's say you wanted to detect an URL in a block of text and convert it into a bona fide hyperlink. No problem, right? Visit my website at http://www.example.com, it's awesome! To locate

By Jeff Atwood ·
Comments

spaces

Of Spaces, Underscores and Dashes

I try to avoid using spaces in filenames and URLs. They're great for human readability, but they're remarkably inconvenient in computer resource locators: 1. A filename with spaces has to be surrounded by quotes when referenced at the command line: XCOPY "c:\test files\reference

By Jeff Atwood ·
Comments

programming languages

Don’t Devalue the Address Bar

I was reading an interesting entry in Rocky Lhotka’s blog when something in the URL caught my eye: http://www.lhotka.net/WeBlog/PermaLink.aspx?guid=b28971dc-ac4b-4494-8a21-7a5105a39b07 I guess it’s a DasBlog thing, but good lord: a globally unique ID in a blog hyperlink? Has it really come

By Jeff Atwood ·
Comments

urls

Building Unbreakable Links

I was reading through some of the DataGrid Girl’s oh-so-cute article links, and I encountered a few dead ones. It’s not really Marcie’s fault; dead links are inevitable on any page as it ages. Such is the nature of absolute links. For example, this one: http://msdn.

By Jeff Atwood ·
Comments