home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky alt.folklore.computers:16345 rec.arts.startrek.misc:11744 rec.arts.startrek.tech:6368
- Newsgroups: alt.folklore.computers,rec.arts.startrek.misc,rec.arts.startrek.tech
- Path: sparky!uunet!panther!mothost!lmpsbbs!davesp
- From: davesp@ecs.comm.mot.com (Dave Spensley)
- Subject: Hidden Message (was Re: FORTRAN food synthesizer program)
- Organization: Motorola, Inc.
- Date: Tue, 17 Nov 1992 19:18:05 GMT
- Message-ID: <1992Nov17.191805.540@lmpsbbs.comm.mot.com>
- Summary: Sneaky programmer...
- References: <1992Nov13.123108.28930@umbc3.umbc.edu> <1dsp61INN5m6@usenet.INS.CWRU.Edu> <1e0djoINN6a6@usenet.INS.CWRU.Edu>
- Sender: news@lmpsbbs.comm.mot.com (Net News)
- Nntp-Posting-Host: 145.1.156.101
- Lines: 50
-
- In article <1e0djoINN6a6@usenet.INS.CWRU.Edu> rfd@po.CWRU.Edu (Richard F. Drushel) writes:
- >
- >In a previous article, cs202144@umbc8.umbc.edu (cs202144) says:
- >
- > [program repost deleted]
- >
- >>I wish I had C source code for this, but one thing I did was try to compile it
- >>as is in fortran on a DEC Unix Machine and a SGI Irix machine. On both it
- >>complained about an undefined dbl_ and I do not know fortran at all so beyond
- >>trying to run it through the compiler I am lost. Yes! I did edit out the
- >>message header and all that junk so that is not my problem.
- >
- [...stuff deleted...]
- >
- > BTW most of the program is obfuscation to impress a 1978
- >audience probably not familiar with computers. Here is a version I
- >translated into BASIC which may be a little easier to understand for
- >those who don't know any FORTRAN:
-
- Apparently this program is still obfuscating people. :-)
-
- >
- >1 REM SYNTHESIZER ALGORITHM FOR DR. MCCOY'S FAVORITE DISH
- >2 REM TRANSLATED INTO BASIC FROM THE FORTRAN IV PROGRAM ON PAGE XIII OF
- >3 REM "THE OFFICIAL STAR TREK COOKING MANUAL" BY MARY AN PICCARD
- >4 REM (NEW YORK: BANTAM BOOKS, 1978, 203 PP.) ISBN 0-553-11819-6
- >5 REM TRANSLATED BY RICHARD F. DRUSHEL 9211.11
- >100 DIM FOOD$(15),DISH$(15),PAN$(15),FRYER$(15),WAFFL$(15)
- >110 FOR X=1 TO 15: READ FOOD$(X): NEXT
- >120 DATA "S","I","H","T"," ","M","A","R","G","O","R","P"," ","S","I"
- >130 FOR X=1 TO 15: READ DISH$(X): NEXT
- >140 DATA "N","E","T","T","I","R","W"," ","N","I"," ","A","T","A","D"
- >150 FOR X=1 TO 15: READ PAN$(X): NEXT
- >160 DATA "L","A","R","E","N","E","G"," ","N","A","R","T","R","O","F"
- >170 FOR X=1 TO 15: READ FRYER$(X): NEXT
- >180 DATA "V","I"," ","T","I"," ","Y","A","M"," ","N","U","R"," ","N"
- >190 FOR X=1 TO 15: READ WAFFL$(X): NEXT
- >200 DATA "O"," ","K","N","U","J"," ","S","E","N","I","H","C","A","M"
- >210 PRINT FOOD$(1);WAFFL$(3);DISH$(2);FOOD$(12);DISH$(3);FRYER$(2);WAFFL$(13)
- [...more stuff deleted...]
-
- Has anyone looked at the data statements backwards? It reads "THIS PROGRAM IS
- WRITTEN IN DATA GENERAL FORTRAN IV IT MAY RUN ON JUNK MACHINES". (The funny part
- is most any of today's machines would run circles around a Data General of the
- late-70s era.) Just wondering if anyone else saw the hidden message... (No,
- I don't think there's a prize involved. :-)
-
-
- Dave Spensley
- davesp@ecs.comm.mot.com
-