Prodigy

Sometimes I wonder if being a prodigy is more of a curse than a blessing. The sense of having “achieved something” fairly early in life leads to a lowering of objectives, not being excited by anything, and a sort of satisfaction of having “arrived” that reduces motivation to do anything else in life.

A few prodigies keep up the fight and make a successful career for themselves as adults (eg. Sachin Tendulkar). Most fall by the wayside. And find it struggle to come to terms of having become ordinary. And find being an adult incredibly hard, and then get into all sorts of issues.

Five years ago, the Guardian identified the “best young player from each Premier League club“, and they’ve kept at monitoring the progress. Five years later, the results aren’t encouraging.

Out of our 20 players from the English top flight in that 2014-15 season, only three are playing at Premier League clubs now: Marcus Rashford, Dominic Solanke and Hamza Choudhury.

That may not sound very impressive but some others are at Premier League clubs but on loan in the Championship. Six of the 20 are playing second-tier football (five in England and one, Harley Willard, in Iceland) so nearly half are playing at a very high level. On the other hand, two of the 20 – as far as we are aware – are not playing football any more.

While it is natural for parents to push their kids and get them to “achieve something” at a young age, such achievements in most cases don’t result in any lasting advantage as adults. Instead, children who achieve something get labelled as “prodigies” or “gifted” or “talented” and these labels only seek to increase pressures on them as they grow up, rather than helping them build sustainable careers.

OK I might be ranting so I’ll stop here.

Ride Sharing and Goodbyes

Ride sharing apps such as Uber and Ola have destroyed the art of the goodbye. Given that we can’t be sure how long our ride takes to arrive, and that we better ‘catch’ the ride as soon as it arrives, the use of the apps means that most of the time goodbyes are either abrupt or too prolonged.

Back in the day before we had these apps once the guests told the hosts they were leaving, they could be reliably expected to leave in a certain amount of time. And they would leave, take out their car or scooter or walk to get an auto, and after a nice goodbye, off they would go.

Ride sharing apps have changed the workflow here. It can work two ways. One way is that you say that you’re leaving, and then take out your phone to hail an Uber or Ola. And then you find that a cab is 20 minutes away. And so after having said all the goodbyes you sit down again. The host who was waiting to clean up and get on with life sits down with you. And then your cab arrives presently and you pack up and dash off.

And the opposite can happen as well. You might think it might take a while before the cab arrives and so you book the cab before you start the goodbye process. And then as your luck (good or bad I don’t know) would have it, there is a cab right round the corner, and it is just a minute or two away. And then you say goodbye hurriedly, maybe leave behind an item or two, and dash off.

A combination of the two happened at a party last night. A friend and I decided to leave around the same time. And we took out our phones to book our respective rides home before we informed the hosts. I made a mental note at that time that we should take a picture with the hosts before we leave.

Then as it happened, I tried Uber and it was some 20 minutes away (my friend got one that was only 5 minutes away). I first thought I’ll get another drink but then I got bugged and decided to try Ola Auto, and I found one right outside (1 minute away). And I didn’t want to miss that, and so that meant a quick goodbye. And I forgot to take that photo that I wanted to take.

So it goes.

Conversation with an Afghan-Dutch taxi driver

We got back to London yesterday, and were welcomed with atypical London weather – thunderstorms. While it is common to stereotype London’s weather as being typically shitty and grey, it doesn’t normally rain all that heavily here – most of the rain that London gets is what is called “spitting rain” – slow drizzly rain best dealt with with a nice cap.

Also welcoming us was an Afghan-Dutch guy who drove us home in his Merc (we hired him through Uber). We got talking and there were a few interesting things from what he said that I though were Pertinent.

  • When we told him we were from Bangalore he said something that sounded like “cooley”. First we interpreted it as him saying that the city is cool, and then realised that wasn’t what he was saying. Then I thought he was talking about Coolie which was filmed in Bangalore, but it wasn’t that as well. Finally we realised he was talking about Virat Kohli, who plays for Royal Challengers Bangalore. It’s funny how Kohli is identified with Bangalore abroad though he’s only nominally based there only during the IPL season
  • We spoke a bit about the IPL and he said he was disappointed that “our team” lost. A minute later he said the team was Sunrisers Hyderabad. For a while it wasn’t clear as to why the Sunrisers were his team. Then I realised they have two prominent Afghan players – Rashid Khan and Mohammad Nabi.
  • He was studying to be a dentist, and decided to spend time in England learning English because a lot of the dental course was in English. Apart from putting himself through formal English classes, driving an Uber was a way for him to become better at English (it’s interesting how at times in our conversation he switched to using Hindi words – some of which I’m guessing are common to Pashto as well), apart from making money
  • My wife later told me that it was common for continental Europeans to spend a gap year in England learning English. And that apart from taking classes they take up jobs where they can practice the language – like driving a taxi or waiting tables.
  • The conversation also got me thinking about gap years and saving up for education – something that doesn’t at all happen in India. In India, the standard practice is to go to college immediately after school, when one is still being funded by parents. In one way, this reduces social mobility since people whose parents can’t afford college end up not studying. Also, the returns to education in India are high enough that the compensation for blue collar jobs (that one can find without a college degree) isn’t enough to fund a later degree.
  • Despite having Afghan parents, this guy has never been there. “It’s way too dangerous. I can go see relatives but will end up spending most time indoors, so not much fun”, he said.

Every time I have a conversation with a taxi driver I’m reminded of what I was told by a friend on the day I moved to Delhi in 2008. “It might be common in Bangalore to chat up auto and taxi drivers”, he had told me, “but in Delhi it is not the done thing”. I still wonder why.

1/13: Leaving home

Tomorrow, Pinky turns 30. I set out wanting to write 30 blogposts about her on the occasion. As it has happened, I managed 13 before I ran out of ideas and time. Anyway, I hope she likes them! 

Sometimes it’s hard to understand what some people are going through. When they put up a brave face and tell you that everything is okay, and they don’t crib, you simply assume that all is right with them. You don’t once try to understand that there might be some struggles going on within, and that the brave face is a result of being able to somehow deal with all of that.

Pinky hasn’t had the last three years easy. In August 2014, she moved to Barcelona to live by herself for the first time ever (she used to live with her parents until she moved in with me in 2010). The small matters of living alone for the first time, and in a new country, were compounded by lack of funds. We’d purchased an apartment in Bangalore earlier that year, and had exhausted a lot of our savings for that.

Unsure of how much she had to spend, Pinky economised. She would write a long email to me every day (and I’d wake up every morning looking forward to that mail), and while she seemed to be having a good time meeting new people and partying late into the night (on many days I’d be awake in Bangalore by the time she got home in Barcelona), she was also careful about conserving money.

There were times when she’d go out with new-found friends and not eat anything because the restaurant was too expensive. She’d ask for tap water, or the cheapest drinks, on nights out so that she didn’t blow away the savings. For breakfast she had buns and croissants bought in bulk at supermarkets – that came at a big discount.

She told me she looked forward to my visits to Barcelona in the hope that she could “spend normally”. In her last term when I lived with her in Barcelona, our monthly spending was three times what she normally spent when living alone!

And Barcelona was hardly the toughest part of her MBA. Her focus on e-commerce and operations had taken her for an internship to Jakarta, where she landed right in the middle of Ramzan. With her office being in an out-of-the-way warehouse, there were no lunch options available nearby, and she spent nearly the entire month without lunch, going all day hungry. Also a delay in her pay and reimbursement had led to a working capital crunch, which nearly left her homeless (it ultimately didn’t get THAT bad).

It was similar later that year when she was in U. Michigan as an exchange student. She survived an entire term without a lamp in her room (it was an unfurnished house), and slept on the floor on a mattress another student had donated to her. Food was also a struggle, as being the only woman among a bunch of Indians left her as the “resident cook” of her apartment. And the US sprawl meant she couldn’t get nutritious ingredients, which were only available at far-off supermarkets.

Yet, whenever we spoke, she was mostly positive and seldom cried. Irrespective of the difficulties she went through, she was focussed on her academics and career. It was only much later, after she had graduated that she had told me how she’d gone through really tough times.

And even amidst the toughness, she remained resourceful. She found that her US Visa allowed her to work on campus, and managed to make some money as a teaching assistant. Back “home” in Barcelona, she wrote cases and made more money. And despite some setbacks, she kept her job-hunt going, graduating with a much sought-after job with Amazon.

I’m proud to be married to her! And you might wonder why I’m suddenly writing all this – she turns 30 tomorrow, and this is as good a time as ever to express my gratitude to her!

Seasons

This day eleven years back I travelled to London to intern at an investment bank, in the middle of my MBA. The internship was an academic requirement and popularly referred to as “summer internship” at our school. The term confused people in London, though, with the common reaction being “it isn’t summer now”. Over time I learnt to respond to that with “but it’s summer in Bangalore”.

Back when I was a kid I dutifully learnt from textbooks that there were four seasons – “summer, winter, autumn and spring”. Despite efforts of multiple teachers to explain, I could never understand what autumn (there is no mass shedding of leaves in Bangalore) meant. Some Indian books we had substituted “monsoon” for “autumn” and I started assuming that “autumn” referred to the rainy season.

Over time I have understood that the monsoons are a uniquely India-and-around phenomenon, and they don’t exist elsewhere in the world. What’s taken longer for me to understand, however, is how that has affected my understanding of seasons.

Coming from Bangalore, where April is the hottest month, I’ve always assumed “summer” as lasting from March to May. “Mango showers” start coming in in the beginning of May, cooling down things a bit, and by the time we are in June, the monsoon is in full flow and you might even need a light sweater along with your umbrella.

Things heat up mildly again in October, after the South West monsoon has gone, but the sporadic cyclones of the North-East monsoon aren’t too far away, and there’s a graceful transition to winter. And February is the sole month of “spring” before things quickly heat up again.

It’s April already and things are still cold in Barcelona. It’s not as cold on average as a month earlier – I can occasionally dispense with my scarf, and pavement cafes are more full than before. I still need both a sweater and an overcoat, though, and the winds from the Mediterranean mean that the temperature you feel is much lower than what the thermometer suggests.

While I know that things will heat up in Barcelona in the next month (by which time I’ll be preparing to move back to Bangalore), the fact that things are so cold in April, the month I consider to be the peak of summer, is something that makes me terribly uncomfortable. I also find it quite funny that Barcelona was rather warm in October 2014 (when I first visited, and could walk around in shorts) and is so cold now.

This goes to show how much the monsoons affect the seasons in India, and in South India in particular. In fact, the definition of “summer” (as defined by school holidays) is itself different in different parts of India – South India breaks in April and May, and the North (where the monsoon hits much later) in May and June.

And yet, we continue to teach schoolkids that the “four seasons” are “summer, winter, autumn and spring”

PS: I find it hard to reconcile with the six seasons according to the Hindu calendar as well – maybe those have a North Indian bias

Amending the snooze function in alarm clocks

This is an idea that appeared to me in my dreams. Really. I’m not joking. Or maybe I thought of it as soon as I woke up this morning – in the cusp of dreams and reality, and then presently fell back asleep. Either ways, it doesn’t matter. The idea is surely mine, and not knowing how to profit from it I’m making it public.

The basic idea is that the inter-snooze interval between consecutive alarms should decrease geometrically. Currently, alarm clock apps on mobile phones have a fixed snooze duration. For example, my Moto G has a fixed snooze duration of 6 minutes (which I think i can change through settings, but will remain fixed at the new level then). The wife’s iPhone has a fixed snooze duration of 5 minutes (again customisable I believe).

However, I believe that this is illogical and makes you wake up over a longer time interval than necessary. The reasoning is that the degree of wakefulness at each alarm ring is different. When you wake up at the second ring (after you’ve snoozed it once), you’re more wakeful than you were when the alarm rang for the first time. After you’ve snoozed for the second time, you are unlikely to go into as deep sleep as you did when you snoozed it for the first time, in which case you are unlikely to go into the kind of deep sleep you were in before the first ring of the alarm clock.

By keeping the inter-snooze duration constant, what the alarm clock is doing is to give you an opportunity to go back in into the same kind of deep sleep (the longer you sleep between alarm rings, the greater the possibility that you will go back into deep sleep), which further impedes your complete waking up.

What is ideal is that the first time you get woken up from deep sleep, you struggle, snuggle and snooze, and go back to sleep. The next time you should be woken up before you’ve hit the deep sleep phase. You wake up again, struggle, snuggle and snooze, and go into shallower sleep. The next alarm ring should catch you at this shallower stage, and rouse you up. And so on.

So what I’m proposing is that the inter-snooze interval in alarm clocks should decrease geometrically. So if the first inter-snooze interval lasted five minutes, the next one should last less than that, and the one after that even less than that. Each time this interval should come down by a pre-defined fraction (let’s say half, without loss of generality). That way, even if you snooze multiple times, it ensures that you finally wake up in a time-bound fashion (beyond a point, the snooze duration becomes so small that it rings continuously until you switch off and wake up, and by then you have attained full consciousness).

So the way I want my alarm clock designed is that I define how much time I want to wake up in (let’s say default is 20 minutes), and a (harder to change) multiplicative factor by which inter-snooze times come down (default is half), and the inter-snooze interval decreases accordingly geometrically so that you wake up in exactly the time that you’ve initially specified!

So with the defaults of 20 and 1/2, the inter-snooze periods will be 10 mins, 5 mins, 2 min 30 secs, 1 min 15 secs, 37.5 secs, 18.75 secs, … by which time you should be annoyed enough to have woken up but yet wakeful enough having drifted back only just enough!

I think this is a world-changing idea, but I mention again that I don’t know how to commercialise it so putting it out in the open. If you think this works for you, thank me!

And perhaps this is a good assignment to start my career in programming mobile phone apps. Should I start with iOS or Android? (I have an android phone and an iPad).

Making coding cool again

I learnt to code back in 1998. My aunt taught me the basics of C++, and I was fascinated by all that I could make my bad old x386 computer to do. Soon enough I was solving complex math problems, and using special ASCII characters to create interesting pattens on screen. It wasn’t long before I wrote the code for two players sitting on the same machine to play Pong. And that made me a star.

I was in a rather stud class back then (the school I went to in class XI had a reputation for attracting toppers), and after a while I think I had used my coding skills to build a reasonable reputation. In other words, coding was cool. And all the other kids also looked up to coding as a special skill.

Somewhere down the line, though I don’t remember when it was, coding became uncool. Despite graduating with a degree in Computer Science from IIT Madras, I didn’t want a “coding job”. I ended up with one, but didn’t want to take it, and so I wrote some MBA entrance exams, and made my escape that way.

By the time I graduated from my MBA, coding had become even more uncool. If you were in a job that required you to code, it was an indication that you were in the lowest rung, and thus not in a “management job”. Perhaps even worse, if your job required you to code, you were probably in an “IT job”, something that was back then considered as being a “dead end” and thus not a very preferred job. Thus, even if you coded in your job, you tended to downplay it. You didn’t want your peers to think you were either in a “bottom rung” job or in an “IT job”. So I wrote fairly studmax code (mostly using VB on Excel) but didn’t particularly talk about it when I met my MBA friends. As I moved jobs (they became progressively studder) my coding actually increased, but I continued to downplay the coding bit.

And I don’t think it’s just me. Thanks to the reasons explained above, coding is considered uncool among most MBA graduates. Even most engineering graduates from good colleges don’t find coding cool, for that is the job that their peers in big-name big-size dead-end-job software services companies do. And if people consider coding uncool, it has a dampening impact on the quality of talent that goes into jobs that involves coding. And that means code becomes less smart. And so forth.

So the question is how we can make coding cool again. I’m not saying it’s totally uncool. There are plenty of talented people who want to code, and who think it’s cool. The problem though is that the marginal potential coder is not taking to coding because he thinks that coding is not cool enough. And making coding cool will make more people want to take it up, which will lead to greater number of people take up this vocation!

Any ideas?

When do you take a bus?

By now I’m supposed to have met my friend. If my bike hadn’t acted up this morning that is. It started but then I turned it off for a minute to close the gate and after that it didn’t start. Several futile kicks later I decided to take an auto rickshaw. And then I saw a bus come that way and decided to hop on. I’m sitting in the bus as I write this.

I’m thinking of when you take an auto and when you take a bus. In order to understand it let me list out the reasons I took a bus today.

Most importantly the bus takes the same route that an auto would have. This is not true for most routes in Bangalore – for most pairs of points in the city the bus connection takes a convoluted route. For various reasons, the most important of which is that it is infeasible to connect every pair of points in a city by a bus taking the shortest route.

Secondly the bus was empty. Effort enough for me to find a seat comfortably. But it’s been a rather bumpy ride so far

Thirdly the likelihood of the bus getting crowded en route was small. This is again an important consideration since a crowded bus move s slowly.

Fourthly there were few stops on the way – another rather important consideration. The reason a bus is slower than other means is that it stops along the way.

Finally and most importantly the bus will drop me close to my destination so it’s only a short walk.

That said my destination is here now so I’m getting off and closing this post.

Factorising 2015

Sometimes when I come across a new number I factorise it, just for kicks. So when the year ticked over that’s what I tried doing.

It is intuitive that 2015 is divisible by 5, so I quickly decomposed it into 5 times 403. And then my intuitive reaction was “403 looks prime. So 2015 is such an uninteresting number”.

But then doing the rigorous analysis (dividing 403 by all primes <= 20 (= sqrt (403)), I figured that it goes by 13, and can be decomposed into 13 and 31, which makes it quite interesting!

So 2015 is a product of 5, 13 and 31, which makes it interesting, in that it is a product of relatively small primes!

The year began well here in Bangalore. It started drizzling soon after the clocks ticked over 12, and this morning has also been what people might describe as “gloomy” but what I find to be absolutely romantic weather!

Wish you all a happy and prosperous 2015!