[update 2025.10.29] abstract, minor clarification edits. TL;DR Program HAproxy with LUA to extract information from backends and set response headers/status codes. I'm using HAproxy to load-balance HTTP between two backend nodes. HAproxy is pretty smart about doing this, backing off failing backend nodes, retrying failed requests on healthy backend nodes etc. Recently I got a … Continue reading Convert HTTP response body to status code with HAproxy
Author: George Georgovassilis
Disable Firefox media auto play
Disabling audio and video auto play in Firefox over the settings page doesn't work reliably at the time of writing (v111). I found this setting to get the job done: type about:config in the address bar Find the setting media.autoplay.blocking_policy Set it to the value 2
Testing a Terraform resource deployment
I like to include smoke tests [ST] in my Terraform [TF] deployments just to make sure I didn't overlook anything obvious. One such way is to interact with a resource that invokes other resources, such as an HTTP endpoint that is routed through API gateways, application containers and databases. An easy and portable way to … Continue reading Testing a Terraform resource deployment
Reactivate Linux network interface after standby
I'm happily using (after all this time!) the Acer Nitro 5 [AN5] with Ubuntu 20.04 and the power saving script [PSS]. Unfortunately, when using the lowest power mode, the Ethernet interface won't get an IP any more. The Ethernet interface wakes up with a simple command: sudo ip link set enp7s0 up Resources [AN5] Ubuntu … Continue reading Reactivate Linux network interface after standby
Technical debt ratio
Technical Debt [TD] concluded that "Technical debt is the amount of work needed to decrease the total cost of a product", which establishes a qualitative link between effort spent now and effort spent later. That link can be expressed quantitatively across projects of different sizes as the Technical Debt Ratio (TDR). The Technical Debt Ratio … Continue reading Technical debt ratio

