New Kid in the Block: SHARQ - an Open Source, Rate Limited, Queueing System

I have been fascinated about task queues since my college days. The way they are designed & work has always interested me. Being a Pythonista, I have been using Celery for a long time. Ask has done an amazing job building Celery and the ecosystem around it. It works great for general use-cases faced by a lot of companies in their day to day workflows (like sending out emails in the background, running periodic tasks, so on). However, sometimes that doesn’t suffice.

Read on →

My Experiments With Postgres

Being a Postgres user from the past couple of months, I have learnt some tricks, configs, queries that have helped me a lot. These not only save time but also makes the interaction with Postgres more pleasurable. I’ll share some of my learning here…

Read on →

Hello Emacs

Since the day I found Sublime Text, it has been my favorite and default editor for all programming and general writing. The simplicity and the elegance of Sublime is what makes me love it. But sometimes, it is not just enough to know how to use a graphical editor. You need to master a command line based editor as well. I realised this when I moved to Mac at work.

Read on →

Using Fabric to Run Commands Remotely

At times, you might have to do some ninjaing around to run commands on mutiple servers. If you are like me, a semi literate in shell scripting, you’d google for the shell / awk syntax and waste hours writing scripts to do this. But then, wasting hours to run a simple script on multiple servers is pointless. What if I can do this with Python? All problems solved :) That is where Fabric comes into picture!

Read on →

Django Dumpdata to Dump Selective Rows

Thanks to my telephony geek friend for letting me know this simple but highly useful method to selectively dump django models data into a django standard model-dump format. Here is a simple snippet which shows how to selectively dump only the required rows and not the entire model.

Read on →