Better HN
topnewbestaskshowjobs
Log inSign up

what2

21 karma · joined Feb 6, 2017 (9y ago) · 6 submissions

Submissions

comment 2y ago · link · parent

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"

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

No, I only see one face: winning the case no matter the means used.

4.

Don’t be a digital sharecropper like us(medium.com ↗)

2 points · by what2 · 9y ago · discuss

comment 9y ago · link · parent

Awesome, thanks!

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

comment 9y ago · link · parent

That seems like a big plus for React Native.

What are the negatives you have found?