Author Archives: GauZ
Rain expected in the crunch-game
India’s cricket match against English side is under threat from high above. It is supposed to rain and the match maybe reduced by a few overs I believe. If it was China hosting the event, they would have surely taken care of the Clouds by using some form of chemical dispensers, as they did during […]
Serializing Objects in JSON format
Serializing data/objects using XML is quite a standard way over the Web. But, XML has it’s own set of disadvantages owing to which I tried serializing objects in JSON format. It seems .NET has in-built support for doing the same. One simply needs to use the JavaScriptSerializer class available within ‘System.Web.Script.Serialization’ namespace. using System; using […]
Interesting puzzle about Apples and Numbers!
My friend asked me this question earlier today. "Arrange n^2 apples in a square. From each row find the largest one and let A be the smallest of these. From each column find the smallest one and let B be the largest of these. Which one is bigger, A or B? Give reason." The obvious […]
How the overflow arises!
I looked up scripting languages and saw the unlimited precision capability of the integer format. It immediately made me think how overflows are handled in C! C language uses 16 bit to represent variable type int. Most significant bit is used to represent the sign If the most significant bit is zero then the value […]
Diablo 3 Pre-Orders Available Now!
The day has arrived … Diablo 3 Pre-Orders Available Now!
Login