Topics /

Infrastructure & DevOps

The most popular blog posts about infrastructure & devops on Hacker News. 341 posts.

2023
125

Making my own bed sensor

I recently created some “bed sensors” for my smart home that detect if one of us, or both of us, is in bed. I use a couple of pressure mats that detect when weight is applied to them, and stuck then under our mattress at around hip level and these tell my Home Assistant home automation platform if

133

PgBouncer is useful, important, and fraught with peril

Updated 2024-09-17 to reflect updated PgBouncer support for protocol-level prepared statements 🐘 To start, I want to say that I’m appreciative that PgBouncer exists and the work its open source maintainers put into it. I also love working with PostgreSQL, and I’m thankful for the incredible amount of work and…

136

A terminal case of Linux

Has this ever happened to you? You want to look at a JSON file in your terminal, so you pipe it into jq so you can look at it with colors and stuff. That’s a useless use of cat. …oh hey cool bear....

138

FreeBSD Jails Containers

FreeBSD networking and containers (Jails) stacks are very mature and provide lots of useful features … yet for some reason these features are not properly advertised by the FreeBSD project &#…

142

Moving my PC into my rack in a 2U case

This week I finally moved my gaming/Linux PC into my little office rack—it's that 2U box above the UPS at the bottom: I remembered seeing Linus Tech Tips' 4U build in a video a couple years ago—but he has a full 42U rack in his basement. I don't have that much space—just 2U (technically 3U if I wanted) in my little…

146

Kubernetes Needs an LTS

There is no denying that containers have taken over the mindset of most modern teams. With containers, comes the need to have orchestration to run those containers and currently there is no real alternative to Kubernetes. Love it or hate it, it has become the standard platform we have largely