void techBlog() { //... }


My attemps to arrange 0 and 1 and make something vaguely useful


  1. Sepia GFA Basic code

    Internet is such a strange place. I’ve found by chance some lines of GFA Basic code I wrote something like 20 years ago. Actually in the late 80s the French magazine ST Mag used to publish short GFA Basic programs written by the readers. These were called GFA…


  2. Sanitize dates in podcast title with groovy + jid3lib

    When I sort the podcasts I download by their ID3 titles, I want to see an older episode sorted after a newer episode. Here is a groovy script that modifies the MP3 title of an MP3 file passed as first parameter of the script, and replaces any dd.mm.20yy…


  3. MTP devices, udev and permissions in Ubuntu Dapper

    I had to install Gnomad2 in Ubuntu Dapper in order to upload files to my MTP Mp3 player. I followed this great How To However Gnomad2 could not open the device unless I was root (same thing for mtp-detect) It looked like a permission problem in /dev/bus/usb This…


  4. TDD : Can Shared Fixture test unexpected statefulness ?

    When praticing TDD, the impact of the different types of fixture that can be used to setup the tests must be known in order to avoid to create Obscure Tests The usual default fixture type is the Fresh Fixture When the fresh fixture takes too much time a Shared Fixture…


  5. 90s geek flashback

    Wooow…​Internet still surprising me. (Just skip this post if terms Atari ST + Demo do no ring a bell) I never imagined I would have the opportunity to listen to this track again : the Union Demo main menu.…


  6. "Unit Integrated Tests" for integrator objects

    Whether I use interaction based testing or state based testing I usually write "real" unit tests in the sense that only one real object is involved (the SUT, System Under Test) and only stubs and mocks are used for the fixture. It usually is the only way to easily get…


  7. EasyMock and methods with side effects

    I really like EasyMock, but was disappointed to not see any explanation in the documention about how to simulate the modification of an argument of a method with side effects. I thought that maybe I could write a custom argument matcher that modifies the argument (even if it seems weird…


  8. Convert an image to high quality PDF, Redux

    In a previous post I explained how to Convert an image to PDF with Gimp, but the quality of the picture in the PDF turned out to be rather poor for printing purpose. So here is an other way, install tiff2pdf . On Ubuntu for instance : sudo apt-get install libtiff-tools Then…


  9. I want closures in Java !

    It’s true, trying other programming languages, different enough from your main programming language make you a better programmer/designer in general. My main programming language is Java, but I also do a lot of Ruby, and it definitely helps me to find new technics in Java. Now, the…


  10. XMLRPC/Ruby presentation for TSP

    The slides of my presentation on the implementation of a TSP consumer in Ruby for the first TSP workshop are archived here.…