May 1, 2011

Osama Bin Laden is DEAD!

Yes its TRUE the most wanted terrorist in the whole world is finally dead.

Osama Bin Laden was killed in a manson outside Islamabad by an US Military asset based on actionable US intelligence.Giving final credibility to the claims of all of the India that Pakistan is harboring him since 9/11 and he was hiding in plain sight.

It finally brings some closure to the family of the 3000 people that were killed in the 9/11 attacks on the world trace center in New York.

Watch President Barak Obama make the important anoucement below.



.

Apr 11, 2011

Trivia : The Google Way



What's that?

Google announced today on its blog that its launching a daily trivia game called "A Google a day". According to Google "A Google a Day is a new daily puzzle that can be solved using your creativity and clever search skills on Google." Unlike traditional trivia games where you cant cheat by looking up the answer on Google , here the questions are so tricky/complex that you are encouraged to use Google to find the answer.

Can't I just Google someone Else's Answer?


Nope, you can't. For this Google has created what it calls "Deja Google", "A wormhole inspired time machine that searches the Internet as it existed before the game began.". Also to make sure no one else can spoil the fun of you use your super sleuth googleing skills by posting the answer in a tweet / or blog post google suggests you use agoogleaday.com instead of google.com which excludes real-time updates and other things that are likely to include spoilers as people post the answers to the puzzle online.

Your answers can be posted on agoogleaday.com. The correct answers are displayed the next day under the Question on agoogleaday.com. Also it lets you share the question on all the social media sites , you can even follow agoogleaday on facebook or twitter to get notified when a new questions is posted.


Why Should I bother?

This is an attempt by google to encourage people to use google in innovative and meaningful ways and to demonstrate the power of search. It will not be an understatement to say that google search's computational powers have hardly been put to use, through this google expects user to realize its full power.

So go ahead jump in have fun.

Apr 1, 2011

2011 ICC World Cup Final Ind Vs Sl Live From Mumbai

ICC Cricket World Cup Final Live

All the best to our boys in blue...GO India GO...



All D best.

Feb 18, 2011

ICC Cricket World Cup 2011 Live




Jan 13, 2011

Watch Australian Open 2011 Live


Jan 12, 2011

India's Chase of the 1st ODI IND Vs SA 2011

Dec 29, 2010

My First Time Lapse

After making us (DESI) New Englanders (lol!) wait quite some time for snow this winter the weather gods finally decided to make it up to us on the Christmas weekend and threw in a freaking blizzard.

To capture it all on camera I decided to do a time lapse video capturing the view of the blizzard from the window of my home. So I charged the batteries for my Canon A 590 IS , copied the CHDK stuff to the memory card along with the intervalometer I wrote and rigged everything on the handle of on the handle of my window door.
The resultant video below is the result of my first attempt at this so go easy on me. :)

Yeah , I know you can't really see a bunch of car head lights after the first few seconds and you can see the light inside my house reflecting off of the window glass too. But ,hey this was only my first time !

These are the tools I used for making it if you'd like to try it yourself some time.
  • I used my Canon A590 IS camera with CHDK, any high end camera[DSLRs] can be used or you can use most Canon point and shoot cameras with CHDK to run the Intervalometer script. 
  • I used a intervalometer script I wrote myself but I found out there are free and better  intervalometer scripts out there. Here is one which should work for most cases. Ultra Intervalometer by
    Keoeeit.
  • I used PhotoLapse 3 to combine the stills to make the video but I guess you can also use windows movie maker but PhotoLapse 3 gives better quality and more options.
  • Also used Youtube's video editor to add some music and that's pretty much all you need.

Best of luck if decide give a it a try , hope your video turns out better than mine.

Nov 2, 2010

Problems While Syncing IPod Shuffle

I got a brand new Ipod Shuffle for my older brother as a gift . I downloaded and installed ITunes 10[Yes its required!!] and added songs but when I tried to sync the songs to the shuffle it kept giving strange errors.Like :
  • "Cannot be synced. The Required disk cannot be found."
  • "Cannot be synced. The Required file cannot be found."
  • etc..etc..

I really felt bad for my brother , he was so exited to try it out. After doing some Googling around this is what people had suggested to do to solve the issue.

  • Remove any other USB devices connected to your PC and try syncing again.
  • Going to control panel and refreshing the hardware.[control panel>System>Hardware Tab> Device Manager Button>Highlight your computer name>then click Scan for hardware changes button on the toolbar at the top.]

We tried all this but nothing seemed to work. Then out of curiosity I connected the IPod to a different USB port than Wala!, like a charm it synced all the songs. :)

If you have same or similar problem do try this.

Nov 1, 2010

Common Threading Error [SimpleDateFormat/DecimalFormat]

I have come across a common threading mistake related to Threading in JAVA[I did the same mistake too and spent quite a few sleepless nights thinking what is causing this weird behavior ]. This is related to the The java.text.*Format classes, in java these classes for the most part are NOT thread safe. This is stated in the java doc. Under high volume when the shared/static class is run in two different threads at the same time in the same JVM the data from one thread will be transferred to another thread. These issues most likely will not be reproducible due to timing and are extremely hard to debug .

The Issue
While creating formatters to be used in the java application many people declare the formatters as static elements. e.g.:
  • private static final SimpleDateFormat LOG_DATE_TIME_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
  • private static final DecimalFormat LOG_AMOUNT_FORMAT = new DecimalFormat("###########0.00");


Solution/Fix

The same code that is thread safe can be written like so:
private static final String LOG_AMOUNT_FORMAT = "###########0.00";

then in your method create a new instance locally.
SimpleDateFormat dateFormatter = new SimpleDateFormat(LOG_AMOUNT_FORMAT);
String formattedDate = dateFormatter.format(myDate);


Hope this helps people avoid the horrible nightmares I had with this issue.

May 1, 2010

Live ICC Word T20 2010 FINAL AUS Vs ENG