Join Nostr
2025-05-28 12:29:14 UTC

Natanael Copa on Nostr: Bumped into a weird bug today. `base64 -d something | dd bs=32 skip=96 count=1 ...

Bumped into a weird bug today.

`base64 -d something | dd bs=32 skip=96 count=1 2>/dev/null` does not always return the same data on loongarch64.

Apparently busybox dd does not guarantee that the full block is read unless `iflag=fullblock` is specified, which sort of makes sense.

Would probably not have detected this without access to real hardware.

Shows value of running CI on unusual architectures.

#Loongarch64