Live data from Hacker News

Vim.wasm

rhysd.github.io

101–110 of 291 posts

Re: Vim.wasm

#101
How do Emscripten cross-compiled things and WASM compiled things handle the display? Is it a framebuffer they blindly draw to, do they need shim layers added to interpret normal output to window-scaled in-browser output?

Re: Vim.wasm

#104
post #80

I am impressed that :imap jk :imap kj works great. However it seems like outer and inner text objects aren't working at all. E.g. daw, ci)

is this a common key binding? I've seen it before and it makes a lot of sense but I'm wondering if I will run into issues. I don't want to disrupt my flow and muscle memory and later regret it.

Unless you type a lot of graph algorithms notes (and have to write "Dijkstra"), you rarely encounter the key sequence jk. It makes it easier to work with vim and never move to hit the Esc key.

Re: Vim.wasm

#105

Earlier quoted context omitted.

We have strayed too far from RMS's light

RMS is the Terence McKenna of open source: a fundational figure whose ideas where way ahead of the curve, but also a too extreme to attract the mainstream.

Just curious. In what way was Terence McKenna ahead of the curve? All I've heard from him seems really crazy. Suggesting the most plausable explenation for the origin creatures you speak with on DMT is that they're other dimensional aliens (or something close to that).

I'm really confused to why so many people whom I respect find him insightful.

Re: Vim.wasm

#106

Earlier quoted context omitted.

RMS is the Terence McKenna of open source: a fundational figure whose ideas where way ahead of the curve, but also a too extreme to attract the mainstream.

Just curious. In what way was Terence McKenna ahead of the curve? All I've heard from him seems really crazy. Suggesting the most plausable explenation for the origin creatures you speak with on DMT is that they're other dimensional aliens (or something close to that). I'm really confused to why so many people whom I respect find him insightful.

[deleted]

Re: Vim.wasm

#107
post #80

I am impressed that :imap jk :imap kj works great. However it seems like outer and inner text objects aren't working at all. E.g. daw, ci)

is this a common key binding? I've seen it before and it makes a lot of sense but I'm wondering if I will run into issues. I don't want to disrupt my flow and muscle memory and later regret it.

I guess it depends whether you want to write about playing blackjack with Dijkstra in Reykjavik!

I might need to try it out for a bit. It has the nice feature that if you press it in normal mode there's usually no effect.

Re: Vim.wasm

#108
Think I crashed it. Did a :w foobar and got an error and the page was stuck, with the computer fan ramped up.

Re: Vim.wasm

#109

Earlier quoted context omitted.

RMS is the Terence McKenna of open source: a fundational figure whose ideas where way ahead of the curve, but also a too extreme to attract the mainstream.

Just curious. In what way was Terence McKenna ahead of the curve? All I've heard from him seems really crazy. Suggesting the most plausable explenation for the origin creatures you speak with on DMT is that they're other dimensional aliens (or something close to that). I'm really confused to why so many people whom I respect find him insightful.

I like that fella for his ability to craft narrative. his vocabulary and thought labyrinths are top notch. not necessarily believing all the stuff he did.

Re: Vim.wasm

#110
post #16

Earlier quoted context omitted.

Try: Ctrl and [ That should send the same as Esc (ASCII 27). I seem to remember this working on a new iPad Pro keyboard.

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 [    1111011 {
   0011100 FS     0111100     1011110 ^    1111110 ~
   0011111 US     0111111 ?    1011111 _    1111111 DEL

[0] http://www.catb.org/esr/faqs/things-every-hacker-once-knew/
Post reply on HN