876 karma · joined May 17, 2016
https://codepen.io/dsheiko/pen/MvEpXm
This is a bit fancier than necessary and that makes it not so good as an example for learning, but hopefully it will be enough to give you the idea.
edit: this one is a little bit better to understand the basics: https://medium.com/metaphorical-web/javascript-treeview-cont...
In short, summary/detail has the native hability to collapse the details and you can explore that to implement a tree by nesting them.
Implementing the wasm vm and its basic apis would be simpler in a new operating system. Because the way it is now, the web browser itself is more complex that writing a simple operating system. That hinders innovation in the Operating System space.
Another way to understand EROEI is, given a solar panel system (including batteries, circuits, etc) typical lifespan of say, thirty years, how many other systems equal to this would you be able to build with the resulting e energy during those 30 years? It’s improving, but if you also account for the maintenance and required labor to keep it working, it’s still looking really bad when compared to the output we had from fossil until a few decades ago.
For more detailed information on EROEI: https://forum.earlyretirementextreme.com/viewtopic.php?f=3&t...
and sandboxed. yes, this is way forward.