Thursday, March 31, 2011

इक और लिखा, सुनो

इक ज़माना था जब हम भी जवाँ होते थे,
अब तो बीते हुए बस कल की याद करते हैं।
मुस्कराते हैं वो सोच कर जो न हुआ हमसे,
जो किया भी, अब बस यादों में कैद रहते हैं।

Monday, March 28, 2011

The Indo-American pronunciation mess

Plenty you will see laughs at Indian pronunciations and use of words. But don't you dare to think you are right.
- What you say Flashlight we say Torch.
- What we say Torch you use it for arson.
- The way you say arson sounds an (Yoga) Aasan.
- When we mention Yogi you think of Baseball, while ball is Hair to us.
- We keep Hair Black and long, you kept Black away for long.
- Your money is on your Black leader, our leaders have a lot of black money.
- Even our common bond is (mis)pronounced by you as demaucracy the word we only use to demo.

Wednesday, March 16, 2011

Playing 11 against West Indies

So with all the dismal (not so impressive) to an absurd performance (Remember English and SA games?) by the Indian team they need to be extra cautious when they play West Indies next, if not for points but to rebuild the confidence. My opinion of the playing 11 be:

  • Sehwag
  • Tendulkar
  • Gambhir
  • Kohli
  • Yuvraj
  • Dhoni
  • Yusuf
  • R Ashwin
  • Zaheer
  • Harbhajan
  • Ashish Nehra

Tuesday, March 15, 2011

To find which class contains a method in a given jar

Okay.. I vaguely remembered a method that existed somewhere that could do what I wanted but could not recall the class it was in, and all I had was the jar. So I wrote this:


#!/bin/bash
for i in `jar tvf $1 | grep class | awk '{print $8}' | sed -e "s/\//./g" | sed -e "s/\.class//g"`;
do
echo $i;
javap -classpath $1 $i | grep $2;
done

Enjoy!

Friday, February 25, 2011

Why I got disenchanted with my Karate Sensei?

Years ago I used to learn Karate, Shotokan Karate to be more precise. It was an easy thing to join. I was looking to learn some self defense and the Office Gym introduced a program on Shotokan Karate. I am not a very physically active guy so my reason to join was not to get exercises that I could do in 24hr fitness. I wanted to learn the art. And bang it started with a flyer. We had a sixth degree blackbelt as our Sensei. In the first few sessions he explained the history of Shotokan and how this is one of the few traditional martial arts still in practice. He also explained how many American Dojos are more into sports Karate and not the traditional ones. He explained Shotokan was about low stances, not so much moving and an art of very high concentration. Traditionally only one blow was thrown by its practitioners and the fight would be over unlike many frequent kicks and punches. It fit very well with a Guy who was slow, did not want to move, could sleep while in one stance and I was in. Sensei did not have to explain the history and give an impression he favored traditional and I could have been happily be doing sports Karate without really knowing its traditional variant. But the pretext set my expectations to a different level. I thought I was learning something more deadly than those romanticized Gym activities. I was enthralled.
The membership grew and more folks started going to his real Dojo. The class in the Gym started to become physical exercises and talks of participating in Tournaments started to become more frequent. Instead of how-to decapitate your opponent, points were given for touching your opponent's ribs during sparring. In no time I figured out I was into Sports Karate. There was no problem as such, I was still enjoying it but my expectations were thrashed and I started to look for reasons to leave. That reason came a few years later when Dojo fees were increased that I thought was too high for me. I was disenchanted with the Sensei and I thought he too became commercially inclined. I respected him. Next few months saw me taking a KravMaga class that I thought was run by some street fighters. I ended up joining Wing Chun paying more than what I thought was expensive and learned more in three months than what I learned almost in four years of Karate. There was nothing in the art itself, Karate is still as deadly as any other art but it was more to the sincerity of its coach that increased my keenness in learning. I left Wing Chun because work load along side my School turned out to be too much to handle. The gist of the story is it is very important to set the expectations right. It matters less what you are really doing what matters is if you are still steered in the same direction that you had set your feet on.

Wednesday, February 16, 2011

Ambassador Car Ad

- एक भरोसा जो समय के साथ मजबूती से चला आये - हमारा Ambassador
- A faith that continues with time - My Ambassador

Thursday, February 10, 2011

चलो एक मज़हब पर शेर

नारंगी हरियर हुआ, अपना अपना रंग,
पर मंदिर मस्जिद एक है, जो तू है भिखमंग।
फिरता माला फिर रहा, चढ़ा किताबी भंग,
ना जाना इक राह वो जिसपे चलें सब संग।