HNHacker News
TopNewBestAskShowJobs

decross

11 karma · joined October 24, 2021

submissionscomments
decross··on Tell HN: When I first read the Htmx website I thought its from 2005
https://htmx.org
decross··on Tell HN: When I first read the Htmx website I thought its from 2005
A right-click/View Source would allow you to reevaluate your initial impression due to the presence of elements introduced in HTML5 (released in 2008).

The fact that you can do that and not stare at a soup of minimized Javascript tells you a lot about htmx.

https://htmx.org/essays/right-click-view-source/

decross··on Tell HN: When I first read the Htmx website I thought its from 2005
It definitely does not suit every single project (nothing does!).

This is nicely explained in: https://htmx.org/essays/when-to-use-hypermedia/

decross··on Tips for Building SSR/HDA Applications
I really recommend reading the essays on https://htmx.org/essays/ They are well-written, opinionated, but not dogmatic. And the book on https://hypermedia.systems/ is a true gem.
decross··on Reddit 1.0 was written in Lisp
He meant that HTMX can work with a backend written in any language/framework. It doesn't constrain you to use any specific server-side tech.
decross··on Tips for Building SSR/HDA Applications
Why in the world would I want to split a team in two highly coupled halves that can't deliver any value by themselves? Division of labor? Seriously? Are we back to the 18th century?
decross··on Htmx Is the Future
You can embed a "backend" as a service worker and use htmx to interact with it. A proof of concept here: https://github.com/richardanaya/wasm-service
decross··on If You Double-Park and You’re Rich, Should You Pay a Higher Fine?
And young people should get longer sentences? The younger, the longer?
decross··on Kaffeost
In Brazil it is common. The root is maybe that fat makes caffeine to spike less and last longer.
decross··on How Paris Is Taking Back Its Streets from Cars
My hunch is that in the first picture there was at least one person inside each car and they seemed to be going to work. In the second picture, there are a lot less people and they are definitely not going to work. Are they getting rid of people and jobs?
decross··on Htmx in a Nutshell
For me, it clicked immediately. It is a simple way to partial updates of the UI, without having to worry about a ton of tooling. It also pushes most of the logic to the backend, which is nice. It also constrains some of the UX decisions, leaving less room for useless craziness.
decross··on Htmx in a Nutshell
just download it and serve it from your own site.
decross··on Htmx in a Nutshell
but contrast that with the Herculean job that is learning angular, react or vue...
decross··on Htmx in a Nutshell
the creator has already answered you, but I will add that there is an htmx extension called client-side-templates here: https://htmx.org/extensions/client-side-templates/
decross··on Htmx in a Nutshell
in a way, he's all of us
decross··on Htmx in a Nutshell
htmx is pretty agnostic with regard to the backend side of things. You can use anything you want, really. There are htmx extensions to Django and I am working on a similar one for Express. Basically, a very simple middleware to deal with custom request and response headers.
decross··on Ask HN: Where do you escape for non-clickbait thoughtful/informational content?
Hmm. What about storage, delivery, returns, etc.? Quote from your source: "Now, I think they’ve underestimated the costs of shipping and warehousing books, and the tremendous cost of accepting returns (for full credit) of unsold books by bookstores — sometimes paying for return shipping, sometimes having the books simply destroyed, and other times selling them in bargain bins for a fraction of the cover price."
decross··on Ask HN: Where do you escape for non-clickbait thoughtful/informational content?
Do you have a good source on that? I have been looking around for these kinds of costs and found nothing I could trust.