Live data from Hacker News

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

swag.htmx.org

91–100 of 216 posts

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#91
post #6

I've been using htmx for three years now, and it's completely unlocked new ways of building software for the web, especially if you use a server-side templating language. But more importantly (as this "Game Boy" option reveals), the head honcho is really responsive with the items in the store. I had purchased a coffee mug a few years back and complained on Twitter that they need to sell larger mugs instead of only of…

Sorry, but at that size (1.25 liters) for my European brain, it's not a mug anymore, it's a barrel.

Right. People look at me funny for drinking my tea from a 500 ml thermal mug, courtesy of USS Defiant replicators, and it's not because of the Starfleet delta on it (people don't even recognize it, philistines).

1.25 liters is way beyond even my own addiction to lightweight liquid stimulants.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#92
post #6

I've been using htmx for three years now, and it's completely unlocked new ways of building software for the web, especially if you use a server-side templating language. But more importantly (as this "Game Boy" option reveals), the head honcho is really responsive with the items in the store. I had purchased a coffee mug a few years back and complained on Twitter that they need to sell larger mugs instead of only of…

Sorry, but at that size (1.25 liters) for my European brain, it's not a mug anymore, it's a barrel.

It's more than double the size of a Sports Direct mug, which is about the largest cup of tea a Briton would consider

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#93
What I don't like about Htmx is, that it is still a JS framework, without good automatic fallbacks for a noscript situation. This leads to web devs thinking it would be great to do all the things in Htmx, even if all they have is a static page with static content.

Just recently I looked at hosting an old school forum. I don't want to load all the PHP and MySQL baggage on my server or even run it in docker, so I looked for Python solutions. Found PunkwebBB. Was happy for a short time with it, until I tested it more in depth with no scripts. Unfortunately, while it has some good fallbacks in some places, it doesn't have them everywhere and some buttons just don't do anything without JS. It also uses Htmx. Completely unnecessary JS, considering the function of the buttons.

I considered forking it. But the amount of work to remove the needless JS, and repair it ...

So now I am building my own forum completely without JS, and with Python Django doing a lot of heavy lifting.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#94

What I don't like about Htmx is, that it is still a JS framework, without good automatic fallbacks for a noscript situation. This leads to web devs thinking it would be great to do all the things in Htmx, even if all they have is a static page with static content. Just recently I looked at hosting an old school forum. I don't want to load all the PHP and MySQL baggage on my server or even run it in docker, so I looke…

This is exactly why I prefer Turbo ( https://turbo.hotwired.dev/ ).

Turbo comes from a progressive-enhancement philosophy: start with proper HTML and add richer behaviour on top. HTMX is a JavaScript library in much the same sense that React is. There is nothing inherently wrong with that, but it makes this anti-pattern easier to fall into.

Honestly, “the site should work without JavaScript” is no longer the strongest argument. Server-rendered, semantic HTML matters more for accessibility, SEO, and increasingly for LLMs and other automated tools.

Of course, you can write excellent HTML with HTMX. It just requires more discipline—or enough experience to recognize when you are quietly building a JavaScript application in HTML attributes.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#95
post #64

Earlier quoted context omitted.

we are selling it pretty cheap we got 1000 made and gave 150 away to Big Sky Dev Conf attendees Not trying to make money on it, it’s for the lols

Why not both?

idk just seems like $25 is a good price for a fun game you know?

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#97
post #5

Earlier quoted context omitted.

I was against it for ages but having have claude use it in a simple project and being frankly sick/bored of React, it seems nice.

I personally find react overly engineered for my projects - vuejs (+quasar on top) is just great. Granted a little boring perhaps, but it just works, behaves as you'd expect, and doing anything just isn't that difficult.

I've just found having TSX on the server and TSX on the client to be a fairly trusty abstraction, and also typesafe way to update the DOM.

The thing that is frustrating me about HTMX so far is: How do I build typesafe templates on the server? I'm trying out Aksama and it seems ok, is there something similar for JS?

Also the SPA abstraction of "your website is just a client that connects to a an API" is nice.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#98
post #64

Earlier quoted context omitted.

Why not both?

idk just seems like $25 is a good price for a fun game you know?

That’s my doing. I already had a pipeline of contacts for manufacturing GameBoy games at various levels of quality and cost. Being involved from the beginning, I was able to influence development to ensure we could produce the lowest cost product that met the quality levels needed to blow up everyone’s collective minds.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#99
post #6

I've been using htmx for three years now, and it's completely unlocked new ways of building software for the web, especially if you use a server-side templating language. But more importantly (as this "Game Boy" option reveals), the head honcho is really responsive with the items in the store. I had purchased a coffee mug a few years back and complained on Twitter that they need to sell larger mugs instead of only of…

Likewise, I started using HTMX with AWS Step Functions as the backend and it’s been difficult but also a joy. Sfn these days makes for a weird and wild text templating engine. I’ve been thinking about working on DSL overlay to smooth the bumps a bit.

Re: Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

#100

What I don't like about Htmx is, that it is still a JS framework, without good automatic fallbacks for a noscript situation. This leads to web devs thinking it would be great to do all the things in Htmx, even if all they have is a static page with static content. Just recently I looked at hosting an old school forum. I don't want to load all the PHP and MySQL baggage on my server or even run it in docker, so I looke…

Indeed. And the amusing/disappointing/frustrating thing is: my next.js site works if you turn off JS. Links are server-rendered as links, HTML is server-rendered as HTML. If you visit one of the tools that run on the client then they won't work, but the pages that could be static content? They're static content.

Or at least they were, until I started using cache components the other week, and I'd not noticed they'd regressed. That's frustrating. Give me a few minutes...

Post reply on HN