Network engineer at AS12322. Debian and free software developer. Like to work on projects with C, Python, or Go. He/him. https://vincent.bernat.ch
Just discovered `-overlay` build flag. github.com/vincentberna...

@vincent.bernat.ch
Network engineer at AS12322. Debian and free software developer. Like to work on projects with C, Python, or Go. He/him. https://vincent.bernat.ch
Just discovered `-overlay` build flag. github.com/vincentberna...
Hacking the Go compiler to efficiently map IPv4 to IPv6: vincent.bernat.ch/en/blog/2026.... This post digs in how to modify the Go compiler to reduce netip.AddrFrom16()+netip.As16() to almost nothing, first through the noding process, then with rewrite rules for the SSA form.
New release of Akvorado! github.com/akvorado/akv....
Self-hosted HTTP tunnels with SSH and nginx: vincent.bernat.ch/en/blog/2026.... That's like ngrok or Cloudflare Quick Tunnels, but self-hosted and you only need SSH.
From twitter bad_pote
Bot-free self-hosted analytics with GoatCounter on NixOS: vincent.bernat.ch/en/blog/2026.... With an alternative JavaScript client, a fallback to CSS, an overdoing local proxy, and a lot of NixOS, including Litestream to backup an SQLite database!
Quality of life in Thunderbird with this patch to avoid drag&drop folders by accident: github.com/vincentberna.... Thanks to Nix, it's no issue to apply such a patch.
Sidenotes with CSS anchor positioning: vincent.bernat.ch/en/blog/2026.... A short post about positioning notes in the margin (and not at the end of the document) and a digression on how to spend far more time than needed on this issue.
I am self-publishing videos on my website using HLS (check https://
vincent.bernat.ch/en/blog/2018-self-hosted-videos). But, I made a video with two sound tracks and browsers don't support audio track selection without JavaScript. Maybe I'll switch to VideoJS 10 once it is not in beta anymore.
I tried uploading my latest video on Youtube. It seems that I have to be "verified" to be able to add a link to the text version or to add a second language track. I also immediately got a claim about the audio soundtrack, while its recording is CC-PDM-1.0. So, I've just deleted the video.
It's difficult to build very high performance tools in Go. For example, BART would benefit for an helper over net/netip: github.com/golang/go/is.... Unfortunately, the maintainers consistently reject these APIs but Go don't really offer any safe workaround. You can't extend, you can't fork.
Minor update for Akvorado, your beloved flow collector. Among them, a few small fixes, the ability to zoom out, or the support for DB-IP.