474

... and I can't even continue the chat from my phone.

you are viewing a single comment's thread
view the rest of the comments
[-] snugglebutt@lemmy.blahaj.zone 212 points 4 months ago

Such is the state of Electron.
I'm slowly stopping to care about web apps, however the amount of shit Electron causes is through the roof. Discord, Element, Signal, even Steam is full of it, so you just end up having 8 different "programs" running with every single one using at least around 400MB of RAM.
Can't wait to see something using Rust and Tauri. Graphite wink wink

[-] taaz@biglemmowski.win 90 points 4 months ago* (last edited 4 months ago)

Steam is close but actually not electron, they use CEF - Chromium Embedded Framework which is something Electron uses too under the hood (afair)

[-] snugglebutt@lemmy.blahaj.zone 33 points 4 months ago

Thanks for the correction, appreciate it. Not sure it changes much though.

[-] eluvatar@programming.dev 11 points 4 months ago

Steam used an embedded browser long before it was cool.

[-] AProfessional@lemmy.world 3 points 4 months ago

Electron doesn’t use CEF, they directly bundle Chromium.

[-] Blackmist@feddit.uk 10 points 4 months ago

I wouldn't mind so much if they all just used the same bundle of stuff, and you could install that once, and then the apps were all like 2MB each.

But no, big fucking bundle of shit, every single time.

[-] masterspace@lemmy.ca 9 points 4 months ago* (last edited 4 months ago)

Eh, that's not the joy you think it is.

That's how software used to be distributed and that's where the terms DLL / Dependency Hell come from and why programs used to not uninstall cleanly and break other programs, etc.

It's more efficient, but it's also brittler and a lot more complex to manage. Conversely, bundling everything together with all its dependencies is a lot easier to manage, and a lot more robust overall, but comes at the expense of storage capacity and network bandwidth.

[-] captainjaneway@lemmy.world 1 points 4 months ago

Would be kind of cool to allow people to choose an install method. As someone who has experienced low bandwidth in rural homes, it would be nice to avoid the waste at the cost of possibly managing chromium versions myself.

[-] Killing_Spark@feddit.de 8 points 4 months ago

I really want to see the zygote approach worked out for electron. It's working really well for android but with electron there are just too many different versions used by the different programs for that to make sense.

[-] alyth@lemmy.world 5 points 4 months ago

Of the apps you mentioned, I can use Discord and Element in my browser. WhatsApp even installs as a PWA. And Steam games can be launched through Lutris afaik?

There is no such option with Signal though.

[-] snugglebutt@lemmy.blahaj.zone 14 points 4 months ago

With Discord in browser, you lose Krisp, RPC ipc socket support (aRPC might work, no clue), and from what I remember screensharing only worked with browser tab capture.
Element will eat your RAM no matter where it's running. You could add it as a Nextcloud app to triple your RAM usage! Woo
And you can't run Steam games without the Steam client running. That's how their DRM works. (Unless you use the goldberg steam emulator, which is a whole another thing to talk about)

[-] JoeyJoeJoeJr@lemmy.ml 6 points 4 months ago

Using an E2E chat app in your browser necessarily makes the keys and decrypted messages available to your browser. They would have the ability to read messages, impersonate users, alter messages, etc. It would defeat the purpose of a secure messaging platform.

[-] alyth@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

I don't get it. Who is "they"? Why can't you fetch the encrypted message from the server and then decrypt it client side?

[-] JoeyJoeJoeJr@lemmy.ml 7 points 4 months ago* (last edited 4 months ago)

"They" is the browser/browser maker. The browser, acting as the client, would have access to the keys and data. The browser maker could do whatever they want with it.

To be clear, I'm not saying they would, only that it defeats the purpose of an E2E chat, where your goal is to minimize/eliminate the possibility of snooping.

[-] Socsa@sh.itjust.works 2 points 4 months ago

You realize that your kernel which loads keys into memory can also access all this right? So can anything which shares memory space on the platform.

[-] Natanael@slrpnk.net 2 points 4 months ago

The bigger risk is browser exploits, not just who develops it. There's more attack surface and more ways to exfiltrate data

[-] mexicancartel@lemmy.dbzer0.com 2 points 4 months ago

I think the encrypted messages are not saved in the server. You probably have to backup from phone and restore it on pc. "They" is the other programs running on browser

[-] rdri@lemmy.world 4 points 4 months ago

Can't wait to see something using Rust and Tauri.

What about sciter?

this post was submitted on 12 Jun 2024
474 points (93.6% liked)

Mildly Infuriating

35421 readers
407 users here now

Home to all things "Mildly Infuriating" Not infuriating, not enraging. Mildly Infuriating. All posts should reflect that.

I want my day mildly ruined, not completely ruined. Please remember to refrain from reposting old content. If you post a post from reddit it is good practice to include a link and credit the OP. I'm not about stealing content!

It's just good to get something in this website for casual viewing whilst refreshing original content is added overtime.


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means: -No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...


7. Content should match the theme of this community.


-Content should be Mildly infuriating.

-At this time we permit content that is infuriating until an infuriating community is made available.

...


8. Reposting of Reddit content is permitted, try to credit the OC.


-Please consider crediting the OC when reposting content. A name of the user or a link to the original post is sufficient.

...

...


Also check out:

Partnered Communities:

1.Lemmy Review

2.Lemmy Be Wholesome

3.Lemmy Shitpost

4.No Stupid Questions

5.You Should Know

6.Credible Defense


Reach out to LillianVS for inclusion on the sidebar.

All communities included on the sidebar are to be made in compliance with the instance rules.

founded 1 year ago
MODERATORS