Re:Tracking developer build times to decide if the M3 MacBoo...
by kaishiro on Friday December 29, 2023 @06:44PM
(#38811533)
One thing I've never understood (and admittedly have not thoroughly researched) is how a remote workspace jives with front-end development. My local tooling is all terminal-based, but after ssh'ing into the remote box to conduct some "local" development, how do I see those changes in a browser? Is the local just exposed on an ip:port?
[ Parent
| on HN ]
Re:Tracking developer build times to decide if the M3 MacBoo...
by avbor on Friday December 29, 2023 @06:54PM
(#38811596)
You can expose the browser port via ssh, with a command line flag like `-L 8080:127.0.0.1:8080`. So you can still preview locally
Re:Tracking developer build times to decide if the M3 MacBoo...
by kaishiro on Friday December 29, 2023 @07:00PM
(#38811636)
Ah yeah, tunneling it back makes perfect sense - not sure why I never considered that. I'll explore that a bit - thanks for the heads up!
Re:Tracking developer build times to decide if the M3 MacBoo...
by MonaroVXR on Friday December 29, 2023 @11:09PM
(#38812761)
If you're using vs code, vscode is doing that automatically
Re:Tracking developer build times to decide if the M3 MacBoo...
by fragmede on Friday December 29, 2023 @07:05PM
(#38811672)
Yes, modulo networking VPN magic so it's not available over the wider Internet for hackers to discover.
Re:Tracking developer build times to decide if the M3 MacBoo...
by Ambroos on Friday December 29, 2023 @10:17PM
(#38812568)
Facebook's web repo which includes all the PHP and JS for facebook.com and a bunch of other sites is one big massive repo. For development you claim out a server that has a recent checkout of the codebase. Right after claiming it it syncs in your personal commits/stacks you're working on, ready to rebase. You access that machine on a subdomain of any of the FB websites. As far as I remember it was something along the lines of 12345.od.facebook.com, but the format changed from time to time as infra changed. Client certificate authentication and VPN needed (that may no longer be the case, my info is 1y+ old).
There was an internal search provider (bunnylol) that had tools like putting @od in front of any FB URL to generate a redirect of that URL to your currently checked out On Demand server. Painless to work with! Nice side benefit of living on the same domain as the main sites is that the cookies are reused, so no need to log in again.
Re:Tracking developer build times to decide if the M3 MacBoo...
by notzane on Friday December 29, 2023 @10:46PM
(#38812664)
My company is fully using cloud desktops for engineering except iOS and Android development (we get faster laptops instead).
Re:Tracking developer build times to decide if the M3 MacBoo...
by kaishiro on Friday December 29, 2023 @10:48PM
(#38812675)
Are you using a product or have you just rolled your own solution?
Re:Tracking developer build times to decide if the M3 MacBoo...
by neurostimulant on Saturday December 30, 2023 @12:05AM
(#38812930)
Have you tried vs code remote development plugin? It can do port forwarding (e.g. forwarding port 8080 on your local machine to port 8080 on the remote machine).