Air purifier
07:40 PM on Monday 05 August 2013

Ernest's allergies are acting up again. So I thought to buy the Sharp air purifiers to be placed in his room to help his allergies. We got a Sharp FU-A28E which has a HEPA filter and an ionizer for the kids room and a small car ioniser G-DC2E for the car. The room unit seems to be rather quiet at it ...

Kids acting cute
08:32 AM on Sunday 04 August 2013

Ever got one of these faces from the kids when they want something?

Recursive queries
03:59 PM on Friday 02 August 2013

I have always been amazed by Oracle's connect by query construct which enables recursive queries. I use quite a bit of graphs in my work and representing and using them with a database has been less than ideal. I just realized that PostgreSQL and SQL Server are also able to do this using Common Tabl ...

Beards and programming languages
07:22 AM on Tuesday 30 July 2013

Who would have thought that the key to the popularity of a language is the size of the founders' beards. I typically thinks about ease of expression and the ability to perform powerful tasks with concise syntax but it appears that great beards are the key to a popular language. Check out the article ...

Vegetarian chicken rice
08:37 PM on Sunday 21 July 2013

Had a vegetarian chicken rice for breakfast today and it was rather good. The rice had the taste of real chicken rice and the mock chicken is rather good. Not bad for $2.50 at the Bedok central hawker centre.

Clouds
08:22 PM on Sunday 14 July 2013

Saw some beautiful clouds from the lift lobby and decided to do some HDR on it. The following is the result.

Drawing of the beach at Club Med Cherating
10:34 AM on Saturday 06 July 2013

Below is a drawing of the beach at Club Med Cherating created using Procreate on the iPad.

Redirecting within a bash script
09:44 AM on Wednesday 03 July 2013

I use bash scripts to tie together different programs to get the results that I need and it is nice to be able to redirect all the stdout and stderr of all the programs to a single output file. In a bash script, you can add the following lines to the top of the script and that will redirect everythi ...

Packaging Java codes into a single JAR
09:11 AM on Thursday 27 June 2013

On occasions, I have to write Java codes mainly for performance reasons and I generally use NetBeans for this. NetBeans is all nice and great but it does not package the codes together with all the dependencies into a single JAR. Enter One-JAR which does just that and it is pretty easy to use. It ...

Copying Excel dates
01:21 PM on Monday 24 June 2013

If you ever get an issue copying dates in Excel where they differ by about 4 years and 1 day, the following article explains why. http://www.techrepublic.com/blog/msoffice/office-solution-clearing-up-that-wacky-date-problem-when-copying-sheets/8106

bernett.net