this post was submitted on 10 Oct 2023
845 points (97.0% liked)

Programmer Humor

32690 readers
305 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] randomaccount43543 116 points 1 year ago (9 children)
load more comments (9 replies)
[–] [email protected] 94 points 1 year ago (3 children)

*Badly outdated Chrome with a bunch of critical vulnerabilities.

Don't forget every Electron app comes with its own Chrome.

[–] qaz 43 points 1 year ago* (last edited 1 year ago) (2 children)

Last time I checked the version Electron used by Discord was severely out of date causing several issues that had been solved months ago upstream. That’s the fault of Discord, not Electron but there are several issues with Chromium that I have to deal with on every Electron app I use. Compose sequences are still partially broken. I reported it at Chromium but they responded with a video of them testing it on Windows (not with a VM), said they couldn’t reproduce the issue (with a Linux specific input method?!) and then marked it as unreproducible.

[–] [email protected] 23 points 1 year ago (3 children)

Wait, you're telling me that Discord is probably still vulnerable to the Webp RCE vulnerability?

[–] [email protected] 19 points 1 year ago

They use plain text and there biggest shareholder is the Tencent (the CCP let's be real) are you surprised? It's literally a data farm for China...

[–] qaz 7 points 1 year ago

They probably manually added the patch.

[–] dinckelman 7 points 1 year ago

They updated to a version that included a patch for that exploit, however it doesn't matter in the grand scheme of things, because they're still on 22.x, support for which has already been terminated

[–] [email protected] 10 points 1 year ago (1 children)

Problem is, for any somewhat big project (like discord) updating Electron without something breaking is a nightmarishly complex venture as Electron doesn't seem to care about backwards compatibility.

[–] [email protected] 12 points 1 year ago (2 children)

The error is in picking Electron in the first place. One particular case that I've had with several Electron apps are zombie processes. You close the window, but you check the task manager and see 4-5 processes hanging in there, eating resources for no reason.

load more comments (2 replies)
[–] [email protected] 10 points 1 year ago

And they thought snaps were dumb

[–] rdri 5 points 1 year ago* (last edited 1 year ago)

Steam is using CEF v85 (not Electron but still). Should have gone "please be aware to not visit even slightly shady websites until we update it" but instead went "oh you must like security, so we announce that we will drop Windows 7/8 support in half a year (because ~~CEF~~ Microsoft doesn't support it anymore) so you could play your games more securely".

[–] [email protected] 53 points 1 year ago (3 children)

Y'all, there's a full video, this single image doesn't do it justice: https://birdbutt.com/@barnibu/110995778137311940

[–] [email protected] 22 points 1 year ago

Lol edge at the end got me

[–] [email protected] 14 points 1 year ago

The fact that the frame rate of the camera pan doesn't match up with the frame rate of the props is kinda nauseating ngl

load more comments (1 replies)
[–] [email protected] 51 points 1 year ago (2 children)

Screw chromium! All my homies hate chromium!

[–] cheerjoy 40 points 1 year ago (1 children)

Please don't screw chromium, you might cut yourself on the edges.

[–] [email protected] 16 points 1 year ago* (last edited 1 year ago)

😳 thanks for the heads up. Because if I’m gonna cut myself down there I’m gonna scream like I’m in a Vivaldi Opera. And you know me — I was definitely Brave enough to have some Steamy “Noah get the Ark” action with it, so you literally saved me.

BTW I heard that Chrome is bad for the environment because it’s so resource intensive. That’s why me and car manufacturers are getting rid of it.

Plus I hate how it looks and feels. I would much rather get stranded in a Safari than have to stand how chrome looks.

[–] [email protected] 13 points 1 year ago (2 children)

It is not clear from this pictures whether these drums are finger size or building size. Need more perspective!

[–] [email protected] 7 points 1 year ago

Least scuffed Aliexpress experience

load more comments (1 replies)
[–] [email protected] 46 points 1 year ago (5 children)

'Ate chrome
'Ate system d
'Ate GNOME (not racist just don't like it)

Love me firefox
Love me openrc
Love me TTY and DWM
Love me Gentoo

[–] [email protected] 11 points 1 year ago (8 children)

wayland is the future old man

[–] [email protected] 4 points 1 year ago (3 children)

Wayland can't even remap keys to other characters.

load more comments (3 replies)
load more comments (7 replies)
[–] [email protected] 7 points 1 year ago (1 children)
[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (1 children)

Flex your makeopts jobs amount. I've got 30.

[–] [email protected] 5 points 1 year ago (1 children)

I don't know why but you comment reminded me that I haven't updated in a week 💀

I use gentoo on a laptop so I have 4 makeopts jobs only.

[–] [email protected] 4 points 1 year ago (2 children)

Ow. I didn't use gentoo until I had good enough hardware that updates wouldn't take 2 days to finish. I used arch or freebsd when I only had a laptop available.

load more comments (2 replies)
[–] [email protected] 5 points 1 year ago
[–] [email protected] 4 points 1 year ago (1 children)

I want to get better at using TUIs and all the lot of lighter-weight software, but I've quite frankly been too stupid to learn it.

I downloaded Gentoo onto an old Chromebook with the Mr Chromebox script. Currently am trying to make it into a sandbox for me to learn more about how init systems, compilers, and other lower level OS details.

Other than reading the Wikis, are there any projects that you'd suggest to increase one's ability in those realms? Thanks!

[–] [email protected] 7 points 1 year ago

Really what got me to learn to use the terminal more was downloading systems without tons of gui apps. Most base systems will be like that. In general my only gui apps are a file browser, web browser, and audio tools. Debian, arch, gentoo, nix. Avoid stuff like mint or endeavour if you want to force yourself into learning the terminal. The more you use it, the better you'll get. Using gui apps isn't bad, sometimes it just works better for specific actions. But knowing how to use the terminal helps for when nothing else works.

[–] sebinspace 4 points 1 year ago

Oh hi, Cave :D

[–] [email protected] 38 points 1 year ago (2 children)

Future?, we basically living it already

[–] superduperenigma 20 points 1 year ago

The future is now, old man!

load more comments (1 replies)
[–] [email protected] 27 points 1 year ago (1 children)

Leave me in the "past" with my gtk4 applications please.

[–] TCB13 18 points 1 year ago (4 children)

Isn't that Webkit as well? lol

[–] [email protected] 20 points 1 year ago (1 children)

Is there a Firefox powered framework like electron?

[–] sheogorath 22 points 1 year ago* (last edited 1 year ago) (1 children)

gluonjs could be an alternative. IIRC there's another framework similar to Electron that uses native system WebView for rendering and Rust for interfacing directly with the OS, the name escapes me for the moment though.

Edit: I remembered the name! It's Tauri

[–] [email protected] 15 points 1 year ago (4 children)

NeutralinoJS is an option similar to Tauri. You don't need to bundle a whole fucking browser just to run a couple of webpages with some javascript.

load more comments (4 replies)
[–] [email protected] 11 points 1 year ago

Cyberpunk 2077 proves this to be true.

[–] [email protected] 10 points 1 year ago

All refs load into ChRome.

[–] [email protected] 4 points 1 year ago (2 children)

It was the best scene in Mad Max.

load more comments (2 replies)
load more comments
view more: next ›