Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Son: A minimal subset of JSON for machine-to-machine communication. Parent comment
Well, yeah since signed zeros are a thing.
Chrome:
> JSON.parse('-0.0') -0
> JSON.parse('0.0') 0
python:
In [3]: json.loads('-0.0')
Out[3]: -0.0
In [4]: json.loads('0.0')
Out[4]: 0.0
There are no comments on this comment yet.
Well, yeah since signed zeros are a thing.
Chrome:
> JSON.parse('-0.0') -0
> JSON.parse('0.0') 0
python:
In [3]: json.loads('-0.0')
Out[3]: -0.0
In [4]: json.loads('0.0')
Out[4]: 0.0