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

@silverpill I created an issue.

Technical Discussion
2 2 0

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • Lemmy's removal of audience in posts?

    Technical Discussion lemmy
    1
    0 Votes
    1 Posts
    2 Views
    Hi Nutomic, thanks for joining the forum. While I have you, I wanted to ask you about the removal of audience from Lemmy. I believe the rationale for it was that it was not used outside of Lemmy, but both Piefed (rimu@piefed.social) and NodeBB use it. I still think the explicit use of the audience property is more helpful than not. I discovered another use case for it, although it is a bit of an edge case. Last night a user from lemmy.ca posted to activitypub@community.nodebb.org. Here, there are no followers to that group actor, so it did not federate here. However, one of the relays this site subscribes to did Announce the topic, and when it arrived here, NodeBB could not accurately determine whether the topic/post _actually belonged to activitypub@community.nodebb.org. Specifically, it is because sometimes users (on Mastodon or other sites) mention group actors but don't intend for the post to be made there. It is not a strong enough signal. But audience being explicitly set does provide that strong signal. I've updated NodeBB's code to trust the group actor if located in audience.
  • 0 Votes
    7 Posts
    3 Views
    @carloshr as always, my best ideas are the ones that seem so obvious to me that i figure someone else surely has already had them
  • 0 Votes
    1 Posts
    8 Views
    Just over a year after Go's OpenAPI generator let me down, the #ActivityPub Content-Type causes the same problem again, this time in Python:example_client/api/default/put_object.py:34:62: SyntaxError: Simple statements must be separated by newlines or semicolons   |33 |     _kwargs["json"] = _body34 |     headers["Content-Type"] = "application/ld+json; profile="https://www.w3.org/ns/activitystreams""   |                                                              ^Is it really that unusual to include parameters in MIME types like this? I'm sure I've seen them all over the place.Or am I venturing off the beaten track by trying to be explicit about them in my openapi.yml file?#ActivityPubDev #BangHeadHere
  • Auto-import of deny lists

    Technical Discussion dni activitypub iftas
    7
    0 Votes
    7 Posts
    29 Views
    Just spend the tiny bit of extra time and implement basic support for federation policies. Keep track of data snd where it comes from, such that you can react to changes over time