Live data from Hacker News

Vim.wasm

rhysd.github.io

111–120 of 291 posts

Re: Vim.wasm

#111
post #66

Earlier quoted context omitted.

Someone from the era of short usernames on unix boxes, along with "esr" and "rob". To more directly answer, it's Richard Stallman. Known for the free software movement and emacs among other things.

Let's not forget "ken" and "dmr".

And "djb"

Re: Vim.wasm

#112
post #100
post #98

Earlier quoted context omitted.

It's true, even though most people don't go "full RMS", he's clearly a force for good in the Universe, and he's fighting the good fight for the benefit of all of us.

RMS has done a lot, but perhaps his main role now is to encourage others to do things. In the good fight, people shouldn't thank him for his service, but rather, join up.

Indeed. The fight is not over, it barely started. The dangers RMS told us about have materialized in full force now.

Re: Vim.wasm

#113

Earlier quoted context omitted.

Oh, right. I have control remapped on caps lock, so it's caps lock + [.

This is where https://github.com/alols/xcape is amazing. I'm not sure, but I think Karabiner can be configured to act the same way.

Karabiner is amazing. I have caps lock mapped to ctrl-cmd-alt when pressed with some other key, and esc when pressed and released alone.

Re: Vim.wasm

#115

This is pretty dope, but I'm terrified about the fact that Firefox lets it take over Ctrl+L, Ctrl+1, or any other way (that I can find, at least) of breaking out of Vim with a keyboard aside from closing the tab with Ctrl+W - which is even more terrifying since I use that in Vim a ton, too :O ...but this is pretty cool :D

This is a problem. The browser wants to be a computing platform, so it's injecting itself between the actual OS and the software you'd like to run. But it's still an userland program, so it uses regular keyboard shortcuts. Shortcuts the software you'd like to run needs as well.

I had a similar problems with Emacs in the browser (I stumbled upon it a long time ago). The keys I needed the most were also the keys intercepted by the browser.

Re: Vim.wasm

#117
post #94
post #88

Earlier quoted context omitted.

Both alternatives that I mentioned, Flash and PNaCL did have open source implementations available, it is just a matter of following the links I posted. WASM doesn't offer any security over internal data corruption as buffer access within linear memory aren't validated for data bounds or nullability. So it is possible, for a WASM module generated from C or C++ code, to provide input data to its functions in such a wa…

> Both alternatives that I mentioned, Flash and PNaCL did have open source implementations available, it is just a matter of following the links I posted. At least for Flash I remember that the OSS implementations couldn't run many real-world flash programs. Did this change later?

It was good enough to run Unreal.

Re: Vim.wasm

#118
The timing on this is really interesting for me. I've been working on a full web vim product (plugins, multi-session, cloud storage, backup, etc.) and I'm pretty close to a beta product (POC is fully functional, just polishing a few rough edges). If anyone is interested in hearing more, email me at webvimbeta@gmail.com

Re: Vim.wasm

#119

Where’s the escape key on my iPhone?

Android at least lets you install custom keyboards - and there are hacker keyboards that have escape on ...

Very useful for SSH and termux.

Re: Vim.wasm

#120

Earlier quoted context omitted.

This is incredible. I think I needed this about 40 years when typing on a small Teletype (non-ASR33) without an escape key.

The reason is interesting as well. Paraphrasing from this blog post[0] When you format the ASCII table in four columns, you can see `ESC` and `[` on the same row. Holding `CTRL` essentially ~lops off the first three bits~ subtracts 64, resulting in `ESC` ... ... 0011000 CAN 0111000 8 1011000 X 1111000 x 0011001 EM 0111001 9 1011001 Y 1111001 y 0011010 SUB 0111010 : 1011010 Z 1111010 z 0011011 ESC 0111011 ; 1011011 […

> Holding `CTRL` essentially lops off the first three bits

No, it inverts the 7th bit (or subtracts 64).

The Linux `ascii(7)` man page has a similar table, but with 2 columns. The first 32 control characters listed there have their "caret notation" character in the opposite column.

Post reply on HN