Monthly Archives: March 2010

Mayawati’s garland 21 lakh ? Pretty unlikely …

I watched the NDTV news report about Mayawati’s garland in utter disgust at not just the revolting show of excess but also the utter disregard to the value of Indian currency. I was even more appalled at the BSP minion justify the garland and put the figure of 21 lakhs for it’s value. That instinctively struck me at BS. That number does not even seem statistically possible.

Considering the 21 lakh amount, if that were true, it would imply that the garland was made of 2100, one thousand rupee notes. Looking at even a low resolution picture of that garland, a conservative estimate would put one layer within the garland to be at least made up of 10 notes. So, that would imply that for a 21 lakh rupee worth of garland to be made up of just 210 such layers. Is that even possible ? Take a look at the pictures again. I’m willing to bet at least 50 notes make up a layer. The number of layers that make up the garland is a proper mathematician’s task. I think any mathematician worth his degree would be interested in calculating this. I hope some Indian mathematician actually does it.

Reblog this post [with Zemanta]

vim backups using git

I am a vim guy. I’ve been hooked on to it ever since my first introduction to Unix (back in ~1995). One of the things I like about vim is that it is just an editor. Nothing more, nothing less. It does allow for creation of plugins, but only as far as they complement editing tasks. So, although you’ll find vim plugin scripts that provide file browsers, IDE features, encryption etc in vim, you will almost certainly never find an integrated mail client, IRC client, web browser etc (things which are rumoured to exist for a long time in that other editor which shall not be named).

The reason I mention this is because, I recently came across this interesting plugin named VimLocalHistory which maintains a backup of files that you edit in vim using git at every write to the file. Cool, ehe ? btw, git is another really cool tool that I’ve fallen in love with recently but more of that in another post probably.

The second reason for this post is, considering how i have waste^H^H^H^H^Hspent a lot of time creating, maintaining and tweaking my preferred vim configuration and plugins(*), it only makes sense that I share it with friends who share my preferences and style of working but don’t/can’t look for the tools that’ll help them at it . So, here is my vim configuration:

Obviously, you’d have to rename dot_vimrc and dot_vim to ~/.vim and ~/.vimrc respectively. The dot_vimrc file is well commented (i think) so reading that and adopting it to suit your needs should not be a problem. Enjoy.

(*) I created the file in 2004, IIRC and have maintained it ever since

Reblog this post [with Zemanta]