News for hackers. Stuff that matters.
Re:Best CPUs for Workstations by mixmastamyk on Tuesday May 05, 2020 @12:07PM (#23081558)
Any editor can use sshfs.
Re:Best CPUs for Workstations by jedimastert on Tuesday May 05, 2020 @12:12PM (#23081604)
It's a little more tightly coupled than just a file system; it's essentially a fully headless mode.
Re:Best CPUs for Workstations by mixmastamyk on Tuesday May 05, 2020 @01:04PM (#23082215)
Tightly coupled is often not desirable.
Re:Best CPUs for Workstations by pkaye on Tuesday May 05, 2020 @01:36PM (#23082573)
the VSCode SSH extension runs the editing process remotely so it doesn't need to transfer the entire file.
Re:Best CPUs for Workstations by ubercow13 on Tuesday May 05, 2020 @01:59PM (#23082813)
It's not really clear that that would be faster... sshfs would load the file once (maybe slow, but it's usually a tiny text file) and then do all editing locally in memory. If the editing process is remote, every edit you make is going to involve round trips over the network? That sounds awful?
Re:Best CPUs for Workstations by streb-lo on Tuesday May 05, 2020 @03:57PM (#23084216)
If you're doing C++ in VSCode the C++ extension will use ripgrep to index your project. When using sshfs, rg runs on the local machine, causing sshfs to load your entire project which if it's large can really slow you down.

The VSCode remote extension installs extensions onto a VSCode remote client installed on the remote machine. So the C++ extensions spawns rg processes on the remote which is a lot faster.

Re:Best CPUs for Workstations by mixmastamyk on Tuesday May 05, 2020 @02:11PM (#23082952)
Maybe but folks have been using vim/ssh since the days of vi/telnet. It’s not a problem under normal conditions.
Re:Best CPUs for Workstations by pkaye on Tuesday May 05, 2020 @02:27PM (#23083114)
Its closer to vi over ssh.
Re:Best CPUs for Workstations by mixmastamyk on Tuesday May 05, 2020 @01:40PM (#23082623)
That could be helpful, text files are often tiny though.
Re:Best CPUs for Workstations by wegs on Tuesday May 05, 2020 @05:38PM (#23085389)
sshfs (and samba for that matter, even more so) can cause odd kernel behavior and crashes, unfortunately. They're great when network is 100% perfect, if you never suspend laptops, etc. If any of those assumptions go away, you've got a mess.
Re:Best CPUs for Workstations by NullPrefix on Tuesday May 05, 2020 @06:42PM (#23085988)
>odd kernel behavior and crashes

I was under the impression that sshfs is based on FUSE, which works in userspace.

Re:Best CPUs for Workstations by wegs on Tuesday May 05, 2020 @08:14PM (#23086599)
It is. That doesn't prevent bugs in FUSE itself.