| 26 Aug 2025 |
Qyriad | oh wait is it just in the docs? | 16:45:17 |
raitobezarius | Yep | 17:08:19 |
| 27 Aug 2025 |
| Tran Minh Hieu joined the room. | 02:45:11 |
| crop joined the room. | 21:00:47 |
| 28 Aug 2025 |
just1602 | I gave it a shot and bump nixpkgs to 25.05 for the lix 2.92 branch: https://gerrit.lix.systems/c/lix/+/4120 | 04:02:45 |
just1602 | I hope it's gonna help until we get renovate to do all the heavy lifting for us :D | 04:03:33 |
Sergei Zimmerman (xokdvium) | So on 2.93.3 when I do nix flake metadata path:%00 it starts gobbling up all RAM. | 10:06:35 |
Sergei Zimmerman (xokdvium) | For context, I was doing URL cleanups in CppNix and added validation code for this sort of thing. That seems to be fucked everywhere. Percent encoded NUL bytes are a menace | 10:08:24 |
helle (just a stray cat girl) | nul bytes in general are a menace, ouch | 10:09:16 |
Sergei Zimmerman (xokdvium) | I wonder what lix is doing here to gobble up gigabytes of ram in seconds | 10:09:39 |
Sergei Zimmerman (xokdvium) | Nix just crashes with a stack overflow | 10:09:54 |
helle (just a stray cat girl) | I have my suspicions | 10:10:01 |
Sergei Zimmerman (xokdvium) | Coroutine stack frames it seems | 10:11:12 |
helle (just a stray cat girl) | either stack or indefinitely growing the output array due to a lack of correct termination of the decode | 10:11:43 |
Sergei Zimmerman (xokdvium) | Hm yeah seems to be growing a std::string in list called from dumpSingle | 10:19:00 |
piegames | In reply to @xokdvium:matrix.org For context, I was doing URL cleanups in CppNix and added validation code for this sort of thing. That seems to be fucked everywhere. Percent encoded NUL bytes are a menace What the hell even is this percent encoding 👀 | 13:01:27 |
piegames | Oh wait that's an URL encoding | 13:31:01 |
Sergei Zimmerman (xokdvium) | In reply to @piegames:flausch.social Oh wait that's an URL encoding tomayto, tomahto | 13:34:30 |
piegames | Dunno, it's just that I forgot Nix uses URLs for Flakes here, so I was bracing for yet another ad-hoc escaping mechanism (the ones within the language are not well designed) | 13:39:02 |
aloisw | There are also other places where shitty URL parsers that don't handle percent-encoding properly are used, for example the remote builders. | 15:22:44 |
Sergei Zimmerman (xokdvium) | In lix maybe, don't imagine this code was touched much since 2.18 | 16:10:24 |
aloisw | Are you saying this is fixed in nix? | 16:48:32 |
Sergei Zimmerman (xokdvium) | Not entirely, but it's starting to look less scuffed now. Final beast to defeat is the invalid %2F decoding into /, which completely changes the meaning of flake references. | 16:54:37 |
Sergei Zimmerman (xokdvium) | That stuff should round-trip, but doesn't | 16:55:27 |
tea | https://github.com/NixOS/nix/pull/13708 has pretty neat performance gains, not sure about the tradeoffs involved. | 17:58:43 |
| Charles changed their profile picture. | 17:59:27 |
jade_ | this is plausibly safe. Let me file a ticket | 22:57:17 |
jade_ | https://git.lix.systems/lix-project/lix/issues/983 | 22:58:39 |
| 29 Aug 2025 |
| Charles changed their profile picture. | 19:12:26 |
| 30 Aug 2025 |
| 522 it/its ⛯ΘΔ changed their display name from 522 [it/its][ΘΔ] to 522 it/its ⛯ΘΔ. | 14:10:43 |