7
submitted 7 months ago* (last edited 7 months ago) by iByteABit@lemm.ee to c/opensource@programming.dev
1
submitted 7 months ago* (last edited 7 months ago) by iByteABit@lemm.ee to c/opensourcegames@lemmy.ml
29
submitted 7 months ago* (last edited 7 months ago) by iByteABit@lemm.ee to c/foss@beehaw.org
17
submitted 7 months ago* (last edited 7 months ago) by iByteABit@lemm.ee to c/opensource@lemmy.ml
18
submitted 7 months ago by iByteABit@lemm.ee to c/foss@beehaw.org

cross-posted from: https://lemm.ee/post/27328794

A twist of Tic Tac Toe inspired by VSauce written in React + JS.

I will happily accept contributions, if you're interested you can check for any open issues or create your own!

40
submitted 7 months ago by iByteABit@lemm.ee to c/opensource@lemmy.ml

cross-posted from: https://lemm.ee/post/27328794

A twist of Tic Tac Toe inspired by VSauce written in React + JS.

I will happily accept contributions, if you're interested you can check for any open issues or create your own!

1
submitted 7 months ago by iByteABit@lemm.ee to c/opensourcegames@lemmy.ml

A twist of Tic Tac Toe inspired by VSauce written in React + JS.

I will happily accept contributions, if you're interested you can check for any open issues or create your own!

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

Maybe public opinion will change now that there's white victims of the genocide too

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

It's ok, americans don't have healthcare so they can afford to wage wars all over the place

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

Are you enjoying your capitalism?

1
submitted 1 year ago by iByteABit@lemm.ee to c/europe@feddit.de
[-] iByteABit@lemm.ee 50 points 1 year ago

Try reading a book for 5 hours in the city surrounded by your devices, and try doing it in nature with no devices around you. We didn't change, but our world did and we adapt with it. Of course, things wouldn't be so bad if there weren't people getting unimaginably rich by trapping your attention.

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 47 points 1 year ago

I love how conspiratorial republicans get when the state is threatened with welfare and humanitarian measures, but when other republicans make insane claims no one asks for a source

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

Microsoft as usual trying to make a Swiss Army knife where none of the tools work as intended

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

Your cock is mine now

I'm dying

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

Wow, I don't even know how to process this. The dumbass conservatives are getting so confused about life they're actually creating sarcastic comics about their way of thinking unintentionally.

This is peak irony

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

I just realized that about September-December, that's mindblowing and hilarious

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

I don't usually judge by looks, but you can just tell that Brendan Eich is an insecure fragile person with many mental problems.

I don't know what's worse: The whole anti same-sex marriage deal or inventing Javascript.

Probably Javascript..

71

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 99 points 1 year ago

What a fucking dystopia

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 50 points 1 year ago

This statement alone works better than any advertisement they could have made

view more: next ›

iByteABit

joined 1 year ago