GitHub Copilot review with REAL scenarios

Ғылым және технология

Copilot X has been announced and as a Software Engineer working at GitHub, I got the chance to put it to the test. I believe it will change the way we write software, forever. However, I have tested it in 3 different scenarios from real life and I'll let you be the judge.
▬▬▬▬▬▬ Resources & References 📕 ▬▬▬▬▬▬
Copilot X waiting list: github.com/features/preview/c...
Starred Search: github.com/Link-/starred_search
the-algorithm: github.com/twitter/the-algorithm
▬▬▬▬▬▬ Chapters 🕐 ▬▬▬▬▬▬
00:00 - Intro
01:23 - (Test 1) New Project
10:12 - (Test 2) Explain Codebase
20:37 - (Test 3) Refactoring
29:09 - Conclusion
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
- Twitter: / bassemdy
- GitHub: github.com/link-
- LinkedIn: / bassemdghaidy
- Facebook: / bassemdy
- Blog: blog.bassemdy.com
▬▬▬▬▬▬ Support the channel 💜 ▬▬▬▬▬▬
Every little bit helps ✨
- Get access to perks: / @glich.stream
- Join the journey on Patreon: / glich_stream
- 1 time support: www.buymeacoffee.com/glich.st...
#glichstream #softwareengineering

Пікірлер: 87

  • @mouadlouahi9985
    @mouadlouahi9985 Жыл бұрын

    This is the kind of AI content I would like to see more of. The kind that goes into the weaknesses and limitations of these systems and not just hype how they managed to ace some academic benchmark. That way you can learn how to make actual productive use of these systems

  • @onasr2534
    @onasr2534 Жыл бұрын

    Wonderful topic, you’ve been doing the next level content Bassem thank you!

  • @glich.stream

    @glich.stream

    Жыл бұрын

    Thank you 🙏 I’ve been working hard on improving the aesthetic as well as the value

  • @dawid_dahl
    @dawid_dahl Жыл бұрын

    (Can I just say the video quality here is amazing? Well done! Subscribed.)

  • @glich.stream

    @glich.stream

    Жыл бұрын

    ❤️

  • @dawid_dahl

    @dawid_dahl

    Жыл бұрын

    A bit disappointed it doesn’t have access to the whole repo as context. That would’ve been the bomb!

  • @alexoru4861
    @alexoru4861 Жыл бұрын

    Thx, very nice overview!

  • @CC-Pi
    @CC-Pi Жыл бұрын

    Hopefully they give it the ability to follow code and find related classes or packages in other directories when asking it to explain code and that people don't start creating unreadable code just for the machine, it would be like going backwards 15 years if we end up with loads new projects that all the lines of code exist in one file, that would be a nightmare all over again.

  • @stevefox7469
    @stevefox7469 Жыл бұрын

    I suspect you may of got more better results from the GO coding test with more "prompt engineering". Introducing "self reflection" prompts to Copilot may have helped. For example adding prompts such as a) Think “step by step” & explain your logic steps. b) Review your logic steps & answer, identifying any potential problems. c) Critique your answer e) Improve your answer based on your critique of the answer.

  • @glich.stream

    @glich.stream

    Жыл бұрын

    I fully agree! The question becomes: if I’m to write this much “prompt” I might as well write the code myself 😄 I wonder what’s the sweet spot to be honest. Is this helping me or changing how I write code by forcing a new layer of abstraction? Time will tell

  • @wojciechbajon

    @wojciechbajon

    Жыл бұрын

    @@glich.stream I've seen a great way to use the current Copilot: Delete content you don't like, add some and get a new tooltip. (The video was called something like: Review after 1 year of use)

  • @AnthonyBoydGraphics

    @AnthonyBoydGraphics

    Жыл бұрын

    @@glich.stream for me one thing I saw when trying something like chatGPT is whenever I did my prompts in multiple steps it would have hiccups but whenever I asked the whole process in the first prompt things worked.

  • @glich.stream

    @glich.stream

    Жыл бұрын

    @@AnthonyBoydGraphics yep, definitely not surprised by this

  • @Borszczuk

    @Borszczuk

    Жыл бұрын

    I use "Are you sure?"

  • @Astro33000
    @Astro33000 Жыл бұрын

    The intro was enough for a like 😊

  • @kipchickensout
    @kipchickensout Жыл бұрын

    Nice video, I thought it would be able to open the files it needs on its own to get a deeper understanding of the code base

  • @jonah5224
    @jonah5224 Жыл бұрын

    so jealous of this tech right now! hype for copilot x!

  • @glich.stream

    @glich.stream

    Жыл бұрын

    It’ll be available for everyone pretty soon I suppose

  • @l.piekha100

    @l.piekha100

    Жыл бұрын

    @@glich.stream When you believe it will become public?

  • @workfromhomedev
    @workfromhomedev Жыл бұрын

    Nice Video. Can't wait to use this copilot x, hopefully the price is the same as copilot. BTW What font you are using?

  • @glich.stream

    @glich.stream

    Жыл бұрын

    Bai Jamjuree

  • @HassanIbrahim-Hi
    @HassanIbrahim-Hi Жыл бұрын

    Thanks Bassem, you are awesome, as usual ! ... Actually I didn't find a lot of difference between using chatgpt in a separate window and the way you used Copilotx if we want to test the same tasks ! Although CopilotX is supposed to be somehow "integrated" in the coding environment ... I was waiting to see more understanding from CopilotX of the project structure/context... I don't know if feeding it with the folder tree structure can help it to get more context (if we suppose some meaningful file names) or if there is maybe other tips to see how it is customized for coding environment (not just as an integrated chat tab)... It would be wonderful, If I can use it to understand something about the architecture of an existing codebase.

  • @glich.stream

    @glich.stream

    Жыл бұрын

    Great observation & question! It most definitely extracts more information to generate more accurate / specific responses! My prompts were quite basic and not as specific / elaborate as they can be. How much context does it extract is the question which I don't have the answer for.

  • @AyahuascaDataScientist
    @AyahuascaDataScientist Жыл бұрын

    Takeaway: this doesn’t actually help you solve problems. In each scenario, you got stuck and decided to give up lol

  • @skaiiir

    @skaiiir

    Жыл бұрын

    You always get stuck and have to give up during development, which leads you to reading up on what you need to do. You can use copilot like that too, I mean yeah you could trust everything it does and 80% of the time you'll end up with semi-correct code, but you can prompt with things like "explaining the key concepts" to start understanding what approach to take. Yeah, for now it's like a very confident, slightly less accurate but good at explaining senior developer in your pocket. But if it's accurate enough most of the time, you'll learn and progress. At some point, it'll be so accurate that we'll all be optimized out of the equation but to be fair when that happens we have bigger things to worry about than problem solving.

  • @wasgeht2409
    @wasgeht2409 Жыл бұрын

    Thanks :) I have a question. I joined the technical list from GitHub copilot x and give all my PayPal stuff. But how I can use it now? or am I just on the waiting list ? I am a little bit confused

  • @digitaldias
    @digitaldias Жыл бұрын

    A concern I have on this is how up to date this copilot is. You should be asking about features and packages that are new, or just plain ask it how up to date it is on go. For me, I'm using chatGPT, being aware that it is not updated after September 2021.

  • @jbeard3390

    @jbeard3390

    Жыл бұрын

    From the linus tech tips comments it is at least up to 20 hours behind live internet

  • @indieshack4476
    @indieshack4476 Жыл бұрын

    Great video, thanks. How is this chat window any different than having a ChatGPT chat window open ?

  • @glich.stream

    @glich.stream

    Жыл бұрын

    It’s integrated with everything else! Whenever you ask a question, the prompt is not just your question, a context enriched prompt is sent and the answer is more relevant to your situation!

  • @indieshack4476

    @indieshack4476

    Жыл бұрын

    @@glich.stream Thanks! I'm on the pre-release - I was trying to ask it questions about the code, it seems the code must be selected first.

  • @infamouskent7243
    @infamouskent7243 Жыл бұрын

    Hopefully copilot X gets some enhancements when it goes public.

  • @AyahuascaDataScientist

    @AyahuascaDataScientist

    Жыл бұрын

    It won’t. It’ll just be continually tweaked as OpenAI makes progress on the GPT-4 model. This tech won’t actually solve problems for a very, very long time.

  • @keypey8256

    @keypey8256

    Жыл бұрын

    @@AyahuascaDataScientist I would be careful with what you are saying here. The only problem is that those models cannot plan ahead. This inability to do so is what causes most of its issues when trying to solve very abstract problems. We cannot be sure when someone figures out a solution to that. Since we cannot be sure of that, the idea of those models being unable to code on human level for a long time seems more like a guess than something reasonably deduced.

  • @aleksanderrist2705
    @aleksanderrist2705 Жыл бұрын

    What terminal do you use? It looks really nice!

  • @glich.stream

    @glich.stream

    Жыл бұрын

    ITerm2 + fish (shell) + starship

  • @konga8165
    @konga8165 Жыл бұрын

    When is it coming out? How did you get access to it?

  • @ltra42
    @ltra42 Жыл бұрын

    I've just tried it, my code has speech to text, I asked it what my code does. It gave me a scenario where someone has a problem with iPhoneX...

  • @fadihaddad2941
    @fadihaddad2941 Жыл бұрын

    it was nice to meet you yesterday bassem, (at SEF techtalk) , a great channel actually, you got yourself a subscriber.

  • @glich.stream

    @glich.stream

    Жыл бұрын

    Thanks Fadi 🙏

  • @benjaminlgur
    @benjaminlgur Жыл бұрын

    Is copilot x powered by GTP-3.5 or GPT-4? The output quality seems more like 3.5 to me im not sure why they wouldn't use GPT4

  • @carabouzouklis

    @carabouzouklis

    Жыл бұрын

    GPT-4 as far as I know

  • @jorabart
    @jorabart Жыл бұрын

    I just gave up at the part where it explains the code and you can see on the screen that it is echoing the comments almost verbatim. I wonder how well it could explain uncommented code. @23:32

  • @TAGHREEDAA
    @TAGHREEDAA Жыл бұрын

    how to get the chatbox in vscode? is it a published extension or not available yet? I have the basic subscription

  • @glich.stream

    @glich.stream

    Жыл бұрын

    It's not available yet! You need to join the waiting list :) github.com/features/preview/copilot-x

  • @ltra42

    @ltra42

    Жыл бұрын

    it's GitHub Copilot Labs extension. I'll ask you to sign up and said there's a wait list but I got it right away.

  • @TAGHREEDAA

    @TAGHREEDAA

    Жыл бұрын

    Good I'm subscribed to the wait list

  • @CaptainOblivious41
    @CaptainOblivious41 Жыл бұрын

    Copilot X is still in waitlist, right? Am I right in assuming you just happened to get access, or were granted access for media purposes?

  • @glich.stream

    @glich.stream

    Жыл бұрын

    Neither, I work at GitHub 😄 but not on anything Copilot related and these are my personal opinions / thoughts on the product

  • @behzadr3510
    @behzadr3510 Жыл бұрын

    How can I open the Github Chat view? I have the github copilot paid verion but I dont have copilot voice. How can I find the Chat? is this part of copilot voice? I saw in comments that is not availble yet. but my question is how did you use it and get it? please explain steps how you enable/get that

  • @wojciechbajon

    @wojciechbajon

    Жыл бұрын

    As he wrote elsewhere: the privilege of a GitHub employee. ;)

  • @NBGTFO

    @NBGTFO

    8 ай бұрын

    There's also a Copilot Chat extension you'll need for VS and VS Code.

  • @alivecoding4995
    @alivecoding4995 Жыл бұрын

    It seems they capped the trial phase to 30 instead of 60 days now.

  • @jeanchindeko5477
    @jeanchindeko5477 Жыл бұрын

    For now we have Baby AI, who of course cannot replace developer (that why the name is copilot and not pilot) entirely yet! Now another developer who knows how to fully take advantage of such tool to improve his productivity will for sure replace you. That said this system can only improve from gérer and will get better and better to the point which it will be able to completely developers.

  • @magicsmoke0
    @magicsmoke0 Жыл бұрын

    I wonder if you remove all the comments in your code would its explanation still be as good. Twitter and Go code didn't do well, but they also didn't have much commenting either. Just a thought.

  • @fentengshi9543
    @fentengshi9543 Жыл бұрын

    Hi bro. How do you apply the copilot X successfully? Please comment to me. I only can use copilot, I apply as well in queue.

  • @glich.stream

    @glich.stream

    Жыл бұрын

    There’s a link to the waitlist in the description. I work at GitHub, I get early access. I don’t think it’s going to be long before this is rolled out

  • @jimlynch9390
    @jimlynch9390 Жыл бұрын

    Sorry I can't read the dark grey letters on a black background. I highly suggest for videos you use a light theme. Dark themes are very hard to read.

  • @glich.stream

    @glich.stream

    Жыл бұрын

    Noted, I’ll think of how to improve this for future videos

  • @tplummer217
    @tplummer217 Жыл бұрын

    Rip stackOverflow.

  • @ronikikoza
    @ronikikoza Жыл бұрын

    Which vscode theme you are using?

  • @glich.stream

    @glich.stream

    Жыл бұрын

    GitHub theme: marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme

  • @sunder1224

    @sunder1224

    Жыл бұрын

    @@glich.stream thanks! and the font please?

  • @glich.stream

    @glich.stream

    Жыл бұрын

    @@sunder1224 Envy Code R

  • @ix4564
    @ix4564 Жыл бұрын

    When is it going to become available?

  • @glich.stream

    @glich.stream

    Жыл бұрын

    I don’t have information on this

  • @captainawesome2226
    @captainawesome2226 Жыл бұрын

    I'm not very impressed with any AI code assistant for anything more than just simple functions. I don't know what other people are coding but I'm pretty sure AI won't get anywhere near replacing a software engineer any time soon. It's the same with AI art generators. Sure they might be good at static images but ask them to animate anything at all and you soon see their limitations.

  • @PizzaLord
    @PizzaLord Жыл бұрын

    Can someone tell me how this is different than just copying and pasting code into gpt? I mean if it can't understand the structure and read every single file in the project and understand how the css and the state management interactions work then what is the point of it?

  • @guicas2001

    @guicas2001

    Жыл бұрын

    I believe if you start copy pasting a lot of code into ChatGPT, it can start hallucinating. Plus there is a word limit in ChatGPT, so if you have files with more than let's say 200-300 lines of code you'd need to give it in multiple messages and I am not sure about this but I think here is where it can start hallucinating.

  • @guicas2001

    @guicas2001

    Жыл бұрын

    So this is more convenient since you do not need to give the AI the code for it to understand the whole context of your codebase and it reduces the chance of hallucinations

  • @user-pw7ue3sn1r

    @user-pw7ue3sn1r

    Жыл бұрын

    @@guicas2001As I understood by the video, it doesnt go through your codebase, you either way need to give copilot the code to understand context. And also it could be possible that your chat could be cleared after you close vs code.

  • @guicas2001

    @guicas2001

    Жыл бұрын

    ​@@user-pw7ue3sn1r yeah, I think it understands the context with the right tabs opened from what I'm read and from the video itself

  • @wojciechbajon

    @wojciechbajon

    Жыл бұрын

    The fact that you don't have to paste the code. XD I hope someday he'll start to understand the context better.

  • @NBGTFO
    @NBGTFO8 ай бұрын

    My personal experience says don't try to use AI to do anything complex. If you do, you will waste more time fighting against the nonsense the AI spouts (extremely convoluted code) than if you just used Google like you normally would. At some point in the future (late 2024 into 2025 probably) AI may actually become useful for complex assistance, but until then, don't bother unless you have plenty of time to waste. I have literally spent an hour or more going round and round with AI, refining my prompts and never getting a working answer. I then spent 5 minutes or less with Google and had the answer that the AI never even offered. I then would feed the answer to the AI and it would confirm that was the best solution. How lovely.

  • @kipchickensout
    @kipchickensout Жыл бұрын

    dude censored "wtf" in case he uploads this on tiktok xd

  • @DanZ-fq2qs
    @DanZ-fq2qs Жыл бұрын

    replace your colleagues or be replaced, its time

  • @krisvq
    @krisvq Жыл бұрын

    Copilot will not be needed in a year...

  • @alivecoding4995

    @alivecoding4995

    Жыл бұрын

    You mean Copilot's copilot, i.e. us!? 😅

  • @fille.imgnry
    @fille.imgnry Жыл бұрын

    Would suggest you increase the size of the code window instead of having a large viee of your face. Even though you sre a beautiful human being, it does not optimize the content for viewing on a smaller device. I would probably just maximise the code window and skip showing your face all the time and instead have some breaks where you face shows up and gives rhe human touch. I dont know. Just feels crammed when watching content that has the content inside a smaller box inside the screen i am using.

  • @The12MT
    @The12MT Жыл бұрын

    Microsoft stealing our code to sell us an AI reproducing this code. Essentially killing open source :)

  • @wisdomeispower
    @wisdomeispower Жыл бұрын

    It will make coding and software worse than its now, even now most softwares most websites have so many bugs even most popular ones why is that? Becouse developers use less and less brain becoming more and more lazy imagin if thay use less brain what it will become? Mass degradation

  • @Boxing_Gamer

    @Boxing_Gamer

    Жыл бұрын

    I'm not sure. Perhaps devs will just be responsible for more and more projects? That way the cognitive stress will remain largely the same.

  • @wisdomeispower

    @wisdomeispower

    Жыл бұрын

    @@Boxing_Gamer more projects means less focus on existing one wich leads to worse software. Brain needs training to so keep your brain active dont be lazy and stop following the hype.

Келесі