this post was submitted on 10 Oct 2023
824 points (96.9% liked)

Programmer Humor

32443 readers
957 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@lemmy.world 112 points 1 year ago (9 children)
load more comments (9 replies)
[–] jmcs@discuss.tchncs.de 92 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@lemmy.world 42 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.

[–] jmcs@discuss.tchncs.de 22 points 1 year ago (3 children)

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

[–] SmoothIsFast@citizensgaming.com 18 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@lemmy.world 7 points 1 year ago

They probably manually added the patch.

[–] dinckelman@lemmy.world 6 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

[–] halva@discuss.tchncs.de 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.

[–] ICastFist@programming.dev 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)
[–] RacoonVegetable@reddthat.com 10 points 1 year ago

And they thought snaps were dumb

[–] rdri@lemmy.world 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".

[–] Vincent@kbin.social 52 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

[–] solivine@sopuli.xyz 22 points 1 year ago

Lol edge at the end got me

[–] HKayn@dormi.zone 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)
[–] RacoonVegetable@reddthat.com 50 points 1 year ago (2 children)

Screw chromium! All my homies hate chromium!

[–] cheerjoy@lemmy.world 38 points 1 year ago (1 children)

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

[–] RacoonVegetable@reddthat.com 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.

[–] Illecors@lemmy.cafe 12 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!

[–] RacoonVegetable@reddthat.com 6 points 1 year ago

Least scuffed Aliexpress experience

load more comments (1 replies)
[–] technologicalcaveman@kbin.social 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

[–] redhilsha@lemmy.ml 11 points 1 year ago (8 children)

wayland is the future old man

[–] Dirk@lemmy.ml 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)
[–] Gentoo1337@sh.itjust.works 7 points 1 year ago (1 children)
[–] technologicalcaveman@kbin.social 7 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] Gentoo1337@sh.itjust.works 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.

[–] technologicalcaveman@kbin.social 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)
[–] Gleddified@lemmy.ca 5 points 1 year ago
[–] gronjo45@lemm.ee 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!

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@lemmy.world 3 points 1 year ago

Oh hi, Cave :D

[–] Mandy@sh.itjust.works 38 points 1 year ago (2 children)

Future?, we basically living it already

[–] superduperenigma@lemmy.world 20 points 1 year ago

The future is now, old man!

load more comments (1 replies)
[–] thepiguy@lemmy.ml 27 points 1 year ago (1 children)

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

[–] TCB13@lemmy.world 17 points 1 year ago (3 children)

Isn't that Webkit as well? lol

[–] thepiguy@lemmy.ml 11 points 1 year ago (1 children)
[–] TCB13@lemmy.world 3 points 1 year ago

😂 😂 😂

[–] blujan@sopuli.xyz 3 points 1 year ago

Webkit's not chrome, tho, not even close

load more comments (1 replies)
[–] jackmarxist@lemmy.ml 20 points 1 year ago (1 children)

Is there a Firefox powered framework like electron?

[–] sheogorath@lemmy.world 21 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

[–] ICastFist@programming.dev 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)
[–] dgbbad@lemmy.zip 11 points 1 year ago

Cyberpunk 2077 proves this to be true.

[–] trailing9@lemmy.ml 10 points 1 year ago

All refs load into ChRome.

[–] Saigonauticon@voltage.vn 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 ›