3 ms·
Back in programming class, we had people read some stuff from /dev/random (or was it urandom? I don't remember). Some built infinite loops, which drained the en
by tetha 13y ago
Back in programming class, we had people read some stuff from /dev/random (or was it urandom? I don't remember). Some built infinite loops, which drained the entropy pool of the kernel and caused the program to hang.
It was just glorious. They were confused. "Look, this print should be triggered all the time and spam like hell, but nothing is happening! Where could it hang!" they wondered. And you just sauntered over, looked at the program, pondered for a second... and poked the mouse to one side. 5 more lines appeared. Eyes flashed bright with confused understanding.