540
I HATE electron (lemmy.ohaa.xyz)
you are viewing a single comment's thread
view the rest of the comments
[-] woelkchen@lemmy.world 24 points 1 year ago

it’s hard to do without them

Just load the wrapped website in a browser.

[-] wildbus8979@sh.itjust.works 28 points 1 year ago

Or even better, encourage native apps.

[-] 3laws@lemmy.world 7 points 1 year ago

Or even better, steal their source code. 😈

[-] wildbus8979@sh.itjust.works -2 points 1 year ago

That's not better at all.

[-] BlueBockser@programming.dev -2 points 1 year ago

You mean native Windows and macOS apps? Because that's what you'll get, mostly.

[-] wildbus8979@sh.itjust.works 1 points 1 year ago

Or Linux, yes.

[-] ayaya@lemdro.id 7 points 1 year ago

That works for some apps but not anything that needs access to the filesystem and/or devices. Things like VSCode or mod managers, etc.

[-] woelkchen@lemmy.world -1 points 1 year ago

That works for some apps but not anything that needs access to the filesystem and/or devices.

Granting some application with a bundled ancient and insecure Electron build is insanity.

Things like VSCode

Luckily there are plenty of native source code editors out there, for example Kate.

[-] ayaya@lemdro.id 3 points 1 year ago* (last edited 1 year ago)

Granting some application with a bundled ancient and insecure Electron build is insanity.

Granting some application with a bundled ancient and insecure library of any kind is bad. That is not a problem exclusive to Electron it applies to static builds of any application ever made.

Luckily there are plenty of native source code editors out there, for example Kate.

Okay but that's not the point. You said, "Just load the wrapped website in a browser." Some apps won't function like that. The fact that alternatives exist is irrelevant to what I replied to.

[-] woelkchen@lemmy.world -2 points 1 year ago* (last edited 1 year ago)

Okay but that’s not the point. You said, “Just load the wrapped website in a browser.”

I replied to "it’s hard to do without them". So yeah, opening wrapped websites in a browser for most Electron apps and using native alternatives for the rest is totally feasible and absolutely not beside the point.

[-] ayaya@lemdro.id 1 points 1 year ago

Yeah, it's feasible to do that. And? My point was that you can't just rip out the web portion of an app and always expect it to work in a browser. That's it. What you said is irrelevant in the sense that it has no effect on whether the web portion can run in a browser or not.

[-] cley_faye@lemmy.world 5 points 1 year ago

You're aware that Electron app have access to much more stuff than what you can do in a browser? Like, important, functional stuff?

Getting really tired of "this is just a website" approach. It's starting to feel like /r/programmerhumor here.

[-] AVincentInSpace@pawb.social 1 points 1 year ago

just because electron apps have access to system features that browsers restrict access to for security reasons doesn't mean they're not websites in a trenchcoat

[-] woelkchen@lemmy.world 0 points 1 year ago* (last edited 1 year ago)

Are you aware that a huge chunk, most likely the vast majority, of Electron apps don't use all that and are just wrapped web sites?

[-] inge@discuss.tchncs.de -1 points 1 year ago

a huge chunk, most likely the vast majority, of Electron apps [...] are just wrapped web sites

[citation needed]

[-] woelkchen@lemmy.world 2 points 1 year ago
[-] BlueBockser@programming.dev 0 points 1 year ago* (last edited 1 year ago)

If the question was "how many repositories on GitHub mention the word electron", your answer would be correct. As it stands, citation is still very much needed.

[-] HenriVolney@sh.itjust.works 2 points 1 year ago

I guess my pun was lost on your computer mind too, I'll go back talking to my physics pals

this post was submitted on 18 Sep 2023
540 points (92.2% liked)

linuxmemes

21625 readers
89 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 2 years ago
    MODERATORS