Posts

Bad start of a day !!

I had a meeting to attend at 8.30 am ,(which is veryyyyy early by my standards).So I left home by 7.40 am .I had to pay a fare of 6 Rs to travel from Vijaynagar to Majestic .I discovered that I had exact 6Rs and a 100 rupee note. There , I boarded a bus that was going to Richmond Circle . I was just hoping that the lady conductor would have the necessary change(The fare again being 6 Rs) :Usually when they dont ,they only pay u back the rest of the change after grumbling throughout the travel (which is also acceptable). But I was totally shocked when she asked the driver to stop the bus at some point and asked me to get off the bus ! I was in no point to argue and so got down,managed to get an auto and reach office.Ended up paying a couple of Rupees extra to the autowala as well --which is always the case,as they never have the exact change. The idea of a bus pass does not hold for ppl who dont travel regularly by bus. You shud have a smart card which actually simply deducts the fare,...

Holi hai!!!

Image
Holi Celebrations at the Sun Office !!!

Using function pointers

I just wanted to check if i still remembered using pointers in C..Its been quite some time since i have used them,so I tried this simple program this morning ...and thought I'd post it .. #include void foo(){ printf("In foo \n"); } int bar(int i){ printf("In bar\n"); return(i+1); } typedef int (*gptr)(int); /* gptr is a function pointer which takes in an int and returns an int */ typedef gptr(*cptr)(gptr); /* cptr is a function pointer which takes in a function ptr of type gptr and returns a function ptr */ gptr cfunct( gptr pf){ gptr rf; pf(6); rf=bar; return(rf); } main(){ int ret; void (*fptr)(); int (*bptr)(int); gptr pfi,rfi; cptr cpfi; fptr=foo; (*fptr)(); bptr=bar; ret=(*bptr)(6); printf("Returned %d from bar\n",ret); pfi=bar; ret=pfi(6); printf("Returned %d from bar\n",ret); cpfi =cfunct; pfi=bar; rfi=cpfi(pfi); ret=rfi(8); printf("Returned %d from ba...

UgraNarasimha Statue at Hampi

Image
In the foto from L to R : Amit,Pranesh,Sudhee,Shivaji and Rani,Priyanka(Mrs Amit :) ) ,Guru and Dakshina This foto is a reminder of the trip to Hampi when we went to Hospet to attend Ragya's wedding . We also went to the beautiful Tungabhadra dam in our 2 day visit.

2007 --first blog

Just thought that there was no entry this year ..so here i am scribbling something just to start it off and keep it updated .. Anything memorable :My last week trip to Surathkal and to the Udupi Krishna temple ,with ny sis and Dad . My dad wanted to go there to visit the temple,but my sis and I were also happy as we got to go to the beach.There's a beautiful temple near the Surathkal lighthouse and you can have a fabulous view of the sunset . I remember spending my time with friends there when I was studying at NITK .. So this time when I went there I took my sis along .While returning we ate the typical Surathkal Bhel (which has carrots,mango and beetroot!!!) --Its all the same ..The same ppl ,same taste ..nothing seems to have changed much ..the same quiet place --And i hope it stays that way .

Whatever ..

I attended a creativity training this month . It seemed more like a team building exercise .We had plays, had to come out with whacky ideas and it was fun. Planners or spanners ? Life let u be either a planner or a spanner .In a team u can be ,at any time the thinker or just an implement to do the assigned job.Its upto us to take up the role we wish to.Then we learnt abt the six thinking hats,PMI techniques ..Overall good ,coz we had a good group .

An old foto :)

Image
A not so recent foto . I went carting with my Team . Had lotza funnn ..

October ...

Its been a long time since I blogged .. Sep 12 is the last blog that I wrote .. My blog is becoming an online diary of events .. I dont seem to be the types who can beautifully sketch out views on xyzee issues ..so I'll stick to what I can.. Some good things I remember are attending a Hariharan live concert at the Cisco Day , a cool trip to amchi Mumbai ,watching Dor ( a brilliant movie by Nagesh Kuknoor) and going home for Diwali .I had a long vacation and had a one day trip to Kolhapur as well with the family members ,Went to Bahubali and the Gandharva resort and had a good time.This weekend watched a play 'ART' by Evam.. Was a good one ..The last play that I watched by the same group by "Double comedy" and that one was really hilarious.

Kailash Kher @ Bangalore Habba

Last friday I went to a live show by Kailash Kher with a friend .It was arranged as a part of the Bangalore festival . The passes were free,it was a friday evening ,to top it all a musical event --my stars were all aligned for an amazing evening .And it really turned out to be a beautiful experience.I'm glad I was there .The initial wait was boring ,with the TOI ppl (who sponsored it) repeatedly featuring their ad ,but later on once it started it was good ... Some songs which I really enjoyed were "Teri Deewani", "Rang Deni Rang Deni" and "Mangala Mangala" ,also "Tauba Tauba". I have seen just 2 live shows before ,one of Lucky Ali and the other of the JAL band. While the Lucky Ali show was really good live ,the JAL band was not all that impressive.I'd prefer listening to them at home on a music player. But Kailash Kher is best heard live .He has so much energy and intensity in his voice -It just takes over you .. Looking fwd to some mor...

Lets enjoy it while it lasts !!!

Have some new means to kill time at office : Orkut and Linked in ,besides crosswords ,rediff movies page and at one time sudoku.I hope they dont ban us from using any of these sites :( ..Then life would be so miserable . Also I'll be completing 2 yrs at Sun tommorrow and by coincidence its also the annual day of my company.There's a bash at some place farrrrrrrrrrr from office(called Whitefield) ,which i dont plan to attend coz I'm travelling back home .. I always look fwd to going back coz I'm treated so royally (if i stay for the weekend only) ..They think we struggle it out day and night and do lot of intelligent work out here..I dont even try to change their perspective :) ...Lets enjoy it while it lasts !!!

BrandZ:Solaris Containers for Linux Applications

Using this blog as a reminder for how I setup BrandZ Steps : 1.Got a x86 box;installed S11 (latest build) 2.Downloaded the packages SFWrpm from http://opensolaris.org/os/community/brandz/downloads/ SUNWpkgcmdsu from http://opensolaris.org/os/community/brandz/downloads/ bfu.sh from http://opensolaris.org/os/community/brandz/downloads/ SUNWonbld from http://dlc.sun.com/osol/on/downloads/current/ 3. Copied BFU archives from http://dlc.sun.com/osol/brandz/downloads/brandz_release_2006-04-28-tar.bz2 The files in step 3 were copied to /tmp/brandz 4.To BFU the system,these variables next to be set 1. # FASTFS=/opt/onbld/bin/i386/fastfs ; export FASTFS 2. # BFULD=/opt/onbld/bin/i386/bfuld ; export BFULD 3. #GZIPBIN'/usr/bin/gzip ; export GZIPBIN # cd /tmp/brandz_release_2006-04-28.tar.bz2 # bunzip2 -d -c brandz_release_2006-04-28.tar.bz2| tar xf - #./bfu.sh brandz_release_2006-04-28 #pwd This will take you to a directory /...

The weekend

The only memorable thing this weekend was watching Anthony Kaun Hai with my friends.I enjoyed the movie.There were a few unwanted songs but overall I had a good time ,paid 40 Rs for the ticket --so it was a total paisa vasool. Also we celebrated "Friendship day" by calling some friends for lunch .We had pav bhaji and puliyogre (my speciality coz its easiest to make) on the menu ...

Another day ...

My hard disk got formatted and I lost all my songs :(. A nice compilation of my fav entries . Too bad . Otherwise the day started off in a very lazy mode . Reached office at 11.30 --had lunch with a friend at 12.30 and now have a movie session at 5.30 !! No time for work --not that I want too :)

Xen

For some time,I was trying to get Suse and Fedora guest domains installed on my Suse 10 Xen box.And could not do it for various reasons .Finally yesday it happened. So here it is .. Felt good abt it -so thought wud post it ! Actually I first created a minimal OS image of fedora on a fedora host and ftp'ed it onto my Suse box.However on doing an xm create ,I got the error indicating that the file system was not supported(meaning it needed a journal recovery) .Then fsck did the trick and here it is, ready to go!! meher # xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 256 1 r----- 308.1 myxen 1 128 1 ------ 33.1 fedora 9 32 1 -b---- 117.5 meher # uname -a Linux meher 2.6.13-15f-xen #1 SMP Wed Nov 16 14:01:46 UTC 2005 i686 athlon i386 GNU/Linux meher # xm console myxen xen-2:~ # uname -a Linux xen-2 2.6.13-15f-xen #1 SMP Wed Nov 16 14...

Coincidence and queens ??

Hey,my friend guru also opened a blog today itself.Check out the weirdo @gurulingesh.blogspot.com . He's such a copy billu ..no originality :) . Well for all u foodies out there ,u must try out this place called Queens at Church Street.It has amazing phulkas and dal..No u must be thinking why this all of a sudden ? Well I went out for my friend's birthday treat to his place had a fultoo meal and ended it with some very tasty Mango Lassi .. After such a good meal obviously am in no mood to work and here I am blogging ,lest i sleep off.

my first post

12th May Welcome to my blog .. The day started off well after having sabudaane ki kheechdie prepared by my roomie. Also happens to be my close friends birthday. Happy birthday Chandrakant!!!. Have lotza work to do at office ,but thought will finally open a blog acct of mine. So here I am ...