1
submitted 1 year ago* (last edited 1 year ago) by iByteABit@lemm.ee to c/communism@lemmygrad.ml

It's possible that you've all seen this and I'm late to the party, but I watched the lecture and I feel enlightened.

It's so refreshing to hear the sound of reason on a topic that's so infested with propaganda and fury from people completely uneducated on the topic or people who intentionally want to confuse others, some to the point of saying that Stalin is comparable or even worse than Hitler.

I'm honestly surprised that it's not taken down as "Russian spy propaganda or some shit", probably because he's an american proffessor that would surely cause a ruckus by being silenced.

[-] iByteABit@lemm.ee 34 points 1 year ago

People who support free market and capitalism should support Night City in order to be consistent with their beliefs.

This selective ignorance is very common in actual political discussion

10
submitted 1 year ago by iByteABit@lemm.ee to c/europe@feddit.de
26

I would like to do a small-medium guide on something I did that I couldn't find so many resources for, what do you think would be the best place to do this without so much hassle and preferably with free hosting?

35
submitted 1 year ago by iByteABit@lemm.ee to c/meta@lemm.ee

@sunaurus@lemm.ee I'm crossposting this here just to make sure that you get to see it.

cross-posted from: https://lemmy.dbzer0.com/post/4500908

In the past months, there's a been a issue in various instances where accounts would start uploading blatant CSAM to popular communities. First of all this traumatizes anyone who gets to see it before the admins get to it, including the admins who have to review to take it down. Second of all, even if the content is a link to an external site, lemmy sill caches the thumbnail and stores it in the local pict-rs, causing headaches for the admins who have to somehow clear that out. Finally, both image posts and problematic thumbnails are federated to other lemmy instances, and then likewise stored in their pict-rs, causing such content to be stored in their image storage.

This has caused multiple instances to take radical measures, from defederating liberaly, to stopping image uploads to even shutting down.

Today I'm happy to announce that I've spend multiple days developing a tool you can plug into your instance to stop this at the source: pictrs-safety

Using a new feature from pictr-rs 0.4.3 we can now cause pictrs to call an arbitary endpoint to validate the content of an image before uploading it. pictrs-safety builds that endpoint which uses an asynchronous approach to validate such images.

I had already developed fedi-safety which could be used to regularly go through your image storage and delete all potential CSAM. I have now extended fedi-safety to plug into pict-rs safety and scan images sent by pict-rs.

The end effect is that any images uploaded or federated into your instance will be scanned in advance and if fedi-safety thinks they're potential CSAM, they will not be uploaded to your image storage at all!

This covers three important vectors for abuse:

  • Malicious users cannot upload CSAM to for trolling communities. Even novel GenerativeAI CSAM.
  • Users cannot upload CSAM images and never submit a post or comment (making them invisible to admins). The images will be automatically rejected during upload
  • Deferated images and thumbnails of CSAM will be rejected by your pict-rs.

Now, that said, this tool is AI-driven and thus, not perfect. There will be false positives, especially around lewd images and images which contain children or child-topics (even if not lewd). This is the bargain we have to take to prevent the bigger problem above.

By my napkin calculations, false positive rates are below 1%, but certainly someone's innocent meme will eventually be affected. If this happen, I request to just move on as currently we don't have a way to whitelist specific images. Don't try to resize or modify the images to pass the filter. It won't help you.

For lemmy admins:

  • pictrs-safety contains a docker-compose sample you can add to your lemmy's docker-compose. You will need to your put the .env in the same folder, or adjust the provided variables. (All kudos to @Penguincoder@beehaw.org for the docker support).
  • You need to adjust your pict-rs ENVIRONMENT as well. Check the readme.
  • fedi-safety must run on a system with GPU. The reason for this is that lemmy provides just a 10-seconds grace period for each upload before it times out the upload regardless of the results. A CPU scan will not be fast enough. However my architecture allows the fedi-safety to run on a different place than pictrs-safety. I am currently running it from my desktop. In fact, if you have a lot of images to scan, you can connect multiple scanning workers to pictrs-safety!
  • For those who don't have access to a GPU, I am working on a NSFW-scanner which will use the AI-Horde directly instead and won't require using fedi-safety at all. Stay tuned.

For other fediverse software admins

fedi-safety can already be used to scan your image storage for CSAM, so you can also protect yourself and your users, even on mastodon or firefish or whatever.

I will try to provide real-time scanning in the future for each software as well and PRs are welcome.

Divisions by zero

This tool is already active now on divisions by zero. It's usage should be transparent to you, but do let me know if you notice anything wrong.

Support

If you appreciate the priority work that I've put in this tool, please consider supporting this and future development work on liberapay:

https://liberapay.com/db0/

All my work is and will always be FOSS and available for all who need it most.

[-] iByteABit@lemm.ee 25 points 1 year ago* (last edited 1 year ago)

I'm not from the USA, but all sensible people from there that care about living in a non fascist state should be panicking right now. Your "democracy" is now in direct threat and the people need to rise up and show that they won't let this shit pass. Besides voting, get out in the streets and protest. Do everything that needs to be done to show that the loud minority is just that, a minority.

To keep fascism from rising up, you need to be intolerant of the ones who show no tolerance. Your enemy has no moral bounds and will do anything to achieve their hateful goals, if it comes down to it then violence is not immoral if you're violent against someone who gets off on people suffering, it's self defense.

[-] iByteABit@lemm.ee 42 points 1 year ago

There's no such thing as 'apolitical'. The very idea of leaving politics to our superior politicians is what brought us and keeps us in this state.

This is not at all a political issue however. This is about not being a trash human being. Being racist is not a political opinion, it's spreading hatred in the world and being a waste of skin.

[-] iByteABit@lemm.ee 27 points 1 year ago

Yaaay my country is making world news again :D

Fuck this shithole

[-] iByteABit@lemm.ee 28 points 1 year ago

The only driver I have ever needed to download manually was the proprietary Nvidia one, and that too was simply downloadable from Pacman.

Still, 7/10 meme for effort

[-] iByteABit@lemm.ee 42 points 1 year ago

It's sad for Bernie and other leftist parties that they can mathematically never get into power, but this is the smartest thing he can do given the system. Use his publicity to promote the closest party to his own so that the fascists don't get into power.

70

What are your opinions on the future of back-end web development? Is the Java ecosystem going to wither away as more modern and better solutions are emerging and maturing?

If so, which language/framework and/or programming paradigm do you think will become the new dominant player and how soon?

Personally I would love to see Rust becoming a new standard, it's a pleasure to write and has a rapidly growing ecosystem, I don't think it's far away from overtaking Java. The biggest hurdle imo is big corporations taking a pretty big risk by choosing a relatively new language that's harder to learn compared to what has been the standard for decades.

Playing it safe means you minimize surprises and have a very large amount of people that are already experts in the language.

Taking the risk will definitely improve a lot of things given that you find enough people that know or are willing to learn Rust, but it also means that you're trading off Java flaws with Rust flaws. That's the case however with every big change, and Java flaws are a good enough reason to make a big change.

[-] iByteABit@lemm.ee 29 points 1 year ago

People here are way to eager to get into political arguments out of nowhere, usually in bad faith. The front-page is covered with doomscrolling content, being here too long makes me miserable and hopeless. The rest of the content is mostly tech stuff, which can only be interesting for so long.

What I miss from Reddit, is the variety of diverse communities, people having fun and polite conversations, a sense of humor, and a lot of happy content or stuff that's interesting but not limited to tech.

At this point, I feel like the technology is much better and the user base much larger, but the user group is so extremely specific.

I wish people from all political spectrums would engage in a civil conversation here and not reduce it to mockery and attacking. What's the point of discussion if no one leaves with something new to think?

[-] iByteABit@lemm.ee 24 points 1 year ago

This would be a strong entry for a "Onion or not?" drinking game

[-] iByteABit@lemm.ee 28 points 1 year ago

This is a great post bringing up some serious controversial issues and discussing them in a civil way despite the personal attacks and disgusting comments you received, this is setting a very good example for what the vibe of the instance should be.

My personal opinion about hexbear in particular, is that while there are multiple cases of people being straight up trolls, replying in bad faith, lowering the quality of the conversation by name calling, putting labels on people, and saying really mean shit, there is also a very large part of their community that discusses politely even in difficult topics, and provide very good opinions and facts backed up by multiple sources.

I'm also a fan of 'Theory Thursday' that a user is doing on their instance where he provides a reading material about communism and then they discuss it in the comments.

I think they have a lot to offer, and after deliberately choosing to bear through some of their annoying users and not to block them to avoid creating my own echo chamber, I ended up seeing their good side and changed a lot of my views about things thanks to them.

That said, I think that the instance should enforce some rules strictly and ban users that ruin the image and message of the rest. I noticed that some of them aren't interested in being federated and would rather be left alone, if the rules don't end up being accepted and they continue as they do then I think it's sensible to defederate with an instance that wishes to stay disconnected.

21
submitted 1 year ago by iByteABit@lemm.ee to c/foss@beehaw.org

I'm looking to replace WPS Office which comes by default with Xiaomi phones, what FOSS alternatives do you recommend?

I'm also open to proprietary apps as long as they're substantially better than the FOSS alternatives

[-] iByteABit@lemm.ee 33 points 1 year ago

Damn, I missed it :/

Seems much nicer than the Reddit one

6
submitted 1 year ago by iByteABit@lemm.ee to c/meta@lemm.ee

The Kbin magazine m/greece is showing up if I search it from lemm.ee, but it has no content at all.

Is lemm.ee federated with Kbin?

[-] iByteABit@lemm.ee 29 points 1 year ago

Some good news finally, free roaming is so nice to have, it eliminates one of the many things you have to take care of before traveling somewhere else in the EU.

I can't get enough of these EU measures for bringing us closer together, this is what the EU should be

[-] iByteABit@lemm.ee 29 points 1 year ago

If a kid is truly over their head with a book, it won't be long until they get bored and quit, unless they're just trying to impress someone and aren't interested in the book itself.

Kids should be allowed to unlimited learning and curiosity, this spark you have as a child is very powerful if you let it happen and nurture it instead of trying to fit all students in an iron cast thinking that you know what's best for them.

view more: ‹ prev next ›

iByteABit

joined 1 year ago
MODERATOR OF