45 karma · joined June 21, 2021
Does immer count? :)
And what we have in practice is: the biggest usage of AI in the wild is to plagiarize art and artists are super unhappy about that, to the point of coming up with lawsuits and whatnot.
What I think happens next is: actual general intelligence emerges accidentally somewhere between the lines in some of those deep learning systems and tricks humankind into being its bitch.
Why do you think this is distinct disadvantage to NPM specifically? You can steal someones account and do the same with Rust crate for example, or Go package or even C/C++ header only library. It can get installed or updated to malicious version on user side in the same way, because everyone uses version ranges like "^" or "~" or equivalent. And if you're going to say everyone uses lockfiles, NPM also uses lockfiles for many years already.
For example, in window.addEventListener("click", callback) callback is a procedure that receives MouseEvent, while in window.addEventListener("copy", callback) callback is a procedure that receives ClipboardEvent. So we can say that type of second argument depends on the string passed as first. TypeScripts type system is able to make this statically typed and type checked properly.
Any examples of "wacky" functions where similar dependencies exist but are not necessary?