Friday, October 31, 2008

The game is over

OBM developper summit is now over. Week summary :
- lots of commits
- a lot of fun
- some wine, some beers

Late night coding

6 laptops, some wine, 1 o'clock... and el paquito !

Tuesday, October 28, 2008

The double while pattern (episode two)

Well, I could write about the second loop around the first while pattern, used to compute statistics about how buggy "buggyProgram()" is, but... pictures are worth thousand words !

The double-while pattern

Ok, this started with a mysql bug with foreign keys : the schema just crashes randomly with syntax errors, but "sometime" succeeds.

No problem, here comes the "While Pattern".

Problem to solve :
A program crashes randomly but sometimes work

Solution :

boolean success;
do {
try {
buggyProgram();
success = true;
} catch (... well anything) {
}
} while (!success);


Bonus point : the low voltage version with a 1sec sleep after the buggy program call.

Stay tuned for the double while pattern ;-)

Monday, October 27, 2008

OBM developper summit in Agde

The whole OBM team is spending one week in Agde to work on the major features of our 2.2 version, coming at the end of the year (hope so).

The first two days were pretty productive, with time zone support nearly done, conversation previews in MiniG. Debian packaging of alpha version is in good shape now.

Saturday, October 11, 2008

Good coding week for MiniG. "from:tom filename:pdf" just works (all your mails from tom with a pdf attachment). All Gmail advanced search features are implemented and working :D

Next week I'll be giving a Tomcat training, but the minig team will be focused on email forwarding, templates implementation and UI polishing.