Blog

1 min read

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

Double-sided macro tent

UPDATE 2019: With Flickr limiting the number of photos you can upload with a free account, I’ve removed these photos. I’ve written a small tutorial about how I set up my double-sided macro tent.

Calculating with OpenOffice.org

Joachim Dahl asked me to give an example of using OpenOffice.org spreadsheet formulas from Python. After a bit of digging I found out that it’s rather easy. I’ve added a section to my “OpenOffice.

Bordering an image

Pictures look better when they have a border around them. To make things easy for me, I’ve written a small script that does a lot of boring things for me. It resizes an image so that it fits a 1000x1000 square, then creates a black border around it that’s a slight bit larger at the bottom and places my name and website URL on the side.

Back from holiday

UPDATE 2019: The photos are no longer online. I’m back from holiday. We went hitchhiking from Amsterdam to Muker in the Yorkshire Dales (UK). Of course, there are plenty of pictures.

A shorter self-timer on a Canon EOS 350D

The Canon EOS 350D has a fixed self-timer of 10 seconds, and the manual doesn’t mention any way of shortening it. I use the self-timer for night shots, where even the movement of a button press can mess up an otherwise perfect photo.

Which unit do you shoot first?

In every Real Time Strategy game, there comes a time that you face your enemy in combat. Then you have to decide which unit to attack first. There are many ideas about optimal strategies, and many of them have good arguments.

Single-click buttons for webapps

UPDATE 2019: the below article is long gone. Many web applications can’t handle it when links and buttons are clicked while a page request is already being processed. To prevent your application from those trigger-happy mouse clicking users, read my article about single-click buttons.

Line numbers in VIM's search & replace

Often, I have to assign a list of Selenium parameters $p1 through $pN to a list of more meaningful names. With VIM, this is easily done. First, place the meaningful names in the editor, one name per line:

Photography

UPDATE 2019: The described page about photography is gone from my website, as well as the Flickr RSS feed link. I still am a photographer, though, so check out stuvelfoto.nl for my work.

Blame support in Eclipse

Eclipse has support for CVS annotations, also known as “blame support”. Right-click on a file, choose “Team”, “Show annotation” and you’ll see who last edited which line of code. However, if you ever turn off quick diff, this feature will stop working.