freamon
Mostly just used for moderation.
Main account is https://piefed.social/u/andrew_s
- 3 Posts
- 37 Comments
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.worldto
Fediverse@lemmy.world•Can’t see my video file sizes on PeerTube.English
4·7 months agoYou 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
urlentry, and buried in some of those is atagentry 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 MBIf 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.worldto
Fediverse@lemmy.world•FediGroups -- helping you share and interact across the Fediverse!English
5·7 months agoNot 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
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)
Not the first time that bug’s reared its head either.
Example from here:
'nsfw': post.nsfw if post.nsfw is not None else FalseA meme about PieFed half-arsing database migrations might not be funny, but would at least be valid, and less wearisome than OP’s post.
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).
The OP linked to the function with the ‘enoughmuskspam’ filter in it: it’s here (line 352 if it doesn’t auto-scroll down).
As mentioned, it’s a bulk-community import function, that new admins can optionally use to kick-start a new instance.
The code you’ve linked to is another convenience function, for users this time, that will optionally add the relevant values to their content filters for the ‘All’ feed. It’s also not a federation block, and it’s common enough for fediverse users to want to hide posts about those people that it’s value arguably overrides any perceived messiness about ‘hard-coding’ their names.
Anyone who takes the time to understand PieFed’s codebase could find plenty of things to legitimately criticise. To my mind, though, it seems against the social contract around open-sourcing one’s hobbyist project, only for people to then be snarky about it online. If there’s bits of code that look like they were written on someone’s lunch break, that’s because they were.
The frustrating thing about this post, and the (now deleted) post before it, is that someone has taken more time to create some shit meme than they have reading the code they’re haphazardly attacking. I’ve no idea why PieFed has suddenly come under some Lemmy users sights, especially since the whole point of federated social media is that it shouldn’t matter what client someone uses, and how much it reeks of “People Front of Judea” bullshit.
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.worldtoLemmy Support@lemmy.ml•Problems with seeing post from a specific community.
2·2 years agoOkay. Well, if it’s fixed, that’s all that matters, I guess. I don’t understand this desire to downgrade other people’s answers into speculation, but it’s not like this is the first time it’s happened.
Language selection with Lemmy is pretty unintuitive, so others may be interested to know that OP is technically incorrect here. Despite what the UI says, it’s actually impossible to deselect ‘undetermined’. Whatever frontend you’re using might let you, but the backend will just ignore it. I don’t use this account much, but I used it here to make a very deliberate decision to send my earlier response using ‘undetermined’ as the language, so that OP would definitely see it, and the fact that they clearly did demonstrates for itself that what they’re suggesting is nonsense.
freamon@lemmy.worldtoLemmy Support@lemmy.ml•Problems with seeing post from a specific community.
4·2 years agoUsing a web browser, go to your account settings. In ‘languages’ ensure that ‘English’ is selected. The posts will then be visible to you when you are logged in.
You’ve made this post in the ‘afaraf’ language, so you may as well deselect that while you’re there if you don’t understand it. This of course means that most people here won’t see this post, ironically enough.
Also, if folks could stop parroting out the same bullshit ‘federation delays’ answer to every question, that’d be great. It’s not that. It’s actually very rarely that (even if you were the very first person to discover that community, which you weren’t, it’d only take a refresh to resolve it).
freamon@lemmy.worldtoLemmy Support@lemmy.ml•Creating Community page problem (not submitting)
3·2 years agoThe problem is not feddit.org. You can still create communities there. The problem is that the ‘name’ field is too long - it’s needs to be 20 characters max. I answered this from another account, but now I’m thinking you can’t see it because you haven’t selected ‘English’ as a language you understand. If that’s the case, then it means problems with Lemmy are stopping people solving other problems with Lemmy, and the whole thing is doomed.
You might need to have the ‘show nfsw’ setting turned on. Anyway, they look like this:
nsfw

So the theory that they were downvoted for spamming someone’s feed likely has validity.
I screenshotted this from their ‘trending’ page, which suggests that their content is garbage and their tech is fucked.

freamon@lemmy.worldto
Fediverse@lemmy.world•Shouldn't all ActivityPub servers implement all objects and leave it to the client?English
2·2 years agoHmmm. Speaking of Fediverse interoperability, platforms other than yours (Pandacap) typically arrange things so that
https://pandacap.azurewebsites.netwas the domain, and something likehttps://pandacap.azurewebsites.net/users/lizard-sockswas the user, but Pandacap wants to usehttps://pandacap.azurewebsites.netfor both. Combined with the fact that it doesn’t seem to support /.well-known/nodeinfo means that no other platform knows what software it’s running.When your actor sends something out, it uses the id
https://pandacap.azurewebsites.net/, but when something tries to look that up, it returns a “Person” with a subtly different id ofhttps://pandacap.azurewebsites.net(no trailing slash). So there’s the potential to create the following:https://pandacap.azurewebsites.net/sends something out.- Instance hasn’t heard of that, so looks it up, and creates a new user in its database, with the returned ID (
https://pandacap.azurewebsites.net) https://pandacap.azurewebsites.net/sends else something out. Instance looks in it’s DB, finds nothing, so looks it up and tries to create it again. The best case is that it meets a DB uniqueness constraint, because the ID it gets back from that lookup does actually exist (so it can use that, but it was a long way around to find it). The worst case - when there’s no DB uniqueness constraint -is that a ‘new’ user is created every time.- Repeat step 3 for every new thing you send.
If every new platform treats the Fediverse as a wheel that needs to be re-invented, then the whole project is doomed.
Well, there’s good news and bad news.
The good news is that Lemmy is now surrounding your spoilers with the expected Details and Summary tags, and moving the HR means PieFed is able to interpret the Markdown for both spoilers.
The bad news:
It turns out KBIN doesn’t understand Details/Summary tags (even though a browser on it own does, so that’s KBIN’s problem).
Neither PieFed, or KBIN, or MS Edge looking at raw HTML can properly deal with a list that starts at ‘0’.
Lemmy is no longer putting List tags around anything inside the spoilers. (so this post now looks worse on KBIN. Sorry about that KBIN users)
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)
freamon@lemmy.worldOPto
Fediverse@lemmy.world•Quick video demonstrating that lemmy.world sends every activity out twiceEnglish
2·2 years agoUpdate: for LW, this behaviour stopped around about Friday 12th April. Not sure what changed, but at least the biggest instance isn’t doing it anymore.
freamon@lemmy.worldOPto
Fediverse@lemmy.world•Quick video demonstrating that lemmy.world sends every activity out twiceEnglish
3·2 years agoI’ve been coerced into reporting it as bug in Lemmy itself - perhaps you could add your own observations here so I seem like less of a crank. Thanks.
freamon@lemmy.worldOPto
Fediverse@lemmy.world•Quick video demonstrating that lemmy.world sends every activity out twiceEnglish
14·2 years agoI’ve since relented, and filed a bug




The API provides it, which means that many of the clients will also have a way of displaying them.
Your instance provides an alternative UI via the ‘Photon’ client at https://p.feddit.org/ - you can use this on desktop to view your profile and select the ‘Upvoted’ view.
The command-line equivalent would be
curl --header 'authorization: Bearer LOGIN_TOKEN' 'https://feddit.org/api/v3/post/list?liked_only=true&page=1&limit=50' | jq .posts[].post.id | xargs -I {} echo "https://feddit.org/post/%7B%7D"but it’s nowhere near as convenient as getting a client to do it for you.
The other site mentioned - https://lemvotes.org/ - doesn’t use the API and is a bit controversial: it tends to be used to see who else voted for a post, and isn’t guaranteed to be a reliable way to show what posts you personally voted for.