David I. Lehn: I'm not too familiar with CBOR-LD. ✪
Gregg Kellogg: I think we discussed modeling the CBOR-LD spec on the YAML-LD spec. ✪
... most of it is about content types
... and then transforming
... into the internal representation and back
... there was some discussion on how to deal with extra semantic capabilities
... like date and datetime in YAML
... CBOR has similar functionality
... but not sure we're making use of any of those
Niklas Lindström: "CBOR is based on the wildly successful JSON data model: numbers, strings, arrays, maps (called objects in JSON), and a few values such as false, true, and null." ✪
... pchampin do you recall using any of those?
Pierre-Antoine Champin: The idea was to specify how CBOR was first translated into JSON ✪
Pierre-Antoine Champin: In my version, the idea was to specify how CBOR is translated into JSON (using hints from spec), and then the traditional JSON-LD processing. ✪
... there are some hints in the CBOR spec, but not fully specified
... For producing CBOR-LD from JSON-LD, there are some decisions. For example, how numbers are converted.
... and for producing CBOR-LD from JSON-LD there were many questions around numbers
... It boils down to a mapping between the base syntaxes.
... There's also a potential CBOR datatype.
Gregg Kellogg: When I was looking at the CBOR spec, if there was no decimal, it's an int, but if not, it's a float ✪
... all JSON numbers would go across as doubles
... and then you would detect the actual int's and compress those things
Pierre-Antoine Champin: I'll take your word for that ✪
... the idea was to aim at the most compact representation
Niklas Lindström: I think I found the place where this is mentioned in the JSON-LD syntax spec, but can't find the error code for it, or where it's explicitly handled. ✪
... My implementation doesn't through an error, which I would have thought it would.
... I checked the playground, but it didn't through an error until I had data.
David I. Lehn: I think the JS implementation doesn't see the problem until parsing the data. ✪
... Recently, I tried to submit an issue on a repo, and ended up with the previoius
... Three of the four are not templets, but links. Maybe we can use a similar trick on json-ld.org, which would put them in the spec repo if appropriate.
... I'm happy to do that, if you have suggestions on what you'd like to see.
Gregg Kellogg: Let's start with the json-ld.org repo. ✪
Benjamin Young: I did turn on discussion on json-ld.org repo, and is essentially json-ld.org's discussion space. Maybe we'll catch other people there. ✪
Ted Thibodeau Jr.: I think we should note that discussions are really a Q&A space and not really a discussion space. ✪
... The initial post is a question, and follow-ons are answers; it's not really a threaded discussion
... NNTP and email lists are more discussions.
Niklas Lindström: I checked my code and commented that bit out as I failed some tests. ✪
... It's probably because it was a 1.0 tests that I didn't detect.
Anatoly Scherbakov: I wanted to share some updates; since the last meeting I submitted some YAML-LD PRs. ✪
... They are worth another look.
... I shared the spec in a couple of groups without getting any feedback.
Niklas Lindström: ... Actually.. create term definition step 14.2.4.2, should it have a "If processing mode is not json-ld-1.0" check before it raises the error ...? ✪
... Another update, the PyLd library has some PRs I've submitted against it.
... It enables git sub-modules and changes the tests to run against the sub-modules, which should improve developer experience.
... Maybe dlehn and bigbluehat could look at that.
... If that's okay, I'll prepare a PR to address an issue about logging and reacting on skipped keys.
Niklas Lindström: If anyone has time to check my last question in IRC? (Checked, and I believe that the processing mode test should be added there. – gk) ✪