News for hackers. Stuff that matters.
Re:Asm-Dom – WebAssembly Virtual DOM by masklinn on Saturday May 20, 2017 @03:50PM (#14384041)
I was going to say that the API is almost identical to Snabbdom's and ask whether that was voluntary or an independent reinvention, but given how similar the "inline example" is[0][1] (down to the comments) I assume either snabbdom was used as a starting point or the inspiration is very much wilful?

[0] https://github.com/mbasso/asm-dom#inline-example

[1] https://github.com/snabbdom/snabbdom#inline-example

Re:Asm-Dom – WebAssembly Virtual DOM by teddyh on Saturday May 20, 2017 @05:23PM (#14384419)
They both have the MIT license, which may be a so-called “permissive” licence, but it does require attribution. Did they base asm-dom on Snabbdom? That’s perfectly fine. Did they remove the copyright notice? That’s illegal.
Re:Asm-Dom – WebAssembly Virtual DOM by mbasso on Saturday May 20, 2017 @06:04PM (#14384599)
Just committed a fix for that in license.md
Re:Asm-Dom – WebAssembly Virtual DOM by simooooo on Sunday May 21, 2017 @02:17AM (#14385945)
https://github.com/mbasso/asm-dom/commit/1e1659ebc2357bf34be...

Is in the example the usual place to put this?

Re:Asm-Dom – WebAssembly Virtual DOM by mbasso on Sunday May 21, 2017 @04:21AM (#14386306)
This is the license of the example project, the license of asm-dom is in the root dir
Re:Asm-Dom – WebAssembly Virtual DOM by snakeanus on Sunday May 21, 2017 @02:20AM (#14385949)
Shouldn't the license be in every file?
Re:Asm-Dom – WebAssembly Virtual DOM by masklinn on Sunday May 21, 2017 @08:22AM (#14386956)
The only reason to put the license in every file is if the "project" is really a loose collection of independent files, or if you stay up at night fearing a madman on the loose randomly downloads and reuses single files from your projects.

MIT specifically calls out that the notice must be included in copies of "substantial portions" of the software which makes no sense if the entirety of the notice is already part of every file.

> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Re:Asm-Dom – WebAssembly Virtual DOM by mbasso on Sunday May 21, 2017 @05:08AM (#14386410)
In the "How to apply this license" section it is not mentioned https://choosealicense.com/licenses/mit/

If someone has more information or links about that, please let me know

Re:Asm-Dom – WebAssembly Virtual DOM by forgotpw1123 on Saturday May 20, 2017 @06:21PM (#14384660)
a "fix" eh?