I use this blog as a soap box to preach (ahem... to talk :-) about subjects that interest me.

Monday, June 27, 2011

Testing for Rare Medical Conditions

I am not a Medical Doctor, but I know enough about statistics to talk about the validity of [some of] the tests currently used to screen for prostate cancer.

Sunday, June 26, 2011

Equinoxes in Canberra

I noticed a discrepancy in Canberra equinoxes that I cannot explain.  Perhaps one of you will be able to shed some light on this puzzle.

Wednesday, June 22, 2011

Arrays of Functions in Java

A couple of months ago, shortly after publishing the book Sudoku Programming (also see the post in this blog), I asked myself whether I should have written the programs in Java instead of classic C.

I had chosen C because I thought it would be easier for non-programmers to deal with a procedural language rather than with Object Oriented programming, with its class inheritance and operator overloading. But, looking at the number of functions I needed for the C implementation, I began thinking that in Jva the implementation would probably have been simpler. I simply had to re-develop Solver and Generator in Java. I simply had to do it.

One of the first problems I encountered was how to implement in Java an array of function pointers.