July 2009

Subtle bugs in Java

 I recently uncovered a bug that troubled me for about 30 minutes.  This bug was introduced in the Javaconfig framework, as I was extending support for more overloaded methods by "copying the pattern".  But it proved that in this case, following a pattern does not always work.

Inductive reasoning states that if element 1 is the same as 2 and 3 and 4 and ... n, element n+1 will most probably be the same as well.  However inductive reasoning is rather evil when writing software as it is not mathematically sound. 

Here is the code - spot the problem:

  

Blog Categories:

July 25, 2009 @ English Bay, Vancouver

This must have been one of the most special photography excurions I had been on, ever.  It started with us driving to Stanly Park to park our car, since we knew Sunset Beach would be a no-go for finding parking since everyone would be at the Celebration of Light show where South Africa showed their best work.

Blog Categories:

MDAC, Collation and UAC

I have been struggling on and off with EasyFrom DBConvert converting a Paradox 4 database to MySQL.  I would get this error intermittently:

[800A0CB3] Object or provider is not capable of performing requested operation.

Blog Categories:

Canada - Warmest and Coldest I have ever experienced

This is official.  The past 365 days I have spent in Canada mark both the coldest weather I have ever experienced at -35C (this was a few days after the screenshot I took below) with windchill at -42C:

 to the past week's temperatures of 38C (humidity index of 43C):

The coldest was in Winnipeg.  The warmest in Surrey (Pitt Meadows is the closest weather station to us).

 

Awesome.  

Blog Categories:

Back to top