David Leadbeater

336 Followers
309 Following
149 Posts
Monitoring 📊, SRE, Open Source, Security 🔐. Emoji fan 🦸‍♂️. Just your average cynical Brit 🇬🇧 in 🇦🇺. He/him.
🕸https://dgl.cx
🛸https://dg.cx
@MaddieM4 if you’re using pure qemu maybe qemu -display curses is easier than ssh? I use that all the time, even works for silly things like running MS-DOS over SSH…
@benjojo yes, you need the RFC 8195 mug
@paul_j the 7.9 directory won’t be there until nearly release time, you need to use the -Dsnap option to pkg_add for this month or so. https://man.openbsd.org/pkg_add#snap
pkg_add(1) - OpenBSD manual pages

AI, by the way is free:
Was just looking at the possible specs of the Lenovo X1 Carbon Gen 14. Rather expensive option here! Also does anyone know what the $20 "Haptic Touchpad" means in terms of actual hardware?
News from #sydbox git: Starting next release, we're going to be signing binary releases with #OpenBSD signify rather than #GnuPG. To enable practical signing in #Exherbo #Gitlab CI, I wrote an #ISC licensed, pure portable #POSIX shell implementation of #OpenBSD signify. signify.sh has no external dependencies and runs with PATH=. It has unit tests embedded which may be run with --test option: https://gitlab.exherbo.org/sydbox/sydbox/-/raw/next/dev/signify.sh #exherbo #linux #security

@whitequark @th at work we have an environment (on kubernetes, but could be ported to other things) where technically it’s running inside a container but docker works without the awful docker-in-docker hacks, this needs some careful application of user namespaces. I think various commercial offerings like exe.dev and bunny.net (their magic containers product) do things along these lines using kata containers.

The real problem is there are almost too many ways to do this and you get to integrate them yourself…

@xz note that Go can use libc as a resolver (https://pkg.go.dev/net#hdr-Name_Resolution), if this breaks you setting one of those environment variables is a potential workaround, but only a temporary one.

I'd also recommend unveils for the other DNS related files listed in my post (/etc/hosts in particular, there are some very subtle behaviours there, some recursive DNS servers will resolve "localhost", others won't, so if you don't have /etc/hosts, it's essentially random whether "localhost" works). There's a few more details to be worked out, I'll share a Go specific update to that post soon.

net package - net - Go Packages

Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets.

@itamarst I wonder whether if you used cpusets to isolate a core (https://documentation.ubuntu.com/real-time/latest/how-to/isolate-workload-cpusets/) and then only ran your workload on it if it would help. Although a lot of setup for what should be simple.
How to isolate CPUs from general execution with cpusets

Cpusets is a kernel feature that allows users to assign specific CPUs and memory nodes to a set of tasks, enabling fine-grained control over resource allocation. It also allows you to exclude certa...

Real-time Ubuntu
@freddy @sash interesting… https://developer.mozilla.org/en-US/docs/Web/API/SVGElement/load_event claims it doesn’t work in Firefox and references a 15 year old bug… but yes, that would get a few more characters :)
SVGElement: load event - Web APIs | MDN

The load event fires on an SVGElement when it is loaded in the browser, e.g., in the DOM in the case of an embedded <svg>. It is basically the same as the standard load DOM event.

MDN Web Docs