Blood Donation

Well.. For the first time in the history of mankind.. Chandra Mohan B.S donated blood !!!

Well, I was always scared of Syringes and the needles... avoided doctors when I had fever right from childhood. .. So never dared to go myself to some blood camp and offer myself to be pricked by those needles. ... When Uday called me to accompany him when we were just going out for snacks... hhmm... my first reaction..let's finish the snacks and then you carry on... But later some golden lightning struck me... The RedCross poster read "Donate Blood.. Save Life"... So off I went and filled the form with full enthu.. . Was okayish when they checked the blood pressure. But as soon as I sat .. oops slept on the bed.. . got a tingy feeling which I can't describe. The attender or male nurse or whatever we can call him .. asked me "FIRST TIME"??? Then smiled and asked me to relax... Syringes never pains but it gives a stomach churning experience as the time passes and filling up of the 200 or 250 ml takes it's own sweet time... Finally went through and as he removed the needle, gave a sigh of relief and escaped quietly from there :-)

Blood donation was organized by India Red Cross Society.

Back to VLCC... Will Gym/Yoga follow?

So finally I think I am done with my deployment stuff and all.. (after 2 weeks of code complete.. but who cares :-))

Today I went to VLCC again after a long gap of nearly 2 months and had a hair therapy. Should start the massage and other therapies soon... Back to the mould of putting in some thought about my body. Well a hectic work schedule and full night outs does hinder all your timepass activities but I am back to my old self :-).. Hopefully will have more time to play TT.. . Snookers.. .Foosball.. .basketball etc in office... And yah I should start going back to Gym and Yoga.. And chatting with friends hours together ....  just for timepass :-).. Well it's going to be hectic again.. But hectic in a way I can enjoy :)

Happy days are here again !!! :-)

Happy Days

Happy Days







To describe in a sentence...: A great, feel good movie that would definitely remind you of your college days or atleast get you to think how it could have been :-)

After all the stress of night outs in office, it was a welcome break.

So the story starts off with 7 students entering the Engineering college for the first time... Though the initial pairing of 6 of them from Reel 1 looks superficial, this is real possibility :).. So they meet up... get ragged together and become close friends. Manyaata is the only one among the 8 students who has acted before (as heroine atleast). She looks great from scene 1.

Then we have the jealous Seniors, the usual senior behind the junior gal (Manyaata) and how our hero saves her, the fights between the juniors and seniors, anxiety during the exam results and then moving on to the next year. After the interval, film gets little more serious with the quarrel between Manyaata and the hero and between the guys too. Lot of drama but watchable and interesting at the same time. Kamileni mukherjee surprisingly adds the Glamour quotient :)

Songs are melodious and one should give a earful to the lyrics. They are really good.

All in all, though comedy is the highlight of the movie, the slick narration and no boring moments make this movie a great one to watch. Enjoy the movie in theaters. You will definitely appreciate the people acknowledging the actors performance :-)

Happy days - gets a 5/5 rating from me.

Perl script to find unique file extensions in directory and all its subdirectories

I am totally new to Perl.. so this was fun writing:

Invoke it with the directory you want to search for.

#!/usr/bin/perl -w

#Finds all the unique extensions in the current directory and its subdirectory(recursive).
#author: Chandra Mohan
use File::Basename;

sub recurse($) {
  my($path) = @_;

  ## append a trailing / if it's not there
  $path .= '/' if($path !~ /\/$/);

  ## loop through the files contained in the directory
  for my $eachFile (glob($path.'*')) {

    ## if the file is a directory
    if( -d $eachFile) {
      ## pass the directory to the routine ( recursion )
    } else {
      ## Find file's extension
   my(undef, undef, $ftype) = fileparse($eachFile,qr"\.[^.]*");
   ## Add extension to the global array.
   $filetypes[$i++] = toLower($ftype);

# &toLower(string); --- convert string into lower case
sub toLower($) {
   local($string) = $_[0];
   $string =~ tr/A-Z/a-z/;

#define Global variables
our @filetypes = ("");
our $i = 0;

## initial call ... $ARGV[0] is the first command line argument

system "cls";

undef %saw;
@out = sort grep(!$saw{$_}++, @filetypes);
print "@out\n";

Main post is @

Simple C# function to find an executable being run in the path

public string FindInPath(string filenameToFind)


string Path = System.Environment.GetEnvironmentVariable("PATH");

string[] folders = Path.Split(new char[] {';'});

foreach (string folder in folders)


DirectoryInfo dirInfo = new DirectoryInfo(folder);

if (dirInfo != null)


FileInfo[] files = dirInfo.GetFiles();

foreach (FileInfo file in files)

if (file.Name.ToLower().Contains(filenameToFind))

    return dirInfo.ToString();



return string.Empty;


Main post is @

Worlds are not born, they are created


Check out: Everyscape "Beta"

Main post is at:

Dravid left out of ODIs against PAK?

I am all for the young and jubilant teams and enjoyed the way the T20 team played. But to all fairness, I still believe the BIG 3 as Sachin, Sourav and Dravid are known, have still something to contribute and it's unfair to leave them thinking about forming a team for the world cup 3-4 years down the line.

Dravid, I thought would have definitely made a huge impact on the uneven track of Mumbai - where the other leading batsmen failed. He definitely is one of the best No. 3 batsmen in the world currently and should be allowed sometime to get back into his groove.


To get the context if you are unaware - here's the details from Cricinfo:

Rahul Dravid will miss the first two one-dayers against Pakistan

Dravid missed out on the final one-dayer against Australia in Mumbai recently and there has been speculation about his spot being under threat. Dilip Vengsarkar, the chairman of the selection committee, said Dravid was "rested". "We decided to give him a break. He's a great player and he will be back soon." Vengsarkar insisted the squad had been only been picked for the first two ODIs, thereby clarifying that Dravid would be considered for the matches ahead.

But Vengsarkar said Dravid, whose position has become uncertain for the first time in a decade, needs to prove his form and fitness. "Fitness and fielding have become very important in the one-day game so he will have to show it playing for his state [Karnataka].

So what's tht with horoscope and astrology?

My mother had planned for some pooja and had to be in the temple for close to two hours listening to all the chantings... But the point of this blog is not that...  I had to get to know the exact time of birth and so opened up a old notebook containing my horoscope.. Found the time of birth to be 3:16 AM... Hhmmm.. Odd time .. whatever.. .then started reading the predictions of each year or set of years...  just to burst out laughing and asking my mother if we should read all these horoscopes..

So let me list out some of the predictions:

  1. Will pass B.A with medium class
  2. Will own a car at the age of 45 years
  3. Will not get a government job and hence will continue with business
  4. Not that good at business but will assist father and be able to setup one more shop
  5. Will get married at 26 yrs
  6. Lot's more but no point boring u guys with tht :)

Maybe .. they are what it says ..predictions... :)

Suriya's got engaged.

Ex-MT mind Suriya got engaged recently. Nice to see the snaps.. All the best Suriya !!!

Congrats ArchanaP

First of all - Congrats !!! I think the decision about a one year break from work is a sound and good one :)..

All the best.. & enjoy your time off !!!

Raghu down too... :)


So Raghu too got married... 2 Down.. 4 more to go :).. 3 are vying to be THE NEXT ONE. Let's see who among us is the next :)

First of all, "Congrats Raghu and Hema"... Wish you a very very. . very. .. .. very ..... very happy married life....

So, 22nd and 23rd were the D days... It started off with we planning to goto BigBazaar for getting gift coupons and that came a dumb idea. BigBazaar coupons can be used only for food items etc & not electronic/mobile etc.. . So we/I had to goto Shopper's stop and buy gift vouchers from there.

The function started with Varapooja. It was scheduled from 3 to 4:30 but I went there at exactly 4:30. Glad that I was able to make it and view the last part of the function. Rohit was already there and CS joined us in some time. We did go out for a walk .. then went to Rohit's room. Did some grooming for Raghu's coat (CS came up with the best rose that fits :)). Pramoda arrived soon after - we together had some nice tiffin :)

The function went on well. I had to leave in between to get my mother. I couldn't buy a separate gift, so asked my mother to get Silver deepa (lights). Many more BITians had arrived by that time: Vivek & wife, Rahul, Chandan, Anand, Balaji & Arjun Urs. Bhanu's parents too joined. Add to go twice to wish Raghu - once with my mother and then again with my friends. Had nice food. too.

Dropped my mother in Magadi road and came back to Chatram. Since all the rooms were booked, I went home after having a nice chat with the bride.


23rd the 'Muhurtha' was scheduled from 9:30 to 10:30, but I got up late and was only able to arrive at around 10:20. In time for the thali ceremony. Rohit, Pramoda and Rahul were there. We first went and had nice lunch. Then came back and wished Raghu. :)


So that was how I spent time in Raghu's marriage :)..

Once again, All the best Raghu.. Don't forget us :D

Software engineer's marriage invitation


I have seen lot's of forwards of Software Engineer's marriage invitations with all kinky programming language kinda text or with juggled up technical words..

Recently got one from my close friend and thought.. well this is a neat one. . All the information fitting in nicely in one template.. .

Yeah.. I would have liked him to use Personalized Windows Live homepage rather than the fancier 'iGoogle' but I am not complaining :)


So here's what the invite looks like:

And the actual iGoogle page:

Kullu manali


Water Rafting

Para Gliding



Kullu Manali –

I stayed there for 2 and 1/2 days.

1st half day: Local sight seeings – 2 temples (Hadimba temple and Manu temple) & Market in Manali.

Second day:  Rohtang pass and some “S” valley where you can do para gliding over the hills.

3rd Day: Kullu (We did Beas River rafting), played in the river and then headed to manikaran (Hot valley springs + Sikh temple)

That was our itinerary. But I believe you can spend upto 7-9 days there.

Contact Himachal Pradesh tourism for more details (we booked rooms thru them).



Original Post: Kullu manali


Pad's wedding - Nice get-together

Shripad and Shalini

All the best Pad and Shalini!!!

Ex-MT friends met:  Shripad, Shreekanth, Vanita, Ashwin, Archana, Seetha, PH, Shivu, Pakya, Loney....

Life in terms of .net :)

Was just having a fun conversation with friends.... . Thought this might be interesting, so posting it here :). Await for a revised non-chat based post on the same topic :D :)

AG: read ma note – ‘Be Yourself, the original is always better than the copy’

‎‎CM‎‎: From where did u copy. ..


‎‎KJ‎‎: b original atul

CM‎‎: Original is always better than copy buddy. .... Ur;'s is paradox

‎‎KJ: are we copied or original

we are copied from human template

anybody smelling?

‎‎CM‎‎: Yeah .. we are not copied!

We are instantiated based on the template

‎‎KJ: so derived is better than copied ?

‎‎CM‎‎: Hhhmmm..... Good qns... Keep it coming. .  

‎‎KJ: or instance based on template is better than derived

‎‎AG‎: kathik == copy hain

‎‎KJ: original > derived > templ instantiated > copied > twins

original > derived > templ instantiated > imitation > copied

‎‎AG: moral of the storie ::  chandu and jayaraman pagal ho gayein

‎‎KJ‎‎: why am I eating the same way you are eating

who started "how to eat?"

but i am not copying

‎‎CM: R U Sure?

‎‎KJ: i am eating in my own uniques "copied" way

‎‎CM‎‎: Ejactly... .

‎‎KJ: so are we trained to copy from birth?

or imitate...eventually a habit

‎‎CM: The template// Oops should it be a Human base class ... had a virtual member eat () with some pretty neat steps.. . some like me just incorporate it. .. some like you. ... override it completely

‎‎KJ‎‎: chandru pls keep going


‎‎KJ: bugger atul

why is everybody same but different at the same time?

‎‎CM: But then we all are derived of the same class. At the most they can guarantee is we all eat. ..but what we eat and how we eat is upto the implementers 

‎‎KJ: what is unique?

‎‎KJ: true chandru

who told us to derive...who made this derivation?


‎‎KJ: according to chandru...

how can i imitate like chandru if i am also derived

do everybody derive from everybody else?

‎‎AG: hmmm ... gud question


‎‎CM‎‎: Nope.. we are in .net world there is no multi-inheritence. we have only multi-level inheritence ... The world started from a single lineage

KJ‎‎: but we can have interfaces

so i can implement IChandru and IHuman

or can I?

‎‎CM: And there are exceptions to the derived classes theory... Some just become friend classes of the base and try to access/follow them. .... . Never succeed. .. Sorry Atul

‎‎KJ: is "I" itself the interface we are searching for?

‎‎CM: Ofcourse ofcourse my child. ..... Interfaces are the gurus out there . .. we all try to mimic....  we just implement them and we can have so many gurus....

‎‎KJ: Art of living in .NET

‎‎KJ: so is this implementation our ego

‎‎CM: Art of "Scope of - Life object"

‎‎KJ: but IInterface is pure

‎‎KJ: but i did not choose to implement

or did I J

or who did this ?

‎‎‎‎AG: moral of the storie ::  chandu jayaraman pagal ho gayein

‎‎KJ: bugger

‎‎CM: Saala... Chuppp..................

‎‎KJ: so we are all same at some level

IInterface itself does not have content

‎‎CM: Ofcourse.. ofcourse... we are all instances running ... waiting for being garbage collected 

‎‎KJ: it just exists ..haha J

what is after garbage collection?

where do we go

‎‎CM: HHhhmmm...................... interesting qn .... . I better pick up a .net book and read J

‎‎KJ: we can have weak references....for souls who dont want to leave the heap

or can be resurrected

‎‎CM: Weak references? Tht;s Vinayak's style.

Always hv Strong bonded references ..  Stick to One strong Girl reference and she will make sure you are not garbaged

‎‎KJ: sorry just forgot....An object referenced only by weak references is considered /wiki/Unreachable_memory (or "weakly reachable") and so may be collected at any time.

‎‎KJ: so those who want to meet the source have weak ref

‎‎KJ: so vinayak is good candidate

‎‎CM: Yah... So vinayak is in risk. .don't implement his interface 

‎‎KJ: if someone has something todo before dead....they can implement FInalize

so they can survive the first pass of GC

‎‎CM: Hhhhmmm.               

‎‎CM: But hving a reference and being in active participation in the system (read life)  makes sure u r never garbage collected

KJ‎‎: true that maan true that

AG‎: *kool

okei leave dat

u guyz continue

hehhe J

‎‎CM: Okay guys... I think we should stop... Else IAtul interface's function ("moralOfStory") would come true

AG: nooooooooooo

plzzzzz dont stopp

‎‎AG‎: jayraman

‎‎CM: Bugger. ..Bye bye

‎‎AG: bye bye

Trip to Srisailam & NagarjunaSagar

Well this was a totally un-planned trip.. Untypical of me.. But it just happened :)

My roomie Ganesh and his mom were planning to go on a trip and since it was there sangha (caste) group going, I had no inclination to go. Had a treat (For being in a team that reached the soccer match Image022_thumb8finals in MS soccer fest) in Ohris Banjara and reached only at 12:00 MidNight. Suddenly Ganesh and aunty said I should join them and it would be fun. After the initial NO-NOs, I accepted.

We got up at 5:15 and got ready. At 6:30 we reached Secunderabad (Manju theatre) and we started the bus journey from there. On the way we had to pick up people from Other parts of secunderabad,  RTC X roads, Tarnaka, LBNagar  etc. We watched the Arya movie (1st CD in the bus). Had food on the way. Then the old age people said they couldn't sit in the back and hence all bachelors/spinsters were made to go back :-)

So the main Back benchers were Ganesh, Vinay, Sampath, Sameer, Sushma and I. We played Anthakshari Image005_thumb10and as usual I echoed along few words.

The view of the Srisailam dam was breath taking. It was amazing with the 3 flood gates opened. Imagine how it would have been if all the 7 gates were opened.


Reached Shakeshwar Shiva temple at around 3:00 in the afternoon (This place has a Nandi from whose ears we can view the 3 lingas of Srisailam).We had lunch and then headed to the room to take bath. Changed cloths and headed to the temple. Since there was a heavy rush, we took the 100rs tickets . Viewed the Shiva Linga (One of the twelve jyotirlingas) and then went to the Bramarambi temple (Bee Goddess) - one of the 16 shakti-peetas, which is also inside the same complex. After resting for few minutes in the temple and buying the prasadas (Laddus), we had dinner and headed for the lodge.

The room was a typical temple town lodge. The fan was excellent without a regulator and we had nice ideas to make it work - One of them staying up the whole night rotating the blades.. We thought that might be faster than the current speed in which it was running :-)

So on Sunday, we got up at 5:30 AM. Got ready and viewed the Sunrise from the terrace of the lodge. Took few snaps and then headed out for breakfast.

After that we headed out to Srisailam Ropeway. This is a small ropeway to reach the river from the top of the hill and takes 3 minutes for going down (and 3 mins for up). We stopped in the bottom and walked to the Pathala Ganga (Krishna river). There we took the motorized boat and went near to the Srisailam dam. Came back up again view the ropeway and then headed to the Sakshi Ganapati temple. Ganesha here is supposed to witness (sakshi) everyone who goes to Srisailam to workship lord Shiva.

Image027_thumb4 Then finally, we headed to Nagarjuna Sagar. It was 6 hours journey. So we slept around for a lot of time. And ofcourse we had to listen to Ganesh's PJs and Sushma who was really a non-stop chatter :)

We reached the the Nagarjuna Sagar - and got a view from the top. But vehicles were not supposed to ply over the dam and hence it was view from far.Image029_thumb8


We played in the river bed near the broken bridge for some-time. Then we headed to the Ethipothala waterfalls view which is around 10-15 kms from the dam site. Here the underground water from the hills surrounding collects and falls over as 2 falls. This starts as 2 small tributaries that join the river Krishna.


After getting our eyes drenched with the Ethipothala waterfalls, we headed to the waterflow below - 1/2 km trek. We had scenic views from there but since it started raining, we had to head back home fast.

Headed back home and reached at 12:00 Midnight sharp.

Dates: 08-Sep-2007 and 09-Sep-2007.