Mokshapath – Snake and Ladder Thursday, May 31 2007 

Snake and Ladder is an ancient Indian game which was brought to west by the British in 1892. It was called Mokshapath meaning Path to Salvation. In sanskrit Moksh=Salvation and Path=Path !!

Let us understand its basics.

The vedic (hindu) belief about life and death is of rebirth. One life form might be reborn as any form of life after its death. A human in this birth might be reborn as an insect in his next birth. A frog in this birth might be reborn as a human in its next birth!

This cycle of life and death and rebirth continues, which is why the vedas say that ’soul never dies’! Depending on how well a soul spends its life doing good things, it can be freed from this cycle of life, death and rebirth and attain Moksha (Probably enter heaven and live happily ever after!).

So the aim of life is to attain this Moksha or Nirvana! Vedas say that it is extremely lucky to be born as a human and that one should not miss this opportunity to get the most out of it. One has to use this to get Moksha where a normal soul (Aatma) gets united with the Universal soul (Paramaatma) and is freed from the cycle of birth and death! There are stories in vedas where even other life forms like animals attained Moksha by their good deeds! So its not limited to humans alone!

Well, these things interest me from a point of enquiry as to what we really are? Where did we come from? What is all that is going on here :-)

In kannada there is a poem which says
‘Allide Nammane Illi bande Summane’
which means ‘My house is out there, I came here just for some time pass’ ;)

Well, another kannada poem says
‘Niddegomme Nitya Marana Edda Sala Naveena Janana’

which means, ‘A daily death every night we sleep, a new birth every morning we get up’! What a wonderful thought!

Coming back to the original topic of Snake and Ladder, this game originated in ancient India and was called ‘Mokshapath’ which means the path of salvation. The ultimate goal of the game was to achieve salvation by reaching the top. Every time a person does a bad deed, he ends up at the snake’s mouth and is demoted in the game of attaining salvation.

Every time a person does a good deed, he ends up at the ladder’s bottom and is promoted upwards in the game of attaining salvation.! The aim of this game was to teach children the basic tenets of hindiusm that lies in the vedas. Good deeds we move up in life. Bad deeds and we move down in life. The ladders represented virtues and snakes vices.

The game was drawn out on a cloth divided into blocks called houses, each representing emotions. For ex: the snake at hinsa (violence) would take one down to mahanarak (great hell) while ladder at Vidyabhyas (education) would take one up to the Shastras (knowledge). The game was played with dices and cowrie-shells.

In the original game, these were the squares where ladder was found to move upwards.

  • 12 was faith
  • 51 was Reliability
  • 57 was Generosity
  • 76 was Knowledge
  • 78 was Asceticism.

Snakes were found at the following squares.

  • 41 was for Disobedience
  • 44 for Arrogance
  • 49 for Vulgarity
  • 52 for Theft
  • 58 for Lying
  • 62 for Drunkenness
  • 69 for Debt
  • 73 for Murder
  • 84 for Anger
  • 92 for Greed
  • 95 for Pride
  • 99 for Lust

1oo was the square of Moksha or Nirvana! The ultimate goal of the game. You win when you reach the 100th square!

The british took this game to England from India in 1892 and called it “snakes and ladders” (which I feel is a rather very uninteresting name, compared to Mokshapath – Path of Nirvana ;-) )

Quotes about India Thursday, May 31 2007 

“We owe a lot to the Indians, who taught us how to count, without which no worthwhile scientific discovery could have been made.”- Albert Einstein

“India is the cradle of the human race, the birthplace of human speech, the mother of history, the grandmother of legend and the great grand mother of tradition.” – American Writer and Humorist Mark Twain

“If there is one place on the face of earth where all dreams of living men have found a home from the very earliest days when man began the dream of existence, it is India.” – French scholar Romain Rolland

“India conquered and dominated China culturally for 20 centuries without ever having to send a single soldier across her border.” – Hu Shih (Former Chinese ambassador to USA, referring to the entry of Buddhism into China. Buddhism was born in ancient India).

So far as I am able to judge, nothing has been left undone, either by man or nature, to make India the most extraordinary country that the sun visits on his rounds. Nothing seems to have been forgotten, nothing overlooked.”- Mark Twain

“In India I found a race of mortals living upon the Earth. but not adhering to it. Inhabiting cities, but not being fixed to them, possessing everything but possessed by nothing.”- Apollonius Tyanaeus, Greek Thinker and Traveller 1st Century AD

“Bear in mind that the commerce of India is the commerce of the world and … he who can exclusively command it is the dictator of Europe.”- Peter the Great of Russia

“Many of the advances in the sciences that we consider today to have been made in Europe were in fact made in India centuries ago.” – Grant Duff, British Historian

“India was the motherland of our race and Sanskrit the mother of Europe’s languages. India was the mother of our philosophy, of much of our mathematics, of the ideals embodied in Christianity… of self-government and democracy. In many ways, Mother India is the mother of us all” – Will Durant, American Historian

“If I am asked which nation had been advanced in the ancient world in respect of education and culture then I would say it was – India” – Max Muller, German Indologist

“In religion, India is the only millionaire …. The One land that all men desire to see and having seen once, by even a glimpse, would not give that glimpse for all the shows of all the rest of the globe combined” – Mark Twain

“Indian cities are prosperous and stretch far and wide. There are many guest houses for travellers. There are hospitals providing free medical service for the poor. The viharas and temples are majestic. People are free to choose their occupations. There are no restrictions on the movement of the people. Government officials and soldiers are paid their salaries regularly. People are not addicted to drinks. They shun violence. The administration provided by the Gupta rulers is fair and just” – Chinese traveller Fa-Hien during the reign of Chandragupta II

“Indians have in general superior endowments in reading, writing and arithmetic than the common people of any nation in Europe.” – Warren Hastings

“It is very important to note that some 2,500 years ago at the least Pythagoras went from Samos to the Ganges to learn geometry…But he would certainly not have undertaken such a strange journey had the reputation of the Brahmins’ science not been long established in Europe…” -Francois Marie Arouet Voltaire, French Philosopher/Writer

Democratic Facts Wednesday, May 30 2007 

Well known democratic fact:
India is the world’s largest democracy with a population of over 1 billion. In other words, one in every six humans on this planet is an Indian!

Averagely known democractic fact:
America, the world’s strongest democracy today was discovered in 1492 AD when european countries sent sailors to discover a sea route to India ! Which is why native americans are called red INDIANS. America was discovered, courtesy INDIA!

Little known democratic fact:
The world’s oldest democracy is Kalinga kindom of the Orissa state of modern India. Kalinga was ruled by elected representatives as long ago as 260 BC when emperor Ashoka of mauryan empire invaded it!

An Indian Wednesday, May 30 2007 

indian.jpg

Ayurveda – The science of longevity Tuesday, May 29 2007 

Ayurveda is the oldest known systems of medicines in the world. As the name suggests has its root in the vedas and means the ’science of longevity’.

It is a completely herbal based medicinal system. Has zero side effects.

More importantly it does not cure any disease independently of the body’s natural immune system. Instead it  helps the body’s immune system become stronger and fight the disease on its own. It aims at curing the cause of the disease instead of the disease itself. The herbal intake provides the necessary raw material required by the body to heal the ailment and to fight the disease.

Which is why you wont find any pain killers in ayurveda. Modern chemical based pain killers like Ibuprofen, Aspirin etc function by blocking the body system which transmits the signals of pain to your brain. It does not actually kill the pain, it only blocks the pain signal transmitting system temporarily. The pain actually still exists, only you dont realise it and the body continues to suffer!

Ayurveda never suggests this temporary pain killing mechanism. Pain is a required mechanism for body to heal and cure things naturally. Pain tells our brain that something is wrong in that part. Remember brain is the main organ that controls our whole body and pain is a mechanism to tell brain that which part needs to be given more attention and cured. Pain killers break off this very fundamental mechanism of body’s self healing natural process. Which is why people get addicted to pain killers as their body weakens more and more. Also other side effects of pain killers long time usage like temporary infertility, liver failure, stomach upset, allergy, drowsiness etc are well known facts.

The herbs used in Ayurveda do not operate against the body’s metabolism, their effect is registered gradually and hence have no side-effects. The constituents of Ayurvedic medicines is largely based on organic matter. The absence of fast registering inorganic compounds which are at times corrosive, contributes to the absence of side-effects in the Ayurvedic medicines.

Caste system is not vedic Tuesday, May 29 2007 

This article has been moved to http://www.hitxp.com/ved/29052007.htm

Speed of light in Rigveda Monday, May 28 2007 

This article has been moved to http://hitxp.com/ved/28052007.htm

KaTaPaYaDi – World’s Oldest Hashing Algorithm Monday, May 28 2007 

This is the world’s most ancient Hashing Algorithm known and as usual has its origin in India.
This is used in lot of ancient sanskrit texts as a hashing technique. Even the Melakartha system of naming ragas in the ancient Indians carnatic music system uses this algorithm!

Here I present the KaTaPaYaDi system.
Each consonant of an Indian language is assigned a number in this Katapayadi system as follows:

क(Ka)=1 ख(Ka)=2 ग(Ga)=3 घ(Ga)=4 ज़(Gnya)=5 च(Cha)=6 छ(Cha)=7 ज(Ja)=8 झ(Ja)=9 अ(Nya)=0
ट(Ta)=1 ठ(Ta)=2 ड(Da)=3 ढ(Da)=4 ण(Na)=5 त(Tha)=6 थ(Tha)=7 द(Dha)=8 ध(Dha)=9 न(Na)=0
प(Pa) =1 फ(Pha)=2 ब(Ba)=3 भ(Bha)=4 म(Ma)=5
य(Ya)=1 र(Ra)=2 ल(La)=3 व(Va)=4 श(Sha)=5 ़़ष(Sha)=6 स(Sa)=7 ह(Ha)=8 ळ(La)=9

Now you can see why this system is called Katapayadi. Ka=Ta=Pa=Ya=1

Suppose we want to hash the word ‘Gurudeva’
The hashing number based on Katapayadi system would be then as follows for ‘Gurudev’

Gu=Ga(is the consonant)=3
Ru=Ra(is the consonant)=2
De=Da(is the consonant)=8
Va=Va(is the consonant)=4

So Gurudeva = 4823

Note the Indian hashes are reversed numbers (from right to left, which is why we reversed it in Step 2 to get the original word) unlike the western hashes which are from left to right! Which is why we have written 4823 and Not 3284. This is natural because this is how we invented the place value system too. from right to left as units, tens, hundreds etc..

Western world failed to understand the basics of Indian mathematics when they learnt it from us, which is why vedic mathematics is faster than western math! Western world started developing generic formulae for calculations while Indian math has specific formulae depending on the type of calculations. So learning Indian math (vedic math) is difficult than western math, but solving problems using Indian math is more easier than using western math (in fact you dont need a pen and paper to solve most problems which is why vedic mathematics is also called mental mathematics!)

Hashing Algorithm in Ancient Indian Music System Monday, May 28 2007 

For those who are from an IT background hopefully you know what a hash means!! Here I present the first known hashing algorithm in the world, which of course is again from ancient India !! Well, we Indians are the world pioneers in Mathematics, as Einstein said ‘We owe a lot to the Indians who taught us how to count’

By the way, I did not discover this algorithm in ancient Indian texts. It is already a well known fact and I am just presenting it here.

OK, So let us refresh what a hash is :-)

A hash is a one way representation of a text in the form of a unique number. The text might be a single word, or a sentence or an entire document! The hashing algorithm converts it into a unique number.

For ex: Say the text is ‘Gurudev’, then the hash of ‘Gurudev’ could be 16478.
OR Say the text is ‘I am an alien’, then the hash of it could be 52848.
A number could be similarly given for an entire paragraph, or a whole document!!

Given a hashing algorithm, the hash number for a given word, sentence, paragraph or document generated using that algorithm will always be the same.

Hashing techniques are used in all software security systems, search engines and hash constructs like HashTable, HashMap etc..

When I say hashing is one way, it means, it is not possible to guess the hashed word or sentence or paragraph or document using the number!! In other words reversing is not possible. Which is why hashing is used to store passwords in databases. So even if somebody takes control of your database, he/she will see only the numbers and cant derive the password out of it!

Even if you know the algorithm, its very difficult to get back the original text and you will have to use brute force method where you try calculating all possible combinations to get back the original text, and this requires a lot of computing power and is practically impossible!!

Hence hashing algorithms are also used in security systems and SSL to encrypt given data like passwords etc. Most popular hashing algorithms are MD5, SHA-1, etc. The entire security system in the IT world today relies on the fact that it is practically impossible with the current computing power available to get back the original text from a hash. Well, quantum computing might change this scenario in the future!

There are however rare collisions possible in hashing algorithms where two different set of text might end up with same hash number. But this is very rare depending on the algorithm, and the chances are like one in 2^60 possibilities etc.

Hashing algorithms are also used in search engines (of course including google) to make search faster. It is always faster to compare numbers than text!!

Coming back to ancient Indian classical music system, the carnatic system as we all know is the world’s most ancient and scientifically the most accurate music system. Hindustani music system is a derivative of carnatic system and is less sophisticated than carnatic. Many people prefer to learn Hindustani than carnatic because Hindustani is easier compared to Carnatic. However, Carnatic is still prevalent in the south Indian states.

Carnatic music system has 72 base ragas. Each raga in Indian music system depicts a mood. Some ragas are suitable to be played during sun rise, some during sunset, some produce a devotional feeling, some produce a romantic feeling, and so on… It is a common misconception that ragas are just a combination of specific notes. There are many other rules for a raga other than the notes specification, like which is a promiment note in that raga, which is a banned note for that raga, the identifier note sequence, etc

Just knowing the keys in a raga doesnt mean that one can claim that he/she knows that raga. Raga is much more than a technical rule! Western composers beware, dont fool people saying you have used a particular raga without knowing what it really is!

Coming back to base ragas in carnatic. Base ragas are the foundations of carnatic raga system and all other thousands of ragas are derived from these base ragas.

A base raga uses 7 major notes of an octave. Let us look at it in terms of a keyboard which will make things easier to understand. We know that an octave consists of 12 keys, i.e 7 white and 5 black.

In carnatic we need Sa, Re, Ga, Ma, Pa, Dha, Ni to form a base raga. Base raga is also called a melakartha raga. So there are 72 Melakarthas in carnatic.

Sa and Pa are constants i.e they have no other possible keys in a raga. See image below. S is Sa and P is Pa

.keybd.jpg

Then For ‘Ma’ we have the third black key and fourth white key. So in a raga either of them could be used as Ma.

For ‘Ri’ and ‘Ga’ we have 4 keys between Sa and Ma.
For ‘Dha’ and ‘Ni’ we have 4 keys after Pa.

Since Ga always comes after Ri, out of the four keys we have 6 possible combinations for Ri-Ga
Suppose the four keys are R1, R2(is same as G1), R3(is same as G2) and G3
Then the six possible combinations are
{R1,G1},{R1,G2},{R1,G3} ,{R2,G2},{R2,G3},{R3,G3}

Similarly for Ni and Dha we have 6 combinations.
{D1,N1},{D1,N2},{D1,N3} ,{D2,N2},{D2,N3},{D3,N3}

So we have 2 combinations for Ma, 6 for Ri-Ga, 6 for Dha-Ni
Totally we have 2×6x6 =72 possible combinations in carnatic system for the base (called Melakartha) ragas.

So each raga has its melakartha number which is 1-72, and then we have the raga name. This is where the hashing algorithm comes into picture.

The hashing algorithm used to name a carnatic raga is called ‘KaTaPaYaDi’ system and using this algorithm, just by knowing the raga name one can calculate the Melakartha number of that raga and all the 7 base keys used in that raga!

Here we present the KaTaPaYaDi system.
Each consonant of an Indian language is assigned a number in this Katapayadi system as follows:

क(Ka)=1 ख(Ka)=2 ग(Ga)=3 घ(Ga)=4 ज़(Gnya)=5 च(Cha)=6 छ(Cha)=7 ज(Ja)=8 झ(Ja)=9 अ(Nya)=0
ट(Ta)=1 ठ(Ta)=2 ड(Da)=3 ढ(Da)=4 ण(Na)=5 त(Tha)=6 थ(Tha)=7 द(Dha)=8 ध(Dha)=9 न(Na)=0
प(Pa) =1 फ(Pha)=2 ब(Ba)=3 भ(Bha)=4 म(Ma)=5
य(Ya)=1 र(Ra)=2 ल(La)=3 व(Va)=4 श(Sha)=5 ़़ष(Sha)=6 स(Sa)=7 ह(Ha)=8 ळ(La)=9

Now you can see why this system is called Katapayadi. Ka=Ta=Pa=Ya=1

Now let us get directly into the Katapayadi hashing algorithm for ragas.

All we need is the first two consonants of the raga name to find the raga number and its keys. NOTE: Any consonant not attached to a vowel has to be ignored.

The steps involved are as follows. Say A and B are the first two consonants in the raga name. Then we proceed as follows:

Step 1: Get the Corresponding number for A and B from the above table as [AB]

Step 2: Reverse this number and there we are. We have got the raga number now!!!

Step 3: Note that we have two possible combinations for Ma i.e M1 and M2. So Melakartha is designed in such a way that all first 36 ragas use M1 and all 37-72 ragas use M2. So, if the Raga number we got in Step 2 is greater than 36 then Ma=M2 else Ma=m1

Step 4: Now we need to find the RG and DN combinations of the Raga. So we have a list of possible combinations for this as
{R1,G1},{R1,G2},{R1,G3} ,{R2,G2},{R2,G3},{R3,G3}
and
{D1,N1},{D1,N2},{D1,N3} ,{D2,N2},{D2,N3},{D3,N3}
Now divide the Raga Number by 6 (Since we have 6 possible combinations)

Step 5: If the remainder is zero:
then DN={D3N3} and Quotient number gives the RG combination number (like if quotient=2 then RG={R1,G2})

Step 6: If the remainder is non zero:
then remainder gives DN combination number and quotient+1 gives the RG combination number

As simple as that!!!

Now let us consider an example:
Consider MayaMalavaGowla Raga – Let us find its Raga Number and all Keys

We have A=Ma and B=Ya
So by looking at the above KaTaPaYaDi table we have A=5 and B=1
So the raga number is 15 and Ma=M1 (Since 15<37)!
Then we divide 15 by 6 we get quotient=2 and remainder=3
Since remainder is non zero, we have DN set as {D1N3} and RG set as {R1G3}!

So MayaMalavaGowla = Sa R1 G3 M1 Pa D1 N3

You can check the Complete Melakartha Raga List here
http://www.hitxp.com/music/carnatic/melakartha.htm and try the above algorithm on your own for other ragas!!

Please note that the above hashing algorithm is not limited only to identifying ragas. It is a common algorithm across many sanskrit texts. When greeks and romans in the west were still wondering how to count using the unscientific roman numerals, Indians were already using hashing algorithms in their works!!

Note the Indian hashes are reversed numbers (from right to left, which is why we reversed it in Step 2 to get the original word) unlike the western hashes which are from left to right!

So if we have to hash TriShooL, we reverse hash it as 356 (not 653). This is natural because this is how we invented the place value system too. from right to left as units, tens, hundreds etc.. Western world failed to understand the basics of Indian mathematics when they learnt it from us, which is why vedic mathematics is faster than western math! Western world started developing generic formulae for calculations while Indian math has specific formulae depending on the type of calculations. So learning Indian math (vedic math) is difficult than western math, but solving problems using Indian math is more easier than using western math (in fact you dont need a pen and paper to solve most problems which is why vedic mathematics is also called mental mathematics!)

The Missing Link Sunday, May 27 2007 

I was thinking something about signal interruption and mobile phones not being allowed on aeroplanes AND the fact that on high altitudes at which planes fly there is no mobile signal available. Towers dont send signals upward! :-)

Then suddenly I got this thought. If that were the case, then how on earth during the 9/11 attacks were passengers from inside the hijacked planes able to call up their near and dear ones before the planes crashed????

So I did some search on the internet to make sure planes in US do not have mobile signal towers on board (In fact they dont have!) and came across this link.

http://www.philipcoppens.com/9-11_1.html

I think the only free media in the world which really digs up into matters and exposes the governemt, is in India. Free press everywhere on the planet, including in America, is just an illusion. Else, why on earth have there been no investigations by the popular mainstream media like CNN in US on this matter?

Next Page »