GitHub Copilot Just Changed the Game

Поділитися
Вставка
  • Опубліковано 10 вер 2024

КОМЕНТАРІ • 131

  • @ThePaulWilliams
    @ThePaulWilliams Рік тому +160

    Feels like the right time for Microsoft to resurrect Clippy.
    "Hi! It looks like you're trying to write a class. I can help."

    • @andyk2181
      @andyk2181 Рік тому +10

      "Hi, why don't you head down the pub, I've got this" ... now that's a Clippy I'd want on my machine.

    • @pieter5466
      @pieter5466 Рік тому +2

      Clippyyyyyyyyyy!

    • @Stopinvadingmyhardware
      @Stopinvadingmyhardware Рік тому

      Looks like Microsoft needs to go recruit elsewhere.

    • @Jianju69
      @Jianju69 Рік тому +2

      @@andyk2181 That's the AI future we all deserve.

    • @tomdupree2758
      @tomdupree2758 Рік тому +1

      I've always wanted "Clippy: but good"

  • @alexanderpoplawski577
    @alexanderpoplawski577 Рік тому +9

    To replace the person class with the generated dataclass, simply select the person class in the editor and use insert at cursor. This will replace the selected text with the generated code. By selecting code in the editor you can also restrict the questions and actions to the selected part. It is also very good at adding docstrings to existing code. For a specific docstring format, just give an example on a method or function.

    • @dhirajpallin2572
      @dhirajpallin2572 Рік тому +3

      It looks like in the latest version you can also simply ask it to fix the code and it will do it in place. By right clicking the selected code and opening the chat box that way.

  • @Andrumen01
    @Andrumen01 Рік тому +2

    I have been giving it a try during the weekend and it has blown my mind! It helped me write the basis of a program in a couple of hours, when it would take me days to write it without it.
    It's amazing!

  • @DonaldSubert
    @DonaldSubert Рік тому +12

    The possibilities are really interesting, when you think about letting the model ingest your whole project. It could do better security and code-smell detection than current static analyzers. Maybe ask it to simplify the architecture.
    It was shown creating unit tests to verify existing code, but I'd like it to be able to write tests first. I wonder if it can do that already.
    Really exciting stuff. Thanks

  • @tinyentropy
    @tinyentropy Рік тому +24

    Overflooded is the exact point. And I am AI machine learning engineer.

    • @kevon217
      @kevon217 Рік тому

      Yeah , definitely feels like everyday I have to swim higher…

    • @diliupg
      @diliupg Рік тому +1

      Over flooded? Don't be modest! It's been like a bloody tornado, tsunami and a volcanic eruption rolled into corona virus.

    • @mdashrafuzzamansunny2145
      @mdashrafuzzamansunny2145 Рік тому +1

      Good for you. Do you want a cookie?

    • @ovipaw
      @ovipaw Рік тому

      Machine learning engineer is easy role nothing to brag

  • @johnathanirvin865
    @johnathanirvin865 Рік тому +2

    Woah, this video is fresh. 5 minutes ago fresh.
    Fresh like Arjan.

    • @ArjanCodes
      @ArjanCodes  Рік тому +1

      Gotta love the new video smell!

  • @Jablinskee
    @Jablinskee Рік тому

    looking through different videos on how copilot works yours is the only one that covers the Ctrl + Enter function to find different solutions thank you for convering everything!

  • @Joshua-bx1mt
    @Joshua-bx1mt Рік тому +3

    BTW Copilot chat can replace code in the editor. Select a portion of the code in the editor, then press Ctrl+I (uppercase i) and ask it to do something with the code. Alternatively, just place your cursor in a function and press Ctrl+I, it will do the same thing. Shortcut is for windows, I'm assuming it's Cmd+I on mac, but could be wrong

  • @bharatruparel9424
    @bharatruparel9424 Рік тому +1

    Now that I have had a chance to play with Github Copilot X for a couple of weeks, this video best summarizes how to use it effectively. Subscribed and liked!

  • @leonmilner9994
    @leonmilner9994 Рік тому

    Where I live we typically call it a "grilled cheese" not molten cheese - but you nearly passed the Turing test, so nice work.

  • @TheRealMrLaserCutter
    @TheRealMrLaserCutter Рік тому

    If we view this as an efficiency gain for the human species this is pretty significant for solving the big issues ie medical research or climate change. It frees up resources and multiplies the efforts of those left in the sector.

  • @manomancan
    @manomancan Рік тому +1

    Arjan, being the legend that he is, even makes fascinating ads. First time I rewinded an ad I think.
    Though I have to add (before I delve into the rest of the video), as a student, I've had Copilot for months now, and I have to say it is remarkably poor. It pretty much functions as a glorified text completor, which has its own uses, but does not have many pseudo-cognitive capacities, unlike GPT-4, which I found worth paying for even in its current stage.
    Let's see from the rest of the video Copilot changed and we have exciting new features!

  • @hallpower
    @hallpower Рік тому +7

    Would be great if it had knowledge of the entire project code base.

    • @blueSurfer
      @blueSurfer Рік тому

      The work of the whole team can be done by a single guy

  • @JoaoSantos-lv4rc
    @JoaoSantos-lv4rc Рік тому

    the control right arrow shortcut is so nice. been using for a while and had no ideax). ive found that if you ignore longer suggestions once or twice it starts suggesting line by line. but this is much better lol, ty.

  • @thenomadcoder
    @thenomadcoder Рік тому

    Software Architecture Course, im in!!

  • @arc_n_tech
    @arc_n_tech Рік тому

    Nice demonstration and walk-thru. This came in handy for me. I like the hover for suggestions and chat integration. It's fun using Co-Pilot.

  • @ColibrisMusicLive
    @ColibrisMusicLive Рік тому

    tip:
    paste a whole json schema, add some comments and imports and it would generate serialization code, http schema and what not

  • @landsgevaer
    @landsgevaer Рік тому +4

    Would be interested in your views:
    How do new programmers learn to program properly with tools like these available? Or do they no longer need to?

    • @paulembleton1733
      @paulembleton1733 Рік тому +1

      A saw is useless without practical knowledge of carpentry, and more importantly an idea of what to make and why to make it.

    • @landsgevaer
      @landsgevaer Рік тому

      @@paulembleton1733 So is AI the saw, or is AI becoming the carpentry...? 😉
      I mean, one could have said something similar about - say - assemblers and machine language some fifty years ago. Yet what fraction of programmers is familiar with assembly nowadays?
      (To be frank, I share the sentiment, but a new generation of upcoming programmers doesn't, it seems.)

    • @donnieamz2938
      @donnieamz2938 Рік тому

      @@landsgevaer i have been using ChatGPT Plus quite extensively, and I can confidently say (for now) it is the saw, not the carpentry. When you work on complex codes (and you always do, if this is your full time job), it's impossible to just generate codes that you want without slicing down the prompts to smaller and very specific prompts. Sometimes you even need to tell it which exact functions and logics it needs to use, rather than telling it what you want to achieve.
      It's not a magic bullet. It's the same with when code interpreter came out the first time, people say it will replace data analysts, which is not true at all, since data analysts always work with crazy rows of data with complex patterns to clean and transform, and code interpreter cannot do all those jobs without you breaking up your data to (again) smaller data files and prompts.
      If there's anybody who benefit the most from GPT-4, it is the junior level devs, as they can work as fast as the middle level devs now

    • @Mullheimer
      @Mullheimer Рік тому

      Bit late to the party, but here. I'm learning python from chatgpt. It's amazing, you can jump right to how code actual works instead of where the colons and commas go. It brings a whole lot of fun and new programmers will likely benefit most from ai tools.

  • @GunZFoX
    @GunZFoX Рік тому +1

    The only problem I see with the interacting/creating projects suggestion is that you do not know what really is ChatGPT installing. Maybe it installs a deprecated version with some public known vulnerability. Maybe it brokes your system when installing some dependencies and so on.
    So, at the end, you are leaving your system configuration to a black box. Which I do not know if is the best option to be honest

  • @prinsniels
    @prinsniels Рік тому +1

    The options seem endles. Have been using chatGPT for a while when coding. Found it really helpful when learning and generating functions. Have noted it makes a lot of coding mistakes when it needs to write multiple functions that need to work together, especially when using newer packages or frameworks. The new ms copilot demo they showed looked really helpful, especially in explaining existing code and generating test casus. Very eager to see where it will take us and how it will change our work

  • @supermankelly
    @supermankelly Рік тому

    One step closer to downloading knowledge into my brain.

  • @Tony-dp1rl
    @Tony-dp1rl Рік тому +2

    The danger (for want of a better word) to developers isn't in AI writing code for a specific application - it is in it writing a no-code solution that finally doesn't suck, and achieving what no-code promised for real.

    • @MikkoRantalainen
      @MikkoRantalainen Рік тому +1

      Programming is basically about writing accurate enough description of the project you want. The no-code movement pretends that you don't need to write the description. Imagine any complex task: if you were to explain to another developer what you want, would you want to use mouse and click icons or write a description using some language (be it English, Python or C++)?
      The need for the *communication* is not going to go away no matter how much you want to use no-code movement. Currently programming languages are used because programming languages allow for *accurate communication* unlike e.g. English which is good for hand-wavy stuff.

  • @jeliebeen
    @jeliebeen Рік тому +11

    Copilot is AMAZING. And is based on some seriously old LLM models by today's standards.
    I cannot wait for Copilot X to hit public release.

    • @ArjanCodes
      @ArjanCodes  Рік тому +1

      Same here! :)

    • @DarkIncred
      @DarkIncred Рік тому

      @@ArjanCodes I am in the beta and prefered the 'genie extension' + open ai gpt-4 api over Copilot X

    • @danielgalli6760
      @danielgalli6760 Рік тому

      @@DarkIncred how you can use the gpt-4 api? i only could use 3.5 but even i got the subscription.

    • @TheStickofWar
      @TheStickofWar Рік тому

      @@danielgalli6760probably bought it before, I did and I can use the api of 4. Maybe they didn’t remove 4 access for those who already paid

  • @haraldkirschner5136
    @haraldkirschner5136 Рік тому

    Tip for the next videos: Cmd-I opens an inline chat prompt for directly modifying code.

  • @kushagrgoyal9614
    @kushagrgoyal9614 Рік тому +1

    i love the idea of co-pilot. But, but as it is an API call essentially, how does it take care of data and code privacy?? Especially with enterprise code.

  • @jamesmiller2521
    @jamesmiller2521 Рік тому +1

    Topic suggestion: How to avoid/solve the dependency hell problem in Python?

  • @zacboyles1396
    @zacboyles1396 Рік тому

    Taipy looks like a good potential gradio replacement

  • @champfisk5613
    @champfisk5613 Рік тому

    I'm going to use this as it'll save me lots of personal time

  • @digiryde
    @digiryde Рік тому +3

    This is nice. I have used ChatGPT, but not this. Have you tried using this in a team situation?
    I am also curious as to whether there is a way to use copilot from a private company/team/project perspective where you can define libraries, rules, etc. that can be applied through it.

  • @emo7122
    @emo7122 Рік тому

    great content! ive got same setup and it is fantastic! so much time saved!

  • @PeterSteele111
    @PeterSteele111 Рік тому

    I've been using the insider preview with copilot and it's been great. Have had access for a few months now. I pay mo nthly for chatgpt plus and paid a year upfront for copilot. I only have to go to chatgpt now a few times a week when copilot fails, and I need chatgpt 4.

  • @bailahie4235
    @bailahie4235 Рік тому

    Thanks for the intro ! I am going to try the combi. BTW As a Dutch man, always sounds familiar/home if someone else speaks with a Dutch accent... ;-) Nice interior design BTW (or is that also AI generated? 😛)

  • @MatichekYoutube
    @MatichekYoutube Рік тому

    you need to mod you keybord so it will not be so clicky, you can use tape on the back mechinism

  • @__--JY-Moe--__
    @__--JY-Moe--__ Рік тому

    ah! U'r helpful ! thanks! I'm looking for an AI for my pc software!

  • @Vijay-Yarramsetty
    @Vijay-Yarramsetty Рік тому

    quite informative arjan. thanks a bunch.

  • @Jschmuck8987
    @Jschmuck8987 Рік тому +1

    I want to use this now!!!

  • @sevilnatas
    @sevilnatas Рік тому

    You could have typed your prompt to request the chat to give you a power shell command to creat the project you where asking for and then run it to create your files.

  • @jasonpease7831
    @jasonpease7831 Рік тому +1

    Great video, Arjan. Just curious if all the suggestions come from locally executed code or if my code base is getting exposed to external parties by using this. I just want to be careful with proprietary code.

    • @alexandrep4913
      @alexandrep4913 Рік тому +2

      Of course it is getting exposed to third parties. You're training copilot and giving Microsoft free training while paying for it.

  • @JoaoSantos-lv4rc
    @JoaoSantos-lv4rc Рік тому +1

    does it know about other files if they are open? could it eventually.. aah yes it would be cool. knowledge of your code base, even if you have to name scripts by path, will be an absolute game changer. (e.g. naming dependencies directly in the prompt). and promote clean structure. The same way it already promotes pretty tight and explicitely named functions / methods. ty.

  • @dhirajpallin2572
    @dhirajpallin2572 Рік тому

    It looks like it can replace code now in the latest version. if you right click the code and open the chat box you can ask it to just fix it in place.

  • @mrcjm
    @mrcjm Рік тому

    What about privacy? Does copilot send your code to ms for suggestions or is it done on-device?

  • @baldpolnareff7224
    @baldpolnareff7224 Рік тому

    There's also the Copilot Labs extension which is pretty useful

  • @aleksandr_bakai
    @aleksandr_bakai Рік тому

    Thanks!) That was very helpfull.

  • @pjgierz
    @pjgierz Рік тому

    Hi Arjan, as always fantastic video. Do you know about any ideas for a “pure terminal” editor which replicates some similar features you showed?

  • @RonnyBubke
    @RonnyBubke Рік тому

    What would really bring a benefit would be could generation out of feature tests.

    • @RonnyBubke
      @RonnyBubke Рік тому

      I think the other way around makes no difference.

  • @shiftyjesusfish
    @shiftyjesusfish Рік тому

    Can you load a custom instance into that "co-pilot" seat? (A built in one cause I'm a smooth brain boy). I was hoping to try and feed one some of my data to give it context, idk. It's all so cool, so.much to learn

  • @grandmastersterling6707
    @grandmastersterling6707 Рік тому

    Would be nice if it had a way to read your complete code, and suggest improvements

  • @JPy90
    @JPy90 Рік тому

    I would like a feature to meassure my performance and to tell me when to take a break :D

  • @savire.ergheiz
    @savire.ergheiz Рік тому +1

    These generated codes tends to alter younger devs mind because they will unaware that they have been guided and think that the solution are optimal while most of the time we still spend a lot of time checking if the codes are valid or solid and yeah correcting it or simply adapting it to our needs.
    Nothing is magical its just provides us with quick prototyping but none of it are able to magically solves problems at once 😂

    • @bailahie4235
      @bailahie4235 Рік тому

      Good & interesting point. I think a solution would be in that such tools should also be used to connect developers to each other, e.g. automatically setting up a competition between devs to find the most efficient solution to programming problem X and feeding that knowledge back into the system/the AI to do subsequent updates to everyone's code that had an inferior prior solution to X. Hybrid human-artificial intelligence rules... ;-)

  • @shiftyjesusfish
    @shiftyjesusfish Рік тому

    This is niiiiiiiice.

  • @aerocodes
    @aerocodes Рік тому

    Hi all, I'd invite you to take a look on the VSCode extension I'm proposing, I'll be having some very interesting features coming soon!

  • @AndrewZhilenko
    @AndrewZhilenko Рік тому

    Awesome, thanks!

  • @rrwoodyt
    @rrwoodyt Рік тому

    Arjan, what keyboard are you using? (I'm becoming a mechanical keyboard geek-- help!)

  • @iriswhite3184
    @iriswhite3184 Рік тому

    Can you talk about your option of the lawsuit against copilot

  • @Dreamslol
    @Dreamslol Рік тому

    But i like too point out its the Codex model, i asked the Support about that. Output is way too fast for being GPT-4 because on Openai itself it isnt that fast

  • @rishhibala6828
    @rishhibala6828 Рік тому

    Does this work with large codebases?

  • @supermankelly
    @supermankelly Рік тому

    Wouldn't a cloud based AI being able to access all project files and therefore your disk not be a security risk?

  • @tomaszszuster1038
    @tomaszszuster1038 Рік тому

    I’m not sure if UA-cam is a good recipient for a copilot wish list 😊

  • @__gavin__
    @__gavin__ Рік тому +1

    Ah yes, just let the AI have unfettered access to the OS! What could go wrong?
    Can't wait for it to rm -rf my whole drive.

    • @ArjanCodes
      @ArjanCodes  Рік тому +1

      For a small fee, another AI will then be happy to restore your files for you.

    • @erastvandoren
      @erastvandoren Рік тому

      AI doesn't exist.

  • @kunle009
    @kunle009 Рік тому

    Another great video. What vs code theme are you using though?

    • @NostraDavid2
      @NostraDavid2 Рік тому

      That's the new dark theme, I think. It comes with vscode.

    • @NostraDavid2
      @NostraDavid2 Рік тому

      Unless you meant his syntax highlighting, which is some Atom-like theme, I think

  • @EmilioGagliardi
    @EmilioGagliardi Рік тому +1

    One of my go to channels for python and coding. as a relative newcomer to python very helpful channel. What are your thoughts comparing packages like streamlit or gradio to build web apps vs taipy? I haven't had much time to learn either of these and I'd like to focus one to get more comfortable with one. I'm focused on building front ends for LLMs. thanks again!

    • @xgodwhitex
      @xgodwhitex Рік тому +1

      Streamlit is great for prototypes. However, it doesn't scale and large applications cannot be built with Streamlit. Taipy is aimed to create from pilots to complete applications easily (multi-page, multi-user). It provides a robust built-in pipeline and data management system for this design that can be used or not depending on the use case. You can certainly use Taipy to build frontend for LLM

    • @EmilioGagliardi
      @EmilioGagliardi Рік тому

      @@xgodwhitex thanks kindly for that. please post any tutorials you may have encountered. Cheers!

  • @Stievan1989
    @Stievan1989 Рік тому +2

    I am eager to have the IP Problems solved. I am working in a Bigger Company and I cannot feed it with IP Protected data yet.
    I actually am very matlab focussed on my work and will have to figure out how to combine these two Worlds 😅

    • @mikaeltulldahl
      @mikaeltulldahl Рік тому

      There is an enterprise license

    • @Stievan1989
      @Stievan1989 Рік тому

      @@mikaeltulldahl yes but that is not the question. Do have IP on code done from copilot for me? Does Copilot use code I appload for others? Does Copilot use prohibited or IP protected training data? Those questions need to be answered.

  • @krissn8111
    @krissn8111 Рік тому

    Great video. Can you compare taipy and streamlit?

    • @xgodwhitex
      @xgodwhitex Рік тому

      Streamlit is great for prototypes. However, it doesn't scale and large applications cannot be built with Streamlit. Taipy is aimed to create from pilots to complete applications easily (multi-page, multi-user). It provides a robust built-in pipeline and data management system for this design that can be used or not depending on the use case

  • @carloscortes9975
    @carloscortes9975 Рік тому +1

    Cool video

  • @JPy90
    @JPy90 Рік тому

    Thank you for creating this insightful video on GitHub Copilot! It's incredible to see how this AI-powered tool is revolutionizing the coding experience by providing intelligent code suggestions. Your explanations and demonstrations were clear and easy to follow, making it even more exciting to explore the possibilities with Copilot. Keep up the great work!

  • @theeternallyvigilant5855
    @theeternallyvigilant5855 Рік тому

    Its not AI its just advanced Machine Learning but given that label for the Normies and yes I do know what I'm talking about.

  • @geoffreyhung7814
    @geoffreyhung7814 Рік тому

    You can highlight the code in editor > right click > Copilot > Start code chat > type the instructions eg: add comments.
    OR simply press command I after highlighting.
    Very helpful to read the new code base or add typehint. It can also convert from one language to another, eg: you find some code in Python, highlight and instruct it to give ts version

  • @SolidBuildersInc
    @SolidBuildersInc Рік тому

    It should have said,
    "The Dark Mode Exposes Bugs" 😂😂😂

  • @alexandrep4913
    @alexandrep4913 Рік тому

    Just a warning to all, you guys are training the AI with your data. Dont allow them to do this and dont allow YTers to lead you down this path.

  • @berend109
    @berend109 Рік тому

    I use genie now, it basicly does the same.

  • @lamrof
    @lamrof Рік тому

    There is no free version at least to get used to. Come on !

  • @P0lntL3sS
    @P0lntL3sS Рік тому

    The new releases of AI and new model propositions make me depressed. I feel so far behind, even though I also feel like I have all the time in the world to learn and research my own ideas.

  • @etiennerobert6462
    @etiennerobert6462 Рік тому

    A developer is still required to ask the questions.

  • @XTSonic
    @XTSonic Рік тому

    I hate it so much my work has blocked all AI tools :(

  • @kurt7020
    @kurt7020 Рік тому

    Useful tool, but granting the ability to create, modify and delete files directly the local file system is a *terrible* idea.

  • @tanjt107
    @tanjt107 Рік тому

    I personally don’t like using copilot since the auto complete is limiting my thinking. But I do use chatGPT when necessary.

  • @_DRMR_
    @_DRMR_ Рік тому +2

    You failed to mention some of the legal implications of using copilot. These tools are known to reproduce existing code-bases verbatim and some opensource projects actually have guidelines in place that bar contributors from submitting code created using them.
    For small code snippets this may be fine, but having these tools generate large code-bases can really be problematic and can potentially violate all kinds of copyrighted content.
    I wish Microsoft/Github would be more transparent about which code is being used to train these models. Ideally only permissively licensed code is used and not just everything they can get their hands on.

  • @matrixstuff3512
    @matrixstuff3512 Рік тому

    I think using a copilot to generate unit tests is a terrible thing. You're just asking the copilot to test itself.

    • @brulsmurf
      @brulsmurf Рік тому

      thats why you use chatgpt for writing tests for copilots code

    • @landsgevaer
      @landsgevaer Рік тому +1

      You mean, almost like a programmer may write tests to test his/her own code...?
      Yep, terrible idea.
      😉

  •  Рік тому

    I cannot buy, it is forcing to try 1 months. We have economic inflation. After 1 months, everything will change

  • @svenoosterbaan6953
    @svenoosterbaan6953 Рік тому

    So far I enjoyed probably all videos, looking forward to it every week. Unfortunately you now have decided to add such a significant amount of sponsored content. So for the first time, thumbs down on this one.

  • @andyk2181
    @andyk2181 Рік тому

    Don't lie, you came up with that joke didn't you? 😂

  • @reyjanson1788
    @reyjanson1788 Рік тому

    this could be a short

  • @geertdepuydt2683
    @geertdepuydt2683 Рік тому +1

    anyone who has to write boilerplate BS like that for a job should seriously reconsider some life choices. if chatgpt is useful to you there is a strong possibility what you are working on is NOT INTERESTING. nothing wrong with cleaning the toilets but don't come crying when life renders you obsolete tomorrow.

  • @KonstantinPrydnikov1
    @KonstantinPrydnikov1 Рік тому

    You'a losing a lot of kg, good look but slow down bro

  • @hubstrangers3450
    @hubstrangers3450 Рік тому

    Thank you...., believe ML is not only having your lunch, smiling all the way to the bank....(that's big corporations revenue streams are certainly upwards trajectory in whatever their desired factor...) good luck for start up and sms..unless your a silver spoon kid, not going to survive out there....future looks bleak for most average Joe's and their families than progress.....however good luck though for all of you out there!!!!.