Jayadeep's World

Here is my brother Jayadeep's blog http://jayadeepk.com/ . He usually writes about his school, travel and experiences.

[caption id="" align="aligncenter" width="520"]Jayadeep's World Jayadeep's World[/caption]

My Google Adsense Account approved

Finally, after some attempts, my Google Adsense account has been approved - meaning I can monetize the site. But I have no hope of getting something out of it in the next few years as I can only receive a check if my earnings reach $100.  Lets see if I can manage to get some traffic converted into clicks, which I think is far from reality  :P

Ubuntu time travel from 10.10 to 11.04 !

Today, for a brief instant, I wondered whether my Ubuntu has the power to upgrade to the future.

Here is what happened. I clicked on System > About Ubuntu and it showed the following message,

You are using Ubuntu 11.04 - the Natty Narwhal - released in April 2011 and supported until October 2012.

Even though my sleep schedule is irregular these days, I don't think I have upgraded to 11.04 Alpha version unconsciously. Hence, to quench my curiosity, I did some googling and found that similar stories are reported by users in the forums.

It is actually a bug in the ubuntu documentation which crept into the package ubuntu-docs version 10.10.4

To see the "True" information, use this command in the terminal

[bash]cat /etc/*release[/bash]


Ubuntu 11.04

Fix Jquery high CPU usage animations with jQuery.fx.interval

Recently I am on a task of optimising a website having quite a number of Jquery plugins. The CPU usage of the browser after the page has loaded tremendously shoots up to 100% predominantly on a slower browser like Firefox. By decreasing the number of frames per second at which the browser is repainted by the animation, we can reduce the CPU cycles, of course at the cost of the quality of smoothness.

jQuery.fx.interval is the parameter for specifying the delay( in milliseconds ) at which the animations fire. Its default value is 13 which means that the frames are refreshed every 13 milliseconds. Hence, lower value gives smoother animations but the CPU gets busier. A value of 50-70 would be decent for normal animations and decreases the burden on the CPU correspondingly.


[js light="false" highlight="2"]
<script type="text/javascript">
jQuery.fx.interval = 100;
$("div").toggle( 3000 );

jQuery.fx.interval works with Jquery version 1.4.3 or higher.

Demo: Click here

Trip to Araku - a refreshing leap into nature

The two day trip to Araku in the winter of 2010 gave us an uplifting break from the routine day-to-day life.

You should surely check out  my brother Jayadeep's blog post on the trip narrating the experience >> http://jayadeepk.co.cc/blog/2010/12/araku/

[caption id="" align="alignnone" width="512" caption="Serene Valleys - Araku"]Serene Valleys - Araku[/caption]