Nerd

Ren and Stimpy

[update: This post has been corrected, thanks to my commenters for your feedback] Every Django management command gets the verbosity option for free. You may recognize this: optional arguments: -h, –help show this help message and exit -v {0,1,2,3}, –verbosity {0,1,2,3} Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output We rarely use…

Read More Django management commands and verbosity

Post thumbnail

When building high performance Django sites, keeping the number of queries down is essential. And just like controlling technical debt and maintaining test coverage, being successful means making monitoring queries a natural part of your workflow. If your momentum has to be stopped to examine database queries, you’re not going to do it. The solution…

Read More Check yo queries before you wreck yo site

I’ve been learning Ansible off and on and off for the past year. I have so many complaints, but I still think it’s the least worst provisioning system out there. It’s online at crccheck.github.io/fuckingansible/, but I’ve also embedded it below: I’d go more into Ansible, just just thinking about it make me so angry. So…

Read More Demo: Fuckin A

Post thumbnail

I’ve been interested in Ansible for a long time now, and thanks to my coworker’s expertise, I’ve been able to get my feet wet. My main barrier has been finding a way to run playbooks. For my first attempt at learning Ansible, I tried running it locally using `ansible_connection=local`. But I found that running it…

Read More Testing Ansibile Playbooks with Vagrant