Friday, November 09, 2018

Red + Blue

I moved one of my toy cloud app from Redhat to Bluemix and then this hapenned...



Thursday, October 18, 2018

What a big shift in Microsoft's attitude towards open source

Open source contributions made by employees of different organizations

Courtesy: https://octoverse.github.com/projects

Sunday, August 26, 2018

Cutting the corners

No day passes by without a discussion of the traffic woes during the lunch. Everyone narrates their ordeal during the morning commute and we all end up agreeing that this is not going to change. If at all, it's going to become worse. The location is Chennai but similar discussions are common place around India. No amount of blaming or outrage is going to change the situation, instead i just want to document some common mistakes on the road I encounter regularly.

Being a non-native English speaker, I encountered the term "cutting the corners" in a different context and only later realized that the term could have originated by the behaviour on road.

Cutting corners #1



Cutting corners #2


Friday, May 12, 2017

setuptools - dealing with compiling custom modules on windows

pip install has hugely simplified how python modules are installed and managed but sometimes it simply can't compile custom extensions despite having all the prerequisites. This simply boils down to pip not being able to automatically determine the required visual studio environment. The simplest fix I found and that I keep forgetting is to get to visual studio command prompt and set a couple of environment variables to prevent distutils from auto discovering the visual studio environment.

%path_to%\vcvarsall.bat x64

SET DISTUTILS_USE_SDK=1
SET MSSdk=1


Saturday, December 03, 2016

Pausing...

This thought came up one day when I was in my second job. My first job was all about exciting stuff such as device drivers, firmware for smart card terminals, cryptography and a whole lot of cutting edge technologies, the fancy and glamorous stuff that would be a dream for many aspiring programmers. But I cannot say the same thing about my second job. To my surprise I didn't even realize it till very long into my job. Motorola 68k, serial communication, matrix keypad and text display can’t be called cutting edge even 15 years back, that’s when this thought popped up - What was I doing all these 6 years? Was I in a long hibernation, isolated and lost in the career path? I sure was not idle all these years, rather I was very busy fixing things, so it definitely should have some value addition and learnings that I didn’t realize. That’s when I set out to reflect on my experience working on legacy software and hardware platforms.

Thursday, March 17, 2016

Self driving cars - the Indian dilemma

I read an article about self driving cars which got me thinking about the prospects of such a car in an Indian context. Aside from the general problems that autonomous cars have to tackle, I could instantly think of  a few additional and unique problems of its own in an Indian context.

The direction dilemma: At times when I end up in a new intersection, I have a few problems waiting to be solved before I can proceed towards the destination.
  • Missing signal posts
  • Misaligned signal posts
  • Signal post not visible from the stop line because it's sometimes right over the head and even behind it.
The stop dilemma: On one occasion, the car in front stopped and I stopped behind it as well but later realized that the car has "pulled off" for a break without any indication.

The indicator dilemma: How many times I have driven behind a vehicle with the indicator on assuming that it will take a turn but later realized that it wouldn't because the driver had forgot to switch it off after the last turn.

The pass dilemma: I have wondered for a long time why the switch to blink the headlight is marked as "pass" on my motorcyle. In India this is used for the exactly opposite purpose, i.e. to THREATEN the oncomers to STOP when one wants to take a turn.

The indicator dilemma: Driving on highways, it took me some time to realize that the turn indicator is used by a vehicle in the front to signal it's intention to allow the vehicle behind it to overtake.

The honking dilemma: I am riding and not doing anything wrong and some one honks from behind - what should I do.

These are just a few scenarios that came to my mind instantly. SURPRISES are the norm here, even an experienced driver has to think twice before making a decision, leave alone the self driving cars. Last night I was taken by surprise when I saw the display board on a minibus flashing green LEDs and for a second thought that it was the traffic signal. U-turns, I don't even want to talk about it. Many assumptions that is a starting point for the self driving cars will be rendered untrue, we need to raise to the ground fist before building on top of it. The irony is that, these cars will one day teach us how to behave on the road!