hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.7K
active users

Simulating network requests to test a new feature in @distributed

You know how when you follow an account on Mastodon you don't get to see any of the users older posts unless someone else on your instance follows them? Well if it's a distributed press site it'll attempt to "backfill" your instance with all the older posts once your follow request is accepted. 😎

@mauve @distributed that might have unintended side-effects

@mauve like flooding peoples timelines with the backfilling of posts

@thisismissem I assumed timelines would sort by published time no? I'm gonna run some tests before deploying this to production ofc

@mauve I think there's a bug to the contrary

@thisismissem In mastodon? i'd love to see the source code for it if you know what part of it it'd be in.

@mauve I don't have it off top of my head but follow from /app/lib/activitypub/activity/create.rb

@mauve yeah, I've heard of like, birdsite bridge that did similar backfilling clogging up people's timelines, but that might be specific to that implementation.

@thisismissem @mauve so... imo the ActivityPub way of doing this is to publish your last X posts at an "outbox" endpoint specified in your profile. Then a remote server following you can parse the outbox and get some content to fill things with. I did this with some software I was building and Mastodon just... didn't grab any of the outbox posts and I was confused as to why not

@darius @thisismissem @mauve yeah the outbox is there to support "web browser" use cases, fetch the latest activities and page through to see history

the thing with mastodon and timeline sorting is that the timeline sorting algorithm isn't using creation date, it's using arrival date. this is so someone can't create a post set in the far future to have it pinned at the top of your timeline.

@trwnh @darius @mauve tbh, I'd think it'd be entirely reasonable to reject activities that are not within 15 minutes or so of the current server time.

@thisismissem @darius @mauve this is a good way to have data loss from time zone related issues

i think mastodon has a window of 12 hours for HTTP signatures for this reason

Emelia 👸🏻

@trwnh @darius @mauve right, but that's still a lot better than uncapped.