Easy Annoying Popups in C
ฝัง
- เผยแพร่เมื่อ 26 ก.ย. 2024
- Previous Episodes: • Music Visualizer
References:
- Tsoding - Musializer - github.com/tso...
- nu11 - TH-cam - / @nu11_ft
- nu11 - WIP Works 2016-2022 - / nu11-wip-works-2016-2022
Chapters:
- 0:00:00 - TBD - วิทยาศาสตร์และเทคโนโลยี
1:00:04 your web dev neighbour’s finally downloaded the 16,738 files in react for their hello world example and are now celebrating 🥳
🥳
Wrong, it’s 16,738 npm packages
It so seems this project is coming to an end, I've followed it right from the start and learned out a ton!
It is a unfortunate thing Tsoding himself said he don't consider himself to be a good teacher I would pay hundreds of dollars to have this guy as a teacher/code reviewer/project recommendation system: LoL. But this is just the nature of learning.
BTW - I don't know if tsoding read those comments - but since you done some playing with machine learning and data science recently why not try a reinforcement learning project in C next?
A Basic Q-Learning "game" maybe maybe? what do you guys think?
Or maybe some other machine learning algorithm... do Tsoding know about cryptoanalysis and breaking ciphers? it uses the same principles and I bet he would love to implement that too!
15:00 Saturday evening, CEO: "We have to implement a RECTANGLE! Wake up the devs, meeting at 9 o'clock!"
Thank you for the video!:)
Padding is inside the component, outside spacing called margins
he wouldn't know he doesn't use react
Write a Minecraft clone in brainfoock (of course using raylib)
UPPPPPPPPPPPPP
raylib has brainfoock bindings?
@@RandomGeometryDashStuff I'm sure he would use direct calls to the library.
@@glowiak3430brainfoock can call c functions?
14:13 Hey!!! We can center vertically! In about 10 different subtely different but incompatible ways in fact.
An improvement for your popup would be to create a
Texture shadow = BoxShadow(int width, int height, Color shadowColor, float shadowSize, float amount);
function that generates a shadow using distance fields with rectangle SDF using custom shaders and framebuffers, and then draw this texture before drawing the popup at the popup position and then you say "Can your HTML do that?"
Sweat, toast!
Regarding complexity, the longer your application exists the more users it acquires and the more complex behavior they demand you incorporate and the more complexity is accrued.
Then you scrap the whole project because it's too complex, rewrite it in a new programming language and the vicious circle begins again.
Love you 🎉
47:18 this is also called complexity/hardness vs toughness toughness requires creativity, complexity requires knowledge.
write an 8086 emulator that can run space invaders next
30 minutes and already 1k views. Glad to see so much nerds in here
love it
Why having abstraction doesn't make a discussed thing simpler? You've got less moving parts relevant for a perceiver of a system, so he cares about fewer details
Abstractions always leak
@@TsodingDailyand thats why every programming language is bad! actually, thats why mnemonics are bad! actually, thats why machine code is bad! actually, thats why binary is bad! actually, thats why computing is bad! actually, thats why physics is bad!
попа
nice 👍
All hail the king!
alert("nice try you crazy dude")
Is it here where we shit about web dev? 😂
17:22 yes browser can crash!!! :(
please code your own file library in c. example:
tsicoding_file* file tsicodeing_open(...);
size_t buffSize = tsicoding_size(file);
etc.
My adblock extension is not working... Good job.
Oh, so it wasn't just me. I fixed my AdBlock by replacing chromium with ungoogled chromium in case it helps
pog
Yo! When did the porn folder grew from 8GiB to 61GiB? Glad to see a healthy increase.
It needs to resize with the window like the track list
Hello, which font are you using?
14:04 I can see where this is going... bruh
you need electron for non annoying ones btw
01:25:11 why pt is in parentheses but index is not in parentheses?
bro your like score has stopped just at *666*, that's not a good sign...
can I know what color theme you are using for emacs ?
How do you compile and reload UI without kill and relaunch app?
Next up, render the waveform in the timeline?
no way he centered a div in C
how do we run C code directly in side vim ? i have to exit it out and compile every time
skill issue
:!./nob
Anyone have the discord server link?
Why not rust, what is the future of rust?
It's an over-complicated mess like C++
What about creating own immediate graphical user interface? Also you seems drunk this stream and seems for me little bit upset because of the moment where you telling us about volume changer complexity trying compensate bad mood. That very upsetting for me, поскольку ты очень способный программист, ведь дело не в таланте, а любовь к делу. Тот факт, что ты так долго программируешь и знаешь почти каждый язык программирования, очень мотивирует меня программировать и любить не просто нишевую сферу какую-то, а каждый аспект этого дела.
Всего наилучшего тебе. Сообщество программистов не самое благоприятное с чем можно столкнуться в целом, в том числе и менеджеры, малый бизнес и тому подобная баламута, но это далеко не та самая причина, по которой нужно расстраиваться, хоть мы и социальные существа.
Люблю твой канал, как и твои видео!!
всё из-за яблок, он сказал в начале, но даже если он ими закусывал контент все равно занимательный
@@aamorous слегка не понял тебя, можешь указать таймлайн? Я, видимо, пропустил это.
What’s your operating system?
debian
this app is getting more and more awesome everyday
hehehehe love all the hate to webdev jajejej
Suggestion: make the initial lifetime of the pop-up be pt.slide (after adding) + HUD_POPUP_LIFETIME_SECS.
This will guarantee that the pop-up stay HUD_POPUP_LIFETIME_SECS seconds fully displayed (unless it gets pushed out by many other pop-ups)
Ok
Use holyC more please. I saw web js based compiler, maybe you could make the same but as native desktop version
In web dev with just positions I do
.viewport { position: relative; }
.center {
position: absolute;
left: 50%;
Right: 50%;
translate: -50% -50%;
}
I think this is way more confusing than just rendering shapes. It's not obvious that the left and right percentages are about the first relative parent. But the translate percentage refers to the actual element. If you don't set a parent to relative, it will look to the body element.
This is not obvious at all to me.
in my experience always make parent flex and just use flex-content: center, avoid messing with top and left as much as possible since different screen size, different element can easily break it
@@hailuong9295flex-content isn't css property but
.parent{display:flex}
.child{margin:auto}
doesn't cause pixel misalignment (child's pixel affects multiple parent pixels (pixel is screen pixel, not css px))