Sunday, December 12, 2004

How to make money by gambling

Inspite of reading lot of bad things about gambling in hindu literature, I developed a liking for gambling. It creates the tension of a India-Australia match which extends to the last ball, instantaneously. This tension is sustained for every round you gamble. The only bad thing about gambling is that at the end of an emotional trauma, you end up losing your hard-earned money. Given the fact that you have to pay for any kind of entertainment, you have to shed some money to gamble too except that the cost is more than other forms of entertainment.
The first time I gambled at a Roulette table, I was all flustered and was constantly looking that the history of numbers that came up previously. I was trying to run thorugh my probability fundamentals and come up with a number which had the highest probability of coming up next (the number which hasn't come up for a long time) . At that time, little did my tiny brain realised that, this formula is totally wrong. There is no formula to calculate which number has the highest probability to occur next on a Roulette table. All the numbers will occur with equal probability. Why does the house display history? to confuse you. Why does the house host free shows? to make you lose more money.
Once I lost a big amount (according to my standards) in that Roulette table, I sat down and did a serious rethinking about my math. To my disbelief, I found out that it was not a 50:50 game. The house always had a definite margin (later came to know this term is called as house margin) when you play, no matter whether you win or lose. After some googling, I came to know the probability theory came into existence because of gambling. A gambling loser, asked his math friend for some tips to win at the gambling table and in reply, his friend, wrote a detailed letter explaining why the loser lost in gambling and why there was no theory on how to win. This was the first form of probability theory. The next time you see someone thinking at the gambling table, reserve some pity for him. Thinking, in gambling will take one no where.
My mother often says, share market is like gambling and you always lose in it. I guess there is more to that statement (I am reminded of Virumandi, where each character narrates only a part of the sequence of events which makes it completely garbled). History in share market makes sense. Most of the shares traded today behaves somewhat in a predictable manner based on its history. I agree that there are some unforeseen (how can one forget Enron or Harshad Metha) circumstances that occur in the market and make it seem more like gambling. But in a long run, if you do your homework properly, equities will pay you more than other forms of investment. So if you want to make money by gambling, then watch others play at a gambling table while you let your learning horses run and collect some information about share market.

Sunday, November 28, 2004

Religion

I was watching Vivek's interview (thanks to Ram, www.public.asu.edu/~rchand1/media.htm) and was surprised by the number of religious questions shot at him. Right from Mr. Sughi Sivam to famous advocates were blaming Vivek for his comedies associated with contemptuous practices of people following hindu religion. The main point of the argument was that even other religions have such drawbacks. Does that make performing such stupid superstious activities right?

What is religion? why do people follow different religion? Given the fact that I flunked many history exams in my junior school (Mrs. Bhagirathi tried all her teaching skills before giving up on me), I don't know much about how it started and actually I don't care to search for an answer. To me religion is a way of abstracting questions that cannot be answered by any living being. We still don't have answers to many questions regarding nature and many of these questions have several religious significance in different religions.

The problem with the abstraction is that the interfaces were not well defined by our forefathers and that is leading to the present day confusion (Doesn't it sound familiar to people who maintain other's code?). Every unknown from A to Z has taken n to the power of 26 forms (where n equals the number of castes in the religion. Please note that I have omitted the sub-caste and sub-sub-caste on purpose to simplify things) in this single class called religion.

Rather than finding a solution to redefine the interfaces (can't be done in a single lifetime) what I think should be done is shun religion altogether. Am I talking atheism? Not at all. I am a firm beleiver in god but not in religion. In a Kamal's movie (Yeah, I am a movie buff. Watched all sorts of crappy movies till date), in which he says you can believe people who say there is no god, you can even believe people who say there is god but never believe people who say they are god. This concept of worshiping people as god has been a core cultural practise in hindu religion for quite sometime now. I guess people like Vivek and Kamal are trying to stop this rather than promote atheism or offend hinduism. I strongly believe there should be a clan called hindu protestants who protest the stupidity going on in the name of religious activities. If someone is offended by reading this, then it was meant to be.

Saturday, November 27, 2004

Marriage

Fresh from attending a marriage ceremony in Houston, I was wondering what it takes to get married. Well, the lucky ones find their better half (why do they say better half? Is there something called worse half? and if they say it to be nicer, why not best half?) very early in their life. For the other group (this group has an outright majority of guys) join the romantically challenged (thanks for the word, Guru) group and keep looking out for the opposite sex.

Funny are the ways people do it though. They advertise in matrimonial websites and make it a trade. When you start reading those trade specifications, you feel a strong sensation in your stomach which slowly develops into a tornado before it comes out of your mouth as laughter. One of the ads says that the bride wants the groom to be earning at least $200 K per annum. Are these people out of their minds? If I were earning that kind of green, I wouldn't marry anyone.

Whatever way you decide to adopt, it is very difficult to make the right decision. Left part of my brain says that there is no factor which can decide who is the right person for you. If you are planning to arrange your marriage, just leave your decision to lady luck. Not so fast says, the right part of brain. There is actually a formula to decide how many girls/boys you have to look before making up your mind.

Let us consider an example. Annamalai, a well qualified engineer wants to look for a future partner (girl. For the thousandth time, he is not gay). Assume he is looking for a girl in the age range of 21 to 25 and also assume he is particularly interested in software engineers who are chettiars. If there are 'n' such girls satisfying his criteria, then he needs to look at n/e (where e = 2.71828) girls before he makes up his mind to marry one among them. Approximately, if n= 270 girls, then he needs to see 100 girls.

This logic comes from the probability theory for making a good assumption of sample space. If you have noticed properly, the above-mentioned logic omits a most important point, that the girl has to agree to marry Annamalai. Without that it doesn't matter even if he sees all the girls. Well, for that matter, if that single point had worked out in my favour, I wouldn't be writing this here.

Monday, October 25, 2004

A Thing of Beauty is Joy Forever

I was forced to work on a small project, which combines voice and data over cell phone network. I was doing this for a trade show and the marketing department was the beneficiary. Things got spiced up when there was just a day left for the show. Marketing wanted me to make the user interface more jazzy and I was insisting on making the project more robust. Needless to say I gave in. I am sure many of my geeky friends would have faced something similar like this. So I ask myself which is better, beauty or performance?
When I code, I really want it to be aligned, readable and simple. I always think my code should make sense to the future generation (people who decompile) and it should be easily understandable to them. There have been innumerable occassions on which I have voted for readability rather than optimization. I guess it is the essence of adapting Java programming over C programming. Psycho Ram and Vivek used to write some weird C code which will make no sense to me. Even after refering many times to K&R, I would still be cranking hard to figure out the logic of the code in the Impact lab. Although it is cryptic, it will work. Work better than my beautifully aligned, easily readable Java code. So again I ask myself which is better, beauty or performance?
If I were (I guess I have used lot of 'I's in this blog) to buy a car, I would defintely want it to be good on gas and sturdy. At the same time, I want it to be attractive and aesthetic. It should have a V6 engine and it should have a spoiler for looks too. I guess I am a typical engineer who doesn't really know what exactly he wants. Do I need beauty or brains? I need both. Alas! this cannot happen in this world. Beauty and brains (you can substitute performance or anything similar to that) do not go hand-in-hand. They are like the demand and supply curve. Scientists and business people have fought endless war over this topic.
If one were to map this same logic to girls (why am I so obsessed with girls that I cannot write a single blog without mentioning something about them) it would hold true cent percent. A small weekend experiment: Go to Besant Nagar beach and sit on the platform on a Saturday or Sunday evening and talk to hmm... let's say 10 girls (ten is a good figure!). First rate their beauty on a scale of 1 to 10 and ask a really difficult question to them (let's say when did India get its indepence). Rate individual answers based on the closeness to the correct date. Now take a graph paper and plot your beauty rating against the answer rating. I bet you would see a nicely drawn demand-supply curve (it is unavoidable not to get reminded of the beauty and Bernard Shaw story).
For the last time, I ask myself which is better, beauty or performance? I don't know. I am sure you too wouldn't have got a good answer after reading this. As my friend Taranga rightly pointed out, I love to beat around the bush!

Sunday, October 17, 2004

Savings account

How to make money? I am sure this will be the question that will not have any definite, straight answer and yet will be asked a lot of times worldwide. Well, I am not going to try and give you an answer here. People try to find answers to this question in many different ways (totally irrelevant: "I am unique just like every one else!". I love this quote). Often, they come up with some mind- boggling, intelligent solutions and keep everything moving. But are they really making money? are they really improving their standards of living?

Let us assume a guy named Annamalai (I haven't seen the Seinfeld episode with the Jewish rabbi) working for a company deposits x% of his income in savings account. Assume he gets around 4% (really high according to US standards) returns on his savings. Malai's mastermind thinks with 4% interest and a safe place for depositing money, a saving's account is the best option to save. How often do masterminds get fooled by the intelligently-framed-words. When I came to US first time, i thought "Discount cabs" are cheaper than other cabs. Malai is no different from me. He was also fooled by then name "saving's account".

Current inflation rate in India is 7.2%. It means your money will be worth 7.2% lesser next year than what you have today. For those dummies like me, if you have $10000 (I always hate it when a number has lot of zeros because I am so scared that I might miss out one or two while counting. Maybe I can give a name to this feeling, Zeronomania or Zerophobia. As everyone can see I am really not creative when it comes to er, well, anything.) and deposit that money in your savings account with 4% return, next year your money value will be 3.2% lesser (assuming the rate of inflation and rate of interest stays same). Isn't it an oxymoron that you end up losing money when you save in a saving's account?

Coming back to the main topic, how to make money? Rather than finding an answer to this question, most of us should try and solve how not to lose money by saving. My advice (why am I giving free advice?) is to invest in other areas, it can be anything like mutual funds, retirement plan, equities, bonds etc. which give you an interest rate equal to or more than the inflation rate. Of course, when you need more returns, the risk increases. People should find a low-risk, decent-returns investment scheme and precisely this is the question we should answer before answering how to make more money.

Statutory warning: Author is not responsible in anyway if Annamalai makes money or loses money after reading the above piece of crap.

Saturday, October 09, 2004

Blog writing

This is my first writing experience. I tried to write a small story for a weekly magazine 5 years back and it was a complete failure. I am not creative, not very good with language nuances, not artistic. Why should I create a blog for myself and write? In general, why do people write blog pages. Why do they take time to write something, which will be read by someone not known to them or not read by anyone at all.

Music is an ocean, its depth has not been measured by any diver. Poetry is like a free-flying bird. Just when you seem to guess where it is heading, it turns at right angles and makes a fool out of yourself. Drama has the power to start a new revolution. If you browse Tamil literature, you will find that there are 64 different types of arts. According to me, if one wants to be an artist, he or she has to be born with the talent. It cannot be grown by going to school or by reading. By doing so it can only be honed. I want to be a musician, I should see the peak of poetry mountain, I want to be an actor who can influence the entire audience. Alas! I am not born as an artist. I am only allowed to enjoy art, not be artistic.

Who cares? If I am not a good singer, I will sing to myself. If I ain't no good orator, I will talk to myself. If I cannot write which can be appreciated by others, I will write a blog.