Theremin and Clara Rockmore

I played this Google Doodle today. The instrument in the doodle is called a Theremin and it was put in there to commemorate the 105th birthday of Clara Rockmore, a Lithuanian Virtuosa performer of the Theremin. Why does this instrument appeal to me? What Theremin dreamed up was an electronic instrument with two primary circuits: a pitch... Continue Reading →

Using Celery with Flask

In this post, I will talk about using Celery with Flask. I'm going to assume that you have completed this tutorial on Celery. Basic Flask app structure Assume that we have written a nicely working Flask app which now needs to do some backend processing. Here's our basic Flask app structure: +--myapp_dir/ +--app/ +--static/ +--templates/ +--utils/ +--views/... Continue Reading →

Storing Results in Celery is a Bad Idea

For months I had sleepless nights over Celery backend system crashes. I was using RabbitMQ initially and then switched to Redis and it didn't change anything. The Problem My app would generate hundreds of data every hour after processing and RabbitMQ would run out of file descriptors to handle it and crash. With Redis, the... Continue Reading →

Using Fabric With Flask

I recently came across Fabric, a library that can be used for deployment or system administration tasks. To check out the most basic usage refer this tutorial. I'm going to assume that now you have a basic understanding of Fabric. You run fabric using the fab command on the terminal. This is efficient if you are using the terminal... Continue Reading →

It Rained Today

It rained today The weather report had predicted before But some event would unfold I had never known It rained today And suddenly I felt that cold It had memories of the past I could feel it within me once more While I was still breathing My thoughts whirled inside If I cried, I wouldn't... Continue Reading →

Powered by WordPress.com.

Up ↑