Lo and Behold

A few days back, I published an article Lo and Behold here on my blog, and also publicized on Medium and LinkedIn.

The article, inspired by Werner Herzog’s documentary Lo and Behold, is my opinion on one of the anecdotes (Robots that are being designed to beat Messi).

Does the anecdote grab your attention? Then you should find my article interesting.

Let me know what you think.

Text Editors

I am not a *nix commands expert .. but a professional? So why not relish educating my brother a couple of nifty commands, especially – find and grep, which he was looking into at the time. You can find a few more here if you are interested.

So much for the command line, watch out for the _overdose_1. I find it funny when people, especially developers, copy files on the command line on a Mac (or Ubuntu for that matter); I mean files on the local machine. Specifically, they either copy the file (Cmd-C) via the Finder and paste it, or worse drag and drop, on the Terminal 2. Our next laugh was about editing local files in vim 😆3.

The question isn’t why shouldn’t you edit local files in vim 💪, the question is why would you (want to)? 🤔

Continue reading Text Editors

Bits, Bytes and Stones


The Mamallapuram Shore Temple, constructed on the deep southern shores of the Bay of Bengal, is one of the oldest stone structures on the planet. It was built around the beginning of the Anno Domini (AD). The site consists of three temple structures, subsidiary structures, and statues primarily built with granite. Prominent statues are that of a lion and elephant with great significance in the way it was rock-cut. Chariots are the primary subsidiary structures other than the temple. It is inevitable not to be marveled at the temple design, intricate and precise carvings and inscriptions. Carvings are made on a monolithic rock on which the works of an elephant and its ear with its loose skin are nearly impossible even today. Inscriptions, according to linguists, is poetic and metaphorical, a sophisticated language nevertheless. Another marvel is Krishna’s Butter Ball, a massive boulder of rock sitting tight above a rocky slope.

Continue reading Bits, Bytes and Stones

A funny moment of IoC

IoC – Inversion of control, is a design that enables fluid flow of control by decoupling tight dependencies between the portion of a code that exhibits behavior and another portion of code that provides required functionality. One form of IoC, as we know, is Dependency Injection (DI). For instance, a TextEditor could refer an ISpellChecker instead of direct coupling to a specific implementation of spell checker thereby enabling the text editor to switch spell checker or even use more than one.

Continue reading A funny moment of IoC

Dealing with Bad Code

Read this fine article by Joel Spolsky: Things You Should Never Do

It is a great article, one that invokes mixed feelings. The article talks against rewriting (large scale) software…..from scratch. Joel was kind enough to consider all those who write software as true programmers; people who give enough thought and not just code up something that works. However, it is far different in the real world. That said, I am neither completely in disagreement with Joel nor am I advocating to rewrite large scale software once the code is identified as a mess.

Continue reading Dealing with Bad Code

To Ritchie !!!

Dennis Ritchie, whom we all know as the creator of the C programming language passed away on Oct 12, 2011. We have lost one of the brilliant minds of mankind. I owe him this post for he has been one of the greatest inspirations in my life and the very reason that I am into programming.

Dennis Ritchie (1941-2011)

The first time I saw Ritchie’s picture, for a moment, he looked like Jesus to me. I would say that the divinity that his face reflected pulled into the world of programming. It was during my college days that I lay hands on his book – The C Programming Language. It is one of the most influential computer books I have ever read. I had read it at least a couple of times and referred it a thousand times. I felt it was sort of a lecture by Ritchie himself. And so I had marked a lot of pages with comments and questions as if they are addressed directly to Ritchie himself. I had the book with me almost all the time. I even hide myself in the last row during other lectures to read the book. I felt excited reading the book. The book has a special place on my book shelf.

C is the among the first programming languages that I learnt, and it has its influence on me until this day. In the same way, it still has its influence in the computer industry. And his work on Unix, it proposed and implemented the principles of a modern operating system and also opened the gates of open source programming. Kudos to his contributions to computer science.

I believe he will continue to live among us and be remembered all the time through his work and creations. May his soul rest in peace.

P.S: Quoting Dennis Ritchie as the author of the book The C Programming Language, by no means, belittles Brian Kernighan, who is the co-author. The protagonist of this post is Ritchie and thus highlights his contributions.