this post was submitted on 12 Aug 2023
781 points (96.4% liked)

Programmer Humor

32380 readers
1213 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] aluminium@lemmy.world 25 points 1 year ago (4 children)

Bruh, I actually prefer the "Web 2.0" solution. That way the god damn editor can't just start accessing all the shit on my drive.

[–] TheOldRazzleDazzle@lemm.ee 49 points 1 year ago (1 children)

Lol but included in the source for www.texteditor.com is analytics, beacons, etc from Google, Microsoft, Facebook, Twitter, Cloudfare, and a bajillion different ad networks that send the content of your text file to AI models.

[–] squigglycunt@lemmy.world 0 points 1 year ago

pihole and unbound dns babyyyyyy

[–] grue@lemmy.ml 37 points 1 year ago* (last edited 1 year ago) (1 children)

My text editor doesn't access shit on my drive (unless I ask it to) because it's Free Software and my Linux distro package maintainers audit it to make sure it doesn't contain malware like that.

You're praising a pathological solution to a problem that shouldn't exist to begin with.

[–] Takumidesh@lemmy.world 13 points 1 year ago

Forever audits of free software are unsustainable in my opinion.

To truly audit every piece of software, you need an independent party to spend time (often more than the development) to look through the code, that person needs to be equally or more experienced than the developers of the software, and have specific knowledge for vulnerabilities and malicious techniques.

They then need to audit and monitor all of the channels of distribution for that software, including various websites and repositories. This needs to be done constantly.

You effectively need to double or more the total level of effort for all software.

Yes, high profile software (sometimes) gets audited regularly, but the assumption that anything you grab from your package manager has been truly audited leads to a false sense of security, additionally the assumption that an audit being performed means there are no issues with the code also leads to problems.

The reality is that most open source software doesn't get audited because it is too much work.

[–] ZILtoid1991@kbin.social 14 points 1 year ago (1 children)

Wait until you meet with Javascript and WebAssembly viruses!

[–] nick@campfyre.nickwebster.dev 2 points 1 year ago

WebAssembly is sandboxed and deterministic. Any impure code has to be triggered via message passing with the host language.

[–] BurnedOliveTree@lemmy.world 3 points 1 year ago

That’s why there is sandboxing on macOS and in Flatpacks