Federation Red
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago

Why indeed

lemmy.ml

external-link
message-square
204
fedilink
1.52K
external-link

Why indeed

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago
message-square
204
fedilink
  • daniskarma@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    227
    ·
    2 months ago

    Electron everywhere.

    • jmcs@discuss.tchncs.de
      link
      fedilink
      arrow-up
      164
      arrow-down
      1
      ·
      2 months ago

      And analytics. And offloading as much computation to the client, because servers are expensive and inefficiency is not an issue if your users are the ones paying for it.

      • kbotc@lemmy.world
        link
        fedilink
        English
        arrow-up
        19
        ·
        2 months ago

        I saw an ad request with an inline 1.4 MB game. Like, you could fit Mario in there.

        • state_electrician@discuss.tchncs.de
          link
          fedilink
          arrow-up
          9
          ·
          2 months ago

          The Samsung shop hands out 1.4mb JSON responses for order tracking, with what I estimate 99% redundant information that is repeated many times in different parts of the structure.

    • lobut@lemmy.ca
      link
      fedilink
      arrow-up
      36
      ·
      edit-2
      2 months ago

      Web “Apps” are also quite bad. Lots of and lots of stuff we’re downloading and it feels clunky.

      Sometimes that’s bad coding, poor optimization, third party libraries, or sometimes just including trackers/ads on the page.

      • Onomatopoeia@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        43
        ·
        2 months ago

        I vaguely recall a recent-ish article that an average web page is 30mb. That’s right, thirty megabytes.

        It’s amazing how much faster web browsing becomes when I run PiHole and block most of it.

        Suddenly the TV is pretty snappy, and all browsers feel so much smoother.

        • Lemminary@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          2 months ago

          And I’m sitting here uneasy thinking how the hell I’m going to compress my map data any further so that my entire web app is no bigger than 2 mb. 😥

          • The Ramen Dutchman@ttrpg.network
            link
            fedilink
            arrow-up
            8
            ·
            2 months ago

            No, you need to go further: https://512kb.club/

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

              Oh god, I’m not ready for the trauma and the emotional scars… D:

        • SorryQuick@lemmy.ca
          link
          fedilink
          arrow-up
          6
          ·
          edit-2
          2 months ago

          That’s straight up not true. It’s not even remotely close to that.

          https://httparchive.org/reports/page-weight

      • thesystemisdown@lemmy.world
        link
        fedilink
        English
        arrow-up
        21
        ·
        2 months ago

        Some devs will include a whole library for one thing instead of trying to learn another way to do that thing.

        • techt@lemmy.world
          link
          fedilink
          arrow-up
          24
          ·
          2 months ago
          from * import *
          
        • chraebsli@programming.dev
          link
          fedilink
          arrow-up
          13
          ·
          2 months ago

          A whole library which was meant to to 10 things, but you only use one. And that for x libraries

        • bleistift2@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          7
          ·
          2 months ago

          Nowadays libraries are built with tree-shaking in mind, so when it’s time to deploy the app only the code that’s actually used gets bundled.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.12K users / day
  • 4.71K users / week
  • 9.32K users / month
  • 17.8K users / 6 months
  • 1 local subscriber
  • 23.1K subscribers
  • 1.03K Posts
  • 23.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: 0.19.8
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org