h a l f b a k e r yLoading tagline ....
add, search, annotate, link, view, overview, recent, by name, random
news, help, about, links, report a problem
browse anonymously,
or get an account
and write.
register,
|
|
|
Please log in.
Before you can vote, you need to register.
Please log in or create an account.
|
It is a very simple virus. It spreads around dilly dallying.
However one day it stumbles across a sourcecode for something important. It often ignores it, but then one day, this bored virus decided to do one little modification to it.
It adds a single line to the code.
#define TRUE (rand()
% 100)
source of this idea
http://www.reddit.c...ost_control/c4v27rb [mofosyne, Jun 02 2012]
On defining division by Zero
http://www.nemitz.net/vernon/defdiv0.htm A little fable I wrote a while back. Can you identify the error? [Vernon, Jun 02 2012]
[link]
|
|
Here's a +1 for you - hey, where'd it go??! |
|
|
There used to be a little utility written for the
Idris (tiny UNIX) OS called 'PackRat' which did
something very similar to this. It could be set
to "nibble" at a user's code, making subtle
changes like substituting = for ==, or
rearranging the order of lines or function calls
so once-working ad debugged code would
suddenly "go wrong". Guaranteed to cause
long hours of overtime, sleep loss, paranoia
and eventual nervous breakdown. |
|
| |