Article View: alt.free.newsservers
Article #131017Re: Free Tera Has Gone Crazy
From: Deep Green
Date: Sun, 28 Nov 2010 21:33
Date: Sun, 28 Nov 2010 21:33
48 lines
3799 bytes
3799 bytes
On 28/11/2010 1:04 PM, VanguardLH wrote: > All the article numbers (indexing) would change and your newsreader > would see old articles as new articles. ... > > I recall a problem with a newsreader that simply couldn't handle > article numbers over a max value and would go nuts ... In my expert opinion as a computer software engineer, nearly all newsreaders are designed badly. What do users actually mark read? Specific articles (not article *numbers* as parochially assigned on some specific server) and everything-before-some-date (mark all read, mark as read by date, etc.). So, newsreaders should store read/unread info for a group as a date before which everything is considered read and after which everything is considered unread, plus a set of exceptions to that. Any time the user marks-all-read or catches up the exceptions are wiped out and the date is set to the current time. Exceptions build up afterward as they mark some posts read or unread, until the next time they mark-by-date, which wipes out all the "unread" exceptions prior to that date and sets the read-by date to the max of old-read-by date and the input date. And so forth. And the exceptions are stored as date-messageID pairs sorted by date. Posts are considered read if their messageID is in a "marked read" exception or is NOT in a "marked unread" exception AND the date header is earlier than the read-by date current for that group. Then the server can renumber things all it likes; if the client uses messageIDs to identify articles it won't muck things up for the user. The only reason using ranges of article numbers became a soft standard is because of legacy unix newsreaders that had to cope with the space limitations of the cramped machines of 20+ years ago. Nowadays we can afford the RAM and disk needed to use a scheme like the above, and that scheme will be robust when the server changes things around (and if the user draws from multiple servers). The one tricky point is handling crossposts. With manual marking as read or unread it can cross-reference the subscription list with the post's newsgroups list and create an exception for each crossposted subscribed group, though it probably should only do that for mark read. When marking as read by date it should just do the one newsgroup, and not go marking individual crossposted posts as read in other groups. The user's likely to catch up the other groups in a similar manner anyway, and if not, they might be uninterested in old articles specifically in the group they caught up but they might be more interested in articles in another group, even if crossposted between the two.
Technical Details
Message-ID:
<icuhqr$njf$1@speranza.aioe.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mailReferences:
<4cf25aed.2314484@news.albasani.net> <icu5cp$rjo$1@news.albasani.net>Show Full Headers
Complete Article Headers
Message-ID: <icuhqr$njf$1@speranza.aioe.org> Subject: Re: Free Tera Has Gone Crazy Date: Sun, 28 Nov 2010 16:33:17 -0500 From: Deep Green <d_green11908@gmail.com> References: <4cf25aed.2314484@news.albasani.net> <icu5cp$rjo$1@news.albasani.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail Newsgroups: alt.free.newsservers Organization: JCN Lines: 48 NNTP-Posting-Host: fnHU0ceQXfal2B3ULd0CYw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Alpine 1.10 (DEB 962 2008-03-14) X-Original-Bytes: 3533