News for hackers. Stuff that matters.
Re:Re-decentralizing the Web, for good this time by Karrot_Kream on Friday January 11, 2019 @06:43PM (#18888317)
There's been a lot of effort to improve RDF ergonomics with JSON-LD, and ActivityPub is a widely used standard based on JSON-LD (though my experience with implementing it has been quite challenging).
Re:Re-decentralizing the Web, for good this time by hypothete on Friday January 11, 2019 @07:04PM (#18888442)
I feel you on implementation - every time I make an attempt to try out ActivityPub I get intimidated by the combo of JSON-LD and the verbosity of Activity Streams vocabulary: https://www.w3.org/TR/activitystreams-vocabulary/
Re:Re-decentralizing the Web, for good this time by Karrot_Kream on Saturday January 12, 2019 @12:02AM (#18889764)
I've been working on an ActivityPub implementation and there are so many edge cases and SHOULD vs MAY recommendations, it's ridiculous. I'm planning a separate blog post on the intricacies of the standard.
Re:Re-decentralizing the Web, for good this time by ericflo on Saturday January 12, 2019 @01:06AM (#18889963)
I banged my head against this issue quite a bit last year. Specifically the thing that tripped me up, is how many fields can either have single value or be a list of values, and figuring out what is meant semantically when it's a list or a single value.
Re:Re-decentralizing the Web, for good this time by Karrot_Kream on Saturday January 12, 2019 @02:19AM (#18890150)
This is exactly what frustrates me the most and what most of my logic checks. I'm writing tests for each of these semantic cases, but it seems silly to me that a standard leaves something so ambiguous.
Re:Re-decentralizing the Web, for good this time by cjslep on Saturday January 12, 2019 @04:10AM (#18890405)
This is why the go-fed project uses code generation.