Earlier quoted context omitted.
Would be nice to be able to use vim (or any other editor of your choice) in web text boxes.
There are browser extensions that offer this. E.g. the excellent Tridactyl for Firefox lets you pop up a gVim window for any text box if you press Ctrl+i.
Vim.wasm
81–90 of 291 posts
Re: Vim.wasm
#82Re: Vim.wasm
#83This is absolutely incredible. I never thought this would be possible-- wasm opens a new phase of software development and deployment.
As if Flash (http://adobe-flash.github.io/crossbridge/), PNaCL (https://developer.chrome.com/native-client/reference/pnacl-b...) never existed.
Re: Vim.wasm
#84sorry for being dense, but I can't seem to save files or do anything seemingly practical. Is there any practical use cases for this library, or is this purely along the lines of "Hey checkout this cool hack!"
I haven't tried it yet, but that should still make it as useful as pasting text into vim to make changes quickly. Things like highlighting a sentence and making it all lowercase or uppercase is very simple. (v/V/C-v for one of the visual mode selection types, then pressing u after the select makes it all lowercase, and ~ can swap case if you had capslock on and typed "sOMETHING LIKE THIS"). There's also :sort for qui…
Re: Vim.wasm
#85:! cat /etc/passwd [blocked] sorry can't help myself trying this. but good job!
Re: Vim.wasm
#86Earlier 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.
Relevant: https://old.reddit.com/r/StallmanWasRight/
(Disclosure: RMS was a childhood hero, since I read the Steven Levy "Hackers" book, right up there with Mr. Rogers, Richard Feynman, Neil Armstrong, and Marvin Minsky. One day, RMS reached out, to ask me to sign over copyright, to the FSF, of a tiny bit of Emacs code ("Yes, sir!"). Today, I occasionally have the privilege of exchanging emails with him.)
Re: Vim.wasm
#87This is absolutely incredible. I never thought this would be possible-- wasm opens a new phase of software development and deployment.
Yeah, right. As if Flash ( http://adobe-flash.github.io/crossbridge/ ), PNaCL ( https://developer.chrome.com/native-client/reference/pnacl-b... ) never existed.
It also doesn't have any of the security issues because its limited to things JavaScript can do.
Re: Vim.wasm
#88Earlier quoted context omitted.
Yeah, right. As if Flash ( http://adobe-flash.github.io/crossbridge/ ), PNaCL ( https://developer.chrome.com/native-client/reference/pnacl-b... ) never existed.
Wasm is company and technology independent and went through the proper process for becoming a standard rather than being forced in by some corp hoping to take over the internet. It also doesn't have any of the security issues because its limited to things JavaScript can do.
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 way that it would compromise its behavior from the outside, even though it doesn't escape the sandbox.
Politics.
Re: Vim.wasm
#89...but this is pretty cool :D
Re: Vim.wasm
#90Earlier quoted context omitted.
Would be nice to be able to use vim (or any other editor of your choice) in web text boxes.
This is the logic that makes everyone move their workflow into emacs. A lot of what we do is text editing, so having a good text editor everywhere makes sense. Some programs like mutt can also drop in to your editor of choice when composing an email. Imagine if we all had vim for typing up these HN comments. I'd like something like this to be more feasible. Maybe there could be a standard for forums that gives you vi…