Using Amazon SQS with Django and Celery

August 31, 2015

I'm currently working on a new Django project which relies heavily on Celery. I normally use RabbitMQ for these kinds of projects but I decided to give Amazon SQS a try this time as it's very cheap and will simplify my setup.

While the Celery docs does a pretty good job explaining how to set it up, there were a few things that it didn't cover that I'm sure other devs ...

Switching my default search engine to DuckDuckGo

June 28, 2015

For your average Internet user, it's probably hard to imagine using any other search engine but Google. Even the word 'google' seems to have replaced the word 'search' when talking about the web. Whenever I'm with a group of people and a question comes up that no one could answer, someone would often say "Google it."

We live in a world now where we're always connected. Whenever a question pops up, the ...

Living in Medellin, Colombia

June 21, 2015

I switched from full time employment to remote freelance part-time work a few months ago so I could mix work and travel. The term commonly used to describe this kind of lifestyle nowadays is a "digital nomad."

I decided to make Medellin my first stop as I've heard good things about it as a digital nomad destination and I remember having a really great time in Colombia when I visited the country 3 years ...

Using ipdb with Docker Compose for interactive debugging

May 30, 2015

Back in the early days of Docker Compose, when it was still called Fig, you couldn't use ipdb with it to do interactive debugging because the container's service ports weren't exposed when using the run command. This has been fixed by including a ---service-ports option to the docker-compose run command.

Below is a sample usage for one of my Django projects, EZ Price Alerts.

In my detail view, I added import ipdb ...

A short trip to Jardin, Colombia

May 5, 2015

Jardin came up a few times during conversations with locals when asking them for recommendations of nearby towns to visit. Normally, you'll hear about Guatape, but once in a while Jardin will come up. It got me curious enough to check it out.

Jardin is located south of Medellin, about 3 to 3.5 hours by bus. Though I was told that if you drive you can get there in about 2 hours.

To ...

Using Docker and Docker Compose for local Django development (replacing virtualenv)

April 30, 2015

Before Docker came along, virtualenv was pretty much the tool of choice for Python developers as it allows you to separate package dependencies for different applications you're working on without having to create separate virtual machines for each one. It worked very well for me.

However, there are still some annoying things the developers will have to deal with. Such things include having to install additional applications and services required by the project such ...