home *** CD-ROM | disk | FTP | other *** search
/ Fujiology Archive / fujiology_archive_v1_0.iso / !MAGS / STEN / STEN05.ZIP / STEN05.MSA / NEWS.TXT / HUMOUR1.ASC < prev    next >
Text File  |  2010-04-21  |  19KB  |  397 lines

  1.  
  2.                             AT THE FUNNY FARM
  3.                             =================
  4.  
  5. Some  'half kidding  - whole ernest'  articles,  which if I didn't have an 
  6. first hand experience of the computing industry,  would have dismissed  as 
  7. impossible and a figment of someones imagination. 
  8.  
  9.                                 ~~~OOOO~~~
  10.  
  11.               Program Design and Structured methodologies
  12.               -------------------------------------------
  13.  
  14.               In the producing of any computer program there is always
  15.          a  need for using a  structured design methodology, something
  16.          which is all to often left out.
  17.  
  18.               Now many of us already  use  a  design  system  for  our
  19.          programs,  but are we using the most eficcient method or not.
  20.          I fear not,  but do not  despair yet, for  this document will
  21.          teach you  exactly how to make  eficient designs for eficient
  22.          programs.
  23.  
  24.  
  25.  
  26.               1    Choose an outdated  language  such  as  Fortran  or
  27.                    Cobol (But never Basic, Pascal or C)
  28.                    The reasons for this are multifold, firstly in
  29.                    selecting an old and limited language, your boss
  30.                    cannot give you complicated programs to write, and
  31.                    this is a great advantage already over your
  32.                    collegues.  Secondly its much more convenient to
  33.                    write self modifying code in fortran or similair
  34.                    old languages, thus allowing a great deal more
  35.                    flexability.  Thirdly when your program dosnt work
  36.                    Its much easier to use the excuse that "the
  37.                    compiler Im using is a Fortran 66 compiler, and
  38.                    I am used to using a fortran 77 compiler".
  39.                    fourthly nobody else understands the language,
  40.                    meaning that you can really mess up the code
  41.                    and no one will notice, or keep correcting it,
  42.                    and best of all, after its written, you will
  43.                    be the only person who can maintain it, so no
  44.                    matter how little you do, they cant fire you.
  45.  
  46.  
  47.               2.   Carefully consider all the inputs, outputs and
  48.                    processing that is involved, and think of who
  49.                    else has written similair code, and consult them
  50.                    about the program.  If they prove difficult, check
  51.                    there hard disk while there out at lunch ( its
  52.                    always a good idea to take a disk editor with you
  53.                    in case they have deleted it, or have it in a
  54.                    hidden directory).  Further to this check for
  55.                    routines which have desirable side effects, they
  56.                    always brighten up the program, and ensure that
  57.                    youll be kept busy maintaining it at an
  58.                    extortionate price.
  59.  
  60.               3    Any further routines needed must be written by
  61.                    yours truly, and there is no avoiding detailed
  62.                    documentation for this.  Many people write out
  63.                    there documentation, on paper or on a computer,
  64.                    but both have the same two fallacies, firstly
  65.                    that paper, disks and computers can go missing,
  66.                    or burn, and are subject to a whole range of
  67.                    natural disasters, not dismissing coffee spills
  68.                    magnets, and lightning.  secondly there amazingly
  69.                    slow, boring and need too much effort.
  70.                    This leaves us with the best media for program
  71.                    design notes, grey matter.  Though the human brain
  72.                    is subject to many of the above natural disasters,
  73.                    But lets face it, if you get struck by lightning
  74.                    youll get loads of sick leave, so somone else will
  75.                    have to do the program anyway.
  76.                    So we have an instant read/write access media with
  77.                    almost infinite storage capabilities, with the side
  78.                    benifit that data stored within this media is
  79.                    almost imoervious to duplication and any other
  80.                    forms of piracy.
  81.  
  82.               4    While designing the program, there are a number of
  83.                    disputed points to remember.
  84.  
  85.               i)   Never program in a modular fasion, though more
  86.                    readable, it slows the program, and makes it too
  87.                    easy for a smart alec to understand, and then do
  88.                    you out of a job.
  89.  
  90.               ii)  Use gotos when convenient, and gosubs, youll find
  91.                    them quite unsurpassed at getting you out of loops
  92.                    and X-single entry single exit routines.  Fortrans
  93.                    goto is really good too, you can list different
  94.                    labels for different conditions. (The use of goto's
  95.                    is particularly good for screwing up folk trying to
  96.                    understand your code)
  97.  
  98.               iii) Nested loops are fun, especially when you use a
  99.                    goto to get out of them.  When doing this it is
  100.                    however advisable to define a lot of stack space
  101.                    before running the program.  Infact its almost as
  102.                    much fun as the next one, recursion.  Nested loops
  103.                    are also good for fancy graphics and sound
  104.                    routines.
  105.  
  106.               iv)  Recursion.  Now were talking, you can do
  107.                    mindbogglingly amazing things with recursion, it
  108.                    has to be the most efficient way ever devised to
  109.                    use up memory and processing time, coz say you
  110.                    programmed in a recursive routine to create
  111.                    solutions for the old towers of hanoi problem,
  112.                    and told it to do 1000 disks, it would store an
  113.                    array, or stack of 1000 elements for each move,
  114.                    which would probably be about the equivelant of an
  115.                    array of 2,500,000 elements.  You find recursion is
  116.                    especially fun with stacks, queues, arrays, or
  117.                    trees.  The other thing is the time this all takes,
  118.                    This is especially fun on mainframes, when it slows
  119.                    everything right down, giving you time to get fresh
  120.                    coffee between the sparse appearancess of the
  121.                    prompt on your screen.
  122.  
  123.               v)   Decisions.  Well this is an interisting
  124.                    concept, though it initially looks very boring,
  125.                    one sees that the hidden beauty of the if command
  126.                    lise in the way it augments the previous commands.
  127.                    secondly carefull use of the if command in
  128.                    conjunction with the goto command can create
  129.                    1-For Next loops
  130.                    2-Do While loops
  131.                    3-Repeat untill loops
  132.                    4-interesting loops
  133.  
  134.               5)   If you have completed the program without
  135.                    documenting it then youve learnt the most important
  136.                    rule of programming,
  137.                    FIGURE OUT THE DESIGN AFTER YOU WRITE THE PROGRAM
  138.  
  139.             *********************************************************
  140.             *\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\*
  141.             */I hope all who read this have enjoyed it, and if you /*
  142.             *\Want to encourage me to write more, then why not call\*
  143.             */DARK STAR Bullitin Board, 0224 571975 1200/2400 baud\/*
  144.             *\11pm-5:30pm weekdays/\/\/11pm-10am weekends\/\/\/\/\/\*
  145.             */\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\//\\/\/*
  146.             *\Written by Andy Gilmour 12-Nov-1990\/\//\\/\/\///\\\/\*
  147.             */Distribute freely/\/\/\/\/\/\/\/\/\/\///\\\/\////\\\\/*
  148.             *\/\/\/\/\/\/\/\/\//\\//\\//\\//\\//\\////\\\\/////\\\\\*
  149.             *********************************************************
  150.  
  151.                                 ~~~OOOO~~~
  152.  
  153.                              A NEW MILLENIUM
  154.                              ===============
  155.  
  156. Many users will be aware that the current Date algorithms used in
  157. computer systems will be unable to handle the digit change at the start
  158. of the year 2000. A coordinating committee has investigated the problem
  159. and produced a paper recommending immediate action in order to prevent
  160. widespread chaos.
  161.  
  162. The solution, elegant in its simplicity, is that the date will be reset
  163. to 1967, giving the technicians a further 23 years to solve the problem.
  164. Users are requested to facilitate this change by searching out and
  165. wearing any flared jeans, kaftans, multicoloured headbands or
  166. wide-collared shirts. Noddy Holder ties are however, not considered
  167. appropriate. Special "Computing is Cool" tie-dye T-shirts will
  168. be on sale at the usual distribution points and the Newsletter will, in
  169. future, be dipped in patchouli.
  170.  
  171. There will be some changes to Error Messages. A short guide to these
  172. changes follows:
  173.  
  174. New message                                Old message
  175. ===========                                ===========
  176. Like, cosmic man!                          Unexpected asterisk found
  177. Way out man!                               Array bound error
  178. Too much!                                  Filesize limit exceeded
  179. What a downer                              System crash
  180. Far out man!                               Segmentation violation
  181. Hey, that's cool!                          Compilation completed
  182. It's a gas!                                No boot disk in drive A
  183. Gotta split                                Spawned process activated
  184. Heavy scene                                Error limit exceeded
  185. I'm a Saggitarius                          Sign error
  186.  
  187.  
  188.                              Downloaded from JUSAVO BBS - Tel 0324 32414
  189.  
  190.                                 ~~~OOOO~~~
  191.  
  192. Q: How many Macintosh designers does it take to change a light bulb?
  193. A: One. He holds the bulb while the world revolves around him.
  194.  
  195. Q: How many IBM types does it take to change a light bulb?
  196. A: A hundred. Ten to do it and 90 to write documentation number GC7500439-0001
  197.    Multitasking Incandescent Source System Facility, of which 10 percent of
  198.    the pages state "This page deliberately left blank." and 20 percent of the
  199.    definitions are in the form "A whoopeedoo consists of sequences of
  200.    non-blank characters seperated by blanks."
  201.  
  202. Q: How many DEC employees does it take to change a light bulb?
  203. A: 2  people - Preliminary discussion on concept of change.
  204.    1  person - Devise and write formal bulb architecture.
  205.    2  people - Feasability study and timetable of events.
  206.    2  people - Produce four utilities to reduce screw-in time (in addition to
  207.                the electric utility).
  208.    1  person - Maintain ISO and DEC standards (sockets, voltage, AC/DC)
  209.    4  people - Commonality task force on bulb change.
  210.    15 people - Change bulb.
  211.    5  people - Perform bulb functional test.
  212.    2  people - Perform bulb load test.
  213.    3  people - Perform bulb regression test.
  214.    1  person - Perform bulb performance analysis.
  215.    1  person - Perform bulb bottleneck analysis.
  216.    1  person - Follow-up study (bulb merge feasibility).
  217.    1  person - Interface with Utilities Commision.
  218.    1  person - Interface with users. (Did they want incandescent when we only
  219.                supply non-tunable flourescent point product?)
  220.                BAX (Bulbs Are eXpensive)!
  221.    5  people - Perform BOSE (Build Other Socket Enhancements) compatibility/
  222.                architecture study.
  223.    3  people - ensure form (round/square, clear/frosted) follows function
  224.                (wattage, 120/240 volts, visible/ultraviolet, flashing,
  225.                flood/spot).
  226.    3  people - Implement temporary alternative bulb socket for already(!?)
  227.                existing, successful, and profitable socket (bulb-in-one).
  228.    5  people - Determine how to market/package/distribute temporary
  229.                alternative bulb socket.
  230.    10 people - Determine how to perform bulb change product split (control:
  231.                switches, dimmers; versus implementation: screw-in torque,
  232.                recovery strategies).
  233.    1  person - Interface with utilities commision QA group.
  234.    1  person - Submit to BDC (Bulb Distribution Centre).
  235.    1  person - Set up BPR (Bulb Problem Reports) system.
  236.    10 people - Answer customers BPRs.
  237.    11 people - Football team to challenge bulb changers.
  238.  
  239.  
  240.                                 ~~~OOOO~~~
  241.  
  242. Construction Project:  ATOM BOMB
  243.  
  244.  
  245. The  following paper is taken from the Journal of  Irreproducible 
  246. results, Volume 25 Number 4 1979.
  247.  
  248. -P O Box 234 Chicago Heights.
  249. Illinois 60411.
  250.  
  251. Subscriptions are $3.70 for a year.
  252.  
  253.  
  254. 1.  INTRODUCTION.
  255. =================
  256.  
  257.     Worldwide   controversy  has  been  generated  recently  from 
  258. several   court  decisions  in  the  United  States  which   have 
  259. restricted   popular  magazines  from  printing  articles   which 
  260. describe how to make an ATOMIC BOMB.  The reason usually given by 
  261. the courts is that National Security would be compromised if such 
  262. information were generally available.  But,  since it is commonly 
  263. known  that all of the information is publicly available in  most 
  264. major Metropolitian Libraries,  obviously the court's  officially 
  265. stated  position is covering up a more important factor;  namely, 
  266. that  such  atomic  devices would prove  too  difficult  for  the 
  267. average citizen to construct. The United States cannot insult the 
  268. vast  majorities  by  insinuating  that  they  do  not  have  the 
  269. intelligence of a cabbage, and thus the "official" press releases 
  270. claim National Security as a blanket restriction.
  271.  
  272.  
  273.     The  rumours  that have unfortunately occured as a result  of 
  274. widespread misinformation can (and must) be  cleared up now,  for 
  275. the  construction  project this month is the  construction  of  a 
  276. thermonuclear   device.   Which  will  hopefully  clear  up   any 
  277. misconceptions  you might have had about such a project.  We will 
  278. see how easy it is to make a device of your very own in ten  easy 
  279. steps,  to  have  and to hold as you see  fit,  without  annoying 
  280. interference from the government of courts.
  281.  
  282.  
  283.     The project will cost between $5,000 and $30,000 depending on 
  284. how  fancy  you want the final product to be.  Since  last  weeks 
  285. column,  "Let's make a time machine", was received so well in the 
  286. new  step-by-step  format,  this weeks column will follow in  the 
  287. same format.
  288.  
  289.  
  290. 2.  CONSTRUCTION METHOD.
  291. ========================
  292.  
  293. 1)  First,  obtain  about  50 pounds  (110Kg)  of  weapons  grade 
  294. Plutonium  at your local supplier (see note 1).  A Nuclear  Power 
  295. Plant  is  not  reccomended,   as  large  quantities  of  missing 
  296. Plutonium  tends to make the Plant Engineers unhappy.  We suggest 
  297. that you contact your local Terrorist Organisation or perhaps the 
  298. Scouts in your neighbourhood.
  299.  
  300. 2)  Please  remember that  Plutonium,  especially  pure,  refined 
  301. Plutonium,  is somewhat dangerous.  Wash your hands with soap and 
  302. warm  water  after handling the material,  and don't  allow  your 
  303. childern  or  pets  to play on it,  or  eat  it.  Any  left  over 
  304. Plutonium dust is excellent as an insect repellant.  You may wish 
  305. to  keep the substance in a lead box if you can find one in  your 
  306. local junk yard, but an old coffee can will do nicely.
  307.  
  308. 3)  Fashion together a metal enclosure to house the device.  Most 
  309. common  varieties  of sheet metal can be bent  to  disguise  this 
  310. enclosure as,  for example,  a briefcase, a lunch pail, or a Ford 
  311. Cortina. Do not however use Tin-foil.
  312.  
  313. 4)  Arrange  the  Plutonium  into  two  hemi-spheralical  shapes, 
  314. seperated by about 4 cm.  Use rubber cement to hold the Plutonium 
  315. dust together. Gelignite is much better but messier tp work with. 
  316. Your  helpful hardware man will be happy to provide you with this 
  317. item.
  318.  
  319. 5) Pack the TNT around the hemisphere arrangement constructed  in 
  320. step 4. If you cannot find Gelignite, feel free to use TNT packed 
  321. in play-do or any modeling clay. Coloured clay is acceptable, but 
  322. there is no need to get fancy at this point.
  323.  
  324. 6)  Enclose the structure from step 5 into the enclosure made  in 
  325. step 3.  Use a strong glue such as "super glue" to bind the hemi-
  326. sphere  arrangement  against the enclosure to prevent  accidental 
  327. detonation which might result from vibration or mishandling.
  328.  
  329. 7)  To  detonate  the device,  obtain a  radio  controlled  servo 
  330. mechanism,  as found in model planes and cars.  With a minimum of 
  331. effort, a remote plunger can be made that will strike a detonator 
  332. cap  to  effect a small explosion.  These detonator caps  can  be 
  333. found in the electrical supply section of your local supermarket. 
  334. We  recommend  the  "Blast-O-Matic"  brand  since  they  are   no 
  335. deposit-no return.
  336.  
  337. 8)  Now  hide  the  completed  device  from  the  neighbours  and 
  338. children.  The garage is not recommended because of high humidity 
  339. and the extreme range of temperatures experienced there.  Nuclear 
  340. devices  have  been  known to  spontaneously  detonate  in  these 
  341. unstable  conditions.  The hall closet or under the kitchen  sink 
  342. will be perfectly suitable.
  343.  
  344. 9)  Now  you  are  the proud owner  of  a  working  Thermonuclear 
  345. device!!  It's  a  great ice-breaker at parties,  and in a  pinch 
  346. could be used for national defence.
  347.  
  348.  
  349. 3. THEORY OF OPERATION.
  350. =======================
  351.  
  352.  
  353.    The  device basically works when the detonated TNT  compresses 
  354. the  Plutonium  into  a critical mass.  The  critical  mass  then 
  355. produces  a  nuclear chain reaction similar to the  domino  chain 
  356. reaction.  The  chain  reaction  then  promptly  produces  a  big 
  357. thermonuclear  reaction,  and  there you have it,  a  10  megaton 
  358. explosion!!
  359.  
  360.  
  361. 4. NEXT MONTHS COLUMN.
  362. ======================
  363.  
  364.  
  365.    In  next  months  column,  we will learn  how  to  clone  your 
  366. neighbour's  wife in six easy steps.  This project promises to be 
  367. an  exciting  weekend  full of fun  and  profit.  Common  kitchen 
  368. utensils will be all you need.  See you next month!!
  369.  
  370.  
  371. 5. NOTES.
  372. =========
  373.  
  374.  
  375. 1) Plutonium (PU),  Atomic number 94,  is a radioactive  metallic 
  376. element  formed  by  the  decay of Neptunium and  is  similar  in 
  377. chemical structure to Uranium, Saturium, Jupiternium and Marsium.
  378.  
  379.  
  380. 6. PREVIOUS MONTHS COLUMNS.
  381. ===========================
  382.  
  383.  
  384.    Let's make test-tube babies!            May 1979
  385.    Let's make a solar system               June 1979
  386.    Let's make an economic recession!       July 1979
  387.  # Let's make an anti-gravity machine!     August 1979
  388.    Let's make contact with an alien race!  September 1979
  389.  
  390. # No longer in print.
  391.  
  392.  
  393.                                 ~~~OOOO~~~
  394.  
  395.  
  396.  
  397.