Live data from Hacker News

GitHub’s engineering team has moved to Codespaces

github.blog

311–320 of 704 posts

Re: GitHub’s engineering team has moved to Codespaces

#311

Earlier quoted context omitted.

These tend to be early stage startups who went with BaaS to get around resource constraints and couldn't survive the rapid need to exfiltrate their data and build a backend with a gun to their head. Larger companies generally have the survival sense not to sharecrop business critical functionality to such a degree. Which is to say, you wouldn't have heard of them, because they never got big enough to be known to anyo…

Do you consider AWS Lambda and such to be BaaS? I'm pretty new to the field and have been focusing on AWS 'serverless' as the backend for most projects. Would you say this is bad practice overall?

(I'm not heavily experienced with Lambda but) I don't think you're in too bad a position, at least from what I've seen, as there does seem to be a portability story wrt those serverless functions.

The objection here isn't to hosting per-se – most companies aren't in the business of maintaining PostgreSQL and should consider outsourcing that task early on. If your host of choice shuts down, that's a standard service, you can dump and restore your DB and move on. Annoying but NBD.

The danger with jamstack or BaaS or similar approaches is working yourself into a place where a proprietary service API is baked into your product as a critical, fundamental dependency; if and when the host shuts down, you're in extreme trouble. That's what I'd heavily caution against.

(There's an argument that when the proprietary service is run by an MS or AWS or Google "they won't go bankrupt" so there's no risk, but even then those companies shift priorities and shut down services not infrequently).

Re: GitHub’s engineering team has moved to Codespaces

#312

Earlier quoted context omitted.

I don't know what you mean by this. I've often worked in the park so I can be around my kids playing and get some more glimpses of them growing up than I otherwise would in an office. Plenty of commits have been made at a picnic table.

I mean your work suffers when you're distracted by pigeons and small children.

I've never been one to go 8 hours straight. The refresher pays off in the long run. Not to say my way of working is any better, but the things get done and I'm more satisfied with my work life balance.

And with us soon going back to home schooling (thanks delta...) children happily playing outside is much less distracting than pent up children yelling inside. And mama can't do it all.

Re: GitHub’s engineering team has moved to Codespaces

#313

Ugh, now not only you don't own your code ( ahem copilot cough ) you also don't own the tools to develop code. The direction the web is taking is worrisome. The issue is not so much senior devs, but new devs. If they start off with things like that, there' so much magic under the hood, they won't understand how anything works. They don't understand they don't own shit until it's too late. I remember when I first saw…

It's funny because we told people not to trust big companies, they tell us we are paranoid, they do it, they pay the price for it, then they say we were right, then they do it again. MS changed. Google changed. Apple changed. Why do one expect github to never turn evil ? Haven't learned enough from history ? Don't let them control your entire stack! Don't let anybody control the entire of anything. There is a differe…

I don't understand the panic.

This isn't a black-box system, it's github. Owning your artifacts is as simple as setting up a job to automatically clone the repo a couple times a day (assuming your entire company is working through the cloud interface and not a single person already has a local checkout).

Lots of companies put their entire databases in AWS - owned by a company that's already evil, no speculation required - where the egress charges make offsite backups a challenge. And western civilization hasn't collapsed yet.

If GitHub changes its policies one day or shuts down the service... just push to a new repo and switch over to regular workstations.

Re: GitHub’s engineering team has moved to Codespaces

#314
post #47

Earlier quoted context omitted.

GitHub isn't forcing anybody to use a web IDE. The most broadly used access interface is VSCode. Then there are heretics like me who choose to ssh in so we can use Vim. This is described in the article.

How is the latency btw? I SSH to a beefy box that sits under my table and sometimes I hate the latency of running emacsclient over X. But I am not using VIM and I don't use terminal emacs because of clipboard integration betweeen remote emacs and local desktop. I know there are hacks to make clipboard sync between local and remote emacs sessions without running emacs over X11 forwarding, but I always found those to b…

not op, but amazon uses "cloud desktops" with SSH access company wide, and no one really has latency issues there. So its def something supported at some companies...

I don't know how many people would want to use graphic applications over the network however, seems like it would be janky

Re: GitHub’s engineering team has moved to Codespaces

#315
post #251

Hello! Blog post author here. Wanted to quickly comment on how we support offline folks or those working on an unstable connection! The short version: we publish a container image into the GitHub Container Registry that closely tracks github/github’s devcontainer image. Folks can pull and use locally with VSCode remote containers or run directly in Docker. The github/github checkout is local in this case and mounted…

So I can use the same workflow with codespaces connected to a local container? Is that documented somewhere?

https://code.visualstudio.com/docs/remote/containers

Re: GitHub’s engineering team has moved to Codespaces

#316
It's all fun and games until big corps start adopting cloud-everything approach. There will be no devices left, only thin clients connecting to someones cloud and logging everything you see and do.

Imagine your employer watching your every keystroke and getting instant performance metrics. Then some OverseerAI reporting that you didn't type for 10 minutes already, sending a notification to your boss.

Re: GitHub’s engineering team has moved to Codespaces

#317

Earlier quoted context omitted.

How does setting up a desktop IDE work?

Currently, VS Code is the primary method of connection to each Codespace, and we do not support other editors officially. If you’re looking to connect via SSH with your desktop IDE, we do have a workaround here: https://github.com/microsoft/vscode-dev-containers/blob/main... -- and I use this regularly for Jupyter Notebooks. :)

This (quick to provision vms of any size you want with your code base etc) for jupyter sounds like a colab and mode killer...the way both of those make it hard to actually check in code leads to a ton of copy and paste code etc. You all should really advertise this capability.

Re: GitHub’s engineering team has moved to Codespaces

#318
post #199

Earlier quoted context omitted.

I'm in the GitHub Codespaces personal beta: counterintuitively, the UI/UX of Codespaces is as performant as VS Code on the desktop.

To my mind that's more of an indictment of VS Code than a recommendation for Codespaces.

unless you've used it, then you'd know that its browser backing is nothing to frown at since its a great piece of software that works great.

Re: GitHub’s engineering team has moved to Codespaces

#319

Earlier quoted context omitted.

I don't know what you mean by this. I've often worked in the park so I can be around my kids playing and get some more glimpses of them growing up than I otherwise would in an office. Plenty of commits have been made at a picnic table.

I mean your work suffers when you're distracted by pigeons and small children.

eh let it suffer

even my (and many devs') "suffering" work is worth good money - or at least our employers continue to think so :)

Re: GitHub’s engineering team has moved to Codespaces

#320

Does this mean all the engineers are forced to VS Code now?

No, the article pointed out that vim and Emacs users can ssh into the hosts and edit code there. No VS Code use required

New developers will get in using vscode web ide, and have no easy way to switch.
Post reply on HN