[comp.sys.mac] Monkey DA

ben@tasis.utas.oz.au@munnari.oz (Ben Lian) (11/10/89)

In article <5064@internal.Apple.COM> rmh@apple.com (Rick Holzgrafe) writes:
>In article <317@panix.UUCP> alexis@panix.UUCP (Alexis Rosen) writes:
>usually too many combinations to be tested in reasonable time, so you can 
>only test the more obvious ones. The Monkey is an *extra* test, one you 
>can run at night for example, that might through luck stumble across a bug 
>that your planned testing missed. *If* your planned testing is thorough, 
>*and* it finds no bugs, *and* the Monkey can't break your product, you can 
>ship with confidence!

*And* still have a buggy product!!

If the application is large and complex, I doubt that any amount of
conscientious testing can span the entire state space. That's why people
who claim that large-and-complicated-program-X is bugfree are invariably
talking through their hats. Why do you think they put those 'it's your
problem, pal' disclaimers in warranties. For example, reading the fine
print on my Word 4.0 disk package, I see a heap of 'thou shalt nots', plus
disclaimers which absolve the company from all liability in States whose
consumer laws are not that strong.

Note that I am not picking on Microsoft. Most other software products sold in
the USA contain almost exactly the same guff. Are people really that eager
to sue at the drop of a hat? Aww, I'm crapping on now....

I just want a program that does what it is supposed to do, and does it
properly. I can take the occasional crash, as long as it is not catastrophic,
i.e., wipes out my life's work, etc. etc.


Ben Lian

Dept of EE & CS, Uni of Tasmania, GPO Box 252C, Hobart TAS 7001, Australia
UUCP: ...!{uunet,ukc,mcvax,hplabs,nttlab}!munnari!tasis.utas.oz!ben
ACSnet: ben@tasis.utas.oz  Ph: 002-202380  Fax: 002-202713

pff@thumper.bellcore.com (Pete Ferris) (11/11/89)

In article <> alexis@panix.UUCP (Alexis Rosen) writes:
>In article <1083@diemen.cc.utas.oz> ben@tasis.utas.oz.au@munnari.oz (Ben Lian) writes:
>>In article <35975@apple.Apple.COM> chuq@Apple.COM (Chuq Von Rospach) writes:
>>>Actually, from talking to people I know at Microsoft, that *have* a Desk
>>>Accessory called "monkey" that will type in random keystrokes and mouse
>>>movements. It is part of their testing procedure -- just fire it up and let
>>>it whap away like a three-year-old would....

Yup, "Monkey" is a real, uhhhh "unique" DA!
I especially enjoyed watching it go down three folders deep one time renaming 
folder/files/apps such easy mnemonics as:"#&5*()zffb _|{" etc.!!

>>
>>I could be gullible enough to believe this. It's so far-out that it could
>>almost be true! Are you serious, Chuq? Confirmation would really make my
>>day, and heaven knows how much I need cheering up right now.
>
>Surely someone remembers???
>
I do! I do!

>Monkey was written by someone at Apple in 1983, before the Mac came out.
>There's even a low-level global somewhere that refers to it (I forget why).

(Hmmm, didn't know that!  Anyone know specifically what / why?)

>I'm surprised that this bit of ancient MacHistory still works. If it does,
>it should really be availablefrom APDA- it has the potential to save some
>people hours and hours of testing time...
>

Last time I ran Monkey DA on an HFS oriented system it pooped out - unexpectedly
quit, didn't do anything, etc.  Everything but what it was , uhh, "supposed"
to do!

As I recall, it started by a dialogue box - showing a monkey sitting at a terminal, asking you for a number and/or a "seed".  Then the fecal material hit the
ventilating device!

It WAS a riot in a sick sort of way!  I only ran it on systems I didn't 
especially care about!

I think of "Monkey" as a semi-sane virus/worm-like DA.  It can eat your lunch 
if you blink! It wasn't the kind of DA you'd install on the department
secretaries Mac and walk away and expect never to hear from her again - if you
know what I mean! :-)

I probably still have a copy somewhere - for sentimental reasons if nothing 
else.  If someone knows a fix to get it to run under 6.0.3 I'd love 
to hear it... :-)

>Alexis Rosen
>alexis@panix.uucp
>cmcl2!panix!alexis

Pete Ferris
pff@thumper.bellcore.com

erc@pai.UUCP (Eric Johnson) (11/13/89)

Last night on BIX (the Byte magazine Information eXchange), I saw
the target of the discussion about the Monkey DA.  Monkey is 
apparently a DA that asks you for a seed value and then generates
random events on your Macintosh.  (I say apparently because I
choose CANCEL from the dialog--I do not need my files renamed, 
for example, or anything else that could go wrong.)  From the
description, Monkey is very dangerous.  Use/Abuse with caution.

Since it is very short, I'm posting it here.  Since Monkey was 
available on McGraw-Hill's BIX bbs, I'm assuming it is freely
redistributable. If not, you have my apologies.

Are we having fun yet?
-Eric


To retrieve, cut everything up to the cut here line, and from the
second "cut here" line to the end.  Run through BinHex 4.0.

===================cut here======================================
(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!"`AD`!%!#&1G9"V!#T$k`!X-#X!+Y,!6R9+Z!R@C`!!PL"i#GC
"k!!3B3!!V#"i#GC)3T4S!!K)3T4S!!TC6dKi#$3[!UP1*"p1G8Ui#GCR!!"N)(J
*eN(S!"!ad!Rq-HJ!!JRm"RJ!+!Rm-G!*qJ4i!"!*qM(S!!B+!%(i#ITK!!"@)(J
*eNK#P'J!#%K#P'J!#Q#S3RJ*qM(m!!3*r$(m!"!*rM(m!Ii+!%(i#ITK!!!QB)K
"q!JdB3!!(%je51GJ`$m!9BqSBA!!-"q!hdK!60m$"Nje-#J!"*!!8'(Jd&!d!%K
#-#J!"T!!D!!#BG$3D!!#0!"C6bm),`+T6L3I6R8JE`!%51GrIf(-)F)+N!"-hrl
qF!!ZRdje!!!!J!1!!!!)B!2!%"Mm1&'%X!C54)ik)TLa`M*%[3)4!Vd#'B+p!J5
L[3)3[,d#)N#&!N&!J3*#J)d'N!"!J4+#)(&'J"!21-3-!F(#JR)!`H'Z!H$F9B"
"9kT"B1"e`%&!Mi&K6`B#32#!#+#!60$#"M9JS"8#)%T)bN!e-$@!(X!!!!!!!"F
!C!"N!,i!qJ!"!!!"!!!!!!6$3!&0)!!!!&S!"!!!!!!!2!!+!&!!4J3&8h4KFR3
!!!!!!!!m!&!!8!#-"!C$B@jMC@`!!!!!!!i!'!!Z!$LJ!Lrj!!!!!!!+!&d!'J#
#L!46C@9N!!!!!!!F!&`!,!#!N!!!!!!"!!!!"mm!!!E2!!!!GJ!!c#J"f!!!!"`
!EJ!$4&*@8J!!!#**3dp1!!!!,N4-6dF!!!!k4%P86!!!!%B!'J!!!!!!!!!!m6$
$32rr)!!&dJ!!m16$32rr)!!'9J!!m2$$32rr)!!'F3!!m2J(!%e[EQYPH5$D:
---
===================cut here======================================

-- 
Eric F. Johnson, Boulware Technologies, Inc. 
415 W. Travelers Trail, Burnsville, MN 55337 USA.  Phone: +1 612-894-0313. 
erc@pai.mn.org    - or -   bungia!pai!erc
(We have a very dumb mailer, so please send a bang-!-style return address.)