Mike Dilger on Nostr: Nostr is a giant shit show. The fact that our software interoperates at all is a ...
Nostr is a giant shit show. The fact that our software interoperates at all is a miracle and probably just a temporary anomaly. Given enough time, the relentless breaking changes being made to published NIPs will eventually break everything.
Linux succeeded because "WE DO NOT BREAK USERSPACE". For nostr to succeed, changes must "NOT BREAK EXISTING IMPLEMENTATIONS". There shouldn't be any exceptions to that EVEN IF THE IMPLEMENTATION WAS NON-COMPLIANT.
Pay close attention to Linus right here:
> Are you saying that pulseaudio is entering on some weird loop if the
> returned value is not -EINVAL? That seems a bug at pulseaudio.
Mauro, SHUT THE FUCK UP!
It's a bug alright - in the kernel. How long have you been a
maintainer? And you *still* haven't learnt the first rule of kernel
maintenance?
If a change results in user programs breaking, it's a bug in the
kernel. We never EVER blame the user programs. How hard can this be to
understand?
Linus doesn't want to break pulseaudio EVEN THOUGH pulseaudio was doing the wrong thing.
It seems like every week I find a NIP that I've coded for has changed. This last week I think it happened three times already. Sometimes it's a small change and I quickly update my code. But I can't read all the PRs, and I'm afraid dozens of small changes have slipped past my notice. Gossip is probably now incompatible with multiple other implementations which happen to have implemented different versions of the same NIPs (some older, some newer).
Even if we didn't have any breaking changes, the simple fact that different software implements different optional NIPs itself presents to end users like broken software. Why does it work in Damus but not Amethyst? Why does it work in Amethyst but not Coracle? That is an even harder problem to solve.
But let's at least solve the easier problem and stop changing NIPs. If you don't like a NIP make a new one, don't break the current one. Even if you think the current one sucks balls and should have never happened. Even if you think there aren't many implementations out there.
Published at
2024-02-15 08:07:46Event JSON
{
"id": "e6e8e8145ddbc48deda6c120ab03ccd5d1011055e0305c6903403160295a0d6c",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1707984466,
"kind": 1,
"tags": [],
"content": "Nostr is a giant shit show. The fact that our software interoperates at all is a miracle and probably just a temporary anomaly. Given enough time, the relentless breaking changes being made to published NIPs will eventually break everything.\n\nLinux succeeded because \"WE DO NOT BREAK USERSPACE\". For nostr to succeed, changes must \"NOT BREAK EXISTING IMPLEMENTATIONS\". There shouldn't be any exceptions to that EVEN IF THE IMPLEMENTATION WAS NON-COMPLIANT.\n\nPay close attention to Linus right here:\n\n \u003e Are you saying that pulseaudio is entering on some weird loop if the\n \u003e returned value is not -EINVAL? That seems a bug at pulseaudio.\n\n Mauro, SHUT THE FUCK UP!\n\n It's a bug alright - in the kernel. How long have you been a\n maintainer? And you *still* haven't learnt the first rule of kernel\n maintenance?\n\n If a change results in user programs breaking, it's a bug in the\n kernel. We never EVER blame the user programs. How hard can this be to\n understand?\n\nLinus doesn't want to break pulseaudio EVEN THOUGH pulseaudio was doing the wrong thing.\n\nIt seems like every week I find a NIP that I've coded for has changed. This last week I think it happened three times already. Sometimes it's a small change and I quickly update my code. But I can't read all the PRs, and I'm afraid dozens of small changes have slipped past my notice. Gossip is probably now incompatible with multiple other implementations which happen to have implemented different versions of the same NIPs (some older, some newer).\n\nEven if we didn't have any breaking changes, the simple fact that different software implements different optional NIPs itself presents to end users like broken software. Why does it work in Damus but not Amethyst? Why does it work in Amethyst but not Coracle? That is an even harder problem to solve.\n\nBut let's at least solve the easier problem and stop changing NIPs. If you don't like a NIP make a new one, don't break the current one. Even if you think the current one sucks balls and should have never happened. Even if you think there aren't many implementations out there.",
"sig": "96fefc88010f64d9382820889c24fe5b5138f635666f5c5a11dd11dc7950865e23e120460a70a640a420286312a9b708d68dfc91c54ea01ec173eb513f013328"
}