Jonathan Pugh

Results 11 comments of Jonathan Pugh
trafficstars

I wrote webworker that can run dweets. It's very smooth and works well. It's just that the worker thread doesn't have access to the canvas dom element so some dweets...

Seems the PageData type is also missing and needs to be defined. So I'm using this until a deeper solution is found: ``` Dom7(document).on("page:init", '.page[data-name="exercise-edit"]', function( event: Event ) {...

Ok I found another solution for this. Using the "declare global" will allow us to extract the "detail" parameter from all Events. But is this what we want? Cause not...

@nolimits4web Great, thanks. So this code does the trick to be able to access event.detail without any type errors: ``` import { Router } from 'node_modules/framework7/modules/router/router'; declare global { interface...

That's the way I imagined it would be done.

Looks good. Congestion control is a good idea. But looks like only encrypted datagrams. I would like to see an option for unencrypted datagrams for performance critical applications.

> I ran into this issue on trying to run a file that is the result of `esbuild --bundle`. A fix for this is to build `better-sqlite3` in `node_modules` first,...

On Ubuntu I had a similar error and had to do: `$ sudo apt install build-essential llvm clang` You will need to do the equivalent on CentOS.

I see we can detect directories using the "-x" option. But it would be more convenient and efficient with the trailing slash.

> So, there is clearly going to be massive security concerns with this API... as there has been with every attempt to do this in the past (e.g., https://github.com/sysapps/tcp-udp-sockets ......