News for hackers. Stuff that matters.
Re:ShowHN: dweet.io – Twitter for machines by Queue29 on Friday February 07, 2014 @04:35PM (#7198892)
Using HTTP for this is ridiculous. CoAP or MQTT would have been the obvious choice, considering they were designed for exactly this use m2m use case.
Re:ShowHN: dweet.io – Twitter for machines by acdha on Friday February 07, 2014 @04:54PM (#7199009)
If you want something which can be plugged into a random network somewhere in the world and be reasonably capable of phoning home HTTP is your best bet for being not being firewalled.

There's also something to be said for using a well-known protocol rather than something obscure which is likely to require time to debug because it's had many orders of magnitude less usage.

Re:ShowHN: dweet.io – Twitter for machines by dclara on Friday February 07, 2014 @07:43PM (#7199787)
Your point is valid, and you gave suggestions as well.

I agree with you that machines should not talk on the HTTP level, it's over kill. Machines only need very simple protocols to exchange current state if they do need to cooperate. To me, if devices can transfer state with the controlled program should be good enough so that the program will send the states to other machines for them to determine what's going to be the next step or directly give them instruction on what the next step to go.

I know it's a lot fun to build this type of cute machines, but it's not economic.

Re:ShowHN: dweet.io – Twitter for machines by Bug_Labs on Friday February 07, 2014 @05:09PM (#7199090)
Our only use-case was ridiculously simple. I don't think CoAP or MQTT fit into that use-case, however at some point, yes we will add other protocols. Thank you.
Re:ShowHN: dweet.io – Twitter for machines by terabytest on Friday February 07, 2014 @05:10PM (#7199105)
Except it would be much harder to use and understand.
Re:ShowHN: dweet.io – Twitter for machines by Fasebook on Saturday February 08, 2014 @02:05AM (#7200557)
http is designed for "m2m use case"...
Re:ShowHN: dweet.io – Twitter for machines by jheising on Saturday February 08, 2014 @12:56PM (#7201897)
Hah! Never thought about it, but you are so right. HTTP is actually an M2M protocol at heart and is by far the most prevalent on the planet...