Callum McIntyre

Results 54 comments of Callum McIntyre

Thanks @timolins! I'd be happy to write a PR for this if you'd be open to that?

I've seen something similar on delay - I think it's because something internal converts it from `2s` (for example) to `{"delay": 2000000}`. Seems like that's happening before something that tries...

That sounds great to me! I think you've definitely got the right idea :) I'd lean toward putting everything expensive into/called as part of the constructor as much as possible,...

> How to manage this stmt.free Hmm I think for our use case I'd skip the prepared statements. Generally they'd be a must to protect from malicious input variables, but...

I'd go with a CDN for now. We could consider moving it into the package though when we move to multiple packages (when we merge https://github.com/slipHQ/run-wasm/pull/92), so that the bundle...

I suspect this one's going to be tricky, looks like the same issue in desktop Safari:

Indeed! These are the console errors when running the default plt code: ``` [Error] Recursive call to fatal_error. Inner error was: (anonymous function) (pyodide.js:1:27994) (anonymous function) (pyodide.js:1:10551) (anonymous function) [Error]...

Throwing a breakpoint in at `[Error] TypeError: Invalid argument type in ToBigInt operation — pyodide.asm.js:54990` Function is: ``` function invoke_viiii(index, a1, a2, a3, a4) { var sp = stackSave(); try...

I did take a look at their issues and couldn't find anything that looked super close to this. Might have missed it though, seems weird if we're the first to...

Thinking a bit more about this I think we have a few options here. - We could make the overwritten `console.log` also write to the console, my initial suggestion. The...