HNHacker News
TopNewBestAskShowJobs

what2

21 karma · joined February 6, 2017

submissionscomments
what2··on Ask HN: Why do you all think that Htmx is such a recent development?
As with everything in engineering the definitive answer is "it depends".

If your JSON API is guided by your UI then you are gonna have a fun time keeping with the changes (been there, done that). Sure you know that to add a new field on your page you will need to add it on the API's JSON, then on the JS client code, then on your client template... Compare this to adding it on the HTML generated on the server and... done!

There is value in differentiating between Data API and Hypermedia (UI) API, you can read more about it here https://htmx.org/essays/hypermedia-apis-vs-data-apis/

And note that is not an universal truth applicable on all cases because "it depends"

what2··on Ask HN: How to do simple heartbeat monitoring?
You need to implement a deadman switch. For example if using Prometheus you can configure it to access an HTTP endpoint of a deadman switch service every X seconds. When that service detects you have not accessed it in some time it will alert you.

For example: https://blog.ediri.io/how-to-set-up-a-dead-mans-switch-in-pr...

what2··on Google to delete records from Incognito tracking
No, I only see one face: winning the case no matter the means used.
what2··on React Native at Instagram
Awesome, thanks!

Right now I will wait a little more and see how the tech evolves. Been burned by too many miracle technologies

what2··on React Native at Instagram
That seems like a big plus for React Native.

What are the negatives you have found?