André Vitor de Lima Matos

Results 64 comments of André Vitor de Lima Matos

@bunnxr Create in your images (main) partition: 1. a folder called `ventoy`; 2. inside the folder, a **plain text** file called `ventoy.json` (full path `/ventoy/ventoy.json`), and inside it, paste the...

You can use: ```ts import type { Network } from '@ethersproject/networks'; import type { Block } from '@ethersproject/abstract-provider'; ```

Mybe a workaround: https://github.com/microsoft/TypeScript/issues/44449#issuecomment-855257014

Template Literals could be modelled as a refinement of the string codec. Unfortunately, there seems to be no way to let TypeScript knows about the relationship between a template string...

We've detected something similar. Seems like sometimes connections would fail (`connectionState` becoming `failed`) after some time they got `connected` (possibly caused by the number of peers on the machine going...

Minimally reproduce example, NodeJS v14.15.0: `$ node index.js` ```js const wrtc = require('wrtc'); const pc = new wrtc.RTCPeerConnection(); setTimeout(() => pc.close(), 5000); ```

I compiled NodeJS v14.15.1 with debug symbols enabled, and managed to extract some more information: `gdb` on the segfault location: ``` (peer_connection.cc:4771): Session: 2359087827330281600 Old state: kStable New state: kClosed...

Workaround for us, which works great because it also allows pending promises, timers and handlers to complete gracefully (or not) before exiting: ```js process.on('beforeExit', (code) => process.exit(code)); ``` Notice `beforeExit`...

While we wait for proper flake support, here's my `shell.nix`, to avoid having to to use `nix-env`, if anyone finds it useful: ```nix { pkgs ? import {} }: let...