Python 2.5 enabled VTK 5.2 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.2 Windows binaries.  These have my special python-exception-patches integrated 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.

A taste of brilliant Brazil

Wow, wow, wow.

As hinted to in a previous post, I was on my way to Brazil.

The hint took more concrete shape with me visiting Dr. Rosane Minghim and colleagues at the Instituto de Ciências Matemáticas e de Computação (ICMC) of the Universidade de São Paulo.  One of the many perks of my job is that I get to travel (nice) and meet many exceptionally cool people (great):  The week in Brazil was an extreme example of that.  Shortly after setting foot on the South American continent for the first time, I started running into them.  A whole series of amazingly warm and engaging contacts with people that I had mostly never seen before.  Every lunch and every dinner from day one was either at someone’s house, with their family, or somewhere in the city, at a restaurant (I’ll get back to the foody bits later…), in the company of interesting and very social people.  I had many profound conversations, a healthy percentage being entirely unrelated to work.  All of this meaningful activity had a definite effect on my perception of time: By the end of the week, it felt like I had been there and known the people for much longer than possible in 7 days.  You would be correct in guessing that I’m still slightly stunned. :)

Oh yes, before I touch on the foody goodness that is Brazilian cuisine, I would like to point out that I’ve now too discovered the centre of the world.  It’s in São Carlos, and it looks almost exactly like this:

Brazil counts around 190 million inhabitants.  I’ve only seen a miniscule part of that, but what I’ve seen concerning the relationship Brazilians have with eating and drinking is simply inspiring.  In my few days there, my mouth had the pleasure of meeting with the exquisite Ms. Caipirinha (home-made ones, bar-made ones, frozen ones; I will HAVE to get more of those), numerous shots of cafezinho and other Brazilian coffee in its various delectable forms, Moqueca (twice home-made, and once on the plane!), lots of Guaraná (the kids drink it like cooldrink!), some açaí na tigela, farofa, several instances of the typical Brazilian mix of rice, beans and somehow integrated manioc, fried banana, a churrasco that brought tears of joy to my braai-attuned South African eyes and finally, the cake of all cakes, the sweetness that can make a grown man whimper: The Torta Paulista.  See it below in all its glory:

Torta Paulista

I’ll remember this week as the month I spent in Brazil making new friends and keeping my brain happily submerged in dopamine.  Via this blog post I’d also like to thank everyone that I had the singular pleasure of having contact with.  I am now officially a fan of ICMC, the USP, São Carlos and the whole of Brazil.  Sometimes generalising can be good.

In case anybody thinks that it was all work and no play, I’d like to submit the photo below as evidence to the contrary.  In it you can see my notebook on a table in the centre of the world shortly after I’d spilled coffee all over it.  It’s the perfect summary of my visit to Brazil.

Life update

Yesterday I had the pleasure of attending the M.Sc. defence of a probably soon-to-be-famous medical imaging researcher :) and the additional pleasure of chatting with a bunch of exceptionally pleasant BIGR people.  In passing, it was mentioned that I had not updated my blog in a while.  Together with the fact that my most recent posting (before this one) has to do with new computer hardware (blargh) and definitely doesn’t count as one of the better contributions in the illustrious history of this weblog, and therefore shouldn’t remain on the front page for too long, this has finally convinced me that I should definitely make a new posting.

So here I am.

It’s been, and still is, terribly terribly busy.  In addition to my usually well-populated agenda, I’ve been spending inordinate amounts of time on organising the VCBM 2008 conference.  There hasn’t been much left for anything else, hence the blog-silence.

Moving on, one would be justified in inquiring as to the exact purpose of this post.  Well, apart from exercising my verbage (I am allowed to, it’s my website :) and explicitly noting the pleasantness of recent company, I would like to mention that I should, since last week and Tuesday, have heightened resistance to yellow fever, hepatitis A, dyptheria, tetanus and polio.  One might now be justified in wondering about the exact reasons for the newly acquired powers of my immune system.  I could answer your well-founded curiosity with this, so I will.

Thank you for your attention.

Pleasure Apparatus 2008

As I mentioned, no lamented on, in this post, it was high time for a new computer in my life.  On Saturday June 14, 2008, I managed to acquire the necessary components to construct my latest computer machine.  For you viewing pleasure, I took the photo below of the various parts lasciviously arranged:

Components of the new machine

Niiiiice!

After a truly delectable BBQ with Really Good Friends, I set about putting the beast together.  At 3:00 AM it purred into life with Ubuntu Hardy Heron 8.04 x86_64: 45nm Penryn quad-core Q9450 2.6 GHz CPU on a P35-based Asus P5KC, 8 GB of RAM, GeForce 8800 GT with 512 MB, Seagate Barracude 500 GB 7200 RPM HDD, all enclosed in an Antec Sonata III Piano Black case.  All in all quite affordable at 925 eurobucks, but definitely a beast of a machine (probably at least until the end of July!).

Now I can do all sorts of sick things, like running Windows XP 64 bit in a virtual machine:

thumbnail of xp64 in hardy heron x86_64 KVM

I’m the coolest nerd on my block!

The art of effective verbal communication

At work, a large part of my day is taken up by speaking.  I spend a significant amount of time in meetings of some sort, both where other people are primarily talking and also where I have to talk most of the time.  Because I started noticing that many of these hundreds of thousands of words were being applied less effectively than they could have, I began trying to derive some rules of thumb for effective verbal communication.  These rules of course do not apply to your run-of-the-mill pleasant social conversation, and they shouldn’t.  They’re there for meetings and for advising people.  Here we go:

  1. Whilst you are talking, continously monitor your own words.  After every sentence, mentally double-check whether that sentence had a purpose.  Did you transfer some applicable advice?  Did you make a sensible suggestion?  Did you point out a next concrete action?  What is the actual contribution of your sentence to the person that you are talking to?  If you have difficulty determining this, stop talking immediately.
  2. Do something similar before each sentence: what’s the purpose of your sentence?  Are you transferring knowledge that is useful and/or actionable?  If not, stop talking immediately.  You now have the option of thinking and planning your communication better, or handing over to someone else.
  3. If you notice that you might need more time than usual to get to the point, stop talking immediately.  First explain what you are going to try and communicate, then continue with your exposition.  In this way, you don’t bore the living daylights out of your conversation parters.
  4. This can be quite difficult: monitor your conversation partners continuously.  If they get that glassy-eyed look, or their heads start lolling, or they look like they might want to lynch you, it probably means that you are boring them to death.  Stop talking immediately.  Picking up the more subtle clues, also the positive ones, is a fine art.  Never stop working on it.

That’s it for now.  If you catch me violating one of my own rules during a meeting, don’t hesitate to tell me about it.  I’ll buy you a beer and then talk until you go all glassy-eyed.

Ultimate Dutch Snack

While it’s true that Dutch cuisine is the brunt of far too many less-than-flattering jokes, it definitely has its highlights. Ontbijtkoek is a very typically Dutch spiced cake that is often eaten in the morning, whilst Hagelslag is the Dutch word for chocolate sprinkles, which people from around these parts like to use as a bread topping, also mostly in the mornings. By themselves, each of these is an interesting contribution, but probably not a culinary breakthrough.

However, when you combine them, it’s a completely different story. The spongy texture and spicy demeanour of the ontbijtkoek mingle sensually with the smooth brittleness of the hagelslag to result in nothing less than a taste and texture explosion!

Ladies and gentlemen, it was an exceptionally difficult judging process, but it pleases me greatly to present to you The Ultimate Dutch Snack! (*)

(*) At least for this week.

Outraged

The year is 2008.

  1. A young Iraqi woman falls in love with a British soldier.
  2. Her father hears of this and subsequently, assisted by his two sons, stamps on, suffocates and stabs to death his own daughter.  He is outraged that she has shamed his family in this way.  Furthermore, he claims that she deserved this, as what she did was unacceptable to any Muslim that honours his religion.
  3. The father is not prosecuted for his barbaric behaviour.  It is apparently on honour killing, and therefore tolerated.  In this case, the police apparently congratulated him.

Read the full story here.

Recording screencasts on Windows with free software

Screencasts refer to video recordings of screen activity, often with narration. These can be used to demonstrate software or to serve as a kind of visual HOWTO. We often make screencasts of software we design in the Medical Visualisation group at the TU Delft to use in presentations at conferences or to distribute online.

On Windows, Camtasia Studio ($300) or Camtasia SnagIt ($40) are probably the best options your money can buy. Most of the free alternatives suck quite badly: This includes the Windows Media Encoder, thank you very much. In fact, the Windows Media 9 Screen Capture Codec has been fine-tuned to create the worst possible quality movies you can imagine. Another problem with the free options is that they often can’t sustain writing the video stream to disk, hence resulting in dropped frames and unusable screencasts. When they are able to sustain writing, it probably means that the compression is completely killing video quality.

Fortunately, it turns out that there is a free option which offers comparable performance to the Camtasia products, and for good reason. It’s called CamStudio, and it’s even open source! It’s terribly important that you also install the lossless CamStudio Screen Capture codec, it’s this that makes all the difference. This codec compresses all frames with the fast LZO lossless compression algorithm, so you get the highest possible quality without dropping frames due relatively slow disc writing.

Using CamStudio, I made a 3.5 minute screencast, with live audio recording, show-casing some of the new DICOM browsing functionality in the next DeVIDE release. After capture, I transcoded the CamStudio screen capture codec AVI to XVID using MediaCoder, and then uploaded to YouTube (play at your own risk!):

I have an official course code!

I am currently designing a new master-level course at the TU Delft, creatively named Medical Visualization, and it’s just been assigned an official course code: IN4307. Whooo!

Keep an eye out for IN4307: This 5 ECTS course will run in the 3d period (February to April) of the 2008/2009 academic year and it’s going to rule. I’m integrating more modern educational techniques (thank you TU Delft BKO for the inspiration) in that the whole course will be run as an interactive workshop (I lecture, you immediately try it out on your computer machine), and assessment will be based on weekly practice exercises as well as a more extensive project that will have to be orally defended at the end. In other words, there will be no written exam.

My goal is to produce frikking medical visualisation ninjas that will hit the ground running when deployed in any academic or industrial projects. I have the technology to make you harder, better, faster, stronger, and I’m not afraid to use it.

New work laptop

I think I just might have found my next work laptop. Imagine the surprised and definitely jealous expressions as you plonk down your new Hello Kitty laptop at that next power meeting or important research discussion. Marvelous!

Click on the image for the accompanying site (found via engadget.com).