fairy

Results 13 comments of fairy

是的按照步骤做的,我的是windows环境,说我没有python环境,这还需要python环境吗?

npm install 的时候报的错

npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: [email protected] npm ERR! Windows_NT 6.2.9200 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\wczha_000\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js"...

You should install pycurl. If you are in a Windows environment,You can download the corresponding version from the link below. `https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurl`

我的思路是以固定宽高为基础,然后等比例放大缩小

es 6 中已经提供数组扁平化方法使用 flat(); 不过知道怎么实现的 还是很有帮助的 参考: - [flat](http://es6.ruanyifeng.com/?search=gcc&x=0&y=0#docs/array#%E6%95%B0%E7%BB%84%E5%AE%9E%E4%BE%8B%E7%9A%84-flat%EF%BC%8CflatMap)

原因: - 不仅 JavaScript,所有遵循 IEEE 754 规范的语言都是如此; - 在JavaScript中,所有的Number都是以64-bit的双精度浮点数存储的; - 双精度的浮点数在这64位上划分为3段,而这3段也就确定了一个浮点数的值,64bit的划分是“1-11-52”的模式,具体来说: - 1.就是1位最高位(最左边那一位)表示符号位,0表示正,1表示负; - 2.11位表示指数部分; - 3.52位表示尾数部分,也就是有效域部分 解决方案: - [bignumber](https://github.com/MikeMcl/bignumber.js) - [BigInt: JavaScript 中的任意精度整数(新提案)](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) 参考: - [IEEE754 浮点数格式 与 Javascript...

我 node 8.9,还是报错,打印 console.log(result.body); const data = JSON.parse(result.body); 发现出来的是错误页面

一开始填写的时候就是乱码这个什么问题,编码?,后来发现from to 是没有获取到的,undefined