installing n900 enhanced kernel with conflict

Tried to install enhanced kernal on my n900 running PR1.3 firmware and got a message: ‘conflict with kernel-maemo’ Did a bit of googling and finally found these commands from: basically, install manually via apt-get like so:

And don’t forget to take backup prior to doing any of this funky business!


Java: Date, ISO string, and timezone

This is a convenience class around SimpleDateFormat to parse/format date from/to ISO string: yyyy-MM-dd’T’HH:mm:ssZ. The printing bit allows for timezone to be specified, which just wraps around DateFormat’s .setTimezone() method. Note that Date object in java is not timezone-specific. The Timezone conversion is required only during formatting. Usage


Handling Oracle cursors in JDBC

Summary It is common practice for Oracle stored procedure to pass cursors to calling client. The client then needs to guarantee that the cursors are handled and closed properly, otherwise overtime the open cursor will accumulate into an ORA-1000 error (“ORA-1000 Maximum Number of Cursors Exceeded”) In Java world, cursor translates as ResultSet. In the…