Hacker News new | ask | show | jobs
by 101101001010 2243 days ago
I find remote code editing to be useful when I don't have the necessary resources on my machine such as disk/memory/gpu and I am still prototyping a solution, which happens a lot in ML/DL.

I agree that remote code editing is not strictly necessary since you can perform such task with sshfs or git push/pull workflows.

On the other hand, having the remote environment in your local IDE quickens the development and you don't have to setup a full replica of your environment locally.

edit: ML/DL here stands for Machine Learning/Deep Learning

2 comments

I also tried SSHFS, but there are hiccups. I did not really debug this. But sometimes PyCharm just freezes for 5-10 seconds. Which is extremely annoying, basically this makes it unusable. Maybe too much files are opened at the same time or so. Maybe I have to increase the cache size. I don't really know...

Also doing any Git action (git commit or so) over SSHFS is way too slow because it needs to go through the whole project directory. Maybe it's fine if the repo and project is smaller. But in this case, a Git commit can easily take a minute (while locally it takes a few milliseconds).

A Git push/pull workflow would also be quite annoying when you are prototyping and just want to try out things.

I get that through remote interpreter and automatic upload features.