Nonviolent protests are twice as likely to succeed as armed conflicts – and those engaging a threshold of 3.5% of the population have never failed to bring about change.
IIRC that was caused by a buffer underflow, his probability to try to go nuclear was set to literally zero, which was stored in an unsigned int, and in-game policies reduced it further, causing a nuke-maxing ghandi
Nuclear Ghandi was mostly a myth until Civilisation V where it was deliberately programmed in.
Also the concept of an integer wrapping around below it’s minimum value is still integer overflow, just like wrapping above it’s maximum value. Underflow does exist in the context of floating point numbers, when a calculation produces a result too small to represent in the floating point schema.
Buffer overflow is putting more elements into an array than can fit in the array, therefore trying to write beyond the end of an array. They’re a super common form of vulnerability exploit, particularly in older programs written in C. Buffer underflow is when something consuming from a buffer consumes faster than it is filled, and so empties the buffer. I didn’t actually know this term before making this comment.
IIRC that was caused by a buffer underflow, his probability to try to go nuclear was set to literally zero, which was stored in an unsigned int, and in-game policies reduced it further, causing a nuke-maxing ghandi
Hey it’s me the fun ruiner here to ruin your fun.
Nuclear Ghandi was mostly a myth until Civilisation V where it was deliberately programmed in.
Also the concept of an integer wrapping around below it’s minimum value is still integer overflow, just like wrapping above it’s maximum value. Underflow does exist in the context of floating point numbers, when a calculation produces a result too small to represent in the floating point schema.
Buffer overflow is putting more elements into an array than can fit in the array, therefore trying to write beyond the end of an array. They’re a super common form of vulnerability exploit, particularly in older programs written in C. Buffer underflow is when something consuming from a buffer consumes faster than it is filled, and so empties the buffer. I didn’t actually know this term before making this comment.
Wow, that makes this thread all the more awesome. Thanks!