Build Anything With ChatGPT, Here’s How
Get my Custom Instructions for free: value.davidondrej.com/video01
Please Subscribe.
If you're serious about AI, follow me here - x.com/DavidOndrej1
With ChatGPT and VS Code you can build anything
Even if you know nothing about programming or python
unfortunately a lot of people are still afraid to start any project that involves code
so my goal is to break those limiting beliefs with this video
And to show you that programming something with the help of ChatGPT is actually very easy and enjoyable
In fact I haven’t even chosen the project I’m going to do, I’m gonna leave that up to ChatGPT as well
Пікірлер: 368
A lot of people have asked for the Custom Instructions I used, so here they are: value.davidondrej.com/video01
@moe3060
4 ай бұрын
Elon is that you? did Elon Musk build a time machine finally?
@QuaK3RRR
2 ай бұрын
someone who dont know what a variable is couldn't code this xD but ure right chatgpt helps with learning if u use it right! Btw. next time just disable the autopilot xD
This is exactly my approach. I started a year ago and made myself a bunch of small tools. I learned so much about Python, PyQt, and programming in general. It's the greatest time to be alive!
@fredrickenelamah4805
6 ай бұрын
This would be me in 1 year.
@DavidOndrej
6 ай бұрын
I love to hear that! :)
@OrlieJohn
6 ай бұрын
same thing here chatgpt is like my personal teacher
@Zvezdan88
6 ай бұрын
@@lan92034If you are asking me, no. But I am not looking for a programming job, I am working in the gaming industry as a 3D Artist. I just always wanted to learn how to code.
@bvc1922
6 ай бұрын
Do you think, it can help you teach you everything about programming?
for all the ppl that want to get into coding as complete newbies: get at least the fundamentals down like variables, if else statements, loops etc before using this because AI is imperfect still and can make mistakes that you will have to catch and fix, this is where your basic knowledge of code will come to use
@gecn9685
3 ай бұрын
Nah.
@latenightenjoyer
Ай бұрын
even with having basics, it all comes down to what prompt they use and how smart they will be about using the responses it gives them. and oh boy it's going to hallucinate when they start to ask too complex questions xD
@fonzoo_4920
4 күн бұрын
@@gecn9685 then dont waste your time and do something erlse
@herbertduncan5838
2 күн бұрын
What programming languages can this help you with?
a great solution to the space problem you had was to set the ' ' = '/', so that every words gets separated by a slash. This makes it really clear and easy to read
You teach in a very inspiring and encouraging way - great job, keep going!
I feel like you just gave me new inspiration & a path to take to grow my programming skills and hopefully build projects to break into tech. Thank you!
@DavidOndrej
5 ай бұрын
No, thank YOU for such a positive comment! You just gave me inspiration to make more videos like this and to hopefully help more people :)
You are the exact guy I was searching for all this months 😂❤❤
Great work explaining this and going out the box with it, love the passion and seeing past limitations!
Bro thank you for expanding my mind on how to approach ai, communication is the future!!!
Great video! I've been experimenting with Bing Chat. I asked him to write a .bat file (batch file). The task was: There is a folder with 100+ subfolders like 001_Love Under The Sun, 002_Eliza,003_Coming,... I asked Bing Chat for every subfolder to replace _ with 0_ in it's name. And I provided him a testing Folder at first. He wrote a program, but he screwed up twice. Every time I explained him the problem, and he made the program better. The third time was a charm, and I applied his code to a real folder. Batch file is convenient because you can ran it on windows right away with no extra software to download. Once again, test it first in a test area. He tried to weasel out, telling me that it's better to use something more specific, but I insisted to continue.
I am a manual tester from last 15 years and stuck in a company with no opportunity outside for manual testing. I was thinking something like this and this video appeared in my timeline. This video gave me a hope. I want to move towards automation testing. Thanks for making this video.
@sicboy3749
2 ай бұрын
I work in the same field & was thinking how do I use python & Chat GPT to do regression script testing for software
@brianbrooks4448
15 күн бұрын
@@sicboy3749 The trouble is that this will change the competition. Anyone will be able to learn to create programs and test scripts. This has the ability to turn the whole industry on it's head.
Thank you this will help with game design for sure, the future with Ai is removing the latency between mind & body actions
I love the tutorial interweaved with the excitement about AI. I feel the same way.
This is awesome 😎 I’m studying for my A+ and also want to learn python and java for myself. Chat gpt is awesome the more I learn to utilize it. Great video! Thanks.
@drunkspartan711
4 ай бұрын
May i ask why A+?
Awesome video and your focused mind. Thank you❤ Greetings from Poland 🇵🇱
Great video, one improvement recommendation: You can include the „just give me hints“ instruction into the custom instructions so you won’t need to type it each and every time 🐻❤️
Excellent video David, very informative, thank you very much.
I think you can easily let ChatGPT give you the code as well, just afterwards ask what every section does and how. And you can ask for different ways to do the same thing to get even more out of it. Depends on your motivation. If you're making a video, you have a bit more motivation than someone sitting at home and studying.
@AmazingWondersTV
4 ай бұрын
I’m sure you are motivated enough to conquer the world. Keep growing.
This is insane. Thx David
One of the greatest benefits of open and free AI of such sorts is the educational - I, too, am self-learning programming with GPT and it's amazing
This is awesome bro, love your content. I have been learning by doing projects for my job (not programming or IT related), simple things really, but using chat gpt and other llm as a tool. up my skills like you said. great introduction to the tool set and always, thanks for showing how i can use it.
Yeah, I follow the same approach. I've improved a lot by combining solid foundation (mostly Arjan Codes videos, he covers software design basics which are easy to understand) together with chat gpt. I know I am able to write anything chat gpt writes for me. But its so much easier. Especially big refactoring and such stuff, breeze
Just wanted to leave some constructive feedback [hopefully!] on this video (I use GPT4 quite a bit to generate Python and C# code). The title of the video is "Build Anything With ChatGPT, Here’s How", but then you use your own skills and knowledge of Python to start writing code by hand, and teaching the viewer about the code (like writing a function def, and the += operator). This seems to defeat the purpose of using GPT to build the app. You can just tell GPT: "Write a complete Python script that prompts the user to input a string of English text, and then it translates that text into Morse Code and prints out the Morse Code representation of the input string." And it generates a fully-functioning script that worked for me on first try. I then asked it: "Add functionality so the script then prompts for Morse Code from the user, and it translates that back into English." And it gave me a new version of the script, but that new version failed and gave an error. I told GPT and pasted it the full error, and GPT gave me a new version of the script with the error fixed. The whole script then worked properly, and it only took me about 5 minutes total to get it up and running. For a viewer with no programming/Python knowledge at all, this method seems more intuitive and efficient than using GPT for some of the code, and typing other code by hand.
Nice video man, thanks for the initiative.I think it would be very interesting trying to build something big with the help of chat gpt. It would be interesting to see how you would handle bad or maybe not so concise answers from caht GPT :D
You are the exact guy I was searching for all this months
@DavidOndrej
3 ай бұрын
Wow, thank you Ryder for such a lovely comment! ♥
nice video man, didnt know about custom instructions until now, thanks!
@DavidOndrej
5 ай бұрын
Glad I could help!
I would say its good timing since tomorrow OpenAI will present a system on how to build anything with Chatgpt even better and faster ^^
00:02 Programming with ChatGPT is easy and fulfilling 02:17 Creating custom instructions for a project 06:42 Build programs without programming knowledge using ChatGPT. 08:59 Creating a dictionary to map English characters to Morse characters. 13:35 Creating a basic empty function to handle text translation 15:55 Use AI to improve your skills and enhance yourself, not outsource everything to AI. 20:01 Using ChatGPT to generate mapping of English to Morse code. 22:18 Automate boring tasks with ChatGPT 28:11 Adding a mapping of a space in Morse code requires one space into three right. 30:12 The next step is to write a function to use the user input and print the result. 34:47 The video discusses how to convert text to Morse code by splitting it into characters. 37:26 Build reusable functions to avoid code repetition 41:27 For loop is preferred when the length of the loop is known 43:24 Updating the more string with the mor code for each character in the text 47:48 Handling the issue of adding extra space bars 50:27 Learn how to use the reserved keyboard in Python to make a function give back a new Morse string. 55:05 Handling spaces in Morse code conversion. 58:07 Improvement of the Morse code translator 1:03:40 Updating the dictionary to include colon and smiley face 1:06:26 Handle exceptions using try-except block for better error handling. 1:11:45 Removing extra characters and spaces in Morse code. 1:15:12 Building a Morse code character initialization in Python is a good option 1:20:53 You can build anything with ChatGPT without any prior programming knowledge. 1:22:46 Build anything with ChatGPT using custom instructions
Great video bro appreciate the work you do here
Thank you once again for a great video. Keep them coming.
@DavidOndrej
3 ай бұрын
Wow, you have no idea how much this means! ♥
@samisosa9105
3 ай бұрын
@@DavidOndrej And you have no idea how much your video has helped me. Best of luck to you ✌
this video was a blessing from the gods I have experience in python and this just made me like 50x more powerful tysm
Na to, že jsi čech, je tvoje angličtina šíleně dobrá good job
chatgpt using gpt 4 is great both as a coding assistant and teacher when using common languages, frameworks, and libraries. Less common environments and larger projects are it's downfall, but it's really come a long way.
@Chris-xo2rq
4 ай бұрын
Yes, as a firmware engineer who writes fully custom hard-real-time operating systems it is practically useless since it has no knowledge of my codebase. I use it a lot for when I'm writing Windows and Android applications though.
@lucagethmann7682
4 ай бұрын
@@Chris-xo2rq which environment or language would you recommend to use together with Chat-GPT?
@noname-vw5qw
2 ай бұрын
@@Chris-xo2rq would you ever even use AI generated code for that? Using AI for any mission-critical software seems really spooky.
@Chris-xo2rq
2 ай бұрын
@@noname-vw5qw A lot of what I use it for is boilerplate stuff that is just a lot of typing I want to avoid. I can feed it a collection of nested C++ classes for example and it can generate serialization and deserialization functions for them. Conceptually easy task that just takes a long time to do manually.
yeah i see the value of writing 80 lines of code in 1 hour 30 minutes .... chatgpt is multiplicative tool that will take your skill and increase the speed and quality but if you have no skill to begin you cant do much else with it in other words build solid foundation
Wow! This is awesome thanks.👍🏼👍🏼
Super video! Já ChatGPT používám nerad, protože dělá dost chyb a připadám si špatně a líný... 🤣
When you don’t know what you are doing and go ahead and do it. Well best of luck my friend.
I created a program with gpt that sorts everything in a folder it is in. So it takes everything out of an existing folders, deletes empty folders, then sorts everything, and creates folders inside those to sort even further. For example, pictures folder contains years, and then year folder contains month. Ive sorted over one TB of hard drive in just a couple of minutes. I have never been coding, so this is just a magic show
@zukanyed8633
2 ай бұрын
Please share how. maybe a Git repository or anything like that?
@jaroshus
2 ай бұрын
You just ask what you want to make, any ideas to gpt, and it will creater script for you, you start to test it and making shure everything works how you wanted it, thats it. GPT is a blessing for those who has creative ideas, but no knolwlage in to coding. @@zukanyed8633
@jaroshus
2 ай бұрын
import os import shutil from datetime import datetime def organize_files(): current_directory = os.getcwd() script_path = os.path.abspath(__file__) folders = ["Documents", "Images", "Videos", "Music", "Other"] for folder in folders: folder_path = os.path.join(current_directory, folder) if not os.path.exists(folder_path): os.makedirs(folder_path) total_moved = 0 total_size = 0 folder_details = [] for file_name in os.listdir(current_directory): file_path = os.path.join(current_directory, file_name) if os.path.isfile(file_path) and file_path != script_path: category = get_file_category(file_name) if category: destination_folder = os.path.join(current_directory, category) moved, size = move_file(file_path, destination_folder) total_moved += moved total_size += size print(" Summary:") for folder in folders: folder_path = os.path.join(current_directory, folder) count = len(os.listdir(folder_path)) size = get_folder_size(folder_path) folder_details.append({"folder": folder, "size": size, "count": count}) folder_details.sort(key=lambda x: x["size"]) # Sort by size in ascending order print(f" Total moved: {total_moved} files\t\tTotal size: {total_size:.2f} MB") write_summary_to_file(folder_details, total_size, total_moved) organize_by_date() def organize_by_date(): current_directory = os.getcwd() pictures_folder = os.path.join(current_directory, "Images") videos_folder = os.path.join(current_directory, "Videos") # Add Videos folder for media_folder in [pictures_folder, videos_folder]: if not os.path.exists(media_folder): continue for file_name in os.listdir(media_folder): file_path = os.path.join(media_folder, file_name) if os.path.isfile(file_path): modification_date = get_file_modification_date(file_path) if modification_date: year_folder = os.path.join(media_folder, str(modification_date.year)) month_folder = os.path.join(year_folder, modification_date.strftime("%B")) for folder in [year_folder, month_folder]: if not os.path.exists(folder): os.makedirs(folder) destination_folder = os.path.join(month_folder, file_name) shutil.move(file_path, destination_folder) print(f"Moved: {file_name} to {destination_folder}") def get_file_modification_date(file_path): try: modification_time = os.path.getmtime(file_path) return datetime.fromtimestamp(modification_time) except Exception as e: print(f"Error getting modification date for {file_path}: {e}") return None def get_file_category(file_name): image_extensions = [".jpg", ".jpeg", ".png", ".gif", ".bmp", ".tif", ".arw", ".NEF"] video_extensions = [".mp4", ".avi", ".mkv", ".mov"] document_extensions = [".pdf", ".doc", ".docx", ".txt"] music_extensions = [".mp3", ".wav", ".flac"] file_extension = os.path.splitext(file_name)[1].lower() if file_extension in image_extensions: return "Images" elif file_extension in video_extensions: return "Videos" elif file_extension in document_extensions: return "Documents" elif file_extension in music_extensions: return "Music" else: return "Other" def move_file(source_path, destination_folder): destination_path = os.path.join(destination_folder, os.path.basename(source_path)) if not os.path.exists(destination_path): shutil.move(source_path, destination_path) print(f"Moved: {source_path} to {destination_path}") return 1, os.path.getsize(destination_path) / (1024 * 1024) else: print(f"File {os.path.basename(source_path)} already exists in {destination_folder}. Skipped.") return 0, 0 def get_folder_size(folder_path): total_size = 0 for dirpath, dirnames, filenames in os.walk(folder_path): for filename in filenames: file_path = os.path.join(dirpath, filename) total_size += os.path.getsize(file_path) return total_size / (1024 * 1024) def write_summary_to_file(folder_details, total_size, total_moved): desktop_path = os.path.join(os.path.expanduser("~"), "Desktop") file_name = f"Cleaner_{datetime.now().strftime('%Y%m%d_%H%M%S')}.txt" file_path = os.path.join(desktop_path, file_name) with open(file_path, 'w') as file: file.write("Cleaner Summary ") file.write("-" * 50 + " ") file.write(f"{'Folder':
Awesome, thanks!
Great approach with ChatGPT. I love Ghact GPT the possibilibies of the language are endless. Please teach more reagding charp GPT
@circulartext
5 ай бұрын
this is exactly what our programmers do
Very great for writing automation scripts that can do all kinds of stuff, CI/CD and environment syncing, kuberentes automations etc. Sadly its not as great at writing extensive code that relies on custom functions and classes in different files. Sure a useful tool, saved me hours while working on stuff I did not know anything about
Hi David, I really like your set up with ChatGPT that I haven't seen on other tutorials, what extensions did you use in VS to get that?
This is probably one of the absolute best videos I have watched so far on this subject. Thanks a million! Also, I'm curious as to why you don't have the "Super thanks" enabled?
@DavidOndrej
3 ай бұрын
I didn't enable it because I didn't think anyone would like my videos that much! Because of your comment I went ahead and turned it on. If you do end up sending me a Super Thanks, then I will be honored :)
are you Elon Musk's brother?
@Twtgod
4 күн бұрын
Yes
@Instant_news00
5 сағат бұрын
😂😂
Thanks 💯
Just for clarification. Any application that is aiming to be sold has a very complex file structure to ensure safety of user data. This is programming on the very first level and chat gpt is not even close currently to actually create and change data structures for large scale applications. It’s a good help though if you understand the structure yourself
@TTeaSett
6 ай бұрын
Could you talk to me more about it? or pointing me where can I learn about that? I was thinking using chat gpt to make an android app.
@waldbeer3535
6 ай бұрын
@@TTeaSett It would be best if you just codealong a couple of full stack apps. freecodecamp offers a lot of very recent SaaS (Software as a Service) tutorials, where you can learn everything about the data structures needed in such a project. In the beginning might be a lot of info to wrap your head around, so go step by step and you will have great results
@paca3107
6 ай бұрын
yes gpt sucks at debugging and more complex tasks than to do list.
@tnamr5652
5 ай бұрын
Copy paste from internet is not programming Misleading people
@denis4096
5 ай бұрын
@@TTeaSett First learn how to code and get basic knowledge about the programming concepts. I recommend Flutter as a good starting point to create Android Apps, the learning curve is low and u get good results with a minimum effort. From there dig deeper and switch to Android Studio and Kotlin/Java for native Andrroid Application Development. BTW Flutter is Crossplatform wich mean that u need only one code base to compile for Android, IOs, Web and Windows. Try it, it's really fun and a breeze to create Apps in a quite short amount of time.
Good guy, exactly what I looked for
If you maps space into two spaces instead of three, you can eliminate the need of using IF in your translation function
laughed out loud when the copilot just showed the full function :D
Excellent work
@DavidOndrej
6 ай бұрын
Thank you Muhammad! :)
great content!
thank you for this video
I build dayz servers and used chat GPT to help make me python scripts to convert and create mass quantities of code for types, traders etc
Deserves more likes honestly
@DavidOndrej
4 ай бұрын
Thank you! :)
so clearly explained in perfectly enunciated English...
I learned a lot faster learning to code without using chat gpt. To be exact, chat gpt hindered my growth because it was always the easy way out, which is not a good way to build a solid understanding of the programming. Everyone learns differently, but I learned a lot more with trial and error without using chat gpt as a crutch.
@jenot7164
5 ай бұрын
Me too, and using ChatGPT also somehow took the fun out of it. Learning how to efficiently debug your code is such a rewarding experience.
@prawtism
5 ай бұрын
For me, I accidentally used a colon : instead of an equals sign = for a variable. Already got angry that ChatGPT was telling me that I typed an assignment operator wrong :D but I wouldn't have noticed that so fast myself and maybe would have given up for that evening.
@riptracyy
5 ай бұрын
why did you type a colon lol @@prawtism
I use it for help but always end up asking about technical things that will not help le but are interesting to know 😂
Any possibility you could build a web scraper or a game in your next video? Wonderful video. Thanks for your assistance.
@DavidOndrej
6 ай бұрын
I already have both of these on my ideas list - so it's very possible that I'll make those videos! :)
thank you bro
i got my co2 sensor , an arduino a few reley boards and made code to run it all in 30 minutes with chat gpt, with no prior coding knowlage, but some automation knowlage... easy as
I know 1% programming I understood about 45-50% of what was happening in this video minus the technical lingo back fire back forth in your workflow thoughtprocess. we are living in an age that blows my mind every single day.
Motivation to keep going is the hardest thing. You could build anything before CHATGPT.
I am a java tech lead . I also use chat gpt , perplexity etc on a daily basis .have you ever tried to generate a complex project like airline traffic control using chat gpt 😂😂😂
very good ;thanks
First comment!! You have great videos man
@DavidOndrej
6 ай бұрын
Hey, thanks!
My exact approach as well
So is possible to build usable app ideas to scale to various industries? Transportation/restaurants & such?
Please make a video on making mobile apps using AI tools, thanks.
@ajarivas72
6 ай бұрын
Please make a video of how to use ChatGPT to control the lights of the house and interact with Alexa.
@DavidOndrej
6 ай бұрын
I probably will make a video like that soon ;)
@hydoffdhagaweyne1037
6 ай бұрын
@@DavidOndrej omg! Please, do it. That video will go viral.
@Rex88282
5 ай бұрын
Please make a video how to create a backend and then show me the bills coming
how your vs code knows what will you do? does it work with chat gpt? which extension did you use in vs code?
how do you do to get get code written by itself? with the Chat gpt upgrade is enough?thanks again
The problem with using ChatGPT as a beginner, is that it will spit out buggy and inefficient code. You still need to know what you are doing.
@circulartext
5 ай бұрын
true but once you get past the bugs its pretty easy to navigate its capabilities
@jenot7164
5 ай бұрын
@@circulartext I agree, copilot and ChatGPT is perfect for boilerplate code.
@shafialanower3820
4 ай бұрын
@@jenot7164so do you use chat gpt for to learn programming? Do you give it multiple prompts?
dekuju za video :)
I have extremely basic python knowledge and this year ive made two Power BI dashboards using gpt. The one I made for work had everyone impressed 😂
@YousefHaidary
4 ай бұрын
You can make power BI dashboard with Python?
Can I create a website using GPT where I can upload my stories chapter by chapter for readers?
I am a java tech lead . I also use chat gpt , perplexity etc on a daily basis .have you ever tried to generate a complex project like airline traffic control using chat gpt
Thank you👊
@Jason-xb2ri
4 ай бұрын
I appreciate your unedited video and your train of thought! 👍
As a veteran IT guy all I can say is be very careful what you wish for in automated coding because you will have to maintain the spaghetti mess. I predict that the maintenance costs will far outweigh the benefits of generated and poorly commented code.
3:53 it worked. I did subscribe ;)
i just came across to your channel, its superb. and i totally agree with you, im doing a project right now building chatbot with chatgpt, can you help me out or make another content regard to it. thank you
70 lines in 1.24h for program simple like that. That's crazy.
great, thanks
I'm using it and when the code in Laravel. Yeah, sometimes I'm lucky but sometimes the Ai can't even fix simple bootstrap issues!
All the real devs laughing in the corner.
@0xAA55
4 ай бұрын
Right?
@shreyashsaxena9748
2 ай бұрын
Been a dev for 6 years, I too use Gpt In a similar way to build from Tech stack I don't know
Which programs i need to download for programming or to do this ? :)
You forget to tell people that they still need to know the fundamentals of whatever programming language they're using
@DavidOndrej
6 ай бұрын
I think you don't need to know anything - ChatGPT can teach you all of that as you build the project. Simply decide to make something and start doing.
@bazio5592
6 ай бұрын
@@DavidOndrejSure 😂😂
@jenot7164
5 ай бұрын
@@DavidOndrejIt will work out fine until you reach a bug, which ChatGPT can’t solve for you. Then you need to start debugging on your own and if you don’t understand the fundamentals this process will be straining.
@TimothyNyota
5 ай бұрын
@@jenot7164Nope
@shafialanower3820
4 ай бұрын
@@jenot7164this is 100% true based on experience. It can’t solve bugs of complex problems with multiple layers especially
Hey man! I'm trying to create a web services client that will create soap requests. Soap requests will have three parameters. The first parameter is a static text. The second is a string which is unique for each request. The third is an encrypted string with a private key sha256. I have tried with charges but I'm really struggling. Can you help;
@circulartext
5 ай бұрын
you can really prompt gpt just about anything
Can it create for me a better version of blender 3d program and optimize it fully?
As an Offensive security specialist I find the ethical censorship on chat gpt super annoying when it comes to writing reverse shell scripts, have you been able to find any work around with the custom instructions?
3:52 Declare war on tradition ? Thats something hahaha
which software do you use for screen recording?
@DavidOndrej
6 ай бұрын
OBS
Sana all may co-pilot.
#### Summary David Ondrej discusses how to build various projects with ChatGPT and VS Code, emphasizing that programming with ChatGPT is easy and educational. He outlines the process of creating a Morse code translator project and provide insights into using custom instructions. #### Highlights - 🤖 David demonstrates how to create a Morse code translator project with ChatGPT and VS Code. - 🧑💻 He emphasizes the simplicity of programming with ChatGPT, even for beginners. - 📝 Custom instructions are used to guide the programming process effectively.
Paradni tutorial! :)
Did you heard about Cocaptain vscode extension?
lol I don't know about coding "literally anything"! chatgpt is super helpful but its completely stupid if you need to ask it something that it doesn't have piles of training data for. without the eyes of an experienced dev on nontrivial or novel tasks it writes code with major gaps in security, performance, etc. that is usually fundamentally broken.
What happens when technology becomes so easy to understand that there is no longer any need for comprehensive guides?🤯
can it install python on my machine so I can run whatever code it creates?
So wild that we can just screenshot code and GPT understands
@DavidOndrej
6 ай бұрын
yep, GPT-V is amazing
cool video)
Title: Build Anything with ChatGPT Video: Build anything using copilot