News for hackers. Stuff that matters.
Re:EmacsConf 2024 Notes by subjectsigma on Saturday December 28, 2024 @12:52PM (#42532848)
> It’s slow

What?

> the plugins are ass > the LSPs are horrible for basically anything which isn’t Typescript

What??

I need to edit projects on a remote machine nearly every day. (I do cross-platform Python dev so I need to run and test code on Windows and Linux VMs while working on a Mac.) Compare VSC’s Remote Edit plugin to TRAMP and let me know what you think. For me it’s not even a contest. TRAMP just simply doesn’t work in a majority of use cases and I’ve only had a few small hiccups with the VSC Remote Edit. Getting LSP plugins working over TRAMP on another machine is hell. I just use Emacs for org-mode and Magit now.

Re:EmacsConf 2024 Notes by d0mine on Saturday December 28, 2024 @02:54PM (#42533997)
Most of my work projects require remote machines. But I edit local files most of the time (in Emacs). Unit tests may be run locally sometimes (docker or even on the localhost). Other tasks/tests run remotely and setup may be rather involved (VSC would be of little help here) but it is easy to use/extend (Python glues together some ssh commands and cloud APIs). The code may be synced (non CI case) using a customizable wrapper around entr & rsync (more efficient, more control, more reliable than VSC plugin)— it helps with the fast feedback loop.
Re:EmacsConf 2024 Notes by IceDane on Saturday December 28, 2024 @01:58PM (#42533472)
Anyone comparing tramp to Vscs remote editing is delusional, and I say this as an emacs user.
Re:EmacsConf 2024 Notes by otabdeveloper4 on Saturday December 28, 2024 @04:31PM (#42534936)
VSCode remote editing is a broken piece of shit.

[Yeah, yeah, I know, I shouldn't be running NixOS and I should use a Microsoft (c) approved OS instead like all the cool kids. Wake me up in 100 years when Microsoft ceases to exist.]

Re:EmacsConf 2024 Notes by ParetoOptimal on Saturday December 28, 2024 @06:18PM (#42535735)
For fully local things like docker containers or across lan, its comparable if you use SSHControlMaster.

Also, the emacs approach uses very little resources. This matters if your LSP server takes 80% of your RAM. Vscode takes 20%, emacs/tramp doesn't.

Re:EmacsConf 2024 Notes by subjectsigma on Sunday December 29, 2024 @12:39AM (#42537837)
I can’t tell from this comment if this means you like VSC remote editing or dislike it
Re:EmacsConf 2024 Notes by zelphirkalt on Monday December 30, 2024 @04:15PM (#42553626)
This is not a fair comparison though, since you are relying on having some probable non-free software running on the server, while Emacs is able to give you remote editing and keeps your server clean.

You would have to compare what VSCode does to running Emacs server side and connecting with Emacs client to the server. Then it would be a fair comparison.