Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

> while linked data cultists harass developers about nonresolvable URLs

Technical Discussion
12 4 0

Gli ultimi otto messaggi ricevuti dalla Federazione
  • read more

  • @mariusor@metalhead.club I thought the whole point of signing objects or attaching proofs (none of which I do, mind you) are precisely to save the need to make a new request, which comes with its own overhead.

    The good thing is fetching from canonical source will never go out of style.

    cc @silverpill@mitra.social

    Aside, it seems like I'm only getting Marius's posts, not silverpills. Makes for an interesting one-sided exchange 😛

    read more

  • @silverpill personally I feel like the various activity/object signing methods that get used in recent FEPs are more egregious from a size point of view, when the in spec behaviour for obtaining canonical versions of a resource is to fetch them from their server, instead of relying on random object signing that introduces so much more friction.

    @hongminhee

    read more

  • @hongminhee can you point me to the parser you use for fedify?

    One of my long term plans for GoActivityPub is to built a code generation tool based on contexts and I would need some prior art to see what's important in parsing JSON-LD and RDF.

    read more

  • @silverpill regarding size, ActivityPub is such a verbose protocol that the hundred or so of raw bytes you save through omitting context, are most likely negligible through the prism of connection compression. So to me that's not entirely a "valid reason".

    And as developer myself, I think that contexts, even in a non valid JSON-LD implementation, offer enough guidance for building a data vocabulary for them to have plenty of value.

    Do you propose we replace contexts with Open API specifications, or how do we coordinate what's a valid vocabulary data object in a federated network? And how do you propose that others discover these specs?

    @hongminhee

    read more

  • @silverpill@mitra.social @mariusor@metalhead.club But if you omit @context, wouldn't it fail to work correctly in some implementations that rely on a JSON-LD processor? Fedify is actually one of those cases.

    read more

  • @mariusor I don't remember having such discussion. The SHOULD keyword is defined in RFC-2119:

    This word, or the adjective "RECOMMENDED", mean that there may exist valid reasons in particular circumstances to ignore a particular item, but the full implications must be understood and carefully weighed before choosing a different course.

    There are many valid reasons to not include @context. We also have almost 10 years of implementation experience and by now full implications are very well understood: by ignoring this recommendation we make messages smaller and developer experience better. No downside at all.

    @hongminhee

    read more

  • @silverpill aaah, I see. I think we've had this discussion before (or at least I had it with someone else).

    For me "SHOULD" falls in the category of the robustness principle: "be conservative in what you do, be liberal in what you accept from others".

    So for me if you treat "SHOULD" in a spec as non mandatory you haven't really implemented the spec.

    @hongminhee

    read more
Post suggeriti