A Crazy Language

This crazy language, English, is the most widely used language in the history of our planet. One in every seven humans can speak it. More than half of the world’s books and three quarters of international mail is in English. Of all the languages, it has the largest vocabulary perhaps as many as two MILLION words. Nonetheless, let’s face it, English is a crazy language. There is no egg in eggplant nor ham in hamburger; neither apple nor pine in pineapple. English muffins weren’t invented in England or French fries in France. Sweetmeats are candies while sweetbreads, which aren’t sweet, are meat.

We take English for granted. But if we explore its paradoxes, we find that quicksand can work slowly, boxing rings are square and a guinea pig is neither from Guinea nor is it a pig.

And why is it that writers write but fingers don’t fing, grocers don’t groce and hammers don’t ham? If the plural of tooth is teeth, why isn’t the plural of booth beeth? One goose, two geese. So one moose, two meese?

Doesn’t it seem crazy that you can make amends but not one amend, that you comb thru annals of history but not a single annal? If you have a bunch of odds and ends and get rid of all but one of them, what do you call it? If teachers taught, why didn’t preacher praught? If a vegetarian eats vegetables, what does a humanitarian eat? If you wrote a letter, perhaps you bote your tongue?

Sometimes I think all the English speakers should be committed to an asylum for the verbally insane. In what language do people recite at a play and play at a recital? Ship by truck and send cargo by ship? Have noses that run and feet that smell?

How can a slim chance and a fat chance be the same, while a wise man and wise guy are opposites? How can overlook and oversee be opposites, while quite a lot and quite a few are alike? How can the weather be hot as hell one day and cold as hell another?

Have you noticed that we talk about certain things only when they are absent? Have you ever seen a horseful carriage or a strapful gown? Met a sung hero or experienced requited love? Have you ever run into someone who was combobulated, gruntled, ruly or peccable? And where are all those people who are spring chickens or who would actually hurt a fly?

You have to marvel at the unique lunacy of a language in which your house can burn up as it burns down, in which you fill in a form by filling it out and in which an alarm clock goes off by going on.

English was invented by people, not computers, and it reflects the creativity of the human race (which, of course, isn’t a race at all). That is why, when the stars are out, they are visible, but when the lights are out, they are invisible. And why, when I wind up my watch, I start it, but when I wind up this essay, I end it.

[Unknown source]

Ioanna’s Aisles

During my graduate school years at Syracuse, I used to know Ioanna — a Greek girl of sweet disposition and inexplicable hair. When I met her, she had just moved from her native land of Crete and was only beginning to learn English. So she used to start her sentences with “Eh La Re” and affectionately address all her friends “Malaka” and was generally trying stay afloat in this total English immersion experience that is a small university town in the US of A.

Soon, she found the quirkiness of this eccentric language a bit too much. On one wintry day in Syracuse, Ioanna drove to Wegmans, the local supermarket, presumably looking for feta cheese or eggplants. But she was unable to find it. As with most people not fluent in the language of the land, she wasn’t quite confident enough to approach an employee on the floor for help. I can totally understand her; I don’t approach anybody for help even in my native town. But I digress; coming back to Ioanna at Wegmans, she noticed this little machine where she could type in the item she wanted and get its location. The machine displayed, “Aisle 6.”

Ioanna was floored. She had never seen the word “aisle.” So she fought and overcame her fear of Americans and decided to ask an employee where this thing called Aisle 6 was. Unfortunately, the way this English word sounds has nothing to do with the way it is spelled. Without the benefit of this knowledge, Ioanna asked a baffled and bemused clerk, “Where is ASSELLE six?”

The American was quick-witted though. He replied politely, “I’m sorry, miss. I am asshole number 3; asshole number 6 is taking a break. Can I help you?”

A Parker Pen from Singapore

During the early part of the last century, there was significant migration of Chinese and Indians to Singapore. Most of the migrants of Indian origin were ethnic Tamils, which is why Tamil is an official language here. But some came from my Malayalam-speaking native land of Kerala. Among them was Natarajan who, fifty years later, would share with me his impressions of Netaji Subhash Chandra Bose and the Indian National Army of the forties. Natarajan would, by then, be called the Singapore Grandpa (Singapore Appuppa), and teach me yoga, explaining the mystical aspects of it a bit, saying things like, “A practitioner of yoga, even when he is in a crowd, is not quite a part of it.” I remembered this statement when a friend of mine at work commented that I walked untouched (kind of like Tim Robbins in the Shawshank Redemption) by the corporate hustle and bustle, which, of course, may have been a polite way of calling me lazy.

Anyway, the Singapore Grandpa (a cousin to my paternal grandfather) was quite fond of my father, who was among the first University graduates from that part of Kerala. He got him a Parker pen from Singapore as a graduation gift. Some fifteen years later, this pen would teach me a lesson that is still not fully learned four decades on.

My father was very proud of his pen, its quality and sturdiness, and was bragging to his friends once. “I wouldn’t be able to break it, even if I wanted to!” he said, without noticing his son (yours faithfully), all of four years then with only a limited understanding of hypothetical conditionals of this kind. Next evening, when he came back from work, I was waiting for him at the door, beaming with pride, holding his precious pen thoroughly crushed. “Dad, dad, I did it! I managed to break your pen for you!”

Heart-broken as my father must have been, he didn’t even raise his voice. He asked, “What did you do that for, son?” using the overly affectionate Malayalam word for “son”. I was only too eager to explain. “You said yesterday that you had been trying to break it, but couldn’t. I did it for you!” Rather short on language skills, I was already a bit too long on physics. I had placed the pen near the hinges of a door and used the lever action by closing it to accomplish my mission of crushing it. In fact, I remembered this incident when I was trying to explain to my wife (short on physics) why the door stopper placed close to the hinges was breaking the floor tiles rather than stopping the door.

My father tried to fix his Parker pen with scotch tape (which was called cellophane tape at that time) and rubber bands. Later, he managed to replace the body of the pen although he could never quite fix the leaking ink. I still have the pen, and this enduring lesson in infinite patience.

Two and half years ago, my father passed away. During the ensuing soul-searching, this close friend of mine asked me, “Well, now that you know what it takes, how well do you think you are doing?” I don’t think I am doing that well, for some lessons, even when fully learned, are just too hard to put in practice.

Photo by dailylifeofmojo cc

A Chess Game

When I was a teenager, I used to be pretty good at chess. The highlight of my amateur chess career was in the late eighties when I beat Manuel Aaron, the nine-time Indian national champion and India’s first international master. True, it was only a simultaneous exhibition, and he was playing 32 of us. True, three others also beat him. Still… Even more satisfying than beating the champion was the fact that my friend, whom we lovingly call Kutty, got beaten by Mr. Aaron. To understand why Kutty’s loss was sweeter than my win, we have to go back a few years.

Date – August 1983. Venue – No. 20 Madras Mail. (To the uninitiated — this was a train that took one from my hometown of Trivandrum to Madras. These cities were later renamed to Thiruvananthapuram and Chennai in a moment of patriotic inspiration; but I was away during that time and prefer the older, shorter names.) I was in the train going to my university (IIT, Madras) as a freshman. Unbeknownst to me, so was Kutty, who was sitting across the isle in the car (which we used to call a compartment or a bogie.) Soon we struck up a conversation and realized that we were going to be classmates. Kutty looked like a harmless character — all blinking eyes, thick glasses, easy grins and loud chuckles.MandakOurWing.jpg

Things were going pretty well until he noticed my magnetic chessboard among my stuff. All right, I admit it, I had arranged it so that people would notice it. You see, I was rather proud of this chessboard that my dear father got me as a gift (from a cousin working in the “gulf,” of course). Kutty said, “Oh, you play chess?” He said it almost too casually, in a tone that rings alarm bells these days, thanks to experiences like what soon transpired in that baking oven of a train.

But, young and reckless as I was, I didn’t heed the warning. I used to think a lot of myself those days — a personality trait I haven’t quite outgrown, according to my better half. So I said, equally casually, “Yeah, do you?”

“Yeah, on and off…”

“Want to play a game?”

“Sure.”

After a few opening moves, Kutty asked me (rather admiringly, I thought at that time), “So, do you read a lot of books on chess?” I still remember this clearly — it was right after my fianchetto, and I honestly thought Kutty was regretting his decision to play chess with this unknown master. I think he asked a couple of more questions in the same vein — “Do you play in tournaments?” “Are you in your school team?” and so on. While I was sitting there feeling good, Kutty was, well, playing chess. Soon I found my fianchetto diagonal hopelessly blocked by three of my own pawns, and all my pieces stuck in molasses with nowhere to go. Twenty-odd excruciating moves later, it was I who sincerely regretted exhibiting my chessboard. You see, Kutty was the national chess champion of India, in the sub-junior section.

In our IIT lingo, it was thorough poling, that chess game, much like a lot of the games that followed, for I kept challenging Kutty during the next four years. You see, I have no qualms fighting impossible odds. Anyway, I learned a lot from him. Eventually, I could play blind chess with him without the benefit of a chessboard, as we once did during our one-hour bus ride from Mount Road to IIT after a late-night movie, shouting out things like Nf3 and 0-0 much to the annoyance of the rest of the gang. I remember telling Kutty that he couldn’t make a particular move because his knight was in that square.

Although I remember it that way, it is not likely that I would have seen something Kutty had missed. He could always see a couple of moves deeper and a couple of more variations. I remember another one of our train games, a rare one where I got the upper hand; I declared, impressively, “Mate in 14!” Kutty thought for a minute and said, “Not quite, I can get away after the 12th move.”

Anyway, it was this first embarrassing chess game with Kutty that made his loss to Aaron doubly sweet. Kutty later told me that he had missed a fork, which was why he lost. Well, that may be. But you are not supposed to miss anything. Nothing is unimportant. Not in chess. Not in life.

Photo by soupboy

Dualism

After being called one of the top 50 philosophy bloggers, I feel almost obliged to write another post on philosophy. This might vex Jat who, while appreciating the post on my first car, was somewhat less than enthusiastic about my deeper thoughts. Also looking askance at my philosophical endeavors would be a badminton buddy of mine who complained that my posts on death scared the bejesus out of him. But, what can I say, I have been listening to a lot of philosophy. I listened to the lectures by Shelly Kagan on just that dreaded topic of death, and by John Searle (again) on the philosophy of mind.

Listening to these lectures filled me with another kind of dread. I realized once again how ignorant I am, and how much there is to know, think and figure out, and how little time is left to do all that. Perhaps this recognition of my ignorance is a sign of growing wisdom, if we can believe Socrates. At least I hope it is.

One thing I had some misconceptions about (or an incomplete understanding of) was this concept of dualism. Growing up in India, I heard a lot about our monistic philosophy called Advaita. The word means not-two, and I understood it as the rejection of the Brahman and Maya distinction. To illustrate it with an example, say you sense something — like you see these words in front of you on your computer screen. Are these words and the computer screen out there really? If I were to somehow generate the neuronal firing patterns that create this sensation in you, you would see these words even if they were not there. This is easy to understand; after all, this is the main thesis of the movie Matrix. So what you see is merely a construct in your brain; it is Maya or part of the Matrix. What is causing the sensory inputs is presumably Brahman. So, to me, Advaita meant trusting only the realness of Brahman while rejecting Maya. Now, after reading a bit more, I’m not sure that was an accurate description at all. Perhaps that is why Ranga criticized me long time ago.

In Western philosophy, there is a different and more obvious kind of dualism. It is the age-old mind-matter distinction. What is mind made of? Most of us think of mind (those who think of it, that is) as a computer program running on our brain. In other words, mind is software, brain is hardware. They are two different kinds of things. After all, we pay separately for hardware (Dell) and software (Microsoft). Since we think of them as two, ours is an inherently dualistic view. Before the time of computers, Descartes thought of this problem and said there was a mental substance and a physical substance. So this view is called Cartesian Dualism. (By the way, Cartesian coordinates in analytic geometry came from Descartes as well — a fact that might enhance our respect for him.) It is a view that has vast ramifications in all branches of philosophy, from metaphysics to theology. It leads to the concepts of spirit and souls, God, afterlife, reincarnation etc., with their inescapable implications on morality.

There are philosophers who reject this notion of Cartesian dualism. John Searle is one of them. They embrace a view that mind is an emergent property of the brain. An emergent property (more fancily called an epiphenomenon) is something that happens incidentally along with the main phenomenon, but is neither the cause nor the effect of it. An emergent property in physics that we are familiar with is temperature, which is a measure of the average velocity of a bunch of molecules. You cannot define temperature unless you have a statistically significant collection of molecules. Searle uses the wetness of water as his example to illustrate emergence of properties. You cannot have a wet water molecule or a dry one, but when you put a lot of water molecules together you get wetness. Similarly, mind emerges from the physical substance of the brain through physical processes. So all the properties that we ascribe to mind are to be explained away as physical interactions. There is only one kind of substance, which is physical. So this monistic philosophy is called physicalism. Physicalism is part of materialism (not to be confused with its current meaning — what we mean by a material girl, for instance).

You know, the trouble with philosophy is that there are so many isms that you lose track of what is going on in this wild jungle of jargonism. If I coined the word unrealism to go with my blog and promoted it as a branch of philosophy, or better yet, a Singaporean school of thought, I’m sure I can make it stick. Or perhaps it is already an accepted domain?

All kidding aside, the view that everything on the mental side of life, such as consciousness, thoughts, ideals etc., is a manifestation of physical interactions (I’m restating the definition of physicalism here, as you can see) enjoys certain currency among contemporary philosophers. Both Kagan and Searle readily accept this view, for example. But this view is in conflict with what the ancient Greek philosophers like Socrates, Plato and Aristotle thought. They all believed in some form of continued existence of a mental substance, be it the soul, spirit or whatever. All major religions have some variant of this dualism embedded in their beliefs. (I think Plato’s dualism is of a different kind — a real, imperfect world where we live on the one hand, and an ideal perfect world of forms on the other where the souls and Gods live. More on that later.) After all, God has to be made up of a spiritual “substance” other than a pure physical substance. Or how could he not be subject to the physical laws that we, mere mortals, can comprehend?

Nothing in philosophy is totally disconnected from one another. A fundamental stance such as dualism or monism that you take in dealing with the questions on consciousness, cognition and mind has ramifications in what kind of life you lead (Ethics), how you define reality (Metaphysics), and how you know these things (Epistemology). Through its influence on religions, it may even impact our political power struggles of our troubled times. If you think about it long enough, you can connect the dualist/monist distinction even to aesthetics. After all, Richard Pirsig did just that in his Zen and the Art of Motorcycle Maintenance.

As they say, if the only tool you have is a hammer, all problems begin to look like nails. My tool right now is philosophy, so I see little philosophical nails everywhere.

Physics vs. Finance

Despite the richness that mathematics imparts to life, it remains a hated and difficult subject to many. I feel that the difficulty stems from the early and often permanent disconnect between math and reality. It is hard to memorize that the reciprocals of bigger numbers are smaller, while it is fun to figure out that if you had more people sharing a pizza, you get a smaller slice. Figuring out is fun, memorizing — not so much. Mathematics, being a formal representation of the patterns in reality, doesn’t put too much emphasis on the figuring out part, and it is plain lost on many. To repeat that statement with mathematical precision — math is syntactically rich and rigorous, but semantically weak. Syntax can build on itself, and often shake off its semantic riders like an unruly horse. Worse, it can metamorphose into different semantic forms that look vastly different from one another. It takes a student a few years to notice that complex numbers, vector algebra, coordinate geometry, linear algebra and trigonometry are all essentially different syntactical descriptions of Euclidean geometry. Those who excel in mathematics are, I presume, the ones who have developed their own semantic perspectives to rein in the seemingly wild syntactical beast.

Physics also can provide beautiful semantic contexts to the empty formalisms of advanced mathematics. Look at Minkowski space and Riemannian geometry, for instance, and how Einstein turned them into descriptions of our perceived reality. In addition to providing semantics to mathematical formalism, science also promotes a worldview based on critical thinking and a ferociously scrupulous scientific integrity. It is an attitude of examining one’s conclusions, assumptions and hypotheses mercilessly to convince oneself that nothing has been overlooked. Nowhere is this nitpicking obsession more evident than in experimental physics. Physicists report their measurements with two sets of errors — a statistical error representing the fact that they have made only a finite number of observations, and a systematic error that is supposed to account for the inaccuracies in methodology, assumptions etc.

We may find it interesting to look at the counterpart of this scientific integrity in our neck of the woods — quantitative finance, which decorates the syntactical edifice of stochastic calculus with dollar-and-cents semantics, of a kind that ends up in annual reports and generates performance bonuses. One might even say that it has a profound impact on the global economy as a whole. Given this impact, how do we assign errors and confidence levels to our results? To illustrate it with an example, when a trading system reports the P/L of a trade as, say, seven million, is it $7,000,000 +/- $5,000,000 or is it $7,000, 000 +/- $5000? The latter, clearly, holds more value for the financial institution and should be rewarded more than the former. We are aware of it. We estimate the errors in terms of the volatility and sensitivities of the returns and apply P/L reserves. But how do we handle other systematic errors? How do we measure the impact of our assumptions on market liquidity, information symmetry etc., and assign dollar values to the resulting errors? If we had been scrupulous about error propagations of this, perhaps the financial crisis of 2008 would not have come about.

Although mathematicians are, in general, free of such critical self-doubts as physicists — precisely because of a total disconnect between their syntactical wizardry and its semantic contexts, in my opinion — there are some who take the validity of their assumptions almost too seriously. I remember this professor of mine who taught us mathematical induction. After proving some minor theorem using it on the blackboard (yes it was before the era of whiteboards), he asked us whether he had proved it. We said, sure, he had done it right front of us. He then said, “Ah, but you should ask yourselves if mathematical induction is right.” If I think of him as a great mathematician, it is perhaps only because of the common romantic fancy of ours that glorifies our past teachers. But I am fairly certain that the recognition of the possible fallacy in my glorification is a direct result of the seeds he planted with his statement.

My professor may have taken this self-doubt business too far; it is perhaps not healthy or practical to question the very backdrop of our rationality and logic. What is more important is to ensure the sanity of the results we arrive at, employing the formidable syntactical machinery at our disposal. The only way to maintain an attitude of healthy self-doubt and the consequent sanity checks is to jealously guard the connection between the patterns of reality and the formalisms in mathematics. And that, in my opinion, would be the right way to develop a love for math as well.

Your Virtual Thumbdrive

I wrote about DropBox a few weeks ago, ostensibly to introduce it to my readers. My hidden agenda behind that post was to get some of you to sign up using my link so that I get more space. I was certain that all I had to do was to write about it and everyone of you would want to sign up. Imagine my surprise when only two signed up, one of whom turned out to be a friend of mine. So I must have done it wrong. I probably didn’t bring out all the advantages clearly enough. Either that or not many people actually lug their data around in their thumbdrives. So here I go again (with the same, no-so-hidden agenda). Before we go any further, let me tell you clearly that DropBox is a free service. You pay nothing for 2GB of online storage. If you want to go beyond that limit, you do pay some fee.

Most people carry their thumbies around so that they can access their files from any computer they happen to find themselves in front of. If these computers are not your habitual computers (ie, your wife’s notebook, kids’ pc, office computer etc.), the virtual DropBox may not totally obviate the necessity of a real thumbdrive. For random computers, virtual just doesn’t cut it. But if you are a person of habits and shuttle from one regular computer to another, DropBox is actually a lot better than a real USB drive. All you have to do is to install DropBox on all those machines, which don’t even have to be of the same kind — they can be Macs, PCs, Linux boxes etc. (In fact, DropBox can be installed on your mobile devices as well, although how you will use it is far from clear.) Once you install DropBox, you will have a special folder (or directory) where you can save stuff. This special folder/directory is, in reality, nothing but a regular one. Just that there is a background program monitoring it and syncing it magically with a server (which is on a cloud), and with all other computers where you have DropBox installed under your credentials. Better yet, if your computers share a local network, DropBox uses it to sync among them in practically no time.

Here is video I found on YouTube on what DropBox can do for you:

In addition to this file synchronization, DropBox is an offline mirror of your synced files. So if you keep your important files in the DropBox folder, they will survive for ever. This is an advantage that no physical, real thumbdrive can offer you. With real thumbdrives, I personally have lost files (despite the fact that I am fairly religious about regular copies and mirrors) due to USB drives dying on me. With DropBox, it will never happen. You have local copies on all the computers where you have DropBox running and a remote copy on a cloud server.

But you might say, “Ha, that is the problem — how can I put my personal files on some remote location where anybody can look at them?” Well, DropBox says that they use industry-standard encryption that they themselves cannot unlock without your password. I chose to trust them. After all, even if they could decrypt it, how can they troll terabytes of data in random formats in the hope of finding your account number or whatever? Besides, if you are really worried about the security, you can always create a TrueCrypt volume in DropBox.

Another use you can put DropBox to is in keeping your application data synced between computers. This works best with Macs and symbolic links. For instance, if you have a MacBook and an iMac, you can put your address book in your DropBox directory, create a symbolic link from the normal location (in ~/Library/ApplicationData/Mail.app) and expect to see the same address book in both the computers. Similar trick will work with other applications as well. I have tried it with my offline blogging software (ecto) and my development environment (NetBeans).

Want more reasons to sign up? Well, you can also share files with other users. Suppose your spouse has a DropBox of her own, and you want to share some photos with her. This can be easily arranged. And I believe the photos folder in DropBox behaves like a gallery, although I haven’t tested it.

So, if you find these reasons to have a virtual thumbdrive in addition to (or instead of) a real physical one, do sign up for DropBox via any of the million links on this page. Did I tell you that if your friends signed up using your link, you would get 250MB extra for each referral?

Photo by Debs (ò‿ó)♪

Math and Patterns

Most kids love patterns. Math is just patterns. So is life. Math, therefore, is merely a formal way of describing life, or at least the patterns we encounter in life. If the connection between life, patterns and math can be maintained, it follows that kids should love math. And love of math should generate an analytic ability (or what I would call a mathematical ability) to understand and do most things well. For instance, I wrote of a connection “between” three things a couple of sentences ago. I know that it has to be bad English because I see three vertices of a triangle and then one connection doesn’t make sense. A good writer would probably put it better instinctively. A mathematical writer like me would realize that the word “between” is good enough in this context — the subliminal jar on your sense of grammar that it creates can be compensated for or ignored in casual writing. I wouldn’t leave it standing in a book or a published column (except this one because I want to highlight it.)

My point is that it is my love for math that lets me do a large number of things fairly well. As a writer, for instance, I have done rather well. But I attribute my success to a certain mathematical ability rather than literary talent.  I would never start a book with something like, “It was the best of times, it was the worst of times.” As an opening sentence, by all the mathematical rules of writing I have formulated for myself, this one just doesn’t measure up. Yet we all know that Dickens’s opening, following no rules of mine, is perhaps the best in English literature. I will probably cook up something similar someday because I see how it summarizes the book, and highlights the disparity between the haves and the have-nots mirrored in the contrasting lead characters and so on. In other words, I see how it works and may assimilate it into my cookbook of rules (if I can ever figure out how), and the process of assimilation is mathematical in nature, especially when it is a conscious effort. Similar fuzzy rule-based approaches can help you be a reasonably clever artist, employee, manager or anything that you set your sights on, which is why I once bragged to my wife that I could learn Indian classical music despite the fact that I am practically tone-deaf.

So loving math is a probably a good thing, in spite of its apparent disadvantage vis-a-vis cheerleaders. But I am yet to address my central theme — how do we actively encourage and develop a love for math among the next generation? I am not talking about making people good at math; I’m not concerned with teaching techniques per se. I think Singapore already does a good job with that. But to get people to like math the same way they like, say, their music or cars or cigarettes or football takes a bit more imagination. I think we can accomplish it by keeping the underlying patterns on the foreground. So instead of telling my children that 1/4 is bigger than 1/6 because 4 is smaller than 6, I say to them, “You order one pizza for some kids. Do you think each will get more if we had four kids or six kids sharing it?”

From my earlier example on geographic distances and degrees, I fancy my daughter will one day figure out that each degree (or about 100km — corrected by 5% and 6%) means four minutes of jet lag. She might even wonder why 60 appears in degrees and minutes and seconds, and learn something about number system basis and so on. Mathematics really does lead to a richer perspective on life. All it takes on our part is perhaps only to share the pleasure of enjoying this richness. At least, that’s my hope.

Hosting Services

hosting.gifIn today’s world, if you don’t have a website, you don’t exist. Well, that may not be totally accurate — you may do just fine with a facebook page or a blog. But the democratic nature of the Internet inspires a lot of us to become providers of information rather than just consumers. The smarter ones, in fact, strategically position themselves in between the providers and the consumers, and reap handsome rewards. Look at the aforementioned facebook, or Google, or any one of those Internet businesses that made it big. Even the small fries of the Internet, including small-time bloggers such as yours faithfully, find themselves facing web-traffic and stability kind of technical issues. I recently moved from my shared hosting at NamesDirect.com to a virtual private host at Arvixe.com, and even more recently to InMotion. There, I have done it. I have gone and dropped technical jargon on my readers. But this post is on the technical choices budding webmasters have. (Before we proceed further, let me disclose the fact that the links to InMotion in this post are all affiliate links.)

When you start off with a small website, you typically go with what they call “shared hosting” — the economy class of web hosting soltuion. You register a domain name (such as thulasidas.com) for $20 or $30 and look around for a place on the web to put your pages. You can find this kind of hosting for under $10 a month. (For instance, InMotion has a package for as low as $4 a month, with a free domain name registration thrown in.) Most of these providers advertise unlimited bandwidth, unlimited storage, unlimited databases etc. Well, don’t believe everything you see on the Internet; you get what you pay for. If you read the fine print before clicking “here” to accept the 30 page-long terms and conditions, you would see that unlimited really means limited.

For those who have played around with web development at home, shared hosting is like having XAMPP installed on your home computer with multiple users accessing it. Sure, the provider may have a mighty powerful computer, huge storage space and large pipe to the Internet or whatever, but it is still sharing. This means that your own particular needs cannot be easily accommodated, especially if it looks as though you might hog an unfair share of the “unlimited” resources, which is what happened with my provider. I needed a “CREATE TEMPORARY TABLE” privilege for a particular application, and my host said, “No way dude.”

Shared hosting comes in different packages, of course. Business, Pro, Ultimate etc. — they are all merely advertising buzzwords, essentially describing different sizes of the share of the resources you will get. The next upgrade is another buzzword — Cloud Hosting. Here, the resources are still shared. But apparently they reside on geographically dispersed data centers, optimized and scalable through some kind of grid technology. This type of hosting is considered better because, if you run out of resources, the hosting program can allocate more. For instance, if you suddenly have a traffic spike because of your funny post going viral on facebook and digg, the cloud could easily handle it. They will, of course, charge you more, but in the shared hosting scenario, they would probably lock you out temporarily. To me, cloud hosting sounds like shared hosting with some of the resource constraints removed. It is like sharing a pie, but with all the ingredients on hand, so that if you run out, they can quickly bake some more for you.

The “business class” of web hosting is VPS or Virtual Private Server. Here, you have a server (albeit a virtual one) for yourself. Since you “own” this server, you can do whatever you like with it — you have “root” access. And the advertised resources are, more or less, dedicated to you. This is like having a VirtualBox running on your home PC where you have installed XAMPP. The only downside is that you don’t know how many other VirtualBoxes are running on the computer where your VPS is running. So the share of the resources you actually get to enjoy may be different from the the so-called “dedicated” ones. For root access and quasi-dedicated resources, you pay a premium. VPS costs roughly ten times as much as shared hosting. InMotion, for instance, has a VPS package for $40 a month, which is what I signed up for.

VPS hosting comes with service level agreements that typically state 99.9% uptime or availability. It is important to note that this uptime refers, not to your instance of VPS, but to the server that hosts the virtual servers. Since you are the boss of your VPS, if it crashes, it is largely your problem. Your provider may offer a “fully managed” service (InMotion does), but that usually means you can ask them to do some admin work and seek advice. In my case, my VPS started hanging (because of some FastCGI issues before I decided to move to DSO for PHP support so that APC worked — I know, lots of techie jargon, but I am laying the groundwork for my next post on server management). When I asked the support to help diagnose the problem, they said, “It is hanging because your server is spawning too many PHP processes. Anything I can help you with?” Accurate statement, I must admit, but not necessarily the kind of help you are looking for. They were saying, ultimately, the VPS server was my baby, and I would have to take care of it.

If you are real high-flying webmaster, the type of hosting you should go for is a fully dedicated one. This is kind of like the first class or private jet kind of situation in my analogy. This hosting option will run you a considerable cost, anywhere from $200 to several thousands per month. For that kind of money, what you will get is a powerful server (well, at least for the costlier ones of these plans) housed in a datacenter with redundant power supplies and so on. Dedicated hosting, in other words, is a real private server, as opposed to a virtual one.

I have no direct experience with a hosted dedicated server, but I do have a couple of servers running at home for development purposes. I run two computers with XAMPP (one real and one on a VirtualBox on my iMac) or and two with MAMP. And I presume the dedicated-server experience is going to be similar — a server at your beck and call with resources earmarked for you, running whatever it is that you would like run.

Somewhat spread out over shared and VPS hosting is what they call a reseller account. This type of hosting essentially sets you up as a small web hosting provider (presumably in a shared hosting mode, as described above) yourself. This can be interesting if you want to make a few bucks on the side. InMotion, for instance, offers you a reseller package for $20, and promises to look after enduser support themselves. Of course, when you actually resell to your potential customers, you may want to make sure your offering has something better than what they can get directly from the company either in terms of pricing or features. Otherwise, it wouldn’t make much sense for them to come to you, would it?

So there. That is the spectrum of hosting options you have. All you need to do is to figure out where in this spectrum your needs fall, and choose accordingly. If you end up choosing InMotion (a wise choice), I would be grateful if you do so using one of my affiliate links.

Love of Math

If you love math, you are a geek — with stock options in your future, but no cheerleaders. So getting a child to love mathematics is a questionable gift — are we really doing them a favor? Recently, a highly placed friend of mine asked me to look into it — not merely as getting a couple of kids interested in math, but as a general educational effort in the country. Once it becomes a general phenomenon, math whizkids might enjoy the same level of social acceptance and popularity as, say, athletes and rock stars. Wishful thinking? May be…

I was always among people who liked math. I remember my high school days where one of my friends would do the long multiplication and division during physics experiments, while I would team up with another friend to look up logarithms and try to beat the first dude, who almost always won. It didn’t really matter who won; the mere fact that we would device games like that as teenagers perhaps portended a cheerleader-less future. As it turned out, the long-multiplication guy grew up to be a highly placed banker in the Middle East, no doubt thanks to his talents not of the cheerleader-phobic, math-phelic kind.

When I moved to IIT, this mathematical geekiness reached a whole new level. Even among the general geekiness that permeated the IIT air, I remember a couple of guys who stood out. There was “Devious” who also had the dubious honor of introducing me to my virgin Kingfisher, and “Pain” would drawl a very pained “Obviously Yaar!” when we, the lesser geeks, failed to readily follow a his particular line of mathematical acrobatics.

All of us had a love for math. But, where did it come from? And how in the world would I make it a general educational tool? Imparting the love math to one kid is not too difficult; you just make it fun. The other day when I was driving around with my daughter, she described some shape (actually the bump on her grandmother’s forehead) as half-a-ball. I told her that it was actually a hemisphere. Then I highlighted to her that we were going to the southern hemisphere (New Zealand) for our vacation the next day, on the other side of the globe compared to Europe, which was why it was summer there. And finally, I told her Singapore was on the equator. My daughter likes to correct people, so she said, no, it wasn’t. I told her that we were about 0.8 degrees to the north of the equator (I hope I was right), and saw my opening. I asked her what the circumference of a circle was, and told her that the radius of the earth was about 6000km, and worked out that we were about 80km to the north of the equator, which was nothing compared to 36,000km great circle around the earth. Then we worked out that we made a 5% approximation on the value of pi, so the correct number was about 84km. I could have told her we made another 6% approximation on the radius, the number would be more like 90km. It was fun for her to work out these things. I fancy her love for math has been augmented a bit.

Photo by Dylan231