!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

414 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.138 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
26 Aug 2025
@raitobezarius:matrix.orgraitobezariusYep17:08:19
27 Aug 2025
@cirius-go:matrix.orgTran Minh Hieu joined the room.02:45:11
@crop_tech:matrix.orgcrop joined the room.21:00:47
28 Aug 2025
@just1602:systemli.orgjust1602I gave it a shot and bump nixpkgs to 25.05 for the lix 2.92 branch: https://gerrit.lix.systems/c/lix/+/412004:02:45
@just1602:systemli.orgjust1602I hope it's gonna help until we get renovate to do all the heavy lifting for us :D04:03:33
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) So on 2.93.3 when I do nix flake metadata path:%00 it starts gobbling up all RAM. 10:06:35
@xokdvium:matrix.orgSergei 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 menace10:08:24
@helle:tacobelllabs.nethelle (just a stray cat girl)nul bytes in general are a menace, ouch10:09:16
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)I wonder what lix is doing here to gobble up gigabytes of ram in seconds10:09:39
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Nix just crashes with a stack overflow10:09:54
@helle:tacobelllabs.nethelle (just a stray cat girl)I have my suspicions10:10:01
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Coroutine stack frames it seems10:11:12
@helle:tacobelllabs.nethelle (just a stray cat girl)either stack or indefinitely growing the output array due to a lack of correct termination of the decode10:11:43
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Hm yeah seems to be growing a std::string in list called from dumpSingle 10:19:00
@piegames:flausch.socialpiegames
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:flausch.socialpiegamesOh wait that's an URL encoding13:31:01
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @piegames:flausch.social
Oh wait that's an URL encoding
tomayto, tomahto
13:34:30
@piegames:flausch.socialpiegames 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:julia0815.dealoiswThere 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
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)In lix maybe, don't imagine this code was touched much since 2.1816:10:24

Show newer messages


Back to Room ListRoom Version: 10