Ever since I’d moved my hosting from vanilla EC2 to docker, I’d been getting plagued by timeouts between NGINX and php-fpm. At first, the issue appeared to be on the fpm side, as these NGINX error-logs showed.
Category: Coding

Network Automation and Endian
These days, however, my first few interview questions are usually about Automation, and conceptualization of a Network as a data model. After all, Routing protocols are just software implementation of some algorithm on steroids.
Tolstoy – Version 1.3.3
Another weekend project. Releasing this under GPL. Use it, break it, make it better – All good! Just carry on the GPL

Automate backups to USB as soon as it is plugged in: Linux!
Simple; were the requirements for this evening – When I plug in my USB drive into my Openstack(ubuntu) server, i want it to automatically start backing up vm-harddisks.

iMac retina 5K, and target display mode – Solution?
iMacs since 2009 have all supported ‘target display mode’, which basically lets you hook up your macbook pro using thunderbolt to your iMac and use the iMac as an external monitor for the macbook.

Spot the difference
The difference between the two following pieces of code are pretty evident, or are they?Except for the fact that one was almost 60 times faster than the other, over 100,000 iterations.