Live data from Hacker News

Building an HTML-first site doubled our users overnight

mohkohn.co.uk

461–470 of 605 posts

Re: Building an HTML-first site doubled our users overnight

#461
post #360

Earlier quoted context omitted.

New cheap android phones are just as slow as old cheap android phones. The bottom of the market has been stuck in performance limbo for years, and modern web dev frameworks are ill designed to meet them where they are at.

My cheap phone has 6 cores and 8GB I think. My first cheap phone had 1 core and 256MB. Both ran Android. I think you're mistaken.

[deleted]

Re: Building an HTML-first site doubled our users overnight

#462
post #363
post #154

Earlier quoted context omitted.

> give a craftsman terrible tools, and they'll still produce a decent end result This is an absurd statement. Just because something is a proverb, doesn't mean it's automatically true for all cases.

i dont think thats a proverb though? the actual idiom is more like > A poor workman blames his tools which is towards the opposite meaning

The presupposition is that workman chose his tools and brought them with him.

Re: Building an HTML-first site doubled our users overnight

#463

"customers could either use an old ASP form on the website" Did I miss it, or did the article neglect to explain why this was a problem?

You ever tried to maintain or enhance an ASP form that was built 20 years ago and enhanced by random devs with no documentation? I was working with ASP forms 15 years ago that were hopelessly outdated, included tons of technical debt and were not in the least bit user friendly. You can accomplish so much more with things that ship in every browser now. It’s not a very modern technology and you miss out on things that…

In the age of LLMs it shouldn't be a big deal to migrate any legacy ASP to .net core, surely

Re: Building an HTML-first site doubled our users overnight

#465
post #198
post #165

As a non-web dev, I have a question about this part: > There was a sad coda; as is the way of contract work, I moved on. I explained what I had built to my replacement, that it always worked even without javascript. He was appalled and said, “but that’s a lot more work for us.” Why is it more work? The approach described in the article seems honestly reasonably simple: just write the standard components for the form,…

Starting a few years ago, I realized some junior and medior engineers never once considered the possibility of building a website (app, experience, etc.) in anything other than a heavy SPA framework. But they're not stupid people! If you directly asked "Can you build a website without React?" they know the answer is obviously "Yes." However, if you asked them to build a new website, they would unthinkingly start a ne…

My wife used to maintain a website for a non profit organization that was just HTML/CSS. After that she started building a lot of stuff in HTML without javascript.

Re: Building an HTML-first site doubled our users overnight

#466

Related recent threads about react performance: JavaScript-heavy approaches are not compatible with long-term performance goals 178 points by luu 3 months ago | 237 comments https://news.ycombinator.com/item?id=47029339 (should be called "Why React is not compatible with long-term performance goals") Does anybody like React? (jsx.lol) 242 points by brazukadev 15 days ago https://news.ycombinator.com/item?id=48274077

I should have added this one from 2022:

https://news.ycombinator.com/item?id=30528473

SPAs Were a Mistake (gomakethings.com) 692 points March 2, 2022 | 620 comments

Re: Building an HTML-first site doubled our users overnight

#467

I was going to comment on the Terence Eden excerpt quoted by the author about the woman researching housing benefits on an old PSP browser, when I noticed that you (the OP) are Terence himself. It's strikingly powerful, and a reminder of the duty we have in building our infrastructure. > Of course, your javascript-based analytics package doesn’t see the users you are bouncing because of javascript failures. It is fri…

And that is what pixel tracking is for. :)

What's wrong with web server logs? That would give you the number of visitors, if not the pageviews on an SPA.

Re: Building an HTML-first site doubled our users overnight

#468
I'm not a fan at all, but the thing I don't get about react sites is do they not lazy load at all?

Large spa apps are very fast if components are only loaded when needed

Coming from a angular1 -> vue2 -> svelte2 -> settling on pure web components with no shadow dom it's a joy to work with, and fast

Re: Building an HTML-first site doubled our users overnight

#469

I was going to comment on the Terence Eden excerpt quoted by the author about the woman researching housing benefits on an old PSP browser, when I noticed that you (the OP) are Terence himself. It's strikingly powerful, and a reminder of the duty we have in building our infrastructure. > Of course, your javascript-based analytics package doesn’t see the users you are bouncing because of javascript failures. It is fri…

The PSP has 32MB of RAM plus 4MB of embedded RAM, upgraded to 64MB of RAM in later models, the browser also is limited to only a subset of that. I wonder how old the anecdote is? It's hard to imagine any websites now working on that. It does have javascript, but a version shipped with Netfront browser from 2011 or so. https://en.wikipedia.org/wiki/PlayStation_Portable#Web_brows...

Nice to see that Astro supports non-js browsers. Perhaps website developers, especially ones needing to develop for government services, should use 1GB Raspberry Pis for testing, but that would still have modern javascript. I got a 1GB RPi 4 in about mid-2019 and was rudely reminded of how much memory Chrome used even back then. More than 1 tab open and it would be killed.

The Eden quote is here https://shkspr.mobi/blog/2021/01/the-unreasonable-effectiven... and it has some stats of gaming consoles using uk government sites.

Re: Building an HTML-first site doubled our users overnight

#470
post #338

Earlier quoted context omitted.

I agree that's fine in that at least it's doesn't cause unmaintainable garbage. And might even get you up to speed quicker that reading the docs old school. But the GP point, that you're better off finding people that already, truly understand and are familiar with the tech (ie. Astro), imo still stands.

We cant all be wise enough to use php. I read a fun comment the other day from a frustrated windows user who failed to configure linux in previous attempts but now with LLMs it was very easy for him.

LLMs are a lifesaver for configuring Vim. I could not be happier to get that drudgery out of the way.
Post reply on HN