I see your pitiful vibe coding and raise you… SPITE CODING 👿
What’s this dude talking about?! Everyone knows no one hates React like people who code in React 😂 No one is gonna get pissed off watching this.
I used to be a React dev. The only thing I hated more than React was my boss.
I love this guy he’s a fucking freak of nature
Speaking of coding out of spite, is nobody going to mention that his C code features a
structwith over 20 fields in it?Oh man. You should see the source code for IOS (the Cisco one not Apple).
Spent 5 years working on it out of college. I think it’s the most cursed code base you can imagine.
Not necessarily because of the massive struct defs everywhere. They are kinda needed when you’re running an entire OS as basically a set of interacting Linux processes pretending to be an OS.
At some point Cisco realized they could not compete without putting a Linux kernel as their base. So they basically just copy and pasted the old code written in the early 90s for the IOS and put it into a set Linux processes.
To be clear. It’s not just the front end. They didn’t really change the code much from the old IOS. Its a cluster fuck of interprocess communication hacks that probably seemed like a good idea at the time.
It is a massive pain in the ass to code because you’re basically doing everything on the Linux kernel and then frustratingly have to write the CLIs for IOS just so Cisco can continue to sell their proprietary OS with some of the most unnecessary hardware locks. Massive learning curve for any new engineer.
Literally, no one on the entire switching team knew how to send a message from a specific process to the IOS process. I had been assigned something that needed it. So I somehow figured it out and was “the guy” for that for the time I spent there.
Fuck. I’m gonna start ranting more if I go any further. But yeah, sometimes you need a massive struct because some idiot decided that forcing a closed source CLI on the market is a good idea for profits.
Definitely not a good idea for coding. But you learn quickly that no one actually cares about good code in this industry. There is no time for it. There is no reason for it. Just spit out garbage until it works and your manager won’t care.
If you want clean code. Go write an open source project or a personal project.
That’s not uncommon, is it?
That’s the
Statestruct. Globally accessible, I’d bet
Data visualization ≠ UI and signal processing is traditionally done in C
That looks like buttons in the thumbnail, on the left of the visualisation.
I’d say that’s enough to call it UI.UI. User Interface. The bridge between a system and a user. So anything, literally any information transfer from the user to the system OR from the system to the user, is a User Interface.
A definition so broad as to be useless.
Is it a UI when someone calls memcpy to move data from a file to a screen buffer?
why would you take the least charitable interpretation? there is no need to be hostile.
and the answer, of course, is that it can be, as long as the information copied is meaningful for displaying to the user.
you’re basically asking the equivalent of whether putting things into an array is an algorithm, which of course has the answer “it can be, depending on how you put it in”. so basically, the operation you’re highlighting is not the point.Not it isn’t.
A command line literally is a UI.
You seem to be confusing GUI and UI?
You seem to be confusing C stdlib with a CLI?
I did not make this definition. However, this does not give you the freedom to make up your own definition and treat it as a fact. Don’t spread wrong information.
I’m going to go with no, since that step is not transferring data to a human, it’s transferring it internally within the computer.
UI can refer to either the medium, such as a visual display, speaker system, or keyboard, and it can also refer to a specific layout of information (like the Qwerty layout, or a webpage layout). I wouldn’t consider the USB protocol UI just because it can transmit HID Events, only the keyboard or mouse as a whole is UI.
You could almost call HID events UI, but I’d still argue they’re more of a computer-device interface than a human-device interface
Would you agree that the dashboard of a car is UI? If so, isn’t that just data visualization?
Dashboard is a UI fed by signal processing code which is the backend.
this is like when I built that web server in x86 assembly lol.
can your React do that?? didn’t fackin think so dabs mockingly
How I love mista azozin…
I’m an elitist asshole and I hate that people say “react dev” when really it’s “web dev that uses react”
Is this distinction really all that useful?
I suppose you could write a react app that doesn’t use “the web”? But you still might just say they are a react developer.
There are also react devs creating the windows 11 start menu.
There used to be a UI library on the Amiga called MUI.
It used a bunch of C macros to let you define the window and all the controls. Was honestly pretty good considering it was like 30 years ago.
Unrelated but there is microui, a 1100 loc library in ansi C for a basic UI.
It was a pleasure to work with!
Right? I can’t tell you how disappointed I was to move to a “real” PC later and find the tools to be so much worse. Like you could position stuff with a GUI in VB or Delphi, but if you wanted to resize a window, it was a real faff to get everything moving about as it should.
This reminds me. I got a search engine to build.
The person on the video, known online as Tsoding (or by some as “mista azozin”), was writing a music visualizer program using the raylib library for writing videogames. raylib doesn’t have code aimed at UI handling, meaning he had to manage the UI by himself. He likes doing a little bit of trolling, so that’s why he picked that title.
Tsoding does by far the most entertaining recreational programming sessions I have ever seen on the Internet, so, despite them being quite long (about two hours), I recommend you watch at least a little bit of his videos/streams if you have time.
- YouTube channel: https://www.youtube.com/channel/UCrqM0Ym_NbK1fqeQG2VIohg
- Twitch channel: https://twitch.tv/tsoding
If you’re interested specifically on this video in question:
- The video: https://www.youtube.com/watch?v=SRgLA8X5N_4
- The program’s code: https://github.com/tsoding/musializer
- The playlist containing the making of the program: https://www.youtube.com/playlist?list=PLpM-Dvs8t0Vak1rrE2NJn8XYEJ5M7-BqT
laughs in Vaadin












