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

  • MeanEYE@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    Well dooh, you installed Chrome with it. Add to that their application and there you have it.

  • onion@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    4 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

    • KillingTimeItself@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      yes but think about how much money writing 500MB worth of code would cost.

      I realize it’s not all code, and some of it is already written, but please, muse me, and do the math for it.

      • onion@feddit.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        Writing less code costs more money. The programm is large because they slapped some existing stuff together instead of writing everything from scratch

    • filcuk@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 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

      • Captain Janeway@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 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)

  • alyth@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    4 months ago

    While I’m on the subject, Signal’s phone UI is not great. Most screens severely lack contrasting colors and borders. Font size and spacing is inconsistant. It is hard and unpleasant to read - that’s kind of unfortunate for an app focused on reading and writing text.

  • AllNewTypeFace@leminal.space
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 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
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 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.

  • 9point6@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 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?

    • rdri@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      4 months ago

      You don’t understand. This way if some app crashes it will not cause others to crash too.

      This is how google introduced the “multiprocess architecture” of Chrome.

      • 9point6@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        You can still have separate processes and everything else with a shared runtime, you just save having all this wasted storage with every application bringing its own bundled runtime.

        .net or Java applications work in a similar way, one Java app crashing won’t take out another just because they’re sharing the same runtime

        • rdri@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          I’d rather not have frameworks based on web browsers. Programming is not that difficult.

          • 9point6@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            ·
            edit-2
            4 months ago

            For most uses of electron I’d agree, but if some engineers are going to use it anyway, I’d prefer the approach I’ve described.

            Programming is not that difficult.

            Learning how to do something in a new language and framework isn’t that tough, I agree, but no one is going to become an expert in something overnight. I don’t reckon many desktop native engineers are choosing electron unless they actually need it, so if you imagine the case of an expert web engineer building a desktop UI, they’re going to do a much better job with their main skillset than something they have just learned.

            • rdri@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              ·
              4 months ago

              but no one is going to become an expert in something overnight

              It’s not like they need to become experts. But also that’s actually possible (at least the effects of that), especially with all the AI around.

              • 9point6@lemmy.world
                link
                fedilink
                English
                arrow-up
                0
                ·
                4 months ago

                It’s not like they need to become experts

                I mean if they would produce a better UI by using their expertise, how would not becoming an expert in the new thing be better? The reality is that the people paying the engineer are going to want the better UX over the benefits of not using electron in most cases.

                But also that’s actually possible

                Respectfully, no it’s not, not with software engineering unless you’re talking about learning a simple library or something.

                If someone can genuinely master something in a day it wasn’t much of a skill to begin with.

                I’ve been in this industry for about 20 years now, I would find it very hard to believe an engineer who says they’ve gone from no knowledge to expert in a new framework/language in any short period of time. I would either assume they’re trying to pull a fast one or more charitably just in the “naively confident” phase of learning:

                especially with all the AI around.

                AI can assist you if you more-or-less know what you’re doing, but a novice replacing proper learning with ChatGPT pairing is going to write some shitty code. I use AI in my role semi-regularly, and in my experience, no model has consistently produced me anything (non-boilerplate) longer than a couple of lines that didn’t need some kind of refactor for it to actually be up to our code quality standards. Sometimes you see them spit out some ancient way of doing things that have been outright replaced by a more modern approach, if you don’t have the experience, you’ll not know any better.

  • LainTrain@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    This is why I moved to Telegram. Idk if it’s actually native, but often feels much more so, and less phone-centric than Signal which requires weird auth rituals involving the phone.

      • Carighan Maconar@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        4 months ago

        People want a chat app. If your secure chat app sucks as a chat app, it doesn’t matter how secure it is. It failed the primary use case it was meant to be developed for.

        But keep in mind, Signal’s nature is no excuse to have shitty app implementations. In particular to have desktop apps as second-class citizens (and tablets as exterminated not-citizens). You can be a secure chat app. Signal got the secure part done, they’re just struggling with the chat app part.

      • rdri@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        Signal is not an alternative to telegram and vice versa. Telegram has too many public communication features that people often use. The nature of signal will prevent it from having similar features.

      • 0x30507DE@lemmy.today
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        4 months ago

        Personally, I’m a big fan of XMPP, due to the inherent resiliency in being decentralized/federated, and due to the security provided by OMEMO (based on signal’s algorithm). Don’t have to worry about third-parties messing with my data if it stays on my server that’s in my house.

  • zoey@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    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

    • rdri@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

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

      What about sciter?

    • taaz@biglemmowski.win
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      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)

    • alyth@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      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.

      • JoeyJoeJoeJr@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        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.worldOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          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?

          • mexicancartel@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            0
            ·
            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

          • JoeyJoeJoeJr@lemmy.ml
            link
            fedilink
            English
            arrow-up
            0
            ·
            edit-2
            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
              link
              fedilink
              English
              arrow-up
              0
              ·
              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
                link
                fedilink
                English
                arrow-up
                0
                ·
                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

      • zoey@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        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)

    • Skull giver@popplesburger.hilciferous.nl
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      4 months ago

      I don’t know how other Linux distros do it, but Manjaro (and seemingly Arch) seem to carry electron-## packages separately from apps like Signal. Unfortunately, Element requires electron29 and Bitwarden electron28 so I still have two copies of Electron. BTRFS’ deduplication helps reduce the real world size a bit, but it’s still unfortunate, especially since electron31 is already out.

      Signal runs some security code natively so you can’t run it in the browser, even though most of the UI is done through a copy of Chrome. At least the reusable packages make it so that only one copy of Chrome will be loaded for all Electron applications!

      RE: the RAM: a lot of that is space allocated for JIT. Most of it is filled with zeroes, so if you run a modern OS (recent Linux, Windows, macOS) that RAM will end up being compressed+CoW’d to the point of barely making a dent.

      Plenty of optimisations to be done, but it’s not as bad as task manager may make it seem. I’ve personally replaced a bunch of web apps with Element by bridging everything through Matrix (Matrix alternatives such as XMPP can also do that with an even smaller footprint).

      • flubba86@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        4 months ago

        I use a whole bunch of Linux distros at work (CentOS, alpine, ubuntu, debian, opensuse) and a bunch on my devices at home (mint, fedora, nobara, and manjaro), and so far the only distro I’ve seen ship decoupled shared electron libs like you described is Manjaro (and presumably Arch).

    • Killing_Spark@feddit.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      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.

    • Blackmist@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      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
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        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.

  • irotsoma@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    Yeah, I’ve been having a lot of issues with Electron which is basically a browser emulator. It has gotten huge, so applications using it have gotten out of control in size. I get that it’s a quick way to build a cross platform application, but there really needs to either be a better way to distribute it that is more modular, or people need to start building on better cross platform front-end systems.

    • alyth@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      4 months ago

      i am doing a full system upgrade and something wants to build chromium from source. i let it run in the background and cloning the repository alone has downloaded 33GB wtf 😭

      • irotsoma@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        Yeah, I had to move away from Arch Linux because lots of apps you have to build and Electron was one of the biggest culprits for using tons of disk space and time because it builds Chromium in its entirety from source. Electron is a great way to shift the cost of cross platform development from you to your customers.

  • Vilian@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    the solution could be deduplication, not sure if microsoft store has it, or windows supports it, this help with the size, bot not ram usage

  • leaveWitX@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 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

    • viking@infosec.pub
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      You can actually delete the data for good in both the android and windows software through the interface, and it works. But yeah the amount of data is staggering.

      I’ve got a reminder in my calendar to delete the data on the first day of a new quarter, so this here is accumulated since April 1st:

      image

      • KillingTimeItself@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        “android is good” mfers when they have to manually set a calendar task to notify themselves to manually delete the bloated information for an app that they have installed.

        no shade to you specifically, but it pisses me off how much android users circle jerk over it being better than IOS, even though it’s like, moderately less annoying.

  • VeganCheesecake@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 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.

    • kostas@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      Wouldn’t having full disk encryption achieve most of the benefits of that? In case of someone having access to your unlocked machine what is stopping them from launching the app and looking though it?

      • VeganCheesecake@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        Yes, full disk encryption helps against intruders with device access, but not against the files being indexed by other application. My phone is encrypted, but I still use a signal client that is encrypted again.

        • Natanael@slrpnk.net
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          Am encrypted container doesn’t help if the directory is mounted and accessible or if the key is in plaintext. Also doesn’t help if the process isn’t isolated. You need a bunch of extra measures like using the OS keystore set to only allow the correct program to retrieve the key, keeping secrets only in process memory, etc.

          Tldr it’s a lot of work to do it right. If you do it the simple way like throwing it all in SQLite with encryption active you still leak metadata.

          • VeganCheesecake@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            0
            ·
            4 months ago

            I have never worked on a properly hardened desktop app, so I don’t have much of a perspective on that, and can definitely see that it might not be worthwhile for the signal team.

            I would appreciate some level of encryption, thinking that it might help with less targeted attacks. I’d also appreciate a Web client, like Threema’s with none permanent sessions. But all that’s, as you’d say in German, “Meckern auf hohem Niveau”, especially since I’m not currently contributing to Signal.

        • kostas@lemm.ee
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          Hm, but wouldn’t such an application be malicious by default? Having protection against attackers on your device seems of out scope for a messaging application, at that point I would consider something like Tails. Though this may be a rare case when moving to an appimage could help matters.

          • VeganCheesecake@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            0
            ·
            4 months ago

            Yes and no. I personally would like to be asked permission for such behaviour, but a gallery application, for example, could have legitimate reasons to index all photos on your system. I personally prefer to manually set the folders it is supposed to index, but that doesn’t seem to be a generally accepted paradigm.

            In general, I see why you need to trust that a system your app runs on is uncompromised to a a certain degree, but measures to potentially limit harm in case it is still seem sensible, especially for an app with a focus on privacy and security.

            • kostas@lemm.ee
              link
              fedilink
              English
              arrow-up
              0
              ·
              4 months ago

              We set the threshold of sensible protections provided by the app (signal) itself differently.

              On desktop having a gallery app, as you say, or running an application like windirstat for example I expect the user to understand that anything stored on device can be “seen” by the app and that, if they dont trust it, having sensitive files deleted or sandboxed might be prudent. Messages are stored at least somewhat encrypted (albeit with the key in a config file) so a random (non targeted/malicious) scan would gt blobs there.

              On mobile due to how opaque the os is I am thankful for the extra encyption and I would consider it a much more critical flaw. On desktop less so. Still I appreciate your point of view and a passkey to encrypt at least messages on the desktop app would be a welcome addition.