I rule

I spend quite a chunk of my time hacking on VTK (the Visualization ToolKit), one of the better examples of open source.

I’m particularly proud of the fix I made today though, as it’s quite deep in the VTK object hierarchy. Shows you how much it can help to construct an isolated test case that breaks something before you start debugging. First I present the problem along with my test case (I ran into the problem whilst hacking on large GUI+VTK project) and then, after considerable amounts of Rooibos tea, the solution.

This one-liner fix represents an extremely hairy problem: it was hidden somewhere in the 1.2 MILLION lines of code that constitute VTK.

Related posts:

  1. I rule
  2. All operating systems suck
  3. The most useless software of the year award
  4. Adding ErrorEvent handlers to all VTK objects in Python
  5. Python 2.5 enabled VTK 5.2 Windows binaries

One Response to I rule

  1. thank you

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>