puxiao

Results 12 comments of puxiao

``` # the latest version of three: 0.133.1 yarn add three yarn add dxf-parser yarn add three-dxf ``` Hmm.... */node_modules/three-dxf/src/index.js* ```diff + import { TextGeometry } from 'three/examples/jsm/geometries/TextGeometry' // line:...

**Chrome 105** https://github.com/austinEng/webgpu-samples/blob/main/src/pages/_app.tsx ``` ``` But maybe you can't run it in chrome at the moment, because the origin-trial has expired, I applied for a new one. https://github.com/austinEng/webgpu-samples/pull/203

The origin trial is expected to [pause for 2 weeks](https://groups.google.com/a/chromium.org/g/blink-dev/c/gBMsYQ1Aurw/m/xl1znc7fAAAJ) starting in Chrome 106 (Sep 27, 2022).

@eric-g-97477 ``` const toFixed = (num: number, precision = 8) => { return Math.trunc(num * Math.pow(10, precision)) / Math.pow(10, precision); } ``` **just fix coordinates to 8~10 decimals** https://github.com/Turfjs/turf/issues/2048#issuecomment-1143619694

Your are right. Floating point numbers cannot represent all decimals exactly in binary. 0.1+0.2= 0.30000000000000004 0.57*100 = 56.99999999999999 Such contingencies are common. Emm.. only this option is available for the...

https://github.com/fluencelabs/dev-rewards/issues/31#issuecomment-1979044929 You have to do it all over again. 1. Clear cache data 2. Revisit: https://claim.fluence.network/ 3. Re-enter github name .... That's what I just did, successful.

> 清除过浏览器的缓存,proof是通过docker build之后启动容器生成的,同样出现了这个问题 只要 github 的私钥不变,每次生成的证书内容是完全相同的,不需要每次都执行生成一遍。 我这边之前也遇到这个情况,我只是刷新 https://claim.fluence.network/ 重头再来,就没一点问题了。 (谷歌浏览器) 不过我刚开始弄,我往我的 metamask 转了 ETH,可是 一直不到账,提取时说我没足够交易手续费,无法提取。

好早我都提交 PR,但管理员一直没审核,没并入。

不要过分依赖于 umi-request 或者 ky 这样第三方封装好的请求库,直接用原生的也没多复杂。 ``` const xxxRequest = async () => { const response = await fetch(`xxxxx`, { method: 'POST', headers: { ... }, body: { ... } })...

Rome wasn't built in a day. By the way, you forgot to delete these: > docs/examples/en/controls/DragControls.html ```diff Methods See the base [page:Controls] class for common methods. - [method:undefined connect] ()...