5 ms·
I think people like not having their physical machine tied to their dev environment. IMO "the way" to do this is with ssh and tmux, not a web app. As long as pe
by swiley 5y ago
I think people like not having their physical machine tied to their dev environment. IMO "the way" to do this is with ssh and tmux, not a web app. As long as people have choices I guess it doesn't matter.
- io 5y agoQuotee here. I agree! I use tmux and vim via ssh for github.com development in Codespaces.
- Emigre_ 5y agoInteresting… Can you use Neovim? Can you persist you custom vimrc config and plugins between sessions?
- dcreager 5y agoYes, I use neovim myself! Codespaces looks for a dotfiles repo under your user account, which you can use to install any personal customizations. Mine, which installs a bunch of neovim plugins and configs, is here: https://github.com/dcreager/dotfiles https://github.com/dcreager/dotfiles
- Emigre_ 5y agoAh, fantastic! That sounds like a really good solution. I also have my carefully crafted configuration preferences for Neovim, and wouldn’t be happy with codespaces it didn’t allow me to configure it. But for what you are telling me, they have done it in a smart way. Nice. And it’s nice that they had the people who work mostly in the terminal in mind when creating this. Neovim is a great editor right now, it has been such a fantastic evolution over Vim, adding a language server, for example. Cheers, thanks for replying.
- selykg 5y agoIf you read the article, that's an option with Github's code spaces setup. > Visual Studio Code is great. It’s the primary tool GitHub.com engineers use to interface with codespaces. But asking our Vim and Emacs users to commit to a graphical editor is less great. If Codespaces was our future, we had to bring everyone along. snip > From there, GitHub engineers can run Vim, Emacs, or even ed if they so desire.
- nsonha 5y agoThe lame part is that they have to spin up vscode just to ssh
- vbezhenar 5y agoI did not understand that part. Every heavy Emacs or vim user have its own customizations of editor. How does it work with shared image?
- zacmps 5y agoJust use an sshfs mount and a local editor.
- gnufied 5y agoI think this defeats the purpose of Codespaces, because it would mean that all the code runs locally and only thing that remote server provides is storage?
- gpanders 5y agoThe codespaces can have their own dotfiles.
- dcreager 5y agoThe repo owner gets to define the base Docker image that’s used in the codespace. And then it also looks for a dotfiles repo under your user account, which you can use to install all of your personal customizations. You can see mine at https://github.com/dcreager/dotfiles https://github.com/dcreager/dotfiles
- FlyingSnake 5y ago> I think people like not having their physical machine tied to their dev environment. I'm curious to know if this statement is true. Most experienced developers these days have a regular desk and a chair where they like to code and focus. How prevalent is the move-and-code scenario?
- gray_-_wolf 5y agoIt's not just that. There is also the matter of laptop getting broken (we all have proper backups, right? right?), stolen, ... So I do see the appeal in thin client. My only issue is that the experience his closely tied to latency, so sometimes working over ssh is... irritating. Especially on mobile connection.
- dcreager 5y agoIt’s all Docker images under the covers, so our devs also have the option of downloading and running that image locally instead of in a Codespaces VM. That was always possible before, of course, but Codespaces gave us the impetus to invest the effort in Dockerizing the dev environment more rigorously.
- gray_-_wolf 5y agoOh, that is cool. Sounds like a nice mix actually. Local vim, browsers, known system. And container with mount-bind to actually compile and run stuff in.
- hutzlibu 5y agoI like it a lot. My usually setup is chrome dev tools and some node servers fired up, so quite easy to replicate. But I still prefer to just move my laptop around.