
deliberately misleading error message.
The snippet that does this is:
if site.enable_chan_image_filter: # Do not allow fascist meme content try: if '.avif' in uploaded_file.filename: import pillow_avif # NOQA image_text = pytesseract.image_to_string(Image.open(BytesIO(uploaded_file.read())).convert('L')) except FileNotFoundError: image_text = '' except UnidentifiedImageError: image_text = '' if 'Anonymous' in image_text and ( 'No.' in image_text or ' N0' in image_text): # chan posts usually contain the text 'Anonymous' and ' No.12345' self.image_file.errors.append( "This image is an invalid file type.") # deliberately misleading error message current_user.reputation -= 1 db.session.commit() return False(Link in the post body)
For every that doesn’t understand what this is about.
They are trying to filter content from 4chan
The images you upload gets scanned. If they contain the words “anonymous” it checks if it also contains “no.” And if it does it assumes its from 4 chan and then deliberately serves a misleading error.
Social Engineering for Good. Social Engineering for Progress.
I guess that’s just something we have to grow to expect from Rimu, after the whole þ fiasco? I can think of lots of valid image uses that have the world “anonymous”, such as semi-redacted whistleblowing posts.
the whole þ fiasco
That has since been removed. Yeah, rimu is certainly opinionated and passionate about what he believes in, but has also been pretty receptive to feedback, both from users and from admins (like in the private voting case). Fortunately, there are alternative threadiverse platforms out there for people that want them. Both lemmy and mbin do some stuff better than PieFed, and that’s ok. The different projects have maintained working relationships at the dev level to try to make sure interoperability outside the base activitypub spec doesn’t completely break (the post-moving feature/FEP was a collaboration between PieFed, lemmy, and NodeBB for example).
Thorn fiasco?
Also fun fact, you can probably upload it to most other piefed instances just fine.
rimu has pretty strong opinions on social media. This filter is optional and can be turned on/off by an admin. Some of my contributions to piefed have been to make filters or features that are strongly opinionated like this optional. For piefed.social specifically though, rimu has all of them on because that is his instance and he runs it the way he wants.
How do I know whether my instance has these filters applied or not? And if rimu is putting “deliberately misleading error messages”, how can I be sure of anything?
I’m not entirely against banning 4chan content (as you said, it’s his instance), but I think doing it this way is sloppy at best, and deceptive at worst.
I don’t necessarily disagree. I haven’t really taken a close look at how this is implemented, but it also hasn’t really been a high priority to revisit, at least not for me. There are still plenty of more fundamental features to get right first in my opinion. The big one I have worked on for the next piefed version is to get local sticky posts working for example.
My experience from working with rimu though is that he has been pretty receptive with contributions to make it less opinionated in these kinds of ways. I have removed or made optional tons of stuff that he spent time coding and I haven’t really gotten any pushback from him over it. I know it kind of makes me sound like a douche to just say open a PR, but if somebody out there feels strongly about this filter, that is probably the fastest way to get it changed.
Interesting. If this is intentional, it could be easy to change. Maybe I’ll take a look at the code tomorrow and see if I can change it
Too funny, liberals freak out about free censorship-proof software created by communists because they are “authoritarian” so in order to censor them develop new software with authoritarian censorship built in.
Don’t worry, there’s a communist PieFed instance that has the 4chan filter turned off. It’s called MULTIVERSE. However, you can’t reach it from lemmy.ml and ideologically aligned instances, because their admins are state capitalists who would break our rules if they were allowed to. We only allow capitalists who are here to engage in good faith, whether that means being open to changing their minds, or just arguing respectfully with care for the value of other people’s time and energy.
So, communist as in the more socially liberal anarco type of communism? Less vanguard, more community building, consent and mutual aid?
I’m not worried and don’t care about your instance or what you think about lemmy.ml.
I just think it is funny that the software itself is politically neutral but due to an extreme desire to censor the lemmy devs for “authoritarianism” that libs are developing undocumented authoritarian censorship methods into their forks.
So wait, they pull in Tesseract and don’t use it to make search better? Talk about missed opportunity.








