benjamn
benjamn
DDeno
Created by benjamn on 11/25/2023 in #help
deno repl start time in container
Why does deno repl take a couple seconds to start in a container the second time around, and starts nearly instantaneously the second time around in the host system? It's on OS X with colima (deno is running on x86) FWIW.
4 replies
DDeno
Created by benjamn on 8/8/2023 in #help
console.log in a worker - capture or hide output?
Running under deno repl with no permissions, this prints 'yee'. In a browser's dev tools it would do the same thing, except there is a drop down to select which process's consoles to view, defaulted to showing all.
new Worker(URL.createObjectURL(new Blob(['console.log("yee")'], {type: 'text/javascript'})), {type: 'module'})
new Worker(URL.createObjectURL(new Blob(['console.log("yee")'], {type: 'text/javascript'})), {type: 'module'})
Is there a way to control what shows up on console? Is overwriting console a solid approach?
2 replies
DDeno
Created by benjamn on 4/18/2023 in #help
[have workaround] "deno" and "deno repl" aren't producing output
I typed in "deno" and nothing happened, and I thought it was finally doing the right thing when no arguments are given to a scripting language command, which is to accept input on stdin, but it seems to just be a glitch. Any idea why it's hanging for me when I type deno or deno repl? It works when I do deno run hello.js and deno help. deno --verbose isn't a thing.
10 replies