home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / rec / video / 16285 < prev    next >
Encoding:
Text File  |  1993-01-23  |  2.9 KB  |  59 lines

  1. Newsgroups: rec.video
  2. Path: sparky!uunet!mcsun!fuug!anon
  3. From: an7689@anon.penet.fi
  4. Subject: VCR Plus+ PlusCodes
  5. Message-ID: <1993Jan23.095632.24584@fuug.fi>
  6. Sender: anon@fuug.fi (The Anon Administrator)
  7. Organization: Anonymous contact service
  8. X-Anonymously-To: rec.video
  9. Date: Fri, 22 Jan 1993 17:45:00 GMT
  10. Lines: 47
  11.  
  12.         
  13.                 I  don't  understand.   The Shirriff et  al.   article 
  14.         (hereafter  referred  to  as SWK)  has been out for  over  six 
  15.         months  and there hasn't been any good code based  on it.  The 
  16.         one  set of C code that was posted seems to  have  caused more 
  17.         trouble than anything else.   I  can write cleaner  code  than 
  18.         that on my worst day, and I wouldn't dream of calling myself a 
  19.         professional  programmer.   (Note:   This is *NOT*   a   flame 
  20.         against  the  poster  who,   at least,   made  the  effort  to 
  21.         contribute.)    So  here's my contribution,   in  two  pieces:  
  22.         source code and user's guide. 
  23.  
  24.             However,  the (slightly altered)  words of Kipling ring in 
  25.         my ears 
  26.  
  27.             If you can keep your head while all about you
  28.                Are losing theirs . . . you probably don't fully
  29.                     appreciate the situation.
  30.  
  31.             I don't quite understand why people are so secretive about 
  32.         this code, but I don't want to find out the hard way.  So, the 
  33.         source code contains no more information than  what appears in 
  34.         SWK.  It reverses the process  (encodes  PlusCodes rather than 
  35.         decodes) but, in order to be fully functional,  it requires  a 
  36.         192 element array of integers. The 192 slots correspond to the 
  37.         48 half-hour starting times beginning at  11:30 pm and working 
  38.         backwards to midnight.   The first 48 correspond to a duration 
  39.         of 30 minutes, the next 48 to 60 minutes, and so on for 90 and 
  40.         120  minutes.    They are  used to  store  the  "table number" 
  41.         described on page 230 of SWK.  Let I = index of the particular 
  42.         starting time/duration described two sentences ago.  Then V(I) 
  43.         = "table number" .
  44.  
  45.             Examples:  SWK reports the 0-th,  1-st,  2-nd,  and 191-st 
  46.         table entries are (6:30 pm,  30 min), (4:00 pm, 30 min), (7:30 
  47.         pm, 30  min) and (11:00 am, 90 min).  Under this scheme, (6:30 
  48.         pm, 30 min)  corresponds to the 11-th element of V, so V(11) = 
  49.         0.  In similar fashion, V(16) = 1, V(9) = 2, and V(122) = 191. 
  50.         I've filled in these values.  The rest are set at  -99,  which 
  51.         is recognized as "missing."
  52.  
  53.             P.S.  It's FORTRAN.
  54.  
  55. -------------------------------------------------------------------------
  56. To find out more about the anon service, send mail to help@anon.penet.fi.
  57. Due to the double-blind system, any replies to this message will be anonymized,
  58. and an anonymous id will be allocated automatically. You have been warned.
  59.