If this blog helped you in any way, please donate a dollar here

Friday, November 19, 2010

Probability

In an event organized by my friend DJ Shon at Mani Square during the Durga pujas there was a particular game event that required contestants to choose the Joker from a pack of cards. The game was announced and a group of 5 college goers surrounded the game table. There were 5 cards laid down on the table and being the generous person Shon is, he guaranteed that one of the participants would surely pick a Joker. However, he is stringent enough to allow at most 1 Joker in the pack of 5 cards laid down at the table. The cards are, of course, laid face down on an opaque table with nobody except the dealer knowing which card is the Joker. Of course, I assume the dealer is not biased!

Wednesday, November 17, 2010

Database connectivity with Java


Spent a lot of time today searching for ways to use Database connectivity on my Ubuntu box. I write the code but it just was not working!


Wrote this code to test for connectivity with this :


import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class TestDatabase {

Wednesday, November 3, 2010

[OFF] Lazy Day

Today was a lazy day as I woke up at around 10 am.. thanks to the morning sms! I was to go to college at around 11 am. I reached at 1.30 pm. What was worse, I forgot to carry my cell.

Before college I went to the BSNL Office at Howrah Maidan. My ADSL router stopped working for some reason. The guys were pretty prompt there, and seeing that I had a rental plan, gave a printed out request to get a new router. I was surprised at the pace at which the work was done. I had hoped they would struggle to replace the thing.. if they should at all! So thumbs up for BSNL. However, the dream ended soon, as I went to collect the new router. There were no new routers available for replacement. The ones available were all repaired ones.

Monday, November 1, 2010

Downloaders for Linux

The internet is the heaven for most users.. and the main reason is information is abundant and free. Thus, downloading is an important activity of Netizens.

Here I present some of the best Downloaders available for Linux based OS-es.