*INSANE* 4 Wild Coding Examples! (using ChatGPT o1)

Productive Dude • September 21, 2024
Video Thumbnail
Productive Dude Logo

Productive Dude

@productivedude

About

The best resource on youtube for Notion, N8N, Claude Code and more. Learn everything you need to be more productive in the no-code era and build your second brain, and Ai workflows!

Video Description

🔥 Join Ai Foundations: https://swiy.co/aif-1 In today's video we begin our journey of coding with ChatGPT o1-preview. Their latest release. I showcase how to code games, how to code websites and so much more! This video serves as a showcase of all the new things you can build using o1 and o1-mini for coding. OpenAi has done it again. They've managed to blow EVERYONE away. Enjoy this walkthrough and if you need more help coding with Ai I recommend checking out my other videos on coding with ai where I go more in depth on the specifics of running your programs, using VS Code and Cursor. Background Generator: https://codepen.io/cartersurach/pen/WNVeWOM Python Code Line Numbering Tool: ''' import tkinter as tk from tkinter import scrolledtext def add_line_numbers(): code = input_text.get("1.0", tk.END) lines = code.rstrip().split('\n') total_lines = len(lines) line_number_width = len(str(total_lines)) numbered_lines = [] for idx, line in enumerate(lines, start=1): line_number = str(idx).rjust(line_number_width) numbered_line = f"{line_number} {line}" numbered_lines.append(numbered_line) output_code = '\n'.join(numbered_lines) output_text.delete("1.0", tk.END) output_text.insert(tk.END, output_code) # Create the main window root = tk.Tk() root.title("Code Line Numbering App") # Create the input Text widget input_label = tk.Label(root, text="Input Code:") input_label.pack() input_text = scrolledtext.ScrolledText(root, height=15, width=80) input_text.pack() # Create the button to add line numbers button = tk.Button(root, text="Add Line Numbers", command=add_line_numbers) button.pack(pady=10) # Create the output Text widget output_label = tk.Label(root, text="Output Code with Line Numbers:") output_label.pack() output_text = scrolledtext.ScrolledText(root, height=15, width=80) output_text.pack() # Run the main loop root.mainloop() '''' Chapters Intro - 0:00 - 0:22 Games - 0:23 - 1:22 Dot Grid Generation - 1:23 - 4:23 Promo Ai Foundations - 4:24 - 5:19 Simulations - 5:20 - 7:06 Python Tools - 7:07 - 9:20 Outro - 7:21 - 9:48 #chatgpt #openai #o1

Code Smarter with These Must-Haves

AI-recommended products based on this video

Loading...
Magnetic Nasal Strips Starter Kit: Comfortable Nasal Breathing Support for Sleep, Helps Reduce Snoring Noise, Includes 60 Tabs (30 Uses) with 4 Sizes

Magnetic Nasal Strips Starter Kit: Comfortable Nasal Breathing Support for Sleep, Helps Reduce Snoring Noise, Includes 60 Tabs (30 Uses) with 4 Sizes

(40)
$17.99
FREE delivery Wed, Mar 18 on your first orderOnly 7 left in stock.
1K+ bought in past month
Loading...
Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

(786)
$69.15$33.51
FREE delivery Jun 13 - 17
Loading...
Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

(0)
$30.99
FREE delivery Jun 19 - Jul 3
Loading...
Bonsai Starter Kit – 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters – Gardening Gifts for Women & Men
Best Seller

Bonsai Starter Kit – 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters – Gardening Gifts for Women & Men

(243)
$19.99
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month
Loading...
Monster N-Lite 211 Wireless Earbuds Bluetooth 6.0 Stereo Headphones with Noise-Cancelling Mic and LED Display, Built-in Mic for Clear Calls, Waterproof Design for Sports

Monster N-Lite 211 Wireless Earbuds Bluetooth 6.0 Stereo Headphones with Noise-Cancelling Mic and LED Display, Built-in Mic for Clear Calls, Waterproof Design for Sports

(8)
$39.99
FREE delivery Tue, Nov 4
Loading...
Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Powerful Bass, Built-in Noise-Cancelling Mic for Clear Calls, LED Display, 36H Playtime, IPX5 Waterproof Design for Sports

Monster N-Lite 211 Wireless Earbuds, Bluetooth 6.0 Stereo Headphones with Powerful Bass, Built-in Noise-Cancelling Mic for Clear Calls, LED Display, 36H Playtime, IPX5 Waterproof Design for Sports

(40)
$39.99
FREE delivery Thu, Nov 13
Loading...
MSI MAG MT201D - Premium Heavy Duty Dual Monitor Stand Arms, 17-45" Support, VESA Compatible, Adjustable Spring Mount, 44 lbs per Screen, Clamp & Grommet, Quick Release Plate - Black

MSI MAG MT201D - Premium Heavy Duty Dual Monitor Stand Arms, 17-45" Support, VESA Compatible, Adjustable Spring Mount, 44 lbs per Screen, Clamp & Grommet, Quick Release Plate - Black

(168)
$124.99
FREE delivery Wed, Jan 14
50+ bought in past month
Loading...
Lemorele Docking Station Dual Monitor, 6 in 1 USB C Hub Multiport Adapter w/2 HDMI 4K, 5Gbps USB3.0 & 2 USB2.0, 100W PD Charging - USB C Dock for Laptop Dell/HP/MacBook/Surface - Plug and Play
Best Seller

Lemorele Docking Station Dual Monitor, 6 in 1 USB C Hub Multiport Adapter w/2 HDMI 4K, 5Gbps USB3.0 & 2 USB2.0, 100W PD Charging - USB C Dock for Laptop Dell/HP/MacBook/Surface - Plug and Play

(1,822)
$27.19
Prime
1K+ bought in past month
Loading...
USB C Docking Station Dual Monitor for Dell Hp,15-in-1 Laptop Docking Station 3 Monitors USB C Hub with Dual 4K HDMI,8K DP,Button,PD Charging,Ethernet,6 USB A&C,SD/TF, Audio USB-C Multiport Adapter

USB C Docking Station Dual Monitor for Dell Hp,15-in-1 Laptop Docking Station 3 Monitors USB C Hub with Dual 4K HDMI,8K DP,Button,PD Charging,Ethernet,6 USB A&C,SD/TF, Audio USB-C Multiport Adapter

(1,359)
$67.98
FREE delivery Sun, Aug 24
100+ bought in past month
Loading...
InnoView Laptop Screen Extender 15.6" Dual Portable Monitors 1080P FHD Stacked Folding Triple Monitor HDMI USB-C Portable Dual Monitor for Laptop Windows Mac (No Driver Needed)

InnoView Laptop Screen Extender 15.6" Dual Portable Monitors 1080P FHD Stacked Folding Triple Monitor HDMI USB-C Portable Dual Monitor for Laptop Windows Mac (No Driver Needed)

(605)
$379.99
FREE delivery Mon, Aug 11
Loading...
Hi.FANCY Portable Laptop Stand with Dual Cooling Fans for 14-17inch Laptops, Grey, 23.5 x 25.9 x 0.95cm

Hi.FANCY Portable Laptop Stand with Dual Cooling Fans for 14-17inch Laptops, Grey, 23.5 x 25.9 x 0.95cm

(0)
$36.99
FREE delivery Aug 18 - 28
Loading...
23.8" Portable Monitor for Laptop 100HZ-Portable Screen 100% SRGB IPS for Gaming & Work USB-C HDMI Second Monitor Portable with 180°Adjustable Stand for Laptop Mac Window PS5

23.8" Portable Monitor for Laptop 100HZ-Portable Screen 100% SRGB IPS for Gaming & Work USB-C HDMI Second Monitor Portable with 180°Adjustable Stand for Laptop Mac Window PS5

(29)
$359.99
FREE delivery Tue, Aug 12
Loading...
Laptop Stand for Desk, Adjustable Laptop Riser ABS+Silicone Foldable Portable Laptop Holder, Ventilated Cooling Notebook Stand for 10-15.6” Laptops,Tablet-Black

Laptop Stand for Desk, Adjustable Laptop Riser ABS+Silicone Foldable Portable Laptop Holder, Ventilated Cooling Notebook Stand for 10-15.6” Laptops,Tablet-Black

(11,679)
$14.99
FREE delivery Sat, Jun 14 on your first order
500+ bought in past month
Loading...
Laptop Screen Extender, 14" FHD 1080P Triple Portable Screen Monitor for 13"-16.5" Laptop with Stand Dual Monitors Built-in Speakers, Monitor Extender for MacOS/Wins/Chrome/Dex

Laptop Screen Extender, 14" FHD 1080P Triple Portable Screen Monitor for 13"-16.5" Laptop with Stand Dual Monitors Built-in Speakers, Monitor Extender for MacOS/Wins/Chrome/Dex

(295)
$359.59
FREE delivery Sun, Aug 10
50+ bought in past month
Loading...
eufy Security Solo Indoor Cam C120, 2K Security Indoor Camera, Plug-in Camera with Wi-Fi, IP Camera, Human & Pet AI, Voice Assistant Compatibility, Night Vision, Two-Way Audio, HomeBase not Compatible

eufy Security Solo Indoor Cam C120, 2K Security Indoor Camera, Plug-in Camera with Wi-Fi, IP Camera, Human & Pet AI, Voice Assistant Compatibility, Night Vision, Two-Way Audio, HomeBase not Compatible

(9,150)
$44.99
FREE delivery Thu, Sep 4
100+ bought in past month
Loading...
eufy Security Indoor Cam E220, 2K, Pan & Tilt, Indoor Security Camera, Wi-Fi Plug-in Camera, Human & Pet AI, Voice Assistant Compatibility, Night Vision, Motion Tracking, HomeBase not Compatible

eufy Security Indoor Cam E220, 2K, Pan & Tilt, Indoor Security Camera, Wi-Fi Plug-in Camera, Human & Pet AI, Voice Assistant Compatibility, Night Vision, Motion Tracking, HomeBase not Compatible

(21,703)
$45.99
FREE delivery Thu, Sep 4
500+ bought in past month