GCJ 2013 - Fair And Square

Below is the problem statement for 'Fair And Square' from 'Google Code Jam - 2013':Problem-------Little John likes palindromes, and thinks them to be fair (which is a fancy word for nice). A palindrome is just an integer that reads the same backwards...

» [Read More]

GCJ 2013 - Tic-Tac-Toe-Tomek

Below is the problem statement for 'Tic-Tac-Toe-Tomek' from 'Google Code Jam - 2013':Problem-------Tic-Tac-Toe-Tomek is a game played on a 4 x 4 square board. The board starts empty, except that a single 'T' symbol may appear in one of the 16 squares....

» [Read More]

Micro-benchmarking Java Code With Caliper

Benchmarking Java code can be tricky, as the Java's JIT compiler optimizes the code for high-speed execution. But there are cases where you can test Java code for performance statistics. Caliper is one such tool, which can be used to benchmark java code. More precisely, it is a...

» [Read More]

JSF & Highcharts (Javascript Chart Library)

Since a while, I've been interested and looking out for technologies related to web-based visualization techniques/tools/frameworks/libraries...not the image rendering techniques, but the dynamic and interactive ones. Lately, I've been researching into Javascript Chart Libraries, as I was planning to work on some pet projects and also implement it in one...

» [Read More]

Javascript/CSS Minification With YUI Compressor

'Minification' is a process of compressing the source code, without changing it's functionality. This technique is useful sometimes, specially in the case of a web application with huge Javascript/CSS files. In other cases, it's probably just a micro-optimization. Minifying js/CSS files will reduce the bandwidth used and also improves the...

» [Read More]