Posts

Showing posts from October, 2007

Blood Donation

Image
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 fillin

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

Image
            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 bu

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 )       recurse($eachFile);     } 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/;    $string; } #defin

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 @ http://cmohan.spaces.live.com

Worlds are not born, they are created

  Check out: Everyscape "Beta" http://www.everyscape.com/ Main post is at: http://cmohan.spaces.live.com

Dravid left out of ODIs against PAK?

Image
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 brea

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: Will pass B.A with medium class Will own a car at the age of 45 years Will not get a government job and hence will continue with business Not that good at business but will assist father and be able to setup one more shop Will get married at 26 yrs Lot's more but no point boring u guys with tht :) Maybe .. they are what it says ..predictions... :)

Suriya's got engaged.

Image
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... :)

Image
  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 ti

Software engineer's marriage invitation

Image
  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

Manali Water Rafting Para Gliding Skiing Snow/Ice Kullu Manali – I stayed there for 2 and 1/2 days. 1 st 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. 3 rd 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). Manikaran   Original Post: Kullu manali   Technorati tags: Kullu , Manali , Kullu manali , Himalayas , Beas , Himachal Pradesh

Pad's wedding - Nice get-together

Image
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. .. ‎‎ AG: google.com ‎‎ 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

Trip to Srisailam & NagarjunaSagar

Image
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 finals 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