Java 1.7 and JBoss 5.1.0.GA

To get JBoss 5.1.0.GA working under Oracle's JDK 1.7, you might run into this error when starting JBoss:

Error installing to Instantiated: name=AttachmentStore state=Described

The solution is to edit the file

Full Article

A cold cat's remedy

This is what Mowgli does when he feels the outside air is too cold for his tastes:

Warm and snug Mowgli
Warm and snug Mowgli

Why does this scare the crap out of me?

I will think twice about flying on a 787.

As per Computer World:

“The internet of things, in a broad sense, is where we are starting to see everything from planes to cargo devices getting connected,” Bulman said. "The latest planes we are getting, the Boeing 787s, are incredibly connected. Literally every piece of that plane has an internet connection, from the engines, to the flaps, to the landing gear."

Full Article

MySQL remove duplicate rows

If you have a table as follows:

Field1Field2Field3
John2011-10-01G
John2011-10-01G
John2011-10-01G
George2011-01-02B
Klaus2001-01-01B

and you would like to remove all duplicate rows, the easiest method is to create an unique index like so:

Full Article

MySQL update of numeric field with sequential number

Suppose you have a table as follow:

NameId
John
Peter
George

and you want to update the Id field with a sequential rank 1,2,3,4,... In MySQL this is a way to do so:

Full Article