Anantha Kumaran random thoughts


Section 80TTA of Income Tax Act allows deduction up to ₹10,000 on the income earned as interest from a savings account. At interest rate for savings account, a principal of ₹ would generate ₹10,000 as interest in a year. The effective amount of interest you would make for the same principal in fixed deposit scheme would differ based on the tax slab (slab 1 - 10%, slab 2 - 20%, slab 3 - 30%) you belong to. You should use fixed deposit scheme as long as the interest rate is higher than , , for slab 1, slab 2 and slab 3 respectively.

Probability behind marriage horoscope

Most of the Indians do arranged marriage. One part of the process is the horoscope matching. The horoscope matching process itself varies based on language, religion, caste, location etc. I am going to dissect one such process which is mainly followed by people in south India. I don’t have much knowledge about horoscope or anything related to astrology, neither do I believe in it. So it is possible that I might have misunderstood some aspects of the process. So take anything I say with a grain of salt. I am using as the main source for the rules.

Porutham is a sub part of the matching process. Each individual porutham projects a specific aspect of a marriage life. For example Dhinam porutham projects the opinion and understanding between the couples in everyday life. There are 8 main poruthams namely Dhinam, Ganam, Mahendra, Rasi, Nadi, Yoni, Rajji and Vedhai. Every porutham need not match to be considered a successful match. A successful match can be succinctly described using boolean operators as

(Dhinam || Ganam) && (Mahendra || Rasi || Nadi) && Yoni && Rajji && Vedhai

There are 27 nakshatras and 12 rasis. A person’s rasi and nakshatra are calculated using their birth date and time. Each porutham can be described as a set of rules.


For each and every day to be a very special day for the couples they must have their match of Dhina porutham. Only this match will eliminate the difference of opinion and misunderstanding between the couples. This match is made as follows:

  1. If a remainder of 2, 4, 6, 8, 9 is obtained when you divide the counting of stars from female’s star to male’s star by 9 then this match is fulfilled.

  2. If the counting from female’s star to male’s star is 2, 4, 6, 8, 9, 11, 13, 15, 17, 18, 20, 22, 26, 27 then this match is fulfilled.

  3. If both male and female are of the same rasi or belong to different Phase of the same star then this match is fulfilled.

  4. If both male and female are of Bharani, Avittam, Sadhayam or Poorattathi stars then this match is not fulfilled. Both having any of the above stars for them should in fact avoid getting married.


There are 3 Ganams as per astrology. They are Deiva Ganam, Manitha Ganam, Ratchasa Ganam. All the stars would definitely fall in any one of the above ganams. This match is viewed especially to arrive at the tolerance level between the couples. If the couples have this match in their horoscope then they will tolerate each other and avoid misunderstandings.

  1. Ashwini, Murugashreedam, Punarpoosam, Poosam, Hastham, Swathi, Anusham, Thiruvonam and Revathi are the stars belonging to Deiva ganam.

  2. Bharani, Rohini, Thiruvadirai, Pooram, Uthiram, Pooradam, Uthiradam, Poorattathi and Uthirattathi are the stars belonging to Manitha ganam.

  3. Karthigai, Aayilyam, Magam, Chittirai, Visakam, Kettai, Moolam, Avittam and Sathayam are the starts belongings to Ratchasa ganam.

A male and a female belonging to the same ganam or even if either belong to deiva ganam and other belong to manitha ganam they can get married.

If the male belong to deiva ganam and the female belong to ratchasa ganam then they do not have gana porutham on the contrary if the female belong to deiva ganam and the male belong to ratchasa ganam then this match is fulfilled.


Mahendra porutham is matched for puthira bakkiyam(blessed with a child). This match will hint the flow of the generations of that particular family.

If the counting from the female star to the male star is 4, 7, 10, 13, 16, 19, 22, 25 then this match is fulfilled.


Rasi porutham is one of the many matches looked for vamsa viruthi and as per few sasthras this match will give all the happiness and the blessings to have a male child for the couples getting married.

If the counting from the female star to the male star

Is above 6 then matching is fulfilled

Is 8 then there is no match

Is 7 then the matching is excellent

Is 2, 6, 8, 12 then there is no match

Is 1, 3, 5, 9, 10, 11 then the matching is ok

Also Kumbam and Simam, Magaram and Kadagam are the rasis that do not match with each other.


This match is being looked for to denote the matching between the blood groups of the male and female. Budhira Bakkiyam for the couples having this match is confirmed.

In general Nadi is divided into three divisions. If both male and female belong to the same Nadi then this match is not full filled. And if both Male and female are of different Nadi then this match is fullfilled.

Paarsuva Nadi - Ashwini, Thiruvathirai, Punarpoosam, Uthiram, Astham, Kettai, Moolam, Sathayam, Puratahi

Madhya Nadi - Barani, Mirugasrisham, Poosam, Puram, Sitthirai, Anusham, Puradam, Avitam, Uthiratathi

Samana Nadi - Karthigai, Rohini, Ayilam, Magam, Swathi, Visakam, Uthiradam, Thiruvonam, Revathi


As per this match each and every star is identified as an animal. This match is not fulfilled if there is a enemity between the yoni(animals). And for fulfillment of this match there should not be enemity between the animals(yoni) matched.

Aswini - 🐴 Male Horse
Baraṇi - 🐘 Male Elephant
Karthikai - 🐐 Female Goat
Rohiṇi - 🐍 Male Snake
Mirugasīridam - 🐍 Female Snake
Thiruvādhirai - 🐶 Female Dog
Punarpoosam - 🐈 Female Cat
Poosam - 🐐 Male Goat
Ayilyam - 🐈 Male Cat
Magam - 🐀 Male Rat
Pooram - 🐀 Female Rat
Uthiram - 🐮 Male Cow
Astham - 🐃 Female Buffalo
Chithirai - 🐯 Female Tiger
Swathi - 🐃 Male Buffalo
Visakam - 🐯 Male Tiger
Anusham - Female Deer
Kettai - Male Deer
Mulam - 🐶 Male Dog
Puradam - 🐵 Male Monkey
Uthirādam - Male Mongoose
Tiruvōnam - 🐵 Female Monkey
Aviṭṭam - 🦁 Female Lion
Sadayam - 🐴 Female Horse
Puraṭṭādhi - 🦁 Male Lion
Uttṛṭṭādhi - 🐮 Female Cow
Revathi - 🐘 Female Elephant

Animals with Enemity

🐍 Snake x Mongoose
🐘 Elephant x 🦁 Lion
🐵 Monkey x 🐐 Goat
Deer x 🐶 Dog
🐀 Rat x 🐈 Cat
🐴 Horse x 🐃 Buffalo
🐮 Cow x 🐯 Tiger


This is the most important match that is looked for while matching the horoscopes. For the persons getting married, even if nine out of ten matches are full filled and if this Rajji porutham is not fulfilled then it is not recommended for them to get married. Our ancestors have given such an importance for this match. Rajju is being divided into five parts.

Siro Rajii - Mirugasrisham, Sitthirai, Avittam

Kanda Rajii
Arohanam - Rohini, Astham, Thiruvonam
Avaraohanam - Thiruvathirai, Swathi, Sathayam

Uthara Rajii
Arohanam - Karthigai, Utharam, Uthradasm
Avaraohanam - Punarpoosam, Visaham, Purattathi

Uuru Rajii
Arohanam - Barani, Pooram, Pooradam
Avaraohanam - Poosam, Anusham, Utthiratathi

Paadha Rajii
Arohanam - Aswini, Magam, Mulam
Avaraohanam - Ayilam, Kettai, Revathi

Matches are looked for in such a way that if the stars of both male and female are not of the same Rajji then the female will lead the life as Dhirka Sumangali.

There are two divisions in the same Rajju like Arohanam and Avaraohanam. There is an opinion that even If the stars of the male and the female are of the same Rajju but belong to Arohanam and Avarohanam then the horoscopes are matched and proceeded for marriage.


This Vethai Porutham denotes the power of Mangalya Kayiru and is one of the basic match that is being looked for. If both male and the female stars are Vethai then this match is not fullfilled and the others have Vethai match.

Ashwini - Kettai
Bharani - Anusham
Karthikai - Visakam
Rohini - Swathi
Thiruvathirai - Thiruvonam
Punarpoosam - Uthiradam
Poosam - Puradam
Ayilam - Moolam
Magam - Revathi
Puram - Uthiratathi
Uthiram - Uthiratathi
Hastham - Sathayam

Above are the stars that do not match with each other. And matching the above stars is not a good match.

Dhinam || Ganam

Mahendra || Rasi || Nadi

(Dhinam || Ganam) && (Mahendra || Rasi || Nadi) && Yoni && Rajii && Vethai

Visualization of Bit Reversal Ring

Bit reversal ring of size z could be defined as the reverse of the binary representation of each number x in the sequence 0 to z - 1.

When the size of the ring is 2n, the reversal just rearranges the numbers in the sequence. It doesn’t remove or introduce any new number to the list.

In the first two visualizations, line represents a interchange and the color of the line represents distance between the two numbers.

Two list of numbers a and b can be said as order equivalent if and only if a[i] < a[j] = b[i] < b[j] for every i and j.

An example would be [1, 5, 3] and [2, 6, 4]. The bit reversal operation preserves some of the order equivalence of sub groups within the ring. Each arch represents a group of numbers after bit reversal operation. Groups with same order share same color. The size of the group increases as you go from top to bottom. The size of the ring (4, 8, 16) increases as you go from left to right.

For example, the ring in the column 2 and row 3 represents the groups (0,4,2), (4,2,6), (2,6,1), (6,1,5), (1,5,3), (5,3,7), (3,7,0), (7,0,4).


You have already invested more than 5 years in your career, it’s going really well, you have started to spend more and more time with your keyboard, churning out good amount of code, then one day you start to feel little discomfort in one of your fingers, but you shrug it off, weeks go by, but the discomfort starts to become irritating, you have to take rest after 5 or 6 hours of typing, days go by, one day you wake up and see a slight inflammation on knuckle, presume it will go away in a day if you give it rest, next day instead of going away, it enlarges, you can’t form a fist without discomfort.

That’s when you realize you have injured your fingers – In most of the cases, you injure the muscles that control the fingers, but you feel the pain around fingers. Panic strikes in, you start to think about your future prospects. What else can you do that doesn’t require you to sit and push buttons continuously for hours at a time. Not many, that pays the same as the current one. You could become a lecturer, teach theory to a group of students where 90% of them would be waiting impatiently for your class to get over, so that they can stop pretending that they are actually listening to whatever you are teaching.

Sad State of Computer Science Department

Except some high profile engineering colleges like IIT, the quality of professors in most of the engineering colleges is pathetic. But this reaches a whole new level in Computer Science department, where a professor who has no idea about the fundamentals of compiler could teach you the compiler course, by dictating whatever is written on the course book, and dodge any questions raised by students by blabbering something irrelevant to the question.

It begs the natural question: why the situation is so bad in CS department compared to others?

The main problem seems to be the demand and supply of computer science professionals — which determines the salary indirectly. The supply is very less compared to the demand, even people with pathetic skill set get a job as a software engineer with a good salary.

Most of the colleges pay peanuts compared to the software industry salary. This may be good enough to attract competent professors in other departments, where there is a huge supply of professionals compared to the demand. But this is definitely not the case in the software industry.

The result is, most of the people who show up for the professor job interviews are the ones who don’t even have the minimal skill set required to get a job in software industry.