As a (now-retired) professional programmer, I've lived through the progress from hard-wired logic panels & keypunched card decks to online interactive programming. Thanks to AI, we're now approaching the point where we can ask the computer a question, then get the answer without writing code at all. Thanks for the work you do, gathering information & putting it into yet another understandable explanation of a complex topic.
@briankleinschmidt3664 Жыл бұрын
Santa was a hacker! I knew it.
@renobodyrenobody Жыл бұрын
Thank you Chris. I am pro coder with 40 years of experience. I use Microsoft Copilot and ChatGPT every day and my productivity is now x10. Copilot is very impressive, you don't write a lot, the system do it for you, sometimes giving you a better way to do the thing, and ChatGPT is not like google, an search engine, but is is a response engine. I mean, there is a lot of bs on internet, plenty of people who don't know the answer but they post just for posting. It generates a lot of background noise and it is now difficult to find correct answers. Chat GPT give good answers, despite the fact it is not always accurate, but you got the idea and have to finish the job. Anyway, less google and more Chat-GPT, it changed my coder lige.
@bigsky1970 Жыл бұрын
Several months ago I watched a video where a guy built an entire job board website from scratch using ChatGPT. Part way through his video he didn't like the fact that everything wasn't centered on the screen so after a few attempts at explaining to ChatGPT that he wanted the text and tables centered on the page, it provided the results he was looking for. The entire website, including databases, took him about 5 minutes to put together. Mind you, he is a really good website developer but his intention was to show that both human and AI can collaborate on a single project together, which I thought was really neat. The video also demonstrated the conversational nature of human and AI interaction. So, in a way, it was like the AI was tasked to come up with a specific website, and he was like the boss who approved or disproved of the AI's job performance.
@Trevor13666 Жыл бұрын
Another excellent video Chris! I've used ChatGPT to create programs and found it to be really useful. However, one program seemed to work fine but a couple of weeks later I was getting really stuck. Tracing through the code I found the problem - a small error in the code it had supplied. I ended up spending more time than if I'd written the code myself. Moral of the story, make sure you check the code that it gives you, even if it seems to work fine.
@_sneer_ Жыл бұрын
Code interpretter version of chatGPT-4 would run the code, check it and adjust it to suit.
@Wol7478 ай бұрын
It would be interesting to ask it to code a complex program and if it didn’t run, or ran wrongly, dee if it could debug it.
@KenSkier Жыл бұрын
Wow! My 'Wow!' is for what chatgpt can do (writing perfectly serviceable short snippets of Python)... ...and my 'Wow!' Is for how clearly YOU presented, step by step, the use of chatgpt to write Python code for the Raspberry Pi. Great job!
@MrSlowFloww Жыл бұрын
I've recently started programming with Micropython as a hobby, and ChatGPT has helped me a lot, for both, learning Micropython, and writing me some codes I wasn't capable of. It's even capable of writing codes for creating web pages on Pico W for wireless controlling sensors, devices, etc. It still has a lot to improve (it won't do well with a lot of complex tasks, and sometimes makes mistakes on very on some very simple tasks), but anyway, it's amazing what it can do at this point.
@dragonsage6909 Жыл бұрын
I've been using ChatGPT to assist in writing python code for months now, it doesn't always get it all right on the first try, but you can feed it errors, it will modify the code accordingly.. very handy, it has sped up development drastically. Thx
@Justin-Case-2.0 Жыл бұрын
Thnx for another great video! I finally registered for ChatGPT after watching your video called "Should We Fear AI?" The first thing I asked it to do was write a Python program that calculates square roots using an iterative algorithm (instead of the built-in library). It did a better job than me, because my script often turned into an endless loop, but the chatbot's script never did. Now this morning, I registered as a user of Bard (the Google competitor of ChatGPT) and a little bit later, this video came up. What a nice coincidence! 🙂
@vishwanathsharma83929 ай бұрын
Love this man! I am pure electronics and sensors guy but I started feeling the importance of coding in all the industries. With the help of chatgpt and tips from him, I am able to solve difficult tasks very easily!
@ExplainingComputers9 ай бұрын
Great to hear! :)
@chrisblumarten Жыл бұрын
You saying 'please' even to an AI speaks volumes about the quality of your character. Once again, for the people at the back - best channel on youtube right here.
@CNWPlayer Жыл бұрын
ExplainingComputers and ExplainingTheFuture crossover soon?
@jjk-9 Жыл бұрын
You've just inspired me to try using chatgpt to fix a problem. I spent ages trying to find a batch script to zip up multiple folders into individual zip files and change them to cbz so I can store my comics as one file each. Using this I was able to get to the solution that took me hours to find and get it in minutes. Even better I asked it to add stuff like deleting the folders after zipping and now I've got a better script than the one I found. That said I know I have to be weary trusting batch scripts as they can do all sorts of damage but chatgpt explained each line of code and what it does so im very happy.
@alansmart3808 Жыл бұрын
I have been avoiding ChatGPT since it was made available. I was just not interested…until I saw this video on Explaining Computers. I knew Christopher would give us a excellent review of ChatGPT on a Raspberry Pi and I wasn’t wrong. I feel this is something I can use, not only for learning more about Python, but also PowerShell.
@jinty83 Жыл бұрын
Amazing video as usual Chris. AI is both slightly scary and amazing at the same time. How far we have come is incredible and it will be interesting to see what happens over the next few years. 😁
@casualweekday-ytshadowbang2469 Жыл бұрын
I see a great opportunity for young developers to milk goats.
@busydadscooking001 Жыл бұрын
Yeah - two years ago we were reading examples of text-generating learning algos amusingly making up appealing names for house paint colors. Like, "stanky bean" ...
@vvvbbbbcccc Жыл бұрын
I use Cht-GPT to write Access VBA code. If you know exactly what you want to achieve and you give it clear and concise instructions, Chat-GPT can save you a lot of coding time. It's also great if you are learning to code. What you get from it is equal to the quality of the instructions you give it.
@absurdbird3556 Жыл бұрын
This is why I don't feel disheartened and haven't stopped learning Python. It can do some really cool stuff. but it still needs guidance sometimes. For now I'm seeing it as a powerful tool to make functions etc really quickly that I can use together in larger programs.
@tubegor Жыл бұрын
I asked ChatGPT to write a comment on this video and here is the result: Title: Captivating Performance! A Masterful Blend of Emotion and Skill Comment: Wow! I am completely mesmerized by this incredible performance. The combination of emotion and skill displayed here is truly remarkable. From the moment the music started, I was captivated by the artist's ability to convey such depth and intensity through their playing. The artist's technique is flawless, and their musicality shines through every note. It's evident that they have dedicated countless hours honing their craft, and it truly pays off in this performance. The way they effortlessly navigate the instrument, producing such beautiful and nuanced tones, is a testament to their exceptional talent. But what truly sets this performance apart is the emotion poured into every phrase. It's as if the artist is telling a heartfelt story through their music, and I find myself completely drawn into their world. Each passage is imbued with such raw emotion that it sends shivers down my spine. Furthermore, the video production itself is outstanding. The close-up shots of the artist's hands on the instrument allow us to witness their intricate movements and the sheer passion they bring to their performance. The lighting and overall atmosphere of the video perfectly complement the mood of the music, creating an immersive experience. I am grateful for the opportunity to witness such a breathtaking performance. It's a reminder of the power of music to move and inspire us. Thank you to the artist for sharing their incredible talent with the world, and to the creators of this video for capturing it so beautifully. This is a performance I will remember for a long time to come. 👉Biological intelligence tells me: It's been proven that we shouldn't blindly rely on artificial intelligence.🤔 Thank you Chris for this brilliant idea to make Python coding easier to get started with. I just tried out ChatGPT and MicroPython on my RPI PICO and I love it.
@ExplainingComputers Жыл бұрын
:)
@leetucker9938 Жыл бұрын
amazing application to teach young people coding . much more friendly than machine code
@Razor_Burn Жыл бұрын
I don't know whether to be excited or shocked at how well ChatGPT has done with these examples. Thanks for sharing Chris as very informative! 👍
@willb1242 Жыл бұрын
All right, I'll admit to being impressed that ChatGPT knows what a cylon eye does to a big enough extent that it can program the behavior. I know it didn't quite get the code right but interpreting the ask is neat.
@samyabdelm7895 Жыл бұрын
very interesting to see how far AI has come, looking forward to the next video. thank you for all the knowledge you're spreading.
@chirpybee5 ай бұрын
I laughed out loud at the matter-of-fact way you mentioned losing your resistor in the carpet. Excellent video - thank you
@Chriswales Жыл бұрын
Nice to see an example of how it works. Having been a developer for many years people are saying I'll soon be out of job soon. That's clearly not the case, AI does look like a useful tool to take away some of the endless typing sometimes involved with coding. The very simple examples show prove the code still needs to be reviewed and modified by a human. I work with systems that have thousands of lines of code. We had source code generators back in the late 80s and the new AI does a better job. But I don't think it'll be replacing me for awhile yet.
@donaldhoudek2889 Жыл бұрын
My very first encounter with ChatGPT was to debug my existing Python code that I wrote for monitoring my Home Monitoring system on the Pi. After 2 attempts by ChatGPT it got it right and I have been using ChatGPT ever since late last year. It cuts my programming time a lot, but I still need to make necessary changes to its code to meet my needs. Great Video... again
@PS_Tube Жыл бұрын
Sunday Greetings! Chat GPT has certainly become a boon for coders, especially the newbies. Instead of getting stuck and suffering on Stack Overflow, one can ask GPT and move on. Kind of amazing how we've moved from Natural Language Processing bots to this.
@rutkowskir Жыл бұрын
Hi Chris. I've also been using Chat GPT to generate C Code for Linux on a Raspberry Pi Zero and it was flawless! Everything I asked for required no further modifications from me. I asked it to write a Base Converter, ie, Decimal to Binary to Hexadecimal, etc., and utilities like Encryption/Decryption of a file w/password, a string search util, a file compare util to display differences and a util to display any file in Hexadecimal with the ASCII characters in a side pane. I even wrote similar programs years back and Chat GPT did a much more efficient job! If this is just the beginning, I can't even imagine what the future will bring!!! I just hope governments do not get involved in regulating AI because they will ruin it! Stay well Chris! Rich
@ExplainingComputers Жыл бұрын
Greetings Rich.
@effess8698 Жыл бұрын
I've also done some experiments with writing code with ChatGPT and no matter how I phrase the requests, the code it writes tends to be pretty amateurish. It's OK with single tasks that can be done in a couple of dozen lines of code but even then the code occasionally includes duplication or other bad practices. Anything reasonably complex requires a fair amount of refactoring to get it to work. It's the sort of code that would be written by someone still learning a language, which I suppose is exactly what ChatGPT is. I think we are still a couple of generations (of AI) away from something that can really take over the job of an experienced programmer, but for now it can be a useful assistant.
@willb1242 Жыл бұрын
Do you suppose it works any better in other languages? Though python is fairly standard (even if I struggle with the syntax due to how my own brain works).
@effess8698 Жыл бұрын
@@willb1242 Python is the language I have used most often with ChatGPT. I have tried Java and JavaScript as well, and the output seems to be pretty similar in style.
@BagusSumanjaya Жыл бұрын
Very good idea Mr. Barnatt for using AI and sbc on the video
@ExplainingComputers Жыл бұрын
It seemed like a good idea! :) We will see how it does . . .
@0_1_2 Жыл бұрын
It’s Dr. Barbatt. Show some respect
@ahmad-murery Жыл бұрын
It will take me more time to write an accurate description and then reviewing the result than it will take to write the code from scratch 😁 (programming grammar is more simple to memorize). also, I don't think a GPT Chatter (or Programmer if you will) will have that wonderful feeling we had when coding something that reflects our knowledge and then get the result we expected (or the error we didn't expect). Thanks Chris!
@andy.3407 Жыл бұрын
I love this channel .. this session is a wonderful introduction into combining the PI with chatgpt …. I also love when you interface with other pieces of hardware. Thank you!
@TheElectronicDilettante Жыл бұрын
ChatGPT was nice enough to write a driver in C++ so I can use a 5” hdmi lcd (usually made for a raspberry pi)with an STM32 Núcleo. A bit disconcerting. Works perfectly.
@pinnaclewd Жыл бұрын
The Chat GPT extention for Web is incredible. Huge step forward for SEO !
@pgrvloik Жыл бұрын
I've also used it to document (my) code and it did it very well. It explained the pin numbering scheme too. However it implemented a crappy moving average algorithm and I had to tell it a second time NOT to memorize the data in order to have the intended algoritm (a moving average that does not require storing the N value of the averaging window).
@CCoburn3 Жыл бұрын
I'm watching the video again. It's interesting that chatGPT automatically decided to provide comments in the code without you having to ask for them. As an old-time C programmer, I have always hated writing comments in my code -- even though I know it is a best practice. That's a good feature.
@DRussell8473 Жыл бұрын
This is the kind of video I love. This is why I watch Explaining Computers!
@ExplainingComputers Жыл бұрын
Cool. :)
@greguz Жыл бұрын
Thanks for such a clear and concise demonstration (as expected) of using ChatGPT for programming!
@kencreten7308 Жыл бұрын
The resistor comment was hilarious! Thanks. I have also had similar experiences.
@briankleinschmidt3664 Жыл бұрын
Neat. I remember spending hours typing code from the back of magazines. . .
@brianwood5220 Жыл бұрын
Looking back to your Grandparents time, they would have thought what you were doing was Magic. Plus a few more generations back and you would have been thought of as a Wizard. I'm sure your AI could have put out that fire under you as well though. Our sense and understanding of things has increased leaps and bounds, Have a great week and thanks for sharing Chris.
@sbc_tinkerer Жыл бұрын
Blessed Sunday to you sir and all. I had no interest in ChatGPT or AI but you have now sparked a bit of interest in me. Will need to look into this a little more. Still cannot help but think this is a bit of a cheat learning wise but I guess if used for good instead of evil it could be quite a handy little toy. :) Be well everyone! Until next Friday/Sunday.
@Drak976 Жыл бұрын
I think it's a great learning tool. When I was young not many people in my area knew anything about how computers even worked much less how to program them so this would have been so amazing for 12 year old me. My area for example didn't have any high school level computer programming classes. We had a 3d graphics class that I did well in but even in there the teacher didn't really know the computers or program very well he was just the best they could find great teacher but not very knowledgeable we were basically just playing with 3d studios unguided.
@sbc_tinkerer Жыл бұрын
@@Drak976 When I was young, computers were a far fetched idea. 12 year old me had never heard of them but they wanted me to go to summer school to learn PL1. In retrospect, I should have gone but back then, summer vacation was a time to get out in open, cycling, playing ball etc. which seems to be lost on kids today. Kinda wish my parents pushed me harder on going especially since my dad was a COBOL programmer. I have had to play catch up for the last 23 years.
@sid_gm1949 Жыл бұрын
Teaching us about chatgpt and python. Greetings on another Sunday!
@ExplainingComputers Жыл бұрын
Greetings!
@dang48 Жыл бұрын
Very interesting to say the least. Well put at the end by saying this saves the programmer from writing code from scratch but the programmer still needs to edit the code. The demonstrations with the running lights are proof.
@user-qy2wf2lt6v Жыл бұрын
I've learned so far, that If I can visualize the code while reading the input, or at least reason about it, 90% of the time ChatGPT gives me the proper answer, as long as the question was not too weird. It's very good with common problems, that have like 15000 solutions online and saves you a bit of time. But if it's something that a search engine would have a hard time to pick up, it just pops the weirdest stuff ever ... So as long as you keep that in mind, it's a very very good tool.
@ExplainingComputers Жыл бұрын
Agreed!
@kk0dj Жыл бұрын
The only thing needed is a RasPi generated voice saying "by your command" LOL. This was both educational and entertaining Christopher! Thank you!
@gonefilming2020 Жыл бұрын
When ChatGPT became available online, I tried similar Python tasks with equally astounding results. With ChatGPT it is also more than just a complex command to perform a task (such as writing some code) - it is actually a dialog, where prior commands are remembered and appended. After it generated some code, all I added was "in german please" and it recreated the code in the german language. It is amazing and on another level a little scary.
@dogastus Жыл бұрын
I asked ChatGPT to write Python code to display an analogue clock. It came up with a reasonable looking graphic with a circular dial with numbers and hours, minutes and seconds hands. The only thing wrong was that it was rotated 90 degrees with '12' being in the '9' position. So I told ChatGPT the error and it responded with an apology and some new code which corrected the problem. Very impressive.
@bradkyrish8058 Жыл бұрын
Loved the comment about losing a resistor in the carpet. Happens to all of us. 🤣🤣
@johncundiff7075 Жыл бұрын
Honestly, I'd never think about using Chat GPT ... very interesting ideas Mr. Barnatt!! Thanks for another quality video!!!
@geographicaloddity2 Жыл бұрын
One of the earliest computer control systems I saw was a PDP-11 with multiple analog and discrete inputs and outputs. This I/O was connected to a bank of rotator selector valves. In these, an analog output from the PDP-11 was directed to various pneumatic analog PID controllers or the selectors directed analog pneumatic signals to converters: 3-15psig converted to either 1-5VDC or 4-20ma (I don't remember) to supply the PDP-11 with the current process variables. I say "current", but in reality, sampling these signal could take several minutes for the PDP-11 to receive an update from the process instrumentation. You described what I have felt quantum computers are and how they're like the situation described above. They're largely analog devices that operated in discrete states interfaced with digital computers. They solve what sound to be the same type of problems electronic or pneumatic analog computers were used for. Is this close? Also, noise is a problem for these systems but they've found ways to compensate through predictive means. But if noise can be predicted, is it really noise?
@davocc2405 Жыл бұрын
Some videos I've seen on this (not relating to Pi coding but various languages hosted by senior developers) have indicated that the paid-for ChatGPT (4.x) is much better for this and actually generates some half decent code in some cases. It's dangerous to rely on this for anything but ideas or low-risk/impact segments but it can form the basis for faster code building in a practical sense. For smaller projects and learn-by-example scenarios though - it's quite good, it even gave you something to fix up to improve the loop here which is probably a bonus!
@johnbee1574 Жыл бұрын
I think it’s amazing. I dont really code but I had a friend use it and ask it for code for something more advanced and adding in things like within one line of code or minimal size scripts. It was coming up with some strange stuff that still worked
@technoWZ5598 Жыл бұрын
Definitely helpful for people like myself who lack coding skills! I find coding difficult, but with the help of AI (Bard and Chat GPT), I'm sure anyone can learn anything, as long as the chat bot can get accurate answers and it gives you the right stuff.
@laurencefraser Жыл бұрын
Yeah, there's the problem: It's not consistent about that, at all. And correcting it's errors requires the same knowledge that writing the thing yourself would. You get better results with specialised AI (mind you, they're still not really AI in any particularly meaningful sense. No more so than chatbots ever were, at least. Leaps and bounds have been made in making chatbots and similar, and in 'machine learning' which is a tech necessary in order to Develop AI, and they're quite useful, but calling them AI is quite misleading, really) that proofreads your code, than with having to proofread the AI's code, anyway. This gets more true the weaker your skills are, but it also gets more true the bigger the project is.
@jawjuk Жыл бұрын
Wow. That has opened my eyes and no mistake. Great work, Chris (and openAI!)
@perrymcclusky4695 Жыл бұрын
That was a fascinating example of using ChatGPT. The dancing hamster wasn't half bad either. LOL. Looking forward to your next video!
@ExplainingComputers Жыл бұрын
Greetings Perry. Quantum next week . . . just finished. :)
@perrymcclusky4695 Жыл бұрын
@@ExplainingComputers Quantum next week? Can’t wait! :)
@grumpyoleman2152 Жыл бұрын
Thanks for helping our comfort level with ChatGPT and AI in general
@82levy56 ай бұрын
I used ChatGpt to create python code for a webradio. As hardware was used a Raspberry Pi, 6 buttons for user control and 2x20 character alphanumeric display ( with I2C interface) for displaying information. Afrer some "discussion" the code was done and working. I'm using this WiFi radio daily without any issues.
@DevilsHandyman Жыл бұрын
I've done a few functions in python using chatGPT and it's a great way to discover available modules.
@ExplainingComputers Жыл бұрын
Thanks for your support, most appreciated. :)
@coltronex Жыл бұрын
This is a superb demonstration,for me this warrants further investigation!!!
@ExplainingComputers Жыл бұрын
It sounds like my work is done! :)
@abagatelle Жыл бұрын
Excellent as always Chris, thanks very much.
@Colin_Ames Жыл бұрын
An excellent video, as always. Using something like this definitely has the possibility to speed up programming, as long as its limitations are realised.
@edsteenhorst6484 Жыл бұрын
Wow! I've never used ChatGPT, but I think this video is going to give me the impetus to try it out. Great Video!
@N0WYO1 Жыл бұрын
I used Chatgpt to configure some ham radio software I was having trouble with. As with your video, some human intervention had to be used, but it worked out very well. Very interesting video, Chris!
@WalterW Жыл бұрын
This feels like cheating, but since cheating is what everyone else is going to do, I’m game! Thanks for sharing, Christopher!
@wolfcrossing2734 Жыл бұрын
I felt the same way when calculators were first introduced. Yes, I’m old…
@wanyman Жыл бұрын
Awesome video. I didn’t know Chat could do that. I hope this doesn’t make people lazy…
@davey820051 Жыл бұрын
Thanks for an excellent demonstration of some of the capabilities and shortcomings of ChatGPT. All that plus a dancing hamster!
@ttom3923 Жыл бұрын
Marvelous video. Thank you. Now I have an example how to begin coding with gpt help.
@CCoburn3 Жыл бұрын
Great video! You pointed out the critical importance of being very specific with your request -- and then editing the output when chatGPT doesn't quite understand what you want. As you pointed out in your recent video on AI, AI will not replace humans. Humans and AI must cooperate to allow both to function at their best. PS: You might provide a link to the AI video for those who want to watch it again.
@ExplainingComputers Жыл бұрын
Thanks for this. My recent AI video is here -- kzbin.info/www/bejne/aYe7nYWhiseKepY I'll check it is also in the video description and cards. :)
@ExplainingComputers Жыл бұрын
Not there, but now added! Good call.
@wolfcrossing2734 Жыл бұрын
Well, I guess semantics majors, with minors in linguistics, will now be at the head of the line for programing jobs…I guess I’ll have to bush up on my diagraming. Thanks Chris, this was an eye opener!.
@rsbohn Жыл бұрын
You should post your edited code to ChatGPT and say "I wanted this". Or describe what it does and what you wanted it to do. It is very willing to have a 'second go' at the code.
@SchoolforHackers Жыл бұрын
Most brilliant suggestion I’ve seen.
@laurencefraser Жыл бұрын
Previous examples I've seen of similar 'get chat GPT to write code' responded to problems with the code by asking ChatGPT to make corrections, (and not specific '"replace the word blah in line X with 'I-X'" corrections, but 'rewrite section X to do Y' or 'Rewrite section Z as if it were Q' or even 'no, that's doing X, I wanted Y', and leting ChatGPT figure it out. For well constructed, but still vague, corrections it did a pretty good job of following them and producing the desired result (sometimes in one pass, sometimes in two)... Well, so long as sufficient pre-existing examples of the relevant constructions existed in its database with appropriate indications as to what they were for, anyway.
@Graham_Rule Жыл бұрын
That was interesting and it certainly looks like it could take some of the drudgery out of coding. But the difficult (and interesting) thing has always been to get a sufficiently complete description of what the program is supposed to do. My concern would be that after a while the human won't understand in depth the code that is being generated so might not be able to make the sort of minor changes you made. I suppose that if the tool becomes reliable enough that won't be needed - after all when did you last manually modify the output from a compiler?
@IanSlothieRolfe Жыл бұрын
The output from ChatGPT looked very like what happens when you ask someone else to write a piece of code for you, you get something that works but not quite what you wanted. Perhaps you needed to describe what you wanted better, the problem may not be the compiler, it may be you. Already as a programmer you get the "first draft" effect where you code up a solution and the Business Analyst comes along and tells you what he really wanted and its not how you interpreted his original request. So while there is a lot for ChatGPT to learn about programming, we're going to have to learn how to better frame our requests too if we are going to get any advantage from this technology.
@oneeyedphotographer Жыл бұрын
I think having staff who understand the code has been a problem since the introduction of contract programming. In one of my early jobs we had a lot of programmers with not a lot to do. Then the govt introduced budget legislation and the programmers were working all hours to try to get the work done before the changes came into effect. Complicating matters, it was never certain that the legislation wouldn't be unchanged, or even passed! In 1975, it wasn't, until the government was sacked. Some programmers spent significant portions of their careers on a single application, many more stayed within the department but worked on different systems at different times. Today, the core of the programming work is done by contract programmers, who are paid many more dollars per hour, and whose contracts are reviewed regularly. And now, in a different area, we have the PwC scandal, and the government as a whole lacks its own expertise.
@paulmilligan3007 Жыл бұрын
This could be a great way to learn pi coding and ease the first steps into playing with pi input/output for someone who already has basic python skills or (like me) coming from other languages (BASIC, php).
@MRSZ5440 Жыл бұрын
This was very interesting and educational. Thanks this will help coding a lot of time if you don't have to spend long hours writing Phyton code.
@typxxilps Жыл бұрын
5:55 you had lost your resistor in the carpet ? Easy task for chat gpt I guess cause the answer might be to use the Dyson to clean the carpet from resistors and that way you would have gotten 5 working LEDS. I liked that sentence that you lost a resistor that way to the carpet and that we suffer from having only 4 flashing lights, not 5 as planned. great video and I hope to see some more again later this year what else might be possible cause I found these examples quite impressive especially the PIN and wiring solution.
@ronaldmarshall5845 Жыл бұрын
Great Video Chris!!! I really enjoyed it and it is amazing what you can do with ChatGPT. Thanks again for all that you do.
@alexhudspeth1213 Жыл бұрын
Chris, bringing the goods! I laughed and giggled with glee. Thanks for another great video!
@meowthx1985 Жыл бұрын
Well Chris, I've been using ChatGPT asking for it to create some C++ codes for my Bots for Team Fortress 2 as well as some other old games like DOOM and Quake as most online servers are empty as they don't have AI players that aren't lame. But I've made some progress for making AI Players or Multiplayer Bots to be more professional and less lame. It can be very hard for making C++ projects that require a lot of concentration and reflecting on what C++ codes I have added, even for Unreal Engines.
@embeddedautomation2464 Жыл бұрын
I think AI will be a powerful tool programmers can use to become more productive, but it's not clever enough to replace us quite yet. I tried to get ChatGPT to write a complex serial terminal program in Python using wxPython for the GUI and pyvisa to handle the serial connections. I gave it some detailed requirements and it only produced about half of the required code. I found I must write lengthy requirements to get ChatGPT to produce something useful. If I was going to spend the time writing 3 pages of requirements, I would likely just write the code myself since I enjoy coding. One of the successes I've had with ChatGPT was getting it to write a method to round a float to n significant digits. Often, I have a requirement to round values to 3 significant digits and use SI units when displaying values. I've also successfully used ChatGPT to write some configurations for a Cisco router, but it required lengthy descriptions of the network to get ChatGPT to generate a working configuration file.
@joeg3950 Жыл бұрын
Thanks for the demonstration and necessary corrections to get things just right. As things progress in the AI coding world, I think it will be a few people with a quality control coder/programmer that will ensure proper software execution. Structural steel 3D modelers talk about AI replacing jobs. I think it will replace what are called low level modelers but with supervision. Field data and building drawing data conflict at times that allow for even more error, ‘bad data,’ to creep into final building drawings. The AI transition will take some time to complete but not as much as people wish it would. Great video! Cheers
@Henry-sv3wv Жыл бұрын
hello chatgpt, please make a blueprint for a submersible made of carbon fiber that doesn't implode visiting the titanic
@agenda697 Жыл бұрын
Great seeing this being applied in the physical world, may save me months if not years of app coding time, very exciting technology !
@qzorn4440 Жыл бұрын
ChatGPT is a somewhat like Chicken-Little and the sky is falling. "New Technology" I have used ChatGPT writing some TensorFlow Lite Python code for the Orange Pi5 and it produced a great working example. 🥳 The drawback is ChatGPT's data base is 2 to 3 years old. So, the new OPi5 was not available. However, the code was close enough. 😎 Thanks for the great info.
@MicrobyteAlan Жыл бұрын
Very interesting. Now off to my work bench and start breadboarding and have ChatGPT write the code. Excellent, it's too hot today here in Central Florida to do anything else. FYI, I watched this morning on my new BMAX computer mounted onto the back of a 32" 4K monitor, the 1080p looked great. Thanks for everything.
@ExplainingComputers Жыл бұрын
Greetings my friend. Good to hear that the BMAX has worked out.
@whatamalike Жыл бұрын
This is actually quite exciting. Somebody like me (who can't Code for toffee) would have a tool to use to write code for me to help in any potential projects I may have in future...or even increase my employment prospects!
@oneeyedphotographer Жыл бұрын
I had a chat with Bing AI recently. It's basically the same thing, with a different wrapper. I was interested in something a bit more ambitious than a YT demo. I found the results interesting enough to pursue a bit more seriously in the near future. It didn't seem to matter which language I requested, and it was able to explain where to get the needed libraries. I don't think it's yet capable of an SQL Server clone, but for handy small utilities it seems fine.
@tonykeltsflorida Жыл бұрын
I wonder if the Bing Chat is a little more up to date. I use it to make backgrounds for overlays in my "art". Now I will have to try some Python coding because of this video.
@elbee2324 Жыл бұрын
I've used ChatGPT to help refine teaching ideas and lesson plans, as well as creating and refining lists for book clubs I am in. It's not going to do all your homework for you, and it won't always get things right, but it can cut out a lot of the busy work, and if you know the topic you are asking about, you can refine that information to help you work even better. :-)
@LMacNeill Жыл бұрын
Definitely not worried about losing my app-writing job to an AI just yet... Seems the AI has a bit more to learn about programming. Impressive that it got as much correct as it did, though. Thanks for the demonstration!
@alanthornton3530 Жыл бұрын
Thanks Chris for a thoroughly interesting video. I'm amazed with chat GPT it's a time saver, you tweak the code to suit your application. I also think this would be a good way to learn Python instead of trying to wade through a coding cookbook, it takes me back to using basic in the 80's :) I could have used chat GPT to type this response, hmm no!!
@ExplainingComputers Жыл бұрын
I agree -- a great learning tool -- generate and human iterate.
@hamesparde9888 Жыл бұрын
It's quite good, but with more complex stuff it's quite often wrong. Although it's still usually helpful. Also sometimes it makes things up. LOL 😅.
@hamesparde9888 Жыл бұрын
@@ExplainingComputersplease do a video on open source LLMs!
@SeverityOne Жыл бұрын
As a software developer myself, I welcome this. If I compare my work with an IDE like IntelliJ, or one of its many derivatives such as WebStorm, to how I was writing code 20 years, let alone 40 years ago, there's no comparison. As a software developer, you have to constantly adapt. If you don't, you're out of a job. So AI isn't going to change that. What it will do is make us more productive. The "danger" of AI lies in people in decision-making positions thinking that they can do without software developers. There's always the pressure to lower costs, and people are expensive. Software developers especially so. So that could actually be a danger in the short term. But if you look at the long term, we've had the industrial revolution, mechanisation of agriculture, computerisation, offshoring... the list goes on. It has not led to lower employment, but it has led to work become easier. Had I lived 100 years ago, chances are I'd be pulling potatoes from the soil. I prefer what I do now. Bring it on.
@ExplainingComputers Жыл бұрын
Great post.
@TheElectronicDilettante8 ай бұрын
Mr. GPT amazed me once again when it was able to rewrite the firmware of my nanovna so I can use a larger display. Then instructed me on debugging and recompiling. This is the scary thing… I’m a 47yo novice when it comes to computer science and EE. I’m not a complete moron but I had no idea what debugging or compiling or anything programming related was. The AI was able to complete a huge undertaking all by feeding instructions to the primate at the keyboard. How does this not freak anyone out?? All of the bad things that can be done with computers can now be carried out by anyone with that can read and type. Knowledge and intelligence not required. This is when the bad stuff starts. Sorry that’s dark. Thanks again for the great video!
@psychosageio Жыл бұрын
Thanks for a great beginner's way to show how to code python using ChatGPT. At round 9:00 you fixed the python bug yourself, but in the future I think it would be good to demonstrate how to debug talking to ChatGPT. That way, people who are intimidated by code can understand that they can debug without looking at code that may as well be Greek to them.
@CARLiCON Жыл бұрын
well done, this was awesome demo dude...it shows how Dev work is particularly suited to text based AI like chatGPT...most "programmers" don't code from scratch anymore, they copy & paste from webpages or pull from repositories. Most amazing to me is it knew what the Cylon Eye was from Battlestar Galactica. I wonder if it would know if if you used "Knight Rider" instead
@RetroJack Жыл бұрын
Excellent stuff as always - thanks Chris!
@jls9225 Жыл бұрын
Excellent video as usual, Software, Medical, and Especially Hollywood (Writers strike) are going have a field day with this technology. The only thing that bothers me, the AI machine will eventually, figure out human nature and that'll be a rap for human kind. Sorry for being a downer, with this comment, but the writing is on the wall. Have a good rest of your weekend Christopher. As Always, Be Smart and Stay Safe/Awesome.
@dfbess Жыл бұрын
Love the Cylon reference.
@ExplainingComputers Жыл бұрын
By your command!
@vanitatoftby Жыл бұрын
Excellent video and tutorial Chris! Now do with Forth, please.
@TradersTradingEdge Жыл бұрын
That was funny. Thanks and have a great new week Christopher 🤩
@eegles Жыл бұрын
It would have been interesting to have someone unfamiliar with python do the same tasks, and compare their experience to yours given that you have high familiarity and skill with checking and revising the code.
@ExplainingComputers Жыл бұрын
A very interesting point.
@send2gl Жыл бұрын
It is eerie, I have tried some bash coding too, so far been spot on.
@johng7rwf419 Жыл бұрын
When the calculator became commonplace we lost our arithmetic dexterity. With the introduction of AI, I fear we will lose our innovative thinking. That said AI is like any other tool if used correctly. Another great video, thank you Chris.
@ExplainingComputers Жыл бұрын
Or we may learn to ask for innovative things . . . ?
@121Pal Жыл бұрын
...another fantastic video, thanks again Chris!...