Doing UI in C to Piss Off the React devs

  Рет қаралды 440,966

Tsoding Daily

Tsoding Daily

Күн бұрын

Previous Episodes: • Music Visualizer
Chapters:
- 0:00:00 - Announcement
- 0:00:40 - What is Musializer
- 0:06:02 - Plans for today
- 0:08:40 - Twitch UI Dark Patterns
- 0:10:38 - Supermarkets Dark Patterns
- 0:11:41 - bool fullscreen
- 0:19:00 - Important Disclaimer
- 0:19:42 - Can you compile C with Webpack?
- 0:21:50 - Planning the Next Epic Move
- 0:22:33 - On stopping FFmpeg process
- 0:25:13 - Placing the Button
- 0:31:27 - Prettifying the Button
- 0:34:56 - Highlighting the Button
- 0:38:16 - Drawing Button Icon in Inkscape
- 0:41:12 - Getting Inspiration from KZfaq
- 0:42:35 - How I make my thumbnails
- 0:45:40 - Preparing Icon Image
- 0:47:45 - Planning Resource Management
- 0:48:42 - About Hotreloading in C
- 0:50:28 - Music Break
- 0:50:50 - Adding Icon to the Button
- 0:58:05 - Tweaking the Icon
- 1:03:55 - Making the Button Clickable
- 1:05:09 - Factoring out the button component
- 1:09:12 - Planning the Hiding of the Button
- 1:10:07 - Isn't that cool? tsodinPause
- 1:10:45 - How I Architect my Software
- 1:13:33 - Adding TODOs
- 1:14:48 - Hiding the Button by Timer
- 1:19:20 - Real Programmers write their own Event Loop
- 1:20:22 - Proper Timer Initialization
- 1:22:05 - Planning the Next Epic Move
- 1:24:26 - About telemetry
- 1:27:48 - Drawing icon spritesheet
- 1:43:52 - Loading icon spritesheet
- 1:50:13 - Switching icons
- 1:58:22 - Icon index from state bits
- 2:00:25 - Outro
References:
- Tsoding - Musializer - github.com/tsoding/musializer
- nu11 - KZfaq - / @nu11_ft
- nu11 - WIP Works 2016-2022 - / nu11-wip-works-2016-2022
- pilotredsun - Achievement (full album) - • pilotredsun - Achievem...
- Inkscape: inkscape.org/
Socials:
- Twitch: / tsoding
- Twitter: / tsoding
Support:
- BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9

Пікірлер: 620
@davidbipolar890
@davidbipolar890 7 ай бұрын
I don't think react devs are fast enough to react to this😅
@niculaelaurentiu1201
@niculaelaurentiu1201 7 ай бұрын
They are still waiting for node_modules to download XD
@yairlevi8469
@yairlevi8469 7 ай бұрын
I'm dead
@paulalves966
@paulalves966 7 ай бұрын
I c
@AndrieMinecraft
@AndrieMinecraft 7 ай бұрын
Im dead bro 💀
@aziskgarion378
@aziskgarion378 7 ай бұрын
@@niculaelaurentiu1201 npx wait-for-two-hours
@JosephSaintClair
@JosephSaintClair 6 ай бұрын
Clicked because of the title. Stayed because of your dev setup. - No AI - No prompt engineering - No selling anything Loved all 2 hrs. Thank you 🙏
@judahmatende3769
@judahmatende3769 6 ай бұрын
30 mins in, and no React, he really is doing UI in C
@joaopedrodeamorimpaula8965
@joaopedrodeamorimpaula8965 6 ай бұрын
just Emacs, that's all you need
@JosephSaintClair
@JosephSaintClair 6 ай бұрын
@@joaopedrodeamorimpaula8965 i prefer base vanilla vi with screens, but whatever gives a good workflow without disrupting coding cadence I suppose! Never really tried EMacs in all my 40+ years of professional coding but it does look cool 😎
@warsin8641
@warsin8641 5 ай бұрын
pain
@renegildo4408
@renegildo4408 5 ай бұрын
and linux with tiling window manager
@fishsayhelo9872
@fishsayhelo9872 7 ай бұрын
i'm impressed you go to the effort of properly chaptering these streams, nice one 👍
@Person1873
@Person1873 7 ай бұрын
#music break
@TheSulross
@TheSulross 7 ай бұрын
And this is truly one of the better reasons to program in C - to piss off the soy latte children that constantly rail against all things older than their birth year
@jsonkody
@jsonkody 7 ай бұрын
when you spent XXX hours on project to be so nice, then make the video (+X hours) this is basically nothing .. a little pleasure if anything :D Most programmers have OCD (I have it totally - I need to polish and polish AND POLISSSSSHHHH every little thing on project/video etc.) do I would be maybe more surprised if it wouldn't be there ._.
@patrickmiharisoa5501
@patrickmiharisoa5501 5 ай бұрын
Dude is a legend
@MrIndiemusic101
@MrIndiemusic101 4 ай бұрын
​​​​​@@TheSulrossare there really people like that though and are you even a normal regular person? Ive been programming all my career for a living but I don't let it govern my entire personality or how I view others. Let alone a single framework or language. This is like if you worked in forestry and you have people who like hand saws and people who like chain saws forming dumb factions online and calling each other stupid shit like soyboy over it. They're literally just tools guys calm down. They're not a defining personality trait and definitely nothing to be this tribalistic over.
@danielschmitt5750
@danielschmitt5750 7 ай бұрын
As someone who works with react in his day job i appreciate your effort to actually understand what is going on. I wish i could approach every new technology in that manner. Unfortunately often (at least at work) there is no time for that. I have no understanding for those who get offended if someone is genuinely trying to explore and understand how something works. Keep them VODs coming. Love it.
@bnflyd6894
@bnflyd6894 6 ай бұрын
@@user-ql9mp5yf6c banco
@daneparchmentjr
@daneparchmentjr 6 ай бұрын
It's the smugness and elitism that rubs people the wrong way. I've never met any web developer who gets offended at someone learning the inner workings of a tool. In fact, many of them recommend doing that to get a better understanding of the framework being used. However, it's when people act like they know better, are better, and generally look down on web devs that rubs people the wrong way. Not the method of learning.
@sharkpyro93
@sharkpyro93 4 ай бұрын
@@daneparchmentjr the problem is that most web devs refuse to learn or don't show interest in learning how things works really, they just want stuff that works and are easy to use thats it, its understandable that for some people this is just a 9-5 job and thats it, but for others there's no excuses, i dont really look down on anyone since im not a genius or anything but im drifting away from web dev for this exact reason, im tired of working with people that don't know shit that refuse to document himself on how things work and often are in some senior/manager role, this doesn't happen in system/embedded programming, down there people know their shit
@daneparchmentjr
@daneparchmentjr 4 ай бұрын
@@sharkpyro93 Just because you've had a shitty experience with poorly qualified individuals. Doesn't mean that most web developers are like that. My counterpoint is that where I work and many of the other places where I know people, all have web devs who know there stuff and understand their tools. Web development has the highest job saturation atm, so of course numbers wise there are going to be more devs who aren't qualified for their roles than in other mediums. And of course this happens in every other programming medium as well. Don't pretend like it doesn't. Just again because embedded devs are more specialized they have a lower saturation of jobs and thus there are less devs that would be unqualified. But it still happens. Even Tsoding, in his own video didn't even try to understand why the tools worked like they do, and what problems they are solving. So he's a perfect example of what you're refering to from the embedded/low side of things
@CigEconomy
@CigEconomy 3 ай бұрын
​​​@@daneparchmentjrI am a web dev. He is better lol. The modern web is a bloated overabstracted joke. I do it because it pays.
@MaJetiGizzle
@MaJetiGizzle 7 ай бұрын
As a react dev, I’m not pissed off. Honestly, more than anything, I’m impressed. Well done dude!
@user-pm8je4fo7e
@user-pm8je4fo7e 5 ай бұрын
Yeah, because the real intent behind this video was to piss off C devs. And he did a fine job!
@tekhiun
@tekhiun 7 ай бұрын
You aint pissing us off, I love this.
@vlad7269
@vlad7269 7 ай бұрын
You love being pissed off (Not negative comment)
@leduyminh48
@leduyminh48 6 ай бұрын
@@vlad7269 ikr, better than pissed on
@Cobalt985
@Cobalt985 6 ай бұрын
@@leduyminh48 disagreed
@cgme9535
@cgme9535 6 ай бұрын
@@Cobalt985yoooooooo
@FentFanta
@FentFanta 6 ай бұрын
​@@Cobalt985💀huh
@cacheman
@cacheman 7 ай бұрын
Not usually one to jump in with feature suggestions, but I think there should be another type of plugin, one that renders meta-data from the audio file over the visualization. E.g "Artist - Track Name (year)" ... then you can combine viz + metadata-render plugins in different ways for different presentation styles.
@noctavel
@noctavel 7 ай бұрын
The thing that pisses me off a lot is the fact that we (soft.devs) are supposed to do a whole analisys of the code before doing any modification/improvement, but as you perfectly pointed out, we have to create a whole simulation of how things would work while also convincing everybody else, up until reality strikes and you now have to explain yourself why things are slower than expected...
@Dude29
@Dude29 6 ай бұрын
It's part of being an engineer
@lisandroiaffar4501
@lisandroiaffar4501 4 ай бұрын
Amazing work, thank you so much for sharing this. Such care for quality is delightful
@ecosta
@ecosta 6 ай бұрын
I love the simplicity of Tsoding's code. Sometimes I have a weird tendency of overcomplicating originally simple ideas - like modularising code that could stay "monolithic" without any issues or "mental cost". I think all my attempts at UIs based on "quad-rendering" ends up massively overcomplicated when simple bounds via variables would resolve.
@_Stin_
@_Stin_ 4 ай бұрын
Over the last 30 years, I have noticed that too many modern coders cannot simplify or encode the original problem enough to produce a good solution. I think the ongoing degradation of code quality is mainly due to this. I haven't coded much at all in the last 10 years :/
@ecosta
@ecosta 4 ай бұрын
​@@_Stin_ I feel that. After 20 years in this industry, I gave up on pushing for quality at my job. I feels like one day I'll have to explain what a "loop" is. Specially after AI tools like GitHub pilot becomes more popular.
@jeanpierre5941
@jeanpierre5941 4 ай бұрын
@@_Stin_We can tell, there are many talented people, for you to be to out for 10 years and explain that modern code is shit is ironic.
@_Stin_
@_Stin_ 4 ай бұрын
​@@jeanpierre5941 I would guestimate that only ~30-40% of code written in the last 15 years is fit for it's intended purpose and has any level of dependability or reliability. GNU broke things when they stopped having to produce code that did anything - Many programmers even cite the lack of any warranty as liberating. O_o I find it hard to trust large software houses more than bedroom coders after seeing the source code for Windows and Office, let alone the Linux offerings lol People are generally lazy and programmers are generally people... Have you seen the mess of code that constitutes our banking infrastructure? Our government infrastructure or our even just our School Information Management Systems? Imagine being told "You don't have to make it that secure/reliable/good, the contract is only worth $88000."
@CommanderRiker0
@CommanderRiker0 3 ай бұрын
@@_Stin_ Completely agree. I'm a Linux and Unix admin, but do some coding and have read tons and tons of old C code that is still around from probably the 80's I would assume. I don't know how to describe it other than "tight". As simple as humanly possible. The notes and comments are out of this world too. Its like reading a proper textbook.
@hackingpintu6975
@hackingpintu6975 7 ай бұрын
You are literally the God of C. You have absolutely harresned the complete power of C . Excellent job man.
@DanniDuck
@DanniDuck 7 ай бұрын
I would argue that this isn't really C but just knowing how to do things. You can be a master of C and still have to look up how to create a window.
@Tigregalis
@Tigregalis 7 ай бұрын
@@DanniDuckok
@marusdod3685
@marusdod3685 6 ай бұрын
the language itself is not that hard to master, it depends on what field you're working in
@markpozsar5785
@markpozsar5785 6 ай бұрын
@@Tigregalis ok
@Johnithinuioian
@Johnithinuioian 6 ай бұрын
@@markpozsar5785 ok
@juanmacias5922
@juanmacias5922 7 ай бұрын
1:24:26 that's why I think open source is so important, you can actually reach someone, and talk to them about your needs, or you can write your own code, and contribute, addressing your needs!
@_Stin_
@_Stin_ 4 ай бұрын
Wow, you can contact actual devs? All I get is forgotten inboxes, stale web sites with years-old articles and other lost members of the 'Linux community' asking questions and offering 'best' guesses - or telling me I've asked the 'wrong' question in the 'wrong' way O_o Expert or detailed knowledge is still rare to get hold of and is usually hidden. ...IMHO.
@juanmacias5922
@juanmacias5922 4 ай бұрын
@@_Stin_ I should have specified, about using/creating github issues.
@anon_y_mousse
@anon_y_mousse 7 ай бұрын
It's because of you that I've been learning RayLib, and as I've been learning the ins and outs I've been writing a bit of a wrapper for it so I can have a config file and just load the GUI elements up in one go. I just may have to add this to my own language's standard library because it'd be pretty useful to be able to change the GUI on the fly even after a program has been compiled.
@GaneshPalraj1991
@GaneshPalraj1991 7 ай бұрын
as a javascript dev all i can say is your impressive and im not mad.
@wfjhDUI
@wfjhDUI 3 ай бұрын
49:20 It is UNREAL just how true this is about software techniques being forgotten and then reinvented decades later as the hot new thing. And I don't mean that to be taken in a pessimistic way to dismiss new things. I'm not sure this phenomenon is a "problem" that can be "solved". There are often good reasons for it when an idea fizzles out the first time and then becomes relevant again in a different context.
@varshneydevansh
@varshneydevansh 7 ай бұрын
Just reading the title makes me laugh out loud. 😂😂
@ithinkimhipster502
@ithinkimhipster502 7 ай бұрын
Lol same here
@MrHaggyy
@MrHaggyy 6 ай бұрын
This content is nuts. I do work with fourier and similar transformations a lot and have an emedded background. Any UI / GUI framework i came across by now does not really work for me. But i really love TheCherno and your way of dealing with that stuff. Makes me wonna add those stuff to my code and not close my laptop amd appreciate that i have studied some serious engineering not web dev. Oh damn did it at home.
@_boux
@_boux 6 ай бұрын
>programming UI in C >spend 2 hours to end up with 3 buttons yep sounds about right
@sabelch
@sabelch 4 ай бұрын
Gotta cut him a bit of slack -- he's doing more than pounding out code in those 2 hours.
@attilavs2
@attilavs2 3 ай бұрын
Cope harder lol
@karl4813
@karl4813 7 ай бұрын
Tsoding.. please understand.. us React devs work with React not because we hate low lvl C shit, but because these are the only jobs that exists in the tsoding-marked. If we could all do cool C shit and make money of course we would
@denisblack9897
@denisblack9897 5 ай бұрын
Subscribed in like 2 minutes! You are the man, bro! Thank you for sharing!
@twenty-fifth420
@twenty-fifth420 7 ай бұрын
This was the video that finally made me subscribe and finish a stream. I am making a game engine with a C base, so I expect this to be massively helpful. Been reading alot of OpenGL and Raylib Documentation, lets do this!
@flintfrommother3gaming
@flintfrommother3gaming 7 ай бұрын
SDL f2w
@HyperMario64
@HyperMario64 6 ай бұрын
​@@flintfrommother3gaming Vulkan for the win my fellows. SDL or GL are gimmicks by now.
@henriquemarques6196
@henriquemarques6196 7 ай бұрын
Seeing some react devs complaining about the video just shows how things are wrong today. I'm also a front-end developer, but I really like to see Tsoding doing some C shit because I always learn a lot. The video is really great, made understand better about how one manage to render things using a low level language such as C. Tsoding deserves more recognition for his job! Keep up with the good work mate!
@Tigregalis
@Tigregalis 7 ай бұрын
Wait, are there actually react devs complaining about this video?
@henriquemarques6196
@henriquemarques6196 7 ай бұрын
@@Tigregalis unfortunately yes. People nowadays see programming languages as a football team lmao
@theRPGmaster
@theRPGmaster 7 ай бұрын
I don't get why front-end devs would hate on C when everything they use is made in C, the interpreter, browser, webserver, operating system, kernel, routers and switches, and so on. I bet a majority of all software, hardware, and the internet itself uses C in some way, if not primarily.
@henriquemarques6196
@henriquemarques6196 7 ай бұрын
@@theRPGmaster yeah, don't know why either. Wish I was high IQ do to some stuff with C, but my brain can't conceive something complex as memory allocation and pointers, lmao.
@theRPGmaster
@theRPGmaster 7 ай бұрын
@@henriquemarques6196 It's a blessing and a curse. Sometimes I wish I was a UX guy instead, lol. It's still worth it to have low-level control. And the basics of pointers and memory is pretty easy. I explained it to a layman the other day, clicks pretty fast.
@BitwiseMobile
@BitwiseMobile 4 ай бұрын
C was my second language, so I have no issue writing anything in C :). I taught myself assembler way back in the day using DOS DEBUG command. Pre internet days, so I had to learn everything from the library and experimentation. When I discovered C suddenly writing programs became 1000% easier :). I later went to university and discovered that I was already using many of the patterns they were teaching due to the fact that I had the low level background.
@Hazanko83
@Hazanko83 7 ай бұрын
I've came to the conclusion that companies have most certainly realized that ''confusion = retention''.
@0ia
@0ia 7 ай бұрын
I think this may be short-term. When something that worked for 10 years becomes really confusing, I keep using it out of habit. Hopefully, I eventually break the habit after the mental association of “this works” is gone.
@luisestebanruiz9773
@luisestebanruiz9773 4 ай бұрын
Atlasian CEO and Jira Product Manager , aproves this comment.
@claudiusraphael9423
@claudiusraphael9423 7 ай бұрын
@TsodingDaily I was always wondering if a GUI done in C could do custom window management without utilizing the actual Window-Manager or the hooks (of the OS/Core) provided, meaning: Is it possible to split the elements inside your Musializer into separate windows in relation to the main (visualization) window, without explicitly requesting the actual position/dimensions/focus/etc. from the system (OS/WM) and can these subwindows be spawned without the OS/WM-hooks. What i am thinking of is little modules/subwindows, that can only run attached to the main window (instead of splitting the view inside of it), but are not themselves represented in the process/task-view, meaning they shall not be treated at all standalone. So far the only way i found to do so was by creating a transparent window, use that as a sandbox and write my own layout/wm, but this is icky, requires working with the actual window-manager too, which makes cross-platform approaches unfeasible (if you want to support all major systems and Desktops/Widget-Systems) because it gets big and convoluted and it is easy to oversee/slip-in errors unknowingly breaking the modularization. Any input appreciated. Keep up the great work!
@resresres1
@resresres1 6 ай бұрын
i don't know about doing that in C, but this can easily be done using a GUI framework such at Qt.
@archibaldstriebendrossel
@archibaldstriebendrossel 6 ай бұрын
FWIW it sounds like the multiple-document interface (MDI) approach
@zekrinealfa1113
@zekrinealfa1113 Ай бұрын
@@resresres1 I mean, if Qt can do it, so can you. It may just be a pain in the ass.
@daphenomenalz4100
@daphenomenalz4100 4 ай бұрын
One day in my university, the teacher straight up asked to make a calculator in C with full UI, but didn't even bother to tell how lmao and only gave us 1hr☠️ We kept asking him to understand, we don't know this shit, but he himself didn't know how to, so he just kept ignoring us and insisted on doing in C I researched a lot, made something, but ended up showing a react project 😂 and showed him a random C code 😂. Shit takes hours to do ui in C with no understanding, he wanted us to do it in 1.
@iankamandew9777
@iankamandew9777 6 ай бұрын
This is amazing man, always inspirtional!
@kirsanov2008
@kirsanov2008 6 ай бұрын
I am a react dev, but I also coded my UI in C a while ago, with raw opengl calls (not recommended). I wish everyone to learn C (not C++)
@ryancabaneles
@ryancabaneles 5 ай бұрын
True C++ sucks
@purlingstream
@purlingstream 7 ай бұрын
ah i'm being bulled again :'( im just making my money, dad...
@TsodingDaily
@TsodingDaily 7 ай бұрын
It's ok, my dear! I also did js development for money. There is nothing to be ashamed of. We all need to eat. 🫂
@fortender
@fortender 7 ай бұрын
"It's kinda cool, it boosts your ego" (1:59:49) - i can relate to that :D
@albinanikiforova2404
@albinanikiforova2404 6 ай бұрын
I’m actually a react dev learning C and I enjoyed this video a lot! 😄
@Caellyan
@Caellyan 5 ай бұрын
1:35:00 Texture atlases are somewhat rare on the web these days but they were very common 7-10 years back while forums were popular. Minecraft wiki uses a texture atlas for block icons but that's about it. People generally use woff icon fonts these days.
@igorpulemetov4685
@igorpulemetov4685 5 ай бұрын
I just started to learn coding. I have not a clue what you talking about but I think you're a genius.
@senshai1267
@senshai1267 3 ай бұрын
This is one of my favorite KZfaqrs , love the content
@JohnKouts
@JohnKouts 6 ай бұрын
I love that video+your narration
@sanjaux
@sanjaux 7 ай бұрын
I'm not a React dev (yet) I'm very much enjoying plain HTML/CSS/JS in my early stages until I become aware
@TsodingDaily
@TsodingDaily 7 ай бұрын
I like Vanilla Webdev too!
@iCrimzon
@iCrimzon 7 ай бұрын
NOOOO, DONT BECOME A BLOAT SOY DEV, CONTINUE USING JUST HTML AND CSS NOOOOOOOO
@Vulto166
@Vulto166 7 ай бұрын
Musializer is cool! Is there any plans to implment other types of visuals, like bars for example?
@niculaelaurentiu1201
@niculaelaurentiu1201 7 ай бұрын
React devs still waiting for node_modules to download
@cowabunga2597
@cowabunga2597 7 ай бұрын
2015 called They want their joke back
@1000cuts
@1000cuts 7 ай бұрын
@@cowabunga2597 Let's send both the joke and React back to 2015 forever.
@niculaelaurentiu1201
@niculaelaurentiu1201 7 ай бұрын
@@cowabunga2597 It's not my problem they are waiting since 2015 to download XD
@Salantor
@Salantor 7 ай бұрын
@@cowabunga2597 2023 called, it wants to know why 2015 joke is still relevant.
@kahnfatman
@kahnfatman 6 ай бұрын
Actually we are updating package.json
@DecoyBBQCam
@DecoyBBQCam 7 ай бұрын
i was afraid i missed a c stream under the impression that it was typescript
@mac.ignacio
@mac.ignacio 7 ай бұрын
React devs are to slow to react. The VDom is still reconciling what happen in this video.
@AnzenKodo
@AnzenKodo 7 ай бұрын
after watching all Musializer videos, i can say c is easy and beautiful.
@phillipanselmo8540
@phillipanselmo8540 7 ай бұрын
C is simple, not easy.
@AnzenKodo
@AnzenKodo 7 ай бұрын
@@phillipanselmo8540 have you ever used js
@ChivGmail
@ChivGmail 7 ай бұрын
@@phillipanselmo8540 Depends on what you want to do.
@thecoolnewsguy
@thecoolnewsguy 6 ай бұрын
Wow you both have 36 likes as the time of writing my comment and now I'll make them 37 😀
@vammamies
@vammamies 5 ай бұрын
Then maybe variables and functions where named wrong, they should be too short and completely not descriptive or reasonable.
@jsonkody
@jsonkody 7 ай бұрын
Cool project, cool video, thx
@MrBloodcount
@MrBloodcount 7 ай бұрын
"How I architect software" section is just perfect
@pimesonhadron
@pimesonhadron 7 ай бұрын
Hey Rexim, is there a fixed lag between videos appearing on Twitch and on here?
@jsonkody
@jsonkody 7 ай бұрын
2:41 .. I would just stay at this "It's (almost) impossible to use UI without a library - if you use UI in C without dependencies you basically created your own library". I wrote (almost) because if you write it with intention of it "not be a library" you technically can somehow mix code from "other stuff" with the "ui stuff" and then yep, I would not call it library then .. 😅
@bl00dspec75
@bl00dspec75 6 ай бұрын
The title is so funny 🤣 and the content is awesome. +1 sub
@lievenpetersen
@lievenpetersen 7 ай бұрын
clicking anywhere while in fullscreen should exit fullscreen imo. That way you also don't need a button (that has to be hidden and stuff)
@cesarHPM91
@cesarHPM91 4 ай бұрын
That doesn't account for misclicks tho, it'll be really annoying if, while setting it up in a second monitor you click while moving the window and exit the full-screen, maybe it could work but it might just be better to require full intent to exit that mode
@lievenpetersen
@lievenpetersen 4 ай бұрын
@@cesarHPM91 Unlike misclicking the shutdown button on Windows, it is pretty cheap to enter full-screen mode again :D
@cesarHPM91
@cesarHPM91 4 ай бұрын
@@lievenpetersen fair enough lmao
@andrewhabroad
@andrewhabroad 6 ай бұрын
this gives me the vibes of "Anything you can do I can do better"
@_Stin_
@_Stin_ 4 ай бұрын
No framework - Those blind framework zealots will have your eyes for this! I say well done for not using frameworks. You code has a high probability of working, stably, on many systems and for a long time as a result. Reminds me of WIMP coding back in the day - Creating my windows at runtime according to settings. Can you tell I hate frameworks? ;) In my experience, although they can sometimes speed up coding, they often just get in the way of good coding. 10/10 for actually doing some proper programming.
@kcuong23
@kcuong23 5 ай бұрын
bro ur video so great. love it 🙏🙏
@joshgelias
@joshgelias 6 ай бұрын
Upvoted for name alone. Well done.
@yolkyhorizon
@yolkyhorizon 6 ай бұрын
After this project I'm working on, I'll learn React and shut up about it being too weird. This video was an inspiration to me.
@fu886
@fu886 7 ай бұрын
imagine if you were forced to render dynamic pages statically and label it futuristic
@Redyf
@Redyf 7 ай бұрын
That inspires me actually, not piss off. Casual Tsoding W
@panchakosha
@panchakosha 7 ай бұрын
Fantastic!
@trombonedude5312
@trombonedude5312 5 ай бұрын
I'm curious as to why you use booleans for state instead of enums for things like rendering, capturing, etc. are they not exclusive?
@cobbcoding
@cobbcoding 7 ай бұрын
React Devs will never financially recover from this.
@TsodingDaily
@TsodingDaily 7 ай бұрын
Neither will I but it was worth it.
@teklife2151
@teklife2151 7 ай бұрын
Another Mr Tsoding vod. Big poggers
@mistersir3185
@mistersir3185 6 ай бұрын
I'm a react developer and I can't gt mad at you for your beautiful, really beautiful skill. I am at awe.
@samir2zk135
@samir2zk135 6 ай бұрын
Using this for mpd would be insane
@jaumeguimeramarquez2244
@jaumeguimeramarquez2244 7 ай бұрын
I've started making some stuff with Vue ... A bunch of comp files just for a form? Why so complicated?
@Person1873
@Person1873 7 ай бұрын
tsoding being legit funky @50:30
@rishabhkaushik22
@rishabhkaushik22 6 ай бұрын
Why not to do this: -the dev who wrote this long piece of code leaves org -client wants changes -new dev is pulling their hair trying to find how this long code works -the new dev gets the same hairline as this guy Jokes aside, this is pretty remarkable (not fun to do but still remarkable)
@juanbautista6766
@juanbautista6766 6 ай бұрын
Actually lol’d at the hair comment
@wucash5672
@wucash5672 5 ай бұрын
Pretty much this, just like Davis what he made was extremely based but not practical.
@icodestuff6241
@icodestuff6241 4 ай бұрын
its the natural progession. There is strong correlation between forehead size and hours spent coding C
@FLMKane
@FLMKane 4 ай бұрын
​@@icodestuff6241indeed. I went bald within a year of learning C 😢
@fiona9891
@fiona9891 Ай бұрын
i feel like this code is reasonably easy to understand
@zmurszaypatafian9134
@zmurszaypatafian9134 5 ай бұрын
damn bro you are streaming on twitch? i have to follow you then :)))) great content btw
@kahnfatman
@kahnfatman 6 ай бұрын
How many times did you forget and did the "Rendering Video"....? I feel your pain bro. 😎 But the UI building with C is just awesome!!! 💙
@jayanths1221
@jayanths1221 6 ай бұрын
As a React dev, this video mesmerized me if anything.
@schwkrls
@schwkrls 6 ай бұрын
Love to see UI development in anything other than Javascript. I'm currently stuck with it and it's a love-hate relationship.
@charlesm.2604
@charlesm.2604 5 ай бұрын
Consider exploring Jetpack Compose on Kotlin Multiplatform. It essentially uses the Android Jetpack but sits ontop of the different Kotlin platform runtimes (JVM for dekstop, WASM for web and Native for mobile) to run cross platform while allowing sharing business logic. Essentially, it's similar to what Microsoft are doing with MAUI but sitting ontop of a strong batte-tested rendering engine (skia) and a more mature project. I hate JS too but it's difficult to justify other languages for UI when we know that the web is what UI is all about. It's more straight forward to make your own unified UI library in a JS framwork on the web than it is fighting with implementations of QT or even worse rendering vulkan from scratch.
@dslusser13
@dslusser13 6 ай бұрын
React dev, I'm not sure why this would piss me off. Vanilla code is cool, making UIs fast is cool too. How long have you been working on this?
@victorpopa6745
@victorpopa6745 2 ай бұрын
Thank you for doing that
@erik_james
@erik_james 6 ай бұрын
ахахахахаха))) посмотрел пока первые 6 минут, но уже весело)) tickling balls😂😂😂 Оч круто, рад наткнуться на тебя)
@claytonbennett7797
@claytonbennett7797 3 ай бұрын
hilarious. genuine quality. modern classic.
@brianpjweed
@brianpjweed 6 ай бұрын
I'm a React dev and I loved this vid!
@sahilverma_dev
@sahilverma_dev 7 ай бұрын
As a react developer I'm pissed 😡😡😡 Thanks for making this video
@wagsman9999
@wagsman9999 6 ай бұрын
Beast-level coding on this channel.
@tempo0883
@tempo0883 6 ай бұрын
such a talent at 3:56
@designerfuzzi
@designerfuzzi 7 ай бұрын
ever thought of using the one mechanism that is superb for vector graphics to support app icons? font.
@mage3690
@mage3690 7 ай бұрын
17:15 analyzation? Yes, that's an English word. In common use, analysis and analyzation are the same thing. The technical difference is that analyzation is a means to an end, while analysis is an end in itself; i.e. engineers perform analyzations, mathematicians perform analysis. Why are those separate words? I don't know either, but I suppose it's the same thing as the difference between running and a foot race. Also, analysation is the alternate spelling for analyzation that my phone is insisting I autocorrect to; apparently that's the British/Canadian version. I'm American, analyzation is the correct phonetic spelling, and you weirdos on the other side of the pond can pound sand for all I care. Britain invented "soccer", "though", and the imperial system of weights and measures, so I think it's safe to say that "colour" and "analysation" are also wrong. PS: the word "analyzation" is slowly starting to look like a goofy collection of letters and not an actual word. Please send help, I fear someone has slipped drugs into my breakfast.
@MoriMakis
@MoriMakis 4 ай бұрын
Looks really good. What would be a valid usecase for this?
@Injazz1
@Injazz1 4 ай бұрын
valid usecase: you're C developer and you were threatened with a gun to your head to make responsive UI (your plan is to win yourself some time). i mean, with all his experience and familiar environment, he spends 2 hours on a button.
@ZoraAlven
@ZoraAlven 7 ай бұрын
yay, with no irony, after that upgrade musializer look became very solid.
@rakinar2
@rakinar2 7 ай бұрын
What desktop environment do you use?
@alexandrohdez3982
@alexandrohdez3982 5 ай бұрын
👏👏👏 you the best, thank you
@cipheroth
@cipheroth 6 ай бұрын
awesome now should run in any browser 🥳😘
@johnbeeckler
@johnbeeckler 7 ай бұрын
dude you're awesome!
@ar_xiv
@ar_xiv 6 ай бұрын
This is so familiar to when I made a UI in monogame
@AlexBezhan
@AlexBezhan 7 ай бұрын
Vanilla DOM is plenty fast actually
@rifatsimoom
@rifatsimoom 4 ай бұрын
I love this man.
@defaultdefault812
@defaultdefault812 6 ай бұрын
so what could be done in 5 mins in react took you 2 hours in C? well done mate.
@rfqma
@rfqma 6 ай бұрын
im not pissed off, im impressed
@tianned
@tianned 7 ай бұрын
How about writing some visual rice stuff for Linux in C😅
@sortof3337
@sortof3337 7 ай бұрын
i second this. i need tsoding wm. :D
@intox4953
@intox4953 7 ай бұрын
"let me reload my webpack bundle" i am zozzling right now!
@alexgavril385
@alexgavril385 5 ай бұрын
I just did not get, what was the output? I expected to see some clip generated based on the music.
@jorgeromero4680
@jorgeromero4680 6 ай бұрын
8:10 Honestly that reminds me of Indent Hadouken. If else if else if else if else Hadouken
@PacLevkov
@PacLevkov 3 ай бұрын
+1 for going away of the ego approach on 2:0:0. More readable code always better.
@hadeseye2297
@hadeseye2297 5 ай бұрын
5:02 The very start reminds me of Matt Gray's Dominator's demo loading screen music. It's a game for Commodore 64.
@davfigue
@davfigue 3 ай бұрын
Engagement Vim style! 🤣🤣🤣 that cracked me up!
@user-zn3zx6fk7u
@user-zn3zx6fk7u 7 ай бұрын
make a gui for grep and awk written in assembly to piss of 3 persons on erath probably
@thomasjefferson8629
@thomasjefferson8629 4 ай бұрын
This shit is Gold, man. You're keeping this section of the internet alive
@Fellintr
@Fellintr 6 ай бұрын
"On modern social media, [...] you need to tickle their balls a little bit." - Tsoding, 2023
@Nashiuz
@Nashiuz 6 ай бұрын
Nah you are not pissing me off, on the contrary now I feel like learning C
@virnus1
@virnus1 4 ай бұрын
В следующий раз будет UI на Ассемблере?
I tried React and it Ruined My Life
1:19:10
Tsoding Daily
Рет қаралды 112 М.
I regret doing this...
1:20:07
Tsoding Daily
Рет қаралды 61 М.
NO NO NO YES! (50 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:26
PANDA BOI
Рет қаралды 102 МЛН
100😭🎉 #thankyou
00:28
はじめしゃちょー(hajime)
Рет қаралды 31 МЛН
🍟Best French Fries Homemade #cooking #shorts
00:42
BANKII
Рет қаралды 21 МЛН
How I Would Get My First Job If I Started Over
5:10
ThePrimeagen
Рет қаралды 261 М.
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 555 М.
You don't need libraries to write a game engine in C++ | OpenGL | Devlog
2:50
Machine Learning in C (Episode 1)
2:31:07
Tsoding Daily
Рет қаралды 210 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,5 МЛН
Async Engine in C
3:12:16
Tsoding Daily
Рет қаралды 38 М.
The purest coding style, where bugs are near impossible
10:25
Coderized
Рет қаралды 859 М.
I made my own UI library in C++, How to design a complicated system?
13:09
Low Level Game Dev
Рет қаралды 18 М.
Every React 19 Feature Explained in 8 Minutes
7:35
Code Bootcamp
Рет қаралды 104 М.
Цифровые песочные часы с AliExpress
0:45
Kalem ile Apple Pen Nasıl Yapılır?😱
0:20
Safak Novruz
Рет қаралды 1,2 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,5 МЛН
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,6 МЛН