I recently was duped (by myself) at a discussion with a colleague: in our continuous effort to disentangle release schedules of two tightly entangled applications, I exposed some core features as a JSON REST service and told him to "just use the Spring invoker" for JSON. It turns out, there is one for JaxRS, Burlap, … Continue reading An easier to use Java REST client
Author: George Georgovassilis
Running windows games with steam on a hybrid graphics card
I don't play much, but when I do, it's Sid Meier's Civilization on a Windows installation boxed into a VM. Earlier this year I got tricked by a Humble-Bundle offer into buying Civilization V, which came with the "trojan horse" of a steam account. Had I known the prerequisite of a Steam account before hand, … Continue reading Running windows games with steam on a hybrid graphics card
VLC / Ubuntu out of sync sound
In ubuntu 12.04 VLC runs out of sync when pausing a video. First, when pausing the video, sound will continue playing for a couple of seconds. Then when resuming the video, it will lag behind but eventually resync after several seconds. Somehow I lived with this bug for a while, unnecessarily as it seems as … Continue reading VLC / Ubuntu out of sync sound
Integration testing Spring controllers
Time-constrained projects sometimes mandate crude realism as to the type and extent of test coverage in a software project. You'll find arguments for and against testing in the entire spectrum of opinions from "tests are luxury we can't afford" to "regressions are luxury we can't afford". Constrained or not, there is rarely a good excuse … Continue reading Integration testing Spring controllers
On JPA identifiers and business keys (or why business keys are a bad idea)
JPA, and for that matter Hibernate, depends on identifying entity instances (I'll refer to them as entities for short) by some key. That key can either be a single property (like a numeric ID column in the corresponding table) or a business key (also referred to as natural key). Business keys are entity properties which … Continue reading On JPA identifiers and business keys (or why business keys are a bad idea)