Blog

1 min read

This is my blog. It may have something for you.

New look

I’ve updated the look of this site. Unfortunately for Microsoft Internet Explorer users, I couldn’t get the new look to work in that browser. Its CSS support is just too limited.

PVR support in MPlayer

When toying around with mplayer and my Hauppauge PVR350, I got the following error when trying to play something: [pvr] failed with errno 22 when reading 2048 bytes [pvr] read 0 bytes The error kept repeating.

Tilt wheel & Logitech mx610

I’ve got a Logitech MX610 cordless laser mouse. One of its nicer features is a tilt wheel. Unfortunately, this is still difficult to get working in Ubuntu Linux. The problems:

More power from your mobile's battery

I’m the happy owner of a Motorola Razr V3. Its battery used to last quite long, but now that it’s getting older it’s drained very quickly. At some point, I could charge it at night, talk a few minutes during the day, and when I got home in the evening the battery would be empty.

Uitmarkt 2007

There was a spectacular opening of the Uitmarkt in Amsterdam. Of all the photos I shot that evening, I’ve uploaded the best 11. Take a look at Uitmarkt 2007 - a photoset on Flickr.

Proper Exception handling

UPDATE 2019: The articles below have been taken offline. The articles below are about Java, but I think they apply equally well to other languages that have exception handling. It would be nice if more were to read those articles.

Highlighting the current line & column in VIM

It’s already in the VIM help file, but I never found it until now. To highlight the current row/line and the current column use this in your .vimrc: au WinLeave * set nocursorline nocursorcolumn au WinEnter * set cursorline cursorcolumn set cursorline cursorcolumn I found this quite useful while programming.

Encoding video for the iriver U10

I own an iriver U10. It’s a great device, that can play music and video. However, for some reason, none of the tutorials about encoding video for the iriver U10 worked.

Safely copy a SQLite database

It’s trivially easy to copy a SQLite database. It’s less trivial to do this in a way that won’t corrupt it. Here’s how: $ sqlite3 some.db sqlite> begin immediate; <press CTRL+Z> $ cp some.

Stuvel.eu moved to a better server

The Stuvel.eu website has moved from a 1 Mbit ADSL connection to a real server on a proper 100 Mbit link. If you read this message, the DNS entries have been updated and you’re looking at the new server.