Skip to main content

Posts

You love smoking?

There are so many good things that we don't follow and there are so many bad things that we don't give up. So simple, it is not whether something is good or bad(mere perception!), it is, how comfortably you an take it or how much you can enjoy with it or how much you believe that it is so essential(!) in your life. And further, arguably, it is what written for you. How about a cup of coffee or tea? Sometimes, I believe there is nothing you feel and enjoy better than a sip of hot tea from the brim of a cup, moving between your lips and tongue. And the drizzle or few dew drops at the sun-less hours would make it unbelievably tasty. I wonder whether I would stop drinking tea if somebody says it is not good for health. It is OK for me to lose few years (only few years Wink) of my life for it, after all, one day, this life is going to be killed by the mystery - any time, with or without the invitation! Perhaps, the best of companions can be found only in the things that doesn't ...

FarmVille Best of Animals

Another FarmVille Post. Hope you could do a bit of analysis ;-) I am sure more than coins your prefer number of days, at least, at the early stage! More Info here Kovil Pillai P.

Funny Cartoon

Published in page 5, Young World, The Hindu newspaper Kovil Pillai P.

சந்தோஷம் சந்தோஷம் - Vijay song

Kovil Pillai P.

Rogers Masters: Top 8 in quarters

The top 8 players in Rogers Masters cup 2009. Interestingly neither Federer nor Nadal could make it to the Semis. 1. Roger Federer (Quarterfinals) - Switzerland 2. Rafael Nadal (Quarterfinals) - Spain 3. Andy Murray (Champion) - The United Kingdom 4. Novak Djokovic (Quarterfinals) - Serbia 5. Andy Roddick (Semifinals) - The United States 6. Juan Martín del Potro (Final) - Argentina 7. Jo-Wilfried Tsonga (Semifinals) - France 8. Nikolay Davydenko (Quarterfinals) - Russia Kovil Pillai P.

JavaScript: Custom setTimeout function to take arguments

Problem: window.setTimeout method doesn't give easy way to pass object type argument to the timeout method. And it may cause memory leak too. To avoid this, I have written a simple script which does the same thing. var PKTimer = new function() { this.timeoutCnt = 1; } PKTimer.setTimeout = function(callFn, thisObj, argArr, timeWait) { if(argArr === null) { return setTimeout(callFn,timeWait); } var uniqueId = 'pkt' + PKTimer.timeoutCnt++; PKTimer[uniqueId] = [callFn, thisObj, argArr]; return setTimeout("PKTimer.timeoutAction('" + uniqueId + "')", timeWait); } PKTimer.timeoutAction = function(timeOutId) { var callInfo = PKTimer[timeOutId]; if(!callInfo) { return; } var callFn = callInfo[0]; var thisObj = callInfo[1]; var callArg = callInfo[2]; if(!(callFn instanceof Function)) { callFn = thisObj[callFn]; } callFn.apply(this...