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