Monday, October 17, 2011

Amazing Nainital

This was my second trip to Nainital, and I was expecting a respite from Delhi's heat for 3 days, and not much more. However, this trip turned out to be much better than my expectations. Naini lake is now better maintained now than it was earlier. Also, I got a chance to do lot of pedal boating, and playing air hockey.

Fatboy High Sierra Crucial m4 128GB Kindle Touch 3G, Free 3G + Wi-Fi, 6" E Ink Display - includes Special Offers & Sponsored Screensavers

Thursday, January 13, 2011

Our 2010 Travel destinations

It already is 2011, and I'm posting about 2010 destinations. Seems a bit odd, till I declare that the destinations referred to are the places I visited in 2010 with my wife. It's 2+ years, and we are maintaining the momentum to go to new places with surprising frequency. So here are the destinations:

A) Kotdwar: My mother belongs to this lovely town in Himalayan foothills, and I attended a cousin's wedding in January 2010.
B) Nainital: A beautiful hill town in Uttarakhand. Spent 4 days in April 2010.
C) Ladakh: Week long vacation in beautiful Ladakh in June 2010. Visited highest and second highest motorable roads in world (Khardungla Pass and Changla Pass). Saw the mesmerizing Pangong Lake. Had a tent stay in Nubra valley. visited sand dunes of Hunder. Did biking in vast open roads and rafting in Zanskar and Indus River.
D) Weeklong official trip to USA: Made memorable by numerous walks I took in evenings. This was in September.
E) Hong Kong: Stayed there for a day while returning back to India. Peak Tram, bird park and amazing skyline. Did a lot of shopping. Hong Kong is a shopping paradise.
F) Udaipur: City of lakes and palaces. Liked the Crystal palace. This was in early November.
G) Nepal: Went to celebrate our second anniversary. Visited Kathmandu, Bhaktpur and Nagarkot. Amazing temples and really liked the tastefully decorated Narayanhiti Palace.
H) Munnar and Alleppey (Kerala): Rounded up the year with a weeklong Kerala holiday. Loved both Munnar and alleppey. We were fortunate in choice of hotels in both places. In Munnar, my hotel was on a hillside slope, and had cottages at various heights. In Alleppey, I stayed in a homestay at the intersection of Pamba River and Kollam Canal.

Whew... 2010 was hectic. Goal for 2011 will be to match it in number of places we visit.

Thursday, January 07, 2010

Pune in December

December 2009 destination of travel was Pune, not for tourism, but for PhD thesis defense of my wife at Pune University.

The trip turned out to be fruitful, with my wife earning her PhD degree, and us enjoying memorable time in excellent hotel Bhairavee, and a government guest house. We also watched many episodes of 'Jeeves and Wooster' (with Stephen Fry and Hugh Laurie as lead actors), an excellent adaptation of PG Wodehouse Novels by BBC. BBC and Granada Television have an excellent track record of producing faithful TV versions popular novels. I recommend 'Pride and Prejudice', 'Sense and Sensibility'and 'Sherlock Holmes' to anyone who likes the respective novels.

Tuesday, December 01, 2009

Thoughts on learning/improving skills

When I'm learning a new skill, I need a motivation to keep improving myself. Otherwise, I slip into my comfort zone after some time, and the skill improvement stops. I decided to give a thought to why this happens, and what can be done to remain motivated. More importantly, I thought about what I did to keep myself motivated in the past. Following is the output of the thought process:

  • Improving skills I'm already quite good at: Find a worthy competitor, whom you would be proud to defeat.

I'm an ardent fan of "Age of Empires" series of games, but had played only against computers for long. I considered myself an expert, and comfortably beat computers against heavy odds. Computer players only had hope against me in first 15 minutes, and not after that.

6 years back, when I started playing against online opponents, I started losing many games. Human players showed much more ingenuity, and many times broke into my defenses in pretty advance stages of game. But playing with better competitors took my game to another level, and within weeks, I was sort of reigning champion again :-). In our group of 10, only 1 was my match, and we always had to be in opposite teams (Usually, we played 3 vs 3 or 4 vs 4 games). The games went one sided whenever one of us wasn't playing. We usually started playing at 9-10 pm, and played till well after midnight, and sometimes even till morning.

This continued for few months and then 4 friends intimated that they won't be playing for 2-3 weeks. We didn't know what they were up to, but heard that they were 'training'. After 3 weeks, they said they wanted to play, and this time with both me, and the other strong player in same team. The game started, and our team knew something was different when all players of the other team chose archer civilizations. Our first attack was repelled too easily, and we were forced to go on defense. Maybe we were too surprised, or they were on a vengeance, but after 2 hours of struggle, we surrendered.

The next game saw us evenly pitted. We started on right side of map, and they on left side. We marched from right to upper left, and then from upper left to lower left, but were unable to halt their attacks from left to lower right corner of map. Within 2 hours, we were completely on left side of map, and they on right side. Finally, after another 2 hours or so, our perseverance paid off and we managed to win, but with our pride shattered. I too went on training, my game reached next higher level, and things were back to usual within weeks.

Moral: You need a benchmark to improve against.

  • Improving skills I'm bad at: Haarkar jeetna seekho
There's no pride to defend. So you need some other motivator.

When I want to improve a competitive skill, on which I'm bad, setting myself up against small material losses has proved to be big motivator. I was an acknowledged bad player at TT, and nothing could coax me to improve my game. Then one day, someone had the bright idea of making the losing team pay for evening snacks. Needless to say, this caused any good players to refuse to team up with me. So I had to team up with other bad players, and paid for snacks for few days. I'm not really sure how it happened, but suddenly I found the idea to my advantage. Every snack paid for after losing improved my game one little notch, and I was no longer considered a bad player only after 2-3 weeks. I'm only average now, but at least now people don't shy away from being my partners, and things like, "if you reach 10 points, you win", are the things of the past.

  • Improving non competitive skills:
Set tough, but achievable goals, and measure your success by how much you beat your target. Link the improvement in skill to achievement of some big goal. For example, when wanting to improve my 'Perl' language skills few years back, I decided to do next few small programs in Perl. Some weeks later, I embarked on the task of downloading, extracting and formatting data from a website for use in a project for my wife. After initial frustration of few hours, I found that perl was much more suited for such task than the traditional C++ or Java based programs.

The result: I did the task in less time than I had expected and also learned the Perl programming language.

Wednesday, November 18, 2009

Shimla in November

Continuing the momentum of an outstation trip every month, I went to Shimla for the weekend of 14-15 November. The trip turned out to be fabulous to say the least.

This was a group trip, and there were fifteen of us, including two lovely one year old kids. We went by Kalka mail on night of 'Friday the thirteenth' of November. On reaching the platform, we found out about new McDonald's outlet inside the railway station itself, and had a snacks party even before boarding the train.

Everyone was excited, and we started playing cards in two groups. One game followed another with people refusing to give up and go to sleep. Eventually, we found the train at Kalka at 5 am, with most of us still playing cards (for over 6 hours now). Next, we boarded the Kalka-Shimla toy train (Shivalik Express), which started at 5:30 am.

Weather was very nice. Train engine was having problems and had to stop many times during the journey. But no one was in a hurry. Whenever train stopped, most of the travelers got down, and busied themselves photographing the surroundings.















Breakfast was served at about 10 am, and we finally reached Shimla at about 2 pm, 4 hours behind schedule.

We did not book a hotel in advance, and some of us started the hunt for one, while others settled in the Cafe Coffee Day at Mall Road. I took a quick round of mall road, and found the surroundings extremely beautiful. It seemed as if we were in a European city. We found a cozy hotel, and went to respective rooms, with a promise to go out again in two hours. However, everybody was tired and when I tried calling people at 7 pm, everyone was asleep. So we (me and my wife) decided to go out alone. It was cold and misty, with slight drizzle. Fortunately, we were carrying an umbrella. It was perfectly romantic setting with two of us under a single umbrella sauntering on the Mall Road.




We dined at Himachal Tourism's Ashiana restaurant which has excellent ambiance and location. We returned at about 10 pm, told others about Ashiana, and called it a day.







Next morning, we went again to the Mall road and enjoyed bakery cakes/muffins and brownies at Mall road. 'City Point' has excellent variety of all of these.






Later at about noon, we set out for Kufri and Jakhu Temple. We took some memorable photographs all along the day.



We returned at about 4 pm, had lunch at Ashiana again, and did a photography session at Mall road, before heading for the Toy Train for our return journey. Some memorable pics of the Mall road are below.


Tuesday, October 27, 2009

Helping hands are better than praying lips...

I read the above quotation today in a forwarded mail, and an incident comes to mind...

Few years back, when online train reservation was still not functional in India, I used to go to New Delhi Railway Station reservation office. Even though the office has about 25 counters, the sheer number of customers ensured that it took over an hour to buy any ticket.

Once, when I was in a queue, I heard some commotion at the ticket window. Normally, I do not interfere in any such commotion, but this sounded different. So I requested the gentlemen behind me to remember me so that I can join the queue back, and went to the reservation counter to know what was happening. Turned out that a poor fellow was trying to buy 2 tickets for long distance travel, for which, he was short of about 20 rupees in the total ticket price of about Rs. 1000. He was at the window, confused about what to do next, since people behind were shouting at him to go away from the counter. I asked him for his story, and turned out that his concern was that he was already losing half day wage by spending hours in coming for reservation, and waiting in line. If he needed to go back, get money and wait in queue again, he'll lose his full day wage. He was proposing that the clerk makes the ticket, but keeps it with him, and gives it only on receipt of Rs. 20 the next day. The clerk was refusing, and the fellow was feeling helpless.

Many people were sympathizing with the fellow, but no-one had any real suggestions even though the solution was staring in the face. The poor chap needed 20 bucks. I immediately added Rs. 50 to his small wad of notes, and asked him to buy the ticket. He proceeded, and afterwards came back to me in the queue, trying to return Rs. 30, even though his home was pretty far from the reservation counter. I asked him to use the money to get back home, and rush for his work. Now he wanted my address to send the money back. I just asked him to help some needy person, and I'd consider my money returned.

I'm not a very benevolent person. But when I see someone in trouble, which can be solved by a very small effort from me, I do not hesitate. I am fortunate to have seen more good done than bad in my life, and intend to keep my overall contribution positive to this world.

Just reiterating:

Helping hands are better than praying lips...

Monday, October 19, 2009

My Goa Trips

Goa has always attracted me, and during each visit, I plan to relive the experiences of previous trips. However, in each trip, Goa has something new in store for me, and each visit adds new unforgettable experiences. In summary, I've been to Goa 4 times: 1994, 2005, 2007 and 2009, and each trip has been with a different set of people, each having an important place in my life.

December 1994: My first trip to Goa was with parents and siblings. My father loves to travel, and I've toured much of South India and Himalayas with him. He always prepares the itinerary himself, doesn't books hotel rooms in advance, and plans things on run time. I've inherited many of the traits, enabling me to plan long trips with confidence.

December 2005: This was with my brother and cousin, where we tried to relive many old memories, and went to most Goa beaches, especially the ones on extreme north (Querim/Arambol) and extreme South (Palolem/Betul) etc. We rented bikes, scanned the length and breadth of Goa, visiting places disregarding distances. We started a bit early in morning, and were usually back by 10 pm to our staying place, and hence left with a desire to come back and explore Goan night life.

December 2007: Recreated the magic of 2005 trip with friends. Smarting from the experience of riding bikes for 4 days in 2005, we rented a Maruti Zen this time. This also helped us explore Goa in night. Under strict instructions not to smell, touch or consume alcohol (by yours truly's about to be formed SARKAR), I spent hours watching my friends getting high on spirits, and listening to the excellent live music being played in beach side restaurants that spring up in everywhere in Goa. We also enjoyed many water sports being organized on Colva beach.

September-October 2009: This is the latest, and most adventurous trip I undertook with my SARKAR (also goes by the name of अर्धांगिनी or wife). It was not supposed be so adventurous, but the incessant rains made it so. It did not stop raining for the 5 days we were in Goa. Contrary to my earlier trips, these days, I usually book a Hotel for first one or two days now whenever going on lesiure trips, to avoid initial fuss of finding a SST (sasta/sunder/tikaoo or cheap/lovely/reliable) Hotel. We booked Nizmar Resorts near Calangute beach for two days. This turned out to be an excellent choice, with nice room, good breakfast and well maintained swimming pool. A brief summay of how we enjoyed goa in September/October amidst continuous rains.

1st day: We reached Goa late afternoon, and took a taxi to the resort from the airport. My Sarkar was ready for the beach with her new Crocs shoes. Immediately, we rushed to Calangute beach, played at the beach and made sand castles till sunset. Later, we found an excellent Maruti Zen to rent, and it served us very nicely during the whole trip. It was raining intermittently since the flight touched down, but we were anyways ready to play on beach, and it did not bother us much. Later, we had a nice punjabi dinner and then went to the famous Mambo's disco.

2nd day: We visited Arambol and Mandrem beach on 2nd day. Both of these are amazing beaches, though Arambol has now become polluted to some extent. It was raining, and we played on the beach in rain. Very few people were around. Mandrem beach seemed like it was reserved exclusively for us. Had dinner at a restaurant in Calangute itself. I was getting jealous of my Sarkar's crocs shoes, and she got me a pair at Arambol beach.

3rd Day: It was raining heavily, and the resort pool looked inviting. So spent time there. Sea sometimes gets too rough when it's raining. Checked out of resort, put everything in the rented zen, and went straight to Palolem beach, about 100 km from Calangute. We enjoyed a lot there, and while returning, went to Agonda beach, which again seemed like it had been reserved for us. It became too cloudy to remain at beach as the clouds practically came to the ground level hampering visibility and we found a nice cafeteria full of foreigners on a road near the beach. When the visibility improved again, we went to the beach again, and stayed till late afternoon. Then we started our return to Panjim. We drove through beautiful roads (avoiding highway) though were worried for some time since there was almost no-one in sight for quite a distance. We put the car back on highway at madgaon, and had evening snacks at Monjini's. We'd recommend Monjini's to everyone for snacks, and they are present everywhere in Goa. We went to the Old Goa church (at about 9 pm), and had to contend ourselves with a view from outside, since it had closed for the day. then we wne to another church nearby where an all night vigil was being held. There were about 1500 people present for the service which surprised me because it was already more than 9 pm. After some time, we started for Panjim, bought some famous Goan Cashews and asking directions, found Ginger Hotel in Panjim to spend the night. It was still raining, and hence we had dinner at the Hotel itself, which turned out to be quite good.

4th day: Checked out of Ginger, and went to see Augada fort and Jail. Had brunch at a nice hotel on the way. Roaming through the fort in torrential rains is an experience not to be forgotten soon. The fort is amazingly beautiful, and we walked along the perimeter, taking in the breathtaking views. We decided to visit the Chapora fort as well, and though the car stopped and gave us a scare, it restarted soon, and did not give any further trouble. Chapora fort is at some height and again offers excellent views all around. We enjoyed thoroughly, and returned back to Calangute and took a room in 'Popeye's Lodge'. Spent the evening walking at Calangute beach, and had dinner at Domino's.

5th Day: Reluctantly started packing in morning, and gave back our rented car. Then hired taxi to Madgaon, and caught Rajdhani Express back for home. I was surprised to see the number of families boarding the train. During the trip, we saw very few families at beaches, forts or churches. Most of them must have spent the vacation in their hotel rooms.

PS: Went to Bangalore on an urgent trip for Official work on 10th October for a day. Adding it here since it gave me opportunity to see Bangalore's new Airport.

Friday, September 25, 2009

I'm still Around

I'm writing a new post after really long time. What happened to me?
I fell... in love :-)

In last 3 years, I spent most of my free time with my girlfriend (who now is my wife). She's Bengali, and is presently busy celebrating Durga Puja with her parents. This leaves me with some free time after years. I'll be joining in the celebrations from today evening for next 4 days, but thought about restarting this blog, while I still have some time.

I flattered myself to be a travel loving person, but I realized my potential only during last 1 year or so. This is a direct result of marrying someone who:
a) Understands me better than myself
b) Is a travel freak herself

As a result, we have been to following places in last one year:
A) Munich (She went alone because this was 2 weeks before our marriage, and it was an official trip). I've been to Munich earlier, and she refreshed my memories with her vivid description of the city.
B) Spain - Madrid, Toledo, Cordoba, Sevilla, Granada, Malaga, Torremolinos, Barcelona
This was a two week trip, the most enterprising travel effort from my side, considering that every single detail of trip was planned by me.
C) Kolkata
D) Digha (West Bengal)
E) Rishikesh, Haridwar, Tehri Dam
F) Mussourie, Dhanaulti
G) Dharamshala, Mcleodgunj - Besides the usual charms of Dharamshala, we trekked upto Nadi and Triund, a total of 36 km trek/walk. If I had any doubts about my wife's being a travel freak, they were removed in this trek.
H) Pune, Mumbai
I) Kotdwar, Lansdowne
J) Singapore : I forgot this in my original post!!! How can I forget the Bird Park, the Night Safari, Merlion, Sentosa Island and Orchard Road?
K) Goa

All this happened despite the busy(?) schedules for both of us. Me, someone who did not take any single leave on some years, utilized all of my vacation balance in 1 year.

The hunt is on for the next place to travel to :-)

Monday, March 05, 2007

Loan in 30 seconds...

One of my weakness is that though I have limited desires, but when I want something, I just want it, as fast as possible. I happened to set my eyes on my present bike in Bangalore just 45 days after joining job there. We had deposited 10 months rent as advance for renting a house (Bangalore is like that), and my share in it was already more than my first month's salary, and though I brought some money from parents, I barely had 15K remaining. I hate taking loan from banks, especially when it can be repaid in months, as the overall paperwork to take the loan, and afterwards, when u have repaid the loan is too much for me to handle. So I deliberated for 2-3 days, and then approached a close friend (who was working for a year there) on a Saturday morning. The conversation below is almost exactly as it took place:

Me: I need a favour....
Him: Yup...
Me: I need to borrow money... from you...
Him: How much?
Me: About 35K
Him: Are you joking?
Me: Nope
Him: Ok, chal bank tak.

And that was it... We went to his bank's branch on M G Road, and I got the money. I went to get bike from there, and paid in full for the bike. Next day, I was the proud owner of my bike, and that evening:

Me: Thanks yaar...
Him: Abe gaali mat diya kar... acchi baat nahi hoti...
Me: Thanks really yaar, I hate to go into troubles of taking loan from bank... EMI ka jhanjhat... Isiliye tumse borrow kiya.
Him: No issues... Wapas karne waala hai na?
Me: Hmm... karna hai kya?
Him: Some unprintable words......
Me: Abe gaali mat diya kar... acchi baat nahi hoti...

It's friendships like these which make me realize that I've achieved something in life.

Thursday, March 01, 2007

How to use earned leaves?

A colleague (let's say A) joined back after taking 2 week long leave. On his first day, at lunch table, we shared general updates, and after making sure that everything was fine, the conversation drifted to movies. There were 4 of us, A, B, Me and our Manager.

It turned out that he had seen 3-4 movies during those 2 weeks on his laptop. We software engineers always have few movies on our laptops, and having seen 4 movies in 2 weeks cannot be taken as a negative thing against any software engineer :).

B : "Okay... So that's why you really took those leaves. To watch movies..."
A (bewildered): "Why would I waste my earned leaves to watch movies?"
Me: "Especially when he can see them more comfortably at office, in comfort of AC environment, without wasting a leave"
Manager: "???"
A: "We can watch movies in evenings and nights even on workdays... Why would we waste earned leaves just to watch movies?"
Me: "And if we want not to cash our earned leaves, then they would be used on much better things... like... hmm... travel... and..."
A: "Persuing girls..."
Manager: "I'm not listening..."

Thursday, February 15, 2007

Just a thought...

People sometimes talk about leaving themselves to God, and accept whatever the God has planned for them. I believe that God does have a plan for everybody, but it is up to every person to realize God's wish, and make that plan successful. This reminds me of an old story:

A person (say 'X') had absolute faith in God. One day, the town he lived in was threatened by flood. As his neighbors were leaving for safe places, some came to him and asked him to join them, but he refused saying that God would take care of him. Later that day, as flood water was rising, a stranger in a boat passed by, and offered to take him away to safety. Again, 'X' refused saying that God would take care of him. Finally, as 'X' was drowning in flood waters, an army rescue in a helicopter tried to rescue him, but again he refused to be rescued saying: 'God would save me'. Predictably, 'X' drowned, went to heaven, and happened to meet God. 'X' complained to God about not saving him, even though he maintained absolute faith in God for whole life. God just replied, "Dear son, who do you think sent your neighbors, that stranger in boat and the army rescue team? Even I can do only so much to help someone. The rest is up to that person. You have to meet me halfway to enable me to help you."

Wednesday, February 14, 2007

I'm back!!!

I'm back after a long break. I have been busy with work, travel and miscellaneous other things, and somehow kept postponing writing the next post. To my readers (I fancy that I have some :-) ), all I can say is that it's good to know that someone is waiting for my next post.

Coming to think about waiting, let's decide what is more fun: making someone wait for you, or waiting for someone. Both things have their positive and negative aspects. Some people (read girls :-) ) make it a policy to arrive late for every occasion.

When you are making someone wait, it feels good to know that someone is waiting for you. Maybe you just want to hear : "Do you know how long I've waited?" on finally arriving, which makes you feel loved and cared for. But on the other hand, are you not also wishing to be with that someone as soon as possible? So in effect, this is making 2 people suffer simultaneously, when none should have.

On the other hand, when you are waiting for someone, you keep getting more and more annoyed and restless. But the moment the person you are waiting for appears, the emotional high you get makes the wait worthwhile. Given a choice, you probably will want to wait and get that kick again. At least I will :-)

I went to Darjeeling, Gangtok, Guwahati and Shillong in December for a 9 day trip. Also went to Rishikesh, Haridwar and Mussorie in January for 3 days. Will write about these trips whenever I get some time.

Friday, December 15, 2006

Don't always take words on face value...

This entry is being written more out of a desire to keep the blog alive, as I'm not finding enough time to write a fully original post, and this state will continue for next 2-3 weeks.

So here's a story, and the lesson which one gets from it:

A girl asked a guy if he thought she was pretty... He said: no.

She asked him if he would want to be with her forever... And he said: no.

She then asked him if she were to leave would he cry, and once again he replied with a no.

She had heard enough. As she walked away, tears streaming down her face, the boy grabbed her arm and said: You're not pretty... You're beautiful. I don't want to be with you forever. I need to be with you forever. And I wouldn't cry if you walked away... I'd die...

We need to have enough faith on our dear ones to interpret their words in right context, and not simply take them at face value.

Thursday, November 30, 2006

10 Immutable Laws of Security

Rediscovered 10 Immutable Laws of Security. When designing secure software/systems, it's important to know where to draw the line. For example, it's useless to try to secure a system against an attack which required physical access in the first place. If the attacker has physical access to your system, he can always use a big enough sledgehammer to break any other security you have applied.

Things to consider before switching job...

Software engineers in India are hot commodities in job market (at least till now), and keep getting new job offers. I framed the classical dilemma of whether to switch job as a question to a good friend as a question, and the clarity of the answer simply amazed me. I'm putting it as such (with some grammatical remodeling) for the benefit of others :-)

Question:
You generally like your present job and are getting a salary X (which is ok) and generally work Y (which is comfortable) hours a day. At another company, you are being offerered a salary 1.2-1.3 times X, but you will need to work lot more hours a week.

Answer:
1) If money is one of my priorities in life or if I need to raise some money in little time, then I would take up the job.

2) If I'm not staying with my family and whatever extra time I get each day after leaving from office and on weekends, I find it difficult to spend that time, then I would take the new job.

3) But in case money... or rather extra money... doesn't figure anywhere in my priority list... and also the time I get off the office... I've many things 2 do in that time... then I won't take the new job.

4) Finally, if I'm passionate about doing the work I've been offered to do in the new job... If my heart and soul lies in that work... Then even if it would pay me the same amount but allow me to work extra hours... I'll take up the job...!!!

Wednesday, November 29, 2006

Security cannot be added as an afterthought!!!

Earlier this week, I attended a training on software security. In university days, security concerns in programs were non existent for me, and reflected in programs I designed. This training brought back memories of a first person shooter multi player game (loosely inspired from quake) I created as assignment for Advanced Graphics course. It had a maze like 2 dimensional world, and though players were represented with nice graphics, they were internally represented as spheres, for purpose of calculating damages when they got hit. So if you would shoot at the head of a player in game, nothing would happen to him, since each player's sphere (hitting which damaged it) was centered roughly at it's chest :-).

As stated earlier, no consideration was given to security aspects at all. The clients broad casted the starting location and direction of each bullet fired by them, each client calculated how much damage they had taken from other's bullets, and transmitted this info to the server. Server's main role was to maintain a point count, and deciding where to re-spawn a player when it got killed. Everything worked amazingly well for a week long project.

But as I learnt later, it was a security nightmare. Even if one client is breached, the whole game will go down. A compromised client shooting bullets all over the game world would result in all other players being killed instantaneously, and the compromised client may choose not to report any hits to itself to the server, and hence become invulnerable. My only excuse is, that it was one of the 3 assignments, for one of the 5 courses, in one of the 2 semesters in that year. Later, while learning about software security in professional life, this example immediately came to mind. And the lesson is, security cannot be applied as an afterthought in a software. It has to be taken into account right from the design phase of any project. The security hole I left in the game was a design mistake which could not have been modified without rewriting essentially the whole game, except possibly the graphics engine. In this particular case, one client having being compromised should not have had such adverse effects on all others. If there was a foolproof client authentication scheme, or critical decisions were left to the server, the attackers would need to breach the fiercely protected server to bring down the game, instead of finding and compromising one of the unsuspecting clients.

Friday, November 17, 2006

An incomplete man?

Belgium abolished conscription in 1994. How do I know this, and of what use is this information to anyone? As it turns out, the event had side effects, some of which were entirely unexpected. In my last post, I mentioned conversing with a young Belgian man about European life, on my way from Berlin to Paris (in July 2001). I started talking to him as I was getting bored after listening to songs for hours in bus from Berlin to Paris, and asked him about places to see in Paris. Soon, the conversation moved on to songs we were listening. We exchanged Walkmans, and listened to each other's song for some time, and tried to translate the songs for each other. He was listening to German songs, and me to old Hindi songs.

After some time, the topic of conversation moved to friendship, and I asked him whether he had many friends. This simple question triggered something, and he started crying. I was taken aback for a while, but consoled him, and prompted him to tell me about his problems. Turned out that Belgium abolished conscription in 1994, and this guy was amongst the first ones to benefit i.e., to avoid military training. He was amongst the youngest in his college batch, and most of his peers had started their conscription when the orders to abolish conscription came in. So he was amongst the very few who did not have military training among his peers, and this made him the odd person out. Either his peers avoided him, or if not, most of their conversations were centered about cool things which happened during the military training. Some even suggested that he was an incomplete man without military training, and was not macho enough to remain in their group. Then onwards, he became an introvert, and had very few friends.

One thing to wonder is, this stigma was attached only to the minority who escaped conscription in a year where most people could not avoid it, and not to people in later years, where a vast majority chose not to go for military training. If doing military training is symbol of being a complete man, why don't most people voluntarily go for it? One learns new things every day!!!

Thursday, November 16, 2006

Fall of a tyrant

If you are thinking that I'm going to bore you with any political events, please relax. I have no such intentions. I just happen to remember an amusing incident, where it took just one bold girl to end a tyranny, where many others (including yours truly) had failed, and want to pen it down. This happened long back (in July 2001), when I was a summer intern at a software product company in Berlin. Many fellow interns took a week off the work, and planned to go to Italy. As I love to plan my own itinerary, I was reluctant to join them, and started planning a trip of my own.

Few good friends were interning in Paris at the same time, and I decided to go for a 4 day Paris trip instead of 8 day Italy trip. The only catch was that I was to go alone to Paris. Being a student on budget, I booked a return bus ticket from Berlin to Paris. Our story starts when I boarded the bus from Berlin at about 6 pm on a Friday evening in early July. The bus driver was a jolly fellow, but the conductor was an old woman reminding me immediately of Lalita Pawar. She made it very clear that no soft drinks or eatables would be allowed in bus. Some people, including me tried to convince her about letting us carry soft drinks and snacks with us, but she made everyone put all eatables in hand luggage, with stern instructions not to take them out inside the bus.

The bus started towards Paris, but everyone was unusually silent, as the conductor had rebuffed few people about talking what she considered noisily. The ride was very comfortable, and I passed time listening to my Sony Walkman. At dinner break, I started talking to fellow travelers in general, and eventually found a young man from Belgium to converse with, initially about things to see in Paris, and later about European Life. We resumed journey, and eventually I fell asleep. Early next morning, there was some commotion in the front rows of the bus. Turned out that the conductor had caught a young couple kissing, and was rebuffing the young man, who looked terrified, and was trying to apologize.

It was at that point, that the girl accompanying the boy stood up, and took matters into her hands. She argued with conductor for about 5 minutes, mostly in German, but I could make out that both were pretty angry. By then, all eyeballs were glued on those two. Suddenly the girl thundered (first in English, and then repeated in German): "Does anyone have any problem with me"? No one uttered a word, and the girl, emboldened, bellowed to the conductor lady: "Seems like you are the only one having a problem. Why don't you go and relax"? The conductor looked defeated, went to her seat, and the couple resumed kissing after some hesitation from the boy's side. And that's not the end of story!!! Within 5 minutes, I heard people conversing in louder voices. Few pulled out pastries/snacks from their bags, and several opened soft drink/beer cans. It was as if they had been liberated from a tyrant and wanted to celebrate. I won't debate about who was right and who was wrong here, but the point is, it proved that it only takes 1 person to instill courage in others, and to begin the fall of a tyrant.

PS: My decision not to go to Italy in 2001 turned out to be a good one, and I toured Italy for over a week in summer of 2002, with responsibility of handling most of travel and budgeting plans for the group, which I enjoyed a lot. That trip instilled in me an amazing sense of self confidence, and will be dealt with in a separate longish post.

Wednesday, November 15, 2006

Unstoppable force vs Immovable object

The following dialogue are from British romantic comedy Imagine Me & You. It's the story of a girl (Rachel) who falls in love on her wedding day (to complicate the matters, with another girl (Luce)). Our hero (Hector) had no idea what hit him till almost the very end.

Scene 1:

Rachel's sister: What happens when an unstoppable force meets a immovable object?
Hector: I haven't got a clue, I'm afraid.
Luce: It never happens.
If there's a thing that can't be stopped...
it's not possible for there to be something else which can't be moved, and vice versa.
They can't both exist. You see, "it's a trick question..." is the answer.

Scene 2: (Rachel: on her wedding day with Hector)

They say fairy tales have happy endings, even though the passage can be rough.
But Heck and I were mates and then lovers. And it's been smooth all the way.
Maybe that's a better kind of fairytale.

Scene 3: (Hector letting Rachel go to pursue her true love)

I want you to be happy, but more than anything, I wanted to be the cause of happiness in you. But if I'm not, then I can't stand in the way. What you're feeling, Rachel, is the unstoppable force, which means that I've got to move.

Scene 4: (Hector to Rachel's sister in a crying tone, after she is gone)

I'm trying to do the right thing...
and now I think I should have not...
'cause...
if she'd stayed with me out of guilt,
that would have been fine, wouldn't it?
I mean, wouldn't it?

The manner in which our hero said "I mean, wouldn't it?", made me feel really sorry for him.

Why write this up? Firstly, I liked the movie. Secondly, though the dialogue are very simple, they inter-relate beautifully to convey the following: Love is an unstoppable force, which can move any object, even those considering themselves immovable.

Monday, November 13, 2006

Jim Corbett Trip : A fun filled weekend

On the weekend of 4th and 5th November, I went to Jim Corbett National Park with office colleagues, which turned out to be one of the best weekend trips, with unlimited fun and enjoyment. We were a group of 19 people, 5 couples and 9 bachelors. Only 3 of the original 9 members of leech band were present on this trip, and hence it was dormant. We hired a bus for the whole trip and started at about 12:30 am on 4th November from Noida. Everyone was in great spirits and we talked and joked for two hours after which gradually everyone fell asleep. The bus stopped at Gajraula Bharat Petroleum Company owned Petrol Pump at about 3:30 am, and we saw probably the best maintained highway rest area. The place had nicely maintained landscapes and a nice restaurant, and everything was spanking clean. We had tea and snacks there, and then boarded and fell back to sleep. Finally, we reached Wild Crest Resort near RamNagar at about 8 am. The resort is really good, and I would recommend it to everyone going to Jim Corbett Park.

After breakfast, we played cricket for about 2 hours, and then played some team building games like tug of war. It was during this time that few fellows convinced me to fall from a table backwards during one such team building exercise, with a promise to catch me midway. Needless to say, they had no intention of catching me; I fell, and hurt my back most convincingly. I was out of breath for next 1-2 hours, but fortunately did not sustain any lasting injury (did I tell you that my Guardian Angel has a full time job?), and have learnt an important lesson. I've promised myself to be more careful in trusting people in future. We went to Kosi River near resort sometime after noon time. The water there looked amazing and I had almost fully recovered by then. So I convinced a friend to jump in water with me. The current was quite rapid and cool, but it was not deep, and hence not dangerous. Within 10 minutes, 2 more friends joined, and 4 of us frolicked and enjoyed in river for long.

We had a sumptuous lunch after coming back to resort, and then sprawled in the resort lawn for about an hour. Then few of us went to trekking inside forest with a guide from resort, and had an enjoyable trek in the forest for more than 2 hours. Our guide explained that animals don't attack group of people, and hence it was pretty safe. We saw tiger footprints at several places during the trek, and some other animals, but no tiger. We also overlooked a water hole where animals frequent from a ridge. The original plan was to rest for some time after returning from walk, but what actually happened was that 3 of us went to my cottage, and somehow we started a discussion about latest movies. The discussion moved on to sports, world politics, Indian politics and we do not know how time flew and it was time for bonfire. At about 8 pm, we joined the bonfire, but 5 of the most enthusiastic ones (including yours truly) slipped for open jeep ride at about 8:30 pm. It was a cold full moon night, and we enjoyed an hour long ride standing in an open jeep. We returned at about 9:30, danced for about half hour, had a nice dinner, and went to cottage. Again started discussions about everything under the sun, but I fell asleep at about 11:15 pm, after which, the meeting dispersed, and woke up when my friend shook me at quarter to four on the morning of 5th November. We ran about, woke up everyone, and prodded everyone to get ready ASAP.

We started for the safari to Jim Corbett Park at 4:45 am, as early morning is the best time to see animals in the open, and the Jim Corbett entry gate was about at an hour's drive. We were in open jeeps, and the wind was extremely cold. So unlike the previous night's jeep ride, everyone sat from their standing positions within 5 minutes. We reached Jim Corbett park gate at about 5:45 am, and entered the park near 6 am. Had a nice jeep ride with good natural views, and saw deers, elephants, peacocks, wild boars etc. There was a big watch tower in the forest. It provided a great view of forest all around us, and we saw a pack of deers from the tower. Forest safari in open jeep is a nice experience, with beautiful view of forest. Near a resting place in the forest, there were few deers who have almost become domesticated, and everyone fed them leaves and grass. Returned to resort at 9:15 am, and had a nice breakfast.

After breakfast, we spent some time in our cottages, and then gossiped in lawn till noon (basically waiting for people to assemble), and then went to an old suspension bridge on river Kosi. Had a great time with adventure sports like rappelling and river crossing on rope. I was very excited by rappelling, and did it twice. After this, we prepared a raft from tyre tubes and wooden planks, using bamboo sticks as oars. Had a lot of fun crossing Kosi River in that raft, 2 people at a time. Everyone who tried got wet thoroughly, and it’s an experience worth cherishing. We returned to resort at about 4:15 pm, had a late lunch and started back for Noida at 5:30pm. As soon as the bus started, we started Antakshari, where the bachelor group held the couple's juggernaut for 3 hours, after which everyone settled to their seats. Road to Gajraula was blocked due to some festive occasion, and the bus had to stop at many police check posts, but there were few resourceful people on board, and we kept moving ahead, albeit a bit slowly. We reached Gajraula at 11 pm, had a late dinner, and started for Noida at midnight. Finally, we arrived back at 2:30 am on the morning of 6th November.

We did not see any tiger, but Adventure sports, open jeep travel at night, jungle trekking, frolicking in river, rafting with self made rafts from tyre tubes and wooden planks, bonfire and Antakshari more than made up for that. Another positive aspect is since many of my friends (leech band members :-) ) were not able to make it to the trip, I got a chance to interact more with other people in the office team, and forged some new friendships.