🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #58152

Re: comments on Jeremy's proposal

#58152
From: Jeremy
Date: Fri, 12 Apr 2002 19:49
94 lines
5651 bytes
Eric A. Hall <ehall@ehsco.com> wrote:

>> That would be prohibitively expensive, particularly in a single-part
>> group like a picture group, when you're dealing with information you
>> really want for every file in the group (like the MD5 and the size).
>> There's just no way someone is going to HEAD an entire picture group.
> 
> I'm not suggesting that they HEAD every article. I'm suggesting that they
> HEAD the articles they specifically want to download as part of a better
> overall strategy.

What I'm saying is that you need some of that metadata in order to decide
whether you want to download the post.  In particular, the MD5 must be
available pre-download for every file in the group, so you can determine
if you already have it, or that two different posts are the same file.
The filename should also be available, because it is the human-readable
version of "what file is in this post", and is used by humans to make
the "shall I download" decision.  You want those pieces of information
for *every* file in the group -- in a picture group, that means almost
every article in the group (unless perhaps the group is using my
"thumbnail post" idea, which would somewhat reduce the need for that).

You simply can't require a HEAD to get that information.

> Let's look at the normal practice here. Either the Subject header field
> has the filename in it, or the subject header describes the data ("picture
> of my poodle"), or the author is a known poster of quality material, or
> *something* about that message makes the user think they want to download
> it. In this regard, running HEAD on that article and getting information
> like the size, filename, MD5 and so forth is a feature.

No; in the picture groups, filenames are often used for this (it's probably
the single most-often used piece of data in making this decision).  The MD5
could be used for a more-automated version of this.

> Essentially, my argument is that you should be encouraging implementations
> to make better use of the features that are already there, rather than
> reinventing the features that aren't being used. Jamming all of this into
> the Content-Type header field is redundant with the existing headers *AND*
> it violates the model. Give them more information and maybe they'll start
> using it is all. It's not expensive to right-click on a message and "get
> full headers".

But it *is* expensive to get full headers for every post in a group, which
is what I'm trying to avoid by not putting various bits of important data
into random headers.

[filename in content-type]
> There may be an argument here that a filename parameter to content-type
> has meaning if the content-disposition is not specified, but that
> content-disposition takes precedence if it is defined and discovered.

I think that's exactly what I wrote; if the name is present in the
Content-Disposition header, and is different, it takes precedence over
a name in Content-Type.

>> The benefit of filename over ID or MD5 is that it is human-readable,
>> and provides a means of showing a user what is there.
> 
> On this point, I just want a clarification that the filename does not
> serve as an index point, excpet in some well-defined scenarios.

Okay, that makes sense.  But you have to understand that it *is* being
used as an index point right now, and users will still want to see it
before deciding whether to download something.  Posters changing filenames
is a big complaint in some picture groups, because then people can't tell
that it's stuff they already have.

> You also need to define the handling of reposted parts such that the user
> agents know that they need to use the ID of the original posting rather
> than making up a new one and relying on filename matches.

No, reposts use a different ID, but will have the same MD5.  The MD5 is
what a client can use to match up a repost with an original series.

>> There may not *be* a "first message".
>> 
>> Relying upon the first message in a series for non-crucial metadata is
>> fine, but I would be hesitant to "hide" the really important stuff
>> there.
> 
> If you don't have the first part (or a reposted version of it), then you
> don't have the file.

Well, right, a repost of the same data will do -- which means that you
may never see the "first message" in the original series.  And the whole
thing should still work anyway, as long as some other post contains the
appropriate data.  But the metadata in that "first message" is going to
be a bit different -- it may have been posted by a different person,
for example.

-- 
Jeremy  |  jeremy@exit109.com
Technical Details
Message-ID: <1018640976.192438@ok-corral.gunslinger.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!logbridge.uoregon.edu!hammer.uoregon.edu!enews.sgi.com!newspeer2.tds.net!sn-xit-01!supernews.com!saloon!newsbastard
References: <3CB535C6.138D3BFB@ehsco.com> <1018552315.763878@ok-corral.gunslinger.net> <3CB69CFD.79D100DF@ehsco.com>

Show Full Headers
Complete Article Headers
Message-ID: <1018640976.192438@ok-corral.gunslinger.net>
Subject: Re: comments on Jeremy's proposal
Date: Fri, 12 Apr 2002 19:49:36 +0000
From: Jeremy <jeremy@exit109.com>
References: <3CB535C6.138D3BFB@ehsco.com> <1018552315.763878@ok-corral.gunslinger.net> <3CB69CFD.79D100DF@ehsco.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!logbridge.uoregon.edu!hammer.uoregon.edu!enews.sgi.com!newspeer2.tds.net!sn-xit-01!supernews.com!saloon!newsbastard
Newsgroups: news.software.nntp
Organization: There Is No Organization
Lines: 93
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
X-Meow: Meow