Sean O'Donnells Weblog
Back when the Irish Government wanted to bring the wonders of electronic voting to Ireland, they rubbished all claims that the machines where insecure, and pointed out that the vulnerabilities reported on machines in the US where of a completely different model.
Well that argument is now done for, the Nedap machines we bought have now been revealed to be hackable as well. Hopefully this is another nail in the coffin of electronic voting in Ireland.
I love using Selenium for automated testing of web applications. I have demoed it at several talks and always get asked the same question, "How can I add it to my Continuous Integration System?". Well in the past it could be done, but required a lot of know how and custom hacking. So the answer was yes, but the explanation was very long winded.
A friend of mine, Konrad Pawlus, has now done all of the hard work for you. His Selenium RP Project contains an ant task and all of the other nuts and bolts you need to add Selenium to your Continuous Integration setup quickly and easily.
In other related news, we recently switched from CruiseControl to Continuum at work, and I dont think we will ever switch back. Its a much quicker, simpler, easier system. I highly recommend giving it a try if CruiseControl is giving you problems.
I finally got XGL to run on my trusty Thinkpad T43p today, and I am blown away. This stuff makes OSX look like windows 95. My deepest thanks go out to "RacerII" on the compiz.net forums for his excellent tutorial for ATI cards. I would also like to thank tomasz for this tip in the comments, it was the last piece in the puzzle that finally got me up and running.
To add to the fun, a nice article on Developerworks on the HDAPS sensor in the Thinkpad let me to Andrew Barr's version of smack.py. Its a fun little python script that lets you change desktops by smacking the side of your laptop. The original version even works without XGL so you can enjoy beating your laptop up regardless.
After playing with smack.py and enjoying thumping my laptop to switch desktops, I began thinking of other uses for the smacking interface. One finally hit me. Depending on my mood I sometimes play music on my Thinkpad while I work , however if I get bored, or annoyed by a song I have 2 choices. Be irritated, or break my flow while I maximize XMMS and move on in my playlist.
It just seems so perfect, dont like the music? Smack the screen and move on! So I adapted the original smack.py script and here you are, xmms-smack.py. Once its running, if you thump your Thinkpad XMMS will move on to the next song on your playlist. xmms-smack.py requires that you have HDAPS on your Thinkpad, and you have PyXMMS ("sudo apt-get install python-xmms" on debian/ubuntu) installed as well as Python. To start it just run "python xmms-smack.py".
While I was at it I decided to make future smack based scripts a little easier to get up and running. I created the smacker class. To create a left/right based smacker just extend the Smacker class like so.
class TestSmack(Smacker): """an example smacker implementation""" def on_left(self): print "left" def on_right(self): print "right"
I may adapt Smacker to also handle forward/back tilting and anything else thats handy as the need arises. If anyone wants to try it before I do, Ill be happy to take their patches.