• rekabis@lemmy.ca
    link
    fedilink
    English
    arrow-up
    31
    ·
    9 hours ago

    Anyone using Electron to build any greenfield app is a fucking moron, full stop.

    When you have to consume 300+Mb of memory just to display 15Kb of text, when the exact same thing can be done in native code for less than 2Mb of memory, “moron” is the kind and gentle word to use.

    • Ricaz@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 hours ago

      Just use Qt and you’re already cross-platform.

      Or if it has to be web, you can get crazy far with a 15 kB HTML document and possibly some native JS.

    • some_guy@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 hours ago

      Excuse me, but did you not see my fancy graphic and animation? And my cool autoplaying adverts? And the dickbar asking you to subscribe to my annoying newsletter?

      I don’t know what web you’re looking for, but it’s not the one I (and my many clients) design for. /s

      /s I’m not a web designer or coder. I only host plain html. Shut up. It’s sarcasm / satire done poorly.

  • heartSagan5@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 hours ago

    LOL, just turning on Windows will blow that up. Then, opening Chrome… LMAO. Can you even run on 4GB of RAM anymore? Like, Raspberry Pis have over 4GB now.

    • ScoffingLizard@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 hours ago

      You absolutely can. I have Linux with Hyprland and it is less than 2gb doing nothing. You can probably run ARM boards and do the same. I think with browser it is still less than 4Gb. Your system just needs to be free of corporate garbage.

      • fuck_u_spez_in_particular@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        Right, but the browser hasn’t opened any web pages yet and you have not started your IDE (for example, Rust Analyzer takes a massive amount of RAM) and so on.

        I think 8GB is probably a little bit more realistic, workable with, but likely still a lot of pain…

        I generally support the sentiment. Though here I am with 64GB and it’s still often swapping. (I’m already running optimized Linux)

    • black0ut@pawb.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 hours ago

      Up until very recently (its system drive blew up) I was running a server (raspberry pi zero 2 w) with 512MB of RAM. It werked fine. At any moment I had ~1/4 of the RAM free. And I was running a bunch of services, like ssh, unbound, pi-hole, opentracker and a test website.

      I also have another machine with 2GB of RAM running bookstack, an ssh gateway, opentracker, a KMS for activating windows machines, another website, naemon with the thruk frontend and probably something else I’m forgetting abt.

  • qwerty@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    12
    ·
    10 hours ago

    CSS files shouldn’t be heavier than HTML, that’s literally form over substance.

    All JS code should require pressing a button to run.

    • graphene@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      2 hours ago

      Ouu, that’s actually a really smart rule of thumb, why should js be running if nothing has even been clicked?

  • adarza@lemmy.ca
    link
    fedilink
    English
    arrow-up
    14
    ·
    11 hours ago

    gotta get rid of their fast internet, too. 128kbps max (like 2 channel bonded isdn).

  • rumba@lemmy.zip
    link
    fedilink
    English
    arrow-up
    25
    ·
    14 hours ago

    around 75% of the project lifecycle, All developers should be moved to the min spec hardware they plan to support at launch.

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 hours ago

        The problem is crunch happens toward the end and no sane company would do it.

        It is kinda what needs to be done though. QA complaining the experience is poor doesn’t have the same driving factor. Fuck polish, make it feel good first

  • xia@lemmy.ca
    link
    fedilink
    English
    arrow-up
    19
    ·
    15 hours ago

    …and they should not have a GPU either, so they can feel the cost of full-motion parallax-scrolling fade-in backgrounds.

  • NotMyOldRedditName@lemmy.world
    link
    fedilink
    English
    arrow-up
    44
    arrow-down
    1
    ·
    22 hours ago

    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.

    • SapphironZA@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      15 hours ago

      They need this to compete with Apple, apple runs on a lot less Ram because it imposes such limits already, simply by not having as much RAM to begin with

    • adarza@lemmy.ca
      link
      fedilink
      English
      arrow-up
      10
      ·
      21 hours ago

      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’.

      • NotMyOldRedditName@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        15 hours ago

        So, the restrictions are set by the devices OEM and can be based around how much ram the device has, so I think the microtransaction would be with them, not google.

    • Kairos@lemmy.today
      link
      fedilink
      English
      arrow-up
      6
      ·
      21 hours ago

      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.

      • NotMyOldRedditName@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        15 hours ago

        Its not explicitly mentioned. Just that itll be variable by the device and how much ram it has and be controlled by the device OEM.

        It did talk about how you might get throttled before it crashes as well.

  • banause@feddit.org
    link
    fedilink
    English
    arrow-up
    22
    ·
    1 day ago

    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
      6
      ·
      21 hours ago

      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
        10
        ·
        22 hours ago

        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.

  • HugeNerd@lemmy.ca
    link
    fedilink
    English
    arrow-up
    78
    ·
    edit-2
    1 day ago

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

  • OctopusNemeses@lemmy.world
    link
    fedilink
    English
    arrow-up
    28
    ·
    1 day ago

    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.

    • toddestan@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 hours ago

      I’ve found most websites that look like ass on a 24" 1920x1200 screen (or really any desktop monitor) is because they are designed for a 5-6" cell phone screen.

      • rekabis@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 hours ago

        My horizontal screens have this exact resolution.

        My natively-vertical screens (EIZO RadiForce RX320) fuck things up even more with a 1536×2048 resolution. And yes, natively vertical, so sub-pixel rendering works exactly as intended.

    • BlackLaZoR@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      22 hours ago

      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
      11
      arrow-down
      2
      ·
      1 day ago

      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
        5
        ·
        1 day ago

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

        • bitjunkie@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 hours ago

          Gross. I posted that from a MacBook Pro on two 4k screens and I turn those shits vertical and shape my windows on normal 16:9 or 4:3 ratios like a decent human being.

          • SapphironZA@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            8 hours ago

            Oh, so you’re one of those fake MacBook Pro users who actually care about their productivity, not the real ones who care about looking productive in coffee shops and open plan offices. 😉

            • bitjunkie@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 hour ago

              Ding ding ding. My next MacBook is going to be a Mac mini. Paying an extra grand for a high-DPI screen is so 2018.

        • tempest@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          19 hours ago

          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
          2
          ·
          1 day ago

          “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.”