• hperrin@lemmy.world
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    11 months ago

    I was being facetious. Yeah, every app saves into a different location. It’s bonkers.

    • Kogasa@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      11 months ago

      Sandboxing is a good thing. It makes it a lot easier and safer for billions of devices to run millions of apps.

      • somethingp@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        11 months ago

        Sure except that we already have computers where every app uses the same folder structure, just with some files/folders protected with elevated permissions that aren’t accessible to every app. We already have a solution that works and every desktop OS uses. Why would mobile go for a solution that isn’t actually usable?

          • flambonkscious@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            11 months ago

            That’s what people don’t realise… There were very clear distinctions laid out many years ago with how and where data should go places (with win 95, I believe).

        • Kogasa@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          10 months ago

          The desktop solution isn’t feasible in the mobile context. Even for desktops, you see an increased interest in reproducible/containerized/sandboxed environments with docker, flatpak/snap, immutable operating systems, and so on. It’s all about managing complexity.

          • somethingp@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            10 months ago

            All of that interest is from people making computers, or people who manage security. Not from people that use computers as part of their life/work (in contrast to those who’s work is entirely about the computer itself). From a usability standpoint, this type of sandboxing for every app is cumbersome and all it leads to is users finding unsafe work arounds. I used to be able to use my android phone much more as a regular computer than I can now. And I wanted to make a simple app for myself to allow me to automatically copy and catalog photos from my cameras sd card to an external HDD, and I literally cannot do this without jumping through a million permissions and API hoops on Android even though I never plan on publishing this app for others to use. It became such a pain to figure out how to get access to the folders I would need, I just gave up on the entire project. I essentially needed a tool to systematically copy and rename files, and it’s nearly impossible because of these nonsensical policies.

            • Kogasa@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              10 months ago

              All of that interest is from people making computers,

              like the people who make phones for other people to use

      • lightnsfw@reddthat.com
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        10 months ago

        Until it stops me from doing something I want to do and know is safe like modifying my Obsidian notes that are on Nextcloud from my phone. Why can’t it simply prompt me to give Obsidian rw access to that directory or even have some way to allow me to manually change the permissions myself to get it working.

        • Kogasa@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

          The right design decision isn’t necessarily the best for a specific use case. Making the system overall rigid and strict by default makes the whole thing more manageable. Adding features like “user initiated opt-in shared filesystem access for sandboxed apps” increases complexity, hence cost and maintenance burden and likelihood of bugs. Not to say this feature isn’t worth it, but it’s necessary to accept some rough edges in some use cases.

          • lightnsfw@reddthat.com
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            10 months ago

            Making the system overall rigid and strict by default makes the whole thing more manageable.

            More manageable for who? Certainly not me. Which, considering I own the device, is bullshit. Desktop apps have had this figured out for decades.

              • lightnsfw@reddthat.com
                link
                fedilink
                arrow-up
                1
                arrow-down
                1
                ·
                10 months ago

                They’re not taken for granted, they are compensated by the corporations I’m purchasing the device from. Again, these problems have already been solved on desktop for decades. They’re not breaking new ground here.

                • Kogasa@programming.dev
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  10 months ago

                  They’re not taken for granted, they are compensated by the corporations I’m purchasing the device from.

                  You’re taking for granted the requirements that need to be met in order for the device you’re purchasing to be technically and commercially viable. It needs to work, it needs to be safe, it needs to comply with privacy regulations and so on.

                  Again, these problems have already been solved on desktop for decades. They’re not breaking new ground here.

                  Managing complexity with containerization and sandboxing is occurring on desktops too. It’s more mainstream in the mobile ecosystem because of essential differences in the ways users interact with phones versus desktops.

                  • lightnsfw@reddthat.com
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    10 months ago

                    Managing complexity with containerization and sandboxing is occurring on desktops too.

                    Yes and if I want something in a container I do so. It’s my choice. I’m not forced into it by design choices made based on being too cheap to go beyond the absolute bare minimum.