Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
qhwudbebd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
qhwudbebd
2y ago
The nat64/clat situation on Linux is not brilliant at the moment. There are userspace implementations like Tayga and Tundra. These incur kernel-userspace-kernel transition for each packet so are pretty inefficient and struggle unnecess
32.
▲
by
qhwudbebd
2y ago
One of the choices you've made that I really like is sharing the kernel and userspace filesystem code so directly in the form of libbcachefs. I get the impression this means the kernel can do practically everything userspace can, and v
33.
▲
by
qhwudbebd
2y ago
Do these give you decent performance DMA-able gpio and spi like you get even on a cheap rpi4? (I'm not claiming they don't/can't, just that it isn't immediately obvious to me that they would.) For example, spi is an
34.
▲
by
qhwudbebd
2y ago
Agreed it could be improved fairly easily at this early stage, and even documenting 'standard recipes' would help. But I do think as a default, prefacing with a fixed string with fixed capitalisation is probably the wrong choice v
35.
▲
by
qhwudbebd
2y ago
I played with this briefly, and saw that supplement can also take a function, which presumable how you make @wibble return '(34)' instead of 'Equation 34'? The function is passed the equation itself, so supplement: x =&g
36.
▲
by
qhwudbebd
2y ago
When you talk about an adaptor with 2m of cable, I guess that's really what I'm buying here? There's a USB C plug at one end and a male barrel connector at the other. Adding another pair of USB C female + USB C male somewhere
37.
▲
by
qhwudbebd
2y ago
Much less interesting and DIY, but I discovered cheap USB-C PD to barrel connector cables exist for a variety of different diameters and voltages not so long ago, and they've been great. So convenient to ditch a bunch of wall-warts and
38.
▲
by
qhwudbebd
2y ago
Serial console + reset line control for the win here, if you want easy to diy. I guess there are lots of arm32/arm64 embedded boards that run openbsd you might repurpose and be able to mount inside a machine and which will have near ze
39.
▲
by
qhwudbebd
2y ago
My version of this is to use a serial console server for direct access, rather than vga + keyboard. If the kernel is still running fine but network access is down, I have a getty running on the serial port. If the kernel has locked up too,
40.
▲
by
qhwudbebd
2y ago
That's definitely a level of remote-hands intervention I've not had from the handful of places I have racks of colo kit. You're right, it might be something some of them do for other customers though; I've never really a
41.
▲
by
qhwudbebd
2y ago
Having run hosting companies from the mid 90s as well, from memory this kind of thing was pretty normal, even in allegedly secure places like London Telehouse. Quite a few of us in that era were juggling it with being students, so it wouldn
42.
▲
by
qhwudbebd
2y ago
I'm pretty suspicious of trusting the firmware on things like that either, to be honest. (Personally, I tend to use serial cables and a little custom board to turn serial breaks into resets, but I know my NIH instinct is probably a lit
43.
▲
by
qhwudbebd
2y ago
Ipmi is a bit of a double-edged sword. Network-connected access to a serial console (including uefi/bios console redirection) and the reset button can be a total lifesaver, I agree. I wouldn't want to be without a serial console a
44.
▲
by
qhwudbebd
2y ago
Yes, I'm assuming that's exactly why OpenWrt is mentioned but it's very misleading. The OpenWrt folks generally have good enough taste not to ship any drivers or userspace junk from vendor SDKs, though they do have a fair-siz
45.
▲
by
qhwudbebd
2y ago
Sorry, yes, my use of 'vendor' here was ambiguous. I meant Mediatek, the chipset vendor.
46.
▲
by
qhwudbebd
2y ago
Ooh interesting. I'd assumed (incorrectly) that OpenBSD tar was just libarchive like FreeBSD and NetBSD. I prefer BSD libarchive tar to GNU tar as /bin/tar on my Linux machines too for what it's worth.
47.
▲
by
qhwudbebd
2y ago
The wording of the headline is a bit misleading here. I followed the link thinking it might be a firmware or silicon bug as I have a couple of routers at home with mt76 wifi, but was relieved to find it's just a bug in the vendor'
48.
▲
by
qhwudbebd
2y ago
I agree about the practical utility of bzip2. It's quite an interesting historical artefact, though, as it's the only one of these compression schemes that isn't dictionary-based. The Burrows-Wheeler transform is great fun to
49.
▲
by
qhwudbebd
2y ago
Both libarchive ("bsdtar") and GNU tar have -a, which I guess are the only two upstream tar implementations that are still relevant? You're right, it can take a while for these things to propagate downstream though.
50.
▲
by
qhwudbebd
2y ago
I'm interested in their last step, in which they set vm.dirty_ratio = 40 vm.dirty_background_ratio = 10 vm.swappiness=10 governor=performance energy_perf_bias=performance min_perf_pct=100 to raise a surprisingly low p
51.
▲
by
qhwudbebd
2y ago
This was present in versions 9.5 - 9.7 of OpenSSH and fixed in 9.8p1 released at the beginning of July. Philippos (along with others) is credited for reporting it in the release notes: https://www.openssh.com/releasenotes
52.
▲
by
qhwudbebd
2y ago
"He wants a glider. Not a problem. There are quite good hang gliders." Off-topic I know, but 100% this. Modern hang-gliders are amazing: easy to learn, unbelievable glide performance and handling, cheap to buy and learn. The '
53.
▲
by
qhwudbebd
2y ago
If you're up for DIY, it's easy to turn a sufficiently long serial break into a toggle on a reset line and/or power button with a couple of discrete components. A serial break is the only situation in which an RS232 line is d
54.
▲
by
qhwudbebd
2y ago
I'm really interested to hear more about your work too! I've had a few situations where IP cameras would have been ideal, but I dropped the idea after examining a handful because the firmware is invariably too awful to contemplate
55.
▲
by
qhwudbebd
2y ago
Ah interesting. I use git-format-patch instead of git-send-email myself, so I can re-read the resulting mbox before sending it. I always thought of git-send-email as a wrapper that just passed most options straight through to format-patch,
56.
▲
by
qhwudbebd
2y ago
Nice! A couple of thoughts re. your "It's not perfect" which wouldn't add real extra complexity: Using --from with git-format-patch will add the From: header to the commit message body in the standard way when emailing a
57.
▲
by
qhwudbebd
2y ago
Whilst this is true in theory, the experience of being a data centre customer, taking transit from one or two providers and peering with a handful of others is very different to being a user of a bulk cloud infrastructure provider. I think
58.
▲
by
qhwudbebd
2y ago
A slight tangent, but still kind of relevant: given that we're lumbered with UEFI on x86-64, are there any active projects working on a better UEFI shell? Every time I interact with it, I am struck by how awful it is, but the shell is
59.
▲
by
qhwudbebd
2y ago
I completely agree, over time I've found myself moving to doing exactly this on every system I run. On UEFI systems, I can use the UEFI shell to add kernel command line options or launch a fallback kernel if I've screwed up badly
60.
▲
by
qhwudbebd
2y ago
You can just pass the custom command line as you run the kernel from UEFI shell prompt, e.g. fs0:linux.efi root=/dev/nvme0n1p1 initrd=ramfs.img loglevel=2 In my experience the nuisance part is creating and editing boot entr
More ›