5 ms·
Node has such an easier ecosystem than python IMO. I really hope the move of ML from python to JS continues.
by ralusek 4y ago
Node has such an easier ecosystem than python IMO. I really hope the move of ML from python to JS continues.
- QuadmasterXLII 4y agoWhat's node's GPU acceleration story?
- ralusek 4y agohttps://www.tensorflow.org/js/guide/nodejs https://www.tensorflow.org/js/guide/nodejs Tensorflow JS running on GPU/CUDA in Node.
- curiousgal 4y agoDoes npm still create 10000 directories?
- ralusek 4y agonpm downloads the dependencies that you install.
- speedgoose 4y agoNo. Only 1000 these days.
- Sohcahtoa82 4y agoEasy? Maybe. Sane? Absolutely not. Though I suppose it's not really Node's fault that developers are importing modules like "leftpad". What's really fucking insane though is that there are modules like "trim-newlines" [0] that exist merely to trim \r and \n from the beginning and end of a string...and that this is such a hard task to get right that it's in version 4.0.2...and that a previous version had a security vulnerability [1]. [0] https://www.npmjs.com/package/trim-newlines https://www.npmjs.com/package/trim-newlines [1] https://www.cve.org/CVERecord?id=CVE-2021-33623 https://www.cve.org/CVERecord?id=CVE-2021-33623
- zamadatix 4y agoAs much as I hate to say it as I hate how these kinds of packages attach themselves to large projects to inflate download numbers for a resume I think most of us here would probably have created the same CVE doing it naively. It was a regex DoS due to exponential runtime not something obtuse like extra bloat being poorly made.