• huginn@feddit.it
    link
    fedilink
    arrow-up
    143
    arrow-down
    6
    ·
    7 months ago

    Resources are just way cheaper than developers.

    It’s a lot cheaper to have double the ram than it is to pay for someone to optimize your code.

    And if you’re working with code that requires that serious of resource optimization you’ll invariably end up with low level code libraries that are hard to maintain.

    … But fuck the Always on internet connection and DRM for sure.

    • rbn@sopuli.xyz
      link
      fedilink
      arrow-up
      114
      arrow-down
      4
      ·
      7 months ago

      If you consider only the RAM on the developers’ PCs maybe. If you count in thousands of customer PCs then optimizing the code outperforms hardware upgrades pretty fast. If because of a new Windows feature millions have to buy new hardware that’s pretty desastrous from a sustainability point of view.

      • huginn@feddit.it
        link
        fedilink
        arrow-up
        18
        arrow-down
        5
        ·
        7 months ago

        Last time I checked - your personal computer wasn’t a company cost.

        Until it is nothing changes - and to be totally frank the last thing I want is to be on a corporate machine at home.

        • CosmicTurtle0@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          10
          ·
          7 months ago

          When I was last looking for a fully remote job, a lot of companies gave you a “technology allowance” every few years where they give you money to buy a computer/laptop. You could buy whatever you wanted but you had that fixed allowance. The computer belonged to you and you connected to their virtual desktops for work.

          Honestly, I see more companies going in this direction. My work laptop has an i7 and 16GB of RAM. All I do is use Chrome.

          • huginn@feddit.it
            link
            fedilink
            arrow-up
            10
            ·
            7 months ago

            It’d be nice to have that - yeah. My company issued me a laptop that only had 16gb of RAM to try and build Android projects.

            Idk if you know Gradle builds but a multi module project regularly consumes 20+GB of ram during a build. Despite the cost difference being paid for in productivity gains within a month it took 6 months and a lot of fighting to get a 32gb laptop.

            My builds immediately went from 8-15 minutes down to 1-4.

            • CosmicTurtle0@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              3
              ·
              7 months ago

              I always felt that this is where cloud computing should be. If you’re not building all the time, then 32GB is overkill.

              I know most editing and rendering of TV shows happen on someone’s computer and not in the cloud but wouldn’t it be more efficient to push the work to the cloud where you can create instances with a ton of RAM?

              I have to believe this is a thing. If it isn’t, someone should take my idea and then give me a slice.

              • huginn@feddit.it
                link
                fedilink
                arrow-up
                5
                arrow-down
                1
                ·
                7 months ago

                It’s how big orgs like Google do it, sure. Working there I had 192gb of ram on my cloudtop.

                That’s not exactly reducing the total spend on dev ram though - quite the opposite. It’s getting more ram than you can fit in a device available to the devs.

                But you can’t have it both ways: you can’t bitch and moan about “always on internet connections” and simultaneously push for an always on internet connected IDE to do your builds.

                I want to be able to work offline whenever I need to. That’s not possible if my resource starved terminal requires an Internet connection to run.

                Ram is dirt cheap and only getting cheaper.

          • Ardyssian@sh.itjust.works
            link
            fedilink
            arrow-up
            3
            ·
            7 months ago

            Alternatively they could just use Windows VDI and give you a card + card reader that allows Remote Desktop Connection to avoid this hardware cost, like what my company is doing. Sigh

            • cmnybo@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              2
              ·
              7 months ago

              If the job is fully remote, then the workers could be living on the other side of the country. Using remote desktop with 100ms of latency is not fun.

        • trollbearpig@lemmy.world
          link
          fedilink
          arrow-up
          5
          arrow-down
          6
          ·
          edit-2
          7 months ago

          Or maybe you could actually read the comment you are replying to instead of being so confrontational? They are literally making the same point you are making, except somehow you sound dismissive, like we just need to take it.

          In case you missed it they were literally saying that the fact that the real cost of running software (like the AI recall bullshit) is externalized to consumers makes companies don’t give a shit about fixing this. Like literally the same you are saying. And this means that we all, as a society, are just wasting a fuck ton of resources. But capitalism is so eficient hahaha.

          But come on man, you really think that the only option is for us to run corporate machines in our homes? I don’t know if I should feel sorry about your lack of imagination, or if you are trying to strawman us here. I’m going to assume lack of imagination, don’t assume malice and all that.

          For example, that’s what simple legislation could do. For example, lets say I buy an cellphone/computer, then buy an app/program for that device, and the device has the required specifications to run the software. The company that sold me that software should be obligated by law to give me a version of the software that runs in my machine forever. This is not a lot to ask for, this is literally how software worked before the internet.

          But now, behind the cover of security and convenience, this is all out of the window. Each new windows/macos/ios/android/adobe/fucking anything update asks for more and more hardware and little to no meaningful new functionality. So we need to keep upgrading and upgrading, and spending and spending.

          But this is not a given, we can do better with very little sacrifices.

      • kibiz0r@midwest.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 months ago

        As a developer, my default definition of “slow” is whether it’s slow on my machine. Not ideal, but chimp brain do chimp brain things. My eyes see my own screen all day, not yours.

    • 2xsaiko@discuss.tchncs.de
      link
      fedilink
      arrow-up
      6
      arrow-down
      2
      ·
      7 months ago

      You can also build a chair out of shitty plywood that falls apart when someone who weighs a bit more sits on it, instead of quality cut wood. I mean, fine if you want to make a bad product but then you’re making a bad product.

      • huginn@feddit.it
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        7 months ago

        Resource optimization has nothing to do with product quality. Really good experiences can be done with shitty resource consumption. Really bad experiences can be blisteringly fast in optimization.

        The reason programmers work in increasingly abstract languages is to do more with less effort at the cost of less efficient resource utilization.

        Rollercoaster Tycoon was ASM. Slay the Spire was Java. They’re both excellent games.

        • 2xsaiko@discuss.tchncs.de
          link
          fedilink
          arrow-up
          3
          ·
          7 months ago

          Yeah, I don’t really have a problem with games except for the stuff added on purpose just to make the user experience worse like DRM. I was more thinking about trends like using Electron for desktop development.

      • huginn@feddit.it
        link
        fedilink
        arrow-up
        4
        ·
        7 months ago

        Companies own the code you write.

        It’s not your code if you’re working for a corp - it’s theirs.

          • huginn@feddit.it
            link
            fedilink
            arrow-up
            3
            arrow-down
            1
            ·
            7 months ago

            Psychopath

            Just because you don’t own something doesn’t mean you should trash it.

            First you insist that companies don’t own the code then you say if you don’t own it you don’t have to care.

            God I hope I never work with an idiot like you.

            • jaybone@lemmy.world
              link
              fedilink
              arrow-up
              3
              arrow-down
              2
              ·
              7 months ago

              I don’t think I’m saying either of those things. I’m saying the opposite actually.

              You seem to be suggesting that even though you are responsible for writing code, the company should hire someone else to optimize it for you.

              • huginn@feddit.it
                link
                fedilink
                arrow-up
                2
                arrow-down
                1
                ·
                7 months ago

                Resources are just way cheaper than developers.

                It’s a lot cheaper to have double the ram than it is to pay for someone to optimize your code.

                I don’t see where you’re reading that idea.

                It’s a lot cheaper to double the ram ergo you do not have to pay someone to optimize your code.

                Where are you getting this bizarre inverse from?

    • mPony@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      2
      ·
      7 months ago

      It’s a lot cheaper to have double the ram

      yeah a lot cheaper to force someone else to buy double the RAM. No thanks.

      • huginn@feddit.it
        link
        fedilink
        arrow-up
        5
        ·
        7 months ago

        Companies don’t pay for your 2x RAM and it doesn’t slow down their user acquisition so they don’t care.