Saturday, 12 March 2016

Restoring An Old Typewriter


This post is in remembrance of my grandfather, who was a man of great discipline, and from whom I got this typewriter.


Friday, 11 March 2016

On Setting Hadoop, HBase with Docker: Networking

I will explain how I set up networking for Hadoop and HBase clusters using Docker containers on more than one machines.
I have been developing an application for deployment at my work. This deployment application generally can deploy any service which has a Docker image available for it. Particularly, our uses involve services, relating Big Data Analytics, such as Hadoop HDFS, MapReduce, HBase, Kafka, Spark and many more.
I must say that there are many articles on how to do networking for Docker containers which span on more than one machine. However, the purpose of this writing is to share and discuss the problems we have faced during the setup, and the design choices we made.

Iteration Order of Maps in Go and Test Cases

This is a riddle about how I came about a problem while writing test cases in Go for a function that involved map data structure.
I faced this problem when I started writing test cases for a project written in Go. The problem appeared when I wrote a test case for a routine which took a map as input and return a string based on the content of the map.