Some URLs Changed

1 PM April 29, 2004

I’ve shortened some of the longer permalink URLs. Since the new URL scheme has onl been in use for a few days, this might cause a glitch with aggregators trying to work out what they have and haven’t seen, but I don’t think anyone else will be affected.

In other news, the new blog software is mostly going OK.

The current issue is that that the database file is sometimes being corrupted when the server shuts down. I am not sure why this is. I am taking daily backups.

By alang | # | Comments (3)
(Posted to Software Development)

Title Case With Vim

11 AM April 29, 2004

Another old post from the “Unseen Alan” files. I wrote it after downloading a file full of UPPERCASE BABY NAMES. I can’t recall why I hadn’t posted this one.

Originally written November 11, 2003.


To put a file into title case:

First, make every character lower-case. ”\L” in the substitution pattern makes all following letters lower-case.


%s/./\L&/g

Second, change the case of the first letter in each word. ”\w” in the search pattern finds word characters. ”\u” in the substitution pattern makes the single next character upper-case.


%s/\w*/\u&/g

By alang | # | Comments (1)
(Posted to Software Development)

Safe and Clueless

12 AM April 29, 2004

Simon points to a Register article by Tim Mullen, blaming “clueless users” for their own PC security problems. Tim writes:

We are calling for users to take a little time and to learn minimal skills before attaching their systems to the Internet.

A question that people seem to have stopped asking is, “Why can openning an email trash my PC?” The answer is that Microsoft thought that executing arbitrary code emailed from strangers was a good idea. This attitude pervades their entire OS. It means Windows users have to understand their OS in order to protect themselves from it, even though not all of them are capable of that level of understanding.

Users should be able to mouse and click and tap without having to think about computer security. The idea that waving my hand and wiggling my fingers can ruin a few thousand dollars worth of PC is ridiculous.

I’m saying that it should be safe for users to be clueless.

It works just fine on the Mac.

By alang | # | Comments (6)
(Posted to Software Development and Rants)
© 2003-2006 Alan Green