home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / bbs / waffle / 4420 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  3.7 KB

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!europa.asd.contel.com!emory!tridom!wabwrld!willard!dawson
  2. From: dawson@willard.UUCP
  3. Newsgroups: comp.bbs.waffle
  4. Subject: Re: News/mail reader
  5. Message-ID: <sy3ouB1w165w@willard.UUCP>
  6. Date: Mon, 23 Nov 92 08:50:27 EST
  7. References: <30HmuB2w165w@eastwind.mcds.com>
  8. Organization: Willard's House BBS, Atlanta, GA -- +1 (404) 664 8814
  9. Lines: 94
  10.  
  11. chorn@eastwind.mcds.com (Christopher Horn) writes:
  12.  
  13. > dawson@willard.UUCP writes:
  14. > [initial argument deleted]
  15. > > Ok, let's have a counter example.  Supposing files are sorted by creation
  16. > > date/time (as would apparently be the case with your technique).  Suppose
  17. > > there were no new articles, and one was expired.  The users' join files
  18. > > are now out of sync:
  19. > > 
  20. > >     Before unbatching : 1, 2, 3, 4, 5
  21. > >     After unbatching  : 1, 2, 3, 4
  22. > Suppose that the files are not sorted by time/date, only resequenced.
  23. > (Renumbered might be a better term)
  24.  
  25. But, if you're resequencing them as they come in, they ARE sorted by creation
  26. date/time... as a side-effect.
  27.  
  28. >       Before resequence : 1, 2, 3, 4, 5
  29. >       Dupes killed      : 1, 2, 4, 5
  30. >       After resequence  : 1, 2, 3, 4
  31.  
  32. If { 1, 2, 4, 5 } are dupes and are erased, then only { 3 } is left?  Which
  33. would get resequenced to 1, as that's the highest unused number in your
  34. example...
  35.  
  36. > No join files are out of sync. I think this is what Kevin meant.
  37. > > -----
  38. > > Suppose there was one new article, and one was expired.  No change to the
  39. > > users' join files, but it now points one too high:
  40. > > 
  41. > >     Before unbatching : 1, 2, 3, 4, 5
  42. > >     After unbatching  : 1, 2, 3, 4, 5
  43. > You seem to be thinking they are numbered from 1 up, which is not really
  44. > the case. Take the lowest numbered file in the directory as the base.
  45.  
  46. Yes, I admit (again) that my arguments were based on inferences from previous
  47. discussion, and that I have not looked at the actual implementation of DupWeed.
  48.  
  49. >      Before unbatching : 1, 2, 3, 4, 5
  50. >      After resequence  : 2, 3, 4, 5, 6   (as per the expire one, add one)
  51. > This works because the lowest numbered files are also the oldest and should
  52. > be the first removed by an expire program (assuming my understanding of how
  53. > expire programs expire news...)
  54.  
  55. As I just pointed out.. sorted by d/t as a side-effect.
  56.  
  57. > > > Sounds rather simple to me.
  58. > > 
  59. > > Too simple, maybe?  I think I'll just avoid re-sequencing my articles.
  60. > Yes and no. Simple to do, and users don't wonder why articles jump from
  61. > 1856 to 1858, etc.. But, bad because :
  62. >    1. The INITIAL kill dupes, resequence will screw up the pointers
  63. >       no matter what you do. So the first time penalty is high if you
  64. >       have many users.
  65. >    2. You have to kill dupes, batch for downstream sites, and then
  66. >       do the resequence seperately for it to work right.
  67. > Also note for it to work right when getting news from multiple sites,
  68. > you have to search the article list from the oldest to the newest. If
  69. > you kill the dupe that is older, a user may have read it, and when
  70. > resequencing will mess up their join file.
  71.  
  72. True.  My own code kills the newer copy for each dupe found.  Otherwise,
  73. you just wind up reading the same messages again and again.. and when you
  74. go back to see why, the message you thought you had read is no longer
  75. there!  Talk about confusing to the avg user...
  76.  
  77. > > How does re-sequencing enhance the general operation of Waffle?
  78. > Aesthetic reasons?
  79. >  ---
  80. >  Christopher Horn           |  "We're all caught in a state of decay..."
  81. >  chorn@eastwind.mcds.com    |  The East Wind  +1 201 875 7063
  82.  
  83.  
  84. -- 
  85. dawson@willard.UUCP (Willard Dawson)
  86. gatech!vdbsan!willard!dawson
  87. emory!slammer!willard!dawson
  88. Willard's House BBS, Atlanta, GA -- +1 (404) 664 8814
  89.