the convention you were mentioning is called hungarian notation :D
@cordestandoff235821 сағат бұрын
Your accent hears like Russian :D
@mrbobjrsrvКүн бұрын
2:30 thank for helping us visualize the goal of your video/project. It really helped!
@spirou9515Күн бұрын
Your videos are awesome
@RafaelRoco-e9nКүн бұрын
Nice
@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Күн бұрын
Is it theoretically possible to reverse a hash function
@ricsi4368Күн бұрын
assuming no information is lost and it's not salted
@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
@nizar712622 сағат бұрын
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Күн бұрын
Love me some hashin'
@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Күн бұрын
You are talented, using vim and linux. What is a great thing to watch ?
@lorddavo862 күн бұрын
I love to see programming in C...
@SuperLeloPower2 күн бұрын
bro feel to be part of a big project?
@jamedev2 күн бұрын
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.
@joshreubenbezuidenhout71532 күн бұрын
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
@dhvanilprajapati54972 күн бұрын
I saw something like this in C for the very very first time and i am awestrucked broooo .... this is literally like so cool 🔥🔥🔥🔥🔥🔥
@Vulto1663 күн бұрын
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!
@hoteny3 күн бұрын
1:35:41 okay but the rays to the left shouldnt disappear. What went wrong? Radius squared?
@HirschDaniel3 күн бұрын
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.
@hoteny3 күн бұрын
@ i totally forgot about that part because i watch until my attention span says “enough”. Right. Sorry…
@lorddavo863 күн бұрын
Great video !!!
@The3dMaker3 күн бұрын
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
@arc82183 күн бұрын
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_Frown3 күн бұрын
SDL Documentation is better than C's itself lol. Better than most documentation tbh
@floating_ghost4 күн бұрын
Subscribed!!
@hernanodi28774 күн бұрын
How long have you been coding in C?
@HirschDaniel4 күн бұрын
At the time of recording this video 3 weeks max.
@EvilJosias4 күн бұрын
I love watching this kinds of awesome videos, even tho I don´t know even basic coding haha
@Thiago-w4r4 күн бұрын
nice content
@quantum_microscope4 күн бұрын
that is not a ray tracing
@bloodcrown_np85784 күн бұрын
maybe decreasing the rays_number to 100 could have shown proper blur to rays...
@r3dki6794 күн бұрын
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-vx2nq4 күн бұрын
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.
@Kamerzystanasyt4 күн бұрын
how the fuck did bro misspell surface
@fanatik75275 күн бұрын
Technological degrading ... Now ordinary shadows are called - "Raytracing"
@devsuper5 күн бұрын
"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)
@CoFloCipher5 күн бұрын
Pretty fun experiment. The code is an absolute mess but it works :D. Good job.
@minhhoang-ir2hx6 күн бұрын
AI can't change bro
@enderjua6 күн бұрын
thanks for movie
@007kowalski6 күн бұрын
Amazing content you have, It would be great if could organize it into playlists to follow along easily.
@GerbenWijnja6 күн бұрын
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.
@raul50816 күн бұрын
Bro doesn't even need a regular resume anymore. He can just link this video and it's gonna speak volumes.
@blank_one6 күн бұрын
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 :)
@Exodia19886 күн бұрын
1:19:45
@fierozf31326 күн бұрын
50 missed calls from nvidia
@AK-du5mm7 күн бұрын
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
@HirschDaniel7 күн бұрын
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-du5mm7 күн бұрын
@HirschDaniel would be really great if you make a dedicated video on this
@AK-du5mm7 күн бұрын
Would benefit a lot of learners for sure
@3mwithjoao7 күн бұрын
The keyboard noise is too much
@supplyingcoffins7 күн бұрын
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
@bornasostaric23657 күн бұрын
until c23 bool in stdbool was just for c++ compatibility(mostly)
@matimk_7 күн бұрын
that sanity must be below zero
@Scroll_codes_247 күн бұрын
Very informative video
@Kitoucher7 күн бұрын
Can you help me with my maths problem
@OzzFan10007 күн бұрын
Every SelectObject() should have a corresponding DeleteObject() to avoid memory leaks.