• Sometimes when you compile some libraries like opencv, they install the compiled shared libraries in non standard path /usr/local/opencv/lib instead of /usr/lib or /usr/local/lib.  So when you try to compile your code against these libraries, gcc will not be able to locate them or when you are using python bindings, python wont be able to locate them.…

  • Most linux distributions come pre-installed with Transmission. Though it works fine but it is very basic. Deluge is an extremely good substitute for transmission. You can view files in the torrent and set priority. You can also remove some files from the download. This is something I use extensively.

  • 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…

  • 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…

  • 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…

  • Isn’t it?

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

  • 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…

  • 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…