Coding with an AI pair programmer: Getting started with GitHub Copilot

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 157

  • @rgeisert
    @rgeisert 6 месяцев назад +10

    This instructor taught me MVC. Love his teaching style. To everyone distracted by the nails...they are still in beta. With Microsoft's weight behind it, we will all have purple nails in 2 years.

    • @gaiustacitus4242
      @gaiustacitus4242 6 месяцев назад +1

      Fortunately, I'm an Apple guy so my nails will remain the color of my choice.

    • @jplauy
      @jplauy 5 месяцев назад +3

      I was going to comment about this too hahahaha Is sooooooooooooooo distracting XD

    • @jbcatl
      @jbcatl 2 месяца назад +2

      But in 36 months they will announce that purple nails are no longer supported, and start pushing green nails, after your organization has committed millions to implementing purple nails across the enterprise.

  • @jdmtssp
    @jdmtssp 10 месяцев назад +6

    I'm just getting started with Copilot. I have to say this is a GREAT video.

  • @hemant9031
    @hemant9031 9 месяцев назад +3

    GitHub Copilot has great potential, I wish to see copilot gets trained on the latest data. Right now it's only trained till September 2021 which is way behind.

  • @jjgravelle
    @jjgravelle Год назад +68

    Nailed it... 😎

    • @g.c955
      @g.c955 11 месяцев назад +10

      I see what you did there 😉

    • @cardiderek
      @cardiderek 11 месяцев назад +4

      🤣🤣🤣🤣🤣🤣🤣 MADE MY DAY!!!

    • @jonathanmelhuish4530
      @jonathanmelhuish4530 11 месяцев назад +1

      But only half?

    • @runewinsevik8471
      @runewinsevik8471 7 месяцев назад +3

      Unfortunately the nail job took about 75% of the attention...

    • @nenemalo1941
      @nenemalo1941 Месяц назад

      @@runewinsevik8471 but also the nail job is at 75% hahhahahha mannn!!

  • @omureddy
    @omureddy 7 месяцев назад

    fantastic job, very useful , thank you sir!!

  • @gaiustacitus4242
    @gaiustacitus4242 6 месяцев назад +1

    GitHub Copilot will not only generate different output in response to the same prompts on different days but will also generate the same incorrect output for different prompts regardless of how clearly the specification is rewritten. Sometimes it is necessary to start by typing in the exact name of a function or method that exists in a GitHub repository in order to have Copilot generate the proper output. Of course, if you already know the name, then you've likely looked it up and can just copy and paste the code.

  • @aspiringcoder2024
    @aspiringcoder2024 11 месяцев назад +6

    The content of this demo is great. Christopher Harrison did a good job in making the material easy to absorb. The timestamps provided are very helpful.
    With regard to the audio, the volume of this video is incredibly LOW. Even on an expensive Mac Pro with Bose headphones, I'm having to crank the volume all the way up.
    Dear @GitHub: Please update your recording technology! You have some fantastic communicators - you're disrespecting them and your audience with your mediocre recording technology.

  • @pleanermail
    @pleanermail 11 месяцев назад +7

    Always Sprinkles✨
    High information per minute with personality.
    Thanks for this video Christopher 😚👌

  • @PuffNSnort
    @PuffNSnort 11 месяцев назад +4

    How do you stop it from uploading config files?

  • @alone-8888
    @alone-8888 7 месяцев назад +2

    00:00 - GitHub Copilot 介绍
    01:30 - GitHub Copilot 的工作原理
    03:00 - GitHub Copilot 中的数据处理方式
    04:33 - 使用 Copilot 调整工作流程
    06:03 - 如何有效构建指令提示
    08:37 - GitHub Copilot 编程演示
    10:21 - GitHub Copilot 的最佳实践建议
    12:08 - 利用 Copilot 进行 Django 模型构建
    14:10 - 对 Django 代码进行细节调优
    16:43 - 为 Copilot 设置命名规则
    19:02 - Django 视图的优化技巧
    21:20 - 创建 Django 视图的方法
    23:08 - 利用注释和示例代码
    25:38 - 使用 Copilot 精细化代码
    28:08 - 关键要点与实用技巧
    29:38 - 结语

  • @shriprasadmarathe7391
    @shriprasadmarathe7391 9 месяцев назад +1

    Great video !. There is typo in `preselect` . Not sure, was that the reason it have not picked up id and name.

  • @veganphilosopher1975
    @veganphilosopher1975 9 месяцев назад +11

    great intro. Love the presenter! rocking that polish 💅

    • @martapfahl940
      @martapfahl940 9 месяцев назад +2

      man with polish is horrible

    • @ahbarajaib2357
      @ahbarajaib2357 7 месяцев назад +2

      You are vegan... what do you know.

    • @XxwolfixX
      @XxwolfixX 22 дня назад

      ​@@martapfahl940 hating on people for nail polish is horrible. Maybe you should try painting your personality a nicer color ^^

  • @JuanAlarcon-o6k
    @JuanAlarcon-o6k 9 месяцев назад

    Such a great intro and demo. Very clear and easy to understand

  • @spectacularangular637
    @spectacularangular637 5 месяцев назад +1

    2:46 how much Context does it send GH Copilot if the file is 10,000 files long? etc.

  • @vdmircea
    @vdmircea 10 месяцев назад +1

    wow! it's amazing, "works shokingly well" in real-time inter-operating systems!

  • @Kimomaru
    @Kimomaru 8 месяцев назад

    Excellent presentation!

  • @ramp2011
    @ramp2011 11 месяцев назад +1

    Great video. I am curious who is it different than prompting chatgt directly to get the same code? What advantages do I have from using this? Thank you

    • @heikoh.1618
      @heikoh.1618 10 месяцев назад

      Its about context. You have a limited input size. And placing the comments in code dictates where the code will go. It is kinda a natural flow. Just getting into it, but i have been in IT for ages.

  • @SrikarKura
    @SrikarKura 11 месяцев назад +1

    Thank you for Good Demo!

  • @tamimiYoutube
    @tamimiYoutube 9 месяцев назад

    Good job!

  • @Amd107
    @Amd107 9 месяцев назад

    Did Microsoft used the code available on GitHub repos or to train this A.I. model? I mean they technically own all the code someone is pushing on GitHub

  • @jannarkiewicz633
    @jannarkiewicz633 8 месяцев назад +1

    If are anything like me and I know I am

  • @ArkticFish
    @ArkticFish 9 месяцев назад +1

    Me: Go get me a beer
    Copilot: Gets Becks
    Me: Uninstall

  • @nikitphadke
    @nikitphadke 11 месяцев назад +8

    This tab proximity condition is an awful layer over what is essentially a very good tool. And lets be clear, it is transparently a cost cutting measure to minimise context tokens. This will be sold shortly in the form of a premium layer and after a few development cycle the default will be to include the entire project in the context which is indeed the best thing to do. Currently a coder will have to go in and manually tab the files which will be affected by the work. This is kind of a best guess and increases the possibility of errors. What will happen when the answer is not expected? more prompts... more back and forth. purely because the context was not accurate. Ultimately costing more to guess who... Github!

  • @Yonglee7015
    @Yonglee7015 11 месяцев назад +6

    But your subscription price is really too expensive. Consumption levels in different countries are different. Have you not considered that different countries adopt different pricing strategies?

  • @geoffreycollins6627
    @geoffreycollins6627 11 месяцев назад +5

    Why do I have an impression that there are more comments written by the developer than actual code written by the copilot? 🤔

  • @ashokchakravarthi1163
    @ashokchakravarthi1163 11 месяцев назад +17

    Show the screen and explain, why show the person all the time

  • @InnocentiusLacrimosa
    @InnocentiusLacrimosa 11 месяцев назад +2

    I would love for something like OpenAI api based queries so it would be use based costing instead of constant subscription. But I do not code for living so my use case ia different from professionals. Anyhow, these AI tools look very interesting as kind of "coding partners" or additional layer of abstraction.

    • @heikoh.1618
      @heikoh.1618 10 месяцев назад +1

      i am trying to use it to teach my kid some coding... i think asking the right questions always has been my job, and now the AI actually listens ;)

  • @akashmilton
    @akashmilton 11 месяцев назад +1

    The volume is less

  • @BonAnurakBoonyaritphanit
    @BonAnurakBoonyaritphanit 4 месяца назад

    Good explanation. not too fast and clearly for who is not native english.

  • @uabpsab
    @uabpsab 9 месяцев назад

    I'm a bit late to the party..but perhaps someone will answer anyway...Can I use Github copilot if I dont use Github? If not, is there some other copilot that works without Github?

    • @webasdf
      @webasdf 9 месяцев назад +1

      You have to have a GitHub account and pay through that. But you do not have to host your repository at GitHub if that's what you're asking.

    • @uabpsab
      @uabpsab 9 месяцев назад

      @@webasdf thank you!

  • @duaneadamx
    @duaneadamx 11 месяцев назад +3

    The audio is super low.

  • @magdalenaszulc8997
    @magdalenaszulc8997 11 месяцев назад

    Great I wish to try

  • @orthodox_gentleman
    @orthodox_gentleman 5 месяцев назад +2

    Copilot is too outdated! They need to figure out how to constantly update and train the model because it’s last update is 2021 like MS Copilot which is crazy to me! That is 3 years ago and in the tech world that is a long time!

  • @SergiuTalnaci
    @SergiuTalnaci 8 месяцев назад

    The big takeaway is DRY code will be dead and everyone will be writing 5x to 10x more code but will add tech debt with it.
    May the holy divine forces protect companies from devs who forget to also write tests for the code they generate with copilot.

  • @MartinHAndersen
    @MartinHAndersen 11 месяцев назад +76

    Why do you ware blue nail polish?

    • @scientist30
      @scientist30 11 месяцев назад +48

      Why you care?

    • @sonujhariya
      @sonujhariya 11 месяцев назад

      Men care for it's community.@@scientist30

    • @KnowledgeUpdatka_1-a
      @KnowledgeUpdatka_1-a 11 месяцев назад +3

      😂😂😂😂 guy

    • @SilviuIT-tn3dn
      @SilviuIT-tn3dn 11 месяцев назад

      i can't get over it too. :) @@scientist30

    • @GeekTrainer
      @GeekTrainer 11 месяцев назад +29

      Because I like color in my life, in particular blue 😀

  • @AbdulRehman1-
    @AbdulRehman1- 11 месяцев назад +1

    Please help me GitHub perform wrong action.why it delete my account.and changes my project and profile without my permission.i am only single owner from Pakistan

    • @AbdulRehman1-
      @AbdulRehman1- 11 месяцев назад

      Please help me

    • @ahmedshahzad7654
      @ahmedshahzad7654 11 месяцев назад

      @@AbdulRehman1- Hey Abdul, could you please explain your problem in more detail. I am also from Pakistan and a user of Github Copilot so I might be able to help you out.

  • @muyivushafiq8389
    @muyivushafiq8389 Год назад

    Awesome!

  • @hedgefund996
    @hedgefund996 11 месяцев назад

    Good Content

  • @mahmudx
    @mahmudx 11 месяцев назад +1

    Heyyyy! I used to watch you in MVA days. Are you still a dog owner?

    • @GeekTrainer
      @GeekTrainer 11 месяцев назад +1

      Hey there!!! Absolutely am! We have a rescue American Staffordshire mix

  • @JazevoAudiosurf
    @JazevoAudiosurf 11 месяцев назад +1

    i do think that MS is much below their capabilities with this. i understand that it gets probabilistic at more advanced features and thus more expensive. i would still like to see this tech at the level where it just iterates and reflects until a whole feature is done

  • @gJonii
    @gJonii 11 месяцев назад +2

    I don't understand this "create this" pseudoprogramming prompting. It failed him on stage, and it fails everyone. Why not just write the model header, or if you literally can't do that, "model of name and ..." comment above it, with the verb missing? It seems purposefully awful workflow that's being promoted here.

    • @gJonii
      @gJonii 11 месяцев назад +2

      @@asksearchknock No like, I think it works quite well. As long as you don't try to use it the way he was using it with "comment programming", it is quite good at seeing what you're doing and going from there.

    • @GeekTrainer
      @GeekTrainer 11 месяцев назад

      Since GitHub Copilot is built upon an LLM it's probabilistic rather than deterministic, so it doesn't always do the same thing. There will be times where you expect one thing and get another, which is the nature of these types of tools. I left this part in as a demonstration and highlighted now to then work with the tool through rephrasing.

  • @Explorest
    @Explorest 11 месяцев назад +2

    Audio volume is too low. Didn't expect this from a major channel like that of Github

  • @NoWhiteGullibility
    @NoWhiteGullibility 11 месяцев назад

    Excellent!

  • @yashguma
    @yashguma 11 месяцев назад

    Promptcraft > witchcraft

  • @axeldaguerre7309
    @axeldaguerre7309 10 месяцев назад

    Copilot is maybe ok for boilerplating, but apart from that it seems to be unable to handle complex task in a complex innovative source code. I never tested it, but after 3 videos explainning the coolness of this tool, I didn't see any code produced by it of something else than handle things developers have handle for decades on their website source code.

    • @belphegor_dev
      @belphegor_dev 9 месяцев назад +1

      Maybe use it first before jumping to conclusions.

    • @axeldaguerre7309
      @axeldaguerre7309 8 месяцев назад

      By first principle and by reading my comment you would know that even if it's great at what's doing, it cannot solve problems other than the examples I gave.
      I sort of use it in my daily web job where everything is already solved by libraries and frameworks. If it does, it means that the work you're doing is nothing more that a modification of what everyone is doing or has done in the past.
      I say that from experience: my current daily job is inside one of these big companies that can throw money at everything and use their monopoly to not having to care about innovation.
      Furthermore if you understand at what is inside an LLM, you understand that it's really not the right tool to create innovative code and architecture.
      I gain much time from it because the job require nothing more than boilerplates and make it works with pile of junk code between yours.
      My comment about being slower and providing no benefit at all (searching, understanding high level view of a project and more) is in my opinion still true.
      You currently can't trust it when you ask for something simple, how can you trust when it tries (and will hallucinate in doing so) to regurgitate how a complex source code works, because I wouldn't. More, you loose insights if you solely rely on it or will still gives you wrong understanding about some piece of it if you try to use it (detrimental compared to if you don't use it)
      .
      @gor_tv

    • @vncstudio
      @vncstudio 6 месяцев назад

      That's not true. I just completed a real-time av streaming project using gstreamer which is quite a complex library to use and it helped me a lot. However, you have to be patient and ask questions very precisely. You might have to repeat the questions once in a while since it has short-term memory and can lose critical information you provided after a couple of questions and answers. The chat capability is the most useful feature to plan and design your project and get chunks of code for specific components.

    • @axeldaguerre8838
      @axeldaguerre8838 6 месяцев назад +1

      ​ @vncstudio I think most people answering my old comment didn't get what I said.
      You are telling me that it helped you to use a library, which has tutorials, documentation and source code on the internet. I've never said it won't help you in that regard, I said the complete opposite.
      People feels attacked when they are attached to something, if you didn't, I am pretty sure you would haven't written this comment. I don't want to be rude though

    • @vncstudio
      @vncstudio 6 месяцев назад

      ​@@axeldaguerre8838 I certainly do not feel attacked by such a minor thing...LOL. I thought exactly like you that it was okay for some routine boiler plating and would not solve complex problems but it has exceeded my expectations and saved me a lot of time. It does not mean it is perfect. It can take you down a dead-end too yet it is great to jumpstart in domains of solution design and implementation that might be new to you.

  • @1Eagler
    @1Eagler 10 месяцев назад

    Maybe it would be nice to add voice recordings

  • @beatriceowusuachaw6210
    @beatriceowusuachaw6210 5 месяцев назад

    GOD is a miracle worker Amen 😅

  • @martapfahl940
    @martapfahl940 9 месяцев назад +3

    Men don't wear nail polish, basta

    • @Algardraug
      @Algardraug 8 месяцев назад +1

      Why?

    • @martapfahl940
      @martapfahl940 8 месяцев назад +2

      @@Algardraug Becuase nail polish makes a hand look very elegant and feminine. My mind yells at me that there is a mistake in the matrix when I see a strong male hand with nail polish. And in reality no mascular man would wear it. And to be honest companys push those people into the camera to show them "we are diverse" although he might be the only one among the entire staff

    • @tonjar
      @tonjar 5 месяцев назад

      Not for you to decide.

    • @martapfahl940
      @martapfahl940 5 месяцев назад

      @@tonjar Yes it is for me to decide.

  • @johnmcormick
    @johnmcormick 11 месяцев назад

    okay what about visual studios 2022? vscode isn't useful

  • @jdavid82
    @jdavid82 11 месяцев назад +1

    must focus on topic... stay focused... I can't

  • @SabithHunter
    @SabithHunter 11 месяцев назад

    0:07 0:08 0:08 0:09

    • @ex0stasis72
      @ex0stasis72 11 месяцев назад +1

      Did you have a stroke?

  • @ruandupreez6144
    @ruandupreez6144 11 месяцев назад +7

    Whats up with the nail polish my man...

    • @belphegor_dev
      @belphegor_dev 9 месяцев назад

      It's to make weirdos like you hard.

    • @Algardraug
      @Algardraug 8 месяцев назад +2

      What's up with it? Don't you like blue?

    • @themadladgaming
      @themadladgaming 8 месяцев назад

      @@Algardraug i like you to get a job, and touch some grass

    • @tonjar
      @tonjar 5 месяцев назад

      Let me break it down to you:
      He opened the bottle, applied the paint to the finger nails, let it dry and voilà: done!

  • @AmjadNasr-r5f
    @AmjadNasr-r5f 11 месяцев назад

    Hello

  • @awebcode
    @awebcode 4 месяца назад

    make it free plese😿😿

  • @johnmcormick
    @johnmcormick 11 месяцев назад +8

    can paint your nails blue, but can't brush your teeth?

  • @alysonsloka8386
    @alysonsloka8386 9 месяцев назад +1

    Hahah these Ai comments. The internet is dead.

  • @projectcontractors
    @projectcontractors 10 месяцев назад +1

    'One of the most common questions I get asked is ... Purple nails, WTF?

    • @belphegor_dev
      @belphegor_dev 9 месяцев назад

      Do the nails get you hard?

  • @KevinNdhlovu
    @KevinNdhlovu 2 месяца назад

    😂❤❤🎉😢😮😅😊

  • @MrMigueldf
    @MrMigueldf 7 месяцев назад

    that nails 🤣

  • @CGRealStudios
    @CGRealStudios 11 месяцев назад +9

    What's wrong with his nails ?

    • @miamoto5040
      @miamoto5040 11 месяцев назад

      Some gay shit probably

    • @mr.bouncealot9047
      @mr.bouncealot9047 6 месяцев назад

      Could be psoriasis

    • @orthodox_gentleman
      @orthodox_gentleman 5 месяцев назад

      @@mr.bouncealot9047what? lol do you know what psoriasis looks like? It doesn’t affect the nails! He probably painted them.

    • @mr.bouncealot9047
      @mr.bouncealot9047 5 месяцев назад

      @@orthodox_gentleman google it, good sir

    • @CreatorEdge
      @CreatorEdge 5 месяцев назад

      They are to identify*** use copilot to finish that line.

  • @onke
    @onke 10 месяцев назад +2

    Audio so low and what the heck are those nails bruv

    • @Algardraug
      @Algardraug 8 месяцев назад +1

      They're painted, look up nail polish

  • @alerossi82
    @alerossi82 7 месяцев назад +1

    Bro what's wrong with your nails

  • @iPankBMW
    @iPankBMW 10 месяцев назад +5

    Why the fuck his nails are painted...

    • @Algardraug
      @Algardraug 8 месяцев назад +2

      Why the fuck not?

    • @themadladgaming
      @themadladgaming 8 месяцев назад

      get a job man...touch some grass@@Algardraug

    • @tonjar
      @tonjar 5 месяцев назад

      So easily upset? Poor you.