Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

julian@community.nodebb.orgJ

[email protected]

@[email protected]
About
Posts
427
Topics
27
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • Native Push Notifications Support for NodeBB
    julian@community.nodebb.orgJ [email protected]

    Paweł said in Native Push Notifications Support for NodeBB:
    > julian maybe it is worth to check this behavior in Browserstack?

    Yes, this is a good idea 🙂 does browser stack have support for push notifications?

    Fediverse pushnotificatio nodebb notifications pushapi

  • Categories following Federated Accounts?
    julian@community.nodebb.orgJ [email protected]

    ska there is an issue with category sync with Lemmy, since they do not support categories following their communities.

    https://github.com/LemmyNet/lemmy/issues/5354

    I'll have to take a closer look at Peertube.

    Are you able to follow those users using your local account, not via the ACP?

    Fediverse

  • Native Push Notifications Support for NodeBB
    julian@community.nodebb.orgJ [email protected]

    bh4-tech that's good to know, thank you!

    Fediverse pushnotificatio nodebb notifications pushapi

  • Native Push Notifications Support for NodeBB
    julian@community.nodebb.orgJ [email protected]

    D1re_W0lf mmm it should work but we don't have Apple devices to test against...

    Fediverse pushnotificatio nodebb notifications pushapi

  • Automatic category/community assignment on received object
    julian@community.nodebb.orgJ [email protected]

    I suppose you're right in a way. The context owner is not supposed to be set by someone other than the context owner. It's a fallback mechanism intended for better compatibility with Mastodon.

    When a group is addressed and it is one of the local NodeBB categories, it will assume control

    If it is another group that it knows about but isn't same origin to the author, then no category is assumed.

    Fediverse activitypub threadiverse

  • Automatic category/community assignment on received object
    julian@community.nodebb.orgJ [email protected]

    [email protected] yes, it should. Mentioning the category means it will be addressed and NodeBB will slot the received content in the first group object it finds.

    Fediverse activitypub threadiverse

  • Automatic category/community assignment on received object
    julian@community.nodebb.orgJ [email protected]

    [email protected] it'll work better once cross-posting is built into NodeBB I think 😄

    Fediverse activitypub threadiverse

  • Backfilling Conversations: Two Major Approaches
    julian@community.nodebb.orgJ [email protected]

    Hi [email protected]! This could be related to some better support for non-Note types introduced by Mastodon in later versions. Your instance is running v4.1.18 which is 11 months behind the latest version.

    That isn't necessarily cause for concern, but I think that might be why you're seeing the HTML tags?

    Fediverse activitypub fep 7888 f228 171b

  • Backfilling Conversations: Two Major Approaches
    julian@community.nodebb.orgJ [email protected]

    [email protected] thanks, I've updated them to add the protocol. I guess you can't rely on support for protocol-relative URLs everywhere 😉

    Fediverse activitypub fep 7888 f228 171b

  • Backfilling Conversations: Two Major Approaches
    julian@community.nodebb.orgJ [email protected]

    In February 2025, I presented a topic at FOSDEM in Brussels entitled The Fediverse is Quiet — Let's Fix That! In it, I outlined several "hard problems" endemic to the fediverse, focusing on one particular complaint that is often voiced by newcomers and oldtimers alike; that the fediverse is quiet because you don't ever see the full conversation due to some design considerations made at the protocol level.

    Since then there have been a number of approaches toward solving this problem, and it is worth spending the time to review the two main approaches and their pros and cons.

    N.B. I have a conflict of interest in this subject as I am a proponent of one of the approaches (FEP 7888/f228) outlined below. This article should be considered an opinion piece.


    Crawling of the reply tree

    First discussed 15 April 2024 and merged into Mastodon core on 12 Mar 2025, [email protected] pioneered this approach to "fetch all replies" by crawling the entirety of the reply tree. When presented with an object, the Mastodon service would make a call to the context endpoint, and if supported(?) would start to crawl the reply tree via the replies collection, generating a list of statuses to ingest.

    This approach is advantageous for a number of reasons, most notably that inReplyTo and replies are properties that are ubiquitous among nearly all implementations and their usage tends not to differ markedly from one another.

    N.B. I am not certain whether the service would crawl up the inReplyTo chain first, before expanding downwards, or whether context is set in intermediate and leaf nodes that point to the root-level object.

    One disadvantage is this approach's susceptibility to network fragility. If a single node in the reply tree is temporarily or permanently inaccessible, then every branch of the reply tree emanating from that node is inaccessible as well.

    Another disadvantage is the reliance on intermediate nodes for indexing the reply tree. The amount of work (CPU time, network requests, etc.) scales linearly with the size of the reply tree, and more importantly discoverability of new branches of the reply tree necessitate a re-crawl of the entire reply tree. For fast-growing trees, this may not net you a complete tree depending on when you begin crawling.

    Lastly, in the ideal case, a full tree crawl would net you a complete tree with all branches and leaves. Great!

    Mastodon is the sole implementor of this approach, although it is not proprietary or special to Mastodon by any means.

    FEP 7888/f228, or FEP 171b/f228

    Summarized by [email protected] in FEP f228 (as an extension of FEPs 7888 by [email protected] and 171b by [email protected]), this conversational backfill approach defines the concept of a "context owner" as referenced by compatible nodes in the tree. This context owner returns an OrderedCollection containing all members of the context.

    A major advantage of this approach centers around the pseudo-centralization provided by the context owner. This "single source of truth" maintains the index of objects (or activities) and supplies their IDs (or signed full activities) on request. Individual implementations then retrieve the objects (or activities). It is important to note that should the context owner become inaccessible, then backfill is no longer possible to achieve. On the other hand, a dead or unresponsive intermediate node will not affect the ability of the downstream nodes to be processed.

    The context owner is only able to respond with a list of objects/activities that it knows about. This does mean that downstream branches that do not propagate upwards back to the root will not be known to the context owner.

    Additionally, consumers are also able to query the context owner for an index without needing to crawl the entire reply tree. The ability to de-duplicate objects at this level reduces the overall number of network requests (and CPU time from parsing retrieved objects) required, making this approach relatively more efficient.

    Additional synchronization methods (via id hashsums) could be leveraged to reduce the number of network calls further.

    A number of implementors follow this approach to backfill, including NodeBB, Discourse, WordPress, Frequency, Mitra, and Streams. Additional implementors like Lemmy and Piefed have expressed interest.

    One technical hurdle with this approach is technical buy-in from implementors themselves. Unlike crawling a reply tree, this approach only works when the context owner supports it, and thus should be combined with various other backfill strategies as part of an overall conversational backfill solution.

    Conclusion

    2025 is shaping up to be an exciting year for resolving some of the harder technical and social problems endemic to the open social web/fediverse. It is this author's opinion that we may be able to make good headway towards resolving the "quiet fedi" problem with these two approaches.

    It is important to note that neither approach conflicts with the other. Implementations are free to utilise multiple approaches to backfill a conversation. Both methods presented here have pros and cons, and a combination of both (or more) could be key.

    Feel free to use this as a starting point for discussions regarding either approach. Does one speak to you more than the other? Are the cons of either approach significant enough for you to disregard it? What other approaches or changes could you recommend?

    Fediverse activitypub fep 7888 f228 171b

  • Fun with Federation: Lemmy edition
    julian@community.nodebb.orgJ [email protected]

    [email protected] let me know if I got any of the details wrong. Much thanks to your team for the assist in debugging!

    Fediverse nodebb lemmy activitypub

  • Fun with Federation: Lemmy edition
    julian@community.nodebb.orgJ [email protected]

    [email protected] I'm still at the point where seeing two-way federation working for real between instances is so exciting that it overrides the pain of federation 😅

    Fediverse nodebb lemmy activitypub

  • Fun with Federation: Lemmy edition
    julian@community.nodebb.orgJ [email protected]

    It all started with a report about federation breaking between Lemmy and NodeBB. I was subconsciously aware that something was going on, but had chalked it up to network issues.

    Observed behaviour showed that some remote categories would be receiving content in spurts, with long gaps in between.

    I spent the next 3-4 days looking into it, but came up empty. Whatever was happening wasn't throwing any obvious errors, and along the way, I found what I thought was related (it was), but I wasn't sure why: against some Lemmy servers, the "follow"/"unfollow" mechanic would simply stop working, and this would often coincide with gaps in content. In some egregious cases, the flow of content stopped completely!

    Unable to make headway, I had to reach out to the folks at Lemmy to figure out what the issue was. NodeBB occasionally sends non-200 level responses depending on the activity. Specifically, the following scenarios:

    • A remote user upvoting more than 20 posts in a single day (a spam prevention tactic) causing NodeBB to throw an error, which was caught and returned an HTTP 500 Internal Server Error.
    • A Dislike activity, which is not currently handled by NodeBB. In these cases, NodeBB would send an HTTP 501 Not Implemented

    When encountering either of these responses, Lemmy would return the activity back to the queue for later delivery and mark a delivery failure. If enough of these (~40) happened within 24 hours, Lemmy would give the instance a time-out and pause delivery completely.

    That was it — a quick pair of code updates later, and we started working through Lemmy's backlog of 4.1M activities.

    As of 4am this morning, community.nodebb.org is no longer behind lemmy.world.

    d2b3dc1c-01f3-4203-b281-2406e949667d-image.png

    Fun week. Let's not do that again LOL.

    v4.4.2 of NodeBB contains the updated logic for smoother Lemmy federation.

    Fediverse nodebb lemmy activitypub

  • Went and Broke Federation. Kinda.
    julian@community.nodebb.orgJ [email protected]

    Kichae re:

    > so giving registered-users privilege back to -1 worked?

    can you let me know if the registered-users bug is still occurring? I am wondering if I patched it in the course of regular development.

    Tech

  • What would cross-posting between instances look like in ActivityPub?
    julian@community.nodebb.orgJ [email protected]

    Hey [email protected] 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.

    1. 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?
    2. 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 [email protected] [email protected] [email protected] [email protected]

    Fediverse threadiverse crosspost activitypub

  • What would cross-posting between instances look like in ActivityPub?
    julian@community.nodebb.orgJ [email protected]

    [email protected] basically, yes. It would be a little too involved to upend the entire system to support multiple cids per topic — a lot of our existing code relies on cid being a single value.

    This would be an add-on logic of sorts, where each topic has a canonical category, but can also be cross-posted to other communities/categories.

    Fediverse threadiverse crosspost activitypub

  • Unicode in handles
    julian@community.nodebb.orgJ [email protected]

    I'm assuming Unicode in handles is not allowed? At least by Mastodon.

    This user is not able to have their content federated because the username is all Hebrew (I think?) characters!

    Fediverse unicode activitypub

  • Automatic category/community assignment on received object
    julian@community.nodebb.orgJ [email protected]

    [email protected] I thought about checking against the outbox, but there's a potential race condition that could occur if I receive the Create(Note) at roughly the same time as the community, but the community hasn't processed the activity yet. In that scenario, the activity would not be in the outbox for checking.

    The same thing would happen if there was some out-of-band check for object membership in a collection (not that there is one right now).

    Fediverse activitypub threadiverse

  • Automatic category/community assignment on received object
    julian@community.nodebb.orgJ [email protected]

    I'm wondering how content on threadiverse is automatically assigned its community when received by the software (e.g. PieFed, Lemmy, Mbin).

    The answer I am expecting is "if the community is addressed (to, cc, audience), then it is slotted into that community".

    However that causes issues for compatibility with microblogs... for example, [email protected] recently authored a post that mentioned [[email protected]](https://community.nodebb.org/category/[email protected]) and it got slotted into that community on NodeBB, which isn't correct since that group is private.

    Better practice would be to only trust the addressed community if it is Announce'd by the community directly, but would fall short if my instance does not receive the Announce (say, if nobody follows the community), in which case we'd fall back to "uncategorized", which is where all microblog posts currently go. Then it's neither correct nor incorrect, I suppose.

    I think this might be an issue where NodeBB tries to be too many things at once (microblog and threadiverse compatible).

    Fediverse activitypub threadiverse

  • Pleroma Webfinger compatibility
    julian@community.nodebb.orgJ [email protected]

    [email protected] before, I was not sending Accept at all, now I am sending application/jrd+json.

    FWIW testing with cURL showed the same Bad Request with application/json.

    Fediverse activitypub pleroma webfinger
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups