Ancestors

Toot

Written by Ned Batchelder on 2024-12-11 at 03:14

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

Descendants

Written by SnoopJ on 2024-12-11 at 03:27

@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

Written by Keith Williams on 2024-12-11 at 04:14

@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

Written by Marius Gedminas on 2024-12-11 at 05:01

@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

Written by anentropic on 2024-12-11 at 11:22

@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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113632011783208059
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
268.793773 milliseconds
Gemini-to-HTML Time
1.089928 milliseconds

This content has been proxied by September (ba2dc).