• 1 Post
  • 6 Comments
Joined 1 year ago
cake
Cake day: March 22nd, 2024

help-circle

  • Seems like your really pondering “HTML should be conspicuously slow for such a widely-used standard,” right?

    The answer is that modern browsers are complex and highly optimized rendering engines.

    Read back through this blog: https://mozillagfx.wordpress.com/

    But in a nutshell, there’s a lot of talk about how modern browser are analogous to tuned game engines, heavily relying on the GPU and all sorts of hacks to render HTML efficiently. “Compiler” doesn’t even begin to do them justice, and modern GPUs are a core part of getting a good browsing experience.

    V8 is another good example, taking what was a notoriously slow language (JavaScript) and hacking out a fast JIT engine for it.

    The “standard” is ostensibly the HTML spec and such, but in reality whatever Chrome (and Firefox/Safari) renders is the standard. Devs build around their strengths and quirks, basically, instead of the other way around.


  • brucethemoose@lemmy.worldtoProgrammer Humor@programming.devPrompt Engineer
    link
    fedilink
    arrow-up
    46
    arrow-down
    1
    ·
    edit-2
    9 days ago

    Funny thing is correct json is easy to “force” with grammar-based sampling (aka it literally can’t output invalid json) + completion prompting (aka start with the correct answer and let it fill in whats left, a feature now depreciated by OpenAI), but LLM UIs/corporate APIs are kinda shit, so no one does that…

    A conspiratorial part of me thinks that’s on purpose. It encourages burning (read: buying) more tokens to get the right answer, encourages using big models (where smaller, dumber, (gasp) prompt-cached open weights ones could get the job done), and keeps the users dumb. And it fits the Altman narrative of “we’re almost at AGI, I just need another trillion to scale up with no other improvements!”


  • Some mod packs are just unstable.

    Could be a specific area/item crashing it, and TBH all modded servers need regular maintenance like mob culling and regular server restarts. But it could also be a problem with your host, yeah, and the M3 Pro is going to be way faster than any CPU your host has. Plenty of RAM too.

    I’d recommend running it with GraalVM EE as your JVM.

    I tend to gravitate towards Enigmatica and ATM myself (as their devs/dev process is pretty good), but not sure about Ozone or skyblock mod packs.




  • Meanwhile, Rust punches you in the face for the mere suggestion. Again. And again.

    Python happily nods, runs it one page at a time, very slowly, randomly handing things off to a C person standing to the side, then returns a long poem. You wanted a number.

    Assembly does no checking, and reality around you tears from an access violation.

    EDIT: Oh, and the CUDA/PyTorch person is holding a vacuum sucking money from your wallet, with a long hose running to Jensen Huang’s kitchen.