Archive for the ‘Uncategorized’ Category

For bookmarking purposes

In Uncategorized on April 5, 2009 at 18:18

When you want to print the time from inside the kernel, you cant use gettimeofday or clock_gettime. You have to use getnstimeofday. This is because we can’t link the librt library when compiling. I think.


Star Wars on the Terminal

In Uncategorized on March 1, 2009 at 20:14

So, like the geek you are, you spend most of your time on the Terminal, hacking away at your code. Now and again, you feel the urge to watch a movie. But you have to fire up a whole new app for that! Fear not! For now, you can watch a movie from your beloved command line!

Just telnet to, and enjoy Star Wars IV: A New Hope in ASCII goodness! Thats right, the entire movie is rendered in ASCII text.

The first one to sit through the entire text movie wins the “Best Geek” award 😐

PS. For all you non-geeks out there:

1. What are you doing on this blog?

2. Copy and paste the following “code” into your Terminal/Command Line:


The Rhino Party

In Uncategorized on January 16, 2009 at 20:02

Apparently, there is (was?) a party in Canada which has named itself the “Rhinoceros Party of Canada”. Their main promise is a “a promise to keep none of our promises.”

Some of their other promises include:

Providing higher education by building taller schools

Ending crime by abolishing all laws

Adopting the British system of driving on the left; this was to be gradually phased in over five years with large trucks and tractors first, then buses, eventually including small cars and bicycles last

Despite such great propaganda, they never won a seat in parliament. I wonder why? I would have voted for them…

(via The IIM Thalleh, and Wikipedia)

Join and split pdfs on the Mac

In Uncategorized on January 2, 2009 at 08:41

Just another one of the Mac’s awesome semi-hidden features: OS X has Python script that merges pdfs from the command line.

Located at “/System/Library/Automator/Combine PDF Pages.action/Contents/Resources”, the script takes the pdf file names as input and produces a merged document!

Usage: ./ –o <file> <inputfile1> <inputfile2> [–append] [–shuffle] [–preview] [–verbose]

Macs rule! 😀

(I remember reading somewhere that UNIX has a similar script. Can anyone confirm/locate it?)

The Girl Effect

In Uncategorized on January 2, 2009 at 03:09

More here

Life is all about…

In Uncategorized on November 3, 2008 at 08:56

Life is all about breaking the rules. Take this bird here for example. He really gets it 😀

(Happy) Diwali

In Uncategorized on October 27, 2008 at 11:06

I get more and more homesick every time someone wishes me Happy Diwali. *sigh*

I spoke to Donald Knuth…

In Uncategorized on October 22, 2008 at 13:31

I spoke to Donald Knuth today, though not about anything related to Computer Science 😛 He offered me his bicycle parking spot. But still! Donald Knuth! 😀

J K Rowling’s Commencement Address at Harvard

In Uncategorized on June 14, 2008 at 11:40

Rowling recently addressed the Harvard students on Graduation Day, and wow, what a speech. She has such insight, and such a command over the language, that it is something that every fresh graduate _has_ to read.

Some amazing excepts:

So why do I talk about the benefits of failure? Simply because failure meant a stripping away of the inessential. I stopped pretending to myself that I was anything other than what I was, and began to direct all my energy into finishing the only work that mattered to me. Had I really succeeded at anything else, I might never have found the determination to succeed in the one arena I believed I truly belonged. I was set free, because my greatest fear had already been realised, and I was still alive, and I still had a daughter whom I adored, and I had an old typewriter and a big idea. And so rock bottom became the solid foundation on which I rebuilt my life.

What a line!

The knowledge that you have emerged wiser and stronger from setbacks means that you are, ever after, secure in your ability to survive. You will never truly know yourself, or the strength of your relationships, until both have been tested by adversity. Such knowledge is a true gift, for all that it is painfully won, and it has been worth more to me than any qualification I ever earned.


One of the many things I learned at the end of that Classics corridor down which I ventured at the age of 18, in search of something I could not then define, was this, written by the Greek author Plutarch: What we achieve inwardly will change outer reality.

That is an astonishing statement and yet proven a thousand times every day of our lives. It expresses, in part, our inescapable connection with the outside world, the fact that we touch other people’s lives simply by existing.


If you choose to use your status and influence to raise your voice on behalf of those who have no voice; if you choose to identify not only with the powerful, but with the powerless; if you retain the ability to imagine yourself into the lives of those who do not have your advantages, then it will not only be your proud families who celebrate your existence, but thousands and millions of people whose reality you have helped transform for the better. We do not need magic to change the world, we carry all the power we need inside ourselves already: we have the power to imagine better.

IRC Tutorial – How to set up Pidgin in 5 easy steps

In tutorial, Uncategorized on May 9, 2008 at 18:10

IRC is a great way for a lot of people to come together to chat. However it is often seen to be, for want of a better description, “geeky”. This tutorial is for those people who see it that way. I’ll show you how easy it is to set it up with Pidgin, a great piece of open source software.

In IRC, chat rooms are termed as “channels”. Channels are identified by the pound(#) symbol that can be found in front of the channel name, and an IRC server can host many such channels. In this tutorial we will join the #test channel on the “” server.

1) Download and install Pidgin.

2) Create a new account:

  1. Click on Accounts -> Manage
  2. Click on Add. You should get to the following screen. Fill in the details as given in the screenshot below. You can leave the password field blank for now.

IRC Account Creation

3) The account should connect automatically. If it does not, click on Accounts -> <username>@<irc_server> -> Enable.

4) Time to join a chat room! Go to Buddies -> Join a chat in the Pidgin menu.

  1. Select your IRC account from the drop down
  2. To join the #test channel, fill in #test in the Channel textbox.
  3. Leave password blank for now.
  4. Hit Join.

If the chat room doesn’t exist, it is created. See how easy it is to create your own chat room?

5) I didn’t really need this step. I didn’t want to edit the title again. So here it is.

Your screen name is called your “nick” on IRC. Some chat rooms can only be joined by those who have registered their nicks with the server. This is to prevent identity theft, because registered nicks are password protected.

To register your nick:

  1. Type /msg nickserv register <password> (Replace <password> with your actual password :D)
  2. After this, to log in to your nick, send /msg nickserv identify <password>
  3. To avoid manually logging in each time using the identify command you can specify the password in the Accounts dialog as in the screen shot above.

Voila! See how easy it is? There are a bunch of cooler and more advanced stuff to do on IRC. Explore with Google!

For those interested, there is an #aucse channel on Do drop by!

Battle Scars!

In Uncategorized on April 6, 2008 at 20:41

Battle scars galore.

My first real accident on my bike in all 4 years of driving 😀

Die Luft der Freiheit weht

In Uncategorized on March 28, 2008 at 23:44

The wind of freedom blows


Anna University ACM Programming Contests

In Uncategorized on March 25, 2008 at 20:07

The ACM Student chapter of CEG, AU, will host regular online programming contests. The contests will only be open to CEG and MIT students for now, while we get our server up and running. When it is stable, we hope to open it up to all Anna University students.

We hope this will help experienced coders hone their skills and maybe even introduce some new people to the Art of Programming. Check out and join this group.

Mountaineering is fun

In Uncategorized on March 20, 2008 at 21:07

Aravind and Barath, the intrepid mountaineering duo of CEG, scale the heights of Mahabalipuram.

Next stop, Mt. Everest!

Pidgin supports Yahoo file transfers – finally!

In Uncategorized on March 10, 2008 at 14:10

File transfers between Yahoo Messenger (yuck) and Pidgin (2.4) work completely and seemlessly. One less reason not to switch! It’s been a long time coming. 

Pah! Bollywood!

In Uncategorized on November 21, 2007 at 11:38

Watch this video, and tell me, does it look familiar?