🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #248603

Re: ? Jeff Relf has set a bad example.

#248603
From: Demented Traveler
Date: Tue, 14 Feb 2012 13:23
77 lines
5327 bytes
On 14/02/2012 2:23 AM, Russ Allbery wrote:
> You don't want to break that invariant.  Down that path lies servers
> adding advertisements to the bottom of every article that passes through
> the server.

That's a classic example of the slippery slope fallacy.

> You really do not want servers being "helpful" and munging
> the article and then propagating their mistakes and bugs and bad decisions
> on to everyone else who's unlucky enough to be downstream of them.

So is that.

> I think you're misstating the argument against Unicode message IDs,

I most certainly am not. I'm repeating almost verbatim what I read 
earlier in the thread. If someone misstated anything, then, it was not me.

> users don't care about them except as opaque strings.

Apparently, at least one or two users do. :)

> Making system-generated unique keys pretty is just a waste of effort.

But they're not. Apparently, some people even personalize theirs. If 
they had been generated by the injecting server using some kind of hash 
function from the outset, of course, then things would have been different.

> No, the people who did IDNA were much brighter than that.  :)  They
> understood the serious compatibility issues with adding Unicode to DNS, so
> they took a very aggressive encoding stance.  IDNA says that you convert
> Unicode domain names to an encoded form basically as soon as you touch
> them, and then everything you do with them uses the encoded form up until
> the point at which you display them to a user.  Then you decode them
> *only* at the very end, and only for display.

This is similar to what I was suggesting for the message-IDs: in 
particular, that transformations for the purpose of display shouldn't 
impact the under-the-hood representation passed from server to server.

> One of the huge advantages
> of this approach is that only users who care about Unicode domain names,
> and therefore have a reason to care to seek out updates, have to know
> anything about the encoding; to everyone else who doesn't care about those
> names, they just look like (kind of ugly) random domain names.

Seems like a perfect approach for message-IDs, and, for that matter, 
newsgroup names as well.

Well, clients need a well-defined path for round-tripping through copy 
and paste. If the user copies an IDNA-like-transformed display value and 
pastes it elsewhere it should undergo the inverse mapping. (Multiple 
representations shouldn't be a problem if the IDNAified version has a 
single representation for each semantically-different string; the one 
generated for display can be arbitrary, and the whole equivalence class 
can collapse back into the one IDNAified representation on paste.)

Of course, that assumes a broken-ish copy and paste that doesn't copy 
the under-the-hood value. That might be justified though so that if it's 
copied from the newsreader and then pasted into a text editor or 
whatever it comes out non-uglified and human-readable. Given the above 
round-tripping properties.

> But indeed this is one of the reasons why we were looking at Punycode (the
> IDNA encoding format) for newsgroup names as a route to Unicode.  I still
> think that's probably the best approach.

Agreed.

> Certainly if we wanted to pick an encoding format for newsgroup names or
> for message IDs, we should use one that people are already using since
> libraries are already available.  Rolling our own would be a particularly
> bad choice.

Hence why I suggested leveraging existing code for 
encoding/normalization, and pointed out one instance of such code that 
should already exist on every plausible target configuration.
Technical Details
Message-ID: <jhdn8c$sn$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.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!aioe.org!.POSTED!not-for-mail
References: <slrnjikokv.3g8.steve@news.mixmin.net> <jhb1r2$fqd$1@news.trigofacile.com> <Jeff-Relf.Me@2012_Feb.13^11.35.am> <jhbr4j$ddu$1@news.trigofacile.com> <jhcb00$sks$1@pcls6.std.com> <Jeff-Relf.Me@2012_Feb.13^5.53.pm> <Z@Z> <87lio6m2q9.fsf@windlord.stanford.edu> <jhcqa9$s64$1@speranza.aioe.org> <87hayum1kq.fsf@windlord.stanford.edu> <jhcrdq$ube$1@speranza.aioe.org> <87d39im0fd.fsf@windlord.stanford.edu> <jhcukh$4fu$1@speranza.aioe.org> <jhcvds$65k$1@speranza.aioe.org> <87vcn9lvyf.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <jhdn8c$sn$1@speranza.aioe.org>
Subject: Re: ? Jeff Relf has set a bad example.
Date: Tue, 14 Feb 2012 08:23:23 -0500
From: Demented Traveler <detravel@simic.net>
References: <slrnjikokv.3g8.steve@news.mixmin.net> <jhb1r2$fqd$1@news.trigofacile.com> <Jeff-Relf.Me@2012_Feb.13^11.35.am> <jhbr4j$ddu$1@news.trigofacile.com> <jhcb00$sks$1@pcls6.std.com> <Jeff-Relf.Me@2012_Feb.13^5.53.pm> <Z@Z> <87lio6m2q9.fsf@windlord.stanford.edu> <jhcqa9$s64$1@speranza.aioe.org> <87hayum1kq.fsf@windlord.stanford.edu> <jhcrdq$ube$1@speranza.aioe.org> <87d39im0fd.fsf@windlord.stanford.edu> <jhcukh$4fu$1@speranza.aioe.org> <jhcvds$65k$1@speranza.aioe.org> <87vcn9lvyf.fsf@windlord.stanford.edu>
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.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!aioe.org!.POSTED!not-for-mail
Newsgroups: news.software.nntp,alt.free.newsservers,news.software.readers
Organization: Simics
Lines: 77
NNTP-Posting-Host: pey7czwR0gmv4Sv993NaqA.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
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
 (CYGWIN_NT-6.0/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2
X-Notice: Filtered by postfilter v. 0.8.2
X-Original-Bytes: 5109