Это видео недоступно.
Сожалеем об этом.
github gave me a BEAST for coding 🤯 NO MORE VS Code
HTML-код
- Опубликовано: 2 июн 2022
- It just clicked for me - GitHub lets us ditch our computer and go back to the days of our programming ancestors, but with much, MUCH faster super computers.
Cheap laptop that supports dev mode: amzn.to/3MOeteO
My current dock: amzn.to/3ijmNFH
My latest dock with ethernet: amzn.to/36a98hz
My monitors: amzn.to/3ucOmWu
▶️My recent tests of M1 Pro/Max MacBooks for Developers - • M1 Pro/Max
▶️ Apple M1 and Developers Playlist - my tests so far - • Apple Silicon and Deve...
▶️ Apple M1 iOS Development Setup and Simulator performance Test | Intel Core i9 Comparison - • Apple M1 iOS Developme...
▶️ Apple M1 JavaScript Development Environment Setup - • M1 MacBook JavaScript ...
▶️ Apple M1 and VSCode Performance - • Apple M1 and VSCode Pe...
#softwaredevelopment #programming #codespaces #github
💻NativeScript training courses - nativescriptin...
(Take 15% off any premium NativeScript course by using the coupon code YT2020)
👕👚iScriptNative Gear - nuvio.us/isn
- - - - - - - - -
❤️ SUBSCRIBE TO MY RUclips CHANNEL 📺
Click here to subscribe: / alexanderziskind
- - - - - - - - -
🏫 FREE COURSES
NativeScript Core Getting Started Guide (Free Course) - nativescriptin...
NativeScript with Angular Getting Started Guide (Free Course) - nativescriptin...
Upgrading Cordova Applications to NativeScript (Free Course) - nativescriptin...
- - - - - - - - -
📱LET'S CONNECT ON SOCIAL MEDIA
ALEX ON TWITTER: / digitalix
NATIVESCRIPTING ON TWITTER: / nativescripting
Its strange to see Microsoft purchase something (Github) and actually do something with it instead of shelving and neglecting it for a decade
that trope is so old, get over it.
a lot of important things in tech depend on it.
@Unknown Nah, I'm totally sure that's not what they are doing.
what are they doing? gathering all our data and feeding it into their AI systems? they will use it for their own benefit, this would not be profitable otherwise
They have a huge collection of Codes,
Why would they want to Kill it
Title: "No more VS code"
Github: *confused VS noises*
It’s like vscode-server or the Remote extension, but fully automated. I’ve been using remote on a VM to run my x86-only projects on my M1 mac. Works incredible (aside from network reconnects when my vpn fails). There’s a remote vscode process running in the vm, you install extensions there, and it even keeps your terminal open if you disconnect.
Is it paid?
Try ZeroTier as VPN to your VM. No reconnects necessary.
@@_TbT_ this, this is what I use and it works very well 11/10 would recommend
@@athreyac2589 No
Alex, you should buy an iPad Pro 12, with keyboard and everything, and do a video showing if it is possible to be a professional developer on iPad. There are many videos about this, but i think your take would be interesting.
If you can SSH into something and vim then you have some sort of remote environment
I doubt you can have anything solid for online use tho, also constrained by safari being the only browser
No, it’s horrible. I tried this with many attemps with different setups(ios apps that are just webviews for vscode online, gitpod, self hosted vs code server, service hosted vs code server, etc). If i didn’t use it for drawing i would regret my purchase horribly. I couldve bought a macbook air for the same money and get all of the native apps instead of these ios crappy counterparts.
@@ciril2643 I doubt tablets pther than surfaces are any worth unless you can workwith ssh only
no, you can’t. it’s a horrible idea
@@ciril2643 You can set up and code real projects in most popular languages on Replit, no need for self hosting or ssh.
I've been doing CS50 through codespaces. I think they just started using it this year. It's remarkably good. I can switch between devices and what I've written is there, almost like Google Docs. I don't know if every codespace works like that.
They do work like that. If you like codespaces, you might like repl.it too. Pretty user friendly especially for someone who is new
@@niccster1061 Yeah, replit is pretty nice.
thanks for sharing about replit.
It's settled... i'm ditching the M1 Max going back to my Macbook Air with Codespaces
Or an M2 MacBook Air 🤪
lol. now that you’re a developer 😉
I cannot help it to shake my head at devs coding on Macbook **shakes head**
@@alejosky macs are literally better for coding than windows...
@@theendurance sure. Keep telling yourself that.
The VS Code on your machine is connected via SSH with their machine in the cloud.
You forget to close the old run and restart it.
You were targeting the old process.
That 4 core VM he was using costs $0.36 per hour. So if you leave it open through the night by accident, that's $3 right there. So for now I am not interested.
Good news, Codespaces shut down after 30 minutes of idle time and billing stops!
Oracle has 4 Core and 24GB RAM ARM machine for free.
You're welcome.
it's not updating because it's not the same instance running the server. they don't share the same filesystem so you have to force synchronization with your browser pod, if you started the server on your VSCOde connected to codespaces it would update seamlessly
Yeah hes forgot
And just like Copilot, another awesome service where ultimately Microsoft gets your code. Good video.
Well the code is already hosted on github if you're using their codespaces, the already have it, probably the only information they could get is about your workflow but i don't know if there is any reason to bother
@@FabrizioBeccaceci True, and I could look into this once I have time, but I'm going to go ahead and guess the telemetry agreement is quite a bit more liberal for this service than simply hosting code, but I could be wrong.
Can you explain this. I am a beginner, don't understand the "ultimately Microsoft gets your code." part... I'm a novice
@@nemeziz_prime they won’t explain it to you as they got no idea what they talking about, they are just click bating people like you to come here asking stupid questions based on your greed and fear
And just like that, another youtube making wild conspiracy theories.
Who do you think owns GitHub?
What's next? AWS/GCP/Azure having all your data since they're cloud providers and basically run the majority of the internet for you??
Me, talking to my phone: pull latest. PULL LATEST!
See this makes sense, this is a good step microsoft is making. Anyone can make a git service, but having it do all the work for you in the cloud to optimize the workflow, and ease of use for any developer is nice. As Alex said, a raspberry pi or a simple chrome book would enable you to do your work from anywhere on the go (with a minimal internet connection).
Yeah, now they want you to teach programming to their AI's.
you can self host it with VS Server, exist for years already
hi Alex...Alex from Kenya here...would love to see you look at different online "codespaces" that are best suited for full stack development. i.e GitPod, Eclipce Che , Replit e.t.c thanks
As well as Amazon Web Service Code Space alternative (forgot the name)
I use GitPod for full stack (mainly frontend)
Really happy with it
@@keshar-w Gitpod is amazing
No internet == no dev
no dev == no commits == no local repo
Exactly! Products like this barely make any sense to me. For development, a desktop (or a laptop) is just perfect. If a build pipeline requires much computational power, then you have many choices, from bare metal, through vms, to some cloud platforms.
Visual studio code is written in electron , the cloud development is possible by default like juypter notebook
I was just looking at this the other day and was curious. Very timely thanks Alex!!!
They actually announced at the ms build conf that they are extending it, so he’s not really just a lucky guy getting access
I have been using ssh to develop all things for last 2 3 years. You can choose any kind of server for your liking. I have been using standart vps with 8gb ram which is way more efficient than my computer. You can also have realtime development on a domain adress as well.
Codespaces is no new.
my though exactly
the point that it is just working and accessible with the integration in github is the feature. ofc remote servers with ssh and stuff aren't new, lol
@J Boss No I use a plugin in vscode or another IDE to direclty do it. No commandline included. Yes you can still connect from commandline but it wont be usable because all settings are managed by your ide or text editor. I think you have been misssing all the idea. Only commandline you need is literaly "ssh user@private_ip" and password and that is provided as ui on the ide or text editor. You have been missing a lot sorry but what github did is no new...
With github codespace, I can work on my project from my phone with Samsung Dex. I could create a new .Net Web API project from the terminal, and run it! This is kinda mindblowing!
get a pc peasant
@@vivarantx Is a Lenovo with 10th gen i7 and 32 GB RAM PC enough? 🤣
But my S22 Ultra is still way more portable, lol. 😂
You can do it locally with termux and neovim
This is just like code-server but on an cloud vm, will be interesting to see the final prices 👍
It'll be $99.99/mo
Isn't it similar to Heroku?
@@FacelookHK no
This isn't the type of service for which a cloud provider can charge excessive amounts. They'll have to compete with other cloud providers and self-hosted alternatives.
@@smith4591 ouch like adobe software lol
For chrome user developer, I think this is counterintuitive since you need more ram in order to use a browser
From what I'm getting from video a Codespace is simply a full-blown VM.
So that's why at 5:20 it didn't update (Codespace in browser is running in different VM, you didn't push/pull/rebuild into that one)
And at 6:50 you're still poking an old build running in different VM (one that you've created at 2:20, notice the ...45637... in URL of both editor and build running) than one you've pulled the changes into (...7934545). It probably stopped responding because GitHub noticed that you're not using ...45637... Codespace anymore, so it shutdown/halted the VM.
It's not a VM though. It clearly said loading container...
@@vazaruspaytonas7017 That's difference in implementation that has no effect on us (end users), so a VM or container would be synonymous/interchangeable terms there.
I don't know where you saw mention of containers, but landing page at 1:00 calls it a VM.
@@niter43 I was observing the readout on the screen @ 1:55.
@@vazaruspaytonas7017 It will be both. They will give you a vm (isolated) and start there a dev container which then is used from vs-code
@@sephirot7581 I understand now. Thanks to both of you for clarifying.
It’s super strange that the video is too bright so in order to see things properly, especially greyer tones I need to move the mouse so youtube dims the video haha
The pricing is ridiculous. You can basically buy a M1 Macbook Air for less than the price of getting the same config for a full year. And you get to keep it.... Go to pricing, do the math, 8 hours a day, 30 days a month, 12 months. For each price point you can actually buy the computer you're renting in just a year.
4 core, 8 GB ram - 0.36/h which means 0.36 x 8 x 365 = 1050.... and even if you pay the 1050 you still need a terminal laptop so it's 1050 + the price of a laptop VS buying an actual M1 Macbook Air, which you can sell afterwards :D
16 core, 32gb - 1.44 or 1.44 x 8 x 365 = 4200 .... which is the price of a loaded Macbook Pro 16. Better yet a base Macbook Pro 14 M1 Pro + a Studio Monitor.... I mean cmon....
This is just ridiculously expensive. Oh, and there are storage fees too....
SAP has been doing this for a while using a customized vs code called, SAP Business Application Studio(BAS).
Actual dev costs are gonna be through the roof over a longer period of time. Sure it does give you to do stuff remotely, but nothing beats the convenience of not having to connect to the internet and making builds locally
Like investing in a good laptop - the 14" 32GB M1 Pro Macbook looks like a good option that will last you for years, it would cost you about 2500 USD. now for a similarly specced cloud based codespace environment would surpass that 2500 USD mark in less than an year easily.
Edit -- If you can do a through analysis for a month and compare the costs and pros & cons
Agree. Unfortunately Codespace is expensive
A 4 core, 8gb, 8 hour/day instance cost $1050/year ($0.36/hour), and that is if you remember to turn it off after use.
But then your boss cant make more metrics about you
@@daviddickey9832 checkout aws Cloud9, same thing but alot cheaper
@@jkristia2011 This isn't for running code 24/7 like a VPS. This is for development. I'm sure they're going to have some limits in place to prevent abuse.
@J Boss when you're working with servers, knowledge and xp with command line comes in handy
You can actually develop full stack web applications in and on a pi. with a few docker instances and a database. I edited and ran my code there. It did die after 3 months though, probably from heat.
It probably died from frequent writing of SD cards. Those things are not made to run an programs with lots of writes.
I have been coding on my iPad with code-server on an old PC and it's easier to continue working at a different computer and have my port proxied with SSL without extra configurations.
@@harrytsang1501 have a pi 1 b that has been running ~10 years with sqlite3 logging data, millions of rows. That isn't the only device, either, I manage hundreds of them. Yet.. all the time I see brainlet posts like yours on the forums, youtube, reddit etc. Why?
KO Z, why do you think heat killed it when many people max theirs out for years without issue? Likely it was near idle temperatures most of the time coding.
@@gg-gn3re Whenever I checked its temperature sensors, it was near max threshold. The unit have a constant red light. Some EEPROM error on the bootloader from what I googled.
@@mentalmarvin red light? I'm assuming pi4 then, either way running at max temp for years usually has no issues.. but for $1 you can put a fan on it and half the temperature lol
No more VS code!? Had me all excited there for a minute. One still dreams
Webstorm 🤓
Is it just me or are the big tech companies trying to do away with personal computers? I hate the cloud other than storage. They’re moving *everything* to the cloud to where you’ll just have a monitor connected to the internet. They’ll have total access to everything that belongs to you just for “your convenience”
They can never do away with personal computers, but they can convince the market to move mostly online because of redundancy guarantees (back ups) and ease of accessibility for a subscription fee. I see this as a more business-oriented move as a normal family can simply go out and buy a USB for around $10 if they wanted to some of their important files. However, with a business, it's much easier to have an online accessible option where a single individual isn't completely responsible for some data and any changes are simultaneous. Can lower costs of damages by a lot if all you have to replace is a Chromebook.
I think you missed a lot of things. Do it like you normally would in your local. So always push/pull and `npm run start/dev` to make the port active. i havent tried, i also got the invitation but we are using other repo, unfortunately.
My friend works for Swiss bank and they don’t give laptop when you join as everything is maintained and run on cloud every 3 days you get new VM where you do development so you can work with you iPad as well.
Interesting github feature. What about private stuff (private keys, login credentials..) we have in dotenv ? I would be worried to use cloudy VScode with that..
You can host your own instance using code-server, and take control of the server running it.
You have a separate list of credentials for codespaces in your repository
So glad you figured it out! I was yelling at the screen 🤣
@alex it looks like it's running each codespace as a container, so it spins up a container with the code which is a distributed copy, and it probably won't change until you reopen it, or develop inside the codespace directly? maybe something like that?
Prices:
Cores RAM Price
2 core 4GB $.18 per hour
4 core 8GB $.36 per hour
8 core 16GB $.72 per hour
16 core 32GB $1.44 per hour
32 core 64GB $2.88 per hour
Codespaces storage charged when inactive
$0.07 per gigabyte per month
To show my age this sort of reminds me of the old mainframe or mini-computer days with a terminal hookup that had local backup (not as interactive as you have shown).
nothing new in computing: it's constant wheel reinvention
Yeah I read a book over the history of computers and seeing cloud computing take off really shows that history repeats itself
@@ivandagiant client-server computing. Next.
Everything old is new again.
I just got Codespaces this week too and it's awesome.
The development of the atom editor is abandoned for the development of codespace. It seems to be the future
This is nice for web apps, but seems hard to use for any back end development or low level applications with pythons/c++
No it's not. Frontend Dev is driven by youngsters who pollute the art with all their stupid JS-frameworks.
isn't this just Microsoft copying gitpod
Yes more videos on this please. Pros, cons, best practices etc. thanks
cons: your employer can spy on everything you are doing in real time
Thank you for this very useful video!
Despite of the fact of confusing stuff when you trying to update from/to your project!
I once to set up something like this on a digital ocean instance using VS code web. I don’t know how much GitHub will charge for this feature but I almost guarantee it’ll be more expensive than if you set it up yourself. It is pretty cool though especially if the project is web-based.
How much would you be willing to spend if that would be in cloud? Per month
You didn't need to commit push or pull, the code changes would have worked on the public endpoint if you made the changes in the code space that was tied to that endpoint. Also, you should be able to use nodemon or the like to restart the runner when you make changes to the files.
You already can't trust him if he's using VSC light mode
I did not continue any further after seeing light mode !
@@ShashwatPandeyindia totally agree :)
Try running a benchmark on your machine vs the codespace
And let us know the results.
It's cool and all, but a 32GB machine codespace costs over $300/mo. I guess I'd just save it to buy a beefy machine.
If you‘re using personal codespaces, you get charged 0
Finally a replacement for Cloud9. I loved Cloud9 when they were privately owned, but dropped it after Amazon bought it and forced setting up through their crap. If they had just bought Cloud9 and kept it separate I'd probably still be using it. I don't care for VSCode/MS, but if it ends up being close and reasonably priced then sign me up.
Reasonably priced? How much is that
@@alexb.9252 I would gladly pay $5-10 a month for Codespaces depending on what features it launches with. I expect they're going to take this extremely far eventually (similar to JetBrain's Spaces).
Cloud 9 is pretty good, but I wish they’d fix the mobile meta-data. I can use VS Code as a full screen web app on my iPad, but Cloud 9 stays stubbornly in a Safari tab due to Amazon refusing to update the metadata.
I went for codeanywhere but it slowly became a piece of crap
I discovered cloud9 just before Amazon bought it. I’m beginner in web development, it was fun. One day I come back to cloud9 and it was not there, I tried Amazon version,do not understand anything.
Just checked because of your video and I got in as well!
You should leave auto fetch on my dude
to me microsoft is usually seen as just another evil massive company but the VSCode team is just amazing. They listen and interact with the community frequently, it's like they don't belong to microsoft
Can we speak about the insane pricing?
Love your videos Alex!:) Greetings!
Isn't posting info about Codespaces Beta against the TOS of the Beta?
I wonder how the intellisense performance is in comparison to a regular laptop, sometimes it takes a little while to find typescript types or imports.
Technically you can code on a phone with that, right?
yes , if you are not as nerd as you must to be
"Just press the button, face the consequences later"
Me who just deleted an entire database from production.
Well...
AI in the cloud (aka codespaces)?? hmmm ... sounds to me like a good next video
Yes, more videos on codespaces would be very good.
Sounds good, but... I can't stop thinking, in the future, you're not gonna own you code... Be careful!!! Greetings ;)
Yah, not to mention the cost of usage. This shit ain't going to be free. I think I'd rather just own my own MBP.
how else are they supposed to feed Copilot :)
@@AZisk Yeah, you're right... Anyways, if the price is fine, for enterprises is a good option, but for personal code, I prefer my own devices, xD
I have a LICENSE in my repos and if Microsoft doesn't respect that license, they are liable for getting sued for some big money.
@@4mb127 because you would know they used your code in their closed-source applications. This has huge security implications and most enterprise organizations will not get behind this.
As one who is using github codespaces and gitpod since like 1 year. It’s not magic, it’s nice but if your have cpu heavy stuff like compilation it’s just pain most of the time. But else, yeah nice
Install a formatted json extension in your browser…
vulnerability shmulnerability might just be the best thing I've heard this month
security engineers are all voting my video down at that point :)
Codespaces forwards the port to localhost so we don't need sticky url, we can just access it on 127.0.0.1:8080
This is cool, but my spidey sense is tingling here. I get the feeling that this is the first step toward making VScode a cloud-only service.
VSCode have a MIT Licence, so fortunately it might not be
@@Otomega1 I'm stunned they released it under MIT.
I wonder if someone got fired for that lol.
@@delphicdescant They wanted to work with the community and gain trust of users by being under MIT. Now
if they want to go back in time because they are embittered at the money they didn't make for their shareholders, they just have to create a new IDE, and no one will use it , as usual.
But in fact they can copy-paste it as their 'new' IDE and try to make VSCode obsolete.
I do this using VIM. I love how we reinvent new things all the time.
how?
@@leftyhero147 VIM over SSH. When I had a slower machine, I'd SSH into a home desktop from the office and code using TMUX/VIM. It is a beefy machine, so with Docker can spin up any environment I need.
"Faster than your laptop" - because of course developers use laptops to code and not desktops with butt loads of RAM and disk and available cores.
Developers use desktops with butt loads of RAM and disk and available cores.
Stupid developers ONLY use desktops with butt loads of RAM and disk and available cores.
A VERY LARGE chunk of all my development is done on a CHROMEBOOK with crouton. And with the introduction of codespaces, i probably wont be using crouton very often either
you got it wrong Philip, "faster than your laptop" is different than "faster than your laptop, the only computer you have".
you can have a super powerful desktop, but if you ever need to code in your laptop for some reason, codespaces is faster than it.
is it still in beta?
why i got instant access?
i am confused lol
Settings sync is enabled and coupled to your ms or gh account :D Also I use Doom Emacs on arch btw :D
Awesome video. What equipment are you using? (Cam, mic etc)
Is there any way to customize my personal dashboard? I'm so close to creating the perfect workflow, I just need to edit what shows up in the "browse activity" section! ...
This just gave me a practical reason to move to vscode from Jetbrains
the only bad thing about this video is that you kept the vscode in the browser light theme
I thought it looked like you created 3 codespaces but the browser was still running off the URL of the first one but you were making changes on another one. Didn't you just need to keep reconnecting to the original codespace and then the URL wouldn't keep changing?
THANK YOU
Nice, I want more about this, good material
ill be honest, i hate it not because is not useful and cool, but i can see a future in which companies will make you use this and they will be able to watch everything you are doing in real time and that, thaat's something from a dystopian future that i don't want to experience
Thanks for sharing this little bit im still learning and I see how impactful this will become going forward.
I think your problem might be, that: when you connect it from VS Code via extension, what you may want is from same window in a terminal stop your already running instance, type changes and hit command again to start it, but start should be probably from codespace, not from your local machine. Otherwise it will not make much sense.
Also there is already that functionality that you can connect to VPS via SSH and then it will install remote VS Code and when you work in that environment, all runned code will run on that VPS, not on your local machine.
i don't see the need for this to be honest and if you are using kubernetes you cannot attach to port forwarded ports to debug in real time
The future of personal computing hardware including mobile phones OSs is basically just a screen and modem. I'm all for it, except I live in Africa and it's not very practical here.
your tital says no more vscode... codespaces is in vscode
vscode is an electron app which means it already was technically in a webbrowser
Not for Free license, and when your balance goes to zero you lose all access. So they own your code, for which the only use they have is to extort more money from you. Make sure you keep up your daily downloads to the local repo.
I built my own. VPS + code-server gives me more control.
Your url stays as long as you keep the codespace running (it’s just like a VM).
Wow, I can’t wait to try this out. Course I have to sign up. I wonder if you can connect this to an Azure repo or dev ops environment?
Did you find out how long those instances stay up before being killed?
Soooo they did something I was basicly doing for the last like 10 years. Having dev enviroment completely online on dev domain. Easy to update files online, easy to work with, easy to adjust settings of dev enviroment, easy to show client the newest features because its always online. I never understood why people develop things locally. For that you only need FTP client and text editor.
If they keep a static URL, people will use it as a dev/prod server)
What's the difference to code-server? Running my stuff on Hetzner servers since it came out and never looked back. It is freaking awesome. I especially like that I can just continue where I left with support for multiple terminal sessions and switch between devices without a hassle.
Behind the scenes it's probably building a new container, and the URL is the hash of the container.
Im not sure why youre surprised to find out that they cloned or know your local setup 😂 it's Microsoft
I dont think they have access to your local environment, i believe he is using the same account for his github and his vscode desktop application
Its not like they "autonomously" did it. He logged into vscode with his github and had extension sync on.
I used a standalone version of virtual vs code and it was crazy slow. This looks performant!
Codespaces with Codiga Extension works like a charm.!!!
You should test code spaces on an iPad Pro
I had to do that for over 1 year. Hated it!!! Just not the thing with the iPad cursor, shortcuts, scrolling,…. But better than vim on iPad ;)
When Its FREE.....YOU are the product
Thanks for an inspiring video into codespaces. Its very informative.
SAP has released similar environment Know as Businesses Application Studio years ago and it is similar to codespaces
If Steve Jobs stuck around this would've been created by Apple instead of Microsoft. Ironic.
Interesting but not for microservices with many projects with docker-compose.