Ridiculously easy cruft-free URLs

30 May 2007

While configuring bbPress the other day, I was extremely surprised when the documentation said you only need to add the line “Options +MultiViews” to .htaccess in order to get pretty permalinks working.

It turns out Apache’s MultiViews feature, used for content negotiation (e.g. automatically deciding whether to send a .gif or .png image to a web browser), has an interesting side-effect in that it allows you to access a file without an extension (like .png) in the URL.

This will come in handy when developing PHP sites as an easy way to get clean URLs. For example, instead of linking to /about.php, if I have MultiViews enabled, I simply link to /about — simple as that!

Street view in Google Maps

30 May 2007

Google has launched a street view mode for Google Maps. Here is a link to a view of one of the Google signs outside their Mountain View campus.

HyperDB

29 May 2007

Matt Mullenweg has released HyperDB, a wpdb replacement for WordPress designed to work in a cluster environment.

Though I wouldn’t use it in our “home datacenter”, it is apt for running in large environments, as HyperDB originated on WordPress.com.

sl

23 May 2007

sl is an easter egg program installable on Linux that displays an animation when you misspell ‘ls’ as ‘sl’.

To install it on Ubuntu, type: sudo apt-get install sl

Triggering is easy — just type ‘sl’ in a terminal. For a list of switches available to change the animation, type: man sl

This doesn’t happen

21 May 2007

Whatever it is you think we do over here, it is up to the Council of Australians for Uneducated Americans to show you that it certainly doesn’t happen:

Man riding Kangaroo in front of the Sydney Opera House.