Live data from Hacker News

Hotwire: HTML over the Wire

hotwire.dev

281–290 of 573 posts

Re: Hotwire: HTML over the Wire

#281

Earlier quoted context omitted.

I’m glad this technique is making a comeback. The last 10 years of JavaScript on the client have been an utter shit show that left me wondering wtf people were thinking.

Yeah people shouldn't make applications in programming languages. If your application can't be made with html/css then it's bloatware. All this java, .net and C are totally unnecessary.

Literally nobody is saying this

Re: Hotwire: HTML over the Wire

#282
post #109

Earlier quoted context omitted.

Why wouldn't it? It's got like 2 pictures and isn't long. I also wouldn't call it wicked fast - this is normal speed, which everyone seems to have forgotten

The landing page has a lot more than 2 pictures, but also the rest of the website is fast. Show me another modern-design website that loads that fast.

Either way it's still under 400KB for the whole site, it had better not be slow. Not sure what modern has to do with it.

By comparison of a similar design, golang.org is twice the size and only takes .3 seconds longer. So what exactly are we comparing?

Re: Hotwire: HTML over the Wire

#283

Earlier quoted context omitted.

I’m glad this technique is making a comeback. The last 10 years of JavaScript on the client have been an utter shit show that left me wondering wtf people were thinking.

Yeah people shouldn't make applications in programming languages. If your application can't be made with html/css then it's bloatware. All this java, .net and C are totally unnecessary.

I don’t think the problem is with programming languages, but with JavaScript specifically, since it was never designed to be stretched this far. TypeScript is an improvement, but if you could write C or whatever on the client side and run it as easily as JS I think more people would go that route.

Re: Hotwire: HTML over the Wire

#284

Pure JS developers trying to jump off the JS train have a few decent choices now: - Elixir / Phoenix - .NET / Blazor - Laravel / Livewire - Rails / Hotwire Or hold on for the JS ecosystem to figure out good patterns that balance performance/maintainability (React Server Components look ok, and will probably trickle into Next.js for those who want a framework). Does one of the above stand out as a good thing to learn…

Well Blazor ain't gonna reduce your load front-end load, that's for sure.

Re: Hotwire: HTML over the Wire

#285

Earlier quoted context omitted.

I'd take it back even further: We started out on mainframes. Then things moved to the desktop, with some centralized functionality on servers (shared drives, batch jobs). The processing moved to centralized web servers via the web, SAAS, and the cloud. Then more moved into the client through React & similar. And now things are moving back to the server. Tick. Tock. These changes are not just arbitrary whims of fashio…

I got a chuckle out of Apple M1 chip touting having shared video memory as a big step forward. (Which it is, but is still amusing to me how it might have sounded like a groundbreaking innovation to a layperson.)

Apple takes Cue From Original Xbox with Latest Chipset.

Re: Hotwire: HTML over the Wire

#286
post #87

Earlier quoted context omitted.

Well Rails was never not scalable in literal sense. It was just the cost of scaling being expensive; comparatively speaking when people say Rails not able to scale. And for most if not all SaaS that should never be much of a problem. Because you are getting revenue per user, and generally speaking the cost percentage of user / app / server resources is so small, that is a rounding error in grand scheme of things. Wha…

I always find the Rails/scalable thing to be a funny argument - especially on the startup-minded HN. You don't need scale at a startup. You need velocity. If you're hitting scale at a startup, you've done one of two things: * Written absolutely terrible software * Succeeded Unless you've hit the second one, it will almost always be cheaper to simply spin up another server.

Could be because a lot of startups are just trying to squeeze just as much traffic as they can with very little capital involved.

It's basically here's my app that does billions of things and wants billions of users and runs on potato thing.

Re: Hotwire: HTML over the Wire

#287
post #120

This is so exciting to see, especially for older folk like me. Almost 20 years ago, one of my professors told us before graduation that hot tech is mostly about the idea pendulum swinging back and forth. I immediately chalked it up to 65+ above white wise men snobbery. However, this is exactly that. We started with static pages, then came Ajax and Asp.net and the open source variants, then we went full SPA, now we ar…

> I immediately chalked it up to 65+ above white wise men snobbery.

Perhaps this can be the opportunity for you to look through your past and consider and reevaluate other ideas you discarded because of your own bigotry.

Re: Hotwire: HTML over the Wire

#288

Earlier quoted context omitted.

Engineers typically aren’t tasked with increasing revenue/engagement.

Unfortunately I have to disagree - if there weren't any engineers around to implement the dark patterns they wouldn't be as prevalent. Maybe this calls for an equivalent of the Hippocratic Oath but in the tech world?

Brick layers. Developers develop, designers design was more my point, though of course this line is blurred in many organisations.

Re: Hotwire: HTML over the Wire

#289

Earlier quoted context omitted.

Yeah people shouldn't make applications in programming languages. If your application can't be made with html/css then it's bloatware. All this java, .net and C are totally unnecessary.

Literally nobody is saying this

They are, look at the context of what they're saying. JS is simply a programming language in a VM like plenty of others, there's nothing inherently bad about it. But every thread here's the uneducated hate for it, completely misunderstanding that html/css static pages don't solve the problems a programming language does.

I'd like to see these people make applications in pure XML. No programming.

Re: Hotwire: HTML over the Wire

#290

Pure JS developers trying to jump off the JS train have a few decent choices now: - Elixir / Phoenix - .NET / Blazor - Laravel / Livewire - Rails / Hotwire Or hold on for the JS ecosystem to figure out good patterns that balance performance/maintainability (React Server Components look ok, and will probably trickle into Next.js for those who want a framework). Does one of the above stand out as a good thing to learn…

Also IHP (Haskell) has Auto Refresh https://ihp.digitallyinduced.com/Guide/auto-refresh.html
Post reply on HN