Nerd

Car attempts to use JavaScript

Getting started Getting fast feedback in your IDE is vital to having a happy developer experience. Flow adds that value for me for JavaScript programming. Atom Install ide-flowtype. I just switched from the lighter-weight linter-flow and I’m liking it. The good parts You can use Flow with no transpilation You can use Flow with no…

Read More Flow Type for coding in JavaScript with guardrails

For years, my tool for simple load tests of HTTP sites has been ApacheBench. For years, my reference for how to visualize ApacheBench results has been Gnuplot For years, my reference for how to use Gnuplot has been http://www.bradlanders.com/2013/04/15/apache-bench-and-gnuplot-youre-probably-doing-it-wrong/ But do you really want to be writing Gnuplot syntax? It turns out that Pandas will…

Read More Apache Bench

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