🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72606

Re: pointers on binary (and text) threading/grouping.

#72606
From: Jeffrey M. Vinocur
Date: Wed, 09 Nov 2005 21:39
50 lines
2957 bytes
In article <1131568971.907414.229660@g43g2000cwa.googlegroups.com>,
 <mallyone@gmail.com> wrote:
>I've been working on a quick little script to grab usenet headers and
>would like to group the headers.  I've gone through what i had gathered
>and can't seem to find any place where there might be a parent child
>relationship with binaries (where as text threads seem to have this
>defined quite well).
>
>I was just curious if anyone had any pointers to resources or some
>psuedo code or suggestions on where I could start or a general idea for
>threading...

Well, you've got two separate issues here:

1.  Threading of articles that have References headers.

    This is a mildly complex but well-known and well-analyzed
    problem.  There's a very good approach described at
    http://www.jwz.org/doc/threading.html (and you can find
    implementations of it in all sorts of languages by Googling
    for "jwz threading").

    This newsgroup (and/or news.software.readers) is place to
    discuss this issue.


2.  Grouping multipart binary articles based only on the
    information embedded in the Subject line (and maybe aided by
    similarities in other headers).  This is a hairy problem with
    no definitive correct answer, a lot of corner cases, and a
    lot of complicated heuristics used to make a best
    approximation.  It's not a topic I know much about, but you
    can find some old threads discussing it easily, for example:

        http://tinyurl.com/88cjq
        http://tinyurl.com/chnz3
        http://tinyurl.com/cadrb

    As you can see from those threads, people do ask questions
    about this issue here periodically.  But fairly few people
    actually experienced with writing binary-aware software hang
    out here, and I imagine there are other groups (probably in
    alt.*) where you might find such people.  I don't know where
    it would be though.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <dktq9l$59m$1@puck.litech.org>
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!g2news1.google.com!news3.google.com!news.glorb.com!news.litech.org!not-for-mail
References: <1131568971.907414.229660@g43g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <dktq9l$59m$1@puck.litech.org>
Subject: Re: pointers on binary (and text) threading/grouping.
Date: Wed, 09 Nov 2005 21:39:01 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <1131568971.907414.229660@g43g2000cwa.googlegroups.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!g2news1.google.com!news3.google.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 49
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1131572341 5430 66.218.0.75 (9 Nov 2005 21:39:01 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Wed, 9 Nov 2005 21:39:01 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)