freamon

joined 1 year ago
[–] [email protected] 1 points 3 months ago

Tragically, this also means that, even after 31 years, I've still never 'get good' enough.

[–] [email protected] 2 points 4 months ago

Most likely reason is that you unticked 'English' as a language you understand when you were playing around.

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago) (1 children)

Firstly, sorry for any potential derailment. This is a comment about the Markdown used in your post (I wouldn't normally mention it, but consider it fair game since this is a 'Fediverse' community).
The spec for lemmy's spoiler format is colon-colon-colon-space-spoiler. If you miss out the space, then whilst other Lemmy instances can reconstitute the Markdown to see this post as intended, Lemmy itself doesn't generate the correct HTML when sending it out over ActivityPub. This means that other Fediverse apps that just look at the HTML (e.g. Mastodon, KBIN) can't render it properly.
Screenshot from kbin:

Also, if you add a horizontal rule without a blank line above it, Markdown generally interprets this as meaning that you want the text above it to be a heading. So anything that doesn't have the full force of Lemmy's Markdown processor that is currently trying to re-make the HTML from Markdown now has to deal with the ending triple colons having 'h2' tags around it.
Screenshot from piefed:

(apologies again for being off-topic)

[–] [email protected] 0 points 5 months ago (1 children)

I'm only running one process, I'd assume the problem isn't happening for Feddit.dk.

Perhaps. The lemmy.ca post has a comment in from the mander.xyz admin who's only running one, and there's a new comment in this thread saying mander.xyx is one of the instances they see the most duplicates from.

[–] [email protected] 0 points 5 months ago (3 children)

When I've mentioned this issue to admins at lemmy.ca and endlesstalk.org (relevant posts here and here), they've suggested it's a misconfiguration. When I said the same to lemmy.world admins (relevant comment here), they also suggested it was misconfig. I mentioned it again recently on the LW channel, and it was only then was Lemmy itself proposed as a problem. It happens on plenty of servers, but not all of them, so I don't know where the fault lies.

 

I realise this is a known issue and that lemmy.world isn't the only instance that does this. Also, I'm aware that there are other things affecting federation. But I'm seeing some things not federate, and can't help thinking that things would be going smoother if all the output from the biggest lemmy instance wasn't 50% spam.

Hopefully this doesn't seem like I'm shit-stirring, or trying to make the Issue I'm interested in more important than other Issues. It's something I mention occasionally, but it might be a bit abstract if you're not the admin of another instance.

The red terminal is a tail -f of the nginx log on my server. The green terminal is outputting some details from the ActivityPub JSON containing the Announce. You should be able to see the correlation between the lines in the nginx log, and lines from the activity, and that everything is duplicated.

This was generated by me commenting on an old post, using content that spawns an answer from a couple of bots, and then me upvoting the response. (so CREATE, CREATE, LIKE, is being announced as CREATE, CREATE, CREATE, CREATE, LIKE, LIKE). If you scale that up to every activity by every user, you'll appreciate that LW is creating a lot of work for anyone else in the Fediverse, just to filter out the duplicates.

[–] [email protected] 0 points 5 months ago (2 children)

Lemmy let's you un-delete anything you've deleted, so nothing really gets nuked (it seems to be the way these things work anyway, that it's just a 'deleted' flag that's flipped between true and false).

On the one hand, it's a Lemmy problem - I can see you're comment using the API:

curl --request GET \
     --url 'https://lemmy.world/api/v3/comment?id=8986376' \
     --header 'accept: application/json'

=>
{
  "comment_view": {
    "comment": {
      "id": 8986376,
      "creator_id": 399371,
      "post_id": 13748490,
      "content": "See what i mean? I deleted this!",
      "removed": false,
      "published": "2024-03-31T09:48:22.897008Z",
      "deleted": true,
      "ap_id": "https://lemmy.world/comment/8986376",
      "local": true,
      "path": "0.8986376",
      "distinguished": false,
      "language_id": 37
     ...

But there's also a bug with Sync in that it's not checking the flag if someone try to reply.

[–] [email protected] 15 points 6 months ago (1 children)

Hi

Pls check how much traffic you're now sending out for every activity - my server is recording that everything from lemmy.world is being 4 times (e.g. 1 Upvote is sent 4 times to every instance that has a subscriber. Those instances will reject 3 of them for being dupes, but it's still a lot to be sending out).

lemmy.ca had a problem where they were sending everything 3 times, and it was because they were running 3 containers, and they all had the same index number, so maybe it's that.

Thanks.

[–] [email protected] 2 points 7 months ago

I know for sure that Lemmy won't, it's likely the same for Mastodon.

I was wrong about not being able to WebFinger your account - I still had the @ at the beginning when I trying. Doing it properly:

curl --header 'accept: application/json' https://mostr.pub/.well-known/webfinger?resource=acct:910af9070dfd6beee63f0d4aaac354b5da164d6bb23c9c876cdf524c7204e66d@mostr.pub | jq .

gets the right response.

However, I'm logged into lemmy.world and it still couldn't get your account. At a guess, it's because there's a 20 character limit on usernames.

[–] [email protected] 7 points 7 months ago* (last edited 7 months ago) (2 children)

Lemmy instances won't search outside of their own databases if you're not logged in.

But if you are, what it does can be recreated on a command-line by doing:
curl --header 'accept: application/json' https://nerdica.net/.well-known/webfinger?resource=acct:[email protected] | jq .

This shows that your profile is at https://nerdica.net/profile/nate0. Lemmy puts all users at a /u/, but using webfinger means that other fediverse accounts don't have to follow the same structure. For lemmy.world, you're at https://lemmy.world/u/[email protected] in the same way that a mastodon user is at e.g https://lemmy.world/u/[email protected].

edit: ~~However if you webfinger your mostr.pub account, you get: {"error":"Invalid host"} so any ActivityPub instances will only ever be able to find you if you've interacted with them in some way to get a database entry. Edit: also, I tried to do this again, thought I'd try the npub1 account as well, but got Gateway Timeouts, so there's a bit of jankiness going on too.~~

[–] [email protected] 2 points 7 months ago (1 children)

We're stuck with the HTML formatting that lemmy provides us, unfortunately. It's not just about an image vs. text though - it's also about being from the original author. OP for this post is getting plenty of replies, but I've no idea if it's an issue they care about, or just something they saw and found passingly amusing.

As for sending on, a screenshot to friends on non-ActivityPub platforms is more reasonable (although being text means you could just copy/paste it, and then include any friends with vision impairments too).

But yeah, there's lots of pro's to a screenshot that I don't have an argument against (I posted in this thread, but it's not like I'm going to show up everytime someone yoinks something from Mastodon)

[–] [email protected] 1 points 7 months ago (1 children)

lemmy.world has the community, and is keeping up to date with it, because someone (me, actually) brought it through and subscribed.

midwest.social has the community, but won't get further updates because no-one subscribed (so technically I don't have the inbox address for it - it'll be the same format as everyone else of course, but it would reject updates with the 'community has no subscribers' error if I sent stuff to it anyway).

justworks was in the same situation as midwest.social, but it has a subscriber now, so now it has everything and will keep up to date. I didn't have to do anything - the new subscriber's action re-fetched the outbox (discussed below) and luckily that contained everything that was missing. The post from infosec.exchange is there too, so that wasn't affected by federation blocks.

lemmon.website isn't running lemmy - the tails community is 'virtual' in that it's just a bunch of static files pretending to be a real community. The main address 403s 'cos thats just a folder.

infosec.pub doesn't have the community most likely because no-one who is logged in there has searched for it (instances won't search outside their own database if the query isn't from a logged-in user). lemmon.website is in their /instances list though, so there's no blocking.

  1. An outbox on lemmy contains the last 20 or so original Announces that the main community uses to tell the communities on other instances about a new post. To illustrate:
    curl --header 'accept: application/json' https://lemmy.world/c/microblogmemes/outbox | jq .orderedItems[0] would be for the most recent post on microblogmemes. (Op's post is at orderedItems[6]).
    Fetching this allows a new instance to re-create recent posts, as if it had received them at the time.

  2. Someone clicked [email protected], but didn't go further (they probably got lemmy's misleading error screen and gave up). As with midwest.social - no subscribers = no more updates.

  3. Yeah, lemmon.website is mine. Not running lemmy means I fudge things a bit (including having posts from Mastodon users, of course)

[–] [email protected] 2 points 7 months ago (4 children)

Hmmm, that's not defederation though. The community's outbox has the 20 most recent posts in, and that cat gif is currently at number 20. The only way those earlier posts can be there are if someone brought though the community a day or so ago and then didn't subscribe. If anyone ever does subscribe, I can manually send the rest (and can see if the infosec one fails)

 

cross-posted from: https://mastodon.social/users/warandpeas/statuses/111874433235642097

Image transcription: 4 panel comic by War and Peas: 1. two pharaohs from ancient egypt are standing in front of a pyramid whose construction is nearing completion. One says to the other, "You've outdone yourself this time, Babuthep." 2. he continues, "You'll be remembered for this throughout history!" 3. "It's a testament to human ingenuity." 4. time jump to the present day. At an alien conference, someone speaks to an audience, "It was aliens!"

(Originally published earlier today on mastodon.social)


Cross-posted from [email protected], a Lemmy community that natively features Mastodon posts, still attributed to the original author.

 

I followed some popular communities from a Mastodon server ages ago, and then unsubscribed when I was satisfied that it was working.

However, lemmy seems to have some problem with the way Mastodon sends an 'Undo/Follow', so it's still been sending traffic ever since. Recreating it on a lemmy server I booted, journalctl shows this error:

WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: Unknown:
0: lemmy_apub::insert_received_activity
        with ap_id=Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("activitypub.academy")), port: None, path: "/e97071d0-54e4-4527-9865-e44cf1a55970", query: None, fragment: None }
          at crates/apub/src/lib.rs:191
1: lemmy_apub::activities::following::follow::verify
          at crates/apub/src/activities/following/follow.rs:78
2: lemmy_apub::activities::following::undo_follow::verify
          at crates/apub/src/activities/following/undo_follow.rs:66
3: lemmy_apub::http::community::community_inbox
          at crates/apub/src/http/community.rs:50
4: lemmy_server::root_span_builder::HTTP request
        with http.method=POST http.scheme="https" http.host=38ec-77-100-144-83.ngrok-free.app http.target=/c/test1/inbox otel.kind="server" request_id=70c556c1-9f2c-421d-90f3-826e9d12879c http.status_code=400 otel.status_code="OK"
          at src/root_span_builder.rs:16

I reconfigured the JSON that Mastodon sends to be more like a Lemmy one, signed the http request with a new set of keys, and sent it via a command-line script. Technically, this works, in that I can use the script to subscribe and unsubscribe from lemmy communities. Unfortunately, it doesn't work with the private key for the old Mastodon user and lemmy.ml (which rejects the http requests). I don't know why, but it has stalled my attempts to unsubscribe from my side.

As you're likely aware, lemmy.ml has bouts of sending out an absolute firehose of info at times, and it's a waste of your resources sending them to me (who's resorted to 403ing everything, so they don't overwhelm the ActivityPub server I'm building).

So, if possible, can someone have look what a user from lemmon.website is still subscribed to (memes and asklemmy, certainly) and unsubscribe them please?

I can provide some credentials on lemmon.website if you require.

Thanks.

view more: next ›