Half a croissant, on a plate, with a sign in front of it saying '50c'
h a l f b a k e r y
You think: Aha! We go: ha, ha.

idea: add, search, annotate, link, view, overview, recent, by name, random

meta: news, help, about, links, report a problem

account: browse anonymously, or get an account and write.

user:
pass:
register,


         

Please log in.
Before you can vote, you need to register. Please log in or create an account.

Source Code Vandalizing Virus.

  (+1)
(+1)
  [vote for,
against]

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)

mofosyne, Jun 02 2012

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??!
oscil8, Jun 02 2012
  

       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.   

       Oh, how we laughed …
8th of 7, Jun 02 2012
  
      
[annotate]
  


 

back: main index

business  computer  culture  fashion  food  halfbakery  home  other  product  public  science  sport  vehicle