Verifying a checksum on a Mac

I just downloaded Filezilla for my mac. I thought I should verify the checksum before installing the soft.
That’s how I did it :

openssl dgst -sha512 FileZilla_xxx.tar.bz2

and I compared the output with the corresponding hash in the checksum file.
… I guess this post is for my own reference . . . → Read More: Verifying a checksum on a Mac

New Accelerometer Values Android application

I have deployed a new version of the Accelerometer Values application on the Android market. I left the previous app as I have changed a lot of things in the code and in the package organization. However, I will remove the old one soon, once everybody is happy with the new one

Now, you can . . . → Read More: New Accelerometer Values Android application

Grails many-to-many & Join table

What I enjoy with frameworks like Grails or Rails is that they are taking care of all the object relational mapping for me. So, I can really concentrate on the domain object model and the framework will care about the underlying work. Fortunately, when needed, I can still “talk” to the database directly. Also, with the . . . → Read More: Grails many-to-many & Join table

Accelerometer Values

Here is the code of the accelerometer values application for Android. I did this application in a couple of hours to test the Android platform so the features are very basic. I’m currently working on a new version that will include logging of the values and a few other things.
However, here is the code of the . . . → Read More: Accelerometer Values

How can we run code on an object instance before construction?

We can do it with initialization blocks. I find it actually a very interesting feature of java even though I would recommend to be very careful when using it. Indeed, initialization blocks might confuse people looking at your code especially if there is not only one and if it’s not placed close to the constructor.
So an . . . → Read More: How can we run code on an object instance before construction?