Recent comments in /f/explainlikeimfive

Any-Broccoli-3911 t1_j6mxpss wrote

The CPU sends the meshes (set of vertices) and textures (non-uniform colors that go in the area between vertices) to the GPU when the software is loaded. Those are saved in the GPU memory. They can be updated from time to time, but they are changed as rarely as possible.

For each frame, the CPU sends commands to show those meshes by sending their position, axis, and scale, and those textures by sending in between which vertices it should appear. The GPU gets all those objects from memory, put them in the good position, axis, and scale in RGB arrays, and combines them. Combining them includes having only the ones in the front if they are opaque, and doing some addition if they have some transparency. The GPUs can also compute the effects of lights, in particular using ray tracing, to determine the brightness of each pixel.

Here is some extra information: https://computergraphics.stackexchange.com/questions/12110/what-data-is-passed-from-the-cpu-to-the-gpu-each-frame

2

DavidRFZ t1_j6mw7n9 wrote

Yes, but that’s for people.

Interact can have a more general meaning of two things affecting each other. Alcohol can interact with your medication, etc.

Interact as a verb is more common.

Interface as a verb feels more corporate. I hear it a bit at work, but not common when talking about communicating with friends and family.

0

Thrawn89 t1_j6mvpr4 wrote

It's a great explanation, but a few issues with the metaphor's correctness.

The kids are all working on the exact same step of their individual problem at the same time. The classroom next door is on a different step for their problems. The entire school is the GPU.

Also replace kids with undergrads, and they don't work on 1+1 problems, they work on the exact same kind of problems the CPU does.

To translate, the reason they are undergrads and not mathematicians is because GPUs are clocked lower than CPUs so they don't do the individual work as fast. However the gap between mathematician and kids was a little too many orders of magnitudes.

Also, they do work on the same complexity of problems, GPUs have been more heterogeneous compute platforms than strictly graphics since the programmable shader model was introduced making them Turing complete. Additionally, the GPU's ALU and shader model is as complex as a C program these days.

The classroom analogy is what DX calls a wave and each undergrad is a lane.

In short there is no large difference between GPU and CPU besides the GPU uses what is called SIMD (single instruction, multiple data) architecture which is what this analogy was trying to convey.

Programs either CPU machine code or GPU machine code are basically a list of steps to do. CPUs run the program by going through each step and running it on a single instance of state. GPUs however, run the same step on multiple instances of state at the same time before moving onto the next step. An instance of state could be a pixel or a vertex or just a generic compute instance.

27

king_27 t1_j6mvk9n wrote

I honestly have no idea what a good salary is for a mathematician but according to google the average median salary is around $100k p/a in the US.

Let's say we're paying the 2nd graders in cookies and juice boxes, even if you're only spending $1 per child, that's still $100k per day as a minimum. The math checks out.

6

thodgson t1_j6mum1c wrote

"Interface" typically refers to the way in which two or more systems, devices, or pieces of software connect and communicate with each other. It can also refer to the point at which two or more things meet and interact, or to a user interface, which is the part of a software program that a person interacts with. For example, you might say "I'm having trouble interfacing my laptop and my printer."

On the other hand, "interact" refers to the action of communicating or exchanging information between two or more things. It implies a more active, reciprocal exchange between the participants. For example, you might say "The students were asked to interact with each other to build their communication skills."

So in summary, "interface" refers to the means of connecting and communicating, while "interact" refers to the actual act of communication or exchange of information.

3

tacetabbad0n t1_j6mud48 wrote

Your body requires salts to function. Without salts your neurons would cease to signal each other and the cells in your body would stop working.

If you just drunk ultra pure water you would die as it would flush the salts from your body.

The difference between a medicine and a poison is dosage. While sea water is saline and hydration fluids is saline, hydration fluids are 0.9% saline sea water sits around 35%.

4

BigDisk t1_j6mu8to wrote

You just made me compare whether it makes sense that hundreds of thousands of 2nd graders really are more expensive than 8 mathematicians.

I still could not come up with an answer.

EDIT: I'm getting downvoted and "um, ackshually"'d because of a dumb joke. Never change, Reddit.

4

tomalator t1_j6mu0do wrote

Iron actually takes more energy to fuse than it gives out. It's the first element to do that.

A star is actually inflated by the energy output of the fusion. What happens during a supernova is the star starts fusing iron, all of the sudden the star stops putting out massive amounts of energy. This causes the outer layers of the star to fall inward very quickly under the force of gravity. All of those layers slamming into the core causes all sorts of reactions. At once and the bounce back from that is a supernova. So much energy is released during that process that it can create all the other elements from iron to uranium. They all take more energy to create than their fusion gives, but there's no much energy at play that there's still enough left over in the supernova to continue exploding.

1

CyraFen t1_j6mtnuc wrote

all voluntary and sensory abilities are controlled and/or processed by the brain, as well as certain involuntary actions like consciousness, sleep, and breathing. because of the last bit, technically everything needs the brain because breathing provides oxygen, which is needed to produce energy for all cells to function.

certain involuntary actions don't necessarily require the brain though, like the beating of your heart, which has its own electrical system that lets it keep beating without input from the brain. however, the brain does regulate and modify it when necessary, like when you're scared and your heart rate goes up. there's probably a few more that i can't think of off the top of my head, but short answer is pretty much everything.

1