[...] by now you should know that the likelihood of a given event contributing to your code failure is inversely proportional to your initial index of suspicion of it's relation. Source: Ethan’s...
The illusion of being 'busy' while not being productive
If you are an office worker, answer me this: when was the last time you felt you were being truly productive and doing something truly important while at work? In other words, when was the last ...
Closures
Wikipedia’s article still makes me somewhat dizzy whenever I have another go at it.
Oracle's JDBC BLOB support sucks....
Exception in thread “main” : java.lang.ClassCastException: javax.sql.rowset.serial.SerialBlob cannot be cast to oracle.sql.BLOB…Caused by: java.lang.ClassCastException: javax.sql.rowset.serial.Seri...
More Vim goodness: The Power of g
The Power of gI was in particular need of: 0”ay0:g//y A
Editting zip files with Vim...
WoahScreenie:<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody><tr><t...
Vim - End of line characters!
There are some dtds created with XmlSpy that are used by the system at work and for some reason they have mac style line endings (I really hope this isn’t XmlSpy’s doing…). Found the following link...
JFreeChart: PiePlot.getSectionPaint()
I am starting to consider replacing the JFreeChart API with some other one in future projects - gotta start looking for it.Anyway, today’s annoyance with this tool happens to be the fact that chart...
JDBC and Oracle: setNULL
I was surprised (and disappointed) by this behaviour (using Sun JVM 1.4 with Oracle DB 10g):String sql = “select count(distinct seq_no) from tmp_table where time_stamp = to_date(‘29/09/2010 07:00:0...
VIM - Code Completion
It’s been a while!Anyway, this post’s catalyst occurred this morning during my first day of a Java course I’m attending (an attempt at keeping my teeth sharp). As is custom, use of an IDE is not su...