• 1 Post
  • 25 Comments
Joined 7 months ago
cake
Cake day: December 6th, 2023

help-circle

  • I currently use a 2021 Asus ROG Strix G15 Advantage Edition and I really enjoy it. It’s a bit pricey at $1650 MSRP but it comes with a high end all AMD 5900HX, 6800M, 2 SoDIMM slots, and 2 M.2 slots. Plenty of ports: 3x USB-A, 1x USB-C, Ethernet, HDMI, headphone jack, and power jack; I’ve needed all of them and it’s just enough. Quite good battery life for a gaming laptop and supports USB-C charging. I currently dual boot Windows and Ubuntu. Biggest flaws are the preinstalled SSD is crap and there’s no webcam.




  • Interesting, it kinda feels like the opposite is true for me, at least on mobile. In 4 years, I’ve gone from a 1.4GHz A53 SD425 to a 2.2GHz A78 SD695 SoC, a 6x increase in single thread performance in 4 years for me. I also during that time got a powerful laptop with a Ryzen 9 5900HX CPU.

    Meanwhile, it’s still not unusual to see my Internet speeds drop below 1Mbps, often hovering around 100Kbps-300Kbps, on data or crappy university WiFi, which sometimes has a ping of no joke, 20000+ on my laptop when running Ubuntu. I can sometimes reach high throughput of up to 100Mbps, but when I don’t, my Internet speeds often chug.



  • SuperSpruce@lemmy.ziptoProgramming@programming.devJavaScript Bloat in 2024
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    3 months ago

    I read this article a few weeks ago and it sent me on a rabbit hole of web performance articles.

    I think a good budget for basic websites (articles, landing pages, and small to medium functionality web apps) is what I call the “GZ250”, or 250KB of gzipped JavaScript, which is more than plenty. I picked this amount such that yesterday’s budget phones will be able to load the website in a few seconds at 1Mbps (and the name references my motorcycle).

    For comparison, my full on games take way less than that. The Unscaled Incremental and Elemental Incremental are 52KB and 19KB of compressed JS respectively, and v1.0 of my new deckbuilding game is about 27KB. The unreleased V1.1 is massive but will still be around 50-60KB of compressed JS.

    I don’t understand how an article uses 60x the script as my games, but cutting back to 6x would be a win for accessibility and efficiency.








    1. I want it to be internet accessible. A friend taught me how to use nginx for the local network, although I’ve forgotten that now.
    2. My previously mentioned computers are computers I don’t use that much, especially the old laptop. My main computer is a 2021 ROG Strix G15 Advantage Edition. I won’t be hosting from that.
    3. Private networking is just hosting over a LAN, right?
    4. Does Docker work well on old hardware and is Docker easy to learn?
    5. I have the most knowledge on Ubuntu based distros. I don’t think Manjaro, a bleeding edge rolling distro, is good for hosting.
    6. How do I use let’s encrypt or something to boost my security?