News for hackers. Stuff that matters.
Re:SQLite 3 Fiddle by g3 on Thursday May 26, 2022 @11:31AM (#31519591)
Or, if you want to go one level deeper, v86 has a complete Linux environment with both python and sqlite running locally: https://copy.sh/v86/?profile=archlinux&c=python%20-ic%20%27i...
Re:SQLite 3 Fiddle by kzrdude on Thursday May 26, 2022 @02:40PM (#31521938)
That's pretty trippy, I have my caps lock globally disabled (mapped to ctrl) in X config, but inside that v86 window, caps lock works. And it uses some hardcoded (US) keymap, too.

I'm surprised, I didn't think browsers would receive those detailed keycodes.

Re:SQLite 3 Fiddle by dorianmariefr on Thursday May 26, 2022 @05:32PM (#31523609)
`event.key` returns the key with the mappings, e.g. "E"

`event.keyCode` returns the physical key, e.g. "KeyE"