• 0 Posts
  • 17 Comments
Joined 11 months ago
cake
Cake day: August 2nd, 2023

help-circle




  • Quetzalcutlass@lemmy.worldtoProgramming@programming.devJavaScript Bloat in 2024
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    3 months ago

    How big is 10 MB anyway?

    To be honest, after typing all these numbers, 10 MB doesn’t even feel that big or special. Seems like shipping 10 MB of code is normal now.

    If we assume that the average code line is about 65 characters, that would mean we are shipping ~150,000 lines of code. With every website! Sometimes just to show static content!

    And that code is minified already. So it’s more like 300K+ LoC just for one website.

    An important takeaway, as I feel byte size can be hard for people to intuitively visualize. And for those who didn’t read the article, many of the sites tested sent significantly more than 10 megs of JS, even sites containing nothing more than simple input boxes that should be doing any processing server-side.

    I want to see the difference with ad-block enabled. Analytics and tracking are certainly complex enough to account for a lot of that payload. Same with an addon like Decentraleyes to see how much is bloated frameworks that could easily be cached locally.











  • Quetzalcutlass@lemmy.worldtoF-Droid@lemmy.mlSimple Mobile Tools alts?
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 months ago

    Aves Libre is amazing and I wish I switched from Simple Gallery ages ago. It’s better in almost every single way*. It’s also stupidly fast in comparison to Simple Gallery. Gallery could take twenty to thirty seconds to finish background loading (and when it did it’d shunt you back to the first picture you opened if you were in the image viewer), and a full library refresh could take a minute or more before new images show up. Aves loads basically instantly and doesn’t miss a single thing.

    ^(* Aves doesn’t have Gallery’s editing capabilities, but if you don’t need them or are willing to download a separate app it’s perfect.)



  • Ubuntu used to ship out free installation CDs. Since it was free, I figured why the hell not. Played around with it, loved it, but didn’t use it for much more than messing around.

    A decade later those fond memories enticed me to buy a Raspberry Pi and play around with Linux again, and a few years later it became my main OS. It’s just so much fun to tinker with in a way that Windows never was, and nowadays it runs almost everything without a problem.