home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / rec / video / 15305 < prev    next >
Encoding:
Text File  |  1993-01-01  |  1.8 KB  |  45 lines

  1. Newsgroups: rec.video
  2. Path: sparky!uunet!wupost!csus.edu!netcom.com!netcom!mjohnson
  3. From: mjohnson@netcom2.Netcom.COM (Mark Johnson)
  4. Subject: Re: VCR PLUS code conflicts in TV Guide
  5. In-Reply-To: pdh@netcom.com's message of Fri, 1 Jan 1993 05:00:30 GMT
  6. Message-ID: <MJOHNSON.93Jan1060504@netcom2.Netcom.COM>
  7. Sender: mjohnson@netcom.com (Mark Johnson)
  8. Organization: Netcom Online Communications Service
  9. References: <1993Jan1.050030.28763@netcom.com>
  10. Date: Fri, 1 Jan 1993 14:05:04 GMT
  11. Lines: 32
  12.  
  13. One "constructive" suggestion is to grab the C program that
  14. performs VCRPLUS _encoding_ .  It appeared yesterday in message
  15.   <1992Dec31.180816.7396@cs.wisc.edu>
  16. Using it you can generate your own code numbers that differentiate
  17. between channel 20 and 30.  (and you can test out the assertion
  18. that they do or don't collide to the same encoded number)
  19.  
  20.  
  21. It must have been a pleasant surprise to the VCRPLUS developers
  22. [well OK, at least it was to me :-)] that the math works out
  23. so handily:
  24.  
  25.       48 different start times (every hour and halfhour)
  26.       10 different show lengths (30,60,90,120,150,180,210,240,270,300 min)
  27.       64 different channels  {this is 2^6}
  28.       32 days per month  {this is 2^5}
  29.  
  30. Multiply these together and you get 983040 distinct possibilities
  31. each month.  Which fits very nicely into six decimal digits.  And
  32. which I myself think is pretty cool.
  33.  
  34. To be proprietary they mix the month and year into the encoding
  35. algorithm, so that each time-slot gets a different code number
  36. each month.  Otherwise crackers could just make a lookup table
  37. and the VCRPLUS people would lose royalties :-).
  38.  
  39. The six digit codes are used for "standard" shows: ones that don't
  40. begin at a weird time {e.g. 4:15} or run for a weird length { 45 min }.
  41. Weirdness is handled by the 8 digit codes which have room to do
  42. all manner of rude special cases :-).
  43.  
  44. MJ
  45.