News for hackers. Stuff that matters.
Re:Ask HN: What is new in Algorithms / Data Structures these... by jsunderland323 on Wednesday May 10, 2023 @11:56AM (#35889205)
To answer your question 2. I don’t think you can realistically delete a key, contend with network partitions, and have a true eventually consistent data structure. I think you’re sort of running into the uncommit problem. Feels solvable but at the expense of another trade off you don’t want to make. The solution here is really in workflow. Git solves it by separating the act of committing and pushing. If you push a commit containing a secret, the only thing you can do is invalidate the secret or not push your offline branch containing the commit in the first place.
Re:Ask HN: What is new in Algorithms / Data Structures these... by vermilingua on Wednesday May 10, 2023 @07:12PM (#35894803)
Then how about the same way as real-world situations where secrets are committed: regenerate the whole history with that string redacted. Not an ergonomic experience, but I think it’s an acceptable tradeoff and users would understand that it’s a nuclear option for a rare usecase.

Disclaimer: layman of the highest degree