Archive for June, 2010

Published by breki on 28 Jun 2010

Food In The Macro World

Playing with my new macro lens. Can you guess what these are?

Piper nigrum 2

Rosmarinus Officinalis

Carum carvi

Answers: black pepper, rosemary and caraway.

Published by breki on 20 Jun 2010

Rewriting Code

I’m working on some new Maperitive commands and they require a bit of an extension of the command-line interface. I’ve tried to extend the existing command-line parser code, but it feels like tearing off fingernails. The funny thing is that I’ve rewritten this part of the code a couple of months ago, but it still smells. It’s a typical case of having to extend some functionality slowly bit by bit and not doing it properly, and the crappy code piles up.

So after considering all the options, I’ve decided to do a new rewrite of this code. It’s going to take some time, but it will make me feel better – and that’s the most important thing.

Luckily I have a dozen of existing unit tests which will be very helpful in making the new code run correctly. This is one of the best reasons to write unit tests, people!

Published by breki on 19 Jun 2010

Fresh Catch For June 19th

These are my new delicious links for June 19th:


Published by breki on 18 Jun 2010

Fresh Catch For June 18th

These are my new delicious links for June 18th:


Published by breki on 06 Jun 2010

Fresh Catch For June 6th

These are my new delicious links for June 6th: