freamon

joined 2 years ago
MODERATOR OF
[–] freamon@lemmy.world 2 points 3 weeks ago

Unless the person replying on Mastodon removes it of course (to save themselves some characters and because they don't recognise it).

There doesn't seem any functional difference between your comment (which implicitly Mentions the community), and the original post on thecanadian.social (which explicitly Mentions it). Screenies from activitypub.academy show that replies to both include both Mentions pre-filled.


https://thecanadian.social/@mike/116234121499688717 didn't remove the Mention, and so the comment made it to Lemmy. https://mstdn.ca/@cass_m/116234270845317774 did remove the Mention, and so it didn't.


Specifically for Lemmy btw, the reply at https://mstdn.ca/@cass_m/116234270845317774 demonstrates another problem - that instance requires a signed GET request for its actors, which hasn't been fully implemented AFAIK.

[–] freamon@lemmy.world 1 points 1 month ago

Already submitted to this community, a few minutes before yours, by the original poster: https://lemmy.ca/post/61609680

[–] freamon@lemmy.world 0 points 1 month ago

Just come across this myself.

Long-running fediverse instances will likely have old copies of established aussie.zone actors, but federation will be broke for newer instances and/or newer actors.

Verifiable by doing something like:

WORKS:   
curl --header 'accept: application/activity+json' https://reddthat.com/u/lodion

DOESN'T WORK:   
curl --header 'accept: application/activity+json' https://aussie.zone/u/lodion

I chose reddthat.com because it seems like it has similar protection, but allows for AP requests. (other instances use non-CF solutions, but I imagine they've had to make similar tweaks).

It's been a couple of days, so it might be worth some pings:

@admin@aussie.zone

@lodion@aussie.zone

[–] freamon@lemmy.world 4 points 1 month ago

You can get a rough idea of how big each video is via an activitypub query for each video. For example:

curl --header 'accept: application/activity+json' https://peertube.wtf/w/mhghLtY5dkLguNq5oFB2Ut | jq .

Buried in there is a url entry, and buried in some of those is a tag entry and buried in some of those are details for the size of the video and audio for each upload.

Peertube's video channels have an outbox (similar to how Lemmy's communities do, but not limited to 50 entries), so you can step through that to find the relevant info for everything in your channel.

Doing that for your channel, I got:

Shitpost #2
video: 482 x 480: 2.27 MB
audio: 0.3 MB

Shitpost #1
video: 480 x 480: 8.69 MB
audio: 0.94 MB

Will this replace the internet?
video: 1080 x 1920: 19.26 MB
video: 720 x 1280: 11.9 MB
video: 360 x 640: 5.23 MB
audio: 16.75 MB

Cat
video: 1920 x 1080: 7.77 MB
video: 1280 x 720: 2.14 MB
video: 640 x 360: 0.41 MB
audio: 0.23 MB

If you assume that the size of the audio is ignored, and that lower resolutions are transcoded as requested, and add the sizes for the highest resolutions together, you get 2.27 + 8.69 + 19.26 + 7.77 = 37.99 (which is the 38 MB visible in your screenshot).

The information is available, but it's a pain in the arse to get, so it's probably annoying for PeerTube themselves to show (a brief look suggests that the API response doesn't provide it, so there's nothing for the web frontend to display). It's also possible that they may drop the higher resolutions for videos with low engagement, so the size of each upload isn't static, which adds an extra complication.

[–] freamon@lemmy.world 5 points 1 month ago (1 children)

Not really.

Gup.pe groups were genuine ActivityPub Groups, like Lemmy communities, whereas these 'FediGroup' things are just Mastodon bots. They're a 'Service', aka the automated version of a 'Person', so they're no use to anyone on platforms (like Lemmy) that can only follow Groups.

The most similar recent thing to gup.pe is https://ovo.st/

Compare:

curl --header 'accept: application/activity+json' https://lemmy.world/c/fediverse | jq -r .type   
=> Group   
curl --header 'accept: application/activity+json' https://ovo.st/club/askfedi | jq -r .type  
=> Group

with

curl --header 'accept: application/activity+json' https://fedigroups.social/@audiofiction | jq -r .type  
=> Service
[–] freamon@lemmy.world 2 points 2 months ago (1 children)

Dunno if you're fussed about this sort of stuff, but this meme was already posted very recently: https://crazypeople.online/post/14691687 (sidenote: lemmy's default UI doesn't do inline displays of avif files, it seems)

[–] freamon@lemmy.world 1 points 2 months ago

Not the first time that bug's reared its head either.

Example from here:

'nsfw': post.nsfw if post.nsfw is not None else False

A meme about PieFed half-arsing database migrations might not be funny, but would at least be valid, and less wearisome than OP's post.

[–] freamon@lemmy.world 1 points 2 months ago (2 children)

I've contributed code to PieFed in the past, but nothing recently. If someone comes across something I've written and finds it amateurish, then that's a reasonable assessment. There's no need for you to delete your comment, as I'm not a fan of features over fixes approach either.

The "People's Front of Judea" remark relates to a Monty Python sketch from the The Life Of Brian (youtube link) - it's a swipe at leftist infighting (swap out "The only people we hate more than the Romans is the Judean's People's Front" with "The only site we hate more than Reddit is PieFed" I suppose).

[–] freamon@lemmy.world 18 points 2 months ago (6 children)

This has come up before. Hopefully you're just not understanding the code, rather than deliberately misrepresenting it to others. Even a casual scan should clue people in to the fact that the linked function isn't concerned with federation blocks (the same list that 'enoughmuskspam' is in also contains 'memes' and 'piracy', which every PieFed instance has without any overrides required).

I'll copy-paste my comment from last time (I can't link to it 'cos is was in reply to a deleted post). The first 2 paras are the most relevant bits:

The code that OP has linked to is part of a convenience function for admins to add content to their new instances. It can query individual remote instances (e.g. lemmy.world), or it can query lemmyverse.net, and fetch communities that look to be popular and active.

It’s completely unrelated to routine federation, and doesn’t prevent anyone subscribing to communities that may have those words in their names.

The admin function could potentially be used to fetch hundreds of communities. It runs as a background process, so you don’t know what they were until after they’d been followed. The “bad words” list acts as a safeguard against bringing in things you might not want or expect. One reason is that you may want to curate the first impression you give new visitors, as there as some that will be put off by the “fuck this” and “shitpost that” reddit-isms. Another is that you don’t typically want communities that are disproportionately popular than others (e.g. if you bring in the default 25 communities, and one of is 196, then it completely dominate your front page).

If there’s a particular community that you are interested in (e.g. because you moderate it), using this function isn’t an efficient way to add it. In addition to the “bad words” filters, it will also exclude communities that are NSFW, or below thresholds for popularity and activity. Rather than fetching a bunch of communities at the same time, and hoping that the one you want is included, it’s better to just add it manually (via a ! link or by using the “Add remote community” link) in much the same way as you would on any other platform.

[–] freamon@lemmy.world 31 points 2 months ago

It's mostly annoying me because it's affecting federation - not just the ability for new instances to backfill content, but for established instances to even be able to fully resolve a new post's details before the author nukes themselves. For example, the previous post (titled "Paranoia") isn't available on lemmy.ml or lemmy.dbzer0 because they would have been a few seconds "too late" to fetch the details for the author.

@lawrence@lemmy.world - if you'd like another mod to help out in the short term, I'm happy to volunteer. I realise people in the comments are being a bit defeatist about the ability to reckon with this problem, but whoever this person is should at least have to do a bit more work than they're currently doing.

[–] freamon@lemmy.world 27 points 3 months ago* (last edited 3 months ago) (4 children)

The code that OP has linked to is part of a convenience function for admins to add content to their new instances. It can query individual remote instances (e.g. lemmy.world), or it can query lemmyverse.net, and fetch communities that look to be popular and active.

It's completely unrelated to routine federation, and doesn't prevent anyone subscribing to communities that may have those words in their names.

The admin function could potentially be used to fetch hundreds of communities. It runs as a background process, so you don't know what they were until after they'd been followed. The "bad words" list acts as a safeguard against bringing in things you might not want or expect. One reason is that you may want to curate the first impression you give new visitors, as there as some that will be put off by the "fuck this" and "shitpost that" reddit-isms. Another is that you don't typically want communities that are disproportionately popular than others (e.g. if you bring in the default 25 communities, and one of is 196, then it completely dominate your front page).

If there's a particular community that you are interested in (e.g. because you moderate it), using this function isn't an efficient way to add it. In addition to the "bad words" filters, it will also exclude communities that are NSFW, or below thresholds for popularity and activity. Rather than fetching a bunch of communities at the same time, and hoping that the one you want is included, it's better to just add it manually (via a ! link or by using the "Add remote community" link) in much the same way as you would on any other platform.

 
 
 
 
 
 

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 !tails@lemmon.website, a Lemmy community that natively features Mastodon posts, still attributed to the original author.

 

Hello,

We've been sporadically doing Wednesday themes, but it never gave anyone much time to create / repost something, and before I knew it, it would be Wednesday again.

So the idea is to have a theme for the month, which you can adhere to or not. But if you do, and the title has [4FF] in it somewhere, the previous themed post (which is currently this one) will be un-stickied, and your post will be the new one that is "Featured in the Community" as a reminder of the theme.

I'll do it manually for a bit, until I have enough data to enable the automod to do it.

Thanks.

 

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.

 

Hello,

For this Wednesday's theme, please delve into the murky depths of Star War's Expanded Universe: the books, comics and video games etc whose stories have been cast aside in favour of whatever it is we have now.

Be quick though, before you know it, Dave Filoni will have plundered the same sources, and the thing you may have dismissed as ridiculous will have it's own 6-part series on D+.

Thanks.

 
 

Hello,

I keep forgetting to do these, but WhoRoger sent me this recently, and it's now all I can think about.

Please suggest your own captions for this pic.

Also: please feel free suggest any other images we can use for future contests, (or any suggestions for Wednesday themes, for that matter.)

Thanks!

view more: next ›