197
Fun fact: you can't upload this image on piefed.social
(thelemmy.club)
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, Mbin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)
There are all kinds of fun stuff in the Piefed code. Allow me to dredge up a comment I made recently:
@edie@lemmy.encryptionin.space was looking at PieFed code the other week, and I ended up taking a look at it too. Its great fun to sneak a peak at.
For example, you cannot cast a vote on PieFed if you've made 0 replies, 0 posts, AND your username is 8 characters long:
If a reply is created, from anywhere, that only contains the word "this", the comment is dropped (CW: ableism in the function name):
Every user (remote or local) has an "attitude" which is calculated as follows:
(upvotes cast - downvotes cast) / (upvotes + downvotes). If your "attitude" is < 0.0 you can't downvote.Every account has a Social Credit Score, aka your Reputation. If your account has less than 100 reputation and is newly created, you are not considered "trustworthy" and there are limitations placed on what your account can do. Your reputation is calculated as
upvotes earned - downvotes earnedaka Reddit Karma. If your reputation is at -10 you also cannot downvote, and you can't create new DMs. It also flags your account automatically if your reputation is to low:PieFed boasts that it has "4chan image detection". Let's see how that works in practice:
Yup. If your image contains the word
Anonymous, and contains the textNo.orN0it will reject the image with a fake error message. Not only does it give you a fake error, but it also will dock your Social Credit Score. Take note of thecurrent_user.reputation -= 1PieFed also boasts that it has AI generated text detection. Let's see how that also works in practice:
This is the default detection, apparently you can use an API endpoint for that detection as well apparently, but it's not documented anywhere but within the code.
Do you want to leave a comment that is just a funny gif? No you don't. Not on PieFed, that will get your comment dropped and lower your Social Credit Score!
How does it know its just a gif though?
I'm not even sure someone would actually drop a link like this directly into a comment. It's not even taking into consideration whether those URLs are part of a markdown image tag.
As Edie mentioned, if someone has a user blocked, and that user replies to someone, their comment is dropped:
For Example:
(see Edies original comment here)
More from Edie:
Also add if the poster has blocked you! It is exactly as nonsense as you think.
Example:
I made a post in testing@piefed.social from my account testingpiefed@piefed.social, replied to it from my other testingpiefed@piefed.zip account. Since the .social account has blocked the .zip, it doesn't show up on .social, nor on e.g. piefed.europe.pub.
I then made a comment from my lemmy.ml account, and replied to it from my piefed.zip account, and neither .social, nor europe.pub can see my .zip reply, but can see my lemmy.ml comment!
[ Let me add more clarity here: what this feature does is two things. On a local instance, if you block someone who is on your instance, they cannot reply to you. However, this condition is not federated (yet, it would seem), and so, to get around this "issue", the system will drop comments from being stored in the PieFed database IF the blocked user is remote. This means you end up with "ghost comment chains" on remote instances. There is NEW code as of a few weeks ago, that will send an AUTOMATED mod action against blocked remote users to remove the comment. So long as the community is a local PieFed community, it will federate that mod action to the remote server, removing the comment automatically. For PieFed servers, eventually, they would rather federate the users block list (that's fair), but it would seem this code to send automated mod actions to remove comments due to user blocks is going to stay just for the Lemmy Piefed interaction. I don't really understand why the system simply doesn't prevent the rendering of the comment, instead of stopping it from being stored. It knows the user is blocked, it already checks it, it should then just stop rendering the chain of comments for the given user, prevent notifications from those users, etc. ]
But wait! There's More!
All this to say. Piefed is a silly place, and no one should bother using its software.
lol hardcoded shit everywhere. that codebase is so bad it's entertaining. you should make a standalone post about this here and crosspost to !programming_horror@programming.dev
Piefed has code to explicitly fuck over Sxan or what's their name, by replacing the thorn character with ‘th’. Meaning you can't properly cite Old English, Old Norse, or modern Icelandic on Piefed. But of course, “Lemmy is the authoritarian communist platform”.
Piefed's code also reeks of a recent college graduate, being a stream of consciousness with almost no comments. Meanwhile the most known, and seemingly most active dev claims twenty-five years of experience, making one wonder if they learned anything in that time (or if they count from when they've typed up some Logo at three years old).
This has been removed
Ok. But other people can think about their doings in advance and foresee the consequences. Piefed's development is not how a mature person with ‘twenty-five years of experience’ makes open-source software.
They did roll this back after people got annoyed with the change. The fact that it was added at all though is very silly! Why should it matter to the project maintainer what some user is doing? Why build a community on a platform that is going to inject such a wildly silly opinion on you? If you don't think EM Dashes are an issue, you have no choice but to be endlessly pinged every time an EM Dash is detected by the system if you're a community admin.
I've been wondering, what's the deal with that Sxan guy's spelling?
They say that it's a bid to contaminate AI data collection, but it really just reads like more of a cry for attention
Yeah, I've seen him around and that's the conclusion I kinda came to. "You do you", though.
Ostensibly they do it to interfere with AI scraping social media comments, but of course it does nothing but make their comments more difficult to read.
Wow, thanks for posting this. I actually considered switching to PieFed because people say a lot of good things about it but now I know I won't. I can't treat codebase like this seriously.
It is worth noting that almost all of these can be disabled by admins (https://anarchist.nexus/ has them disabled mostly iirc). Piefed has a lot of good features still.
How do you find out what instances have it enabled or disabled tho? And is there a published code of conduct / long-term committments on whether instances will change their minds about that at some point?
Same, this is good to know. This level of auto-policing comments is excessive.
i already had made another account there. Now i deleted it. The ui was already kind of dumb there, this was the last straw. Or last haybale rather.
This pains me because it is functionally equivalent to
not if both upvotes and downvotes are zero ❗️
If 0/0 < 0 would error?
If 0 < 0 evaluates false
That makes it even worse???
Looks like Piefed really is Lemmy with SpezTools.
It's just Lemmy but more reddit. The people who left Reddit for Lemmy into PieFed just want to be the admins of their Reddit, and all it entails.
Phew, well thank goodness all the users are safe from authoritarian red fascist code!
... Wow. I mean I already knew there was some questionable stuff with PieFed but this is honestly next level.
Wow, great post. I was mildly annoyed by all the piefed shenanigans from non compliance with activitypub but this really is quite eye opening
I appreciate only the thought behind blocking "this" as a response
How much would Piefed hate this image?
should also make it a gif
This
Wooow, I didn't know any of this. Thanks for the detailed explanation
Holly cow, this code looks like it was written by my student self. It's actually kind of cute ngl
I know the blocking stuff is actively being worked on as we aren't happy with it yet. However, that is an issue where it would be literally impossible for every user to be happy with whatever end state it results in. That is an area where the different software platforms can offer people different experiences so that they can seek out the type of experience they are looking for.
Almost everything else you listed here can be turned on/off by an admin. I didn't know about the 8-character username thing, probably worth revisiting that. The downvotes being disabled with low attitude is one I don't see being removed, but could be an admin-set threshold (or disabled) in a future version. In fact, I suspect that the formula was written this way to make the threshold more well bounded instead of a simple up - down calculation.
Trying to do something about bots is okay. "attitude" is iffy but still kind of understandable, though already a step in worrying direction. But surely its implemented in transparent and fair way.. right? Actively lying to users so they cant use images that MIGHT have content coder doesnt like? What else are they lying about? What else WILL they lie about? And that it reduces your reputation while not even informing you about it?
It doesnt matter if your ideals are noble and intentions good, if you dont act with integrity you are no better than the ones who are making world shitty place.
"Social Credit" eh? Well I guess I did not expect anything more.
"How do you refer to an instance member in Java?"
"Sorry can't comment that."