Login
You're viewing the ruby.social public feed.
  • Nov 21, 2026, 8:08 PM

    “Your server knows who’s logged in. It’s sitting next to the database. It has a fast CPU, a warm cache, and is plugged into the wall. Your user’s phone has none of that. When you ship a client‐side app, you’re telling every single visitor to rebuild the same page from scratch on the worst hardware in the whole chain, and paying for it with their battery, their data plan, and their patience. You are being an asshole.”
    modernmotherfuckingwebsite.dre

    💬 13🔄 225⭐ 270

Replies

  • 💬 0🔄 0⭐ 2
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 2
  • Nov 22, 2026, 8:38 AM

    @wolf480pl @andrewg What was up with HTTP2's design people didn't like anyway?

    I haven't really kept track. And on a similar kind of questioning, why not HTTP3?

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 12:03 PM

    @lispi314
    I personally like H2. H3 seems too complex to be good but haven't really looked into it.

    In any case, there's a lot of new code written to add support for them - new complexity - so a lot of room for new bugs
    @andrewg

    💬 2🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • Nov 22, 2026, 12:15 PM

    @lispi314
    also who needs concurrency when you can have parser bugs

    EDIT: nvm those were both concurrecy bugs weren't they
    @andrewg

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 7:18 PM

    @wolf480pl @andrewg Surely one would use a well-tested parser generator and exhaustively test its output anyway, right?

    Other formal verification may also be useful.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 7:41 PM

    @wolf480pl @andrewg Yeah, in various languages.

    They won't necessarily be optimized in whatever silly intrinsic-using ways doing it manually might, but they will be correct when provided with a correct grammar.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • Nov 22, 2026, 7:55 PM

    @wolf480pl @andrewg Erlang also has its bitstring syntax, but that has limited support for context-sensitive decoding, so one would have to parse up to a branching point the syntax can't address directly, then match on that accordingly with more bitstrings.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 8:01 PM

    @wolf480pl Lengths are the kind of things that can be directly addressed by referring to previously-matched areas.

    I was thinking more of complex formats where the value might determine whether a number of other fields are present at all.

    The kind of thing that protobuf was made for, in other words.

    TLV requires too much trust in arbitrary external inputs to use it directly for bitstring syntax (one can definitely match on it though).

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 22, 2026, 7:13 PM

    @wolf480pl @andrewg I suspect that they claim they did but that it only covered a small part of the implementation. That's usually how it turns out.

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 7:33 PM

    @lispi314 @andrewg
    AFAIK it covers the protocol spec, not the implementation.

    Still, multiple implementations following that spec independently made the same bug.

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 7:38 PM

    @wolf480pl @andrewg ...Well then they all implemented it wrong.

    The specification not being horribly broken is a good start, but the implementations themselves must model themselves.

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 7:42 PM

    @lispi314 @andrewg
    The specification may've been not wrong, but it was at least misleading.

    Also, how about deductive verification instead? Model checking anything non-trivial is dead slow and uses all the RAM...
    Although I guess if we could use 10% of the compute that's being used for LLMs, model checking would be quite fast.

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 8:26 PM

    @wolf480pl @andrewg

    The specification may've been not wrong, but it was at least misleading.

    That is a bad thing to have in a specification indeed.

    Also, how about deductive verification instead?

    That is also adequate.

    Model checking anything non-trivial is dead slow and uses all the RAM...

    Unfortunate that.

    Although I guess if we could use 10% of the compute that's being used for LLMs, model checking would be quite fast.

    And after all that resource expense, the output would actually be reliable. Though the efficiency concern vs other verification methods is a good argument against all the same.

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 24, 2026, 12:21 AM

    @Synchro @lispi314 @andrewg
    I'm talking about all the code that nginx developers had to write to get quic working, and all the bugs they have inevitably added in the process.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 7
  • Nov 22, 2026, 2:09 AM

    @andrewg as someone old enough to remember a web before CSS, I really love seeing this return to basics. But I also love seeing how far we have come with CSS and other semantics.

    💬 0🔄 0⭐ 3
  • Nov 22, 2026, 8:11 AM

    @andrewg@mastodon.ie the best approach I've seen actually renders html at build (less work for the server, so more users can be served properly), and the client only rebuilds dynamic/interactive sections, so it can apply as little changes as possible during active use. has been a solved issue for years now, so I'm really surprised we're still yelling about this here.

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 6:07 PM

    @mb21@hachyderm.io @andrewg@mastodon.ie I know... I used to be a frontend developer until AI caused all the job offers to disappear. What I'm saying is that we have the solutions to do as little work as possible on either end and have had those solutions for many years. Before modern web apps we had stuff like jQuery, which couldn't easily be "prerendered" and nobody complained then. Nobody complains about how PHP can easily get quite a bit slower than JS on a lowend device if there's too many other users. This specifically Anti-JS yelling has been a petpeeve of mine for a decade now.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 23, 2026, 5:17 PM

    @mb21@hachyderm.io @andrewg@mastodon.ie measuring bundle size in bits (to make the number look larger?) sure is a choice. 690kb (or 86.25kB) is still well below the warning threshold for early react frameworks, so I'm not sure I see the issue. Images (especially GIF and PNG) can easily go into the megabytes and nobody complains about those (in fact people complain about avif and webp way more, despite those often yielding smaller filesizes)

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 22, 2026, 8:52 AM

    @andrewg @jbaert 👍️ for simple websites without complex client-side DOM rendering.

    However, moving the right kind of processing to end-user hardware (that gets better each year) is promising: e.g., in the world of route planning I don’t want a server to know from where to where I’m planning when. Instead, ship the right fragments of information through a CDN to the end-user so route planning can happen on the client-side (cfr. my project linkedconnections.org)

    A demo of @irail/planner https://irail.github.io/planner/
    💬 0🔄 0⭐ 3
  • Nov 22, 2026, 8:43 AM

    @andrewg I would have some qualified agreement.

    For the web yes, to an extent (but various things I see as undesirable in the linked article).

    But the web is server-centric and legitimately delay-tolerant user-agents that do not expect continuous or even frequent network availability would be preferable.

    (NNTP & Syndie > PHPBB)

    💬 0🔄 0⭐ 0
  • Nov 22, 2026, 9:01 AM

    @andrewg
    I couldn't stop laughing reading the first few chapters on the linked page! 😂🤣
    It's just what I always felt seeing all the Web pages nowadays compared to what I did some 20 or 25 years ago! Well since then I had nothing to do with tasks like that ... just being annoyed with JavaScript etc in business context ... 😱🤷🏼‍♂️
    I need some more time to read this evening! 👍😁

    💬 0🔄 0⭐ 1
  • Nov 22, 2026, 12:07 PM

    @a_ka_es Durchaus was dran. „Entwickle“ (reines vibe-coding) derzeit zwei Programme für's Unternehmen und mache das auf Basis von Python als Windows-Programm. Jetzt darf ich mich damit herumärgern, dass das Ding bei manchen Mitarbeitenden nicht startet. Oder ich muss hinterher rennen, dass alle die aktuellste Version nutzen. Ne Browser-basierte Lösung würde mir viele Schmerzen ersparen. Aber erklär mal der IT, dass ich nen lokalen WebServer mit Admin-Rechten benötige…

    💬 1🔄 0⭐ 1
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0