Ball to Ball Collision – Detection and Handling

With the help of the Stack Overflow community I’ve written a pretty basic-but fun physics simulator. You click and drag the mouse to launch a ball. It will bounce around and eventually stop on the “floor”. My next big feature I want to add in is ball to ball collision. The ball’s movement is broken … Read more

Cosmic Rays: what is the probability they will affect a program?

Once again I was in a design review, and encountered the claim that the probability of a particular scenario was “less than the risk of cosmic rays” affecting the program, and it occurred to me that I didn’t have the faintest idea what that probability is. “Since 2-128 is 1 out of 340282366920938463463374607431768211456, I think … Read more