Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sidju
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
sidju
3y ago
Not sure if there is a misunderstanding here. I'm not using the original ed binary (though I could have and it would probably have been smarter), I wrote my own full implementation as a library to also change some things that annoyed m
2.
▲
by
sidju
3y ago
Most of the initial data on the heap is all of the embedded pre-formatted syntax definitions, which I decided was a small price to pay for a quicker startup (and since `cargo install` is unable to include any bundled syntax definitions). As
3.
▲
by
sidju
3y ago
It's extremely interesting to read their nearly recognizable syntax and at the same time nearly completely foreign concepts. In case anyone else wishes to read the qed manual, here is the link I found after a while spent searching: ht
4.
▲
by
sidju
3y ago
It isn't too late yet, you can be the one to bring The Standard Editor to the Webshit masses! The backing library https://github.com/sidju/add-ed could either be run through https://neon-bindings.com&#x
5.
▲
by
sidju
3y ago
You seem to misunderstand "freezing up on me" to be about slowness, that was a crash leaving the window open that occurred every so often for me despite a relatively simple emacs setup. My initial frustration resided in the comple
6.
▲
by
sidju
3y ago
Is the delusion that they exist, or regarding what is reasonable? I'd like to know what kind of deluded I am.
7.
▲
by
sidju
3y ago
I can confirm that it created two binaries of basically every dependency and I don't know why (tried to look into it but couldn't find anything), but at least in my case both don't run. (I looked at the running process ID and
8.
▲
by
sidju
3y ago
You wouldn't believe how often I run `bat` to quickly read some source code. It is nearly constantly open on my computer. It is just so easy to run, easy to use, can open multiple files and is so readable. Why would I open an editor wh
9.
▲
by
sidju
3y ago
Oh, yes. I find ed to be excellently usable since the most common code editing operations are (in my perception) well supported in ed: - moving or copying chunks of code (`m` and `t` commands) - deleting or replacing chunks of code (`d` and
10.
▲
by
sidju
3y ago
The greatest crime is adding a `help` command and printing errors by default. Fools who stumble into `ed` unprepared should find no solace, it is a crime against the world itself to offer them aid and escape.
11.
▲
by
sidju
3y ago
Sorry to disappoint. Would have been difficult to make it this feature rich and have as explicit errors if I wrote it in C. Reasons for choosing rust were: - Error handling style, easy to include context - Easy to import and use syntax high
12.
▲
by
sidju
3y ago
That sounds strange. Could you give reproduction instructions? (OS, architecture, rust version) Maybe there's some kind of upstream bug I should report.
13.
▲
by
sidju
3y ago
The original inspiration was part annoyance at how badly most editor's keybindings map to dvorak and part how modern editors sometimes crash. With a command based editor you just type commands, no fancy keybindings that get jumbled whe