Hacker News new | past | comments | ask | show | jobs | submit login

And it's even more useless fluff than it was back in the day because people used Vim and Emacs in large numbers back then. These days the vast bulk of professional developers use Visual Studio Code. Compared to VSCode vs. IntelliJ, Vim vs. Emacs is a sideshow at best.



> Vim vs. Emacs is a sideshow at best.

Until you need to ssh into a server and edit something.


It's funny you mention that.

https://www.murilopereira.com/how-to-open-a-file-in-emacs/

The summary is that the author tried to open a remote file and Emacs froze for several seconds. He dived deep into finding out why that was and how to fix it, pointing out how great Emacs's introspection is that one can find solutions to problems like these.

And then two thirds of the way into his essay, he has this:

> More recently, I’ve been very put off by the performance and stability (or lack thereof) of building large scale software via Tramp. This has been sufficient to have me looking out again. On a whim, I installed VSCode for the first time and tried its “remote development” capabilities and holy smokes are they good. Getting up and running was trivial and the performance was great. Saving files was snappy and LSP worked out of the box. What a different experience from my carefully-put-together, half-working, slow Emacs setup.

And then later:

> Improve Tramp performance to match the experience of using terminal Emacs via SSH, or VSCode’s Remote Development.


Well for what it's worth, here is something about VS Code LSP and embrace-extend-extinguish.

https://news.ycombinator.com/item?id=25719338


This isn't about LSP but specifically pylance. Let's not confuse the issue.

(Incidentally, I don't even use lsp on Emacs, although I may give it a try).


I think the thing is that pylance is a python LSP. And it's proprietary. So they embraced python LSP, extends it so that the additions are proprietary. And pylance might become the defacto python LSP. Typical EEE. Python is hugely popular, it's everywhere - so even if one hates it, might end up having to use it.

Also the remote extensions are proprietary [1]. This has been discussed on HN before.

[1] https://github.com/VSCodium/vscodium/issues/240


> So they embraced python LSP

They did not embrace LSP. They invented it. LSP came from MS.

> And pylance might become the defacto python LSP.

Nothing is preventing someone from creating another python LSP that will work with the LSP tools. MS is not unique in this. Jetbrains makes proprietary products that are well embraced by the Python community.


> LSP came from MS.

Thanks, today I learned.

Yeah anyone is free to create, same as anyone is free to create remote extensions for VSCodium. So far nobody seems to have done it. Even if somebody does it, it might not match the quality and features of MS extensions.

MS has a history of EEE. Jetbrains doesn't, and as far as I know they are no bullshit no dark patterns high quality.


I get where you're coming from. It's just amusing that many people talk about how great it is to use LSP with Emacs, but are simultaneously recommending not to use MS tools :-)

If one is concerned enough not to use VSCode because it is MS, then one should also not use LSP.


LSP is great. The thing about VSCode is dark patterns. VSCode is great, one sees that it's MIT licensed, downloads it uses it and is like wow nice. After a while realises that the official build is not FOSS licensed and contains telemetry code. So one finds 'VSCodium' which is a community port without telemetry. You carry on working but now remote things are not working. One looks why - the only reason is MS made it proprietary. Remote is essential for lots of developers. One feels f*cked by MS. Few years ago, Github's 'Atom' editor was getting popular. Then MS bought GH now Atom reduced to atoms - can't see it anywhere - though getting updated.


> They did not embrace LSP. They invented it. LSP came from MS.

I don't think this changes the issue: EEE became CEE (Create, Extend, Extinguish).


VS Code supports editing files over ssh. https://code.visualstudio.com/docs/remote/remote-overview


Yeah but you have to install 100+mb into a .vsserver folder to get it to work


sshfs?


Unfortunately, sshfs doesn't work on modern macOS.


I just tested and it works for me, I'm fully up to date too.


That is great! I thought Big Sur had deprecated kernel extensions which would prevent osxfuse and sshfs from working.


This always comes up. How can we still not edit a remote file via ssh using whatever you want!?!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: