#social 2018-12-22
2018-12-22 UTC
xmpp-social joined the channel
# fr33domlover Hi people! When serializing RDF into compacted AS2, should I set the "use native types" flag to true?
# fr33domlover The default is false and in AS2 spec I didn't find mentions of it
# fr33domlover I did find an example that suggests that native types are used, but it's not enough to be sure so I'm asking here ^_^
EyeCandyKitten joined the channel
# fr33domlover aaronpk, csarven perhaps you can help? :) ^
jdormit_m joined the channel
# fr33domlover rhiaro, thanks :) I don't mind either whether true or false, but my server may send AS2 data to servers that implement ActivityPub as plain JSON, so I'd like to be sure (as much as possible) they expect the same JSON that I'll be sending
# fr33domlover rhiaro, e.g. for some numeric property, are they prepared to handle both number 2.14 and string "2.14" which would be parsed as a number? etc.
# fr33domlover If not, I need to set use-native-types to match expectations etc. :P
# fr33domlover rhiaro, I want to federate with the Mastodon/Pleroma/Friendica/Peertube etc. fediverse, I hope to figure out what they expect :p
# fr33domlover (I don't remember if AS2/AP have any numeric properties)
# fr33domlover rhiaro, I must say, implementing the json-ld API spec has brought me a lot of frustration, it's been very painful to implement, and I'm honestly very surprised the document got approved by the W3C to be a recommendation despite how horrible it is (sadly, the horriblenes isn't easily visible when briefly reading). I wish JSON-LD wasn't required for ActivityPub, or that we used something much much simpler
# fr33domlover (I doubt that anyone in the fediverse needs keyword aliases and all those weird vocabulary and context tricks, not to mention the tons of extra horror added in JSON-LD 1.1)
ahihi2 joined the channel
# fr33domlover rhiaro, Haskell. I'm also implementing it pure-functional and with actual programming language types, which is extra work but also helps me find the so many inaccuracies and undocumented errors
# fr33domlover rhiaro, yeah cwebber did in Racket, he showed me the code
# fr33domlover rhiaro, thanks :) I'm almost done actually