| 18 May 2024 |
mei 🌒& | uh i'm not sure, just OOM'd after writing that msg | 20:01:46 |
mei 🌒& | luckily i made it recover nicely so im back here already. :p mapAttrsRecursiveCond (as: true) id nodes.cookiemonster.options | 20:02:18 |
puck | ah, that is in fact infinitely recursive non-cycle | 20:02:28 |
mei 🌒& | eats all the memory and a few cpu cores and yeah | 20:02:31 |
mei 🌒& | not good | 20:02:36 |
mei 🌒& | In reply to @puck:puck.moe ah, that is in fact infinitely recursive non-cycle bad ux,, | 20:02:45 |
mei 🌒& | lost my big repl thing cuz i printed a recursive thing | 20:03:08 |
puck | yeahhhhh we should have an issue for repl history imploding | 20:03:21 |
mei 🌒& | and recurse limit 🥺 | 20:03:32 |
mei 🌒& | maybe even configurable interactively-only in the repl | 20:03:47 |
mei 🌒& | silly code should not hang the machine | 20:04:18 |
mei 🌒& | ill make the issues | 20:05:01 |
mei 🌒& | REPL history should be saved immediately #328 | 20:07:35 |
raitobezarius | if i remember, there was a crude recurse limit detector | 20:07:56 |
raitobezarius | but i think eelco wanted to remove it? | 20:08:01 |
puck | i think we added one in, yeah | 20:08:37 |
puck | but that doesn't help wider recursion issues, which i think this was | 20:08:47 |
mei 🌒& | not making the other ticket since idk enough | 20:10:46 |
mei 🌒& | or i could make a "this expr blows repl up" thing | 20:11:00 |
raitobezarius | fwiw, tvix has no recursion limit | 20:12:21 |
raitobezarius | (constant stacksize recursion IIRC) | 20:12:41 |
raitobezarius | effectively, this is obviously not a solution for your case | 20:12:52 |
mei 🌒& | someday they will make a wasm engine in nix and you will play doom over the filesystem and __trace | 20:12:57 |
raitobezarius | I think L-as was interested into that in CppNix | 20:13:12 |
mei 🌒& | someone was with the wait+readFile thing yuh | 20:13:26 |
mei 🌒& | but theres no synchronization primitive | 20:13:34 |
mei 🌒& | tho.. if you run fast enough maybe you could just loop over a readFile | 20:14:08 |
Grimmauld (moving to @grimmauld:grapevine.grimmauld.de) | In reply to @ckie:ckie.dev someday they will make a wasm engine in nix and you will play doom over the filesystem and __trace i mean, you could technically do it the nixos way running during some phase of a "package" i think?though thats not really nix, so kinda cheating | 20:23:01 |
mei 🌒& | it'd still b cool | 20:23:17 |
| 19 May 2024 |
| 0x4d6165 joined the room. | 05:25:11 |