News for hackers. Stuff that matters.
Re:Deno v1.8 – support for WebGPU, private modules, Intl, an... by goldsteinq on Wednesday March 03, 2021 @08:32AM (#26328031)
I was curious about how `Deno.permissions` prevents things like "requesting the permissions, then clearing the screen and asking to press 'g'". Apparently, `Deno.permissions.request()` just stops program execution waiting for user response, so it's impossible to do anything after this call. It also seems to reset text color, so it's impossible to make text invisible. iTerm custom escape sequences allows program to change color profile on the fly. Setting bg and fg to the same value hides Deno messages and allows someone to conceal which permissions are being granted.
Re:Deno v1.8 – support for WebGPU, private modules, Intl, an... by goldsteinq on Wednesday March 03, 2021 @08:41AM (#26328128)
Re:Deno v1.8 – support for WebGPU, private modules, Intl, an... by caspervonb on Wednesday March 03, 2021 @10:06AM (#26329257)
Thank you! we'll look into it!