Тёмный

A cautionary tale about chatgpt for advanced developers | Prime Reacts 

ThePrimeTime
Подписаться 586 тыс.
Просмотров 118 тыс.
50% 1

Recorded live on twitch, GET IN
/ theprimeagen
Become a backend engineer. Its my favorite site
boot.dev/?prom...
This is also the best way to support me is to support yourself becoming a better backend engineer.
Reviewed video: • A cautionary tale abou...
By: / @joshuamorony
MY MAIN YT CHANNEL: Has well edited engineering videos
/ theprimeagen
Discord
/ discord
Have something for me to read or react to?: / theprimeagenreact
Kinesis Advantage 360: bit.ly/Prime-K...
Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
turso.tech/dee...

Опубликовано:

 

23 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 289   
@baked-with-bry
@baked-with-bry 6 месяцев назад
It’s like a coworker that won’t judge you for your stupid questions or brainstorming ideas.
@theodorealenas3171
@theodorealenas3171 6 месяцев назад
When I try to help my colleagues without being judgemental, they panic. They're not used to it lol
@bonecircuit9123
@bonecircuit9123 6 месяцев назад
great wisdom here@@theodorealenas3171
@JustBCWi
@JustBCWi 6 месяцев назад
Kind of like a beagle.
@kaerakh4267
@kaerakh4267 6 месяцев назад
@baked-with-bry That's an excellent description.
@CorpoWolf
@CorpoWolf 6 месяцев назад
This 100% Sometimes when I learn / figure something out with chatGPT I'm just confused by "without chatGPT how could I even learn this, how could I even google these questions".
@brosauce2814
@brosauce2814 6 месяцев назад
Chat gpt is like a politician. It will give an answer even when it doesn’t know what to say.
@FireStormOOO_
@FireStormOOO_ 6 месяцев назад
The cynicism that politician implies is mostly absent. I've been saying improv actor - it's going to do something, if possible something that fits the prompt, but it'll jump into fantasy just as quick as real world problems.
@JustBCWi
@JustBCWi 6 месяцев назад
It has the right answer. You just asked the question wrong.
@brosauce2814
@brosauce2814 6 месяцев назад
@@JustBCWi Chat gpt (at least gpt3.5) is still very bad at probability formulas which is most of what i spend my time programming. It also has trouble doing anything beyond bachelors level math, and working with larger codebases doesn’t help either. If you are using libraries that have documentation that already exists on the internet, then gpt is great. But I wouldn’t recommend using gpt if you are doing any difficult math or writing lower level programs.
@colto2312
@colto2312 6 месяцев назад
@@brosauce2814 skill issue
@doublekamui
@doublekamui 6 месяцев назад
because the gpt 3.5 is trained on dataset that available in september 2021 below, so it doesn't know knowledge that released above that date. you should look at the gpt 4 for code or knowledge that released above september 2021 in real world, or try google gemini because it trained on new knowledge but it has lower ability to understand context than chatgpt and sometimes it forget about what topic we are discussing, but it is catching up now. so its heavily depends on the dataset
@YoutubeStandardLicense
@YoutubeStandardLicense 6 месяцев назад
Ah I remember the old days of going on StackOverFlow and getting ribbed by some snotty developer for asking a question.
@SolarPlayer
@SolarPlayer 6 месяцев назад
If we oversample stackoverflow posts and retrained gippity....
@YoutubeStandardLicense
@YoutubeStandardLicense 6 месяцев назад
@SolarPlayer there should be a stack overflow plugin for all these LLMs. You ask it a question, it berates you, gives you an answer, then gives you 4 more answers, fights with itself about which answer is better and then devolves into timing the solutions down to the micro second to win the argument
@kidmosey
@kidmosey 6 месяцев назад
@@SolarPlayer You should also include Quora
@LaughingRam
@LaughingRam 6 месяцев назад
"Well, if you RTFM you f'n noob you wouldn't have to waste our precious time and internet space with your stupid question. " Yeah I won't ever miss SO. ChatGPT is so much nicer, I don't even care if it's wrong sometimes.
@bedtimestories1065
@bedtimestories1065 6 месяцев назад
​@brianhourigan God the amount of times we have all seen this exact type of discussion over the years. Too accurate 😂
@_tsu_
@_tsu_ 6 месяцев назад
chatgpt is so good for beginners imho. As long as you take the time to understand what it's doing, its good. As an intermediate programmer that's trying out many new things, its a lifesaver.
@infinitivez
@infinitivez 6 месяцев назад
I truly appreciate that you openly review other RU-vidr's content on a regular basis. I've learned so much, from so many different people, and I LOVE IT! Between you and Theo, it's hard to say who's impacted my journey more in playing catchup from 2005 when I quit keeping up all the technologies. It's a relief things are so complex, and yet, so much more uniform than they ever were before.
@5h4ndt
@5h4ndt 6 месяцев назад
20 years ago, I taught myself C++ with notepad on a school computer ( because I couldn't install software without admin rights). At the end of the day mailed the code to myself and completed/compiled at home (needless to say, there never ever was an instance where it would run as is). Despite not really using C++ for 10ish years, every time I have to write a little, I instantly feel at home and comfortable writing code ( though I'm not up to speed with current day c++ )
@terrencemoore8739
@terrencemoore8739 6 месяцев назад
I like chatgpt more because I don't want code completion. I want it to help fill in knowledge gaps, not put bugs in my code. Even if I copy the code that's in chatgpt, I feel more in control of what code I'm letting into the codebase. Also user experience is just better, asking copilot a question it can't assume from he context of what you're coding is worse than the setup for interfacing with chatgpt
@bu_xl
@bu_xl 6 месяцев назад
Big agree. Also sometimes I don’t want copilot to take my current code into account, I just want to bounce general ideas off of it.
@ProfessorThock
@ProfessorThock 6 месяцев назад
When the LLM sends a message in a totally different direction than you want, it’s important to provide it a new reference for your current code. This will help it immensely with getting it back on track. I developed an ai chat app that implements selectively hiding messages for situations like that and pinning messages to easily make sure it stays focused on a particular task.
@DaveTheChronicler
@DaveTheChronicler 6 месяцев назад
Do you mind expanding a little on this? New reference as in a different code block to help it understand your goal or the same code block stated a different way to reinforce what you are looking for?
@ProfessorThock
@ProfessorThock 6 месяцев назад
@@DaveTheChronicler sure! It all goes back to the original paper that sparked the fire, Attention is All you Need. Getting GPT4 to behave the way you want is about providing the right context. When starting a conversation, I’d recommend including a copy of the relevant file or function you’re asking it about. Then take some time to write out your thoughts. Then provide clear bite sized instruction for it. If you have a big enough knowledge gap that you can’t understand a proposed solution you should start by asking it to brainstorm with you rather than offer a specific solution. If the LLM ever gets off track and sends something way off base, that is now polluting your context window and distracting the ai. Ideally you should immediately revise your message and regenerate the response for cleaner context. Alternatively if that’s too late you should paste in your current working code again for reference. This will put the pollutant message further back in the context window which helps the ai get back on track. Additionally, do not berate the AI or ask petty questions like “why didn’t you do that the first time?”. The answer to that question is because you provided it the wrong context. By asking it these questions you’re just adding irrelevant messages to your chat feed and pushing valuable information out of the context window. There are times however when GPT4 will refuse to believe that something you’re doing works or is real. These are the most confusing times to use ChatGPT. Sometimes you have to be confident in your own abilities and be able to recognize when it’s gaslighting you. The app I created is going to be launching soon on iOS. Would you have any interest in me coming back to this thread to let you know when it does? I’ve found that by providing these two simple utilities, pinning and hiding, it drastically improves the usability of the model in an easy and (I hope) intuitive way.
@doublekamui
@doublekamui 6 месяцев назад
​@@DaveTheChronicleri think it means put more code of your project to the chat, so the chatgpt receives more info about what you are trying to do. the simple analogy is like : you ask someone : "do you know a girl?" it different put more information like : "do you know a girl with blue dress and black glasses and black shoes?"
@Snowboardbound
@Snowboardbound 6 месяцев назад
Chat GPT is such a “yes man”. It always goes with whatever initial train of thought you had, whether that train of thought is right or not. I find myself in deep rabbit holes, realizing it was quite literally the very beginning of the solution that needed the adjustments.
@psalmy26
@psalmy26 6 месяцев назад
Learn to phrasing things Hella neutrally
@OnlyForF1
@OnlyForF1 5 месяцев назад
If you say a junior dev on your team recommended it ChatGPT will be a lot more critical
@chonkusdonkus
@chonkusdonkus 6 месяцев назад
I use ChatGPT-likes exclusively as a learning tool, I'll always generalize my question before asking it, so it's not directly related to my project, and then use that new knowledge to implement whatever things in my projects.
@CodecrafterArtemis
@CodecrafterArtemis 2 месяца назад
🤚 Using books, documentation and other resources as a learning tool. 👉 Using a poor regurgitation of those books and documentation as a learning tool (that's wrong like 30% of the time).
@datboi449
@datboi449 6 месяцев назад
Ive found it great for exploring apis that I have smooth brain experience with. Helps me identify jargon bespoke to the api and topics to explore more.
@calinawhakaata9932
@calinawhakaata9932 6 месяцев назад
Joshua Morony is actually a great youtuber. glad you watched this
@Kane0123
@Kane0123 6 месяцев назад
Australian mentioned let’s go!
@sfulibarri
@sfulibarri 6 месяцев назад
I've been learning go and I've found it really useful to highlight chunks of code and ask copilot to explain bits of syntax in the chat format. The autocomplete definitely feels like a footgun when learning new languages though, I almost always actually just need to see the regular autocomplete to get a sense of what each package is.
@septimsniffer4104
@septimsniffer4104 6 месяцев назад
It's great for small code snippets. For novel problems involving multiple components and large codebases, not so much. But maybe with Google Gemini 1M context window that'll change
@EvilTim1911
@EvilTim1911 6 месяцев назад
When it comes to implementing a complex system, it can be useful to bounce ideas off of, not really ask for it to code things out for you. It's decent at talking about things from a high level. If you ask it to code a complex system it will fail spectacularly though. You kind of start understanding its strengths and weaknesses over time and what it can actually help you with and where it's useless.
@antonhelsgaun
@antonhelsgaun 6 месяцев назад
​@@EvilTim1911definitely. It can discuss the high level stuff, because there's a ton of books and text on that. It can write simple code, because there's a ton of that. An actually novel problem is where it struggles
@MrIndiemusic101
@MrIndiemusic101 6 месяцев назад
​​@@EvilTim1911that's pretty much how I treat it. I give it small scale and high level idea of what I'm looking for and then see what it spits out and converse with it in a way about what it spat out. It's kinda like a virtual pair programmer to bounce ideas off of while also being a faster replacement for things like Google and stack overflow. In fact I find it better than Google or stack overflow because I'm thinking more about my problem at hand to arrive at a solution rather than being laser focused on finding a solution.
@nou4605
@nou4605 6 месяцев назад
​@@EvilTim1911The bounce ideas off part is the real USP of these bots. You don't really get that with a search engine. You can't ask an article a clarifying question. The best you can do is comment or post somewhere and wait for a response. With LLMs you can ask it questions, and while it may be wrong at times, it's still very helpful.
@caschque7242
@caschque7242 6 месяцев назад
exactly. it's a tool that you learn to use like google. and it will get a lot better. so reevaluating constantly is also a big part. e.g. ppl who only used gpt 3.5 are being left out saying it's not useful. @@EvilTim1911
@TrueTechLead
@TrueTechLead 6 месяцев назад
ChatGPT is great at writing tones of templated react code or for google searches since it will summarize tones of text for you.
@VforVictorYT
@VforVictorYT 6 месяцев назад
I think now is the best time to use CHATGPT to learn because of its imperfections. Me knowing that you have to code review everything it gives you, and it helps to motivate you a lot more. I think like omg this idiot did this part all wrong, let me show you how it's done 😂
@seancpp
@seancpp 6 месяцев назад
7:34 when gippity suggests a sweeping change to the API I've had good luck just telling it that I need to do it this specific way, and it comes back with a better version without the sweeping change. Probably doesn't work all the time but it's worth trying to coerce GPT into sticking to a specific implementation style
@pif5023
@pif5023 6 месяцев назад
I use it for learning but not on the job. It can work as a dynamic index for a huge textbook. You can ask it to summarize, introduce or dive deeper into concepts dynamically. I still find important to ask it for sources of what it is saying.
@moonasha
@moonasha 6 месяцев назад
in the past week I learned LINQ entirely from GPT, just by going through a program and pasting loops into it. It screws them up once in a while, but I can catch the mistakes and still understand what it's trying to do. After a few times, I tries to make my own LINQ queries, made mistakes, had GPT correct them. I'm finally at a point where I can do it without really thinking about it. The problem is most people aren't using GPT to learn, they're using it to do work for them
@shadamethyst1258
@shadamethyst1258 6 месяцев назад
The issue is that you're learning off a snapshot from 2021. LINQ didn't change much in that time, but things like LeanProver have moved to a completely different version, and GPT has zero clue what the new syntax should look like. Any new library, any new version of a language or framework, is going to trip GPT up, and it might (and will) suggest code with outdated practices. It's the same issue as with old tutorials, except that here, there is no way to know how old the knowledge it's spitting out is
@grantpeterson2524
@grantpeterson2524 6 месяцев назад
​GPT-4s training cutoff is now April 2023.​@@shadamethyst1258
@nou4605
@nou4605 6 месяцев назад
​​@@shadamethyst1258Not an issue if you use Microsoft Copilot. It has access to the internet. And it cites it's sources. I believe even ChatGPT 4 does.
@EddyVinck
@EddyVinck 6 месяцев назад
One thing I really like about AI is using tech again I haven’t used in a while. I don’t do a lot of SQL but earlier this week gippity helped me figure out some syntax of concepts I still understand but forgot how to write.
@pieterrossouw8596
@pieterrossouw8596 6 месяцев назад
chatgpt to me is just a search engine that survived the SEOpocalypse which is nice and ironic since AI generated articles are a huge problem for search.
@MarceloPlaza
@MarceloPlaza 6 месяцев назад
For someone starting developing with nextjs 14 and react, I understand this perceptions of using AI to learn. In my case, I was able to advance really fast at the beginning but later, some problems arise with lack of knowledge of fundamental concepts. What I did was always go back to the important concepts of these knowledges to solidify what was already done with the help of AI. So I could finish some app but I would always go back to understand everything with direct questions to explain the topics. For me it was fundamental to start from zero to a deployment, but had to go back to really learn.
@latch909
@latch909 6 месяцев назад
100% this is my exact same experience. I had to ship a companion web app for my businesses mobile app and built it in nextjs after being frustrated with no-code tools... So I got from zero to sixty real fast but then there are so many knowledge gaps which I had to backfill with more traditional learning
@mwpretorius7913
@mwpretorius7913 4 месяца назад
The funny thing about having to cross a massive gap in knowledge is that I don't think you could have done it before without chat GPT. Now you might be able to, even tough you shouldn't. As someone who has been programming for more than 5 years, on the side and has had no formal education in programming, GPT is a great learning tool If you are committed to building up your knowledge foundation as you go. One of the biggest road blocks in my learning has been finding out what I don't know about at all. For context I am the best programmer I know, not that I'm any good but that is all I have. So to suddenly have the ability to describe a problem and to get a bunch of new key words to further investigate is a miracle for my learning process. But If I started my programming journey now or in the future I would not even bother to try and learn programming. There will come a time when a noob can "code" an entire project by themselves, and get a result that they are happy with and never bother to understand the underlying code. What approach will be better? spending 5-10 years to git gud and be able to make anything, or never bother and be able to make everything but it runs like 💩?
@jeremykothe2847
@jeremykothe2847 6 месяцев назад
Keep in mind this fact: Chat-GPT has been trained on all code examples from github in particular. So it's an exemplary "average" programmer. Its code is very middle of the road. It's incredible for a first draft.
@BeaverZer0
@BeaverZer0 6 месяцев назад
I use chat GPT to read the entire transcript of a video or live stream and then I can ask it questions about what was in the video and have it put the video or live streams contents into bullet form for me. It's very handy if you're looking for that one time a person said a specific thing
@fewew7898
@fewew7898 6 месяцев назад
I also do that and I also ask chatGPT to do the thinking for me so I don't even have to form my own opinions
@TheMightyWalk
@TheMightyWalk 6 месяцев назад
Video ? Since when does it read video
@marcosdiezgarcia
@marcosdiezgarcia 5 месяцев назад
The struggle involved in learning is part of the learning process. The mental blocks and knowledge gaps (no matter how small or big) are there precisely for you to engage your thinking. I think the problem comes when the tool that is supposed to only assist you incidentally becomes the norm and you end up delegating your learning. Which is what the video tries to point out.
@PRIMARYATIAS
@PRIMARYATIAS 6 месяцев назад
TypeScript looks a lot like C++ templates hell.
@sealsharp
@sealsharp 6 месяцев назад
That's what it reminded me of.
@Allr3dc
@Allr3dc 6 месяцев назад
Chat Jippity is my regex generator at this point
@_Lumiere_
@_Lumiere_ 6 месяцев назад
Gotta have a lot of faith for it to do that lol
@CatFace8885
@CatFace8885 4 месяца назад
If most people struggle with regex, then I'm not sure if I would trust an AI tbh.
@mattmmilli8287
@mattmmilli8287 6 месяцев назад
It’s got me through some pretty insane small group of functions about generating some procedural geometry that had to come up with from scratch. It’s got uses for sure ! Especially for the math deficient among us
@yp5387
@yp5387 6 месяцев назад
I think ChatGPT can be used to validate an idea quickly. I like the way it spits out info and it is very helpful. But never do copy paste unless it is a very basic code snippet.
@cmoullasnet
@cmoullasnet 6 месяцев назад
ChatGPT is what Google search used to be a few years ago. It’s just faster to find things. You can also feed it specifics and have it come up with specific answers/syntax that fit with your specifics. But you can’t let it direct you. It’s an assistant, not a mentor.
@jackwright517
@jackwright517 6 месяцев назад
Sometimes I have a niche question, I just slap it to copilot and it helps so much. And little gaps in my knowledge, like "will this work tell me yes or no" and it usually helps clarify something! What does this param do? Is it good practise to do this? Habdy
@jmnoob1337
@jmnoob1337 6 месяцев назад
I asked Chat GPT-3.5 to list all the World's Fairs in order by year. It took 3 attempts! (4, if you count the first time where it only gave SOME of the fairs, not all!) In the end I asked it about its knowledge of sorting algorithms and suggested it employ one of those algos the next time someone asks it to sort a list. It thanked me for the advice and said it will try to do that in the future. That was not the latest and greatest GPT model, but shows you how it fumbles, and also shows how feedback loops (aka more training) have huge potential for improvement.
@someguy9440
@someguy9440 6 месяцев назад
lurves me some copilot. for us old timers, using copilot and chatting with it frequently in natural language feels like how pair programming was supposed to work. it's great to walk through complicated things. I've been working through a problem I wanted to use pedersen vector commitments for and it was really good at refreshing the ecc math using code and not symbols and spotting obvious foot-guns. if you don't know what you're doing it will quickly lead you down the path of some dangerous assumptions, but it is less wrong than chatgpt, which often just spews garbage for more complicated algorithms.
@CamembertDave
@CamembertDave 6 месяцев назад
To whoever it was in chat that said "Typescript just lets you write Java in Javascript" - Java typing is way better than that mess at 2:00. Edit: Oh god, I hadn't even got to 6:00 yet
@robbie_
@robbie_ 4 месяца назад
Agreed about driving it in small little slices. I had a lot of code for image conversions, you know NV12 -> P010LE, etc. With the help of Chat I made AVX2 paths for all these functions. The advantage here is as it's video you can see if the function is wrong very easily. They are about 7x faster than my original C++ functions. There were some things I had to search SO about. For example prefetch instructions are pointless with modern CPUs but Chat seemed to think they would make the code faster until I pointed this out (then chat instantly agreed with me, so why did it recommend them in the first place, etc.). You've got to have knowledge before you use it to know when it's talking rubbish.
@darian.rosebrook
@darian.rosebrook 6 месяцев назад
At what point does typescript become less reasonable? Those type definitions make that extremely hard to follow. Is it just taking the readability/scanability and trading it for "safety"? What if one of those extended types is actually incompatible and you have to try to trace back and debug it? What is the alternative to TS in this instance? It makes sense for APIs, but for project structure, is JSDocs better in this case?
@HyperionStudiosDE
@HyperionStudiosDE 6 месяцев назад
Yeah, that looks literally insane. Whoever wrote that needs to snap out of his fever dream. I hope this isn't the standard in Typescript world.
@asyncpipe
@asyncpipe 6 месяцев назад
It's a small project maintained mainly by that sole individual, so I think it's justifiable to have such typeacript code there. In larger code bases maintained by many people I'd say such code would be crazy.
@CodecrafterArtemis
@CodecrafterArtemis 2 месяца назад
OCaml/Rescript.
@christopherleadholm6677
@christopherleadholm6677 6 месяцев назад
Problem is, business who run things similar to chat-gippity (or any coding job, really) have zero interest in employees actually struggling to learn, tho... they just want output / results. 🤦 it's shameful.
@disguysn
@disguysn 6 месяцев назад
I have to deal with a lot of different technologies every day. I love ChatGPT as it can provide quick boilerplate and reminds me of the different idioms in each context.
@pldcanfly
@pldcanfly 6 месяцев назад
Somtimes ChatGPT just makes me so furious. "I have an error here." - "Ok do X." - "The error is still there, you have not touched the problem and made some random change." - "Oh sorry, do Y" - "Still not touching the problem." - "Oh sorry... lets try X" .... I love copilot tho, but deactivate it when I want to learn, but for work it predicting what I want to do next can save a lot of time.
@kenneth_romero
@kenneth_romero 6 месяцев назад
i'm pretty excited for gemini pro actually. just to better search through code and basically what prime wanted from AI but more specific and detailed/tailored to a specific module/codespace. Be an awesome learning tool too, similar to what Georgia Tech did for an AI class. A TA there to help you out, but just don't let it do your homework.
@alpaca_growing_kit
@alpaca_growing_kit 6 месяцев назад
I actually had an experience like this today. I used chatGPT to create a custom component for react-select, but it made some strange prop destructuring which broke the prop flow in the library. I didn't see this right away, and I spend so much time debugging...
@The1RandomFool
@The1RandomFool 6 месяцев назад
Those crazy types look as bad as some of the things I've seen in C++ algorithms and ranges.
@the_curious1
@the_curious1 6 месяцев назад
Good video 👍 I agree with most things however I think beginners should learn with GPT-4 or now Claude 3. There is a danger that they might rely on it too much and not learn much on their own but from my uni experience most were like this without LLMs. If someone really wants to learn and understand then these new tools are a golden opportunity to accelerate the ability to learn because even if you have a big hole in front of you GPT-4 will show you a path and you can start learning the different areas along the way with other resources as well. Only relying on an LLM is a bad idea but using it well improves learning efficiency. In fact learning when to use it is part of the learning process because let's face it, they aren't going away and they will get better.
@torquemada2
@torquemada2 6 месяцев назад
What you're saying about memorisation mirrors what we are seeing in students - they don't remember facts, but they remember how to look up those facts.
@Jamiered18
@Jamiered18 6 месяцев назад
I love Prime, but I don't get his hatred of Typescript. You know you're not forced to write types that strong and complex?! You can choose to write them just as weakly as you do in other languages and it's pretty simple syntax. But then you do have the option for strong typing way beyond what other languages offer, if you want. And once you understand it, it really actually saves you so much pain. I'm gonna say it: skill issue.
@pif5023
@pif5023 6 месяцев назад
In my experience it is very good for docs. I don’t trust it for code. When you use it you must remember how it works, it is easy to project sentience on it but what it does is not different from what midjourney does with images: it is a hodgepoged of the training text input. Examples it gives you are made that way. It works on documentation because documentation is structured concepts but when you stray in niche and open questions it struggles and it will make a mosaic of words for you.
@conundrum2u
@conundrum2u 6 месяцев назад
From a senior engineer standpoint, it doesn't offer much at all from a coding standpoint. It's excellent at connecting dots to other technologies, juxtaposing them quickly. Yes I could go ask as colleague or read an article, but if I need a paragraph or 2 to launch me elsewhere it's great. If you're suffering from a boilerplate problem, I would probably point to the language or tech stack you're using, because once you've got a few boilerplate files taken care of, it's all custom logic that AI can't solve.
@SYK17.
@SYK17. 6 месяцев назад
Watching this video in middle of an ongoing struggle implementing AVL from scratch. I've never felt more seen.
@lxyacht
@lxyacht 4 месяца назад
I use chatgpt to help learn, but the way I use it is to just ask it where in the documentation I need to read.
@moristar
@moristar 6 месяцев назад
3:16 Whoever writes code like this deserves to be replaced by AI. Begs to be replaced!
@emanuelturis4132
@emanuelturis4132 6 месяцев назад
I think it's great for ideas, direction on how to think about a problem, and overall like a guide, but I never make a decision based on what it says.. instead use it to guide my research and give me pros and cons for solutions I'm implementing in a code base.
@ChrisCox-wv7oo
@ChrisCox-wv7oo 5 месяцев назад
I primarily use chat style AI coding. I use it more as a form of Google, and to sanity check code choices or issues as they crop up. It feels far less intrusive than auto generation coding, and I remain in control of when I go out and get AI suggestions. I don't constantly want to be assessing whether or not the code generation being suggested is appropriate. That just seems like a lot of cognitive overhead for when I'm heads down coding.
@WarrenLeggatt
@WarrenLeggatt 6 месяцев назад
As always there is a correct way to use GPT. But what will happen is what currently happens in that people will use as a crutch too much and then not learn. These are the people that before GPT I would call "Stack Overflow Programmers" in that they have no real knowledge and just pick answers from stack overflow and try and stitch the bits together. Now they will just be chat-gpt programmers, so no programmers lol
@christopherflinn4910
@christopherflinn4910 6 месяцев назад
Coding with AI is like driving with GPS. Any work your brain doesn't have to do doesn't get stored in memory. That being said, as a uni student I love that I can ask ChatGPT "How do I build a string dynamically in Java?" and have it return StringBuilder immediately, saving me 20mins - 1hour.
@kidmosey
@kidmosey 6 месяцев назад
If you use ChatGPT, your brain is learning something. You are learning about prompt engineering and how to ask more accurate questions.
@christopherflinn4910
@christopherflinn4910 6 месяцев назад
⁠​⁠@@kidmoseythe dangerous thing about LLMs is they don't actually know the meaning of the sentences they construct. It's just a combination of mathematics and computation. So for a very simple answer with wide consensus, like "how do I declare a variable in C?", it is very good. However, as questions become more complex and less well-documented, it is significantly less useful.
@kidmosey
@kidmosey 6 месяцев назад
@@christopherflinn4910 Yes, the more data it has to draw from, the more accurate it's answers will be. Don't ask it anything about Godot game engine, because it will fabricate about half the API
@christopherflinn4910
@christopherflinn4910 6 месяцев назад
@@kidmoseylong live the Unity slayer
@CodecrafterArtemis
@CodecrafterArtemis 2 месяца назад
> I love that I can ask ChatGPT "How do I build a string dynamically in Java?" You can do the same thing with Google though (even without the AI).
@FizzlNet
@FizzlNet 6 месяцев назад
0:01 You mean chatjipiti?
@PanicAtProduction
@PanicAtProduction 6 месяцев назад
I saw types who was written by a developer who does not understand how to use types. We just sent promise hell to garbage using react-query, now type hell is here. Here we go again…
@todd.mitchell
@todd.mitchell 6 месяцев назад
Copilot is like a senior developer with eidetic memory who only costs $100/year because he's hammered half the time. As long as he's sober, he's smarter than I am. Just be careful when he's on the sauce.
@iamvalenci4
@iamvalenci4 6 месяцев назад
free for university students
@yesyes9698
@yesyes9698 6 месяцев назад
@@iamvalenci4that’s really cool. I also have it for free
@immortalreverence
@immortalreverence 6 месяцев назад
Letting ChatGPT explain everything about some projects is essentially helpful, aiding you in learning. It's the imaginary friend that allows you to revisit the thought you might have missed.
@echobucket
@echobucket 6 месяцев назад
I almost lost the point of this video because i was so shocked about how awful the TypeScript was.
@a.m.4154
@a.m.4154 6 месяцев назад
AVL is difficult if you're trying to force someone to actually write the code from memory. Explaining it with diagrams and pseudocode is relatively easier.
@jay31415
@jay31415 6 месяцев назад
So...TLDR: ChatGPT may be wrong?
@Sup3rlum
@Sup3rlum 6 месяцев назад
In college everyone's laptop has a ChatGPT tab open. Poor profs that have to read all of those generated coursework submissions.
@hardcorecode
@hardcorecode 6 месяцев назад
Why go to college if you are just going to use chatGPT? plus is a cs degree still worth the time and money? save the money and time ??
@FlanPoirot
@FlanPoirot 6 месяцев назад
@@hardcorecodethat's why I learn CS on my own and instead am planning to go back to college for a EE degree instead. people like gingerBill (a college educated physicist not a CS person) can learn all they need to create stuff like a complete programming language and an industry grade particle simulation software for VFX the degree is unnecessary if you're motivated enough, whereas EE is a monumental task to learn on ur own and even then without the degree you wouldnt be able to join an order of engineers for that field (which is more important in that field than for CS tbh since software eng seems to be generally the wild west even in methodology and reliability)
@DMPROD03
@DMPROD03 6 месяцев назад
@@hardcorecode ​ I don't think my earlier comment posted for some reason, but my personal take is that college is worth it if you have the time and money, but I'm taking courses online through boot dev which teaches you CS material and is a really valuable source of knowledge for software engineering. I'm learning for a lot cheaper, and at my own pace because I work full time. When it comes to ChatGPT, I think it's an extremely useful tool for experienced developers, but those with no programming experience will accomplish little to none trying to use it to write code. I'm nowhere near a senior developer, so trying to use and understand ChatGPT is a nightmare. I use it to explain things to me which is nice, but you still need programming knowledge. That being said, if you want to learn programming, do it. It will become less about knowing things like how to sort an array (very basic stuff) and more about problem solving skills. Knowing how to write code is basically like learning how to do math, we have calculators but we still need to understand it to do more advanced problems, once that take many steps and tons of different things to consider. I hope this was useful😁😁
@Sup3rlum
@Sup3rlum 6 месяцев назад
@@FlanPoirot Not necessarily, in college you get to learn a lot. A degree is still worth it IMO. It all depends on the college you go to however.
@DMPROD03
@DMPROD03 6 месяцев назад
@@hardcorecode ​ I don't think my earlier comment posted for some reason, but my personal take is that college is worth it if you have the time and money, but I'm taking courses online through bootdev which teaches you CS material and is a really valuable source of knowledge for software engineering. I'm learning for a lot cheaper, and at my own pace because I work full time. When it comes to chatGPT, I think it's an extremely useful tool for experienced developers, but those with no programming experience will accomplish little to none trying to use it to write code. I'm nowhere near a senior developer, so trying to use and understand chatGPT is a nightmare. I use it to explain things to me which is nice, but you still need programming knowledge. That being said, if you want to learn programming, do it. It will become less about knowing things like how to sort an array (very basic stuff) and more about problem solving skills. Knowing how to write code is basically like learning how to do math, we have calculators but we still need to understand it to do more advanced problems, once that take many steps and tons of different things to consider. I hope this was useful😁😁
@w_3ird0h
@w_3ird0h 6 месяцев назад
Honestly, for this specific TS code here, is exactly why I chose the htmx path. I can skip all that other stuff. All that typebation is nonsense when you can take a different path that doesn’t require it at all.
@nisem0no
@nisem0no 6 месяцев назад
I fell into this trap learning Rust, Bevy, Axios and other things over the holidays. I lost so many hours due to how much it misled me. I haven't used ChatGPT since.
@user-kt5hx6hl7m
@user-kt5hx6hl7m 5 месяцев назад
Well I use AI for almost every module I work on but I’m well aware I need to actually know what’s happening line per line because I don’t trust it to write something that is perfect. Good rule to follow: only run it if you fully understand it. AI can help you save a lot of time reading docs. But you should know exactly what is going on.
@zoeherriot
@zoeherriot 6 месяцев назад
Hah hah - Rundle Mall mentioned! This dude is so very definitely from Adelaide.
@edupsousa
@edupsousa 6 месяцев назад
I let copilot write my commit messages and I can't do it by myself anymore. Just kidding, I never knew how to write a commit message properly.
@yesyes9698
@yesyes9698 6 месяцев назад
I don’t know how to use copilot. I tried and it felt more robotic and I wasn’t confident about it haha. Slowly trying to figure it out
@Burgo361
@Burgo361 6 месяцев назад
If it helps a lot of the people I went to uni with managed to skate by not knowing how to code much before chatgpt so it probably won't change much.
@sVIIDragonfly
@sVIIDragonfly 6 месяцев назад
13:30 god damn, that windows sound triggered me... i was checking my workstation
@kiddkai
@kiddkai 5 месяцев назад
I just use it to ask some syntax questions when using a new language
@Vagulis2
@Vagulis2 4 месяца назад
Explanation at the end, yes so true, when using waze or google maps to navigate to place you want to be. Suddenly you end up with no knowledge how to get from A to point B in your own city without external help! @ThePrimeTime - well said
@r1konTheAutomator
@r1konTheAutomator 5 месяцев назад
Dude copilot is the shit. I use it to complete what I'm typing or boilerplate. It's amazing. But I'd be SO weary of somebody who writes whole files with it
@林義軒-j7q
@林義軒-j7q 6 месяцев назад
I recently got into tinker with Linux (Fedora + i3). Chat GPT really helps, but not directly. When facing issues, I need to search the solution. However, it hard to know what to search for. So Chat GPT gives me a start, then solution get refined. Just like Newton method, a shitty solution at start, then refined on each step forward.
@lucasteo5015
@lucasteo5015 6 месяцев назад
What I always do is to tell it to stop the conversation and start over, e.g. "ok great solution, but lets stop this here and look for alternative" it'll have your previous context of the problem and its given solution and it'll now suggest something else that are likely to be useful. There's some chat skills required to nudge it the correct direction, but with gpt4 I would say that the AI is relatively easier to work with nowadays, gpt3.5 still sucks so for whoever using the free version, yes it is bad don't waste your time using that. I often require more assistance outside the domain of coding which is why I think chatgpt is simply a better tool than copilot.
@lucasteo5015
@lucasteo5015 6 месяцев назад
I used to chatgpt a ton when it first came out and I have a ton of gaps to fill, but now since I've learn from it, even with the paid version I find myself actually asking less question now
@paulywalnutz5855
@paulywalnutz5855 6 месяцев назад
gpt is great i use it constantly to reword docs or find syntax errors. you wouldnt rely on it to write an entire codebase tho
@kenneth_romero
@kenneth_romero 6 месяцев назад
copilot felt like it got in the way more than help. maybe i don't got the key binds setup well to better get it out of my way, but still just annoys me. also because im using more "obscure" languages, so it sucks in general for it since it just confuses itself what language to write.
@aut0turret
@aut0turret 6 месяцев назад
I probably just suck at prompts... but I've moved away from using it for the most part, because most of what it tells me is just plain wrong. Quite a few times it responded with complete gibberish, which was pretty funny.
@thtcaribbeanguy
@thtcaribbeanguy 6 месяцев назад
i first thought chatgpt could write decent code ......... then it failed then i thought ok great but you know what its decent at getting me documentation for a method this now fails now when i use chatgpt i also doublecheck the fucking documentation myself to make sure it not bullshitting me but i will still say its useful cause im very new to flutter but when it gives me parameters that do not belong i get ANGRYYYY NOW i only ask it generalize question like can i do x to b , what is the security risks, what is the method to add in this language i find its been getting dumber, all the AI's
@SimDoes
@SimDoes 6 месяцев назад
it’s probably getting dumber due to all the new ai generated content in new training data
@colto2312
@colto2312 6 месяцев назад
knowing syntax does not make you better at logic
@conceptrat
@conceptrat 6 месяцев назад
ChatGPT used like this is just a more context aware search engine. The longer that it is fed with data from the interwebs the more likely it's going to eat it's own tail. It'll be interesting to see what the replies are like in another 3 years.
@adambickford8720
@adambickford8720 6 месяцев назад
Can't wait for the kids to start saying I'm out of touch because chatgpt has been stroking their ego for 4 years and convinced them they are a savant.
@jonathanlambrecht5642
@jonathanlambrecht5642 3 месяца назад
I'm a beginner but I use llama for squeal schemas and querys
@DaveParr
@DaveParr 6 месяцев назад
Id be really interested in what copilot in vscode with the @workspace rag method suggested instead. One of chatgpts weaknesses is lack of adequate context. Copilot with @workspace 'should' be the solution?
@ismbks
@ismbks 6 месяцев назад
maybe its just the novelty factor but ive had more success with gemini, i feel like the code is higher quality and it does exactly what i ask it to also more opinionated (which is a good thing imo)
@FrederikSchumacher
@FrederikSchumacher 6 месяцев назад
1:45 I have been calling this sort of thing "masturbatory coding" for years. If the environment allows you to replace all/some parts of this with an "ANY" type, then the only reason you're constructing these elaborate type hierarchies is to satisfy yourself. And for all it's brittleness, you could also call this Jenga Typing, pull the wrong part out, and the whole thing collapses, and needs a complete rebuild. And just like Jenga, its primary purpose is entertainment. At least TypeScript has a transpiler that does something with the types, people doing this sort of thing in Python are magnitudes worse.
@SharunKumar
@SharunKumar 6 месяцев назад
4:36 - isn't that tree shaking? 🤔
@HyperionStudiosDE
@HyperionStudiosDE 6 месяцев назад
I feel conflicted about this. That codebase looks like puke so I wouldn't expect an AI to be able to make sense of it without context.
@brett_rose
@brett_rose 6 месяцев назад
I need gpt to make it through any typescript I encounter.
@theodorealenas3171
@theodorealenas3171 6 месяцев назад
If we coded next to other people, and we were social, caring and had varied skill levels, what would we think of ChatGPT then?
@Gabe0281
@Gabe0281 6 месяцев назад
I use Github Copilot chat to make it write parts of my bash scripts because I can't be bothered to remember how to write if statements in Bash 😅
@chrislowe6926
@chrislowe6926 4 месяца назад
ChatGPT can not reflect on why it made any previous choices - when you ask why it made certain choices, it is making up reasons for its choices, which are ultimately based on probabilities and not conscious choices. Don’t be fooled into thinking that ChatGPT can really explain its choices.
@peterbedford2610
@peterbedford2610 6 месяцев назад
ChatGTP is teaching me to be a thorough interrogator.
@flogginga_dead_horse4022
@flogginga_dead_horse4022 6 месяцев назад
yep boilerplate only and copilot is amazing
@RandomGeometryDashStuff
@RandomGeometryDashStuff 6 месяцев назад
01:41 is this like c++ header file but for typescript?
@RickYorgason
@RickYorgason 6 месяцев назад
You should treat these tools like junior devs, not like senior devs. Get it to do the dull work. If it spits out code you don't understand, don't move on until you understand it.
@MasamuneX
@MasamuneX 6 месяцев назад
type script looks like type masterbation how many variables do you need to do something i mean really maybe like 20 max
@VivBrodock
@VivBrodock 6 месяцев назад
14:26 I am in a python course in college right now and I work really hard to not use any assistive tools because I want to learn how to do the thing. So when I see my classmates using like web python DEs with built in AI(m) assist I wonder if they are actually learning the language and how it works. and I'm just a math major, I'll probably be using python for the rest of my life but not as like a core part of what I do. half of my class are CS and they're mostly the ones I see using the AI tools. And I just wonder if they even want to be coding ya know?
@CamembertDave
@CamembertDave 6 месяцев назад
In my experience, the majority of people studying at university don't actually care about the subject. They just want to do the bare minimum to pass so they can get a "good job", which they will inevitably hate because they don't care about the subject.
@olbluelips
@olbluelips 6 месяцев назад
ChatGPT is so good for topics where you know enough to see when the GPT is wrong. Otherwise it’s misleading and overly flattering
@kevinlyman1
@kevinlyman1 6 месяцев назад
Can I tell ChatGPT to be mean in the beginning so that it doesn't flatter me while i'm asking code questions. I want it to be like Simon from American Idol or the Britsh Chef guy.
Далее
How To Learn A New Programming Language
6:24
Просмотров 267 тыс.
Maintainability And Readability | Prime Reacts
20:22
Просмотров 105 тыс.
THEY'RE EATING THE DOGS DANCE REMIX!
00:10
Просмотров 164 тыс.
🖤
00:18
Просмотров 331 тыс.
What I Think About AI Taking Your Jobs
17:58
Просмотров 91 тыс.
React is Holding Me Hostage!!! | Prime Reacts
28:44
Просмотров 102 тыс.
You’re using ChatGPT wrong
9:31
Просмотров 410 тыс.
Remote Work Won | Prime Reacts
35:56
Просмотров 103 тыс.
Code That MURDERED 6 People | Prime Reacts
17:57
Просмотров 248 тыс.
I Hate Rust | Prime Reacts
23:00
Просмотров 161 тыс.
So You Think You Know Git - FOSDEM 2024
47:00
Просмотров 1,1 млн
10 ChatGPT Hacks That Will Blow Your Mind!
10:24
Просмотров 453 тыс.