Article View: news.software.nntp
Article #66905Re: New NNTP draft -- Section 4
From: Russ Allbery
Date: Tue, 21 Oct 2003 17:04
Date: Tue, 21 Oct 2003 17:04
38 lines
3260 bytes
3260 bytes
Dirk Nimmich <nimmich@muenster.de> writes:
> Russ Allbery wrote:
>> The expectation right now is that newsgroup names would always be in
>> some normalized form, which would make the results of such matching
>> deterministic. Given that, it's best, I think, to keep the matching
>> rules as simple as possible. As soon as one gets into thinking about
>> combined characters in a way that requires the server to be smart, the
>> server would have to link with extensive Unicode libraries and do
>> canonicalization, and that would be both slow and complex.
> The question is, what is slower? A) Build a normalized list of
> newsgroups once when the server is started and require the client to
> send only normalized forms (and so be able to do a simple byte-per-byte
> comparison) or b) say nothing and require the client to send all
> variations of a unicode string in a complex wildmat pattern (or in
> multiple patterns each doing a byte-per-byte comparison).
Well, the first sure sounds faster to me! :)
Particularly since I don't expect the server will need to build a
normalized list. My expectation is that hierarchy administrators will
only create already normalized groups, and that this will likely be
enforced by software down the road. It's already a requirement in the
draft UTF-8 newsgroup name proposal floated in USEFOR that all newsgroup
names be canonicalized on the wire.
> It's just a thought. I see that there is also the problem that the
> normalization form for newsgroups hasn't been chosen yet.
Yes. Hopefully we'll be able to leverage off some other effort rather
than having to invent our own wheel.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87brsa8qtr.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!151.164.30.35!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.fsf@windlord.stanford.edu> <bmtlc3$af0$06$1@news.t-online.com> <87oewdxgic.fsf@windlord.stanford.edu> <bn37in$2b1$04$1@news.t-online.com>Show Full Headers
Complete Article Headers
Message-ID: <87brsa8qtr.fsf@windlord.stanford.edu> Subject: Re: New NNTP draft -- Section 4 Date: Tue, 21 Oct 2003 10:04:48 -0700 From: Russ Allbery <rra@stanford.edu> References: <87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.fsf@windlord.stanford.edu> <bmtlc3$af0$06$1@news.t-online.com> <87oewdxgic.fsf@windlord.stanford.edu> <bn37in$2b1$04$1@news.t-online.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!151.164.30.35!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 38 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1066755888 11578 171.64.19.147 (21 Oct 2003 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux) Cancel-Lock: sha1:DMUU6PDAEpbYFX7zWcH/IsXRVZ0=