News for hackers. Stuff that matters.
Re:Ask HN: Developer laptop that doesn't suck in 2024 and it... by wruza on Friday October 11, 2024 @04:15AM (#41807385)
Can you guys work through RDP all day? Latency kills me on any type of connection.
Re:Ask HN: Developer laptop that doesn't suck in 2024 and it... by sshtml on Friday October 11, 2024 @12:49PM (#41811098)
Most remote dev machine setups I've seen involve some combination of SSH, port forwarding, mounting remote drives, etc., not actually running remote desktop. So you don't RDP and open your IDE on the remote machine, you open the IDE on your cheapo laptop and use whatever SSH or remote filesystem mechanism it provides to connect it to your dev machine. Services like Tailscale make it easy to establish the connectivity between devices. Doesn't work for all dev workflows though, sometimes you're forced to use the GUI on the remote host.
Re:Ask HN: Developer laptop that doesn't suck in 2024 and it... by wruza on Friday October 11, 2024 @01:02PM (#41811224)
Thanks for the explanation, but then an IDE just runs on a cheapo laptop with a mount even slower than hdd. I don’t get the idea of the advice then. It stops being a cheap terminal and becomes a cheap laptop?
Re:Ask HN: Developer laptop that doesn't suck in 2024 and it... by sshtml on Friday October 11, 2024 @02:32PM (#41812031)
Well, most of the IDEs still perform all of the work on the remote machine and just stream IO to the laptop, so you're not actually editing files on the laptop, you're sending file editing commands to the remote machine, all the compilation and execution stuff happens on the remote machine, etc. For example, VS Code has client/server components which make the experience feel seamless and handle network disruptions to hide latency and make it feel like it's all happening locally. This setup works pretty great if you're mostly editing text files, i.e. source code.

Actually mounting a remote disk solves a different set of problems, such as if you need to edit something that doesn't support doing the work on the remote machine or if you want to explore the remote disk in Finder or some other GUI.

Re:Ask HN: Developer laptop that doesn't suck in 2024 and it... by wruza on Friday October 11, 2024 @06:55PM (#41814686)
Oh, didn’t know that, thanks!