Live data from Hacker News

Viewing profile — awwright

awwright

HN member
Joined
Wed, Apr 17, 2019, 12:03 AM UTC
HN karma
5
Public activity
8 items

About awwright

https://github.com/awwright https://twitter.com/awwscript

Recent public activity

  1. comment
    Comment #44468761

    Isn't that itself just a variation on the ini syntax, sort of made concrete by PHP, itself adapted from DOS? https://www.php.net/parse_ini_file

  2. comment
    Comment #34606066

    I think what you're getting hung up on is that JSON does not use IEEE floating point math. If your implementation or environment stores parsed numbers as an IEEE floating point, th…

  3. comment
    Comment #34606050

    The behavior is perfectly well defined... there's no special cases for integers vs. rational numbers, they're all the same. For example, given multipleOf: 0.3, and an input of 0.9,…

  4. comment
    Comment #34606018

    This is wrong. All numbers in JSON are arbitrary-precision base-10 decimal numbers.

  5. comment
    Comment #34605994

    It does. In fact, not only does JSON support big ints, but it supports arbitrary-precision base-10 decimal numbers. Whether your JSON parser will preserve the precision correctly i…

  6. comment
    Comment #32073496

    Two corrections: (1) This is a good overview, but conservatives don't believe in the status quo for the status quo's sake. They believe that our traditions are highly optimized, es…

  7. comment
    Comment #19678614

    It seems like there's two slight misunderstandings: > "oneOf": [ {"type": "number"}, {"type": "number"} ] > { "oneOf": [ {"minimum": 0, "maximum": 10}, {"minimum": 5, "maximum": 20…

  8. comment
    Comment #19678507

    How is that simple? What does "status" mean? I'm personally familiar with the word "status"—but whatever that property is, I'd have to re-implement it in my user agent, which seems…