Comment by camgunz
5 months ago
> Size is irrelevant because UUIDs are meant to be used as is (see my other comment). `b210cdca-5d10-4c2e-a604-0fdd9502f02b` has no intrinsic meaning as a number 236689833926310967579631802650001076267; every parsing and formatting against UUID can be done bytewise for that reason.
I don't understand your point here. Either there's benefits to representing them numerically (size, speed of comparison, etc) that can be realized w/ MP's extension types, or we can just leave them as strings and MP supports everything you'd want to do with them. What's your issue w/ MP here again?
> CBOR does support such "private" tags (starting at 80000) if you want anyway
I really thought this too, but I can't find it in the spec. The spec links to a big ass list of tags [0] which, holy shit haha, what is going on here? "YANG bits datatype"? "Gordian Envelope"? "Bigfloat with arbitrary exponent"? "Extended bigfloat"? What on earth supports any of this? Anyway, can you link what you're looking at?
Later: Oh, I found it! It's in the big ass list of tags. Although I don't think it's really official? I read through the linked email thread and they don't mention the port range. They seem like they settle on using 1010 and then switching on data after the tag.
> And that's your claim, not the verifiable fact.
You're not seriously claiming CBOR has anywhere near the usage of JSON/XML/HTML.
> CBOR API is rare mainly because CBOR is new
CBOR is over ten years old. That's not new.
> Needs for binary JSON were always high
Where are all these binary JSON APIs? Is there a list anywhere near as large as this big public APIs list on GitHub [1]?
---
I've been nerd sniped by this enough so I'm gonna quit following these threads. I want to leave you with the fact that I've been right about everything all along, and that the world would be a better place if everyone just listened to me always. Good luck out there.
[0]: https://www.iana.org/assignments/cbor-tags/cbor-tags.xhtml
No comments yet
Contribute on Hacker News ↗