dajonker
Joined 11 years ago
Joined 11 years ago
The question here is not whether we need human written code, it's whether we need abstractions. Perhaps I could have worded that better.
I did some road trips in 2009 and made pictures with a compact camera. I was able to determine the almost exact locations I shot these pictures thanks to street view, so I could see route that we took back then. One picture was shot in the dark but had a distinctive logo sign on the side of the road. Given the timestamp on the photo and the extremely blurry restaurant and motel logos on the sign, I had a good idea of where to look, but it turned out this sign was only up in a single year and it was quite hard to navigate to!
Unfortunately, I don't think you can "lock" the street view date? Nor does the map view on go back in time? I guess you can use Google Earth to view satellite images. There is a whole neighborhood in Seoul that's been completely leveled on the satellite pictures, yet you can still use street view from 2018 to travel around.
For pushing updates, we use ActionCable, but we do it in a different way from what we used to do with Turbo Streams: when a record is updated, instead of sending HTML from the server to the client with instructions on what to replace, we only send a small JSON payload with the ID of the element that was updated. On the client side, an event is dispatched that any DOM element with <hx-trigger="<resource-id>:updated from:body"> will trigger on. For the rest it's just basic HTMX, only the trigger is "custom".
It's a niche B2B SaaS app and luckily we know most of our users personally. They all use modern browsers, usually Chrome or Edge on Windows. There is not a lot of mobile usage although we do support it.
The only hard thing is still to position a popover near the element that triggers it, such as when you want to create a context menu that has to render above/below the button that triggered it. There is anchor positioning in CSS now but support is still limited and I find it hard to wrap my head around.
LLMs are also terrible at these new standards. If they even know about them, they often think they're not baseline yet and they have almost zero training data compared to the giant mountain of weird JS and CSS that people had to use before the introduction of these standards.
> When experts started speaking out about the Ocean Cleanup several years ago, I witnessed several of them endure online harassment from supporters of the organization, often phrased as “At least they’re trying to do something to help, all you do is complain.” (Note that this was being said to people who devoted their lives and careers to evidence-based solutions to cleaning up the ocean).
Besides the memes, it is absolutely not hype-driven, but hypermedia driven. It asks the question: could HTML be even more powerful than it already is?
The creators of HTMX even want to standardize core ideas of HTMX into the official HTML specification: https://triptychproject.org/ Please read this and reply when you still think it's hype.
The Mac Studio that replaced it is practically silent and very energy efficient, while not being significantly slower.