Quantcast
Channel: Computing for fun
Browsing all 25 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Book 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 Article

Image may be NSFW.
Clik here to view.

Book 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 Article

Confirming 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 Article

Image may be NSFW.
Clik here to view.

Book 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 Article


Experimenting 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 Article

Oracle : 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 Article

Oracle 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 Article


Image may be NSFW.
Clik here to view.

Using 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 Article


Clojure 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 Article

Image may be NSFW.
Clik here to view.

Book 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 Article

Clojure 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article


Oracle 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 Article

Oracle 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 Article


Earthquake 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 Article

Mon 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 Article


Faire 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 Article

Jeudi 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 Article

Samedi 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 Article
Browsing all 25 articles
Browse latest View live




Latest Images