Live data from Hacker News

Vscode.dev

code.visualstudio.com

141–150 of 273 posts

Re: Vscode.dev

#141

Ok, you can use VS Code like an editor in a browser. But how are you going to compile / run the code if you can't install binaries on that machine?

The code is still on your local disk. Compile and run it however you want.

Re: Vscode.dev

#142

This seems really cool, and seems like it took a lot of man hours to put together. However, I'm not sure who this is for. Downloading and installing an application is not a particularly big ask for the type of people who use VSCode. The browser version will always be a compromised experience, given the inherent limitations of browser applications. Even if it works 99% of the time, that 1% would add enough friction to…

I suspect those "inherent limitations" will continue disappearing over time. It wasn't that long ago that file-system access was one of the biggest ones. WASM and/or Workers could bridge the gap on language servers, building/running code, etc. Not much would be left at that point

And I think there are definitely cases where installing is a barrier to entry; think about people in locked-down enterprise environments, or students coding for the first time (on their own computers or otherwise). We're talking about an IDE becoming as readily available as Notepad (or even more so, since it's available on all platforms)

Re: Vscode.dev

#143
If you want to run you own version of this - try this https://hub.docker.com/r/linuxserver/code-server, its very easy to configure. linuxserver has created code-server - which is vscode running in container. I have been running it in my personal network for nearly a year now. It great because it lets you code from any device. Sometimes I use this to quickly script out things on my ipad and then execute whatever script I have created using Terminus.

Re: Vscode.dev

#145
post #3

Not open-source yet, the best alternatives for self-hosting right now are: https://github.com/gitpod-io/openvscode-server https://github.com/cdr/code-server Update: also check the discussion about their differences https://github.com/cdr/code-server/discussions/4267 (IMO both are much slower and worse than vscode.dev)

>IMO both are much slower and worse than vscode.dev

This just... doesn't make sense other than browser differences and the resources of the server actually running Code.

Is the free trial of GitPod slow because it's running in a resource-constrained environment. Sure. (edit: let me be clear, GitPod is an amazing end-to-end experience and they have a very generous free tier for OSS projects/users, but it IS free unless you pay).

Is self-hosted GitPod or code-server slower than VSCode? Not enough that I can notice when they're side-by-side looking identical, I can't tell which is which. In fact, I would challenge a single person to show me a side-by-side version-to-version comparison that shows VSCode.dev or VSCode native being significantly faster than code-serevr given that they're virtually the exact same thing running in Chromium instead of ... Chromium/Electron.

(On an unrelated note, when even CloudFlare can switch to HCaptcha, and HN can't... well, I guess it's in line with the amount of technical care this place gets all-around.)

Re: Vscode.dev

#146

This seems really cool, and seems like it took a lot of man hours to put together. However, I'm not sure who this is for. Downloading and installing an application is not a particularly big ask for the type of people who use VSCode. The browser version will always be a compromised experience, given the inherent limitations of browser applications. Even if it works 99% of the time, that 1% would add enough friction to…

Being able to run VS Code with only browser APIs and no Electron/Node.js is still a big win for PWA proponents even if it doesn't offer anything new.

Re: Vscode.dev

#147
post #5

Very cool stuff. I remember being at Build 2018 and asking the PM on the Live Share team if they had any plans to bring VS Code to the browser. Maybe do managed environments for labs and companies (what GitHub code spaces now is), would be great for education. Lots of students (especially non-CS nerds, like the physics kids with a CS requirement) find environment setup to be one of the hardest parts. He seemed to thi…

On every HN thread I count the minutes until it turns into a personal rant against some big company, and it never disappoints.

Re: Vscode.dev

#148

Two features missing right away: Terminal and Remote SSH.

+1 I'm curious how it would be implemented. Would we have to send ssh credentials into some proxy service to get MITM'd? Browsers can't communicate ssh directly? WebRTC hack? As some others have mentioned: linuxserver/code-server on docker would scratch this itch a little bit.

Re: Vscode.dev

#149

If you want to run you own version of this - try this https://hub.docker.com/r/linuxserver/code-server , its very easy to configure. linuxserver has created code-server - which is vscode running in container. I have been running it in my personal network for nearly a year now. It great because it lets you code from any device. Sometimes I use this to quickly script out things on my ipad and then execute whatever scri…

These are two very different things. vscode.dev runs fully locally. It accesses files from your local disk, and doesn't need a network connection (after initial setup/asset caching).

code-server requires the backing server to be available at all times, and all editor features are pulled from the server via a websocket connection. You can pause and resume whatever you were doing from a different device.

Re: Vscode.dev

#150

It's not only an awesome technical achievement, but it has also so much potential to be useful. And yet, something at the back on my head is screaming: WARNING! I have the intuition that, on the long run, using more and more tools that are not on your own machine will create a dependency on systems big companies control. And something tells me we are going to pay for it in the end. So I'll stay away. Maybe I'm gettin…

This is running on your machine though. The browser downloads vscode as a SPA-style thing, and runs the editor in the browser sandbox, and can edit local files/directories.
Post reply on HN