this post was submitted on 08 Jan 2025
1033 points (98.0% liked)

Programmer Humor

19918 readers
1909 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
1033
Good guy clippy (lemmy.zip)
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 6 hours ago

Eh, not that bad

[–] [email protected] 13 points 17 hours ago (1 children)

The checkbox should be grayed out.

[–] [email protected] 2 points 17 hours ago (1 children)

But I want to always delete Electron Applications...

[–] [email protected] 8 points 16 hours ago (1 children)

That's why the checkbox should be grayed out, so that you can't uncheck it.

[–] [email protected] 5 points 16 hours ago

OOOOOHH! I get it now!

I thought you meant grayed out so it couldn't be checked.

My bad. You're right.

[–] [email protected] 22 points 20 hours ago (1 children)
  • Yes
  • Yes, and also delete Electron
  • That, and also make me forget I ever even heard about Electron in the first place
[–] [email protected] 10 points 23 hours ago (2 children)

Any tech college kid can write an app in common frameworks. I'll admit llm code generators are great when they can translate electron apps to say tauri or even better to QT at reasonable cost :)

[–] [email protected] 10 points 22 hours ago (2 children)
  • Qt “cute” (the UI framework)
  • QT “cutie” (QuickTime the Apple media framework)
[–] [email protected] 8 points 16 hours ago

QT "cutie" (you 😊😳)

[–] [email protected] 8 points 22 hours ago

Well that would be even more impressive.

[–] [email protected] 9 points 22 hours ago (1 children)
[–] [email protected] 1 points 6 hours ago

Yes, except container devel (need to use ssh).

[–] [email protected] 143 points 1 day ago* (last edited 1 day ago) (5 children)

For anyone considering Electron: take a look at Tauri. It’s another way to build cross-platform apps with web tech. It will use the OS‘s web rendering engine instead of shipping Chromium which results in much smaller binaries and faster startup times and less RAM usage. You can also write native code in Rust. It’s like Electron but good.

[–] [email protected] 51 points 1 day ago (3 children)

Bad for Linux at the moment...

That being said, it won't improve just by saying it's bad for Linux, if you work as a maintainer in a distro, or know a lot about Linux and rust to help their development then please reach out!!!

The sooner tauri is usable everywhere the more people will prefer it

[–] [email protected] 6 points 22 hours ago* (last edited 22 hours ago)

Works fine for me on endeavourOS (Hyprland and i3).

What makes it bad for Linux?

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

First I've heard of this. What's wrong on Linux?

[–] [email protected] 12 points 1 day ago* (last edited 1 day ago)

Outdated theming and ~~several widgets(?)that aren't implemented~~ general instability such as random crashes, code not behaving similarly to Mac or Windows, slowdowns, missing packages in builds, a lot of window resizing issues and uh, fuck load of appimage issues

[–] [email protected] 27 points 1 day ago

I didn't try out a Tauri app on linux yet, I just know that it's generally supported. What doesn't work (well) as of now?

[–] [email protected] 1 points 19 hours ago (1 children)

What about Flutter? It was pretty nice to work with

[–] [email protected] 8 points 19 hours ago (2 children)

The reason people use Electron in the first place is that they wanna share a codebase between web, desktop and possibly mobile.

While Flutter can technically do that, the web apps it outputs are atrocious with poor usability and accessibility. It’s drawing the whole UI on a canvas element which causes all kinds of issues.

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

they wanna share a codebase between web, desktop and possibly mobile.

That way you get an app that’s crap on every platform.

[–] [email protected] 1 points 18 hours ago

Make sense, tnx

load more comments (3 replies)
[–] [email protected] 71 points 1 day ago (1 children)

Electron apps are a crime against computing.

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

A crime commited by techbros of the early 2010's, who envisioned an end to desktop applications, and them being replaced by websites.

[–] [email protected] 6 points 20 hours ago

To be fair making native aplications was( maybe even still is , the last time i touched anything non abap related was in uni )very unnesecarily complex thing back then especialy compared to the simplicity of web frontend .

[–] [email protected] 18 points 1 day ago (4 children)

what's are the alternatives? I want ease of writing UIs js/CSS/HTML gives, especially with frameworks like svelte.

[–] [email protected] 16 points 23 hours ago (1 children)
[–] [email protected] 11 points 22 hours ago

Or, get this, a PWA.

[–] [email protected] 22 points 1 day ago* (last edited 1 day ago) (1 children)

I'd highly recommend Tauri. It's much much much faster and you can use svelte for the front end and enjoy all of those benefits.

The "downside" is that all of the backend is written in rust which can be trouble to learn... (Downside is in quotes because rust is my favorite language and I would legally marry it if the law cared about the true meaning of love) However! If you don't care much about the backend stuff or most of that is gonna be simple anyway... Just use it. It's better in every way

Edit for context: I'm the lead developer of a "popular" (it's as popular as you can be as a niche tool for a niche community) open source project that uses Tauri with a svelte front end and rust in the back end.

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

I think VSCode is the only stable electron application and even then it took them like 5 years to reach passable stability lol.

Used to crash and combust all the time when I first tried it.

[–] [email protected] 8 points 22 hours ago* (last edited 22 hours ago) (2 children)

Etcher seems stable! But it's also a well over 100 MB download for a disk image writer. Rufus does more in less than 1% of the download size and also has a GUI.

[–] [email protected] 5 points 20 hours ago

Never realized that Etcher was an Electron app and it makes a lot of sense.

[–] [email protected] 2 points 18 hours ago

Yeah that crashed for me across several versions too lol.

Latest works, but I have like 5 different ones saved because I think 1.16-1.18 wouldn't complete writing to disk.

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

Tabby terminal :)

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

Zed is native and it has way better performance! You can tell it's not Electron!

load more comments (1 replies)
[–] [email protected] 21 points 1 day ago

HTML5 applications goddamn well ought to be first-class programs, as a totally platform-agnostic realization of Turing completeness.

Instead you get every application bundled with its own whole-ass operating system and virtual machine. For a fucking webpage. Yep! No other way to run that on a modern computer!

[–] [email protected] 36 points 1 day ago (12 children)

Electron and unreal have been disasters for their industries

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