Unreal Blog http://www.thulasidas.com Perception and Physics. Science and Spirituality. Life and Work. Money and Quantitative Finance. Tue, 18 Oct 2011 23:30:51 +0000 en hourly 1 http://wordpress.org/?v=3.1.3 Accidental Writer http://www.thulasidas.com/2011-10/accidental-writer.htm http://www.thulasidas.com/2011-10/accidental-writer.htm#comments Tue, 11 Oct 2011 12:11:49 +0000 Manoj http://www.thulasidas.com/?p=2158 Continue reading ]]> I consider myself an accidental writer. Despite the modest success I enjoyed as a published writer and a columnist, writing is not where my talents lie. I wrote my first book because I thought I had something important to say. To be sure, I still believe what I said is pretty important for the world to know, and is getting more relevant in the light of the recent discovery of superluminal neutrinos. But when it comes to writing, such a sense of importance is a bit beside the point. A singer is a singer because he has a good voice and adequate singing talent, not because he knows a good song to sing.

This principle holds good in writing as well. It is not so much what you write about, rather how you write it, that makes you a writer. So writing my first book was hard. I had to learn how to write. And here are some writing tips to my fellow accidental writers.

First of all, you have to have a good grasp of grammar — that goes without saying. In fact, it goes beyond the basic subject-predicate, parts-of-speech, sequence-of-tense kind of rules. These run-of-the-mill rules you can pick up from any standard text book, and Chicago Style Manual, etc. What these books leave out, though, are a couple of simple tips in connecting sentences, closing paragraphs, and even chaining chapters into books. Grammar is usually taught and understood as something that applies at a sentence-level, not to collections of sentences that form a paragraph, chapter, articles or a book.

I have to point out a pattern here; the techie in me won’t let it slide. A vocabulary book would teach you some good words, but that is not enough. Basic grammar tells you how to form good sentences using words. How do you put sentences together to make good prose? May be standard writing courses teach you that, but I haven’t taken any, and it came as a revelation to me when I learned these rules (from a Frenchman, as it happened). It is this high-level meta-grammar that I want to share with you here.

With that dramatic and long-winded introduction, let’s sink our teeth into it. All strong sentences have a subject, an object and an action. In that last sentence, for instance, “all strong sentences” would be the subject, “have” is the action, and the list of categories the object. The subject is the topic of the sentence. The subject of the first sentence in the paragraph is the topic of the paragraph.

All right, this post got published by accident just now — I thought I was updating the draft, but hit the publish button instead. Serves me right, I guess, what with the title “Accidental Writer” :-)

Let me try to wrap up quickly here. My last teacher didn’t like rules at all, but what can I say, I’m a techie and I need rules. Rule number one is to stay on the topic. If you open a paragraph with “Mary had a little lamb,” Mary is the topic. The second sentence has to be about Mary, if you are to make a decent paragraph. So you could say, “She went everywhere with her lamb” or “Mary also had a cat.” and so on. That way, you would be staying on the topic of Mary.

The second rule is about how you transition from one topic to the next. It has to happen through the object (or the action). Let me illsutrate: “Mary had a little lamb. It followed her everywhere.” Now the topic has switched to the lamb, and you are free to babble on about the lamb now – like, “It was black in color.” What would be wrong is a paragraph like this, “Mary had a little lamb. It followed her everywhere. It was black in color. Mary also had a cat.” The last sentence abruptly switches the topic back to Mary, and this is not good. In this toy example, you may not find it too jarring, but in more complex, real-life sentences, such a switch may be enough to lose your reader. The reason, I think, is that a transition that breaks my second rule makes your reader work a little harder, his brain gets a bit fatigued, and he interprets this fatigue as a boring style of writing.

I can easily modify my example paragraph to be less damaging. Here it is, “Mary had a little lamb. It was black in color. It followed her everywhere. Mary also had a cat.” I switched the second and third sentences, and now it follows the transition rule and  is a better paragraph, I think.

The third rule is something that every book on writing tells you — avoid passive voice.  Avoid it even when it sounds a bit unnatural. In order to make this rule “mine,” I add a proviso — you can use it when you really cannot find another way of switching topics. Consider this paragraph, “I wrote many articles for a newspaper. One of my articles was noticed by an editor of a magazine, and he contacted me.” The passive voice is not too bad for the second sentence there because it keeps the topic on my articles, and the next sentence is probably about an article I’m going to write for this editor. Slightly better would be, “One of my articles caught the attention of…” or “.. caught the eye of …” It is only slightly better because of the need to use multiple “of’s” — something to avoid according to a later rule we may not have time to get to. Anyway, a much better idea would be to rewrite the whole paragraph.

The fourth rule is to avoid weak sentence beginnings, such as “There is/are…”, “It is…” They are almost like passive voice. They cannot stay on a topic as defined in my first couple of rules. Associated with this rule is the awareness that the beginnings of a sentence (especially the first sentence in a paragraph) are the most effective spots in your article. Don’t squander it with anything weak. Even transitional phrases usually placed at the beginning of sentences (“However,” “On the other hand,” “Therefore,” “For example” etc.) would waste the spot. I, therefore, use the trick I just used in this sentence to move the weaker structure away from the beginning.

Knowing the subtle weakness of certain structures may come in handy in certain situations. You could, for instance,  say to your boss, “There is something wrong with the computer,” or “The computer stopped working,” depending on whether it is you or your annoying co-worker who spilled coffee on it. (By the way, did you see how I moved “for instance” away from the beginning of the sentence? And didn’t move “By the way”? These are not accidents, they are choices.)

Native speakers of the language clearly have an advantage. They follow most of these rules naturally when they speak, I think. They may make use of their naturally assimilated sense of good prose by recording what they want to write and later transcribing it. I’m not a native speaker of English, and my grasp on my own native tongue now is so weak that this trick will never work for me even in my mother tongue. The trick I do use to force myself to revise is to actually write (I mean, using a pen, on a sheet of paper) what I want to say. This way, when I type it in, I have one more revision forced upon me. Revisions are easier on a sheet of paper because you can always see what you are trying to revise — it stays put. On a computer screen, when you cut and paste to move something, it momentarily disappears from your field of vision. Even when you type in new stuff, the rest of the paragraph moves around, and it bothers me.

Unfortunately, this article (the second half of it) didn’t benefit from the physical writing process and might turn out to be a weaker piece for it. I’m relying on my writing skills (cultivated by experience) to get it right. But such reliance on one’s ability is usually misplaced for an accidental writer. You see, despite what the title of this post says, good writing is never an accident.

]]>
http://www.thulasidas.com/2011-10/accidental-writer.htm/feed 0
Risk – Wiley FinCAD Webinar http://www.thulasidas.com/2011-10/risk-wiley-fincad-webinar.htm http://www.thulasidas.com/2011-10/risk-wiley-fincad-webinar.htm#comments Tue, 11 Oct 2011 10:41:32 +0000 Manoj http://www.thulasidas.com/?p=2143 This post is an edited version of my responses in a Webinar panel-discussion organized by Wiley-Finance and FinCAD. The freely available Webcast is linked in the post, and contains responses from the other participants -- Paul Wilmott and Espen Huag. An expanded version of this post may later appear as an article in the Wilmott Magazine.

Continue reading ]]>

This post is an edited version of my responses in a Webinar panel-discussion organized by Wiley-Finance and FinCAD. The freely available Webcast is linked in the post, and contains responses from the other participants — Paul Wilmott and Espen Huag. An expanded version of this post may later appear as an article in the Wilmott Magazine.

What is Risk?

When we use the word Risk in normal conversation, it has a negative connotation — risk of getting hit by a car, for instance; but not the risk of winning a lottery. In finance, risk is both positive and negative. At times, you want the exposure to a certain kind of risk to counterbalance some other exposure; at times, you are looking for the returns associated with a certain risk. Risk, in this context, is almost identical to the mathematical concept of probability.

But even in finance, you have one kind of risk that is always negative — it is Operational Risk. My professional interest right now is in minimizing the operational risk associated with trading and computational platforms.

How do you measure Risk?

Measuring risk ultimately boils down to estimating the probability of a loss as a function of something — typically the intensity of the loss and time. So it’s like asking — What’s the probability of losing a million dollars or two million dollars tomorrow or the day after?

The question whether we can measure risk is another way of asking whether we can figure out this probability function. In certain cases, we believe we can — in Market Risk, for instance, we have very good models for this function. Credit Risk is different story — although we thought we could measure it, we learned the hard way that we probably could not.

The question how effective the measure is, is, in my view, like asking ourselves, “What do we do with a probability number?” If I do a fancy calculation and tell you that you have 27.3% probability of losing one million tomorrow, what do you do with that piece of information? Probability has a reasonable meaning only a statistical sense, in high-frequency events or large ensembles. Risk events, almost by definition, are low-frequency events and a probability number may have only limited practical use. But as a pricing tool, accurate probability is great, especially when you price instruments with deep market liquidity.

Innovation in Risk Management.

Innovation in Risk comes in two flavors — one is on the risk taking side, which is in pricing, warehousing risk and so on. On this front, we do it well, or at least we think we are doing it well, and innovation in pricing and modeling is active. The flip side of it is, of course, risk management. Here, I think innovation lags actually behind catastrophic events. Once we have a financial crisis, for instance, we do a post-mortem, figure out what went wrong and try to implement safety guards. But the next failure, of course, is going to come from some other, totally, unexpected angle.

What is the role of Risk Management in a bank?

Risk taking and risk management are two aspects of a bank’s day-to-day business. These two aspects seem in conflict with each other, but the conflict is no accident. It is through fine-tuning this conflict that a bank implements its risk appetite. It is like a dynamic equilibrium that can be tweaked as desired.

What is the role of vendors?

In my experience, vendors seem to influence the processes rather than the methodologies of risk management, and indeed of modeling. A vended system, however customizable it may be, comes with its own assumptions about the workflow, lifecycle management etc. The processes built around the system will have to adapt to these assumptions. This is not a bad thing. At the very least, popular vended systems serve to standardize risk management practices.

]]>
http://www.thulasidas.com/2011-10/risk-wiley-fincad-webinar.htm/feed 0
What is Unreal Blog? http://www.thulasidas.com/2011-10/what-is-unreal-blog.htm http://www.thulasidas.com/2011-10/what-is-unreal-blog.htm#comments Mon, 03 Oct 2011 11:37:06 +0000 Manoj http://www.thulasidas.com/2011-10/what-is-unreal-blog.htm This post is an expanded version of a Web interview regarding my blog. It attempts to answer the question why I blog. And why one should take philosophy seriously. Seriously!

Continue reading ]]>
Tell us a little about why you started your blog, and what keeps you motivated about it.

As my writings started appearing in different magazines and newspapers as regular columns, I wanted to collect them in one place — as an anthology of the internet kind, as it were. That’s how my blog was born. The motivation to continue blogging comes from the memory of how my first book, The Unreal Universe, took shape out of the random notes I started writing on scrap books. I believe the ideas that cross anybody’s mind often get forgotten and lost unless they are written down. A blog is a convenient platform to put them down. And, since the blog is rather public, you take some care and effort to express yourself well.

Do you have any plans for the blog in the future?

I will keep blogging, roughly at the rate of one post a week or so. I don’t have any big plans for the blog per se, but I do have some other Internet ideas that may spring from my blog.

Philosophy is usually seen as a very high concept, intellectual subject. Do you think that it can have a greater impact in the world at large?

This is a question that troubled me for a while. And I wrote a post on it, which may answer it to the best of my ability. To repeat myself a bit, philosophy is merely a description of whatever intellectual pursuits that we indulge in. It is just that we don’t often see it that way. For instance, if you are doing physics, you think that you are quite far removed from philosophy. The philosophical spins that you put on a theory in physics is mostly an afterthought, it is believed. But there are instances where you can actually apply philosophy to solve problems in physics, and come up with new theories. This indeed is the theme of my book, The Unreal Universe. It asks the question, if some object flew by faster than the speed of light, what would it look like? With the recent discovery that solid matter does travel faster than light, I feel vindicated and look forward to further developments in physics.

Do you think many college students are attracted to philosophy? What would make them choose to major in it?

In today’s world, I am afraid philosophy is supremely irrelevant. So it may be difficult to get our youngsters interested in philosophy. I feel that one can hope to improve its relevance by pointing out the interconnections between whatever it is that we do and the intellectual aspects behind it. Would that make them choose to major in it? In a world driven by excesses, it may not be enough. Then again, it is world where articulation is often mistaken for accomplishments. Perhaps philosophy can help you articulate better, sound really cool and impress that girl you have been after — to put it crudely.

More seriously, though, what I said about the irrelevance of philosophy can be said about, say, physics as well, despite the fact that it gives you computers and iPads. For instance, when Copernicus came up with the notion that the earth is revolving around the sun rather than the other way round, profound though this revelation was, in what way did it change our daily life? Do you really have to know this piece of information to live your life? This irrelevance of such profound facts and theories bothered scientists like Richard Feynman.

What kind of advice or recommendations would you give to someone who is interested in philosophy, and who would like to start learning more about it?

I started my path toward philosophy via physics. I think philosophy by itself is too detached from anything else that you cannot really start with it. You have to find your way toward it from whatever your work entails, and then expand from there. At least, that’s how I did it, and that way made it very real. When you ask yourself a question like what is space (so that you can understand what it means to say that space contracts, for instance), the answers you get are very relevant. They are not some philosophical gibberish. I think similar paths to relevance exist in all fields. See for example how Pirsig brought out the notion of quality in his work, not as an abstract definition, but as an all-consuming (and eventually dangerous) obsession.

In my view, philosophy is a wrapper around multiple silos of human endeavor. It helps you see the links among seemingly unrelated fields, such as cognitive neuroscience and special relativity. Of what practical use is this knowledge, I cannot tell you. Then again, of what practical use is life itself?

]]>
http://www.thulasidas.com/2011-10/what-is-unreal-blog.htm/feed 0
Belle Piece http://www.thulasidas.com/2011-09/belle-piece.htm http://www.thulasidas.com/2011-09/belle-piece.htm#comments Mon, 26 Sep 2011 22:49:17 +0000 Manoj http://www.thulasidas.com/2011-09/belle-piece.htm What do you do when you find yourself a sort of captive audience next to your big boss for a couple of minutes? Be careful about the comments you make as smalltalk!

Continue reading ]]>
Here is a French joke that is funny only in French. I present it here as a puzzle to my English-speaking readers.

This colonel in the French army was in the restroom. As he was midway through the business of relieving his bladder, he becomes aware of this tall general standing next to him, and realizes that it is none other than Charles De Gaulle. Now, what do you do when you find yourself a sort of captive audience next to your big boss for a couple of minutes? Well, you have to make smalltalk. So this colonel rakes his brain for a suitable subject. Noticing that the restroom is a classy tip-top joint, he ventures:

“Belle piece!” (“Nice room!”)

CDG’s ice-cold tone indicates to him the enormity of the professional error he has just committed:

“Regardez devant vous.” (“Don’t peek!”)

]]>
http://www.thulasidas.com/2011-09/belle-piece.htm/feed 0
Luddite Thoughts http://www.thulasidas.com/2011-09/luddite-thoughts.htm http://www.thulasidas.com/2011-09/luddite-thoughts.htm#comments Tue, 20 Sep 2011 23:12:21 +0000 Manoj http://www.thulasidas.com/2011-09/luddite-thoughts.htm Wondering if our so-called progress is actually a blind march toward chaos an anarchy, I present a slightly disorganized line of thought in this short piece.

Continue reading ]]>
For all its pretentiousness, French cuisine is pretty amazing. Sure, I’m no degustation connoisseur, but the French really know how to eat well. It is little wonder that the finest restaurants in the world are mostly French. The most pivotal aspect of a French dish usually is its delicate sauce, along with choice cuts, and, of course, inspired presentation (AKA huge plates and minuscule servings). The chefs, those artists in their tall white hats, show off their talent primarily in the subtleties of the sauce, for which knowledgeable patrons happily hand over large sums of money in those establishments, half of which are called “Cafe de Paris” or have the word “petit” in their names.

Seriously, sauce is king (to use Bollywood lingo) in French cuisine, so I found it shocking when I saw this on BBC that more and more French chefs were resorting to factory-manufactured sauces. Even the slices of boiled eggs garnishing their overpriced salads come in a cylindrical form wrapped in plastic. How could this be? How could they use mass-produced garbage and pretend to be serving up the finest gastronomical experiences?

Sure, we can see corporate and personal greed driving the policies to cut corners and use the cheapest of ingredients. But there is a small technology success story here. A few years ago, I read in the newspaper that they found fake chicken eggs in some Chinese supermarkets. They were “fresh” eggs, with shells, yolks, whites and everything. You could even make omelets with them. Imagine that — a real chicken egg probably costs only a few cents to produce. But someone could set up a manufacturing process that could churn out fake eggs cheaper than that. You have to admire the ingenuity involved — unless, of course, you have to eat those eggs.

The trouble with our times is that this unpalatable ingenuity is all pervasive. It is the norm, not the exception. We see it in tainted paints on toys, harmful garbage processed into fast food (or even fine-dining, apparently), poison in baby food, imaginative fine-print on financial papers and “EULAs”, substandard components and shoddy workmanship in critical machinery — on every facet of our modern life. Given such a backdrop, how do we know that the “organic” produce, though we pay four times as much for it, is any different from the normal produce? To put it all down to the faceless corporate greed, as most of us tend to do, is a bit simplistic. Going one step further to see our own collective greed in the corporate behavior (as I proudly did a couple of times) is also perhaps trivial. What are corporates these days, if not collections of people like you and me?

There is something deeper and more troubling in all this. I have some disjointed thoughts, and will try to write it up in an ongoing series. I suspect these thoughts of mine are going to sound similar to the luddite ones un-popularized by the infamous Unabomber. His idea was that our normal animalistic instincts of the hunter-gatherer kind are being stifled by the modern societies we have developed into. And, in his view, this unwelcome transformation and the consequent tension and stress can be countered only by an anarchical destruction of the propagators of our so-called development — namely, universities and other technology generators. Hence the bombing of innocent professors and such.

Clearly, I don’t agree with this luddite ideology, for if I did, I would have to first bomb myself! I’m nursing a far less destructive line of thought. Our technological advances and their unintended backlashes, with ever-increasing frequency and amplitude, remind me of something that fascinated my geeky mind — the phase transition between structured (laminar) and chaotic (turbulent) states in physical systems (when flow rates cross a certain threshold, for instance). Are we approaching such a threshold of phase transition in our social systems and societal structures? In my moody luddite moments, I feel certain that we are.

]]>
http://www.thulasidas.com/2011-09/luddite-thoughts.htm/feed 0
English as the Official Language of Europe http://www.thulasidas.com/2011-09/english-as-the-official-language-of-europe.htm http://www.thulasidas.com/2011-09/english-as-the-official-language-of-europe.htm#comments Mon, 12 Sep 2011 11:34:32 +0000 Manoj http://www.thulasidas.com/2011-09/english-as-the-official-language-of-europe.htm Another gem from my email archives...

Continue reading ]]>
The European Union commissioners have announced that agreement has been reached to adopt English as the preferred language for European communications, rather than German, which was the other possibility.

As part of the negotiations, the British government conceded that English spelling had some room for improvement and has been accepted a five year phased plan for what will be known as EuroEnglish (Euro for short).

In the first year, “s” will be used instead of the soft “c”. Sertainly, sivil servants will reseive this news with joy. Also, the hard “c” will be replaced with “k”. Not only will this klear up konfusion, but typewriters kan have one less letter.

There will be growing publik enthusiasm in the sekond year, when the troublesome “ph” will be replased by “f”. This will make words like “fotograf” 20 persent shorter. In the third year, publik akseptanse of the new spelling kan be expected to reach the stage where more komplikated changes are possible.

Governments will enkorage the removal of double letters, which have always ben a deterent to akurate speling. Also, al wil agre that the horible mes of silent “e”s in the language is disgrasful, and they would go.

By the fourth year, peopl wil be reseptiv to steps such as replasing “th” by “z” and “w” by “v”. During ze fifz year, ze unesesary “0″ kan be dropd from vords kontaining “ou”, and similar changes vud, of kors, be aplid to ozer kombinations of leters.

Und efter ze fifz yer, ve vil al be speking German lik zey vunted in ze forst plas…

]]>
http://www.thulasidas.com/2011-09/english-as-the-official-language-of-europe.htm/feed 0
Risk: Interpretation, Innovation and Implementation http://www.thulasidas.com/2011-09/risk-interpretation-innovation-and-implementation.htm http://www.thulasidas.com/2011-09/risk-interpretation-innovation-and-implementation.htm#comments Sun, 04 Sep 2011 21:57:00 +0000 Manoj http://www.thulasidas.com/?p=2101 Continue reading ]]>
A Wiley Global Finance roundtable with Paul Wilmott

Featuring Paul Wilmott, Espen Haug and Manoj Thulasidas

PLEASE JOIN US FOR THIS FREE WEBINAR PRESENTED BY FINCAD AND WILEY GLOBAL FINANCE

How do you identify, measure and model risk, and more importantly, what changes need to be implemented to improve the long-term profitability and sustainability of our financial institutions? Take a unique opportunity to join globally recognised and respected experts in the field, Paul Wilmott, Espen Haug and Manoj Thulasidas in a free, one hour online roundtable discussion to debate the key issues and to find answers to questions to improve financial risk modelling.

Join our experts as they address these fundamental financial risk questions:

  • What is risk?
  • How do we measure and quantify risk in quantitative finance? Is this effective?
  • Is it possible to model risk?
  • Define innovation in risk management. Where does it take place? Where should it take place?
  • How do new ideas see the light of day? How are they applied to the industry, and how should they be applied?
  • How is risk management implemented in modern investment banking? Is there a better way?

Our panel of internationally respected experts include Dr Paul Wilmott, founder of the prestigious Certificate in Quantitative Finance (CQF) and Wilmott.com, Editor-in-Chief of Wilmott Magazine, and author of highly acclaimed books including the best-selling Paul Wilmott On Quantitative Finance; Dr Espen Gaarder Haug who has more than 20 years of experience in Derivatives research and trading and is author of The Complete Guide of Option Pricing Formulas and Derivatives: Models on Models; and Dr Manoj Thulasidas, a physicist-turned-quant who works as a senior quantitative professional at Standard Chartered Bank in Singapore and is author of Principles of Quantitative Development.

This debate will be critical for all chief risk officers, credit and market risk managers, asset liability managers, financial engineers, front office traders, risk analysts, quants and academics.

]]>
http://www.thulasidas.com/2011-09/risk-interpretation-innovation-and-implementation.htm/feed 0
A Crazy Language http://www.thulasidas.com/2011-08/a-crazy-language.htm http://www.thulasidas.com/2011-08/a-crazy-language.htm#comments Tue, 30 Aug 2011 21:37:45 +0000 Manoj http://www.thulasidas.com/?p=2099 Continue reading ]]> 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]

]]>
http://www.thulasidas.com/2011-08/a-crazy-language.htm/feed 0
Ioanna’s Aisles http://www.thulasidas.com/2011-05/ioannas-aisles.htm http://www.thulasidas.com/2011-05/ioannas-aisles.htm#comments Sun, 22 May 2011 22:39:33 +0000 Manoj http://www.thulasidas.com/2011-05/ioannas-aisles.htm Here is a story about the quirkiness of this eccentric language.

Continue reading ]]>
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. Here is that story as recounted by an American friend (who shall remain uncredited – suffice it say every time I see Ted in “Outsourced,” I get reminded of him) for his version is a lot funnier than what may have transpired. So on that 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 when I am 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?”

]]>
http://www.thulasidas.com/2011-05/ioannas-aisles.htm/feed 0
A Parker Pen from Singapore http://www.thulasidas.com/2011-03/a-parker-pen-from-singapore.htm http://www.thulasidas.com/2011-03/a-parker-pen-from-singapore.htm#comments Wed, 16 Mar 2011 23:03:27 +0000 Manoj http://www.thulasidas.com/?p=1924 About a fifty-year old Parker pen that held an important lesson for me.

Continue reading ]]>
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 rather proud of this pen, its quality and sturdiness, and was bragging to his friends once. “Even if I wanted to break it, I wouldn’t be able 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 have 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 breaking the pen. 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 the 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 remarked, “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.

]]>
http://www.thulasidas.com/2011-03/a-parker-pen-from-singapore.htm/feed 0
A Chess Game http://www.thulasidas.com/2011-03/a-chess-game.htm http://www.thulasidas.com/2011-03/a-chess-game.htm#comments Tue, 08 Mar 2011 22:00:45 +0000 Manoj http://www.thulasidas.com/?p=1909 About a couple of chess games, and about why somebody's loss can be as satisfying as your win.

Continue reading ]]>
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 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.

]]>
http://www.thulasidas.com/2011-03/a-chess-game.htm/feed 0
Dualism http://www.thulasidas.com/2011-03/dualism.htm http://www.thulasidas.com/2011-03/dualism.htm#comments Tue, 01 Mar 2011 22:00:14 +0000 Manoj http://www.thulasidas.com/?p=1903 Dualism is a misunderstood concept. At least, I didn't understand it too well. This post is a more refined view on it, which may not still be complete or accurate. Since everything in philosophy (and life) is interconnected, this short post brings together a lot of what I think of life, the universe and everything.

Continue reading ]]>
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.

]]>
http://www.thulasidas.com/2011-03/dualism.htm/feed 0
Physics vs. Finance http://www.thulasidas.com/2011-02/physics-vs-finance.htm http://www.thulasidas.com/2011-02/physics-vs-finance.htm#comments Thu, 24 Feb 2011 22:00:35 +0000 Manoj http://www.thulasidas.com/?p=1801 The last post in this series of Love of Math looks at how math gets used in physics and finance. Or, more precisely, how one has to be careful about the assumptions in modeling stuff, and the pitfalls of (the lack of) error propagation.

Continue reading ]]>
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.

]]>
http://www.thulasidas.com/2011-02/physics-vs-finance.htm/feed 0
Your Virtual Thumbdrive http://www.thulasidas.com/2011-02/your-virtual-thumbdrive.htm http://www.thulasidas.com/2011-02/your-virtual-thumbdrive.htm#comments Thu, 17 Feb 2011 22:00:55 +0000 Manoj http://www.thulasidas.com/?p=1834 How to use online storage as your virtual thumbdrive and more.

Continue reading ]]>
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?

]]>
http://www.thulasidas.com/2011-02/your-virtual-thumbdrive.htm/feed 0
Math and Patterns http://www.thulasidas.com/2011-02/math-and-patterns.htm http://www.thulasidas.com/2011-02/math-and-patterns.htm#comments Thu, 10 Feb 2011 22:00:12 +0000 Manoj http://www.thulasidas.com/?p=1800 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. So, where is the difficulty in loving maths? Here is the second post in this series.

Continue reading ]]>
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.

]]>
http://www.thulasidas.com/2011-02/math-and-patterns.htm/feed 0
Hosting Options http://www.thulasidas.com/2011-02/hosting-options.htm http://www.thulasidas.com/2011-02/hosting-options.htm#comments Thu, 03 Feb 2011 22:00:39 +0000 Manoj http://www.thulasidas.com/?p=1806 Practical advice for budding bloggers and webmasters -- what kind of web-hosting is appropriate for you?

Continue reading ]]>
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. 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 Arvixe 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, Arvixe 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. Arvixe, 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 (Arvixe 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. Arvixe, 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 Arvixe (a wise choice), I would be grateful if you do so using one of my affiliate links.

]]>
http://www.thulasidas.com/2011-02/hosting-options.htm/feed 0
Love of Math http://www.thulasidas.com/2011-01/love-of-math.htm http://www.thulasidas.com/2011-01/love-of-math.htm#comments Thu, 27 Jan 2011 22:00:59 +0000 Manoj http://www.thulasidas.com/?p=1798 Continue reading ]]> 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.

]]>
http://www.thulasidas.com/2011-01/love-of-math.htm/feed 0
Top Philosophy Blog http://www.thulasidas.com/2011-01/top-philosophy-blog.htm http://www.thulasidas.com/2011-01/top-philosophy-blog.htm#comments Sun, 23 Jan 2011 13:25:05 +0000 Manoj http://www.thulasidas.com/2011-01/top-philosophy-blog.htm Unreal Blog has been chosen as one of the top 50 philosophy blogs in the world!

Continue reading ]]>
top50.jpgUnreal Blog has been chosen as one of the top 50 philosophy blogs in the world! It came as a surprise when the Zen College Life listed this blog (at least the philosophy section of it). Listing it as the 21st in their list, they say of Unreal Blog, “Where philosophy meets physics and they live happily ever after.”

]]>
http://www.thulasidas.com/2011-01/top-philosophy-blog.htm/feed 4
We Are Moving… http://www.thulasidas.com/2011-01/we-are-moving.htm http://www.thulasidas.com/2011-01/we-are-moving.htm#comments Mon, 17 Jan 2011 22:52:33 +0000 Manoj http://www.thulasidas.com/2011-01/we-are-moving.htm Unreal Blog has moved to a new powerful server (and sent out thousands of annoying emails during the process). Here is how it happened.

Continue reading ]]>
Unreal Blog has moved to a more powerful server at Arvixe. [Disclosure: All the server links in this article are affiliate links.] For those interested in moving your hosting to a new server, I thought I would describe the “gotchas” involved.

This gotcha got me during a test migration of my old posts to the new server. I had over 130 posts to migrate. When I moved them to the new blog on the new server, they looked like new posts. To the unforgiving logic of a computer (that defies common sense and manages to foul up life), this pronouncement of newness is accurate, I have to admit — they were indeed new posts on the new server. So, on the 10th of January, my regular readers who had signed up for updates received over 100 email notifications about “new posts” on my blog. Needless to say I started getting angry emails from my annoyed regulars demanding that I remove their names from my “list.excessive” (as one of them put it). If you were one of those who got excessive emails, please accept my apologies. Rest assured that I have turned off email notifications, and I will look and hard into the innards of my blog before turning it back on. And when I do turn it on, I will prominently provide a link in each message to subscribe or unsubscribe yourself.

As you grow your web footprint and your blog traffic, you are going to have to move to a bigger server. In my case, I decided to go with Arvixe because of the excellent reviews I found on the web. The decision of what type of hosting you need makes for an interesting topic, which will be my next post.

]]>
http://www.thulasidas.com/2011-01/we-are-moving.htm/feed 0
Cloud Computing http://www.thulasidas.com/2010-11/cloud-computing.htm http://www.thulasidas.com/2010-11/cloud-computing.htm#comments Sun, 21 Nov 2010 02:04:01 +0000 Manoj http://www.thulasidas.com/?p=1686 About Dropbox, a cloud computing service that you will find extremely useful -- if you work with multiple computers.

Continue reading ]]>
I first heard of “Cloud Computing” when my friend in Trivandrum started talking about it, organizing seminars and conferences on the topic. I was familiar with Grid Computing, so I thought it was something similar and left it at that. But a recent need of mine illustrated to me what cloud computing really is, and why one would want it. I thought I would share my insight with the uninitiated.

Before we go any further, I should confess that I write this post with a bit of an ulterior motive. What that motive is is something I will divulge towards the end of this post.

Let me start by saying that I am no noob when it comes to computers. I started my long love affair with computing and programming in 1983. Those late night bicycle rides to CLT and stacks of Fortran cards – those were fun-filled adventures. We would submit the stack to the IBM 370 operators early in the morning and get the output in the evening. So the turn around time for each bug fix would be a day, which I think made us fairly careful programmers. I remember writing a program for printing out a calendar, one page per month, spaced and aligned properly. Useless really, because the printout would be on A3 size feed rolls with holes on the sides, and the font was a dirty Courier type of point size 12 in light blue-black, barely legible at normal reading distance. But it was fun. Unfortunately I made a mistake in the loop nesting and the calendar came out all messed up. Worse, the operator, who was stingy about the paper usage, interrupted the output on the fourth month and advised me to stop doing it. I knew that he could not interrupt it if I used only one Fortran PRINT statement and rewrote the program to do it that way. I got the output, but on the January page, there was this hand-written missive, “Try it once more and I will cancel your account.” At that point I ceased and desisted.

I started using email in the late eighties on a cluster of Vaxstations that belonged to the high-energy physics group at Syracuse University. At first, we could send email only to users on the same cluster, with DecNet addresses like VAX05::MONETI. And a year later, when I could send a mail to my friend in the next building with an address like IN%”naresh@ee.syr.edu” or something (the “IN” signifying Internet), I was mighty impressed with the pace at which technology was progressing. Little did I know that a few short years later, there would be usenet, Mosaic and e-commerce. And that I would be writing books on financial computing and WordPress plugins in PHP.

Despite keeping pace with computing technology most of my life, I have begun to feel that technology is slowly breaking free and drifting away from me. I still don’t have a twitter account, and I visit my Facebook only once a month or so. More to the point of this post, I am embarrassed to admit that I had no clue what this cloud computing was all about. Until I got my MacBook Air, thanks to my dear wife who likes to play sugar mama once in a while. I always had this problem of synchronizing my documents among the four or five PCs and Macs I regularly work with. With a USB drive and extreme care, I could manage it, but the MBA was the proverbial straw that broke my camel of a back. (By the way, did you know this Iranian proverb – “Every time the came shits, it’s not dates”?) I figured that there had to be better way. I had played with Google Apps for a while now, although I didn’t realize that it was cloud computing.

What I wanted to do was a bit more involved than office applications. I wanted to work on my hobby PHP projects from different computers. This means something like XAMPP or MAMPP along with NetBeans on all the computers I work with. But how do I keep the source code sync’ed? Thmbdrives and backup/sync programs? Not elegant, and hardly seamless. Then I hit upon the perfect solution – Dropbox! This way, you store the source files on the network (using Amazon S3, apparently, but that is beside the point), and see a directory (folder for those who haven’t obeyed Steve Jobbs and gone back to the Mac) that looks like suspiciously local. In fact, it is a local directory – just that there is a program running on the background syncing it with your folder on the cloud.

Dropbox! gives you 2GB of network storage free, which I find quite adequate for any normal user. (That sounds like the famous last words by Bill Gates, doesn’t it? “64KB of memory should be enough for anyone!”) And, you can get 250MB extra for every successful referral you make. That brings me to my ulterior motive – all the links to Dropbox! on this post are actually referral links. When you sign up and start using it by clicking on one of them, I get 250MB extra. Don’t worry, you get 250MB extra as well. So I can grow my online storage up to 8GB, which should keep me happy for a long time, unless I want to store my photos and video there, in which case I will upgrade my Dropbox! account to a paid service.

Apart from giving me extra space, there are many reasons you should really check out Dropbox!. I will write more on those reasons later, but let me list them here.
1. Sync your (Mac) address book among your Macs.
2. Multiple synced backups of your precious data.
3. Transparent use for IDEs such as Netbeans.
Some of these reasons are addressed only by following some tips and tricks, which I will write about.

By the way, we Indian writers like to use expressions like ulterior motives and vested interests. Do you think it is because we always have some?

]]>
http://www.thulasidas.com/2010-11/cloud-computing.htm/feed 0