Category Archives: tech

Python 2.6 enabled VTK 5.4 Windows binaries

You can always check my Latest VTK Windows binaries page to make sure you have the latest blog posting and hence the latest binaries.  It also links to the “old” Python 2.5 VTK 5.4.1 binaries.

I’ve made available my home-baked VTK 5.4.2 Windows binaries.  These have the new-and-improved version of my python-exception-patches integrated (more about this in a future post; a serious dead-lock has been fixed and as a side-effect, you can now run multiple VTK pipelines in different threads!) and have been built with Visual Studio 2008 (9.0) SP1 on Windows XP SP3 with full Python 2.6 support.  Get the binaries (or my patched source) from the two links below.  You want the binaries if you want to use VTK from Python.

IMPORTANT: you might have to install the MS VS2008 SP1 vcredist_x86 package (free!) if you want to use these DLLs (thanks Jelle for pointing this out).  This might not be necessary if you already have one or more of the MS development environments installed.

Please leave a comment on this blog posting if you use these or just hate them. It’s almost like postcard-ware, but with blog comments. Please also link to this page and not directly to the download location, thanks!

To use this from Python, you need to add the following to your PATH:

  • d:\opt\VTK\bin

You also need to add all of the above to PYTHONPATH, as well as the following:

  • d:\opt\VTK\lib\site-packages

… where d:\opt is the drive and directory where you unpacked the ZIP file.

Once you’ve done this and logged out and in again, “import vtk” should work at the Python prompt. Shameless plug: you can use my free envedit software to do the environment editing. It beats the default XP editing thingy.

Bill Buxton at CARS 2009

Courtesy of an invitation by Prof. Bernhard Preim and the CARS (Computer Assisted Radiology and Surgery) organization to give the Visualization and Virtual Reality in Medicine tutorial together with the good professor, I got to go to CARS 2009 in (you guessed it) Berlin.  It was an honour and a pleasure to present this tutorial together with the author of The Book currently defining my research field.

What was completely unexpected though, was being completely blown away by Bill Buxton’s keynote.

bBuxton-small

I have to admit that I was not aware of this distinguished gentleman or his credentials (amongst other things, xerox parc in its absolute heyday, later chief scientist of alias wavefront and of SGI, now principal scientist at Microsoft, and much more) before yesterday.  This dude shows up on stage, and in a totally relaxed and understated way, manages to blow my mind a number of times.

He started by casually telling us that he’d already been playing around with multi-touch displays (now all the rage in the UI world) in 1985, using it to design digital percussion instruments.  Then he demonstrated, with a number of examples, a significant number of which he had personally been involved with (the multi-touch just mentioned among others), his “20 year long nose” observation.  Innovations that eventually make it, take on average 20 years to get from the lab to main-stream, where main-stream is defined as being a billion dollar industry.  The mouse took even longer: 30 years.

Before getting to the next important and extremely provocative point, he showed us this video (I’ve made you a nice crappy mobile phone cam version):

YouTube Preview Image

(Peter Krekel managed to find the original Microsoft demo-reel on youtube and shared:)

YouTube Preview Image

His provocative statement was that screen real estate will essentially be free in 5 years, based on the rapid evolution of manufacturing technology, customer demand, and the trends in analogous examples, such as bandwidth.  If somebody had told you 10 years ago that internet bandwidth today, in 2009, would be essentially free and available in copious amounts, you would have spat out your morning coffee.  I know I would have… in ’99 we were still dealing with dial-up.  Coming from Bill Buxton, and also based on all his examples, this made me sit up straight and think.  We’re going to have really big screens.  Think metres by metres at a resolution of at least 100 DPI.  Think walls covered with screens, because it’s cheaper than putting up a whiteboard.  We have to rethink everything that we know about interfacing with the digital world…

Another tantalising prediction (and I’ve heard this from more people than Buxton) is that soon mobile phones will have as standard equipment a micro laser projector.  This will allow us to project on arbitrary curved surfaces (it’s coherent light, so always in focus!) when we want to show something to anyone else and, even cooler, it will allow us to perform 3D colour scans of anything we see.  At this stage I had the distinct feeling of my hair being blown back.  I’m going to be living inside Star Trek!

There was much more (including personal devices that are more aware of their context: think cell phone automatically speaking to television and computer as you enter a room), but I’d like to conclude this post with one of his more profound lessons: Innovation is hardly ever about coming up with something completely new.  That sometimes does happen, but is a fluke.  Real innovation is about taking one of the dimensions defining an existing technology (size, speed, price, resolution, simplicity, intelligence, and many more subtle dimensions) and expanding that dimension by at least an order of magnitude.  Doing this in fact yields a completely new technology.  The really clever people have learned how to identify the more subtle dimensions and expand them.

I’m going to think about that for a while. :)

Python 2.5 enabled VTK 5.4 Windows binaries

You can always check my Latest VTK Windows binaries page to make sure you have the latest blog posting and hence the latest binaries.

I’ve made available my home-baked VTK 5.4 (actually build from a CVS VTK-5-4-1 tag checkout) Windows binaries.  These have the new-and-improved version of my python-exception-patches integrated (more about this in a future post; a serious dead-lock has been fixed and as a side-effect, you can now run multiple VTK pipelines in different threads!) and have been built with Visual Studio 2005 (8.0) SP1 on Windows XP2 with full Python 2.5 support.  Get the binaries (or my patched source) by going here.  You want the binaries if you want to use VTK from Python.

IMPORTANT: you might have to install the MS VS2005 vcredist_x86 package (free!) if you want to use these DLLs (thanks Jelle for pointing this out).  This might not be necessary if you already have one or more of the MS development environments installed.

Please leave a comment on this blog posting if you use these or just hate them. It’s almost like postcard-ware, but with blog comments. Please also link to this page and not directly to the download location, thanks!

To use this from Python, you need to add the following to your PATH:

  • d:\opt\VTK\bin

You also need to add all of the above to PYTHONPATH, as well as the following:

  • d:\opt\VTK\lib\site-packages

… where d:\opt is the drive and directory where you unpacked the ZIP file.

Once you’ve done this and logged out and in again, “import vtk” should work at the Python prompt. Shameless plug: you can use my free envedit software to do the environment editing. It beats the default XP editing thingy.

My new home on the interwebs

DNS changes are  still propagating for various domains, but this post is definitely coming to you from my new home at WebFaction!

Over the past two days, I’ve migrated a number of domains that I host from anhosting to WebFaction.  At anhosting I had 30 G of disc, 750 G of bandwidth (seems they’ve gone all unlimited now) and great support for a few dollars a month (that’s about 10 eurocents :).  At WebFaction I get 20 G less disc space and 150 G less bandwidth for some dollars more per month!!  Great deal right?!

I was quite happy at anhosting, but WebFaction really makes my big old geek heart beat much faster.  There’s a real community on the forum, support personnel seem to be mostly rocket scientists and the technical setup is simply awesome.  Being a Python-shop (bonus points), they have created their own control panel with which almost everything can be easily configured, including unholy mixes of dynamic web applications and domain redirection.  They even make available a Python-friendly XMLRPC api with which control panel functions can be programmatically invoked.  I used this to quickly configure my email forwarding configuration for example.  Besides all of that, the Django support is superb!

The bottom-line is: If in fact you are also a high-maintenance nerd trapped in the body of a, err, high-maintenance nerd, WebFaction is worth the few dollars more many times over.

(p.s. If you were to decide to move house as well, and you were to wonder which affiliate name you could use during signup, you could consider “cpbotha” (that’s mine, doh) or you could just signup via this link. )

A nicer foldable paper CD cover generator

Here’s my nerdy DIY tool and tip for the day: With a single sheet of A4 (or letter) paper, you can fold a sleeve for any CD or DVD.  This is ideal for those CDs lying around where they shouldn’t, and also for gifts of pirated software and music (harr harr).

I’ve made a web-app (CGI) that will generate a PDF with folding lines and labeling text, including titles, descriptions and track listings, that you can print out and fold to protect your most beloved optical media in a unique yet stylish fashion.  Click here to go to the webapp, please come back to this posting to leave a comment!