Sean Bix
Sean Bix
  • Видео 16
  • Просмотров 124 988
WebGL Text Rendering (Tutorial On Instancing)
Works the same in OpenGL 3 +.
Basic text rendering implementation, sampling from a bitmap font
(nothing fancy, sorry, but I do mention SDFs).
Link to project: github.com/Bixkitts/relic-mercs-game
This is strictly WebGL 2, and not WebGL 1, which have big differences!
Thanks for visiting.
Просмотров: 474

Видео

I Rewrote A Powershell Script In C (It Was Faster To Write)
Просмотров 2,3 тыс.5 месяцев назад
This is mostly just a fond recollection of my incompetence, but the part about many Cmdlets being 1:1 with WinAPI function calls is legit. Hence, the equivalent C code to rewrite a lot of Powershell scripts could end up being barely even longer, especially with ready made custom abstractions. How's your relationship with Powershell, or simply working as a Windows sysadmin been? Thanks for visit...
I Wrote Websockets "From Scratch"
Просмотров 24 тыс.5 месяцев назад
Real-time, bi-directional TCP in the browser. I explain how Websocket protocol works down to every byte, and show it in action. Note this is HTTP 1.1, but should be similar enough for HTTP 2 and 3. I also mention TLS/SSL! Project Link: github.com/Bixkitts/relic-mercs-game Docs: developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers HTTP & OSI Video I Made Prior: rucli...
I Wrote HTTP "From Scratch" (It Was Easy)
Просмотров 89 тыс.5 месяцев назад
Link to the project: github.com/Bixkitts/relic-mercs-game (It's a multiplayer browser game) Link to newb-friendly article: developer.mozilla.org/en-US/docs/Web/HTTP/Overview Link to actual HTTP 1.1 standard: www.rfc-editor.org/rfc/rfc2616 Note: I wrote HTTP 1.1, not 2 or 3 or even TCP/IP itself. BUT this does include TLS/SSL. Blocked nose today, sorry. I'm happy to answer any questions in the c...
Pi Pico SDK/Cross Compile Solve Missing Header Issues (vim/vscode + cmake)
Просмотров 498Год назад
I (bumbling beginner) set up the Pico SDK and ARM cross compiler following the instructions on Github and was left with missing header issues. Perhaps I did something wrong or unorthodox, but I solved it by telling my language server exactly where the header files reside! This probably applies to most custom IDEs or cross compilation builds. Same issue happened to me with VScode.
Simulate Any Circuit! - Windows/Linux 2023
Просмотров 3,6 тыс.Год назад
I've recently started getting into electronics by building a sound synthesizer and had some frustrations figuring out how to simulate things on PC, so I've made a video of how I've gotten it to work (using arbitrary schematic symbols!). This is a useful tool as a beginner to test and learn circuits without an oscilloscope or blowing stuff up, or while on the move with a laptop. All the steps I'...
Lilo rolls over
Просмотров 3344 года назад
Lilo rolls over

Комментарии

  • @hammadhassan167
    @hammadhassan167 11 часов назад

    can you share the code link?

  • @aaa.362
    @aaa.362 21 час назад

    Thanks man!

  • @jeffsad8391
    @jeffsad8391 16 дней назад

    Is good python like to build a mini compiler?

    • @seanbix5366
      @seanbix5366 15 дней назад

      @@jeffsad8391 Perhaps! Depends on the final application

    • @jeffsad8391
      @jeffsad8391 15 дней назад

      @seanbix5366 ok but can I create like other tools?

    • @seanbix5366
      @seanbix5366 15 дней назад

      @@jeffsad8391 Well yeah, of course. You can likely build most of the things you want with python. Compilers, servers, interpreters, whatever. Depending on the available libraries, it'll be harder or easier, and some performance critical applications may not be feasible but most things yes.

  • @mrl9418
    @mrl9418 20 дней назад

    This channel is revolutionizing the cosmetics industry. Change my mind

    • @seanbix5366
      @seanbix5366 20 дней назад

      And I'm yet to get a sponsorship from them :v

  • @panchcw
    @panchcw 25 дней назад

    I really love the channel's cover page that says "Makeup Tutorial." It has inspired me to try creating something similar on my own. I'm looking forward to seeing more great content like this in the future!

  • @cryptoeraser5439
    @cryptoeraser5439 2 месяца назад

    Amazing stuff, a video about implementing a websockets (wss) client in C would be very helpful.

    • @seanbix5366
      @seanbix5366 2 месяца назад

      You can follow the same linked docs to make a client! But then again, the only use that comes to my mind is to connect to an existing web browser... If I were building the client then I could just use TCP/UDP directly!

  • @JARPON
    @JARPON 2 месяца назад

    Love this! I want to dive deeper in the programming/scripting pool. C seems like a big step from powershell, but you show here in some cases not so much!

  • @jeffsad8391
    @jeffsad8391 2 месяца назад

    I have a question:is good c++ or python for begginners?

    • @seanbix5366
      @seanbix5366 2 месяца назад

      @@jeffsad8391 I made the mistake of starting with C++. Useful language but bad for learning imo. Python is good to become productive quickly, but plain C has been the most fun for learning for me. Knowing memory management well is key to avoiding stress when learning programming concepts imo.

    • @jeffsad8391
      @jeffsad8391 2 месяца назад

      @@seanbix5366 is good like moving from python to c++?

    • @jeffsad8391
      @jeffsad8391 2 месяца назад

      @@seanbix5366 but is good like to move from python to c++?

  • @timemanager3239
    @timemanager3239 2 месяца назад

    Goat

  • @WomboBraker
    @WomboBraker 3 месяца назад

    ok ok at 2:30 coup de grace, i subscribed gj

    • @seanbix5366
      @seanbix5366 3 месяца назад

      Thank you, more stuff on the way

  • @AngelsFishingRod
    @AngelsFishingRod 3 месяца назад

    Taking Fundamentals of Data Comm rn and this video is so goated to actually understanding the shit im learning

  • @Gersberms
    @Gersberms 3 месяца назад

    Thanks for saying TCP/IP doesn't follow the OSI model. So many people get this wrong!

    • @seanbix5366
      @seanbix5366 3 месяца назад

      @@Gersberms I was taught in school that TCP+IP+HTTP = OSI but saw in books that its distinct!

  • @JustLennyBenny
    @JustLennyBenny 3 месяца назад

    40 year old protocol "easy" ...ye no shit sherlock. lol

  • @kofiboateng6152
    @kofiboateng6152 3 месяца назад

    How do you know all this stuff. Can you be my mentor...?🤒

  • @shiyunze7157
    @shiyunze7157 3 месяца назад

    gold

  • @davidrieger3160
    @davidrieger3160 4 месяца назад

    Dude this is such a good video. I hope you are a uni professor. Would love to see an implementation of TCP as well

  • @xtedixus
    @xtedixus 4 месяца назад

    Thanks, this helped me alot 👍👍👍👍👍👍👍

  • @TomZeta-ik8tb
    @TomZeta-ik8tb 4 месяца назад

    same bro

  • @truthybyte
    @truthybyte 4 месяца назад

    HTTP: ☺ HTTPS: 💀

  • @ROBOTRIX_eu
    @ROBOTRIX_eu 4 месяца назад

  • @androu-f3b
    @androu-f3b 4 месяца назад

    Nice video and very clear explanation! For some reason I thought http is much more complicated. One question I have, is there a specific reason you search for "GET /" in the request and not just "GET"?

    • @seanbix5366
      @seanbix5366 4 месяца назад

      @@androu-f3b Because here I'm checking if the client is specifically getting "/", the root directory. Its the GET request the server receives when they (the client) just type in " IP_ADDRESS/". Its rudimentary but eh it works. Otherwise it's "GET /SPECIFIC_RESOURCE". Thank you!

  • @floating_ghost
    @floating_ghost 4 месяца назад

    Subscribed!!! Expecting more videos. Thanks for the content.

  • @gatogordo4131
    @gatogordo4131 4 месяца назад

    I'm a fraud as a programmer, that's a real pro

    • @seanbix5366
      @seanbix5366 4 месяца назад

      Oh no, I'm very much just a guy. You'll ask me what an abstract factory is and I'll say "sorry I don't listen to stoner rock". Go spend a few days writing some C or ASM, read some books, convene with the machine spirits, and you'll be way ahead of me for sure if you weren't already!

  • @michelhertwig
    @michelhertwig 4 месяца назад

    very good video! please go on with your important and solid work. good job! very good!

  • @ahmadgazzz
    @ahmadgazzz 4 месяца назад

    This is awesome, but i kept getting thrown off because of the audio

  • @kanha12297
    @kanha12297 4 месяца назад

    Very informative video ❤ loved every bit of it

  • @kamertonaudiophileplayer847
    @kamertonaudiophileplayer847 4 месяца назад

    Cool, thank you.

  • @elgs1980
    @elgs1980 4 месяца назад

    What can be more satisfying!

  • @s14vc
    @s14vc 4 месяца назад

    How did you were able to actually implement the theory of networks? I just saw a course in college about OSI model but it was almost entirely theorical, what did you have to learn?

    • @seanbix5366
      @seanbix5366 4 месяца назад

      TCP/IP is typically implemented as a part of the OS kernel. If you're not using an OS, e.g. in embedded (very very cheap) systems, software libraries will implement the lower level protocols for you (up to level 4 is common). Here, I've used the TCP/IP implementation in Linux ("Berkeley Sockets API") to implement HTTP (although I could have used a library for that too). TL;DR: I didn't!

  • @felixkuhlmann9985
    @felixkuhlmann9985 4 месяца назад

    Very concise and thorough introduction to the application of those theoretical ideas and protocols, most college classes lack this practical approach. Thank you!

  • @xcelestialdemon8245
    @xcelestialdemon8245 4 месяца назад

    Every time you said "haych" and angel lost its wings

    • @seanbix5366
      @seanbix5366 4 месяца назад

      You couldn't fathom the width of the brush I sweep them up with.

  • @Awwe12675
    @Awwe12675 5 месяцев назад

    Zoom

  • @metcaelfe
    @metcaelfe 5 месяцев назад

    The reverb and robotic drone in your audio adds to the experience of this content!

  • @artaxerxes360
    @artaxerxes360 5 месяцев назад

    For a need like me this is treasure.

  • @energy-tunes
    @energy-tunes 5 месяцев назад

    how long did this take you? is the original spec long?

    • @seanbix5366
      @seanbix5366 5 месяцев назад

      @@energy-tunes original spec is linked. I implemented a working subset I needed in like 2-3 coding sessions. The hardest part was probably MIME types and understanding + writing CORS. What took longer was just making a useful interface to the Linux socket API...

  • @petertriller8343
    @petertriller8343 5 месяцев назад

    http is so easy, and that is why I hate http2 and http3. they ruin the elegance of http/1.1

  • @Airknightangel
    @Airknightangel 5 месяцев назад

    That is great content mr Bix. Keep it up!

  • @TodorTsankov-vz3sd
    @TodorTsankov-vz3sd 5 месяцев назад

    writing HTTP 😇 vs TCP 👹

  • @vadimemelin2941
    @vadimemelin2941 5 месяцев назад

    As a C# engineer I genuinely laughed at "Aha, aha, aha... It would appear that Mr. Gates has blessed my terminal with OOP, but hey at least .NET is cross platform." 🤣🤣🤣 MS documentation is surely dry as a bone.

    • @seanbix5366
      @seanbix5366 5 месяцев назад

      Low-level comment; needs abstraction!

    • @seanbix5366
      @seanbix5366 5 месяцев назад

      But yeah, fr

  • @MadMatty72
    @MadMatty72 5 месяцев назад

    La-mans talk, live it

  • @Alfred-Neuman
    @Alfred-Neuman 5 месяцев назад

    Next step is to write HTML from scratch, and then Javascript... Good luck! 😀👍

  • @blvckbytes7329
    @blvckbytes7329 5 месяцев назад

    Thank you very much for encouraging me to roll my own websocket code! My situation is that I am working on embedded devices, where I connect to the internet over either WiFi or Ethernet, and use chips like the ESP8266 or the ATmega328P, and need realtime communication to accept commands and synchronize state between multiple clients via events. Various existing libraries are an overly complicated mess of multiple layers of abstraction, next to hundreds of preprocessor macros, due to all kinds of hardware permutations - needless clutter, and heavy use of the std-lib. My little project will be up in no time, now that I can write application-specific code! :))

    • @seanbix5366
      @seanbix5366 5 месяцев назад

      @@blvckbytes7329 Right on! That _is_ how it do be. Do it, and thanks for watching! I was considering making a video about setting up the AVR compiler toolchain, and/or the arduino CLI, as I see professionals still using the Arduino IDE for chips like the ATmega328P (which I've specifically worked with recently!).

    • @blvckbytes7329
      @blvckbytes7329 5 месяцев назад

      @@seanbix5366 Right? I've read another comment of yours, where you said how people just use things without any understanding of their underlying working principles whatsoever; if society ever collapsed, only very few would know how to rebuild technology from scratch... Same goes for mathematics, but that's a whole other can of worms, ;). I'm just so disappointed at how needlessly complicated simple things became by now. All I want to do is to control a few I/O-lines using a browser via Ethernet, and I'm literally wrangling with dozens of libraries and build-errors since multiple hours. By now, I could've written the library myself, haha - which is what I am now doing! :) Would love to see that video about AVR programming. I am currently using PlatformIO, because it "just works" (most of the time, if VSCode isn't bug-riddled again). The Arduino "IDE" lacks too many critical features to get anything beyond a blinking LED done, at least IMHO.

  • @yobeidni
    @yobeidni 5 месяцев назад

    app used for whiteboarding?

  • @klevisimeri607
    @klevisimeri607 5 месяцев назад

    bro dropped a banger!

  • @federicomaio3705
    @federicomaio3705 5 месяцев назад

    fuck scripts, you need to be a crime scene narrator for national TG

  • @KangJangkrik
    @KangJangkrik 5 месяцев назад

    Now try SSL implementation and let's see if u can handle it

    • @seanbix5366
      @seanbix5366 5 месяцев назад

      Hah! Nice try, Sense Of Child-like Wonder! Unfortunately, I want to finish the project and get it working. SSL/TLS is a whole new can if worms for another time...

  • @impaglg
    @impaglg 5 месяцев назад

    Thank you for this video Sean! it really was eye opening.

  • @xorxpert
    @xorxpert 5 месяцев назад

    TCP/HTTP is easy, then I went too hell with WebSocket but I pulled through lol, but I hate those frames.

    • @seanbix5366
      @seanbix5366 5 месяцев назад

      @@xorxpert Nice! I have a websocket deepdive on this channel too- the variable length length encoding and payload masking were wicked, but worth it in the end!

    • @xorxpert
      @xorxpert 5 месяцев назад

      @@seanbix5366 It was mostly challenging for me at the time. I usually like to learn how things work for experience but mostly avoiding third party or standard libraries. Whilst working on a multiplayer game, I built my own websocket server & client in the process along with a protocol library, for handling sending packets efficiently properly writing/reading and parsing data (binary), while converting between respectable objects. latency was very important, all unmanaged code. Performance, speed, and efficiency was the focus. Per protocol standard for large payloads, you have to deal with splitting the data into frames, and you know TCP, you got to handle waiting and acknowledging packets - multi (safe) threaded 😅 Took me about a mouth until i was entirely finished it, though was fun and worth learning!

    • @seanbix5366
      @seanbix5366 5 месяцев назад

      @@xorxpert So far none of my websocket payloads are larger than a few dozen bytes... But I was under the impression that I could simply cram an arbitrary amount of data after a websocket header and TCP would eat it? I don't remember, need to look at the code! I fetch all the BIG data with http from JS anyways.... Good work! I couldn't even find a simple websocket library anyways.

  • @mychromebook9935
    @mychromebook9935 5 месяцев назад

    cmdlet, my mind reads it as, "command let" cmd prompt "command prompt"

  • @brookierashele
    @brookierashele 5 месяцев назад

    This is awesome! ❤