In programming, one comes across many scenarios which appear like corner cases.

However it is a good practice to note all such corner cases.

Then, it becomes easier and more convenient to implement the code to handle such corner cases.


During the time of Krishnadevaraya, the Vijayanagara Empire reached its peak greatness. Vijayanagara was the most powerful empire in the Indian subcontinent during this time.

The effects of the empire can still be seen today in the form of temples, customs and laws created during this time.

A major part of south India can be said to still live in the shadow of this empire. Many contemporary accounts speak of the splendor of the empire.

Krishnadevaraya had trade relations with most of the major powers of the day, including the Portuguese colonialists.

People of many faiths, including Hindus, Jains, Buddhists, Christians, Jews and Muslims were accommodated in his kingdom.

However, only forty years following his reign, the empire was virtually completely destroyed by an alliance of Bahamani Sultans. Although Krishnadevaraya never lost a battle, he did not ensure that his heirs were competent. He favored his heirs on the basis of attachment instead of competence.

His son-in-law, Aliya Rama Raya, who came to rule the kingdom following three relatively weak rulers proved himself to be decently competent. However, he ignored his enemies unifying into an alliance and blindly trusted his commanders who eventually turned out to be turncoats. At the ripe old age of 80-90 years, Rama Raya led the battle against the Bahamani attack in the battle of Talikota where Vijayanagara suffered a devastating loss. Following this, the Bahamanis brutally destroyed the magnificent capital of Hampi and made off with so much wealth that it is said they spent six months to carry it all away.


The pantheon of history contains innumerable heroes who sacrificed themselves for the sake of others or their countries. Among such stalwarts are Belawadi Mallamma and Maharana Pratap. These two warriors displayed extraordinary courage in the face of immense hardships.

Mallamma, who belonged to the 17th century, assumed the rule of Belawadi after her husband proved to be incompetent. She secured the kingdom and ruled it well with the help of a women’s army. When the army of the great emperor, Shivaji, came to the doorsteps of her kingdom, she fought them off, personally leading the charge. Shivaji was so impressed by her courage that he begged her forgiveness and gave back the kingdom. She was part of the great legacy of woman warriors of Indian history, including Kittur Chennamma, Keladi Chennamma, Lakshmibai, Obavva, Abbakka etc.

Maharana Pratap belonged to an earlier era, during the time of Akbar in the 16th century. He was born to the royal family of Mewar. The Rajputs were a constant thorn in the side of Akbar. Pratap’s father had lost the fortified city of Chittor after a long battle with Akbar. Pratap made it his lifelong goal of reconquering Chittor. In the process, he won back 37 forts and avenged his father’s defeat.


Maintaining a software program written by a set of people who no longer work at a company is a tough proposition for anyone.

This behooves developers to write code that can be easily understood and follows clean coding guidelines.

As the popular saying goes:

Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live.

Presenting ideas

When dealing with technological and business matters, presenting one’s ideas matters.

One needs to use plenty of easy to understand diagrams and graphs.

People of today seem to better grasp ideas presented in such visual forms as opposed to going through a lot of text.

Means of knowing

In establishing any ideas or understanding of the world, one needs to be clear about one’s starting premises and assumptions.

The Indian tradition of philosophy began as a way to a define a practical way of life.

The premises of this philosophy were classified based on what makes sense from a practical standpoint.

  • Direct perception (pratyaksha): this is accepted by all schools of thought
  • Inference, analogy (anumana, upamana): these are accepted by all schools of thought
  • Testimony (shabda): this consists of the Vedas. This is only accepted by the Vedanta and Purva Mimamsa schools. One cannot practically understand all there is to know in a limited time. Accepting the research and studies done by past generations is part of most fields of study. Newton said:

If I have seen further it is by standing on the shoulders of Giants.

– Issac Newton

Sea faring conquerors

Among the many kingdoms in the long history of India, the Cholas were great conquerors and ambassadors of the dharma and Indian culture.

They had a massive naval force with which they sailed to many countries in South East Asia and won many victories.

They established many large temples in India like the Brihadeeshwara temple. Rajendra Chola I also invaded north Indian kingdoms, thus earning him the title of Gangaikonda Chola (he who took the Ganga).


Among the great writers of India in the past century, the name of D. V. Gundappa features prominently. He was a rare combination of limitless talent combined with the utmost humility and forthrightness.

He began as a journalist and, over the course of his life, composed many works of fiction and non-fiction mainly in Kannada and a few in English.

Among his great works include Mankutimmana Kagga, Jeevana Dharma Yoga (Srimad Bhagavad Gita Tatparya) and Jnapaka Chitrashale.

He stood as an example of the lived philosophy. He amply demonstrated that the driving force behind all of Indian philosophy is to solve everyday problems and provide a practical way to live.


In programming, one of the common ways to produce the desired user interface is by filling in templates using some markup languages. These markup languages can be rendered into  a great user friendly format on browsers and other interfaces.


In the long history of India, there have appeared several kings who were highly trained in shastra (multidisciplinary sciences). Traditionally, kings underwent rigorous training in all the shastras.

The Kalyani Chalukya king, Someshvara III, wrote a voluminous encyclopedia in Sanskrit, known as Rajamanasollasa, in which he lists 100 different disciplines to be learned by kings.

Emperor Krishnadevaraya of Vijayanagara was also a prolific author who authored the Amuktamalyada.

In ancient times, many royals contributed to the Upanishads. Buddha himself was born a prince.