• NotMyOldRedditName@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    ·
    4 小时前

    As a mobile developer, I got an email from google saying they’re going to be adding new memory restrictions in apps and it’ll crash if you exceed them.

    Thanks google, for buying all the ram, and then punishing us for it.

    • Kairos@lemmy.today
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 小时前

      What are the limits? There’s no way this could be done correctly without applying different limits to games vs some compass app or whatever.

    • adarza@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 小时前

      i can see how this might evolve… someone, the app developer or the user, will end up having to pay google to let an app use more ram than google allows it to for ‘free’.

  • rothaine@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 小时前

    If it makes you feel better, Chrome has a limit of 4GB.

    (Source: I work on a very large enterprise webapp and we have OOMed many times)

  • banause@feddit.org
    link
    fedilink
    English
    arrow-up
    12
    ·
    6 小时前

    The one thing that the Fediverse wanted to destroy: not being able to cross post across social media software.

    What people do: 📸

    • Kairos@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 小时前

      I fucking LOVE things breaking when the other node inevitably goes down, or the person deletes there post.

      The URL to the originating instance is right there.

      Edit: the microblogging quote post standard is just a URL as well.

      • Captain Aggravated@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 小时前

        Look, that water is complicated. Cross-post a Peertube video in a response to this comment. Lemmy and mbin and piefed etc. do mostly inter-operate transparently, I even see folks from Mastodon occasionally, they’re the ones that relentlessly @ people, but that’s about as far as this anus will distend.

  • JayDee@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 小时前

    Another idea: ban all public-userspace devs from have more than 2GB ram on their dev systems.

    If it’s going on the market for joe-schmoe, ya gotta make it work on a complete shitbox before shipping.

  • OctopusNemeses@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    8 小时前

    No monitors above 1920x1200 and they must code in bright sunlight at least 8 hours a day. I’m convinced some websites look like ass because the developers haven’t look at anything below 4k. Maybe ever. Some may not have seen sunlight in years. Not everything needs to be made for dark viewing with white text everywhere.

    • BlackLaZoR@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 小时前

      I have 4k screen and half of the websites are cellphone-like column in the middle. WTF is this shit?

    • Mikrochip@feddit.org
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      7 小时前

      Oh god, yes, I wish they had to work in a bright environment. Every other website (and even some desktop applications) feel like it was coded by someone who hasn’t left their basement since Obama was still in office.

      I mean, seriously, how can people unironically say stuff like ‘black text on a white background hurts my eyes’? Turn on the fricking lights damn it. Staying in badly lit environments is bad for your eyesight anyway.

      Also, while we’re at it, I am also not a fan of grey text on a grey background. Okay, rant over.

      • mobyduck648@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 小时前

        It’s you! You’re the bugger who replaced all the mild amber streetlights with harsh blue-pumped mini-suns!

        • tempest@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          29 分钟前

          Even the ones that don’t are following designers, just not ones they work with.

          Those giant JavaScript frameworks, and more importantly for design, CSS frameworks don’t pop out of thin air. .

          The entire world was and still is in material design because it was the blessed Google design.

        • Bytemeister@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 小时前

          “I can build my website in 5 minutes using SquirtSpace or Bro-Daddy! Who needs IT anymore.”

          “I asked ChatGPT to prompt Claude to build my site.”

  • ☂️-@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    36 分钟前

    ban my boss from forcing me to include gigabytes worth of javascript.

    making me do it with a crappy computer is only going to make me suffer while trying to do it.

  • HugeNerd@lemmy.ca
    link
    fedilink
    English
    arrow-up
    49
    ·
    edit-2
    8 小时前

    2GB? Barely enough for the VM of the Docker of the flatpack for the cloud mouse driver’s DRM!

  • gens@programming.dev
    link
    fedilink
    English
    arrow-up
    24
    ·
    11 小时前

    4k fullscreen uncompressed picture is a bit under 24MB. (3840*2160/1024/1024*3 = 23.73)

    • Valmond@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 小时前

      Why would you have that at 100% on your webpage? I mean with the special exception of looking for enormous photos.

      Also, you’d store it, and download it (to your webpage) compressed.

    • MonkderVierte@lemmy.zip
      link
      fedilink
      English
      arrow-up
      13
      ·
      9 小时前

      Which is why you show a lower-res preview as default. Don’t want to wait a fucking minute to decide if i like your picture or not.

      Which reminds me, Chrome/ium/Firefox’s dev tools have a bandwith limiting feature. A lot of so-called web developers don’t know that.

      • HerbGrower@slrpnk.net
        link
        fedilink
        English
        arrow-up
        5
        ·
        6 小时前

        Really? I did a little web dev as a side role when I worked in a small shop and even I knew about those tools.

        Reducing load times under highly throttled speeds was like crack to me.

        Yes entire page load was 120kB. But what about 76kB? 2 hours well spent damn it!!

        • ayyy@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 小时前

          Yeah thats because you do this thing where you care about your work. As far as I can tell most people don’t do that.

          • HerbGrower@slrpnk.net
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 小时前

            I was working for individuals and local independent businesses… I have noticed how much I cared about customers decreased a lot when they became massive corporations.

    • autriyo@feddit.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      11 小时前

      Maybe give them around 8GB for the machine they’re doing the development on? Assuming they’re not running windows…

      I think 2 would be to little for the OS, development environment and whatever else someone needs.

      • mycodesucks@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        9 小时前

        There were websites that did way more than the typical framework bundled REACT crapfest with way fewer resources 20 years ago - those developers didn’t have any problems making them.

        The free lunch of being lazy and expecting the user to upgrade their way out of bad, inefficient code needs to end.

  • python@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 小时前

    My work laptop has 64GB and it legitimately takes 5mins to delete my node_modules folder 💀 Though that might just be an SSD speed bottleneck ig