My message is in the public archive here: https://yhbt.net/unicorn-public/20251227071714.D9328160070@m...
71 karma · joined August 29, 2021
My message is in the public archive here: https://yhbt.net/unicorn-public/20251227071714.D9328160070@m...
hashes recorded automatically at deploy,
stored in S3 with write/read separation,
verification runs regularly. It saves you from scripting all of that by hand.
Files are hashed in parallel, so large sets can be processed quickly.
On repeated runs, unchanged files skip hashing with a default 90% probability using a cache. This keeps checks lightweight even at scale
content-only hashing to avoid false positives,
S3 integration with strict write/read separation,
a single Go binary with minimal dependencies. It’s designed to be easy to deploy and run in production.
I was thinking about whether to return an error. If we can’t find a UTF-8 start byte in the nearby 4 bytes, it’s unclear what to return. I thought maybe we could ignore this problem.
I don’t return the string itself because I don’t know if users want the start or the end of the string. Also, I want to avoid copying large strings. It’s up to the users how they use this function.
Since no one is using this package yet, we might consider changing the interface.
I appreciate your feedback and understand that a more flexible command structure might be easier for users. We will consider making this change in future versions to accommodate different usage preferences.