Better HN
topnewbestaskshowjobs
Log inSign up

cmonnow

87 karma · joined Nov 19, 2018 (8y ago) · 193 submissions

Submissions

comment 4y ago · link · parent

> Do I NEED Alexa to turn on the light? I can walk, I can do it myself.

Do I NEED NETFLIX to watch TV ? I can watch other channels.

Do I NEED a TV for entertainment ? I can enjoy nature walks.

Do I NEED nature walks to be happy ? I can meditate in peace like a monk.

The words WANT and NEED are arbitrary, subjective and interchange-able.

comment 4y ago · link · parent

> was conquered by the british as punishment

lol. the varna system existed when Mughals invaded too. and you think it doesn't exist now ?

comment 4y ago · link · parent

if there was a way to notify multiple interested parties with one comment and multiple mentions, i would love to do that.

you only feel like it is spam cos you came to the comment section late. my audience however are people who commented earlier.

comment 4y ago · link · parent

> Genetic mutations and recombinations

and why do THOSE happen ?

comment 4y ago · link · parent

this whole discussion seems pedantic.

whether it is a local function or a remote function, both caller and callee need to agree on the parameters (input), and returns (output).

I send you X. You send me back Y. That's it - this is the contract we both agree to.

OP is saying - the caller should NEVER do anything with Y other than display it on screen, for it to be called REST. Well - why even display it, why not just discard it ? Calling print(Y) is as good as calling businesslogic(Y). Whatever further logic a human plans to do after print(Y), a machine can do the same.

In other words, REST is just step 1 of returning data from a remote function. The moment you code any additional logic on the returned data (which is 99% of use cases), it's not REST anymore ? Sounds like an extremely limited definition /use case of REST.

1234567