• 0 Posts
  • 58 Comments
Joined 1 year ago
cake
Cake day: June 24th, 2023

help-circle














  • Put #define true (rand()%1000 != 0) in some obscure C or C++ header file on their system/project. This makes true evaluate to false one in a thousand times, and will make them spend hours trying to figure out why things like infinite loops, aren’t quite infinite.

    Other languages should also allow you to do things like this, if not messing with constants, messing with standard library functions.






  • No. Conservation of mass and energy only prohibit the total mount of mass and energy changing. The universe could have always existed with that mass and energy. We have good evidence that a lot of mass and energy was spread out by the expansion of a much smaller universe around 13.8 billion years ago, but we don’t know what the universe was like before that, it could have always existed, or it could have been formed by the collapse of another universe, we don’t know for sure.

    Anyway, the laws of physics are just empirical observations, they have been proven wrong before. Einstein’s general relativity disagrees with Newton’s laws of motion and, further study reveled that Newton was (very subtly under normal conditions) wrong.