6 ms·
Developing Online with GitHub Codespace
- Abhinav2000 6y agoWow! Will definitely try this out. I currently manually do my website design and content through HTML/CSS on a Github Repo through the online editor, that is set up as Github Pages. Yes of course, I could a proper setup with my own IDE and then github desktop or something similar, but honestly I got so many things going on in my life, I have no interest in setting up everything perfectly - theres a mental cost associated with that. Also when I am switching between my Mac, my vmware Linux and my work Windows PC, I don’t have to worry about setup - just login and get typing! I would guess I’m not the only one! EDIT: Looks like it wont be free after the beta. That reduces the value proposition a fair bit. Because even though I wrote above that I prefer avoiding doing Github Desktop setup for every new repo, I’m not going to pay for that service given it doesn’t take that long to do and is relatively straightforward. Unless it was a very nominal charge. However GitHub is a great service, so I would support them just for the sake of supporting, but that’s separate to the value proposition of this.
- corentin88 6y agoI was wondering myself who, apart from education purposes, is going to use that. Was wondering if it was only targeting PC + Linux users in low revenue countries. But you just opened my eyes.
- blackbear_ 6y agoAssuming you use 25 gigs of space and develop for 8 hours a day, 5 days a week, you reach the cost of a laptop (1200 / 2000) in two to three years. Without the flexibility of a laptop, and the hassle to set it up. So the pricing is not over the top.
- hvidgaard 6y agoOn the other hand, you can seat yourself at any computer with internet access, and have access to your complete environment. It also forces you to use CI/CD to be effective.
- hunts 6y agoYeah, e.g. writing code from an iPad Pro.
- tasogare 6y agoThe pricing per se it not the whole part of the issue, it’s one for sure, but more worrisome is the fact of Microsoft pushing cloud development. They can terminate a Github account at will, so doing cloud-first development is not a good idea. I’ll stay on local-first, cloud as backup.
- bildung 6y agoYou'd still need a computer, though, so now you pay for two laptops, one physical and one virtual?
- aszen 6y agoTried it on a few small repos, I don't know if it's just me but the whole thing is quite slow when using the web version. Connecting via visual studio code to an existing codespace was lot faster especially scrolling and searching files. I'm not sure if it's the beta release but I have my doubts on the web version being suitable for sustained usage on large repositories. The base image being used in these environments supports lots of common languages but I'm more excited about each repository defining their own development environment via docker container images and .devcontainer files for specifying extensions and settings. This will finally allow people to contribute to open source without having to invest time in setting up the necessary tooling for the project. These devcontainers work locally too via the remote docker extension. All in all I expect this to significantly remove the barrier for participating in open source development.
- bob1029 6y agoWeb-based IDE is going to be one of those things requiring a paradigm shift before we have something suitable to replace a native desktop experience. I personally feel the answer is to run the entire show server side and send final rasters to the client. This would allow for complex composite view techniques that would otherwise be infeasible in the browser. For instance, you could integrate a VNC/RDP client into the view engine so that web users don't have to go side channel on these things. The argument for something like this from a security perspective is pretty substantial imo.
- donmcronald 6y ago> The base image being used in these environments supports lots of common languages but I'm more excited about each repository defining their own development environment via docker container images and .devcontainer files for specifying extensions and settings. Is that something that could run without GitHub / Codespaces?
- aszen 6y agoAbsolutely you can see the dev containers for many popular languages here: https://github.com/microsoft/vscode-dev-containers https://github.com/microsoft/vscode-dev-containers To get started all you need is docker, vscode + remote containers extension I have been using it to play around with multiple languages locally and also adding devcontainers for new projects to easily hop into isolated project development envs.
- jvermillard 6y agoI already package some of the toolchain I use in containers because vendors tends to depends on old version of libc or curl and never update.. After watching https://www.youtube.com/watch?v=-enIM4x-KPA https://www.youtube.com/watch?v=-enIM4x-KPA I I want to add it to my toolchain containers and have everything in one place. I wonder how it will be priced by GH or using alternatives like: https://github.com/cdr/code-server https://github.com/cdr/code-server But since most of C developers are now using vscode if the performance are fine this could change the way embedded software development tools are distributed. [Edit] the pricing is now public and looks fair: Instance Type (Linux) Per-hour rate Basic (2 cores, 4GB RAM, 32 GB SSD) $0.085 Standard (4 cores, 8 GB RAM, 32 GB SSD) $0.169 Premium (8 cores, 16 GB RAM, 32 GB SSD) $0.339
- bachmeier 6y agoCan anyone comment on Github Codespace vs CoCalc? I'm using CoCalc for the first time this year to teach my classes, and it's not clear what advantages this would have, since CoCalc gives you complete control over a full Linux environment and has collaboration set up out of the box.
- qz2 6y agoI fail to see the benefits of this. It’s just another set of immovable constraints on your development process and a charging model chucked on something that is 100% solved over and over again. Actually that’s software these days summed up really.
- bob1029 6y agoCan someone explain the benefit of the visual studio configuration? I can't see the value for some reason. https://docs.github.com/en/github/developing-online-with-codespaces/using-codespaces-in-visual-studio https://docs.github.com/en/github/developing-online-with-cod...
- whytaka 6y agoWhen will this turn to being able to launch azure instances of your software directly off of the repo page? To connect to db instances running on azure with multiple environments?
- scriptsmith 6y agoCodespaces allows you to develop in the cloud instead of locally. Developers can contribute from anywhere, on any machine, including tablets or Chromebooks, and there is no need to maintain local copies of intellectual property. That last part is what concerns me about these products. Eventually we may have to justify using a local dev environment, just as some developers currently have to justify using a laptop, as it's more 'risky' for the employer.
- Garbage 6y agoThe most risky part is when Github decides to delete your account or repository, you would loose all of your intellectual property, because it was all on the cloud.
- PradeetPatel 6y agoBut would they do it without a good reason? That sounds like a lawsuit in the making.
- chillfox 6y agoTheir reasoning hardly matters to the victim. But I don’t think they would outright delete data. Microsoft just appears more trustworthy in that area.
- choeger 6y agoOf course they will. Cancel culture is a thing, you know.
- hoseja 6y agoWhat if you name a branch in your repo "master"?
- stnmtn 6y agoYeah man I'm sure that they are going to ban you for this. For sure, that's definitely how the world works right now Please stop imagining things you are making up things in your mind just so you can get mad at them
- factorialboy 6y agoThe slow erosion of control. All your data is on the cloud. Developers coding online. No right to repair the devices you purchase. It's a disaster unfolding in slow motion. I recommend everyone who reads this must do their part to take back control. One of your computers must be a Linux. Diversify your clouds and mobile platforms. One of your browsers must be open source in the true sense. Take control your own data, at the very least have some sort of physical backup for the resources you create (code, music, videos, documents, etc.)
- qz2 6y agoYes. We're being sold a mainframe again. But a much much worse one. Now without the reliability, documentation, support and consistency.
- throwaway744678 6y agoAnd ownership.
- stephc_int13 6y agoCompletely agree. This is an extremely dangerous trend and this is why I stopped using VSCode as I think it is a potential trojan horse.
- Dayshine 6y agoAre you aware that VS Code is the driving force behind key standards such as the Language Server Protocol https://langserver.org/ https://langserver.org/ and Debug Adapter Protocol https://microsoft.github.io/debug-adapter-protocol/ https://microsoft.github.io/debug-adapter-protocol/? These standards have revolutionised IDE language support in the last few years meaning I can now run my code on a remote machine and connect to it using VS Code or any other LSP compatible IDE. I write a language server for a niche scripting language, and Microsoft's specs mean that I wrote support for VS Code and now Sublime text, Emacs, Vim, Atom, etc all just have support too. You can, right now, run VS Code on your Linux server, and another copy on your Windows desktop, and just use SSH to connect them seamlessly: https://code.visualstudio.com/docs/remote/ssh https://code.visualstudio.com/docs/remote/ssh Sure, this currently uses a Microsoft server to set up the connection, but I'm sure the moment they lock that down someone would fork the extension and provide an alternative.
- dozzman 6y agoI learned vim so that ostensibly I could fire up an editor and begin coding on pretty much any linux box I come across. This is essentially a solution to that goal, multiplied across any device with a web browser.
- pratio 6y agoI agree with the sentiments of loosing control but i wonder how practical this is. One of the best things about remote development has been able to code at home in my yard and pushing changes when needed. My experience using hosted VsCode wasn't good, in-fact our entire team felt it was slow and cumbersome, the issues raised ended up taking too much time devops time as well. As a commenter pointed out, we're back to mainframes. We got phones which got smarter and pretty damn powerful only for us to go back to web apps.
- fctorial 6y agoI do not see any 'Open in codespace' option in the menu mentioned here: https://docs.github.com/en/github/developing-online-with-codespaces/creating-a-codespace https://docs.github.com/en/github/developing-online-with-cod...
- waynesonfire 6y agothis is like docker for software development.