... Unfortunately, the various pickle formats are apparently not documented anywhere that Google can find. Can you provide a pointer? (There is also a...
1726
rkalla123
Sep 23, 2011 4:43 pm
Don, Great feedback so far, I have a few thoughts on the subject: 1. The hard-to-measure value of a specification being simple and immediately grok'able is...
1727
rkalla123
Sep 23, 2011 4:47 pm
Milo, Agreed on how the format must be presented on the website, I am keeping your post bookmarked as a TODO list as I work on formalizing the spec on the...
1728
rkalla123
Sep 23, 2011 4:49 pm
1729
Tatu Saloranta
cowtowncoder
Sep 24, 2011 3:04 am
... I think it is patronizing to suggest that something as simple as supporting Big Integer and -Decimal would be beyond skills of competent parser writers --...
1730
Patrick Maupin
patmaupin
Sep 24, 2011 4:25 am
... The best documentation I know of is in the source for the pickle and pickletools modules. You can find them, e.g. like this: $ python Python 2.6.4...
1731
Stephan Beal
stephan.beal
Sep 24, 2011 1:15 pm
... Not beyond the skills - beyond the patience and needs. i host 2 (C and C++) JSON libraries and i have absolutely no need for big numbers, so i would never...
1732
Dennis Gearon
gearond...
Sep 24, 2011 5:25 pm
this subject in this mail list generated more email in one week that the list had in 6 months. I therefore stepped back, too much to follow. Anyone willing to...
1733
rkalla123
Sep 24, 2011 5:52 pm
Hey Dennis, Here is where we are: I have been working on a Universal Binary JSON specification and asked the group for feedback on it. You can check the spec...
1734
John Cowan
johnwcowan
Sep 24, 2011 6:01 pm
... Well then, why not add just one more type code for "string-encoded number"? That way, ordinary JSON can be round-tripped with 100% reliability. Well, if...
1735
Dennis Gearon
gearond...
Sep 24, 2011 6:11 pm
I have felt for a LOOOOOONG time, that representing numbers, including drive sizes, integers, any others, could have been future proofed and more simple using...
1736
rkalla123
Sep 24, 2011 6:23 pm
Hmm! John, I like that idea... it is simple, singular and easy to represent. What would you think of something like this: marker: N length: required example: ...
1737
Dennis Gearon
gearond...
Sep 24, 2011 6:34 pm
Since this IS about JAVAscript (not really java, buuuuuuut), use the Java specification for unlimited length integers. Propose it to the javascript/emca ...
1738
Patrick Maupin
patmaupin
Sep 24, 2011 6:40 pm
... I like the idea of "encoded generic number". But one of the purposes of a binary encoding is space savings, so I don't think unicode fits into that...
1739
John Cowan
johnwcowan
Sep 24, 2011 6:45 pm
... H for Huge might be good. We want people to encode ordinary numbers using the byte/int/double formats. ... Yes. Of course, in this context UTF-8 and...
1740
rkalla123
Sep 24, 2011 6:58 pm
Patrick, The reasons I specified UTF-8 were (1) to be consistent with the rest of the spec (e.g. you don't have to change your thinking just because you are...
1741
rkalla123
Sep 24, 2011 6:59 pm
John, I really like the idea and agree that 'H' is bigger and avoids confusion with the smaller numeric types. I'll add it to the spec!...
1742
Tatu Saloranta
cowtowncoder
Sep 24, 2011 7:48 pm
... I was about to suggest this, it is a possible work around. ... I agree that compatibility with JSON, both at logical data model and ideally at APIs would...
1743
Tatu Saloranta
cowtowncoder
Sep 24, 2011 7:53 pm
... I can not disagree more on "understand in under 10 mins" aspect. Why should that matter? Users will NOT (need to) read the spec; they will use whatever API...
1744
John Cowan
johnwcowan
Sep 26, 2011 2:32 am
... The comments in here seem to be the ticket. Thanks. -- You escaped them by the will-death John Cowan and the Way of the Black Wheel....
1745
Paul C. Bryan
paul.bryan@...
Sep 26, 2011 4:37 pm
... 1. I presume the only reason for making this a signed number is to just be consistent with the processing binary representations of numbers? 2. I presume...
1746
rkalla123
Sep 26, 2011 5:11 pm
Paul, Thank you for the feedback, my comments are inlined below. ... Yes exactly. Elements can have a byte length of 0 or more, negative numbers would cause...
1747
Paul C. Bryan
paul.bryan@...
Sep 26, 2011 6:02 pm
On Mon, 2011-09-26 at 17:11 +0000, rkalla123 wrote: Ah, sorry, wasn't aware there was an updated spec yet. Just read it. Most of my questions were resolved in...
1748
rkalla123
Sep 26, 2011 6:17 pm
... Glad to hear that. I've been working hard on clarifying a lot of the holes that were in the original doc as I port them to the site and questions like...
1749
Paul C. Bryan
paul.bryan@...
Sep 26, 2011 6:29 pm
... Also presumably it's perfectly acceptable to encode numbers <= 64 bits in an "H" value. Paul...
1750
rkalla123
Sep 26, 2011 7:05 pm
... Yes exactly right. You could encode every number that way and it would amount to parsing strings on the processing side, effectively performing on par with...
1751
Milo Sredkov
milosredkov
Sep 28, 2011 4:19 pm
Hello, JSON Groups Members! As I already mentioned, I recently finished analysing some large number of JSON libraries linked from json.org about the data...
1752
rkalla123
Sep 28, 2011 4:32 pm
Milo this is a staggering amount of research. Thank you for compiling it all and sharing!...
1753
Don Owens
regexman
Sep 28, 2011 4:55 pm
I like this. It meets Riyad's goal of keeping the spec simple, while compact in most cases, and, at the same time, meeting the need for lossless round trip...