4 ms·
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
by soheil 5y 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.
- brian_herman 5y agoHe 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.
- deleted 5y ago[deleted]
- mbreese 5y agoI 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.
- JoeQuery 5y agoExactly this. I used a combination of mosh, byobu, gnu screen, and vim. These days I use vscodes remote development setup more often.
- tpoacher 5y agoMosh sounds interesting! Thanks for mentioning!
- theshrike79 5y agoOn the front page right now: https://news.ycombinator.com/item?id=28150287 https://news.ycombinator.com/item?id=28150287 =)
- soheil 5y agoIf 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.
- albertgoeswoof 5y agoFiles 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
- deleted 5y ago[deleted]
- jimmyvalmer 5y agoI believe he's using the word "work" very loosely here.
- JoeQuery 5y agoI 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.
- jimmyvalmer 5y agoI mean your work suffers when you're distracted by pigeons and small children.
- JoeQuery 5y agoI'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.
- whateveracct 5y agoeh let it suffer even my (and many devs') "suffering" work is worth good money - or at least our employers continue to think so :)
- JoeQuery 5y agoHah! 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.