If there is no opportunity then create one…
In 2005, I joined a company as a trainee programmer right after finishing my college. I did Mechanical engineering(2001-2005), but during the campus placement I was placed in a software company so I...
View Article7 Habits I Wish Every (Junior) Programmer Should Have
Over the last 11 years as a programmer, I have made some habits that have helped me in my day to day work. In the process, these habits have successfully translated into productivity and they have made...
View ArticleBe a Rock Star at Work
Yesterday, I started reading The Greatness Guide book by Robin Sharma and one of the important lessons he shared is Be a Rock Star at Work. This looks obvious but if you ask yourself honestly you will...
View ArticleDonald Knuth Advice To Young People
Really great piece of advice to all the programmers. Don’t believe in something just because it is trendy. You get more prestige by doing good science rather than by doing popular science. Try to...
View ArticleOkHttp with Let’s Encrypt Certificates
If you are using OKHttp to make request to a server that used Let’s Encrypt certificate then you might get following exception. One way to avoid this error is by using JDK 1.8.0_101. This will make...
View ArticleWhy it’s hard for programmers to write a program to flatten a list?
I take many programming interviews at my current organisation. These days one of my favourite interview question is to flatten a nested list structure. I give user an input [1,[2,3], [4, [5,6]]] and...
View ArticleHands-on guide for building Serverless applications
Yesterday, I released hands-on guide to building Serverless applications using AWS Lambda and Serverless framework. The guide is open-source and available on Github. Checkout the guide and please give...
View ArticleWorking through sbt test deadlock
Today, I encountered an issue while running tests for one of my Scala SBT projects. Each time, ran sbt test command hang. After running jvisualvm, I discovered that it is due to thread deadlock. I...
View ArticleCreate directories corresponding to each alphabet using linux command-line
Today, I had to create twenty-six directories each corresponding to an English alphabet. I wrote a simple bash script that uses for loop with mkdir to do it as shown below.
View ArticleLearn To Say No
Time and again I end up discussing about importance of saying No with my friends and colleagues. I believe that yes should not be the answer to most requests that comes our way. Still, most of us end...
View ArticleInspiring Ordinary People – part 1
Yesterday, while roaming around Delhi streets I found an old man feeding pigeons near Humayun road traffic light. What caught my attention was the dedication old man showed in cleaning dirty utensils....
View Article5 Docker Utilities You Should Know
There are a lot of cool Docker utilities that you can find on the web. Most of these are open source and available on Github. I have become an active user of Docker for last two years, using it for...
View ArticleMulti-stage Docker Image Build for Java Applications
A few days back, I discovered a new Docker feature — multi-stage builds. The multi-stage build feature helps you create thin Docker images by giving possibility to divide image building process into...
View ArticleTalk: Alpaca Static Typing On The Beam
Today, I watched talk Alpaca Static Type Checking on the Beam. alpaca-lang is a statically typed functional programming language inspired by ML family of languages for the Erlang VM. It has strong...
View ArticleTalk: Container Performance Analysis
Today, I watched DockerCon 2017 talk on Container Performance Analysis. Talk is given by Brendan Gregg, Senior Performance Architect at Netflix. In his talk, he shares various linux tools that can help...
View ArticleAlan Kay Talk: The computer revolution hasn’t happened yet
This is a very good talk where Alan Kay talks about what’s wrong with current OOPS languages and how he envisioned object oriented. For those who don’t know, Alan Kay coined Object Oriented Programming...
View ArticleBret Victor Talk: The Future of Programming
This talk by Bret Victor is an eye opener. It was delivered by Bret in 2013. He gave this talk assuming we are in 1973 and then talked about how future of programming will look like in 2013. He talked...
View ArticleSandro Mancuso Talk : Functional is cool, but do you know OO
One of the best talks on SOLID design principles and OO design that I have watched recently. This talk is 4 years old but more relevant today as many programmers are trying to follow functional...
View ArticleUpgrading Docker Compose to latest version
If you use Docker for Mac or something similar, Docker Compose will be installed along with it. Docker Compose has a different release timeline for Docker for Mac so you will not be able to try latest...
View Article