Choose Postgres queue technology

Choose Postgres queue technology
Introduction Postgres queue tech is a thing of beauty, but far from mainstream. Its relative obscurity is partially attributable to the cargo cult of “scale”. The scalability cult has decreed that there are several queue technologies with greater “scalability” than Postgres, and for that reason alone, Postgres isn’t suitably scalable for anyone’s queueing needs. The cult of scalability would rather we build applications that scale beyond our wildest dreams than ones that solve real problems beyond our wildest dreams.
Read more →

Document your secrets, please

Document your secrets, please
TL;DR ess automates syncing .env with env.sample It’s available here on Github. The problem If you have a look through any software or infrastructure project you’ve worked on in the past, it won’t take long before you come across some “secrets”. Secrets are how we generally refer to things like passwords, API keys, and certificates that act as “identity”. If you have the secret to an identity, you or your systems are assumed to have that identity.
Read more →

Making static Hugo sites dynamic with htmx and Go

Update :: live demo now available A demo of this concept is now available at https://garbagespeak.com and the demo source code is available at https://github.com/acaloiaro/garbagespeak.com/. Intro I’ve encountered a lot of skepticism around the idea of adding dynamic behavior to Hugo sites with hugo-htmx-go-template. That skepticism is well founded, because Hugo bills itself as a static site generator. So why would anyone want to add dynamic functionality to Hugo sites when Hugo aspires to be a simple static site generator?
Read more →

Let’s Encrypt (cerbot) with Hashicorp’s Nomad, Nginx, and Docker, the easy way

Overview I’m always looking for the easy way. Certbot already makes retrieving TLS certificates from Let’s Encrypt easy. But it’s getting those certificates “into production” that tends to be less easy. This is the easy way to get Let’s Encrypt TLS certificates into production with Hashicorp’s Nomad. This is an overview of what we’ll be doing: Using Nomad’s docker driver to run docker container jobs. Using a cerbot docker image that performs a DNS-01 Challenge using Hetzner’s DNS API.
Read more →

[video] Mountain Biking Haflin Creek Trail in Durango, CO

[video] Mountain Biking Haflin Creek Trail in Durango, CO
A rough edit of my Haflin Creek ride today. Roughly the first ~1000 ft. of vertical drop are missing from this video because the quality was too poor to include. Any by that, I mean that I don’t know how to position an action camera correctly. This was only my second time riding with a camera, and it took all of half a ride for a rock to kick up from my front tire and crack the lens.
Read more →