30 Jun 2009

What would AirTel do?

What do you do if you owe some 60 paise to your old friend?  If you were AirTel you would spend some 5 rupees every month and keep assuring your friend that you still remember that 60 paise :)

29 Jun 2009

How I use Gajim for Google Talk

Edit: If Gajim doesn't connect to Google Talk, check if you're using talk.google.com:5223 as the host and port to connect to.  Here's a screenshot of the configuration window for reference.  (Click on the image to see a larger version.)


Original post:
Several times in the past I have tried to use a native IM client like Pidgin or Psi or Gajim for Google Talk (since there is no Linux version of official Google Talk client).  I tried about half a dozen different clients and liked Gajim the most.  However, there was something that stopped me from using it as my Google Talk client.

You might have noticed that if you change your status message from Google Talk (stand-alone application), your chat status in Gmail will be automatically updated to whatever your new status on Google Talk is.  And vice versa: change your status in Gmail and your status in Google Talk changes too.  This is a cool feature that's been implemented by Google Talk.  But XMMP, the protocol used by Google Talk allows users to use different status messages on different chat clients simultaneously.  Third party chat clients will not copy your status message from Gmail (or vice versa).

So what would happen if I am logged into Gajim and Gmail Chat simultaneously?  My friends would see the status message I set in Gajim and Gmail randomly* at different times.  Because of this I didn't use Gajim, although I disliked the slowness of Firefox.  Recently I found out how to use Gajim and "hide" the status message I set in Gajim from my friends.

Here's how I did it: In Gajim's account configuration settings dialog, I unchecked "Adjust to status" checkbox and specified a low priority.  I used priority 5; but any number less than 10 would do, I guess.  (When this checkbox is checked, Gajim sets the priority to 50 when I'm actively using the compuer, while Google Talk and Gmail sets the priority to 24).  My friends' IM clients, including Google Talk, would use the status from the client that has the highest priority.  Using a low priority ensures that my friends see the status message I set in Gmail.



But when Gmail chat goes "idle", it sets the client priority to 0.  That means my status specified in Gajim takes precedence since its priority is set to 5.  To prevent this, I always choose "Not Available" as my status in Gajim.  This way, when I go idle on Gmail, my friends still see the status message I set in Gmail.


PS: It might be possible that changing the priority is not required at all; but this is how I have set up my account.

* This is not really random; but I don't feel like going into the details.  If you read the whole post there's a pretty good chance that you will understand the "randomness" too.

25 Jun 2009

Disabling NetworkManager balloons

One of the reasons I hate Windows for is the frequent useless info balloons it shows.  Some people seem to like such balloons, including those who maintain NetworkManager applet.  Recently, we started using NetworkManager to manage the wireless network adapter, and I hated the frequent balloons that said "you are connected to so-and-so network".  Turns out that disabling those notifications is not very obvious (at least with version 0.7.0.99).  Here's what you do to get rid of those annoying balloons:
  • Enter gconf-editor in command line to open GConf editor.
  • Navigate to /apps/nm-appletr in the editor.
  • Add a new key of Boolean type with the name disable-connected-notifications and the value True.

From next time, you won't see those annoying balloons when NetworkManager connects to a new network.

21 Jun 2009

If something can be used, it can be abused too

A bot called Luisa Buffington started following me on Twitter today.  But then, I didn't know if it was a bot; but the tweets didn't look "normal".  Just for the heck of it, I started following it too.  If the bot's account is still active, you can see that it's doing a good job tweeting.  A quick twitter search reveals that this bot is one among 8 other bots, controlled by the same program.  (I'm still following the bot though, to see how quickly Twitter would find this network and block all those accounts.)

16 Jun 2009

Quotes: To Kill a Mockingbird

I finished reading To Kill a Mockingbird sometime back.  One of the good novels I have read.  (Many thanks to the friend who gifted me the book :)  As with many other books, I collected quotations as I read.  Here is the collection:
  • Until I feared I would lose it, I never loved to read.  One does not love breathing.
  • The things that happen to people we never really know.
  • When stalking one's prey, it is best to take one's time.
  • People in their right minds never take pride in their talents.
  • It's not necessary to tell all you know.
  • You're not gonna change [anyone] by talkin' right.
  • One must lie under certain circumstances and at all times when one can't do anything about them.
  • A mob's always made up of people, no matter what.  Mr. Cunningham was part of a mob last night, but he was still a man.
  • Maybe we need a police force of children.