Professional thread derailer.
Bad posts ahead.

Alts when my instance is broken: @[email protected] @[email protected]

pfp and banner shamelessly stolen from Alessandra Maria

76 69 84 39 83 32 65 76 76 32 76 79 86 69 32 76 65 73 78

  • 0 Posts
  • 4 Comments
Joined 3 years ago
cake
Cake day: June 5th, 2023

help-circle
  • @benpate @technical-discussion
    >Given all of the different kinds of activities we have to accept, it seems like this would already be a requirement for any ActivityPub server, yes?

    More or less yes, but that doesn’t mean it must be that way forever. Currently Accept/Reject is mostly only for follows for example. Now if I add something like group chat Invites, the two would have completely different side-effects.

    I don’t really have a preference for one over the other, as the language I would use solves the type check for me via pattern matching. But if it wouldn’t, the result would probably include a giant switch/case statement somewhere in the object logic and a plethora of handle_incoming_type_asdf functions for each Activity(Object) variation supported.

    The network request point is kinda moot, as you would want to derefence (and fetch) the Object most of the times anyway. At least for me it’s about developer experience (clarity), getting rid of JSON-LD while still getting some validation and removing possible semantics conflicts between FEPs and/or different extensions. The last is solved by LD, but I want to get rid of it instead. As a bonus, instances not supporting the extensions will drop it early instead of making requests only to drop the Activity in the end.




  • @[email protected] @[email protected] @[email protected] If you are going through the trouble of using your own vocabulary, why not at least make it so that namespace conflicts don’t ever happen again, similarly like they do with semantics using AS Vocab now.

    If you implement OfferEndorsement and I want to use it as well, but for something incompatible with your thing. Then I guess I need to invent a new less descriptive name for my thing like: NewAPServerOfferEndorsement, if you effectively reserve that name for your thing and depend on that name being unique for handling.

    So I think, something like below is a better solution to the same problem, while admittedly looking worse:

    • fep-3447:OfferEndorsement
    • fep-3447:AcceptEndorsement
    • fep-3447:RejectEndorsement
    • fep-3447:UndoEndorsement

    Or

    • fep-3447:Offer
    • fep-3447:Accept
    • fep-3447:Reject
    • fep-3447:Undo