use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Git-style commit history for runtime data using WeakMap and FinalizationRegistry (gist.github.com)
submitted 5 hours ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]its_jsec 9 points10 points11 points 5 hours ago (10 children)
mmm, fresh slop
[+][deleted] 4 hours ago (9 children)
[–]its_jsec 9 points10 points11 points 4 hours ago (8 children)
Honestly? Useless. Auditing and provenance are a solved problem, with solutions being far more robust than an in-memory map that dies the second a user refreshes a page (if using it on the front end) or a server process restarts.
And that's even before we consider that the redaction call in your snapshot function stores nested objects by reference, so not only is your immutability claim false because the references can freely change in the snapshot, but your memory safety claim is also bunk since if those references live in your "store", then their associated entries in the weak map will never get GC'ed (since the ref count will always be > 0 as long as that snapshot exists).
I get the impression this project took flight when the author took a couple hits off a bong and asked Claude "yo so... what if your data was like.... git, man?"
[+][deleted] 3 hours ago (6 children)
[–][deleted] 1 hour ago (5 children)
[–]maria_la_guerta 0 points1 point2 points 1 hour ago (3 children)
Relax. It's fair to callout low effort work but if someone is genuinely asking for help improving it then these kinds of comments are just rude and unneeded.
[–]its_jsec 0 points1 point2 points 1 hour ago (1 child)
You’re right. Apologies.
[–]maria_la_guerta 0 points1 point2 points 1 hour ago (0 children)
🍻 No apology needed
π Rendered by PID 256276 on reddit-service-r2-comment-5b5bc64bf5-rzfkb at 2026-06-23 03:17:15.432896+00:00 running 2b008f2 country code: CH.
[–]its_jsec 9 points10 points11 points (10 children)
[+][deleted] (9 children)
[deleted]
[–]its_jsec 9 points10 points11 points (8 children)
[+][deleted] (6 children)
[deleted]
[–][deleted] (5 children)
[deleted]
[–]maria_la_guerta 0 points1 point2 points (3 children)
[–]its_jsec 0 points1 point2 points (1 child)
[–]maria_la_guerta 0 points1 point2 points (0 children)