Monday, January 29, 2007

I sought
I sought
I sought
I so...

Thursday, January 18, 2007

Search consultant

At Chacha, you have search experts that help you find what you otherwise can't.

Wednesday, January 17, 2007

Judea Pearl, in my opinion, needs a nice long Jewish bath, immersed in his own bayesian diarrhea, and thrown nose-first down the path of righteous dogmation.

This, undoubtedly is one of the most hypocrisy-ridden articles to come out of a secular media in a long long time.

Am feeling let down, like I felt when Shyamala Balaji, the very toight physics teacher from ninth standard shook her pretty little head from side to side and with a deft swoosh of her adorable hands and a salubrious blush, very guiltily dismissed me from her room when she realised I was paying her too much attention than I was supposed to.

Thursday, January 11, 2007

After all the people that I chanced to come across...

After all the people that I chanced to come across, not this person; Short Messaging Service from Hutch. Life just became a self-completing haploid,

Wednesday, January 10, 2007

The range of possible human experiences is limitless.


I don't like this.

Monday, January 08, 2007

Adding dino description signature on thunderbird

Here's something I've wanted for a long time now, and was too lazy to write one - a script that adds random dinosaur descriptions as your signature to thunderbird mail.

Before you go on to accuse me of blasphemy for not using perl, here's the reason - I didn't want to. Why perl when you can bash :D

1. Get the list of dinosaurs from wikipedia.
bash $ wget -o /tmp/dinolist.txt http://en.wikipedia.org/wiki/List_of_dinosaurs;

2. Strip off html tags
bash $ cat /tmp/dinolist/.txt | grep "<li> < i> < a href="%5C%22/wiki/%22" | cut -d"\"" -f 2 | cut -d"/" -f 3 | tee dinosaurlist.txt

3. Generate the signature

bash $ vim gen_signature.sh
#!/bin/bash
count=`cat dinosaurlist.txt | wc -l`
random=$RANDOM
let dinonum=$RANDOM%count
xyz=(`cat dinosaurlist.txt`)
dinoname=${xyz[$dinonum]}
echo $dinoname
lynx --dump http://en.wikipedia.org/wiki/${dinoname} | egrep -A 20 "\[[0-9]*\]Binomial name" | sed 's/\[[0-9]*\]//g' > "/home/ishwar/.thunderbird/signature.txt"

text=`cat /home/ishwar/.thunderbird/signature.txt`

if [ -z "$text" ]
then
lynx --dump http://en.wikipedia.org/wiki/${dinoname} | egrep -A 20 "\[[0-9]*\]Species" | sed 's/\[[0-9]*\]//g' > "/home/ishwar/.thunderbird/signature.txt"
fi


4. Change the signature once every five minutes.
bash $ cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
*/5 * * * * ishwar /home/ishwar/.thunderbird/gen_signature.sh

Accepted, this is not the most elegant script. But it makes me happy.



Wednesday, January 03, 2007

Person 1: Now at last, the world will realise that India can have serial killers too, and desis will realise that serial killing is not a "western" thingie

Person 2: And you want seventeen kids to be killed to prove that?

WTF! The world needs a lesson in logic.

Tuesday, January 02, 2007

Currently watching Barkha Dutt wearing a sincerely pained expression, discussing the Noida serial killer. A little over-done, but it'll feed the emotions of teeming millions of beanbag-fabindia-humanists celebrating life.



Life's good.