Friday 30 September 2011

Thursday 29 September 2011

Monday 19 September 2011

Thursday 15 September 2011

Parent/child spreadsheet from Drupal taxonomy

So I don't forget:

[EDIT] This doesn't get the root term of a classification (one with no parent) - see comments for a way that does.

Monday 12 September 2011

Processing and USB ports /dev/ttyACM0, /dev/ttyACM1, ....

Processing doesn't like reading Linux USB devices like /dev/ttyACM0 or /dev/ttyACM1.

The solution is easy, just symlink the devices  like this...

ln -s /dev/ttyACM[x] /dev/ttyS8[x]

You can put any number after the ttyS, although it is possible that ttyS0 and other low numbers are defined, numbers in the eighties are (almost) guaranteed to work.