loynoir

Results 96 comments of loynoir

Hi, guys. How can you install `esm.sh` binary? Related: `go install` failure https://github.com/esm-dev/esm.sh/issues/307

Maybe something like below, when target `node-esm`? ```js import {createRequire} from 'module' var __require = requireWrapper(createRequire(import.meta.url)) ``` Fix all `Dynamic require of "X" is not supported`

https://github.com/microsoft/vscode-python/issues/18365#issuecomment-1021969950

Although I use below, still want '-i' or '-w' ```sh jq 'del(.packageManager)' package.json | sponge package.json ```

> Don't even need the echo. > […](#) > On Wed, Oct 20, 2021, 18:02 Iaroslav Pleten ***@***.***> wrote: It can be done with: echo "$(jq '. + {"registry-mirrors": ["https://docker-mirror"]}'...

@omgdenzuko > Don't even need the echo. ```sh $ echo '{"a":"b"}' > daemon.json && jq '. + {"registry-mirrors": ["https://docker-mirror"]}' daemon.json > daemon.json && cat daemon.json $ echo '{"a":"b"}' > daemon.json...

@omgdenzuko I'm not saying I'm disagreed. > `jq '' > output.json` works on all posix systems. But not agree with your > Don't even need the echo. Because `jq ''...

@omgdenzuko Oh, seems I misunderstood your commment > Don't even need the echo. On ipleten's approach > `echo "$(jq '' inplace.json)" > inplace.json` To > `jq '' inplace.json > inplace.json`...

From perspective of a hy freshman without lisp experience, it would be a lot better if there's an offical tool. An officail transpiler can make `hy -> py` and translate...