this post was submitted on 10 Jul 2025
958 points (100.0% liked)

Programmer Humor

25056 readers
732 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 34 points 1 week ago (3 children)

Data visualization ≠ UI and signal processing is traditionally done in C

[–] [email protected] 49 points 1 week ago

That looks like buttons in the thumbnail, on the left of the visualisation.
I'd say that's enough to call it UI.

[–] [email protected] 18 points 1 week ago (1 children)

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.

[–] [email protected] 4 points 1 week ago (5 children)

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?

[–] [email protected] 18 points 1 week ago* (last edited 1 week ago)

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.

[–] [email protected] 8 points 1 week ago (1 children)

Not it isn't.

A command line literally is a UI.

You seem to be confusing GUI and UI?

[–] [email protected] 1 points 1 week ago

You seem to be confusing C stdlib with a CLI?

[–] [email protected] 4 points 1 week ago

This isn't hard, you're just trying to make it to be.

Memcpy from a file to a screen buffer is as much a UI as pouring water in a pot is a soup.

[–] [email protected] 4 points 1 week ago* (last edited 1 week ago)

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.

[–] [email protected] 2 points 1 week ago* (last edited 1 week ago)

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

[–] [email protected] 4 points 1 week ago (1 children)

Would you agree that the dashboard of a car is UI? If so, isn't that just data visualization?

[–] [email protected] 2 points 1 week ago

Dashboard is a UI fed by signal processing code which is the backend.