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
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.
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
@@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)
@@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.
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.
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
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.
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.
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.
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.
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
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.
@@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.
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!
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
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.
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.
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.
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.
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?
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.
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
@@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.
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.
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 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.
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
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.
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
@@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)
@@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.
@@AnthonyBoydGraphics yep, definitely not surprised by this
I use "Are you sure?"
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.
The intro was enough for a like 😊
Wonderful topic, you’ve been doing the next level content Bassem thank you!
Thank you 🙏 I’ve been working hard on improving the aesthetic as well as the value
it was nice to meet you yesterday bassem, (at SEF techtalk) , a great channel actually, you got yourself a subscriber.
Thanks Fadi 🙏
(Can I just say the video quality here is amazing? Well done! Subscribed.)
❤️
A bit disappointed it doesn’t have access to the whole repo as context. That would’ve been the bomb!
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
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
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.
From the linus tech tips comments it is at least up to 20 hours behind live internet
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...
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.
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.
so jealous of this tech right now! hype for copilot x!
It’ll be available for everyone pretty soon I suppose
@@glich.stream When you believe it will become public?
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
GPT-4 as far as I know
Takeaway: this doesn’t actually help you solve problems. In each scenario, you got stuck and decided to give up lol
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.
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
Nice Video. Can't wait to use this copilot x, hopefully the price is the same as copilot. BTW What font you are using?
Bai Jamjuree
Hopefully copilot X gets some enhancements when it goes public.
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.
@@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.
What terminal do you use? It looks really nice!
ITerm2 + fish (shell) + starship
Great video, thanks. How is this chat window any different than having a ChatGPT chat window open ?
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!
@@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.
Thx, very nice overview!
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
As he wrote elsewhere: the privilege of a GitHub employee. ;)
There's also a Copilot Chat extension you'll need for VS and VS Code.
how to get the chatbox in vscode? is it a published extension or not available yet? I have the basic subscription
It's not available yet! You need to join the waiting list :) github.com/features/preview/copilot-x
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.
Good I'm subscribed to the wait list
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.
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?
Neither, I work at GitHub 😄 but not on anything Copilot related and these are my personal opinions / thoughts on the product
When is it coming out? How did you get access to it?
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.
Noted, I’ll think of how to improve this for future videos
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.
It seems they capped the trial phase to 30 instead of 60 days now.
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.
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.
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
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.
Which vscode theme you are using?
GitHub theme: marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme
@@glich.stream thanks! and the font please?
@@sunder1224 Envy Code R
When is it going to become available?
I don’t have information on this
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?
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.
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
@@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.
@@AkmalAtabayev-f8y yeah, I think it understands the context with the right tabs opened from what I'm read and from the video itself
The fact that you don't have to paste the code. XD
I hope someday he'll start to understand the context better.
Rip stackOverflow.
dude censored "wtf" in case he uploads this on tiktok xd
replace your colleagues or be replaced, its time
Copilot will not be needed in a year...
You mean Copilot's copilot, i.e. us!? 😅
Microsoft stealing our code to sell us an AI reproducing this code. Essentially killing open source :)
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.
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
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.
@@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.