Unit testing Freemarker macros with JUnit and HtmlUnit
I recently had to modify a pagination macro in FreeMarker. That pagination system is a bit different from the ordinary ones, and the safest way to make sure that it was working properly was to unit...
View ArticleBook review : Spring Persistence with Hibernate(Apress)
Spring Persistence with Hibernate (Beginning)If you are looking for a book to learn about Spring and Hibernate, pass your way. If you are looking for a reference, pass your way. So who is this book for...
View ArticleBook review : The Android Developer's Cookbook : Building Applications with...
The Android Developer's Cookbook is a recipe-styled book, where each recipe shows how to use a particular feature of the Android SDK. Each recipe is more or less independent of the others. It's not a...
View ArticleConfirming Quartz Trigger firing times (especially cron expressions)
The Quartz Scheduler is very useful when it comes to scheduling jobs. It offers a wide range of trigger options, including cron-like expressions. Cron-like expressions are a bit obscure to read, unless...
View ArticleBook review: Pro Git
Pro GitI've been using both CVS and SVN at work, and never had the chance to try Git. I decided to learn about Git, so I looked for a book. I found Pro Git's homepage, with the book fully readable...
View ArticleExperimenting with JPA 2.0 and Spring 3.0.x. A libraries nightmare.
I was making JPA samples while I was reading Spring Persistence with Hibernate. I started to make everything from scratch. The book uses Maven to manage the sample project, but I'm not a Maven person,...
View ArticleOracle : Primary Keys and Non-Unique Indexes
I was asked by a colleague recently about "Unique and Nonunique Indexes" in Oracle Concepts guide : Oracle recommends that unique indexes be created explicitly, using CREATE UNIQUE INDEX. Creating...
View ArticleOracle ROWNUM : What it is and what it's not
What is ROWNUM ?In Oracle, ROWNUM is a pseudocolumn added by Oracle after the data has been selected. The ROWNUM will be incremented only if the selected row satisfies the condition clause. A...
View ArticleUsing Clojure in Vim
There are already a few plugins for well known editors to use Clojure. Anybody familiar with Vim will want to use it with Clojure. My environment is not complete yet, but here is what I am using so far...
View ArticleClojure clj-record library and Postgresql
I came across a problem when using the clj-record library with Postgresql. When creating a new record in a table, a java.lang.IllegalArgumentException is thrown, despite the fact that the record was...
View ArticleBook review: Clojure In Action
There are already a few books on Clojure. I decided to go for one of the latest, Clojure In Action (the book was still in early access, finished, but not published yet).The first seven chapters teach...
View ArticleClojure In Practice : Yahoo! Weather
I have finished reading Clojure In Action. Now it's time for some hands-on exercises. There are some practical examples in the book, but they did not interest me. A while ago, when I was reading Maven...
View ArticleUsing Clojure in Vim - Part 2 : accessing REPL via Nailgun
I explained how to install the Clojure plugin for Vim, Vimclojure, in a previous blog entry. Now that I'm starting to get familiar with Clojure, I thought it would be nice to be able to access REPL...
View ArticleOracle Java Architect certification updated
From August 1st, some pre-requisites will be added to the Java Developer and Java Architect certifications (Details here). Basically, you'll need to have attend some training courses. Expensive ones....
View ArticleOracle database certifications in Japan or how to make more money from certs
I don't know if this is well-known, but the path to become an OCA/OCP/OCM is a bit different in Japan. First, the naming is different. There are four exams : Bronze, Silver, Gold, Platinium. Yes, one...
View ArticleEarthquake experience in Tokyo
I was at the office when the earthquake happened on March 11th. Here is my sequence of events, from Friday 11th to Saturday 12th.I'm working in a 24-story building. The earthquake started at the...
View ArticleMon vecu du seisme de Fukushima, depuis Tokyo
Je traduis en francais le contenu de mon precedent post. (Je n'ai pas d'accent sur mon clavier)Je travaille a Tokyo dans un immeuble de 24 etages. Le 11 Mars, 14h46, j'etais au bureau au moment ou le...
View ArticleFaire les courses un lundi matin
Le dimanche 13 au soir, la compagnie d'electricite Tepco nous a annonce qu'il allait falloir reduire l'utilisation d'electricite. Pour ce faire, ils ont contacte les compagnies de train, et ont decide...
View ArticleJeudi 17, un retour en sueur
Comme je l'ai ecrit dans un autre post, les compagnies de train ont ete forcees de reduire leur consommation d'electricite. Le lundi 14, le resultat en fut chaotique. Les gares etaient noires de monde....
View ArticleSamedi 19, Nara
Me voila a Nara, a l'ouest du Japon, chez ma belle famille. L'ambiance dehors et dans les trains est assez differente de celle a Tokyo. On ne sent pas la meme inquietude ni la meme fatigue chez les...
View ArticleMardi 22, de retour a Tokyo
Les trois jours de repos de le Kansai nous ont fait du bien. Hier soir, les trains pour Tokyo etaient pleins. Depuis que de la fumee a ete apercu sortant du reacteur 3, on n'a pas enormement de...
View ArticleMy situation recently: hot trains, workaholic and PHP
It's been a couple of months since I've posted anything here. The situation in Tokyo is getting better. Everything is almost back to normal. The only main difference is that we have to be careful on...
View ArticleSongs bought on iTunes abruptly stop playing
I bought two albums on iTunes last weekend. All my songs stopped after about one minute of play. I searched for similar problems on the net, and it appears that a lot of people are annoyed with this...
View ArticleLondon Olympics judo and Japanese television
(This one is in Japanese. The London Olympic 100kg+ Judo men final was not shown on Japanese television. I have a few words to say about...
View ArticleSeven Languages in Seven Weeks : Erlang Day 2
I'm reading Seven Languages in Seven weeks. It's a great book to discover different kind of languages. I went through Ruby, Io, Prolog, Scala and Erlang. So far, Prolog has been the most puzzling of...
View Article