- Видео 16
- Просмотров 124 988
Sean Bix
Добавлен 3 дек 2016
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.
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'...
can you share the code link?
Thanks man!
Is good python like to build a mini compiler?
@@jeffsad8391 Perhaps! Depends on the final application
@seanbix5366 ok but can I create like other tools?
@@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.
This channel is revolutionizing the cosmetics industry. Change my mind
And I'm yet to get a sponsorship from them :v
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!
Do it! Thanks!
Amazing stuff, a video about implementing a websockets (wss) client in C would be very helpful.
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!
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!
I have a question:is good c++ or python for begginners?
@@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.
@@seanbix5366 is good like moving from python to c++?
@@seanbix5366 but is good like to move from python to c++?
Goat
ok ok at 2:30 coup de grace, i subscribed gj
Thank you, more stuff on the way
Taking Fundamentals of Data Comm rn and this video is so goated to actually understanding the shit im learning
Thanks for saying TCP/IP doesn't follow the OSI model. So many people get this wrong!
@@Gersberms I was taught in school that TCP+IP+HTTP = OSI but saw in books that its distinct!
40 year old protocol "easy" ...ye no shit sherlock. lol
How do you know all this stuff. Can you be my mentor...?🤒
gold
Dude this is such a good video. I hope you are a uni professor. Would love to see an implementation of TCP as well
Thanks, this helped me alot 👍👍👍👍👍👍👍
same bro
HTTP: ☺ HTTPS: 💀
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"?
@@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!
Subscribed!!! Expecting more videos. Thanks for the content.
I'm a fraud as a programmer, that's a real pro
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!
very good video! please go on with your important and solid work. good job! very good!
i agree, very good! http is very nice bro
<3
This is awesome, but i kept getting thrown off because of the audio
Very informative video ❤ loved every bit of it
Cool, thank you.
What can be more satisfying!
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?
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!
Very concise and thorough introduction to the application of those theoretical ideas and protocols, most college classes lack this practical approach. Thank you!
Every time you said "haych" and angel lost its wings
You couldn't fathom the width of the brush I sweep them up with.
Zoom
The reverb and robotic drone in your audio adds to the experience of this content!
For a need like me this is treasure.
how long did this take you? is the original spec long?
@@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...
http is so easy, and that is why I hate http2 and http3. they ruin the elegance of http/1.1
That is great content mr Bix. Keep it up!
writing HTTP 😇 vs TCP 👹
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.
Low-level comment; needs abstraction!
But yeah, fr
La-mans talk, live it
Next step is to write HTML from scratch, and then Javascript... Good luck! 😀👍
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! :))
@@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!).
@@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.
app used for whiteboarding?
bro dropped a banger!
fuck scripts, you need to be a crime scene narrator for national TG
Now try SSL implementation and let's see if u can handle it
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...
Thank you for this video Sean! it really was eye opening.
TCP/HTTP is easy, then I went too hell with WebSocket but I pulled through lol, but I hate those frames.
@@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!
@@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!
@@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.
cmdlet, my mind reads it as, "command let" cmd prompt "command prompt"
Yes!
This is awesome! ❤