Skip to content

OK Fedifriends, I need your help with some complex ActivityPub stuff.

ActivityPub Test Kategorie
14 6 141
  • Unicode in handles

    ActivityPub unicode activitypub
    15
    0 Stimmen
    15 Beiträge
    393 Aufrufe
    julian@community.nodebb.orgJ
    לאצי the usernames work fine locally (that is, on the site itself). It's when interoperating with other sites not running NodeBB where there are issues, it seems
  • Pleroma Webfinger compatibility

    ActivityPub activitypub pleroma webfinger
    10
    0 Stimmen
    10 Beiträge
    276 Aufrufe
    julian@community.nodebb.orgJ
    trwnh@mastodon.social before, I was not sending Accept at all, now I am sending application/jrd+json.
  • 0 Stimmen
    17 Beiträge
    437 Aufrufe
    julian@community.nodebb.orgJ
    Hey rimu@piefed.social thanks for responding (and sorry for the late reply!) I am not married to the Announce([Article|Note|Page]) approach, so I am definitely open to Create([Article|Note|Page]) with a back-reference. I think I went the former direction because there is a known fallback mechanism — the Announce is treated as a share/boost/repost as normal. However, sending the Create also is fine I think. However, do we need a backreference? In my limited research, it seems that Piefed, et al. picks the first Group actor and associates the post with that community. If I sent over a Create(Article) with two Group actors addressed, could Piefed associate the post with the first, and initiate a cross-post with the remaining Group actors? Secondly, is how to handle sync. 1b12 relies on communities having reciprocal followers in order for two-way synchronization to be established. On my end since I know it is cross-posted I will now send 1b12 activities to cross-posted communities, but can Piefed, et al. send 1b12 activities back as well, in the absence of followers? cc andrew_s@piefed.social nutomic@lemmy.ml melroy@kbin.melroy.org bentigorlich@gehirneimer.de
  • 0 Stimmen
    3 Beiträge
    83 Aufrufe
    julian@community.nodebb.orgJ
    @mastodonmigration@mastodon.online while this is a known workaround, I don't think it's a tenable long-term solution. You can have "real decentralization" without the quirks, too.
  • Agenda Prep for April 2025 WG Meeting

    ActivityPub Test Kategorie forumwg activitypub swicg
    3
    0 Stimmen
    3 Beiträge
    73 Aufrufe
    julian@community.nodebb.orgJ
    A note that the ForumWG meeting is scheduled to begin shortly: https://meet.jit.si/ap-forum-wg
  • ActivityPub 5.6.0 for WordPress just shipped!

    ActivityPub Test Kategorie wordpress activitypub
    2
    0 Stimmen
    2 Beiträge
    65 Aufrufe
    julian@community.nodebb.orgJ
    @obenland@mastodon.social wonderful, good work!
  • 0 Stimmen
    9 Beiträge
    175 Aufrufe
    julian@community.nodebb.orgJ
    @philipp@social.anoxinon.de I kind of think this is really missing the forest for the trees if your rational is CO2 emissions... I mean, a far greater generator of CO2 emissions would be every single Mastodon instance caching every piece of media it sees...
  • Example Class

    Angeheftet Python3 python json
    3
    0 Stimmen
    3 Beiträge
    232 Aufrufe
    FrankMF
    In meinem PywebIO Projekt tauchte heute ein alter Bekannter auf. Wenn ich einen Eintrag (innerhalb der Liste) löschte, war das etwas durcheinander Ja, den Fehler kenne ich schon was länger und stolper immer mal wieder drüber. Heute z.B. Also mal grübeln Das mache ich, wenn ich einen Eintrag lösche case 'Yes': # delete entrie BackupList.delete((line - 1)) # save json BackupList.save_json() # Load data from filesystem BackupList.load_json() # Reload Tab Backup backup() Ich mache folgendes lösche den Eintrag speicher die Liste lade die Liste baue den Tab wieder auf Das führt aber dazu, das meine Liste die als Objekt im Speicher steht nicht aktuell ist. Im Gegenteil, da ist dann etwas Unordnung. Ich brauchte also die Möglichkeit mein Objekt backups irgendwie zurückzusetzen. Mal gegoogelt und die Dinge sind manchmal wirklich total easy # clear dict backups.clear() Das leert das Objekt und im nächsten Schritt kann ich es wieder befüllen. Lösung case 'Yes': # delete entrie BackupList.delete((line - 1)) # save json BackupList.save_json() # clear dict backups.clear() # Load data from filesystem BackupList.load_json() # Reload Tab Backup backup() Problem erledigt. Damit ich das noch finde, wenn mein Kopf das nicht mehr hergibt, notiere ich das hier.