ChatGPT Blew my Mind! Now it can code AND learn from the results!

  Рет қаралды 188,729

Dave's Garage

Dave's Garage

Күн бұрын

Dave shows you how ChatGPT can be used in a feedback loop by providing the results of a run back into the loop. For info on my book on Asperger's and ASD on Amazon, check out: amzn.to/3ZWajZy
For Hans Otten's Kim-1 Simulator:
retro.hansotten...
00:14 🤖 ChatGPT as a debugging tool: User successfully used ChatGPT to debug code by providing a screenshot of the output, allowing ChatGPT to diagnose problems by analyzing the screen.
01:00 💡 6502 Assembly: The user, a seasoned programmer, has been working with 6502 assembly for 40 years and chose to use it for a retro computing project involving Super Pets and Kim1 single board computers.
01:54 🧩 Unique Hardware Configuration: The user's Kim1 single board computer was extensively customized with multiple extension cards, showcasing impressive DIY skills and early adoption of MTU hardware.
03:21 🖥️ C Compiler for Kim1: User ported a C compiler (cc65) to the Kim1 platform to facilitate faster coding compared to 6502 assembly, enabling tasks like drawing lines and circles on the Kim1.
05:14 🔄 Feedback Loop with ChatGPT: User shared C code with ChatGPT and requested a 6502 version, refining the code based on ChatGPT's output, creating an iterative feedback loop for code optimization.
08:03 🎯 Midpoint Circle Algorithm: User implemented the Midpoint Circle Algorithm in assembly, leveraging circle symmetry and integer arithmetic to efficiently draw circles on a bitmap display.
10:35 🔄 AI-Driven Closed Loop Iteration: The user envisions a future where ChatGPT could autonomously iterate on code solutions, potentially achieving desired outcomes through a closed-loop process without human intervention.

Пікірлер: 522
@derekw6811
@derekw6811 11 ай бұрын
This is also my experience with ChatGPT for software engineering problems. It won't give me a fully working answer but I get useful ideas I didn't have before.
@justinblake7355
@justinblake7355 11 ай бұрын
There is a game called DevGPT that creates a bunch of ChatGPT agents to work as staff members of a development company who have roles crucially including developer and tester. It is supposed to be able to pass work back and forth between the agents iterating until if produces a working project. I tried it though and wasn't able to get past all the staff just talking about the project, but then again that is a pretty accurate representation of some of the projects I have worked on with real people.
@ryankrage77
@ryankrage77 11 ай бұрын
I tried manually getting 'agents' to talk to each other by spinning up multiple chats with chatGPT 3.5, and copy-pasting outputs between them so they could 'communicate'. At first it looked like it might produce some useful work, but quickly devolved into each agent just amicably chatting about what needed to be done and nobody actually doing anything useful :D
@margretrosenberg420
@margretrosenberg420 11 ай бұрын
So, ChatGPT passes the Turing test? There's a scary thought.
@joekenorer
@joekenorer 11 ай бұрын
@@margretrosenberg420 ChatGPT has to dumb itself down to pass the Turing test.
@tnrsxmn
@tnrsxmn 11 ай бұрын
Dave I’ve been homeless in a tent for three years and your videos are what’s motivating me to finish my bachelors. I graduate this year with a degree in IT management and cybersecurity. And I just wanted to let you know I enjoy watching your videos. I’m writing a computer model of the endocrine system to a cell level to show interactions between hormones and their receptors for my capstone project.
@___Hermitage
@___Hermitage 11 ай бұрын
What kind of society is this where a man doing such work lives in a tent
@kikodekliko1209
@kikodekliko1209 11 ай бұрын
@@___Hermitage The 'bullshit' jobs world...
@SwapPartLLC
@SwapPartLLC 11 ай бұрын
​@@___HermitageHe sounds like a highly intelligent and capable person. What makes you think living in a tent isn't by choice? Maybe he chose between paying rent or paying college tuition.
@doubleHLabs
@doubleHLabs 11 ай бұрын
I've asked chatGPT to do some C code that it couldn't get right, after many attempts and me explaining it in different ways. I then told it to do the same thing but in python, where it can compile and test itself. Then once it got the correct answer, told it to port it to C and it produced a working version in C.
@suvetar
@suvetar 11 ай бұрын
Now that is a handy trick!
@ccat9354
@ccat9354 11 ай бұрын
Are you subscribed to and using 4.0?
@doubleHLabs
@doubleHLabs 11 ай бұрын
@@ccat9354 yes I am
@OggVorbis69
@OggVorbis69 11 ай бұрын
Thank you. Really handy ❤
@OggVorbis69
@OggVorbis69 11 ай бұрын
This sample brings me back in the day when we were extending AppleSoft basic to have fast circle draw in assembler.graphs etc. you are my favourite source of retrospective on how the things that are part of live now came in existence.thanks again
@BangkokBubonaglia
@BangkokBubonaglia 11 ай бұрын
This brings back memories. As one of the authors of Art Alive on the Sega Genesis, I remember using Brezenham's algorithm to draw ellipses on the 68000. My colleague had just recently completed a similar program on the NES using the 6502. Those were really awesome times when any engineer could truly understand the entirety of the hardware he was working on. Of course, everything was done in assembly. I genuinely miss the simplicity of vintage hardware. Now 30 years later and working in LLM's on AI, it is fascinating to think that computers have reached this level of sophistication.
@scowell
@scowell 11 ай бұрын
I was taking a class in 6502 at tech college when my dad gave me a TRS80 Model 1... had a Z80 in it... and I got EdTasm... even on cassette it was vastly superior to keying in assembly on the 6502 breadboards in the lab. Consequently I never learned 6502... but I did get decent at Z80. Now I do embedded IoT things in C... a wonderful living.
@GeoffRiley
@GeoffRiley 11 ай бұрын
EDTASM was amazing for the time. Prior to that I used T-BUG which was a very simple debugger and hex entry system… but that in itself was a great advance on a BASIC program full of POKEs. 🤣
@scowell
@scowell 11 ай бұрын
@@GeoffRiley I obtained that TRS80 wizardry book that contained the entire L2 Basic... that had good stuff in it. I built my own eprom burner... working at Motorola in the early 80's had its perks. The local TRSUG had folks that could burn me L2 chips... did all the upgrades in the book... built my own burner for the proms. Computers been very good to me!
@adebayoomolumo1938
@adebayoomolumo1938 11 ай бұрын
Came for ChatGPT left with PC hardware specs info. I get you couldn't wait to show us your new toy 😂 and I pretty much appreciated it
@thomasgrimm1664
@thomasgrimm1664 11 ай бұрын
That dog playing the piano was priceless.
@billhemphill2139
@billhemphill2139 11 ай бұрын
There is a conspicuous-and appalling-lack of interest in the piano playing and singing canine in these comments. Dave, we need more. Please.
@hansangb
@hansangb 11 ай бұрын
Years ago, I thought Borland Turbo-C compilers allowing me to watch the counter to fix "off by one" errors" was life changing. LOL.
@scharpmeister
@scharpmeister 11 ай бұрын
8:25 so happy to know I share the same debugging process as Dave😂 I felt particularly guilty about the last step, but I feel much better now.
@SegwayStan
@SegwayStan 11 ай бұрын
I had that exact same rig with the card rack, graphics card, sound card, EEPROM card, and extra memory card all from Micro Technology Unlimited (MTU). I even had one of the wire-wrapped prototype boards that I bought from Hal Chamberlin himself. One of my first graphics programs was to draw the Moiré patterns with lines as you did. Some other stuff I did was to grab a chess playing core program and put a graphics chess board wrapper on it, a Wandering Snake game, an 80 column font set & terminal emulator, and other similar stuff. All written in hand coded 6502 Assembly. Thanks for the wonderful memories!
@tshackelton
@tshackelton 11 ай бұрын
I want more of the topic :) This is awesome stuff, love the mixing modern tools with retro equipment.
@RalphHightower
@RalphHightower 11 ай бұрын
I have been having a blast with ChatGPT. I've asked it about a wide variety of topics. Chevy's new Corvette, travel agent trip planning, NASA's Voyager, and regular expressions, are just a few topics. As a freshman at the University of South Carolina, our class elected to use the department's DEC PDP-8 instead of the monolithic IBM 370 mainframe. We learned FOCAL, similar Dartmouth BASIC. In the second class, we learned PDP-8 assembly. That formed the foundation to learn other computer assembly languages. At USC, I taught myself DEC PDP-11, and IBM 370 Assembler. At NCR, I programmed in Intel 8080/85, including Zilog Z80, and Motorola 680X0. I have the 6502 programming card, but I've never used assembly on my Commodore 64. I hope to fire up my DEC VAXStation II/GPX. I have been enjoying the content of your KZbin channel.
@brocktechnology
@brocktechnology 11 ай бұрын
Although I've been coding for 40 years it's a hobby and I'am still a rank amateur. chatgpt has been a revelation, it's greatly expanded what ideas I'm able to execute and shrank the time it takes to do so.
@jimchoate6912
@jimchoate6912 11 ай бұрын
I get that, I too have been programming since the pascal, c and c++ days (1991-) Loved turbo pascal. I do enjoy hands on coding and logic solving though. I may use the GPT to create some obscure coding and logic to see how it was done and then mess it all up and then fix.
@thackythac
@thackythac 11 ай бұрын
Kiss those programming jobs goodbye. Essentially coding will only be a hobby in the future
@brocktechnology
@brocktechnology 11 ай бұрын
@@jimchoate6912 The beauty of it is it's just as useful whether your trying to learn or avoid learning. It will write code from a description just like the enterprise computer but you can also feed it code that's over your head and ask it questions till you get it.
@idjtoal
@idjtoal 11 ай бұрын
@@thackythac That's already happening. I'm sure people have been asking it how to write better versions of itself, too.
@thackythac
@thackythac 11 ай бұрын
@@idjtoal true and its sad. These assholes have been pushing people to get into tech promising great jobs just to have the jobs stolen from them. If AI isnt overblown and does wreak havoc on jobs we will find all of us are in big trouble even those whose jobs arent eliminated.
@realnutteruk1
@realnutteruk1 11 ай бұрын
I'm sorry, Dave...
@googlehomemini2059
@googlehomemini2059 11 ай бұрын
I’m afraid I can’t do that..😂
@PeterEdin
@PeterEdin 11 ай бұрын
Open the pod bay doors please HAL.
@ihavetubes
@ihavetubes 11 ай бұрын
Dave I'm scared
@dekmackie
@dekmackie 11 ай бұрын
would you like some toast? a nice waffle then!
@-jeff-
@-jeff- 11 ай бұрын
🎶 Daisy Daisy, give me your true... 🎶
@Akkbar21
@Akkbar21 11 ай бұрын
How is this not terrifying? Do we really want code acting on its own, “hallucinating” for no known reason and able to alter its own code? I’m having some serious reservations about machine learning and AI these days.
@trevorford8332
@trevorford8332 11 ай бұрын
I had fun playing with that, I agree you can learn code. Saves a bit of time. 😊
@andrew2004sydney
@andrew2004sydney 11 ай бұрын
Awesome video. I'm also blown away by the DrawCircle function without using trig.
@QwertyNPC
@QwertyNPC 11 ай бұрын
For a retired programmer the notion of taking out humans out of the loop is fun, amazing and exiting. For someone who is just starting it's a serious fork in the road, or a wall even.
@Graham_Wideman
@Graham_Wideman 11 ай бұрын
" the notion of taking out humans out of the loop is [...] exiting" -- truer than you probably intended!
@QwertyNPC
@QwertyNPC 11 ай бұрын
@@Graham_Wideman Heh, true. English is my second language and such things slip by sometimes.
@garethsmith7628
@garethsmith7628 11 ай бұрын
Yeah, 6502 assembler was my first real programming as well, Atari 400. I never really found it limited, you just had to break down you problem into smaller chunks, this is something that has served me well since.
@wkjagt
@wkjagt 11 ай бұрын
Great video! I was actually writing some 6502 code before watching this video! Mine was for a debugger for my homebrew 6502 computer :-)
@jimchoate6912
@jimchoate6912 11 ай бұрын
LOL. What a great video, funny , informative, brilliant. Just a load of fun to watch and evaluate. Watched it several times.
@FireJamUSA
@FireJamUSA 11 ай бұрын
I loved the 6502! I didn't have an "assembler" to type code in to, so I would hand write it out, figure out all the addresses for any JSR's or JMP's by hand - translate it all to opcodes, then poke those into memory. Looking back - I should have just written an assembler but I was 12 and smart, not wise - HA! Thanks for these looks into the past. The last time I did anything with a 6502 was in 2004 because I was programming a gas pump that was powered by one. Good times - thanks again for what you do here.
@jdbertel33
@jdbertel33 11 ай бұрын
Interestingly I'm currently building a 6502 based computer with a modern microcontroller acting as ram/rom/io. Quite an interesting project, and finding a controller with the right i/o, and enough horsepower has been a fun challenge! Currently set on the STM32H7. Might be overkill, we'll see after the first board comes.
@toby9999
@toby9999 11 ай бұрын
I built my own s100 boards way back sometime around the late 70s to early 80s. Lot of fun. Also had a lot of fun coding the 6502 (6510) on the C64.
@P-G-77
@P-G-77 11 ай бұрын
I've noticed that if I ask a well-constructed question, the result that often comes back to me is superb to say the least... I've been 'blown away' several times, especially when inserting code into the IA and asking it to simplify... and here I was speechless, it found several ways to write the same code, different and brilliant. But in all cases, I had to create a well-constructed question... but the answer is fantastic.
@methodinsane
@methodinsane 11 ай бұрын
Baffles me how smart you are and how good your channel is. Thanks.
@Foxtrot_Foxtrot_Lima
@Foxtrot_Foxtrot_Lima 11 ай бұрын
ChatGPT gave me a circuit design with a short circuit built in. That blew my mind.
@RichardBaileyrichoncode
@RichardBaileyrichoncode 11 ай бұрын
Agree completely. I used it last week to help debug into arm assembly for an undocumented API.
@tubeDude48
@tubeDude48 11 ай бұрын
I feed it in code for an Arduino, and it spits out Micro Python perfectly. Cool!
@douginorlando6260
@douginorlando6260 11 ай бұрын
Dave … you’re an awesome guy, not just genius level but especially as sincerely likable human being on this journey through life. And when I glanced at the thumbnail I wondered why does Dave have a bunch of eggs on top of his head 🤣
@serifpersia
@serifpersia 11 ай бұрын
I started coding my own projects for arduino and now esp32, without chatgpt I can't do anything. Its literally very smart friend that you can ask favors or questions, even construct basic working code and modify it along the way. Then use old code to generate same structure just with different variable. If I didn't have access to it it would never be possible for me to create my ws2812 led strip projects...
@ericseals5497
@ericseals5497 11 ай бұрын
Understood very little of what you said, but really enjoyed listening. Thanks for your posts.
@georgesackinger2002
@georgesackinger2002 11 ай бұрын
Cut my teeth on a 6502. So did my two sons. We purchased a Apple II Plus and the rule in my house is that you could play almost unlimited games on the Apple II.....That you wrote themselves. It worked and now, both sons are successful software engineers or higher in large companies. Thanks for introducing and getting me interested in Chat GBT. I am having a blast writing code or should I say letting it write it. Not perfect as you pointed out but amazing just the same.
@Pau_Pau9
@Pau_Pau9 11 ай бұрын
I LOVE that Task Manager Pin!
@andrewf9041
@andrewf9041 11 ай бұрын
Scary, but brilliant video.I'm nowhere near the capabilities of yourself, and others on here. But coding 6502, z80, and 68k "back in the day", this is really impressive.
@mansodev
@mansodev 11 ай бұрын
In my opinion, ChatGPT is like a smart highschool intern. It can point out flaws in your code easily, and interpret error messages like it's plain english. However it sometimes makes obvious mistakes, I've seen it call functions that doesn't exist, or create inefficient, or memory unsafe code.
@Scapestoat
@Scapestoat 11 ай бұрын
And like the pimply faced intern, it often also cannot explain why the flaw in your code is a flaw, or how it could be fixed. And all too often it just spouts gibberish, and you realise it is better off just making you a metaphorical coffee.
@kevinmcfarlane2752
@kevinmcfarlane2752 11 ай бұрын
There are other Chat AIs out there as well, so mix and match. Sometimes ChatGPT fails where one of the others succeeds and vice-versa.
@Scapestoat
@Scapestoat 11 ай бұрын
@@kevinmcfarlane2752 They're all LLM's though. With the same failings. I have found that the less you know about something you ask a LLM, the more impressive they seem. So ask an LLM something about a subject you know a lot about. :)
@stinchjack
@stinchjack 11 ай бұрын
I wrote Bresenhams's circle algorithm in Z80 assembly to draw onto an LCD display. The result was more like squircles
@McGuire40695
@McGuire40695 11 ай бұрын
Always love your content, Dave! Always found coding and computers so interesting, but it seems a little overwhelming! You definitely do a great job at explaining things and it's amazing what AI (ChatGPT in this case) can do and is constantly improving!
@LivvieLynn
@LivvieLynn 11 ай бұрын
I've learned a few interesting coding concepts I never thought of using ChatGPT for refactoring. The best part is the application even explains what the code is doing. Probably spent several hours just going down rabbit holes after learning something new.
@pandabearguy1
@pandabearguy1 10 ай бұрын
When using plugins, or the advanced data analysis extension of ChatGPT (4) you can make it write and run the code (well Python atleast), test it, debug, run it again, test it, etc until it gets something which is working. You can then review the work, give it feedback on what you would like differently, or ask it to try and make it more efficient etc, and it will modify the code and test it iteratively on it's own. Works pretty well
@mikegofton1
@mikegofton1 11 ай бұрын
Ah the 80's, when coding in Z80 assembly seemed like magic. I recall disassembling XMODEM and patching it with my own software serial port because I couldn't afford a hardware SIO - what joy when it worked at 300 baud. We've certainly come a long way - now large language models seem like magic.
@AZisk
@AZisk 11 ай бұрын
My favorite thumbnail you’ve ever made 🎉
@jaythompson5102
@jaythompson5102 11 ай бұрын
Wera and Knipex tools you truly are the King of Kings.
@ITPMMentor
@ITPMMentor 11 ай бұрын
two thumbs up for the thumbnail alone. Looks like ChatGPT could be a great help for many lone software developers. Meet your new peer review partner. I wonder how effective it would be with the legacy Cobol software out there?
@paulmichaud7565
@paulmichaud7565 11 ай бұрын
Excellent shout-out to Hal Chamberlain. Hal is one of the early pioneers of personal computing and put out a mimeographed(?) newsletter called The Computer Hobbyist back when hobbyist information was hard to come by.
@sambojinbojin-sam6550
@sambojinbojin-sam6550 11 ай бұрын
What a time to be alive!
@davidissel7980
@davidissel7980 11 ай бұрын
Reminds me of my early days programming Z80 Assembler on the Trash-80. My TRS-80 Model I was HEAVILY modified...
@LordCarpenter
@LordCarpenter 11 ай бұрын
Reminiscent of my days writing assembly code for the Intel 8080. It would have been great to have ChatGPT back then. Great video!
@ristopaasivirta9770
@ristopaasivirta9770 11 ай бұрын
Before: you talk to yourself about why the computer doesn't work Now: you talk to the computer about why the computer doesn't work I love A.I.
@djstraylight
@djstraylight 11 ай бұрын
The 6502 is a little old for me but I was happily writing assembly on the 68000 in the late 80's. The new OpenAI python API package is incredible and can upload images for context. Soon I bet a bunch of people will do be some close loop programing with ChatGPT.
@toby9999
@toby9999 11 ай бұрын
The 68000 was very nice in my opinion.
@GeoffRiley
@GeoffRiley 11 ай бұрын
Z-80 and 6502 were my first programming languages way back when… at that time my only 'use' for BASIC was as a mean to carry the code via a long series of PEEK and POKE statements. Hex entry was fine on the KIM-1, but the Commodore PET and the TRS-80 both required-encouragement. 😁 Ah, the days of wild processor hunting and attempting to look invisible whilst playing with the new fangled computers in shops!
@ErazerPT
@ErazerPT 11 ай бұрын
Nice vid. In a way, what you described is similar to "evolved antennas", where it goes over it's own design over and over trying to find a better solution. The implications are immense because it pushes one of the most damning human limits to new levels, time per product. Take for example chip design, that is now so complex you rely on many a "standard way" just to keep track of things. An ML tool won't care. You'd just tell it what it's supposed to come up with, the constraints it should work under and let it go at it. The next big step will be when you can tell some version of ChatGPT to "create a better version of yourself given x constraints". It's model obviously. THAT will kick things into next level... p.s. for curious people, ML's largest advantage over us is that it works on a reward basis without the purely biological bias of risk aversion. It WILL try stupid stuff to come to the conclusion it was stupid. And as AlphaZero/Go/Star proved many times, many of the things humans considered stupid were not actually stupid (in the long run).
@NoName-zn1sb
@NoName-zn1sb 11 ай бұрын
its own
@specialservicesequipment393
@specialservicesequipment393 11 ай бұрын
I asked CHAT GPT to help me setup APACHE2 server on my Linux Laptop, then help me configure ProFTP on my laptop as well. Did both perfectly, including an upload script in PHP for the Apache2 server. the only thing it failed at was I wanted to setup an old school INN (internet Network News) server as an experiment for creating local news on a server (like a BBS) and Together we couldn't get past all the errors that were happening. I'll try again when I get the fanless industrial PC i'm going to run all this on.
@TheCatMan777
@TheCatMan777 11 ай бұрын
Love the lapel pin!
@data7315
@data7315 11 ай бұрын
Hi Dave, Thx for the reporting of your findings. I also use Chat GPT 3.5 and Phind (uses ChatGPT-4 in the background) in many Programming sessions. I often Copy and paste snippets of my Code in it and ask specific questions. I also let it analyze Crash dumps, by copying the output of WinDBG into ChatGPT and let it analyze the Crash dump. It's a amazing tool.
@nufosmatic
@nufosmatic 11 ай бұрын
8:04 - There was a process called CORDIC that worked similarly that was used in early hand calculators, and at least one company put it into a super-minicomputer with a 384-bit floating point engine... (Abbott labs loved it for molecular modelling...)
@dieAnthropologischeKonstante
@dieAnthropologischeKonstante 11 ай бұрын
I learned a lot also by going through the errors gpt is putting out:)
@sokolum
@sokolum 11 ай бұрын
ChatGPT is a wonderful companion
@JCWren
@JCWren 11 ай бұрын
Maybe we can use ChatGPT to fix the Python ABI hell. I've written a lot of code in a lot of languages in the last 47 years and I can't decide which I despise more, Python or COBOL. At least with COBOL we didn't have ABI issues and "Oh, does this want 2.7 or 3.1?". Not to mention Python's error messages are the functional equivalent of FORTRAN's "Parameter of type parameter may not be of type parameter".
@duhmez
@duhmez 11 ай бұрын
I wanted to use the comandline video editor app, ffmpeg, I wanted to make a batch file using it to convert drag and drop any video into a set format for 100% compatibility for media playback, convert to basivc mp4 stereo. Chatgpt i instantly spat out the arguments for the command line! Bloody awesome! now I just drag any video onto the batch file and with zero effort, a bit later, the video is ready for playback on a potato! No need to load a video converter app, no need to browse to where the vidoe is, no need to set bitrate in said video editing app, all preset in my batch file.
@dancoulson6579
@dancoulson6579 11 ай бұрын
This is pretty crazy. It's amazing how far AI is coming along. I'm not sure if I like AI or not yet.
@kwikdahl
@kwikdahl 11 ай бұрын
We are heading down a dark path with AI. It can either turn out to be one of our greatest tools and accomplishments for human development or we get "The Matrix" or "Terminator" future. I think the latter i the more likely end.
@josephkelly4893
@josephkelly4893 11 ай бұрын
Loving the beard Dave, looking like an IT silver fox. Great video once again
@haqk4583
@haqk4583 11 ай бұрын
6502 assembly sounds fun 😅
@pierQRzt180
@pierQRzt180 10 ай бұрын
The part on the 6502 was the most interesting one.
@network_king
@network_king 11 ай бұрын
The AI loop idea just made me think of the latter season of Person of interest where the "Machine" had to simulate all kinds of scenarios and strateagies of what to do.
@malectric
@malectric 11 ай бұрын
Fascinating. I wonder how far we are from the point where a circuit diagram of a piece of uC hardware can be given to it together with an output spec for it to produce a working program. In the meantime I prefer to write my own. The journey is most of the fun.....
@jmp01a24
@jmp01a24 11 ай бұрын
My first Dave's Garage Premiere.... C64 forever!!!
@joekenorer
@joekenorer 11 ай бұрын
I don't know much about coding but I made it use python to create a basic text based Final Fantasy style battle system with a character exp stat tree and variety of enemies and weapons and a weapon shop. It took several iterations in 3.5 but eventually we got it going and you just battle monsters over and over until you get enough exp to level up or gold to shop and continue battling until you die. I'm extremely impressed because I don't have the first clue how to actually code any of that.
@kuraz
@kuraz 11 ай бұрын
hey, this time your code scrolls very smoothly, a lot better than in a previous video. much nicer to look at 👍
@dimagass7801
@dimagass7801 11 ай бұрын
I haven't been able to log in or create an account to use it but I could finally use it, it can use fast led to do custom rgb patterns makes me wanna get some rgb leds and an arduino😉
@wepped482
@wepped482 11 ай бұрын
Chat gtp turns into the 'my compiler is smarter than me' stories after several iterations of itself.
@AnthonyRBlacker
@AnthonyRBlacker 11 ай бұрын
We have come a LONG way since the VIC-20 haven't we? Interesting it can read the code you showed it, not even necessarily knowing the Kim-1 but just looking at your input found discrepancies. Very interesting this chat-GPT phenomenon. I wonder how much computing power is behind that system.
@daffawiradanu2260
@daffawiradanu2260 11 ай бұрын
I've really didn't know that, thank you for telling me how to do it Dave 😀
@Castaa
@Castaa 11 ай бұрын
We are on the cusp of something wildly big and world changing.
@jayk806
@jayk806 11 ай бұрын
Great video. I have found the ChatGPT to be an invaluable rubber duck.
@gamersplaygroundliquidm3th526
@gamersplaygroundliquidm3th526 11 ай бұрын
when I just saw that you said a piece of software blew your mind i had to see what the deal was cause it's got to be something well worth hearing if it invoked that response from you!!
@Lantertronics
@Lantertronics 11 ай бұрын
Hal Chamberlin -- oh! that's the author of the classic Musical Applications of Microprocessors!
@necronom
@necronom 11 ай бұрын
I guess this is V4, as I was asking v3.5 a couple of C64 questions last week, and it got them spectacularly wrong, but as usual gives them to you as facts.
@Dom_Mason
@Dom_Mason 11 ай бұрын
Interesting... When I get the time I defiantly want to throw some code at ChatGPT. See if I can get it to code in a closed loop as well. Wonder how good it is at JavaScript or C++. Thanks for the vid Dave!
@technowey
@technowey 11 ай бұрын
That is very cool. After watching the video, I imagined a future where someday, an AI says, "A human blew my mind. They can code!" ;)
@CSS01969
@CSS01969 11 ай бұрын
Dave, I believe you missed out the most important reason for still knowing 6502 Assembler! For anyone that's watched the original Terminator film, you'll see that Arnie's T-101 runs on 6502 (when you see the code on screen). Fortunately there's still a few of us left who will be ready for when Skynet tries to take over! ;)
@nachenberg
@nachenberg 11 ай бұрын
@DavesGarage I know you are the foremost expert on the topic of the following question, and will appreciate that in the end it was ChatGPT that could help me figure it out: In the context of the Windows Task Manager's "Processes" tab: - You can end nonresponsive programs. - You can monitor CPU and RAM usage of individual processes. - You can monitor individual program activity in terms of resource usage. Given these functionalities, the correct answer to the question, "Which of the following is NOT something you'd find on the Processes tab?" is: ✓ All of the above This option is not correct because all the listed functionalities are available in the Processes tab.
@nachenberg
@nachenberg 11 ай бұрын
Performance Check: Mini-Quiz Question 1: Which of the following is NOT something you'd find on the Processes tab? A. End a nonresponsive program B. Monitor CPU and RAM usage C. Monitor individual program activity D. All of the above
@willynebula6193
@willynebula6193 11 ай бұрын
Nice jacket Dave
@greg4367
@greg4367 11 ай бұрын
This topic is A-1 interesting. Please do continue with AI-augmented coding and debugging topics. I wonder what can be done with software architecture design and analysis? Great work as always, thanks Dave.
@MrFastNapper
@MrFastNapper 11 ай бұрын
Sounds like ChatGPT is that partner I have being missing in the Extreme programming days
@dabbopabblo
@dabbopabblo 11 ай бұрын
This will be powerful when its supported by the API and fully autonomous agents can code and debug beyond just seeing the console output of their previous iterations.
@carlosm9111
@carlosm9111 10 ай бұрын
I would love to see you put this together with Microsoft Autogen which can run an LLM in a closed loop like that with a user agent that can essentially be a stand-in of sorts for you and continually test the LLM output.
@wisteela
@wisteela 11 ай бұрын
That really is amazing.
@Geenimetsuri
@Geenimetsuri 11 ай бұрын
The real fun part is that I'm pretty sure you could code a 6502 emulator with the help of Chat GPT, so it could both create the (model of the) CPU and debug the assembler running on the (emulated) hardware. We've gotten far in the past few years with AI. I wonder how far we'll be by 2025!
@geehaf
@geehaf 11 ай бұрын
Thanks for this Dave. Can we see the final output for the 6502 circle algorithm?
@jackevans2386
@jackevans2386 11 ай бұрын
Love your work Dave !
@johannes7856
@johannes7856 11 ай бұрын
I personaly use phind. Its an chat gpt search engine but they use also thair own models.
@sativagirl1885
@sativagirl1885 11 ай бұрын
Political Machine Learning needs more Daves. A more perfect union is possible.
@velociraptor5962
@velociraptor5962 11 ай бұрын
I've been using it for a few months now. Saves going to Stack Overflow. 😂 Vb, vbs, c#, php. It's all good - mostly.. Until it isn't. 😂
@bjorntheviking6745
@bjorntheviking6745 11 ай бұрын
I think this experience is pretty universal for most of us old timers. I have tried to get chatgpt to create code for a program I already wrote so i can compare, and my experience is that chatgpt cannot get it right. Maybe I am just a dinosaur 30 years engineer autistic and cantankerous so I could probably do better at explaining what I need.. who knows
@SteveGouldinSpain
@SteveGouldinSpain 11 ай бұрын
This area is so interesting. A few months ago I was coaxing Chatgtp to write a screen-scraper to pull down a particular data set. After a few failed iterations it suggested the website was using a dynamic way to present the data I wanted. Instead it suggested AN ALTERNATIVE website where the same data was available statically and obediently provided the working code. How did it know to do that? Someone on Reddit suggested there was probably a Stackoverflow question out there somewhere with that answer. But with the same data? The same websites? What are the chances?
@redpillsatori3020
@redpillsatori3020 11 ай бұрын
The other day I accidentally provided it with the wrong GPS coords for a city that I was using to test some Postgis SQL code on. Somehow it knew the exact GPS coords for that small town in Nebraska, and autocorrected the GPS for it in the response. I pressed it, and questioned it, asking how it KNEW the correct coords if it didn't have access to the internet, or a DB of GPS coords on file, and it kept denying and gaslighting me.
@bornach
@bornach 11 ай бұрын
Doesn't have to be the same data and website. That's the beauty of transformer neural networks. Your test case just needs to have sufficient patterns in common with some training examples and it will generate a token sequence that gives the illusion it knows what it's talking about.
@bornach
@bornach 11 ай бұрын
​@@redpillsatori3020I asked GPT4 via a 3rd party API whether Toronto Canada was further north than Swindon UK and it replied yes giving the correct latitudes of both places and explaining that the first number was larger than the second. Only problem was that Swindon is actually further north than Toronto.😂
@user-qy2wf2lt6v
@user-qy2wf2lt6v 11 ай бұрын
@@redpillsatori3020 It "had" access to the internet. It goes trough tons of data - books, articles, forums, transcripts and more. It went trough some website listing the town with it's coordinates, like Wikepedia, some site about coordinates and more. In a way - it builds it's own database. You provided the name of the town, with wrong coordinates. The model got that it needs to use the town and the town's coordinates. It's possible that it either ignored the coordinates you provided, or it had a conflict, deciding, that it's data is "more correct" (yeah, you see Statistics can be weird like th)
@Penfolduk001
@Penfolduk001 11 ай бұрын
It's funny but back in the day MOS technology and Zilog were the Intel and AMDs of their day. With Motorola looking like it would wipe the board with the 68000 line of processors. Intel was around, but it's only when they got the 8088 chosen for the IBM PC that they really took off.
@joeisuzu2519
@joeisuzu2519 11 ай бұрын
Pls, do a video of python & chatgpt. Would like very much to see that. Adding a way for chatgpt to evaluate its own code would definitely close the loop more.
@TFSned
@TFSned 11 ай бұрын
Will AI lead to much better compilers and decompilers? It would be great to see compilers for more obscure combinations of languages and processors, or decompilers that can give you much more readable code by guessing what each function is intended to do. I'm not sure about the security implications, since I'm only interested in decompiling old games to make modding easier. Also, how legal it would be since there's no guarantee the AI hasn't seen leaked source code.
HAL 9000 and the Sexadecimal Mystery - Finally Explained!
22:11
Dave's Garage
Рет қаралды 327 М.
Microsoft Security: Breaking the Rules - Stories from Employees
14:59
Dave's Garage
Рет қаралды 149 М.
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,3 МЛН
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 35 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 86 МЛН
Projects Every Programmer Should Try
16:58
ThePrimeTime
Рет қаралды 462 М.
I tried using AI. It scared me.
15:49
Tom Scott
Рет қаралды 7 МЛН
how NASA writes space-proof code
6:03
Low Level
Рет қаралды 2,2 МЛН
Behind the Windows Start Menu - Insider Secrets
17:59
Dave's Garage
Рет қаралды 237 М.
You're Doing it Wrong:  Rebooting!  Find out why!
11:50
Dave's Garage
Рет қаралды 521 М.
Blame Me: The INSIDER Secrets of Windows Product Activation!
21:23
Dave's Garage
Рет қаралды 610 М.
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,3 МЛН