jb55 on Nostr: Finding myself implementing postel’s law in damus even when it feels wrong: “be ...
Finding myself implementing postel’s law in damus even when it feels wrong: “be conservative in what you do, be liberal in what you accept from others”
When damus sees @npub it will parse it now, even though its not spec’d. It leads to a less confusing behaviour for users. There is some ancient wisdom in internet protocols that I didn’t appreciate fully until now.
https://en.m.wikipedia.org/wiki/Robustness_principlePublished at
2023-09-01 17:12:45 GMTEvent JSON
{
"id": "bc1fa1c908cedcb62e6bf7103034970dc40f9af0cea22a9f16b31247a82b7966",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1693588365,
"kind": 1,
"tags": [
[
"r",
"https://en.m.wikipedia.org/wiki/Robustness_principle"
]
],
"content": "Finding myself implementing postel’s law in damus even when it feels wrong: “be conservative in what you do, be liberal in what you accept from others”\n\nWhen damus sees @npub it will parse it now, even though its not spec’d. It leads to a less confusing behaviour for users. There is some ancient wisdom in internet protocols that I didn’t appreciate fully until now.\n\nhttps://en.m.wikipedia.org/wiki/Robustness_principle",
"sig": "5e7da83811df8eddeef186c65e9e32e36d92dce752339b2f35da53d05192c01239e69dba91622b417eb733e60c5cb1895304abb607bdec7ef6921771d1b090f3"
}