Hacker News new | ask | show | jobs
by soheil 1780 days ago
If you work from a park how do you manage your latency/connectivity to a remote server? It must get annoying fast when a pigeon flies over causing your hotspot to cut out.
5 comments

I think the point is that a small random drop in latency affects the local connection, but not the remote server. So, if your SSH connection is a little flakey for a minute, that’s fine. The remote server is itself stable. It is also likely connected to a much bigger pipe, so pulling in a remote container is much faster than if you were doing the same thing from your laptop in the park.

If you’re worried about your SSH connection being stable, mosh is another option.

Exactly this. I used a combination of mosh, byobu, gnu screen, and vim. These days I use vscodes remote development setup more often.
Mosh sounds interesting! Thanks for mentioning!
On the front page right now: https://news.ycombinator.com/item?id=28150287 =)
If latency is high/nondeterministic every time you hit refresh in your browser to see your dev changes the delay gets compounded, productivity suffers and frustration intensifies.
Files are stored in memory locally so there’s no network trip when editing, only on save, and it’s kilobytes per edit in the worst case
He could use something like GNU screen, or tmux, or his server could use something like XRDP or even RDP to continue when his connection goes out.
Hah! Thankfully that doesn't happen too often. Worst thing that happens is I forget to turn off my Hotspot when I get home and drop into a Zoom meeting on it and use all my 4g data on accident.
I believe he's using the word "work" very loosely here.
I don't know what you mean by this. I've often worked in the park so I can be around my kids playing and get some more glimpses of them growing up than I otherwise would in an office. Plenty of commits have been made at a picnic table.
I mean your work suffers when you're distracted by pigeons and small children.
I've never been one to go 8 hours straight. The refresher pays off in the long run. Not to say my way of working is any better, but the things get done and I'm more satisfied with my work life balance.

And with us soon going back to home schooling (thanks delta...) children happily playing outside is much less distracting than pent up children yelling inside. And mama can't do it all.

eh let it suffer

even my (and many devs') "suffering" work is worth good money - or at least our employers continue to think so :)