I have no opinion about the content of this blog post, but it's the first one I've seen with a minimap alongside it: https://mcyoung.xyz/2024/12/10/json-sucks/ (also the headings are wild.)
=> More informations about this toot | More toots from nedbat@hachyderm.io
@nedbat huh, the case of float("inf") producing unambiguously-wrong JSON is bizarre. Historical artifact of supporting web applications sending stuff to JS?
The only filed bug I can find about it¹ seems to be more concerned with being able to serialize NaN to null.
The unfortunately-named allow_nan
parameter at least turns that into an exception, but I can't recall the last time I saw code that cared to set it.
¹ https://github.com/python/cpython/issues/98306
=> More informations about this toot | More toots from SnoopJ@hachyderm.io
@nedbat I will say that protobuf on the inside and json on the outside is a good general comms strategy.
Don't get me started on JSON schema...
=> More informations about this toot | More toots from bonsai@hachyderm.io
@nedbat A minimap? I don't see one on mobile, even if I turn on "request desktop site" in my browser. What does it look like?
=> More informations about this toot | More toots from mgedmin@floss.social
@mgedmin @nedbat I don't see it on desktop either... until I make my browser window very wide
like those weirdos who always maximise the window 😂
=> More informations about this toot | More toots from anentropic@fosstodon.org This content has been proxied by September (ba2dc).Proxy Information
text/gemini