this post was submitted on 16 Mar 2024
2 points (100.0% liked)

Linux

47233 readers
777 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] crispy_kilt@feddit.de 0 points 6 months ago (3 children)

Aaaand it's electron garbage.

[–] moitoi@feddit.de 0 points 5 months ago

I went here for this info. Thanks.

[–] pelotron@midwest.social 0 points 6 months ago (1 children)

Ugh, I was looking forward to replacing Thunderbird/Bridge, but never mind.

[–] Pantherina@feddit.de 0 points 6 months ago
[–] JetpackJackson@feddit.de 0 points 6 months ago (5 children)

Out of the loop, what's wrong with electron?

[–] gencha@feddit.de 0 points 5 months ago (1 children)

It's what you deploy to your users if you want to work around ad blockers and browser extensions. It's a great tool to get operating system level access to exfiltrate information about your users and identify them uniquely, even if they would prefer that not to happen.

All that with the help of Google's telemetry engine aka Chrome, which further helps Alphabet to manifest their interpretation of web standards in the world.

We worked to move things onto the web. Now people bring the web back to your desktop with every application bringing it's own browser shell. We have come full circle and we're now using 10x the resources.

Electron is the prime example of everything that is wrong in IT.

[–] JetpackJackson@feddit.de 0 points 5 months ago (2 children)

Wow. That sounds horrible. Do you have a source about the system level access statement? I would like to see people's thoughts on it, if it's as bad as it sounds, I'm surprised I haven't heard about it before

[–] dan@upvote.au 0 points 5 months ago* (last edited 5 months ago) (1 children)

Do you have a source about the system level access statement?

Electron apps are native apps with the Chromium browser embedded in their windows, so they can do anything a native app can. It supports Node.js modules for things like filesystem access, and can interop with C++ code by writing an add on (https://nodejs.org/api/addons.html)

[–] JetpackJackson@feddit.de 0 points 5 months ago

Ah ok gotcha. Thanks.

[–] gencha@feddit.de 0 points 4 months ago (1 children)

What source do you need? It's almost literally the mission statement of Electron.

[–] JetpackJackson@feddit.de 0 points 4 months ago

I've never gone to the webpage of electron

[–] BananaTrifleViolin@lemmy.world 0 points 6 months ago (1 children)

Each electron App is actually a full independent chromium browser install running a website. It's easy to code for and works cross platform as a result, but it's essentially just a website, although they can run offline depending on what's been built in to the local app.

Each electron app running on your system is a separate full chromium app running, with no sharing of resources between each instance. So they take up a lot of space each and duplicate all the resource usage, and potentially the security flaws.

[–] JetpackJackson@feddit.de 0 points 6 months ago

oh yikes. that sucks.

[–] PlexSheep@feddit.de 0 points 6 months ago (1 children)

It's just the webapp. If we want the webapp we use a browser.

[–] Pantherina@feddit.de 0 points 6 months ago

This. Its webapp with more persistent storage maybe. If the Browsers could integrate this, it would be a gamechanger.

I am also very sure that Chrome preloads google. com to make it seem to "load faster". Its all just preloading or persistent storage

[–] Pantherina@feddit.de 0 points 6 months ago

Electron runs a core Chromium Browser + NodeJS + a bit more.

Unlike Chromium itself it is not backwards compatible and removes a ton of things like its sandboxing capabilities.

I am not sure how it is less secure, but it may use more RAM (also not always but generally yes of course), doesnt allow hardening (unlike android WebView apps) and breaks LD_PRELOAD-ing another memory allocator.

This is only a big problem in special cases, in general it makes apps strictly dependend on GNU glibc and others, no idea how it works on Alpine or others (that actually try to make a secure system).

If somebody knows more about security concerns about Electron, please add.

[–] crispy_kilt@feddit.de 0 points 6 months ago (1 children)

It's basically Chrome. It's not a real application, it's a website pretending to be one. It uses a metric fuckton of RAM and eats your battery faster than Prince Andrew a minor.

[–] TrickDacy@lemmy.world 0 points 6 months ago* (last edited 6 months ago) (3 children)

If Firefox could allow their engine to be packaged like this I'd use it. The problem I see here is chromium. Everything is a trade off and we need more ways to build maintainable cross platform applications.

Slack, for example, is Electron and it runs great. One of the best apps I've used. And it works better than the browser version...

The hate on Lemmy of electron is a bit of an overreaction if you ask me. Yeah it uses more ram than is necessary but again everything is a trade off. Not everything can be a hard to maintain rust app. Let's try to embrace cross platform solutions, though yes fuck chrome/google, so sure criticize that part of it.

[–] crispy_kilt@feddit.de 0 points 5 months ago

Rust is infinitely easier to maintain than mountains of untyped js garbage libraries built upon left pad

[–] timewarp@lemmy.world 0 points 6 months ago (1 children)

Let me get this right... you're complaining about Chromium, but you use Slack? You do realize Chromium had better Linux support for things like HW-accelerated decoding than Firefox? Also, the Chromium sandbox is superior to Firefox.

[–] Pantherina@feddit.de 0 points 6 months ago (1 children)

Chromium had better Linux support for things like HW-accelerated decoding than Firefox?

Source? Experienced the exact opposite, especially on Wayland.

[–] timewarp@lemmy.world 0 points 6 months ago (1 children)

You can track the bug history here:

https://bugzilla.mozilla.org/show_bug.cgi?id=1751363

You can see here Chromium had support for this for several years prior:

https://aur.archlinux.org/cgit/aur.git/log/PKGBUILD?h=chromium-vaapi

Android being based on Linux prob has something to do with Chromium's strong Linux support, but Mozilla has consistently prioritized Windows/Mac. Despite it still be challenging, building Chromium from source has always been a lot easier IMO than trying to create a custom build of Firefox.

Regardless, when it comes to privacy, Chromium itself is pretty stripped down and has policy-based integrations that put it on par with Firefox in terms of security. Even with Firefox, you'd have to modify quite a few policies to improve security. Tor/Mullvad Browser though do a better job in many ways and there is no equal to those privacy enhancements on Chromium that I know of, unless you're using something like GrapheneOS.

Point being, people like to complain about Chromium a lot & act like Apple fan bois for Firefox, when in reality privacy is nearly the same with both with some minor configurations.

[–] Pantherina@feddit.de 0 points 5 months ago (1 children)

Chromium is not stripped down at all, just use googerteller and see. It contacts Google everywhere, on the password list, on the account list, in some settings pages, and just randomly sometimes.

It is very crazy. And also it is not fingerprint resistant at all.

I am using all flag settings, policies and GUI settings possibly existing and it still is like that. So no, it is not the same privacy-wise.

[–] timewarp@lemmy.world 0 points 5 months ago (1 children)

Oh really, what policies are you using? Cause my Firefox does all the same things you mention regarding calling Mozilla services for all sorts of things, including telemetry. Oh, and it isn't fingerprint resistant either... so please, share what you're doing.

[–] Pantherina@feddit.de 0 points 5 months ago

For Firefox I am either using Librewolf or Arkenfox user.js

But as Librewolf has a good CI/CD system I think I will switch to that. Problem is they are not active at all, while the arkenfox guy is very active.

For Chromium I use the secureblue policies in /usr/etc/chromium/policies/managed

[–] CosmicCleric@lemmy.world 0 points 6 months ago (1 children)

Let’s try to embrace cross platform solutions,

[JavaFX has entered the chat.]

[–] TrickDacy@lemmy.world 1 points 6 months ago (1 children)

I don't know what javafx is, but java is hell. For me. I'm glad it works for others