• Working out

    I started to work out last year around the same time. I can clearly remember my first day to the gym. I had almost fainted after some running and some push ups. I was sweating profusely and trying to catch my breath while lying down on a mat. The 200 m walk to my home took…

  • Increasing max open files limit on Ubuntu

    To ensure good server performance, the total number of client connections, database files, and log files must not exceed the maximum file descriptor limit on the operating system (ulimit -n). Linux systems limit the number of file descriptors that any one process may open to 1024 per process. Edit /etc/security/limits.conf and add these lines to the…

  • Motorcycle trip to Hampi, Gokarna, Murudeshwara and Jog Falls

    After a lot of planning I left for my solo motorcycle ride from Bangalore to Hampi, Gokarna, Murudeshwara and Jog Falls. I started from Bangalore on Feb 22 and came back on March 1. I rode around 1400 kms. This post is a travel log. There is enough information available about all these places on…

  • Age is just a number..

    Isn’t it?

  • You are not alone..

    You are not the first one to be in the situation. You are not the only one in that situation. You are not alone.

  • My 2x estimation rule

    Estimation is an important part of software development and its incredibly difficult to make correct estimation. Over the time, I have realized that on most occasions my estimates were very aggressive despite keeping some buffer time. Then one day I decided to try out something new. I divided the feature in small tasks and then…

  • disabling output buffer from python scripts

    Today I encountered a weird problem while running a python script with nohup. I was not getting anything in the output file even after waiting for 2-3 minutes which was unusual as I have used nohup on countless occasions with bash scripts and had not seen this issue. Python itself buffers stdout and stderr which…

  • WFH

    After a brief stint at Mountain View, I came back to Bangalore and have been working from home since then. Working from home (rather from a remote location for me, since rest of my team is on the other half of the world) has its own advantages and disadvantages. I am listing down some of…

  • My desk

    This is my desk. So what do we have here: Lenovo Thinkpad T530 Dell H2312HM Monitor Microsoft Ergonomic 4000 Keyboard 3M Ergonomic mouse Apple Mini Displayport to DVi Adapter Creative 2.1 Speaker system (not visible in the pic) All the products are from different vendors. I had not noticed this until I took this pic.

  • Real time notifications for web applications using nodejs, socket.io and redis pubsub

    Recently I was working on a real time workflow for a module. I found it really difficult to find good tutorial for the same. I struggled with Flask, gevents and lot of other things and finally settled down to nodejs and socket.io and redis pubsub. I have written a tutorial for the same https://github.com/roshansingh/realtime-notifications. The…

Got any recommendations?