Live data from Hacker News

GitHub Codespaces

github.com

561–570 of 619 posts

Re: GitHub Codespaces

#562

Earlier quoted context omitted.

I made the transition from PyCharm to VSCode a couple of days ago and... it's not been smooth. Virtualenv doesn't automatically activate when I first open the workspace, pylint doesn't work yet VSCode thinks it's working and debugging just doesn't seem to work full stop. I need to get back to it and try to fix it because I do like VSCode as a whole.

Pro-tip for VSCode: if you have a .venv directory in the root of your project, VSCode will try to activate it when you open the project. A few other tools have adopted that convention, too, and now at my job so have we. Rather than sticking virtualenvs in some odd location, the venv for ~/projects/mystuff is ~/projects/mystuff/.venv, and now it almost always Just Works.

Mine is in the root directory but it's called venv, without the preceeding dot. I'll dig around the settings to see if I can change what it looks for.

Strangely it works if I close the initial termnial it spawns and open a new one.

Re: GitHub Codespaces

#563

Earlier quoted context omitted.

I made the transition from PyCharm to VSCode a couple of days ago and... it's not been smooth. Virtualenv doesn't automatically activate when I first open the workspace, pylint doesn't work yet VSCode thinks it's working and debugging just doesn't seem to work full stop. I need to get back to it and try to fix it because I do like VSCode as a whole.

One thing that helps me managing Python environments in VS Code: I start VSCode from the command line with my virtual environment activated ("code -n ."). With this, I rarely have issues with VSCode picking up my environment. Hope that is of some use to you.

I will try it, thanks.

Re: GitHub Codespaces

#564
post #264

Earlier quoted context omitted.

Well, you must then love Oracle. I mean, what you are saying is just silly. Of course the producers of FOSS want something in return, but sometimes it's not nefarious as you might imagine it to be. It could be a strategical investment to create an ecosystem out of technology that you know the best and can influence its direction, to then sell customizations and develop services on top of it. Like MS is doing here. Or…

It could be a lot of things. Would you like to argue that it is some specific thing that couldn't possibly lead to the sort of oligopoly or monopoly position that Microsoft has eagerly sought and maintained in the past? If so, which exact thing?

I'm arguing that the premise of non-free software and services being somehow better because there must be a catch is just ludicrous. So no, I don't want to argue "it is some specific thing".

I don't think MS is very charitable company and dislike many things about them, but sometimes a deal is just mutually beneficial. Better at times than with paid products.

And if Microsoft has something terrible planned, the community would just fork the project and go in a different direction.

Moreover I want to add that people, and companies, change. Just like a nation isn't the same it was 100 years ago, Microsoft too might have toned down its malicious practises. Just as a thought to you. We don't anymore blame Germans for being Nazis either.

Re: GitHub Codespaces

#565

Earlier quoted context omitted.

Sounds like a form of (job?) security-through-obscurity, no? The data was always there, but not all managers were savvy enough to process it and weaponize it. In the end, obscurity is just not a durable defense. Better to earn trust with good managers, and avoid companies that let bad managers flourish. If you don't have the ability to quit a bad manager or bad working environment, then no amount of tooling choices b…

>weaponize it Oh boy. Had chills from my time as a Jr. Engineer at Accenture. Still remember the day a manager looked at me like I offended his entire family for saying that lines written didn't mean productivity achieved.

It can take years for some to learn that the real metric is how many lines were deleted.

Re: GitHub Codespaces

#566
post #225
post #31

Earlier quoted context omitted.

Their remote development capability is amazing and was quite a game changer for me. Having a nice ide where all of the plugins work on a remote server as if everything is local is so nice!

remote dev (and I guess now codespaces) is one of those "clear differentiators" that is actually getting me to move away from intellij and friends.

But intellij has had remote dev support for longer than vscode has even existed, what am I missing?

Re: GitHub Codespaces

#567
post #80
post #4

Interestingly, it seems that Microsoft hast just renamed its "Visual Studio Online" (which was basically the same as this new product) to "Visual Studio Codespaces". So it seems that they are merging these two products. (See: https://visualstudio.microsoft.com/services/visual-studio-co... ) EDIT: They actually announced the renaming of the product a couple of days ago: https://techcrunch.com/2020/04/30/microsofts-vis…

Codespaces uses the same underlying technology as Visual Studio Codespaces to bring a fully GitHub-native experience to our GitHub users. We've been working with multiple teams on the Visual Studio side to make this happen (I work as the product lead on Codespaces)

I don’t know Visual Studio Codespaces.

Something I don’t yet understand about GitHub Codespaces is: can you execute a Dockerfile from it? Can you execute multiple ones? Can you execute docker-compose configurations?

Is it just an editor, or can it also spin an AWS (or Azure?) instance of the code you are writing?

I have seen people mention they can code from an iPad; but that’s not a complete workstation replacement unless it is easy to run your code.

Re: GitHub Codespaces

#568
post #548

Earlier quoted context omitted.

Do you really want to write coffee on your phone? I couldn't imagine wanting to every do that myself. Am I weird? :)

I will say it would be nice to review a PR while standing in line for groceries.

Why would you need Codespaces for that? They released a standalone GitHub app recently just for this purpose. Not sure if it also works with the web version. But Codespaces seems to be the wrong tool for this job.

Re: GitHub Codespaces

#569
post #221

Earlier quoted context omitted.

No the JetBrains IDE is the product. This phrase generally refers to things like Facebook or Google. They offer tons of free services in order to gather data about you and sell it to advertisers.

Thanks. VS Code is actually no saint in this regard. MS collects metrics through VS Code's "telemetry" option (I think toggle-able to off, not sure) and this data has no doubt been used to improve VS Code and help MS build better product offerings and hence more rake in more revenue.

https://vscodium.com/

Re: GitHub Codespaces

#570
So now that the IDE is on the web, it would be pretty neat to be able to automatically launch interactive debugging sessions when breakpoints are hit in CI jobs.

Does any CI solution already offer something like this?

Post reply on HN