The Hallucinated Rows Incident
medium.com
medium.com
Using a static site generator is surprisingly simple!
What's really left unexplained here is where the need came about for precision to be represented in this way. Like -- at first the article made it seem like they were using (presumably IEEE) floating-point decimals, and then merely serializing them as strings. But floating-point decimals don't include precision; the precision can't vary from one to another in the way described here.
This means that the decimal strings described here are not merely serializations of the decimal floats, rather they're prior to the decimal floats. That leaves the question, then, of where they're coming from. So where, then?
We support using ieee754 floating point numbers as well, but those have no special serialization requirements- the structure of a ieee754 floating-point number was designed so that lexicographical comparisons and numeric comparisons give the same results (I took inspiration from that to write the serialization code that solves the issue, which I'll lay out sometime when I write part 2 of this story).
<link data-rh="true" rel="canonical" href="https://gist.github.com/ThinkRedstone/79302fcd932659e076842259da9619c8"/>
... but that URL doesn't exist.