Wednesday, February 29, 2012

Google doodles celebrate Gioachino Rossini's 220th birthday and Leap Year

Google doodles celebrate Gioachino Rossini's 220th birthday and Leap Year

Today Google is celebrating Gioachino Rossini's 220th birthday. It's a day which rarely comes into the calender, Google has doodled with two-in-one rare doodle that commemorates not only the leap year day but also it's a 220th birth of the Italian composer Gioachino Rossini.


This year is leap year and today is leap day and both are associated with frogs, the leaping amphibians, so today Goolge doodle has a number of frog on it's logo, all four of them.

Google doodles celebrate Gioachino Rossini's 220th birthday and Leap Year

Gioachino Antonio Rossini was born into a family of musicians in Pesaro, a town on the Adriatic coast of Italy which was then part of the Papal States. His father, Giuseppe, was a horn player and inspector of slaughterhouses. His mother, Anna, was a singer and a baker's daughter. Rossini's parents began his musical training early, and by the age of six he was playing the triangle in his father's musical group.
Gioachino Antonio Rossini

Gioachino Antonio Rossini's was the famous 1816 comic opera The Barber of Seville,  one of the most performed operas. Of the four frogs in the scene, one is at the piano and the soprano is the only one leaping. The barber frog is Figaro and the frog getting a shave is Count Almaviva (Characters created by French playright Pierre Beaumarchais and The Barber of Seville is one of the three Figaro plays penned by him).


Google doodle of Gioachino Rossini leap year is the third leap year doodle in Google's history. Before that the previous two were put up in 2004 and 2008. And before that there was no Google doodle in the year 2000.
If I am not wrong this is the 1314th Google doodle since the first ever on for the Burning Man Festival back on August 30, 1998.
A leap year is the year which contain one additional day, its because of keeping the calender year synchronized with the astronomical or seasonal year. Because seasons and astronomical events do not repeat in a whole number of days, a calendar that had the same number of days in each year would, over time, drift with respect to the event it was supposed to track.
Code to determine Leap Year

Algorithm

Pseudocode to determine whether a year is a leap year or not in either the Gregorian calendar since 1582 or in the proleptic Gregorian calendar before 1582:
if year modulo 4 is 0
   then
       if year modulo 100 is 0
           then
               if year modulo 400 is 0
                   then
                       is_leap_year
               else
                   not_leap_year
       else is_leap_year
else not_leap_year
or as a boolean expression
is_leap_year = ( year modulo 4 is 0 ) and ( ( year modulo 100 is not 0 ) or ( year modulo 400 is 0 ) )






Tuesday, February 28, 2012

It was a day of Cricket and for Cricket Lovers !!

No one even thought in the early morning when Sri Lanka was batting that India will fight back and at the end Cricket will win. At the early begining of the match the way SriLankan Players(especially Dilshan and Sangakkara) were batting, it was looking like India has given up. But who knows Cricket is a FUNNY game. you can’t predict anything in Cricket. The way Indians played(especially KOHLI), they kept themself alive for the finals.
I don’t think this tournament can come in any better way, at the halfway stage, Sri Lanka would have felt they had one foot in the final, having left the India bowlers deflated after a dominating performance with the bat. And they would have been right to think that way, the Indian batting having shown little promise in the series and the team on the brink of elimination.
But Virat Kohli put a master peice of strokemaking, Kohli’s innings made a mockery of an imposing score, kept India’s finals hopes alive and left Sri Lanka having to beat Australia for a third time in the tournament to knock India out.
Hope for Reaching in Final is still Alive.. here how it possible..

Now India and SL both is having same 15 points, in this case if Sl is loosing the match against Australia then this is the way two best team is goign to decide.
In the event of teams finishing on equal points, the right to play in the final match or series will be determined as follows:

•The team with the most number of wins
•If still equal, the team with the most number of wins over the other team(s) who are equal on points and have the same number of wins
•If still equal, the team with the highest number of bonus points
•If still equal, the team with the highest net run rate


In a match declared as no result, run rate is not applicable.

So comming Friday Cheers for Australia and Hope for the best for Indian Cricket.