Tuesday, August 30, 2005

A man who doesn't like his phone

"It's the suckiest phone I have ever had. It sucks so much it should have been a vacuum cleaner." Read the description of a "really nasty mobile phone" for sale on eBay . Actually, it isn't necessarily for sale, "You have a choice, you can bid for the phone or you can bid for a homemade DVD of it's slow demise. I plan to use a vice, a drill, possibly an angle grinder, some flamable liquids, a blowtorch and finally a sledghammer."

Monday, August 08, 2005

Would you trust his directions?

Owners of TomTom GPS navigation systems can buy John Cleese's voice to guide their way. Hmmm.

Technorati tags:

Friday, August 05, 2005

Geeky Friday: Extended bash completion

I've been working with the bash shell under linux, solaris, and cygwin for some five years and I've just now discovered that bash has support for tab completion of more than just file names. Not only that, but somebody has done a lot of hard work for me and put together bash completion code for many commonly used programs.

It does seemingly obvious things, such as offering known host names when using ssh or sftp (taken from config and known_hosts files in ~/.ssh) or offering the valid command options that follow the cvs command (e.g. commit, update, log, etc.). Here's a big list of what commands it will expand arguments for.

I think people who do more systems administration than I do will probably benefit more than I will, but at least I can now reduce how many times cvs complains about the invalid command "cvs udpate".

According to its page at freshmeat.net this has been around since 2001. As distributed for cygwin, the file is now nearly 9000 lines long plus another 1700 lines in an associated subdirectory (bash_completion.d). This seems a tad monolithic. I think it'd make sense for these completion functions to be split up and packaged along with the executable itself. This is an extension of what is currently done. Regardless of the installation packaging system (rpm or apt on linux, fink on mac, cygwin for cygwin), the package already contains not just the executable, but also configuration files, manual pages, other documentation, and often custom shell settings to be placed in /etc/profile.d -- perhaps these completions should just be added into the files placed in profile.d since the contents are just bash commands which add information to the current session.

Technorati tags:

Tuesday, August 02, 2005

Did Hell Freeze Over?

Apple introduces a mouse with more functionality than just one button, the Mighty Mouse. An early mac ad touted the benefits of one button, "Some mice have more than one button. The Macintosh has only one. So it's extremely difficult to push the wrong button." Now I'm afraid I'll push the wrong button.

This mouse looks cool. It all makes sense now. Apple didn't want to release just another two-button mouse with a scroll wheel. They've done quite a bit more. Update: Russell Beattie has a hands-on review of the Mighty Mouse.