Tuesday, February 2, 2010
Across the yellow sea, reloaded (Part II)
lead: Any(Ani), our team's going out for dinner. would you like to join ?
me: no, thanks. i cant eat anything there. i am a vegetarian.
lead: ok, how about beef, chicken or egg?
me: no, not even that (thinking what was my answer again?)
lead: oh, u mean only vegetables then?
me: yeah (giving a customary smile and thinking how many inferences of being a vegetarian actually exist!)
Cheers,
Any(i).
Friday, December 4, 2009
Across the Yellow Sea
As with the state of most of things with my employer, where every moment is filled with surprises (due to lack of planning), I was glad that I was given at least 5 days notice that I would be travelling to Republic of Korea. My fear that I was in for a tough few months proved to be well placed as the air hostess informed me 'goto yolef thenyu' (in English) after taking a look at my boarding pass. The journey was pretty uneventful apart from the dosa i was given for breakfast in the Dragon-Air flight. I would advise any one flying Dragon-Air to leave the poor thing to itself and not to put yourself through the troubles of eating it. We had to switch to another flight that would take us to Seoul at Hong Kong airport. This is where it hit me that Indians must be considered as an omnipresent lot, as there was at least one Indian at every one of 80 odd boarding gates of the airport.
The immigration official at Seoul airport (pronounced as 'Sol') looked suspiciously at my passport for over 5 minutes before he decided to let me through. To convince myself that I was a tough guy, I decided that a jacket would suffice to fight the cold and strong winds in Korea. My first step outside the airport taught me again that I sometimes think too highly of myself. The chillness was beyond any of my imagination and sadly still is.Another thing that struck me was that Korean roads seemed bereft of any populace. The population density in India places a strong impression on one's mind that every inch of earth is populated by humans, which I realized was not the case. I asked myself 'where the hell are people in this country?' question throughout the journey from the airport to Suwon (my current 'home') for the roads seemed too empty to be real on a Sunday evening.
One more interesting thing here is the multi-compartment aquariums in many of the stores, where fish, octopus and a variety of other sea creatures are kept. To my shock, these turned out to be restaurants, which serve freshly cooked 'food'. Since then, I lost the heart to even try the local vegetarian cuisine, though I doubt if such a thing even exists.The stay in Korea has been pretty much work-lunch-work-dinner and sleep on week days, sprinkled with occasional late night strolls for playing snooker and bowling, which I have thoroughly enjoyed as I had never tried these sports and I must say that I am getting better with each passing day, particularly at snooker. I have watched some 12 movies until now, all on Saturdays, with Inglorious Bastards being the pick of the lot so far and Aladin being a reminder of all things that are wrong with this world.
Lotte world, an amusement park has been my best outing till date, with rides that range from the gravity defying to the extremely gravity-compliant(even to the level of free-fall) categories. Travelling in metro trains on Sundays has been real fun as you are free to talk your mind irrespective of time and place here as no one understands what you speak anyway. I burn with envy when I see the football stadia here as they have such a plush green layer of grass and comfortable seating arrangements.
I have one more month of stay left and hope to explore more of the 'Samsung/LG-land' (which really should have been the name of this country as one is guaranteed to see either of these billboards every few feet on any street).
Cheers,
Anirudh.
Tuesday, December 2, 2008
The buck stops right here..
Tuesday, October 14, 2008
When I dreamt of higher education...
Sunday, August 17, 2008
Belated wishes
The pace of our development has brought even the most powerful of nations to their knees. We can stall a WTO deal and even demand a nuclear deal signing NPT. Globalization has benefited us greatly and there have been innumerable India success stories as far as entrepreneurship is concerned.
I faced an awkward situation last week at work. We follow the Agile model of software development at Symbian and half of my team is in Britain. In the kickoff meeting of this iteration on Monday, we (the Indian part of the team) duly reminded the Scrum master (at Britain) that we would not be working on the 15th of August. When asked for a reason, we said that it was becuase of the Independence day and the Scrum master added (read with a British accent) "Um, Independence from Britain, isn't it?". What followed immediately was an awkward minute of silence and moment of awkward laughs from both ends of the teleconference device.
I wanted to tell this story to emphasize the level of development and respect that we have garnered in the past 61 years. People who treated as slaves of a petty colony are our business partners today and take a bow at our skills. This was the proudest I felt of being an Indian in my life and hope to cherish more such moments. Wish you all a very proud and prosperous Independence day.
Regards,
Anirudh.
P.S. Could not get this post on time as I was in Kemmangundi on 15/07/2008, which will be the topic of another post.
Sunday, August 3, 2008
Life's like that.
Around 3'o clock on that fateful afternoon, my office was buzzing with news of bomb blasts in Madivala, which I dismissed as some sort of rumor. Then, news of serial bomb blasts in Bangalore started trickling in and to my horror, I found these to be entirely true. The ibnlive website confirmed 4 blasts in Bangalore and all the happiness drained out of me.
One could argue that these were low intensity blasts and had caused very little mortal damage. But the fact that some people could go to the extent of killing innocent civilians, who do not even know these people and then mask it with a religious name and label it as crusade disturbed me the most. I am hard pressed to find a cause that justifies these murderous acts.
However, what followed this was even worse as serial blasts rocked Ahmadabad the next day. I thought the perpetrators of these blasts had succeeded in their motive of terrorizing the mass as I was praying to god to save the next day off any news of more deaths or blasts.
As far as some imbeciles who run this country were concerned, they could do no better than utter those cliches of 'we condemn this heinous, cowardly acts of terror, blah, blah blah'. I hold them as much responsible to this as much as the people who executed this plot. Intelligence failure on our part is the main reason this machination succeeded.
People may call it freedom struggle, revolution or even fight against oppressive powers. Nothing can justify these acts of terror. May god bless every soul that has suffered because of this violence. A bright sunny morning always dawns after a chilly dark night. Life is really like that.
Regards,
Anirudh.
P.S.
I would like to thank BSNL for repairing my modem, which was out of order for more than a week. Their swift action of redirecting me to numerous telephone numbers, people and offices when I approached them for not taking action on the complaint registered is highly appreciated.
"2 mbps super speed, BSNL is all you need!"
Sunday, July 13, 2008
The 'I do not know nothing in C++' Series - Post 1: Of compiler optimisation and const functions
However, C++ proved to be more than just cin and cout statements and I began to appreciate it even more I learned Oriented Programming in C++. Even though one can learn the so called A-Z of C++ through innumerable online and offline resources, one can not be still sure of its subtleties. C++ will continue to surprise you everyday and will make you wonder 'Oh wow! I did not know that. Where did this come from and how?'. I intend to bring out instances such as these through this series. Hope its fun :-)
Post 1 - Of compiler optimisation and const functions
Compiler Optimisation in Action
As it turns out, the C++ compiler is very intelligent and stingy or as in technical terms, it is optimized. It does not follow the concept of either wasteful or unnecessary spending of resources. This was proved last Friday when I was just checking the .map file of a program (A file containing the function signatures, symbols etc and used by the executables to get the relocation address etc)
The program was something similar to this:
Then, I realized (with the help of a colleague of mine) that the compiler had generated addresses and signatures of only those functions which were used in the program, and not of those which were declared.
The signature of NonVirtualFuncs appear in the map file iff the derObject invokes them, thus providing the most comprehensive proof of static/compile-time optimization.
const Functions
The 'const' keyword is a source of confusions in C++ as its presence in various positions preceding the identifier can mean different things to the compiler. It becomes even more interesting when its used in defining and declaring functions.
A const function of a class ensures that the class methods do not modify the data members of the class. An example of such method declaration is:
This ensures that iNum is not altered by the two functions an generates compiler errors when compiled.
My problem was bigger than this. I had not inherited the function as const in the derived class and hence, I had overloaded the function and not overridden it. I was getting unexpected results for the program shown next:
I scampered for my expected output for half a day around this program, wondering what on earth was happening, before realizing that I had done an overload of the function and had not overridden it.
Finally, I cracked it and concluded that every keyword has its day in C++.
Happy programming to all,
Anirudh