Live data from Hacker News

Mongoose OS – An Open Source Operating System for the Internet of Things

mongoose-os.com

11–20 of 102 posts

Re: Mongoose OS – An Open Source Operating System for the Internet of Things

#11

Bit of a confusing name, when there is already an extremely popular mongodb node.js framework called Mongoose

Disagree with the downvote. Never used mongoose, nor am i a node developper, yet my first reaction was to wonder why a js db library evolved in an iot framework.

Re: Mongoose OS – An Open Source Operating System for the Internet of Things

#12

> GPLv2 license: FREE FOR NON-COMMERCIAL USE This confuses me, the GPLv2 doesn't say anything about commercial use, it merely says that you need to redistribute the source code to anyone that you distribute your software to. Have they placed additional restrictions on the GPL (which I believe you are prohibited from doing)? or are they just trying to highlight that they are dual-licensing it under a license that isn'…

Seems to be the latter, fairly typical "its GPL unless you want to pay us for a different license"

https://github.com/mongoose-os-libs/mqtt/blob/master/LICENSE

Re: Mongoose OS – An Open Source Operating System for the Internet of Things

#13
post #2

> FEATURED COMMUNITY PROJECTS > Door bell - ESP32, AWS IoT > Door sensor - ESP32, MC-38, AWS IoT/MQTT, SNS > Smart heater on AWS IoT > IoT doorbell that works via MQTT - generic MQTT server, AWS IoT, Google IoT, etc Why the hell would I want my door bell be controlled via MQTT on AWS?

There's actually a very good use case if you have sleeping children:

https://www.alittletothewright.com/index.php/2017/05/doorbel...

Re: Mongoose OS – An Open Source Operating System for the Internet of Things

#14
post #2

> FEATURED COMMUNITY PROJECTS > Door bell - ESP32, AWS IoT > Door sensor - ESP32, MC-38, AWS IoT/MQTT, SNS > Smart heater on AWS IoT > IoT doorbell that works via MQTT - generic MQTT server, AWS IoT, Google IoT, etc Why the hell would I want my door bell be controlled via MQTT on AWS?

It's not on AWS but runs on a local raspberry pi, but my doorbell signals via MQTT that someone ringed. This makes my security camera take a picture and sends a push notification to a custom made iOS app which shows who's in front of the door on my apple watch. If I'm logged in my home wifi, I can even open the door with a button directly from this notification. I would argue that I'm not the only one who finds that useful.

Re: Mongoose OS – An Open Source Operating System for the Internet of Things

#15
> Prototyping and Scripting Engine

> Micropython Moving to production (C/C++) or factoring out critical pieces to C/C++ is not trivial

VS.

> mJS - JavaScript engine for prototyping and C/C++ for production

I don't know much about it, but from the surface it seems that the problem is exactly the same? What is the benefit of prototyping in JS instead of Python? In the end, either you refactor everything purely in C, or you use both in your production system.

I see mJS does FFI to interface with other C routines. Why introduce a second language to your project? This seems like a huge overhead for no benefit (you're still expected to write C at some point). The language is only a subset of JS, so "not JS", so no ecosystem and new assumptions you have to redefine before getting serious with it?

Is it just me who thinks it's a bad idea? Would someone be able to explain the advantage of going in this direction?

Re: Mongoose OS – An Open Source Operating System for the Internet of Things

#16

> GPLv2 license: FREE FOR NON-COMMERCIAL USE This confuses me, the GPLv2 doesn't say anything about commercial use, it merely says that you need to redistribute the source code to anyone that you distribute your software to. Have they placed additional restrictions on the GPL (which I believe you are prohibited from doing)? or are they just trying to highlight that they are dual-licensing it under a license that isn'…

I haven't checked what Mongoose does, but it's fairly common for embedded OS's to link the application and kernel together. IOW, using the GPL may force you to give the source code to your customers if they ask for it.
Post reply on HN