Working for money

One of these days during lunch at office, we had a fairly heated discussion about why people work. One guy and I were of the opinion that the primary reason people work is for money, and everything else is secondary. The third guy, who among the three of us perhaps works the hardest, argued that “people who make a difference” never work for money, and that it is only “ordinary people”, who have no desire to “make a difference” that work for money. He took the examples of people like Steve Jobs and a few famous scientists to make his point.

Now, while I agree that money is the primary reason I work, and which is what I argued that day during lunch, I disagree that the end-of-month salary credit tells the whole story. The way I see it, you need to take a longer-term view of things. So while the short-term money you make is important, and affects important decisions such as quality of short-term life, a more important thing is sustainable returns. While you do your work and get that end-of-month salary credit to bolster your bank account, an important thing is about how much the work you’re doing now will contribute to your income later on in life.

Digression 1: I keep oscillating between wanting to retire at forty and wanting to retire at sixty. And I must admit I haven’t frankly decided which one is more suitable for me. This analysis is more relevant with the retirement at sixty model (which is what I think I’ll end up following, health etc permitting). End of Digression 1.

Digression 2: Not so long ago, some people in my firm wanted to recruit “software engineers from IIT with two to three years of work experience”. Being one of the “CS guys” around, I interviewed quite a few people for that role. Their CVs indicated that had we “caught them” on campus, they would have been sure hires. But two years at a software services shop, I figured in all cases, had made them “rusty”. Spending all their time in mind-numbing activities (like building UIs), they had failed to build on the skills that would have been useful for the higher-up-the-value-chain job I was recruiting for (finally that team went to IITs and got a bunch of campus hires. They gave up on lateral hiring altogether). End of Digression 2.

Those two digressions weren’t particularly meaningless. I guess you know where this post is headed now. So, the thing with a job is that along with the short-term benefits it provides, it should also help you build on those skills that you think you can monetize later on in life. Every job (most jobs, really) teach you something. There is constant learning everywhere. But what matters is if the learning that the job offers is aligned with the kind of learning that you think you are geared for, which you think you can monetize at a later point of time in life.

I still claim that I work for money, but just that I take a longer-term view of it. And I strive to learn those things on a job which I think will be helpful for me in terms of monetization at a later point of time in my life.

 

Data Science and Software Engineering

I’m a data scientist. I’m good with numbers, and handling large and medium sized data sets (that doesn’t mean I’m bad at handling small data sets, of course). The work-related thing that gives me most kicks is to take a bunch of data and through a process of simple analysis, extract information out of it. To twist and turn the data, or to use management jargon “slice and dice”, and see things that aren’t visible to too many people. To formulate hypotheses, and use data to prove or disprove them. To represent data in simple but intuitive formats (i.e. graphs) so as to convey the information I want to convey.

I can count my last three jobs (including my current one) as being results of my quest to become better at data science and modeling. Unfortunately, none of these jobs have turned out particularly well (this includes my current one). The problem has been that in all these jobs, data science has been tightly coupled with software engineering, and I suck at software engineering.

Let me stop for a moment and tell you that I don’t mind programming. In fact, I love programming. I love writing code that makes my job easier, and automates things, and gives me data in formats that I desire. But I hate software engineering. Of writing code within a particular system, or framework. Or adhering to standards that someone else sets for “good code”. Of following processes and making my code usable by some dumbfuck somewhere else who wouldn’t get it if I wrote it the way I wanted. As I’d mentioned earlier, I like coding for myself. I don’t like coding for someone else. And so I suck at software engineering.

Now I wonder if it’s possible at all to decouple data science from software engineering. My instinct tells me that it should be possible. That I need not write production-level code in order to turn my data-based insights into commercially viable form. Unfortunately, in my search around the corporatosphere thus far, I haven’t been able to find something of the sort.

Which makes me wonder if I should create my own niche, rather than hoping for someone else to create it for me.

End of month blues

One of the problems with running your blog on your own website is that you need to manage bandwidth. Basically it seems like my blog has been run over by bots and so by the 25th of every month the bandwidth for the month is over, and the blog goes down for the rest of the month. I’ve been trying to do a lot of things to prevent this – blocking suspicious looking IPs, installing bad behaviour, and such like, but still I don’t know why it gets locked out.

My biggest problem with this end of month lockout is the volume of ideas that go down the drain during this time, rather than getting published on the blog. I wish I could try and remember all those blogging ideas and do one mega blog post at least with a summary of all of them, so that I could write about them at some point of time in the future, but it seems like I can’t remember anything now.

In other news, I’ve been getting really stressed out of late, and my mental bandwidth has been at an all time low. I’ve felt that I’ve been going downhill since my trip to New York a few months back, but of late it’s gotten really bad, and I’m just not able to do anything. That’s yet another reason why blogging frequency has dipped in the last couple of weeks or so.

Doing a deep dive into my own past, I think I’ve figured out why this has been happening. Rather, I have a hypothesis about why I’ve been stressing myself out too much at work which has led to this situation. Basically it’s down to studs and fighters.

I traditionally have what I call as a “stud” working style. I work in bursts, at reasonably low intensity. I look at the problem as a series of steps, and for each step, I internalize the problem, and then try to de-focus. And while thinking about something else, or reading something, or writing something else, I end up having a solution to the problem, and then I take a little break and move on to the next step. This is essentially how I’ve worked over the last few years and I think I’ve (to myself at least) done a good job using this method.

There’s yet another method that I’ve frequently used in the past, one that I call the Ganesha method. It’s basically used for tasks I want to get  done with ASAP. I work at it at a very high intensity, shutting myself off from everything else in the world. I work at it continuously without a break, and then take a long break once the solution is done. I’ve used it in the past for things like competitive exams where I think I’ve done rather well.

So the mistake I did a while back (maybe a year or so back) was to try and use this latter method over longer periods of time, for longer problems. The thing with this method is that it’s suited for short problems, which can be finished off in a burst with a little bit of stretching myself. But when applied to significantly larger problems, I’ve found that it’s been stressing me out way too much. By trying to be steady and focused over a long period of time, which is how a fighter traditionally works, I think I’ve mentally destroyed myself.

Moral of the story is that whatever happens you need to be yourself, and do things in your own style. Don’t try to change yourself in order to please others. It is simply not sustainable.

Vishnu and Shiva temples

This post may add to Aadisht’s contention of Shaivism being superior to Vaishnavism. Earlier this month I’d gone with family to this place called Avani, some 100 km east of Bangalore. The main centre of attraction there was this 10th century Shiva temple that had been built by the Gangas.

As we got off the car, I was pleased to see the signage of the Archaeological Society of India. I’m in general not a big fan of temples. I find them to be overwhelmed with “devotees”, and way too noisy, and more importantly for some reason I’m not allowed to use my camera inside temples. So I was pleased that this being an ASI temple there won’t be any worship in there and so I can take pictures peacefully.

As we entered, though, I saw a number of priestly figures standing around the entrance, and one of them shouted “no photo in temple, no photo in temple” (i was in bermudas and a t-shirt, and wearing a backpack and camera bag so looked foreign types). I just nodded and went on. And then another priest accompanied us, and performed the pooja to the idol.

The temple at Avani is that of Ramalingeshwara, a version of Shiva. Now, the studness with Shiva temples is that the idol is extremely simple. It’s just a penis. And it’s not hard to make, and more importantly it’s hard to break, since it’s monolithic, and usually without any portions that can easily break off. Contrast this with Vishnu temples, where the idols are of actual human figures, with arms and legs and ears and noses and fingers – all made of relatively thin pieces of stone, which makes it easier to break.

So think of yourself as an invader who for some reason wants to defile a temple by destroying its idols. The very nature of idols in a Vishnu temple makes your job simple. All you need is to give one strong hit which will break off a nose or a toe or a finger – not much damage, but enough to defile the temple and render it useless for the purpose of worship. But get to a Shiva temple, and you see one large penis-shaped stone in there, and you realize it’s not worth your patience to try break it down. So you just loot the vaults and go your way.

And hence, due to the nature of the idols in these temples, Shiva temples are more resilient to invasion and natural disaster compared to Vishnu temples. Aadisht, you can be happy.

Why You Should Not Do An Undergrad in Computer Science at IIT Madras

I did my undergrad in Computer Science and Engineering at IIT Madras. My parents wanted me to study Electrical Engineering, but I had liked programming back in school, and my JEE rank “normally” “implied” Computer Science and Engineering. So I just went with the flow and joined the course. In the short term, I liked some subjects, so I was happy with my decision. Moreover there was a certain aura associated with CS students back in IITM, and I was happy to be a part of it. In the medium term too, the computer science degree did open doors to a few jobs, and I’m happy for that. And I still didn’t regret my decision.

Now, a full seven years after I graduated with my Bachelors, I’m not so sure. I think I should’ve gone for a “lighter” course, but then no one told me. So the thing with a B.Tech. in Computer Science and Engineering at IIT Madras is that it is extremely assignment incentive. Computer Science is that kind of a subject, there is very little you can learn in the classroom. The best way to learn stuff is by actually doing stuff, and “lab” is cheap (all you need is a bunch of computers) so most courses are filled with assignments. Probably from the fourth semester onwards, you spend most of your time doing assignments. Yes, you do end up getting good grades on an average, but you would’ve worked for it. And there’s no choice.

The thing with an Undergrad is that you are clueless. You have no clue what you’re interested in, what kind of a career you want to pursue, what excites you and the stuff. Yes, you have some information from school, from talking to seniors and stuff, but still it’s very difficult to KNOW when you are seventeen as to what you want to do in life. From this perspective, it is important for your to keep your options as open as they can be.

Unfortunately most universities in India don’t allow you to switch streams midway through your undergrad (most colleges are siloed into “arts” or “engineering” or “medicine” and the like). IIT Madras, in fact, is better in that respect since it allows you to choose a “minor” stream of study and courses in pure sciences and the humanities. But still, it is impossible for you to change your stream midway. So how do you signal to the market that you are actually interested in something else?

One way is by doing projects in areas that you think you are really interested in. Projects serve two purposes – first they allow you to do real work in the chosen field, and find out for yourself if it interests you. And if it does interest you, you have an automatic resume bullet point to pursue your career on that axis. Course-related projects are fine but since they’re forced, you have no way out, and they will be especially unpleasant if you happen to not like the course.

So why is CS@IITM a problem? Because it is so hectic, it doesn’t give you the time to pursue your other interests. It doesn’t offer you the kind of time that you need to study and take on projects in other subjects (yeah, it still offers you the 3 + 1 months of vacation per year, when you can do whatever you want, but then in the latter stages you’re so occupied with internships and course projects you’re better off having time during the term). So if you, like me, find out midway through the course that you would rather do something else, there is that much less time for you to explore around, study, and do projects in other subjects.

And there is no downside to joining a less hectic course. How hectic a course inherently is only sets a baseline. If you were to like the course, no one stops you from doing additional projects in the same subject. That way you get to do more of what you like, and get additional bullet points. All for the good, right?

After I graduated, IIT Madras reduced its credit requirement by one-twelfth. I don’t know how effective that has been in reducing the inherent workload of students but it’s a step in the right direction. Nevertheless, if you are going to get into college now, make sure you get into a less hectic course so that the cost of making a mistake in selection is not high.

Methods of Negotiations

There are fundamentally two ways in which you can negotiate a price. You can either bargain or set a fixed price. Bargaining induces temporary transaction costs – you might end up fighting even, as you are trying to negotiate. But in the process you and the counterparty are giving each other complete information of what you are thinking, and at every step in the process, there is some new information that is going into the price. Finally, if you do manage to strike a deal, it will turn out to be one that both of you like (ok I guess that’s a tautology). Even when there is no deal, you know you at least tried.

In a fixed price environment, on the other hand, you need to take into consideration what the other person thinks the price should be. There’s a fair bit of game theory involved and you constantly need to be guessing, about what the other person might be thinking, and probably adjust your price accordingly. There is no information flow during the course of the deal, and that can severely affect the chances of a deal happening. The consequences in terms of mental strain could be enormous in case you are really keen that the deal goes through.

Some people find the fixed price environment romantic. They think it’s romantic that one can think exactly on behalf of the counterparty and offer them a fair deal. What they fail to discount is the amount of thought process and guessing that actually goes in to the process of determining the “fair deal”. What they discount is the disappointment that has occurred in the past when they’ve been offered an unfair deal, and can do nothing about it because the price is fixed. But I guess that’s the deal about romance – you remember all the nice parts and ignore that similar conditions could lead to not-so-nice outcomes.

Bargaining, on the other hand has none of this romance. It involves short-term costs, fights even. But that’s the best way to go about it if you are keen on striking a deal. Unfortunately the romantics think it’s too unromantic (guess it’s because it’s too practical) and think that if you want a high probability of a deal, you should be willing to offer a fixed price. And the fight continues.. Or maybe not – it could even be a “take it or leave it” thing.

The Wife’s Methods

During a particularly acrimonious fight last night, I found that I was losing myself, and had no clue what was happening. Tempers were frayed, voices were raised and a huge towel had become wet from our collective tears and nose-goo. And I was fighting a losing battle, against myself. It seemed like I was consuming myself, and there was no way out.

I walked up to the kitchen and pulled out two New York shot glasses from the shelf. I reached for the top shelf, where we store the stuff, and pulled out the Talisker bottle. And I filled the shot glasses, up to the brim, and we downed it, one glass each. Soon, it seemed like all was going to be fine with the world.

At once we calmed down. We started thinking more rationally now. The fight continued, but the voices got lowered, the collective discharge into the towel ebbed. We weren’t consumed by ourselves any more. Instead, we were now calmly talking to each other, trying to find a way out of the problem we had at hand. Note that we didn’t kiss-and-make-up-and-bury-the-fight like we used to earlier. We didn’t sleep until we’d finished our business and reached an agreement. But life had become so much better.

I must admit that over the last year or more, I’ve consistently underestimated the wife (earlier the girlfriend) and her methods. Sometimes I’ve never understood why she does things in a certain way (and expects me to do things the same way), at other times I’ve been too arrogant in my own thoughts, to give her methods a fair hearing. This was yet another such example.

It was I who had made an irrational decision that Talisker was meant for slow sipping and savouring. It was I who had thought it was “too expensive to be shot down”. And it was I who had made the wife promise she won’t gulp it down before buying the current bottle of Talsker. I admit it, I was wrong. Wrong. The wife, it turns out, had always been right.

Partners and Associates

Last week I’d written this post about managing studs, and while discussing that with some colleagues the other day, I realized that I could reformulate it without touching upon the studs and fighters theory. So let us consider a consulting firm. There is a partner, whose sole job is to solicit business for the firm, and to get the lion’s share of the benefits. And there are associates, trying hard to get noticed and promoted, and working for this partner. It’s the associates who do most of the work. Let’s assume that the firm is in “steady state”, where as long as they don’t mess up, there is a steady stream of business assured.

Under this assumption, all that the partner needs to do is to ensure he and his team don’t “mess up”. He knows that he has the relationships to keep the work flowing, and given that he doesn’t really do any work himself, he doesn’t care about the nature of work, or whether his associates find the work challenging, or interesting, and stuff. As long as the tap is open, and he makes his “partner’s cut”, he’s happy.

Given this, his incentives are towards work that is hard to go wrong. “Steady” work, where expectations are likely to be high, but the downside risk is quite low suits him absolutely fine, and he seeks to find more and more of that kind of stuff. There is little chance that his relationships with his steady clients can go wrong in this kind of a situation, right? So he goes about trying to find work with a “short deep-out-of-money option” payoff.

What about the associates? There will be some of them that are already established, and known to these steady clients. They know that it’s only a matter of time before they get promoted and hit the partnership pot of gold. They’ve made their mark, at a time when they had the opportunity to do so, and now they only need to hold fort till the end of the rainbow. And they hold on, perfectly happy to do work in which things can’t go wrong.

As for the other associates, who are still looking to establish themselves? What they’d ideally like would be the opportunity for “big wins”, which will make them be seen, and noticed, and enable them to make the move up the ladder when the time is right. Given their current standing, they don’t mind taking the risk – they have little to lose in terms of lost reputation. On the other hand they have everything to gain from pulling off improbable big wins. Basically they ideally like the “long deep-out-of-money option” payoff.  But the stream of projects the partners and other associates prefer doesn’t give them the opportunity to go for this kind of payoff! So they are stuck.

So, if you are working in a consulting firm, which is in reasonably steady state, where the partners don’t take part in day-to-day work, and where you are not yet established, you need to think if you’re in the right place.

Fractal life

Recently I finished reading Mandelbrot’s The (mis)Behaviour of Markets for the second time. Fantastic book. I think it is a must read for people who are interested in financial markets, and especially for those who work in capital markets. While it stays away from equations and “math”, and prefers to use pictures (or cartoons) to illustrate and show concepts (a method I definitely prefer to obscure math), it does raise a lot of very interesting fundaas.

So last week I was feeling stressed out. I realized that I had worked too hard on Wednesday and Thursday hence I got stressed out on Friday. A couple of months back, I took a couple of days of medical leave because I was stressed out. I reasoned that was because I’d pushed myself too hard the earlier two weeks. And thinking about all this today, I thought the incidence of stress has gone up over the last couple of months. This, I reasoned to pushing myself excessively for over a year now. And if I were to analyze my today’s work, I could probably say that I pushed myself too hard in the afternoon and hence got stressed out in the evening.

Same pattern, you see. At different scales.You get the drift, I guess. And stress is just an example I took. If I think about how my louvvu for my wife has evolved, again same pattern. There is a “global pattern”, and that same “global pattern” repeats itself over shorter intervals over the last two years. Irrespective of the quantum of time I look at, I see that same “global pattern” stretched or compressed to the appropriate time scale. In other words, love is also a fractal.

You can see fractals all around you. You can see self-similarity everywhere. And yet, even when you have small samples. you instinctively try to model it as a normal distribution. Without realizing that the “normal” distribution in life is the Power law.

The Bharadwajs

I’m married to a Bharadwaj. To put it another way, I’ve “bailed out” a Bharadwaj. Let me explain.

There is a concept of “gotras” among “Caste Hindus”. Each person is supposed to have a paternal ancestral line to a rishi, and that rishi’s name is your gotra. For example, I’m supposed to be a descendant of the sage Haritsa (such an obscure rishi he doesn’t even have a Wikipedia page). And so my gotra is “haritsa”. Knowledge of your own gotra is important when you go to a temple to get “archane” (where you pay 10 rupees, give some vital stats and get sugar candy in return) done. It is also important when you are going to get married.

So Hindus have a weird way of defining cousins, especially for the purpose of marriage. Only male ancestry matters, and male brotherhood also. If you examine this further, everyone who has the same gotra as you (and hence are related to you by a paternal line) are your cousins. Sisters and mothers don’t particularly matter in this definition of cousins, hence the widespread incest, especially in Karnataka and Andhra Pradesh. There is one important exception of course – your mother’s sister’s siblings are also your cousins, though no one bothers keeping track of such relationships over more than a generation.

Like in any other good religion, Hinduism doesn’t allow you to marry your cousins. And due to the weird definition of cousin, you effectively can’t marry someone from your gotra. That is supposed to be incestuous. If you have any doubts about this, please travel to Haryana and ask any of the khap panchayats there.

So among Brahmins (due to lack of sufficient data points, I’ll restrict my discourse to Brahmins), the most “popular” gotra is Bharadwaja. It is either the Rishi Bharadwaja himself, or some of his descendants, or all of them collectively, who did a “Genghiz Khan”. Rather, one should say that Genghiz Khan did a Rishi Bharadwaja. Because of this, Bharadwajas constitute a really large proportion of Brahmins. I’m not sure of exact statistics here, but they are easily the largest Brahmin Gotra.

So now, “rules” dictate that you should marry within your caste, but outside of your gotra. And this puts the Bharadwajas at a great disadvantage, for so many other Brahmins are Bharadwajas, that the sample space from which to look for a spouse is severely restricted indeed. I know of a cousin (mother’s father’s sister’s son’s daughter) who is a Bharadwaja, and who spent a really long time in the arranged marriage market. As I told you, restricted sample space. That way, people like me who belong to obscure gotras should consider ourselves lucky, I guess.

So if you are a Brahmin, and not a Bharadwaja, please help out a needy fellow-Brahmin, who may otherwise have to spend a really long time in the marriage market (arranged or otherwise) only because one of their ancestors happened to be particularly prolific. And this is one thing in which I can proudly claim to lead by example.

PS: The proportion of Bharadwajs among Brahmins might be overstated due to the sheer number of them who put the name of their Gotra as their surname. I don’t think putting gotra as surname is common among any other Brahmin gotra.