{"type":"rich","version":"1.0","author_name":"npub1t9txg5aevth45pu9hcz075tj3ch25fydn8c38wew90qjjdjv3rqq3r6cf0","author_url":"https://nostr.ae/npub1t9txg5aevth45pu9hcz075tj3ch25fydn8c38wew90qjjdjv3rqq3r6cf0","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2013-10-26\n📝 Original message:The HTTP status code system seems to work well enough, and seems to give \nthe best of both worlds.  A 3 digit numeric code that is \nmachine-readable, and a freeform text note for humans.\n\nThe clever part about that system was in realizing that the numeric \ncodes didn't need to account for every possible error. They just need to \ngive the other node the most useful information, like \"try that again \nlater, I'm having a temporary problem\" vs. \"That is just plain wrong and \nit will still be wrong next time too, so don't bother to retry\".\n\nWe can leave it to the humans to puzzle out the meaning of \"403: values \nof txid gives rise to dom!\"\n\nGavin wrote:\n\u003e\n\u003e On Oct 26, 2013, at 11:01 AM, Jean-Paul Kogelman \u003cjeanpaulkogelman at me.com\u003e wrote:\n\u003e\n\u003e\u003e Would it make sense to use either fixed length strings or maybe even enums?\n\u003e No. Enums or fixed length strings just make it harder to extend, for no benefit (bandwidth of 'reject' messages doesn't matter, they will be rare and are not relayed).\n\u003e\n\u003e\n\u003e ------------------------------------------------------------------------------\n\u003e October Webinars: Code for Performance\n\u003e Free Intel webinars can help you accelerate application performance.\n\u003e Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from\n\u003e the latest Intel processors and coprocessors. See abstracts and register \u003e\n\u003e http://pubads.g.doubleclick.net/gampad/clk?id=60135991\u0026iu=/4140/ostg.clktrk\n\u003e _______________________________________________\n\u003e Bitcoin-development mailing list\n\u003e Bitcoin-development at lists.sourceforge.net\n\u003e https://lists.sourceforge.net/lists/listinfo/bitcoin-development"}
