Coding Graphics in C for Windows OS
53:29
19 сағат бұрын
Coding Snake in C | Final Ep. 3
50:54
19 сағат бұрын
Coding Snake in C | Graphics | Ep. 1
1:02:51
Coding a Prank GUI in C
1:14:01
21 күн бұрын
Coding Ray Tracing in C
1:56:48
Ай бұрын
Coding a Rotating 3D Cube in C
2:08:43
Coding a Windows Keylogger in C
1:16:29
Пікірлер
@human-hi3jt
@human-hi3jt 15 сағат бұрын
the convention you were mentioning is called hungarian notation :D
@cordestandoff2358
@cordestandoff2358 21 сағат бұрын
Your accent hears like Russian :D
@mrbobjrsrv
@mrbobjrsrv Күн бұрын
2:30 thank for helping us visualize the goal of your video/project. It really helped!
@spirou9515
@spirou9515 Күн бұрын
Your videos are awesome
@RafaelRoco-e9n
@RafaelRoco-e9n Күн бұрын
Nice
@mrpro7737
@mrpro7737 Күн бұрын
Create your own hashing function-it's fun! 😅 I tried it myself and faced plenty of debugging and challenges, but it was totally worth it.
@neetreviews2586
@neetreviews2586 Күн бұрын
Is it theoretically possible to reverse a hash function
@ricsi4368
@ricsi4368 Күн бұрын
assuming no information is lost and it's not salted
@HirschDaniel
@HirschDaniel Күн бұрын
usually no, it's not possible, except there's a pattern in the hash function that can be exploited. There's quite some literature on reversing MD5 hashes. But if I am not mistaken it always involves at least some bruteforcing
@nizar7126
@nizar7126 22 сағат бұрын
its not possible ( unlikely possible ) lets assume the hashing function returns a long unsigned int which is likely to be at least 4 bytes ( 32bits ) this hashing function generates a 32 bit ( at least ) value from any given string weither the string is a 256 byte sequence or 512 or even less ( 10 bytes ) in the case you hash lets say 256 bytes there's only going to be 4 bytes out of the 256 bytes on the unsigned integer value which means there's a 252 bytes loss that you cannot recover
@Varelinski
@Varelinski Күн бұрын
Love me some hashin'
@dirtydirt2482
@dirtydirt2482 Күн бұрын
That moment of research is epic. We all do that. All those who post the solution instead of just keeping it to themselves are heros.
@hg-u6w1b
@hg-u6w1b Күн бұрын
You are talented, using vim and linux. What is a great thing to watch ?
@lorddavo86
@lorddavo86 2 күн бұрын
I love to see programming in C...
@SuperLeloPower
@SuperLeloPower 2 күн бұрын
bro feel to be part of a big project?
@jamedev
@jamedev 2 күн бұрын
I believe you are drawing unnecessary pixels out side of the screen At 1:27:27 you implemented the WIDTH and HEIGHT of the Screen at line 72 and 74 instead of checking for WIDTH - ray.x_start and the same with height. Correct me if I am wrong, but that's what I thought.
@joshreubenbezuidenhout7153
@joshreubenbezuidenhout7153 2 күн бұрын
Basically it took 1 and a half hours to make a circle have some lines and move around… then eventually the other circle was interactive.. That’s pretty mush what happened
@dhvanilprajapati5497
@dhvanilprajapati5497 2 күн бұрын
I saw something like this in C for the very very first time and i am awestrucked broooo .... this is literally like so cool 🔥🔥🔥🔥🔥🔥
@Vulto166
@Vulto166 3 күн бұрын
Your approach is interesting. I was wondering how far can we go drawing points in a surface to create a "fake 3d". Yeah, fake in quotes because i consider everything on the screen as fake. In fact doesn't matter if you are using 2d surface to create a cube rotating or actually drawing a cube in a 3d space. What's really matter is what people perceive. And you hit the point with simplicity. Nice work!
@hoteny
@hoteny 3 күн бұрын
1:35:41 okay but the rays to the left shouldnt disappear. What went wrong? Radius squared?
@HirschDaniel
@HirschDaniel 3 күн бұрын
No, my code doesn't consider that rays should start at the circle's surface. Currently it acts as if rays originate in the center of the circle.
@hoteny
@hoteny 3 күн бұрын
@ i totally forgot about that part because i watch until my attention span says “enough”. Right. Sorry…
@lorddavo86
@lorddavo86 3 күн бұрын
Great video !!!
@The3dMaker
@The3dMaker 3 күн бұрын
You should color every pixel by computing (not drawing) a ray from its coords to light source, and then color the pixel after checking for an intersection of that ray with the scene. And if your scene just consist of circles you can calculate the closest distance from ray to sphere and get physicaly accurate shadows from that
@arc8218
@arc8218 3 күн бұрын
This video make me remember a guy who make a kernel, he also raw dogging C with vim, crazy. Definitely wizard of modern era
@Smiley_Frown
@Smiley_Frown 3 күн бұрын
SDL Documentation is better than C's itself lol. Better than most documentation tbh
@floating_ghost
@floating_ghost 4 күн бұрын
Subscribed!!
@hernanodi2877
@hernanodi2877 4 күн бұрын
How long have you been coding in C?
@HirschDaniel
@HirschDaniel 4 күн бұрын
At the time of recording this video 3 weeks max.
@EvilJosias
@EvilJosias 4 күн бұрын
I love watching this kinds of awesome videos, even tho I don´t know even basic coding haha
@Thiago-w4r
@Thiago-w4r 4 күн бұрын
nice content
@quantum_microscope
@quantum_microscope 4 күн бұрын
that is not a ray tracing
@bloodcrown_np8578
@bloodcrown_np8578 4 күн бұрын
maybe decreasing the rays_number to 100 could have shown proper blur to rays...
@r3dki679
@r3dki679 4 күн бұрын
For fun i made a library that simplifies the use of escape codes some time ago, i can tell that making tui and terminal graphics is really funny
@GurnoorSingh-vx2nq
@GurnoorSingh-vx2nq 4 күн бұрын
You are good at coding but not at math , your video helped me a lot to understand libraries and how to code , but I was screaming in the middle when you were taking too much time to understand circle math.
@Kamerzystanasyt
@Kamerzystanasyt 4 күн бұрын
how the fuck did bro misspell surface
@fanatik7527
@fanatik7527 5 күн бұрын
Technological degrading ... Now ordinary shadows are called - "Raytracing"
@devsuper
@devsuper 5 күн бұрын
"m" is the slope of the line, a slope of a line is equivalent to the tangent of the line with respect to x axis traditionally, if m is perpendicular to x axis, the line is parallel to the y axis (slope is infinite)
@CoFloCipher
@CoFloCipher 5 күн бұрын
Pretty fun experiment. The code is an absolute mess but it works :D. Good job.
@minhhoang-ir2hx
@minhhoang-ir2hx 6 күн бұрын
AI can't change bro
@enderjua
@enderjua 6 күн бұрын
thanks for movie
@007kowalski
@007kowalski 6 күн бұрын
Amazing content you have, It would be great if could organize it into playlists to follow along easily.
@GerbenWijnja
@GerbenWijnja 6 күн бұрын
I used to code everything in vim, mostly PHP and C. About two years ago, around the time I switched from PHP to Go, I also switched from vim to VSCode. The autocompletion was great and later Github Copilot, predicting entire blocks of code. But whenever I'm back in vim, I find myself googling for function signatures. I can't remember anything, even simple things like how to open a file in Go, I have to google it. Autocompletion made my brain lazy. So would I recommend switching from vim to vscode? Well, only because it looks nice. But disable autocompletion. Code as you do in vim. Those are my 2 cents. I cancelled my Copilot subscription and disabled autocompletion in vscode. I believe it makes you a better programmer.
@raul5081
@raul5081 6 күн бұрын
Bro doesn't even need a regular resume anymore. He can just link this video and it's gonna speak volumes.
@blank_one
@blank_one 6 күн бұрын
Trying to figure out how it works by myself and watching how You do it too was a really nice experience. Learning in a different way than seeing someone who just spits the facts and does everything perfect. Thank You for this video man :)
@Exodia1988
@Exodia1988 6 күн бұрын
1:19:45
@fierozf3132
@fierozf3132 6 күн бұрын
50 missed calls from nvidia
@AK-du5mm
@AK-du5mm 7 күн бұрын
That's a request for you from an undergrad ...Can you please Make a video on your coding environment that you have setup....that would really help a lot
@HirschDaniel
@HirschDaniel 7 күн бұрын
It's just WSL (Linux terminal in Windows), then I start tmux, create 3 panes, and then start vim in one of the panes! Does that help for a start?
@AK-du5mm
@AK-du5mm 7 күн бұрын
@HirschDaniel would be really great if you make a dedicated video on this
@AK-du5mm
@AK-du5mm 7 күн бұрын
Would benefit a lot of learners for sure
@3mwithjoao
@3mwithjoao 7 күн бұрын
The keyboard noise is too much
@supplyingcoffins
@supplyingcoffins 7 күн бұрын
59:10 my thought here is maybe generate a single ray straight up then use some transformation matrix to rotate it. Curious to see what his solution is
@bornasostaric2365
@bornasostaric2365 7 күн бұрын
until c23 bool in stdbool was just for c++ compatibility(mostly)
@matimk_
@matimk_ 7 күн бұрын
that sanity must be below zero
@Scroll_codes_24
@Scroll_codes_24 7 күн бұрын
Very informative video
@Kitoucher
@Kitoucher 7 күн бұрын
Can you help me with my maths problem
@OzzFan1000
@OzzFan1000 7 күн бұрын
Every SelectObject() should have a corresponding DeleteObject() to avoid memory leaks.
@TejasPatil0
@TejasPatil0 7 күн бұрын
50:34 I can see the excitement in his face