Saturday, November 9, 2013

Modern Times

This story is taken from the Chandamama magazine, a treasure trove of stories and values. They just don’t make books like these nowadays. Of all the wonderful stories I have read there, this one just stayed in my mind. I won’t say anymore. Read this story and judge for yourselves.

A long time back in ancient India, the kingdom of Kushalgadh was ruled by a Maharaja named Vikram Singh. Vikram Singh was an able and just ruler, always keeping the interests of the kingdom and his subjects above his own. Needless to say, Kushalgadh saw great peace and prosperity during his reign and his subjects always remained happy and contended. But despite all his achievements, deep down inside the King always had the nagging doubt whether he was really the ruler the people made him out to be. He was curious to know the conditions of the kingdom before his rule, at the time of his father and his grandfather.

So to satisfy himself, one day he organized a huge gathering of all aged scholars and wise nobles, people who were part of the kingdom before he ascended the throne. He organized a presentation ceremony and rewarded the scholars with lavish presents. In turn, the scholars heaped praises upon the king and blessed him with long life and prosperity. At the end of the ceremony, the King addressed the gathering and put forth the question which was bothering him.

“Esteemed Scholars and Wise men,” he started “I am well and truly honored by your presence and I thank you profusely for taking the trouble of meeting me. I have called this gathering to ask you a question which has been nagging me for quite some time. I am sure that most of you have the answer to it.” He said.

The entire crowd became silent and curiously waited for the King to elaborate further.

“I know that most of you have been in this Kingdom much before my time and have also been witness to the rule of my esteemed father, Maharaja Gopal Singh and his father, my grandfather Maharaja Dushyant Singh before him. I want to know honestly from all of you, since most of you have been witness to both eras: How does my current rule compare to that of my father’s and grandfather's rule? Are my subjects truly happy? Are the conditions in the kingdom during my rule better or worse during that of the previous rule?”

The entire crowd was stunned into silence. Many were wondering how to put the answer as diplomatically as possible. They know that if they praised the rule of one King, it would be like denouncing the rule of the other, tantamount to insulting the ruler himself. The King, for all his virtues was also a man of quick temper. There was no telling what he might do if enraged.

Sensing the uneasiness of the people around him, the King said, “Pray do not hesitate in giving an honest answer. I am asking this question for the good of the Kingdom and all its’s subjects. If there is any shortcoming on my part, anything which I have overlooked, I will be most happy to rectify it to make Kushalgadh a better place.”

Still no one dared reply. There was a palpable tension in the air. Finally the King, exasperated by the long silence shouted in frustration, “IS THERE NO ONE WHO CAN GIVE ME AN HONEST ANSWER?”.

“Excuse me your highness!”, a voice same from the crowd. The one who had spoken was an old man near about ninety years of age. His skin was wrinkled and rough and his back hunched a little. But there was a slight twinkle in his eyes and a smile on his face suggesting that he had seen a lot in life and yet had the zest and enthusiasm to keep going.

Immediately, the King’s eyes lit up with hope. Here was someone who perhaps had the answer to his question.

“Dear Sir”, the King asked the old man, “It seems you have an answer to my doubt. Please speak without fear or hesitation. I assure you your answer will be well received.”

The old man replied in a slow but steady tone “Your Highness, I was born about ninety years back and I have witnessed the rule of three generations, that of your esteemed grandfather and father and now your illustrious self. I might not have the direct answer to your question. But let me narrate my life experiences which might help you to gain some insight.”

The King replied with brimming curiosity, “Please proceed by all means, wise sir.”

The entire hall was wrapped in silence as the old man began.

“My name is Raghav. I was a trader by profession until I retired recently. I was born during your illustrious grandfather’s rule. Now there was another family living next to me who had a boy of the same age as mine. His name was Shyam and soon he and I became great friends. We would play together, go to school together, study and eat together. Our closeness grew and we became more like brothers. Soon, he and I got married one after the other. In time, my wife gave birth to a daughter and a few months later so did Shyam’s wife. Life still continued the same way until one fateful day Shyam called me over to his house. He had not been keeping well for some days. I was shocked to see him looking seriously ill and in poor condition. His eyes were blood red and his body was shivering violently. Concerned, I sat next to him. Slowly, with great effort he managed to speak.

‘Raghav’ he spoke at length, ‘The doctor has spoken. I know for sure now my days are numbered. It is only a matter of a few days before I depart this world.’, he said weakly.

‘Do not speak of such things my friend.’, I replied, distressed. Although I tried to give him hope, deep in my heart I knew he was telling the truth.

‘I have lived a full life and have no desires left. My only worry is for my daughter Nirmala. After I depart she will have no-one to care for her in this world. Raghav, you have been more like a brother to me. Consider this as a dying man’s request. Please take care of Nirmala after I have gone. I have set aside a pile of money for her marriage dowry. As soon as she is of suitable age get her married off to a respectable family. I have nothing more to ask of you. Please do not refuse me.’, he pleaded.

‘Do not worry Shyam. Nirmala is like a daughter to me also. I will make sure she is comfortably settled in life. I will look after her like my own daughter.’, I replied with conviction.

In a few days Shyam died from prolonged illness. His wife, unable to bear the pain of his death went into a coma and herself died a few days after Shyam’s death. True to my word, I adopted Nirmala and took care of her like my own daughter. After she came of age, I got her married off to a boy from a respectable family and gave the couple the money kept aside by Shyam as her dowry.

Some years back, during your illustrious father’s rule, Nirmala visited me. She was now happily married and settled. I was in a slight financial difficulty at that time. Seeing her a thought occured to me. What if I had kept the money given by Shyam for myself and got Nirmala married off to a boy from a poor family? Who would have known? I could have kept the money all for myself. I cursed myself for my honesty. Life went on as usual.

Sometime back, that is recently, under your rule, Nirmala came to visit me in one of her usual routine visits. Even though she had aged and was a now a mother to a daughter herself, she still looked as radiant and beautiful as ever. Seeing her a feeling of lust overtook me. I now cursed myself for letting her go. I felt that I should have kept her as my mistress and used her to satisfy my desires. I could have also used the money for my own personal benefit."

Err.... that is all I have to say your highness.” Raghav concluded a bit sheepishly.

There was pin-drop silence in the crowd as the people slowly gathered the intent of Raghav’s speech. The King himself was slow to react, his face turning into a mask of puzzled expressions. Then, slowly, the truth dawned on him. He rose from his throne and walked over to the old man. There were muted and excited whispers from the crowd.

“That’s done it. The King will surely have his head now”, one noble whispered to another.

“The old fool. He should have kept his mouth shut!”, the other noble whispered back in agreement.

 “I hope my little yarn has not offended you, your highness!”, asked the old man, a bit troubled seeing the King standing in front of him.

The King looked at him for sometime, wearing a serious expression on his face. Then slowly, a smile broke on his countenance. “No my dear Sir. I am not in the least bit offended.”, the King replied gracefully. “Far from it, I am truly grateful. You have really opened my eyes. I have grasped the meaning of what you intended to convey. At the time of my grandfather’s rule, people were hardworking and honest and also had a good sense of moral values and virtues and would live up to their commitments. During my father's rule, the decline had started. People started getting greedy and money-minded, even though their sense of moral values were still intact. And now during my rule, the decline has become absolute. Apart from being greedy, people have also lost their sense of moral values and are slowly getting characterless. I could not have put it in a better way myself. You have killed the snake but have kept the stick intact. Well done Sir!”

Hearing the King’s praise, the entire hall burst out into applause. The King embraced the old man and rewarded him handsomely. Heeding the old man's advice, the King took drastic steps and soon rooted out all moral vices and corruption, setting Kushalgadh on the path to peace and prosperity for the coming generations.


Tuesday, August 20, 2013

Who is your ideal leader?

When you speak of Leaders, who first comes to your mind? Who do you think is an ideal leader? Or to put it in a better way, what qualities do you think an effective Leader should have in him / her? This is a debatable question with lots of different viewpoints. Some say a leader is one who leads by example, someone who inspires his/her team to follow in his/her footsteps by sheer dint of talent and ability. Other say that a true leader should inspire a mix of fear and devotion for himself / herself among his team mates, for only then he/she will be able to command and lead his/her team effectively.

History is filled with leaders who have inspired thousands or even millions of people with their words or actions to achieve huge goals. These ‘leaders’ were not Gods or Goddesses possessing supernatural abilities. On the contrary, they were simple people who possessed a clear vision and by virtue of sheer diligence, charisma, perseverance and doggedness inspired millions to follow in their footsteps. Mahatma Gandhi was a simple man who chose to cover himself with the simplest of clothing. But it was this simplicity which was his greatest weapon. Armed with nothing but a mere walking stick, he soon gained the confidence and trust of the Indian masses and ultimately drove the British out of India. Adolf Hitler, on the other hand was an autocratic leader with extreme views. Even though he was a failure in academics, he was a fiery orator who mesmerized and inspired millions of Germans to take up arms. 

Different leaders have different styles. But if you scratch the surface, you will see that all leaders have common traits:
a)      A clear vision and focus on their goals and targets
b)      A Never say die spirit, determination and energy to achieve their dreams
c)       Toughness to remove any obstacles lying in between.
d)      Respect and admiration of their supporters and team members.

Ok, so coming back to our question, what would you look for in a leader? For me, Steve Waugh and Saurav Ganguly are my idols when it comes to leadership. India is a cricket crazy country. All Indians are cricket fanatics and I am no exception. So I am sure many of you who follow cricket with the same passion as me will agree. Both persons have totally contrasting personalities. Steve Waugh has always been the quiet and introverted type and has often been criticised as someone who does not communicate well enough with his team mates. Saurav Ganguly, on the other hand has been labelled a touch too aggressive and outspoken by the media. Yet, the records of both men speak for themselves. Both persons have carved a niche’ for themselves in the cricketing world with their unique brand of leadership.

  

Steve Waugh was nicknamed the 'Iceman' for his cool and emotionless demeanor on the field and his grace under tight and pressure-filled situations. When he took over captaincy of the Australian side in the late nineties, he had a difficult legacy to uphold. Previous captains Allan Border and Mark Taylor had left behind an enviable record. Maintaining the same winning form was a daunting task in itself. The media had dubbed him an introvert and criticized his silent attitude on and off the field, seriously doubting his leadership capabilities and his ability to communicate with his team mates. But Waugh soon put all those doubts to rest and under his leadership, Australian cricket reached dizzying heights and set standards of excellence so high that even current cricket teams find it near impossible to equal them, leave along surpass them. Under his leadership, Australia won a world record sixteen consecutive test matches (seventeen had it not been for VVS Laxman in Kolkata, 2001). Under his captaincy, Australia bounced back from near elimination in the 1999 cricket world cup and went on to win the tournament. Under him, Australia stamped their authority on world cricket for nearly a decade. By his uncompromising tactics, mental toughness and shrewd cricketing acumen, he forged an unbeatable team comparable to the legendary West Indian team of the seventies led by Clive Lloyd. Waugh was a brilliant tactician and a ruthless adversary, who would not hesitate to use unorthodox tactics and strategies to eliminate the opposition, even though sometimes this caused him to come under some sharp criticism by the media. He never took his place in the side for granted and always came out fighting. He inspired his team mates by instilling a sense of natural pride for their country and their game. When he retired in early 2004, he left behind a legacy which is still spoken about in high regard in today’s cricketing circles. What made Waugh stand out from the rest was his mental toughness and his never say die attitude. Personally, he was not endowed with the brilliance of Tendulkar nor the genius of Lara. But what he did have was the tenacity to keep going even under the most hopeless situation and the guts to follow his heart. In all senses, Steve Waugh was the true leader.




When I think of Saurav Ganguly, there is one particular image which crops up to my mind. India had just defeated England after a thrilling run chase at the finals of the Natwest trophy in 2002. Saurav Ganguly defied all traditions and conditions and did what no Indian had earlier dared to do at Lords. He tore off his T-shirt and waved it furiously, aping Andrew Flintoff's similar behavior back in India. That one scene sums up Saurav's attitude in a nutshell. When Saurav Ganguly(Dada as he was affectionately called by his team-mates) took over as Captain in 2000, Indian Cricket was having more than it's fair share of problems. Sachin Tendulkar had resigned as skipper citing Injury problems and poor form. The Indian team was going through a dip in fortunes, having lost recent test series and one day matches. The media was having a field day criticizing the team’s poor performances. India always had a good record at home, but could not emulate the same success overseas due to various reasons some of them being lack of exposure to bowler friendly pitches usually found abroad, over emphasis on batting and  low mental strength of the team in general to name a few. Morale was at an all-time low and the faith of the Indian public in their cricketing idols was waning. But Saurav changed the mind-set of the team with his aggressive and no nonsense attitude. Under his captaincy, the team regained faith in itself and went on to conquer hurdle after hurdle. India went on to win test series in England, West Indies and Pakistan (the latter coming after a gap of more than a decade) and drew a test series in Australia, which was easily the best test playing team at that point of time. India’s performance also improved in ODI’s. Under Saurav’s stewardship, India won many major ODI tournaments. The most significant achievement for Saurav was leading India to the finals of the 2003 cricket world cup after a superb run in the qualifying rounds. Even though they were outplayed by Australia in the finals, they won the hearts of cricketing fans with their superb all round performance. Saurav changed the traditional Indian defensive mind-set with his aggressive attitude. He promoted new talent but at the same time supported the seniors in his team. He always backed himself and his decisions under extreme pressure which ultimately paid dividends. His decision to promote VVS Laxman to the number three slot in the 2001 Eden Gardens test match proved to be crucial as it stopped the Aussies winning streak. India went on to win the test match and the test series. Even though the latter half of Saurav's cricketing days were dotted with various controversies including match-fixing allegations and disputes with coach Greg Chappell, no-one can take the credit away from a glittering career and extra-ordinary leadership abilities that put India back firmly on the world cricketing map and helped in regaining the confidence of the Indian cricket fans. With his gifted cricketing brain and his all-conquering attitude, Saurav Ganguly will always be one of India’s greatest cricketing captains and a leader in every sense.

Monday, June 17, 2013

Which is better: Manual or Automation testing?



This is a very interesting topic which has been debated endlessly ever since the evolution of Software Testing and more so in recent times, as Software QA and testing has gained more prominence.

Let me first start by demystifying the myth about Automation testing. Many people have the misconception that Automation gets the work done faster than manual, hence it is better. The truth is far from it. While Automation definitely has its advantages and can reduce time and improve productivity, it is in no way an effective replacement for manual testing.

Any Software, big or small has to go through one round of manual testing as a minimum (or more as the situation demands). Manual testing requires domain knowledge, thorough technical grounding and good testing instincts with creativity to spot bugs early on as a minimum. Only after the functionality has been ascertained and the application stable can we proceed with automation. And also, there are certain areas which cannot be effectively tested by Automation testing.

That said and done, in todays’ testing scenario, given the complex nature and strict timelines needed to deliver top quality applications, we cannot afford to ignore automation at all. We would be doing so at our own peril. Automation can help us perform repetitive and complex tasks faster and safer leading to greater productivity. Automation also helps to reduce the load on manual testing giving testers more time to do some exploratory testing on the product, in turn leading to higher product quality. Automation has been used extensively and effectively in tasks involving high degree of repetition and complexity such as regression testing, cross browser testing, loads and stress testing etc. To put it in Industrial terms, manual testing can be compared to the initial design and testing of any product in a factory such as an automobile. Automation can come later and can help in performing tasks repetitive and time consuming tasks faster such as assembly, spray painting etc.

In a nutshell a complete tester / test manager / lead would be one who has a good understanding of automation tools as well as emphasizes the importance of manual testing. Manual testing would be like laying the basic platform for good and robust software of excellent quality and Automation can help us build on that and improve our delivery timelines and overall product quality by leaps and bounds. As the complexity and size of software grows, the more intermingled and important both will become.

Sunday, March 17, 2013

Score One for the Indian Foreign Policy

Dear Leaders of our nation,

I wish to congratulate you on the superb diplomacy you have shown by letting two murderers of Innocent Indian Citizens slip away smoothly before your eyes.

On the 15th of February 2012, two Italian Marines aboard an Italian Oil tanker off the coast of Kerala opened unprovoked fire on a harmless fisherman's launch and killed two innocent citizens. The marines claim they had opened fire on what they thought was a "Pirate" Ship. Full credit to the Indian coast guard for chasing them and arresting the culprits in question.

After which, the marines were remanded in Judicial custody until early this month where they requested to return home back to Italy, to vote in the elections. Our magnanimous government, following the saying "Athithi Devo Bhava"(Treat guests / visitors like gods) to the full, allowed them to leave. And predictably, Italy is now refusing to hand them over for trial. Which country will send their citizens back to face murder charges? How much pull and influence does India carry for Italy to bow down under diplomatic pressure and send back the Marines?

This incident reminds me of a story, which, though not connected with the above incident, reflects the current situation very well:

Long ago, in the life and times of Emperor Jalaluddin Mohammad Akbar, the greatest Mughal ruler of ancient India, there once visited an Arabian horse trader with the sole intention of selling his fine Arabian steeds for the Emperors' Royal Stables. It was a known fact those days that Akbar fancied fine horses of various breeds and would spare no expense for procuring the finest specimens. So it was with no great difficulty that the trader was granted an audience with the emperor in the court in the presence of Birbal and other ministers of state.

Akbar was highly impressed with the superior breed and strength of the horses for they were magnificent indeed. In fact, so impressed was he that he immediately offered to buy the horses from the salesman at the asking price.

"These Horses are indeed fine specimens of their breed.", said Akbar. "How much are you selling them for?", he asked the trader.

"Your highness, the asking rate for each Horse would be 200 gold coins each. But I would not dream of taking money from you. Please accept two horses from my collection as a gift from Arabia. But if your highness so wishes, please loan me advance amount for any number of horses you require. I shall procure them for you and hand them over in my next visit", the trader replied.

"That is a noble gesture indeed.", Akbar replied, impressed by the traders gesture. "You will not go unrewarded. Take enough money for 12 such fine horses from my treasurer. Tell him that I have ordered it. Show him my seal.", he said.

The trader, happy at having secured a valuable deal walked off towards the treasury. Birbal, mute witness to the entire conversation now spoke for the first time. "Your Highness," he spoke with dignity. "Do you think it was wise to give the trader the entire amount in advance? We have not verified his credentials yet."


"Nonsense Birbal. You are too suspicious! Look at the fine specimens he has gifted to me. He will return with better specimens now that I have given him the entire amount. Also, this will improve relations between our Kingdom and Arabia." Akbar replied heartily. Birbal, sensing that his King was in no mood to discuss this matter further, kept silent.

A few months passed by. Akbar one day summoned Birbal in his private chambers for a task.

"Birbal", he said "I have a task for you. Only you can do it for me.", he said.

"I shall do my level best, Jahanpanah!", Birbal replied, all agog with curiosity.

" I need a list of all the fools in my kingdom. Scour the entire length and breadth, across all borders and all cities and towns. Take as much time and resources as you require.", Akbar asked.

Birbal replied in the affirmative and set out on his task. A few weeks later, he returned back with a huge sheet in hand.

"Jahanpanah! I have scoured the entire kingdom and have brought the list you desire.", he said proudly as he handed over the sheet to his emperor.

Akbar was pleased as he opened the list. But very soon, his smile turned into a frown as he saw the very first name on the list. It was his very own name "JALALUDDIN MOHAMMAD AKBAR", printed first. He could not believe his eyes. He looked again to make sure his eyes were not deceiving him. Sure enough, it was his name only.

"BIRBAL !!", he roared, his face twisting in rage. "Give me a good reason for this ! If I did not trust you for serving me loyally for so many years, I would have you beheaded this very instant!"

Birbal replied, unruffled and in a soothing tone,"Please compose yourself Jahanpanah, and listen to me carefully. Do you remember the Arabian Horse trader to whom you had so generously donated money for a dozen or so Arabian horses some months back?"

"Yes I do! What of it?", Akbar snapped back irritatedly.

Birbal continued in the same soft and soothing tone. "Jahanpanah! You will remember how I advised you against the deal keeping in mind that his credentials as a valid dealer were not yet established. Yet, your highness, you were too hasty. You were so impressed by the two specimens he gifted to you that you willingly gave him money for twelve such horses, but you only got two for the sum paid. He has not yet returned and as I suspect, he never will."

Akbar was stunned. "By Allah, Birbal! You are right!! Oh what a fool I was to give me all the money in advance. I should have given the money to him after he returned with the horses.", he said, morosely. "But then," he added suddenly with a twinkle in his eye, "What if he returns with the horses as promised?"

"In that case Jahanpanah", Birbal replied calmly, "I will replace your name with his!"

Akbar laughed heartily and rewarded Birbal for his wit.

As in the above story, it can be noted how India and Italy's democracies function.

Will Indian prisoners and undertrials languising in foreign jails be sent to India for similar requests???

Would India have granted Ajmal Kasab the same favour had he requested visiting Pakistan before his appointment with the gallows?

In 1994, an American teenager in Singapore named Michael Faye was caught red-handed spraying paint and painting graffiti on cars and walls. By Singapore's laws, he was sentenced to ten painful strokes of the cane. This soon became a national issue and raised a huge uproar amongst American Citizens who took it as a prestige issue, so much so that President Bill Clinton was asked to intervene. But despite US pressure and international criticism, Singapore did not budge. After much hue and cry, the sentence was reduced to seven strokes, much to the chagrin of the US(many considered this as an insult). Now, if a small country like Singapore could take on the mighty US, I wonder what stops us from protecting the rights of our citizens in our own country.

It's high time that India stops this 'doormat diplomacy' and starts asserting itself in South Asia, sending across a strong message to it's neighbors and detractors.    

It remains to be seen how Italy reacts to India's protests.

Friday, February 15, 2013

My experiments with Project Tiger

It has been my sincerest endeavor since last year to capture the Tiger, India's national animal and a symbol of pride on my Camera. But all my efforts till date have been in vain.

Let me recount my experiences for your benefit.

It all started one fine day, in between the soul-numbing work of office life when the wildlife bug bit me. I had just obtained my most prized toy, my new DSLR. With high hopes and enthusiasm, I went to Nagarhole Sanctuary in April 2011, armed with Camera, Lens and other equipment. But all I could see was a hell of a lot of wild deer, Elephants, Bison and other miscellaneous animals. Sher Khan remained invisible.

Not one to be disappointed easily, a few months later I went to Bhadra tiger reserve near Chikmagalur, Karnataka again with renewed hope in my heart, which soon turned out to be a disappointment as our striped friend still remained in hiding. I was rewarded in that trip though by some good photos of various other animals, some small consolation.

If at first (and in this case second) you don't succeed, try try again as the old maxim goes. And so, twice bitten and third time desperate, this time I slunk off to Bandipur WLS once again with hope and spirit renewed. But ..... same old story. No tiger near or far. Not even a cat.

So finally, to satisfy the wild life photographer in me, I ended up going to the Mysore zoo and took snaps of the Tiger settled comfortably in the cage. Sometimes, I seriously wonder whether the 'There are only 1700 odd tigers left in India' slogan by the Save the Tiger foundation is really true. I do wonder if there are any tigers left in India. Probably, the best place to view them at close range would be the zoo.

Now I'm very much like a wounded Tiger myself and hope to fulfill my dream someday.