501

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

top 50 comments
sorted by: hot top controversial new old
[-] snugglebutt 213 points 5 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 87 points 5 months ago* (last edited 5 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 32 points 5 months ago

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

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

Steam used an embedded browser long before it was cool.

load more comments (1 replies)
[-] Blackmist@feddit.uk 10 points 5 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 10 points 5 months ago* (last edited 5 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.

load more comments (1 replies)
[-] Killing_Spark@feddit.de 7 points 5 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.

load more comments (9 replies)
[-] devilish666@lemmy.world 79 points 5 months ago

410mb for chat app seems very unoptimized

[-] Blackmist@feddit.uk 82 points 5 months ago
[-] masterspace@lemmy.ca 47 points 5 months ago

Hey now, the three React Native for Windows apps would be very offended if they were stable enough to read text input.

[-] lengau@midwest.social 15 points 5 months ago

It's because it's an electron app. So in addition to the chat app itself, it also includes a full Chromium runtime. Worse still, the Electron architecture doesn't really lend itself towards reusing electron itself; this means you might have several copies of the same version of electron on your machine for various apps.

People complain about the sizes of things like flatpaks and snaps, but tbh the whole architecture of applications is like this these days. Ironically, flatpaks and snaps could help with this because their formats can work decently with filesystem level deduplication.

load more comments (1 replies)
[-] stepan@lemmy.cafe 65 points 5 months ago* (last edited 5 months ago)

The inability to continue chat from phone is a feature.

[-] bss03@infosec.pub 53 points 5 months ago

New messages will show on all your devices, but yes, it is intentional that old messages are not available to new devices.

[-] scarilog@lemmy.world 25 points 5 months ago* (last edited 5 months ago)

This is because they don't retain your (encrypted) messages on their servers right? Is this for storage reasons, or more just security philosophy of not being able to access past chats when you login from elsewhere?

[-] JoeyJoeJoeJr@lemmy.ml 29 points 5 months ago

This is not entirely correct. Messages are stored on their servers temporarily (last I saw, for up to 30 days), so that even if your device is offline for a while, you still get all your messages.

In theory, you could have messages waiting in your queue for device A, when you add device B, but device B will still not get the messages, even though the encrypted message is still on their servers.

This is because messages are encrypted per device, rather than per user. So if you have a friend who uses a phone and computer, and you also use a phone and computer, the client sending the message encrypts it three times, and sends each encrypted copy to the server. Each client then pulls its copy, and decrypts it. If a device does not exist when the message is encrypted and sent, it is never encrypted for that device, so that new device cannot pull the message down and decrypt it.

For more details: https://signal.org/docs/specifications/sesame/

load more comments (1 replies)
[-] huginn@feddit.it 6 points 5 months ago
[-] NeatNit@discuss.tchncs.de 9 points 5 months ago

Okay, but can't it be an optional feature? I'd like it if a new device could download message history from an old device by having both online at the same time.

load more comments (5 replies)
load more comments (3 replies)
[-] Carighan@lemmy.world 60 points 5 months ago

Signal's desktop app is as horrendously unusably bad as the project as a whole is good, tbh.

It's no wonder people prefer stuff like Telegram. It has native apps and all. Or can be used in a browser. Meanwhile Signal is only used in a browser, but you have to download it and it fucks up font scaling and it shits the bed on font antialiasing and it can't even get UI design consistent with the OS it's running on and it won't even use the OS emoji font.

Let's not even mention how you still cannot use Signal on a tablet.

[-] PrettyFlyForAFatGuy@feddit.uk 8 points 5 months ago

Signal’s desktop app is as horrendously unusably bad

I think this is a bit dramatic. I've been using it for years, no problems.

load more comments (7 replies)
[-] VeganCheesecake 28 points 5 months ago

For the most part, I don't care about App Size. Storage is cheap. What I miss with the Signal Desktop App is the option to save everything in an encrypted container.

load more comments (9 replies)
[-] philpo@feddit.de 27 points 5 months ago

That's why I am so happy that I switched to Matrix - selfhosted with Signal and WhatsApp Bridges(amongst others) and now I only need to keep one App on our mobiles, Notebooks,desktop,etc. but I can still communicate with everyone. (we have have a few mixed groups now)

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

Your post encouraged me to self host Matrix ^^ That'll be a nice project for the next rainy day

[-] Mikina@programming.dev 7 points 5 months ago

I self-hosted it few months ago, and it's actually surprisingly easy! Someone has made an Ansible script for Matrix with Element and some bridges, that (at least a month ago, IaaC tends to be pretty fragile) worked out of the box on a first try. I just set up some config values (mostly about enabling bridges I want) based on their amazing documentation, and then ran it once and everything is working so far. I even updated it several times already, and every time it was smooth, and it was basically just running a single ansible command. Their documentation is pretty well written, and with my basic cloud, IT and Linux knowledge I had no issues with following it. All you need to know is how to set up cloud VM, get a domain and set DNS, and set up SSH keys to access the server.

In total it took me about two hours in total, from when I decided "I'm setting up Matrix tonight" without any prior knowledge, looking up my options and finding the ansible script, setting up cloud and getting Matrix up and running.

I'm renting a VM on Hetzner for like 6$ per month, and it worked without issues so far. I use it for Discord and Messenger, although the Meta bridge does have some problems, for example I didn't figure out how to message someone with whom I haven't had a conversation since I set up the bridge, since only then it creates the room for it. But that can be solved by keeping the Messenger app or usign the browser to send a first message, and it immediately shows in your Matrix bridge (and stays there forever).

load more comments (1 replies)
load more comments (2 replies)
[-] ealoe@ani.social 6 points 5 months ago

I can switch to Matrix and talk to the two other users on this platform! Can't wait!

load more comments (4 replies)
[-] AnomalousBit@programming.dev 23 points 5 months ago

Debian Linux installation ISO is only 336 MB, FFS. And that’s a whole operating system with user land!

[-] KISSmyOSFeddit@lemmy.world 27 points 5 months ago

No, that's a tarball of a kernel, basic command line tools, apt and a network stack that lets you download most of the operating system.

[-] AnomalousBit@programming.dev 18 points 5 months ago

Um, no? The 336 megabyte usb installation media contains everything you need to install base Debian. Most people will want a desktop environment and other packages, they can connect to the network to download those additional packages.

Even the how-to says the network is optional.

https://www.debian.org/releases/stable/amd64/ch02s04.en.html#idm368

load more comments (1 replies)
[-] asparagapple@lemmy.world 23 points 5 months ago* (last edited 5 months ago)

Signal package has Electron (which is built on top of Chromium and NodeJS) + Signal app code and assets. So not surprised that it's bigger than Chromium.

[-] 9point6@lemmy.world 22 points 5 months ago

Like I know native apps are always better, but why doesn't electron ship an installable runtime so we don't have to have a shitload of inert chromium installs on one machine?

load more comments (10 replies)
[-] leaveWitX@lemmy.world 15 points 5 months ago

Haha, WeChat is even more outrageous than this. All your forwarded files will be automatically stored again. Your chat records will always be stored on the disk, but WeChat will tell you that the chat records have expired. In addition, it has recently been discovered that every Once you log in to WeChat, your avatar will be saved more than ten times

[-] AllNewTypeFace@leminal.space 13 points 5 months ago

Given that they have a native, non-Electron iOS version, it’s a shame that they haven’t built a desktop macOS version using mostly the same code. (To make it look like a proper Mac app, they’d need different UI code, though even without that, they could build a version that looks like the iPad version with no changes, and it would look no worse than the Electron web-app UI and run an order of magnitude more efficiently.)

[-] B0rax@feddit.de 10 points 5 months ago

They don’t even need to built a separate app if they have an iPad app. they just need to not „not allow“ the execution on macOS.

[-] poissonDistribution@lemmy.world 12 points 5 months ago

On my phone is only 171mb.

[-] eager_eagle@lemmy.world 24 points 5 months ago

And that's also a lot for an app that doesn't have that many binary assets like images or videos. I do wonder what makes up most of these sizes. I see other apps that are arguably more complicated - like AntennaPod - using under 40MB; So I guess it has to do with actual native apps vs cross platform ones.

[-] Bolt@lemmy.world 14 points 5 months ago

They're talking about the desktop application.

load more comments (1 replies)
[-] FlyingSquid@lemmy.world 10 points 5 months ago

Sadly, it's the only way I can contact someone to buy a decent quantity of weed in this state. I get less even if I go to a state where it's legal and I pay more.

load more comments (1 replies)
[-] KillingTimeItself@lemmy.dbzer0.com 10 points 5 months ago

ignoring the fact that it's absolutely horrid.

An install of ICUE on windows takes up multiple gigabytes. Why? Uhm, good question.

load more comments (7 replies)
[-] answersplease77@lemmy.world 8 points 5 months ago

even the phone app is larger than telegram and whatsapp

[-] onion@feddit.de 7 points 5 months ago* (last edited 5 months ago)

Harddrives start at 16€/TB, so 500MB would be 0.008€. SSDs start at 50€/TB, so it would be 0.025€ or two-and-a-half cents

[-] filcuk@lemmy.zip 16 points 5 months ago

I don't think people are worried about storing hundreds of Signal instances, this isn't a photo backup.
The concerns are bloat, optimisation, and memory usage.

Also, HDDs can go from $7.5/TB

[-] captainjaneway@lemmy.world 10 points 5 months ago

That's the point. The storage is a bad metric. While it might indicate poor performance, it's not a direct indication of poor performance. The bloat and optimization comes from the usage of Electron. And people use Electron because it's far easier to make cross-platform deployments for Web and desktop using a framework like Electron. Show me the QT/JavaFX app that mimics Signal and we can compare the cost to develop it. Electron isn't the best choice for memory usage and reducing bloat, but it's the best choice for quick development (in my opinion but also proven out by the market share it has)

load more comments (6 replies)
load more comments
view more: next ›
this post was submitted on 12 Jun 2024
501 points (100.0% liked)

Mildly Infuriating

35543 readers
21 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