What is Nostr?
mplorentz / Matthew Lorentz
npub16zs…92l7
2023-04-06 11:43:15
in reply to nevent1q…euz0

mplorentz on Nostr: So yeah, the U in BUGS is me. Just wanted to personally apologize for the error. It ...

So yeah, the U in BUGS is me. Just wanted to personally apologize for the error. It was a really stupid error and I several lessons about how to do this better in the future. For anyone who is curious, the specific bug is that I counted votes as "kind 7 events where any etag references this note" when it should have been "kind 7 events where *the last* etag references this note". The script I used to calculate the events is published here for auditing and in case anyone else wants to try a voting process like this in the future.
github.com/mplorentz/nostr-voting-tools

In a weird way though I think this is a great example of how transparency and open systems are superior. We decided to do our community vote in the open on Nostr which hadn't been done before. Because the data was public nobody had to take our word for it and it let to the correct outcome in the end. I will be much more careful next time sats are on the line, but I'm going to keep dogfooding and learning at the bleeding edge of what Nostr can do! Thank you for being gracious Felix (npub1z9n…vycf).
Author Public Key
npub16zsllwrkrwt5emz2805vhjewj6nsjrw0ge0latyrn2jv5gxf5k0q5l92l7