🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by mallyone Wed, 09 Nov 2005 20:42
pointers on binary (and text) threading/grouping.
#72607
Author: mallyone
Date: Wed, 09 Nov 2005 20:42
12 lines
1662 bytes
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...

thanks :)...
Re: pointers on binary (and text) threading/grouping.
#72606
Author: 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
Re: pointers on binary (and text) threading/grouping.
#72622
Author: mallyone
Date: Thu, 10 Nov 2005 19:19
8 lines
1512 bytes
Thanks Jeffrey,

I figured it was a pretty hairy problem but was hoping I might have
overlooked something and it was simpler than it appears.  Alas it
doesn't look that way :).

m...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads