News for hackers. Stuff that matters.
Re:Vscode.dev: Local Development with Cloud Tools by amanzi on Monday July 24, 2023 @08:50PM (#36856334)
I've known about this for a while, but have only just noticed a new (to me, at least) feature: Remote Tunnels

Docs: https://code.visualstudio.com/docs/remote/tunnels

This is super useful for me - this would let me easily connect back to my desktop PC at home while I'm away or connected to other networks.

Re:Vscode.dev: Local Development with Cloud Tools by OptoContrarian on Monday July 24, 2023 @09:03PM (#36856446)
I use tunnels to access my entire dev environment within my Quest Pro.
Re:Vscode.dev: Local Development with Cloud Tools by yaysyu on Monday July 24, 2023 @09:12PM (#36856531)
How often and for how long do you code like this? What has your experience been like? I always find the idea of coding in VR intriguing but am unsure of what the actual experience would be like.
Re:Vscode.dev: Local Development with Cloud Tools by cgijoe on Monday July 24, 2023 @09:29PM (#36856676)
If you don't mind my asking, I am honestly curious about this. Is the QPro high enough resolution to do actual dev work inside it?
Re:Vscode.dev: Local Development with Cloud Tools by nickstinemates on Monday July 24, 2023 @09:49PM (#36856854)
Not for me, and I am sad about it. I wish it was.
Re:Vscode.dev: Local Development with Cloud Tools by MuffinFlavored on Monday July 24, 2023 @10:05PM (#36856966)
What would the benefit of that be?
Re:Vscode.dev: Local Development with Cloud Tools by nickstinemates on Monday July 24, 2023 @11:18PM (#36857448)
The idea of this[1] working for me led me down a rabbit hole of all of the VR appliances in an effort to make it work.

For me, getting into the flow of programming is as much about the environment as it is anything else. Scenery, keyboard, mouse, desktop environment, form factor, etc. I am peculiar about all of it depending on context (collab space vs. in transit vs. coffee shop vs. at home hacking)

To have a device where I could be literally floating in space with all of the context surrounding me sounded like nirvana. Until you actually try it and the world is blurry, resolution is shitty, fonts look like garbage, etc.

I've settled for a very large ultra wide monitor - 5120x1440@240hz resolution which takes up ~3 screens worth of horizontal space without the bevel. If I could get one twice as tall pixel and physical dimension wise I'd buy it in a heartbeat.

I want so bad for it to work, but it doesn't.

1: https://medium.com/immersedteam/working-from-orbit-39bf95a6d...

Re:Vscode.dev: Local Development with Cloud Tools by cubefox on Tuesday July 25, 2023 @06:22AM (#36860296)
How likely do you think it is that it works with the Apple Vision?
Re:Vscode.dev: Local Development with Cloud Tools by nickstinemates on Tuesday July 25, 2023 @11:30AM (#36863763)
I've become disillusioned at the prospect, will try again when there's significant breakthroughs.
Re:Vscode.dev: Local Development with Cloud Tools by Kon5ole on Tuesday July 25, 2023 @08:34AM (#36861317)
>If I could get one twice as tall pixel and physical dimension wise I'd buy it in a heartbeat.

I can recommend using a 8k 55" TV as a monitor. They can sometimes be found for around 1000 USD and I am quite happy with mine after several years of use.

Re:Vscode.dev: Local Development with Cloud Tools by nickstinemates on Tuesday July 25, 2023 @11:41AM (#36863964)
How far away do you sit from it and how curved is it (if at all)?
Re:Vscode.dev: Local Development with Cloud Tools by Kon5ole on Tuesday July 25, 2023 @03:54PM (#36868400)
About arms-length. No curve, I run it at 175% scaling which at 55" makes everything large enough that even the corners are easily readable.

I used to run a 42" 4k monitor before this at 100% scaling, which made everything a little too small in the corners and I kinda wished it was curved, but with the 55 it's no problem.

Re:Vscode.dev: Local Development with Cloud Tools by zmmmmm on Tuesday July 25, 2023 @02:10AM (#36858565)
It's a very personal thing. Some people happily do it all day, others declare it a blurry mess. I'm somewhere in between. I enjoy doing stints of 1-2 hours in there just for a change of scenery and to help me focus. It's perfectly usable for me, but it's not as good as a real multimonitor setup in general.

A key element is that although the resolution is lower than a real monitor, you get to make the monitor bigger. So the limit ends up being when you start having to turn your head to see what's on the other side of the monitor, which sounds benign but is an ergonomic disaster.

Re:Vscode.dev: Local Development with Cloud Tools by cubefox on Monday July 24, 2023 @09:18PM (#36856577)
Does developing like this for an extended period of time actually work?
Re:Vscode.dev: Local Development with Cloud Tools by hfkwer on Tuesday July 25, 2023 @08:27AM (#36861253)
What wouldn't work about it?
Re:Vscode.dev: Local Development with Cloud Tools by cubefox on Tuesday July 25, 2023 @08:52AM (#36861489)
Not being exhausted from eye strain or lack of focus.
Re:Vscode.dev: Local Development with Cloud Tools by zmmmmm on Tuesday July 25, 2023 @02:11AM (#36858575)
to clarify - are you saying you use the Quest browser to connect to the vscode.dev environment? Or do you use an app like Immersed with a desktop browser? Just curious if the Quest browser is powerful enough for it and works well enough.
Re:Vscode.dev: Local Development with Cloud Tools by EVa5I7bHFq9mnYK on Tuesday July 25, 2023 @08:52AM (#36861497)
I use NordVPN meshnet tunnels to connect to everything. Even when VPN is blocked by DPI, meshnet tends to stay on.
Re:Vscode.dev: Local Development with Cloud Tools by watermelon0 on Tuesday July 25, 2023 @01:14AM (#36858203)
> For instance, right now you can have 5 tunnels registered for your account. If you'd like to create a new tunnel and already have 5 others registered, the CLI will pick a random unused tunnel and delete it. Please note this limit is subject to change.

I have a feeling that this limit used to be 10 tunnels/user, did they decrease it?

Re:Vscode.dev: Local Development with Cloud Tools by santiagobasulto on Tuesday July 25, 2023 @08:17AM (#36861161)
What'd be the difference with the Remote-SSH option?
Re:Vscode.dev: Local Development with Cloud Tools by hfkwer on Tuesday July 25, 2023 @08:22AM (#36861214)
You need an SSH server running and the remote machine to be accessible (through NAT, firewall) to connect there with SSH. With tunnels, it's inverted: the remote machine needs to be able to connect to the central server, which is typically much easier; then you can connect to it.
Re:Vscode.dev: Local Development with Cloud Tools by EVa5I7bHFq9mnYK on Tuesday July 25, 2023 @08:49AM (#36861457)
Seems like you also must have a github account to use that.
Re:Vscode.dev: Local Development with Cloud Tools by santiagobasulto on Tuesday July 25, 2023 @08:55AM (#36861523)
Thanks, this makes sense. I think I still prefer the SSH option, but I have to give Tunnels a try.
Re:Vscode.dev: Local Development with Cloud Tools by r3dp0w3r on Tuesday July 25, 2023 @10:44AM (#36863019)
I love Remote Tunnel and the Remote SSH feature. Super useful for developing on Linux on Raspberry Pi or a cloud VM when experiment with different Linux distros.
Re:Vscode.dev: Local Development with Cloud Tools by ethanppl on Wednesday July 26, 2023 @11:26AM (#36879320)
Port forwarding is also very useful: https://code.visualstudio.com/docs/remote/ssh

It allows me to rent a cheap cloud machine, build and test code there instead of upgrading my laptop.