News for hackers. Stuff that matters.
Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal... by jcheng on Friday October 24, 2025 @11:28AM (#45695643)
Not if you're passing binary data
Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal... by woodruffw on Friday October 24, 2025 @11:39AM (#45695737)
Even beyond that: the ASCII delimiter control codes are perfectly valid UTF-8 (despite not being printable), so using them for in-band signaling is a recipe for pain on arbitrary UTF-8 data.
Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal... by mananaysiempre on Friday October 24, 2025 @11:48AM (#45695827)
If you know your data is UTF-8, then bytes 0xFE and 0xFF are guaranteed to be free. Strictly speaking, 0xC0, 0xC1, and 0xF5 and up also are, but the two top ones are free even if you are very lax and allow overlong encodings as well as codepoints up to 2³² − 1.
Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal... by woodruffw on Friday October 24, 2025 @01:23PM (#45696890)
I think it would probably be better to invest in a proper framing design than trying to poke holes in UTF-8.

(This is true regardless of UTF-8 -- in-band encodings are almost always brittle!)