Unconventional Coding
Unconventional Coding
  • 148
  • 527 769
Adding Drift Physics to My 2D Racing Game (C + Raylib Racer Part 2)
In today's video I continue building my 2D racing game in C with Raylib by adding drift physics and skidmarks to it!
GitHub: github.com/unconv/racer
00:00 Intro
01:44 Plan
02:30 Code Walkthrough
05:08 Adding Drift Physics
24:37 Git Commit
25:13 Fixing car width / height
31:53 Adding skidmarks
1:00:28 Removing skidmarks over time
1:07:42 Outro
Переглядів: 481

Відео

Easy Web Scraping with AI (No CSS Selectors Needed!)
Переглядів 1,9 тис.3 місяці тому
Try AgentQL: www.agentql.com/?UA-cam&Creator&Unconv_102024 In today's video I show you how you can use AgentQL with Playwright to scrape products from online store with AI without having to use any CSS selectors or XPath expressions! Book a call with me: www.buymeacoffee.com/unconv/e/146735 00:00 Intro 01:28 Scraping products from website 1 05:48 Scraping multiple pages 09:13 Closing popups 11:...
Python Tkinter GPT-4 Vision AI Assistant (that can see your screen!)
Переглядів 1,6 тис.4 місяці тому
In this video I build a GPT-4 Vision powered AI assistant with Python's Tkinter library that can see what you're doing on your computer! But can it exit Vim? Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/membership 00:00 Intro 01:07 Create the input box 14:01 Bind the input box to F9 18:22 Connecting to GPT-4 Vision...
Securing My PHP Project Before I Get Hacked | Switching to UUIDs in ChatWTF
Переглядів 3244 місяці тому
In today's video I secure my ChatWTF ChatGPT clone project so that it's ready for deployment! ChatWTF: www.chatwtf.com GitHub: github.com/unconv/chat-wtf Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/membership 00:00 Intro 01:32 Moving DocumentRoot to "public" 03:16 Fixing speech mode 07:13 Explaining CodeInterprete...
How To Web Scrape with Python (even sites that block you!)
Переглядів 6 тис.4 місяці тому
In this video I show you two ways for scraping websites using Python. I cover the Requests library, Playwright and how to set a custom user agent. I also show two ways of parsing HTML data: the "king of splits" method and the BeautifulSoup method Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/membership 00:00 Fetchin...
How to Publish Your Python Project on PyPI
Переглядів 2884 місяці тому
In today's video I publish my Captacity project on PyPI (Python Package Index) GitHub: github.com/unconv/captacity Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/membership 00:00 Intro 01:25 Making package Git-installable 15:54 Fixing font issue 10:30 Where to put assets 23:41 Publishing the project on PyPI
2 Hours of Intense Python Coding with MoviePy and Pillow
Переглядів 1,2 тис.4 місяці тому
In today's coding session I add support for highlighting the current word in my Captacity UA-cam short caption generator. GitHub: github.com/unconv/captacity Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/membership 0:00:00 Intro 0:00:41 Create a YT short 0:01:49 Add captions to short 0:04:25 Creating text character ...
Building a Login System in PHP + MySQL (with Sessions)
Переглядів 3574 місяці тому
In today's video I create a simple login system in PHP using MySQL (PDO), Sessions and the password_hash and password_verify functions of PHP. GitHub: github.com/unconv/php-login-system Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/membership 00:00 Creating the database 03:00 Adding a user to the database 13:05 Auth...
How Do You Stream While Function Calling in ChatGPT API?
Переглядів 4125 місяців тому
In today's video I integrate function calling while streaming into my ChatGPT library for PHP. Library: github.com/unconv/php-gpt-funcs ChatWTF: github.com/unconv/chat-wtf Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/membership 00:00 Intro 04:55 Code walkthrough 10:37 Fix regular streaming 13:45 Streaming function ...
Food Court Cash Card System in PHP Part 2: Accepting Payments
Переглядів 2295 місяців тому
In today's video I continue working on my food court cash card system in PHP GitHub: github.com/unconv/cardi Part 1: ua-cam.com/video/F5cSfca8tFo/v-deo.html Part 2: ua-cam.com/video/5lMn8uV2puI/v-deo.html (this video) Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/membership
Food Court Cashless RFID Card Payment System in PHP (No Framework) (Part 1)
Переглядів 7545 місяців тому
In today's video I start creating a cashless card payment system for food courts in PHP, from scratch without a framework. GitHub: github.com/unconv/cardi Part 1: ua-cam.com/video/F5cSfca8tFo/v-deo.html (this video) Part 2: ua-cam.com/video/5lMn8uV2puI/v-deo.html Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/members...
Puzzle Game in C with Raylib
Переглядів 4397 місяців тому
In today's video I create a puzzle game in C with Raylib with my limited C knowledge. GitHub: github.com/unconv/puzzler Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/membership 00:00 Intro 00:27 Hello World in C 01:19 Hello World in Raylib 03:35 Drawing an image with Raylib 06:06 Resizing and centering an image with...
MoviePy is an Awesome Python Library for Automatic Video Editing!
Переглядів 8 тис.7 місяців тому
Today I integrate MoviePy to my Captacity AI UA-cam short caption generator for better styled captions. GitHub: github.com/unconv/captacity Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/membership 00:00 Intro & Recap 06:32 Start coding
AI-Powered ASCII Art Generator in Python | Images to ASCII Art Converter
Переглядів 9748 місяців тому
In today's video I create an image to ASCII art converter in Python and connect it to the DALL-E 3 API so that you can generate ASCII art with AI GitHub: github.com/unconv/asskey Support: buymeacoffee.com/unconv Consultations: www.buymeacoffee.com/unconv/e/146735 Memberships: www.buymeacoffee.com/unconv/membership 00:00 Intro 00:55 Converting images to ASCII art with Python 10:00 Saving ASCII a...
Shortrocity EP6: Styling Captions Better with MoviePy
Переглядів 1,9 тис.8 місяців тому
Shortrocity EP6: Styling Captions Better with MoviePy
Deploying a Flask Web App on AWS EC2 (Gunicorn + Apache w/ SSL Certificate)
Переглядів 3,1 тис.8 місяців тому
Deploying a Flask Web App on AWS EC2 (Gunicorn Apache w/ SSL Certificate)
Python + GPT-4o + Flask = AI Meal Calorie Detector (GPT-4 Vision API)
Переглядів 4 тис.8 місяців тому
Python GPT-4o Flask = AI Meal Calorie Detector (GPT-4 Vision API)
Movie Suggester w/ Embeddings | OpenAI Embeddings Beginner Walkthrough in Python
Переглядів 6088 місяців тому
Movie Suggester w/ Embeddings | OpenAI Embeddings Beginner Walkthrough in Python
Learning GameDev with Raylib in C: 2D Racing Game - Part 1
Переглядів 5 тис.9 місяців тому
Learning GameDev with Raylib in C: 2D Racing Game - Part 1
Shortrocity EP5: Parsing Whisper Segments Better
Переглядів 8229 місяців тому
Shortrocity EP5: Parsing Whisper Segments Better
Shortrocity EP4: Syncing Captions to Audio with Whisper
Переглядів 1 тис.11 місяців тому
Shortrocity EP4: Syncing Captions to Audio with Whisper
Adding NPCs to my C Raylib Game | First Game in C Part 3
Переглядів 1,2 тис.11 місяців тому
Adding NPCs to my C Raylib Game | First Game in C Part 3
My Tool Will Be Better Than Gmail's Smart Compose | Autocomplete w/ ChatGPT
Переглядів 64911 місяців тому
My Tool Will Be Better Than Gmail's Smart Compose | Autocomplete w/ ChatGPT
Letting ChatGPT Answer My Emails with Python Gmail API
Переглядів 1,8 тис.11 місяців тому
Letting ChatGPT Answer My Emails with Python Gmail API
Reverse Engineering Gmail's Autocomplete Feature
Переглядів 47711 місяців тому
Reverse Engineering Gmail's Autocomplete Feature
Python is low-class. Switching to TypeScript
Переглядів 1,5 тис.Рік тому
Python is low-class. Switching to TypeScript
Shortrocity EP3: Overlaying Transcript on the Video
Переглядів 3 тис.Рік тому
Shortrocity EP3: Overlaying Transcript on the Video
Shortrocity EP2: Creating Video Slideshow with OpenCV
Переглядів 3,9 тис.Рік тому
Shortrocity EP2: Creating Video Slideshow with OpenCV
I Built a Talking Santa Claus GPT (with Speech Recognition)
Переглядів 2,1 тис.Рік тому
I Built a Talking Santa Claus GPT (with Speech Recognition)
Shortrocity EP1: Making an AI YouTube Short Generator in Python
Переглядів 8 тис.Рік тому
Shortrocity EP1: Making an AI UA-cam Short Generator in Python

КОМЕНТАРІ

  • @kevinrauer
    @kevinrauer 23 години тому

    Amazing tutorial thank you..

  • @techwithkl
    @techwithkl День тому

    How about a Deepseek based with MySql, php, js

  • @punditjudgement
    @punditjudgement 2 дні тому

    So basically, you are teaching people how to over saturate UA-cam with loads of AI generated slop drowning out real people who are real artists and creators in favor of some algorithmic or intentionally dishonest content. Fuck you.

  • @oliverwiggins5134
    @oliverwiggins5134 2 дні тому

    Seriously interesting stuff here. Would it be possible to use HasData for page scraping similarly with AI?

  • @stalkershano
    @stalkershano 7 днів тому

    Awesome, continue this series but not 9 month apart 😁👏🏼👏🏼👏🏼

  • @billybofh2363
    @billybofh2363 10 днів тому

    Yay! That was fun! Though if you don't make a 'build and run' shortcut soon my nervous twitch will get out of hand ;-) Also occurred to me during the 'debug the car tyre position' that with a little bit more wonky maths it would make a quite nice 'attack drone' following the car.

  • @mylesmontclair
    @mylesmontclair 11 днів тому

    Thanks for making another vid for this series! It's definitely helping me learn game development. Appreciate you!

  • @liukang81
    @liukang81 11 днів тому

    You can draw rect for the drift mark is better thanuse circle draw ! You could add alpha for fading the drift mark also!

    • @unconv
      @unconv 11 днів тому

      I guess that makes sense now that you mentioned it.. as long as I rotate the rectangles properly. But actually I want a continuous streak, not spots.

  • @ae.crypto
    @ae.crypto 20 днів тому

    Awesome video, what model/approach would you use today since AI agents are a thing now for example.. It's overwhelming to navigate in the AI space in general and predict what approaches/models/tools will be standardized

  • @Jbralakc-q1y
    @Jbralakc-q1y 21 день тому

    make more videos in c please i enjoy them and i learn from them ;D

  • @jonathancalderon6769
    @jonathancalderon6769 21 день тому

    Amazing! Where are you creating those plug ins? Directly in wordpress?

    • @unconv
      @unconv 12 днів тому

      I've installed WordPress locally and I'm working directly in the plugin directory in VSCode

  • @JoshuaNavas-j8o
    @JoshuaNavas-j8o 21 день тому

    Have you gotten a chance to update the captacity and shortrocity repositories on GitHub yet? I am eager to see it, unless I'm mistaken lol

  • @CuriosityZap
    @CuriosityZap 27 днів тому

    This is so cool! How would I add a music background to the short that fades in and out? I can be the same song everytime.

  • @bilaltraveller2128
    @bilaltraveller2128 Місяць тому

    Such a great video, thanks for that ❤❤❤

  • @ToDelete-ts6ji
    @ToDelete-ts6ji Місяць тому

    Bro turn my 3am thoughts into reality, i learned cpp for 5 months bit lazy and thinks like how can i create something fast like others in college doing 😂😂

  • @Napalmcpt
    @Napalmcpt Місяць тому

    Nice tutorial! Are you from Finland?

  • @GrandSlayer101
    @GrandSlayer101 Місяць тому

    Man you're clever thank you for your help

  • @debrucey
    @debrucey Місяць тому

    Thank you so much for not using teeny tiny font size

  • @homepander
    @homepander Місяць тому

    new subscriber. Please make a video for python automotion

    • @unconv
      @unconv Місяць тому

      Thanks! Any specific thing you want to automate?

    • @homepander
      @homepander Місяць тому

      @unconv Pinterest Automotion

  • @commonguy7
    @commonguy7 Місяць тому

    i just dont understad how this great video gets so less views man!!youre fkin awesome. appreciate tyour good work!

  • @lesliedanki8096
    @lesliedanki8096 Місяць тому

    Thank you for this helpful video, I tried to follow the steps and downloaded your GitHub folder but for me , the camera keeps turning and no calorie output is given. Could you direct me to how to get the output please? Thanks for your answer

  • @Amanali-rl9hw
    @Amanali-rl9hw Місяць тому

    O1 now pls

  • @ishangoswami9462
    @ishangoswami9462 Місяць тому

    this really was a very nice video! thanks

  • @OZTutoh
    @OZTutoh 2 місяці тому

    0:10 How are you displaying the contents of that array? What is the content of the index.php file you are running here?

    • @unconv
      @unconv 2 місяці тому

      print_r($_SERVER);

    • @OZTutoh
      @OZTutoh 2 місяці тому

      @@unconv Thank you!

  • @abdulhadi8_
    @abdulhadi8_ 2 місяці тому

    part 2 ????????????????????????????????????????????????

    • @unconv
      @unconv 12 днів тому

      Part 2 just posted !!!!!!!!!!!!!!!!

  • @abdulhadi8_
    @abdulhadi8_ 2 місяці тому

    part 2 ????????????????????????????????????????????????

    • @jacobswiney9977
      @jacobswiney9977 Місяць тому

      It's up to you to make it happen, good luck!

    • @abdulhadi8_
      @abdulhadi8_ Місяць тому

      @@jacobswiney9977 if you can't complete any thing then just not start it

  • @abdulhadi8_
    @abdulhadi8_ 2 місяці тому

    part 2 ?????????????????????????????????????????????????

  • @AG-en5y
    @AG-en5y 2 місяці тому

    ❤❤❤

  • @bryanmills5517
    @bryanmills5517 2 місяці тому

    Jensen Huang was onto something when he said English will be the eventual programming language. Using an AI takes all the challenges out of it. I am 100% guilty of doing this, but sometimes the solutions are too "voodoo." I can understand my own solutions best because they are mine.

  • @novy857
    @novy857 2 місяці тому

    Does it really works? when i tried to implemnet openai API it didnt work at all telling me that it cannot read the images in base64 no matter the model i tried. And the response from gpt-4o model was that it cannot do it. What it looks like to me on tour video all the output of calories you are getting is not based on the image itself but on the actual description of it that the images from dalle contain. I am very disappointed

    • @unconv
      @unconv 2 місяці тому

      It definitely works. You need to send the image in a specific format via the API as you can see at 7:48. You don't just add the base64 encoded image in a regular message. The Dall-e generated description of the image is not sent to ChatGPT in this example, so it definitely sees the image. You can see the full working code from the GitHub link in the description.

  • @anonymous-ug8tg
    @anonymous-ug8tg 2 місяці тому

    You are amazing

  • @thomas-sinkala
    @thomas-sinkala 2 місяці тому

    Great video. I have a question, can you suggest a way to select dynamically generated element id using puppeteer and OpenAI?

  • @youneedspeed4773
    @youneedspeed4773 2 місяці тому

    wow your project is awesome. I tried to to this myself before i found your video but i didnt manage to get the timing of the subtitles right.

  • @DanielMunoz-mz5fq
    @DanielMunoz-mz5fq 2 місяці тому

    Is it possible to do it on a Windows machine? I have an auto-certificate with OpenSSL, but I don't know how to use it properly... do you know how I can do it? Thanks :D

  • @minhlongnguyen3161
    @minhlongnguyen3161 2 місяці тому

    lol, embed html into c++

  • @tinatiggrera
    @tinatiggrera 2 місяці тому

    Thank you so much! Loved the explanation and this code perfectly helped my use case!!

    • @unconv
      @unconv 2 місяці тому

      Awesome!

  • @NgynAn-dg3kp
    @NgynAn-dg3kp 2 місяці тому

    Not work with shopee, there are login page, otp and captcha to scrape product and if i catch the request hidden api it require a lot of cookie, please help me :(((

  • @billybofh2363
    @billybofh2363 2 місяці тому

    Look at you, with your fancy sponsorship! ❣

    • @unconv
      @unconv 2 місяці тому

      😎

  • @PrathyupA-j2i
    @PrathyupA-j2i 2 місяці тому

    Can we scrap the details from a paid page, provide I have the login id

  • @markomarjanovic8348
    @markomarjanovic8348 3 місяці тому

    First of all, you are a fantastic at explaining this, with no BS. Can you please advise on utilizing AgentQL with cloudflare protection?

  • @danielrlehmann
    @danielrlehmann 3 місяці тому

    What would happen to the logic if you hit a website with a cloudflare front? Can it bypass this?

  • @unconv
    @unconv 3 місяці тому

    You can try AgentQL at www.agentql.com

  • @moamer68
    @moamer68 3 місяці тому

    Good task but could you make text based video editing tool ... This will use subtitles to remove parts of the cideo

    • @reaganhay3157
      @reaganhay3157 15 днів тому

      good idea, I'm sure you could accomplish this by using an srt file as timeline reference points and then using those seconds to do clipping/trimming with moviepy or ffmpeg (moviepy was built with ffmpeg)

  • @yusufmalikul
    @yusufmalikul 3 місяці тому

    Thanks. Very great detailed video! For me in case somebody else have the same issue I need to include the math library: gcc -o game main.c -lraylib -lm

  • @jakasalways
    @jakasalways 3 місяці тому

    Awesome!

  • @oneke4498
    @oneke4498 3 місяці тому

    thank you so much

  • @cryptoshills
    @cryptoshills 3 місяці тому

    Stop manifesting to have a stroke 😂 … nice tut thanks!

  • @Pokalia1
    @Pokalia1 3 місяці тому

    Hello, your video helped me more than you can imagine, thanks a ton! btw i encountered a problem, CV2 has no support for special characters and unicode, so i installed pillow, now it work like a charm, since i'm Brazilian and we use "ç" and "~" in our language, thanks again!

  • @kryptaxesoftwaredevelopment
    @kryptaxesoftwaredevelopment 3 місяці тому

    no help at all. probable should have known the issues before posting

  • @MannyBernabe
    @MannyBernabe 3 місяці тому

    Neat. Thx for sharing.