Announcing quay-admin

Posted on Fri 18 May 2018 in misc • Tagged with python, quay, devops

We use a fair bit at work—all our internal Docker images are stored there. I like it a lot, but the website makes it really hard to see who can access your repositories.

In particular, if someone ever leaves your organization, you have to click through all …

Continue reading

Announcing grafanalib

Posted on Thu 12 January 2017 in misc • Tagged with monitoring, python, weaveworks

Late last year, as part of my work at Weaveworks, I published grafanalib, a Python DSL for building Grafana dashboards.

We use it a lot, and it’s made our dashboards much nicer to maintain. I’ve written a blog post about it that you can find it on the …

Continue reading

Patterns are half-formed code

Posted on Thu 18 August 2016 in misc • Tagged with programming, golang, python

If “technology is stuff that doesn’t work yet”[1], then patterns are code we don’t know how to write yet.

In the Go Programming Language, the authors show how to iterate over elements in a map, sorted by keys:

To enumerate the key/value pairs in order, we …

Continue reading