Lerna
是一个多包(参考 monorepo)管理工具。
Lerna is a fast modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
首先需要明确的是,ndarray 在执行 element-wise (比如四则运算)的时候才会进行广播(Broadcasting),而 numpy 中 element-wise 的要求是 shape (形状)匹配。
numpy 一维数组与 python 列表类似,略。本文主要讨论多维数组的处理。
最近的产品设计中,删除操作已经越来越难用了。根据自身的使用感受,列表内容的删除一定要支持“单项删除”与“批量删除”才算是好的体验。
自动门
与游戏技能CD
的类比。
很多 Node 的 Web 框架中用到了这个 finalhandler.js 模块,它的作用按照官方文档描述如下:
Node.js function to invoke as the final step to respond to HTTP request.
主要是在 req 的处理中作为最后的兜底处理器——错误处理。