Python library fabric is a great way to automate command line tasks. If you use command line, know Python, and don't know bash-scripting (or prefer using Python to bash-scripting) then you are likely to find fabric extremely useful in automating repetitive tasks. In this "live" post I will record different…
Suppose you are using the pdflatex command to generate a PDF from your LaTeX document, and you need to insert pages from an external PDF document in the PDF document that you are creating. You can do this quite easily using the pdfpages package by Andreas Matthias. I learnt about…
If you have ever wondered about the real-world applicability of Game Theory you should read the following post by Ariel Rubinstein. In case you do not already know, Rubinstein is one of the distinguished researchers in the field of Game Theory.
Rubinstein: How game theory will solve the problems of…
This article describes the steps one can take to setup a Ubuntu 12.04 server with some basic security. I wrote the article as I was setting up such a server on Digital Ocean. However, I believe that these steps are applicable even if you are not using Digital Ocean…
Let us create some box-and-whisker plots (henceforth, referred to simply as boxplots) using Matplotlib. At the end of the post we will have a boxplot which looks like the following.
Import the libraries and specify the type of the output file.
The first step is to import the python libraries…