I emailed the IETF HTTP group about my timeout header idea, and a few people said that RFC 7240’s “wait” preference does what I want. I’m not entirely convinced that this is what was intended by that spec, but it’s close enough. In response, I’ve updated my Express middleware to support the “Prefer” header and “wait” preference.
OCaml operator cheatsheet
One of the hardest parts of learning OCaml is figuring out what the infix operators do, since they’re just a string of symbols and you can’t find them with a Google search. This is my attempt to make a cheatsheet for whenever you’re wondering what a random series of symbols means.
Monitoring servers with Monit
This machine runs a lot of services and I don’t use all of them. After breaking several of them and not noticing (again), I decided to finally set up service monitoring. After some research, Monit was relatively easy to set up and seems to meet my needs. I figured other people might want some examples of how to use it, so this post describes how to set it up and you can see my config file at the end.
Now with SSL goodness
I set up an SSL certificate for this site today and it was surprisingly easy.
Last time I wanted a free certificate, it was a huge pain. This time it was actually easy. A Google search for “ssl certificates stackoverflow” lead me to the Cheapest web certificates question …
Responsive design
I decided a couple of days ago that this site really needed a responsive design, since it’s the cool thing to do and stuff.
diff --git a/themes/brendanlong/static/css/style.css b/themes/brendanlong/static
index 96a16b4..eb493b9 100644
--- a/themes/brendanlong/static/css/style.css
+++ b/themes …