#social 2018-09-21

2018-09-21 UTC
ajordan, ahihi2, puckipedia, xmpp-social, vasilakisfil, vasilakisfil_, jdormit, jdormit_ and jdormit_mobile joined the channel; jdormit left the channel
#
jdormit_mobile
The ActivityStreams spec says that the to field should be an Object or a Link, but the examples in the ActivityPub spec represent to as an array of urls. Should my server just support any of those?
#
heluecht[m]
"to" is always a string or an array of strings. I guess that technically objects are possible as well, but I haven't seen this in the wild.
#
heluecht[m]
Which reminds me of thinking about switching to a LD parser - which would unify this.
#
JasonRobinson[m]
well, a Collection is an Object :P
#
JasonRobinson[m]
where does it so so btw jdormit_mobile ? can't seem to find the place
#
nightpool[m]
jdormit_mobile: because 'to' is not a 'functional' property, it can be specified an arbitrary number of times. json-ld represents this as an array of values
#
rialtate[m]
FYI I have seen a full object in `to` in the wild.. Can't remember what software it came from though
#
JasonRobinson[m]
I wonder how many more AP implementations there would be by now if the spec was clear and didn't have all this JSON-LD bs in it :P
#
jdormit_mobile
Where it w
#
jdormit_mobile
Sorry, shitty Android keyboard
#
jdormit_mobile
Where it says Range: Object | Link
#
jdormit_mobile
I think I'll handle all three cases, just to be safe
#
rialtate[m]
Indeed there is https://en.wikipedia.org/wiki/Overchoice even if we can't agree on which part that is :)
#
jdormit_mobile
It's worse than overchoice though, since it seems like you actually need to support every choice to be fully compliant
#
JasonRobinson[m]
well you can start with partial support and expand. my plan at least :)
#
jdormit_mobile
Eh, I'd rather wrap up edge cases sooner rather than later. Making a WordPress plugin, so there's going to be a steaming pile of bugs and edge cases no matter what I do
#
JasonRobinson[m]
The first 90 percent of the code accounts for the first 90 percent of the development time. The remaining 10 percent of the code accounts for the other 90 percent of the development time.[1]
#
jdormit_mobile
Too true haha
vt and jdormit_mobile joined the channel