Thread View: news.software.readers
11 messages
11 total messages
Started by Ron Newman
Tue, 24 Jan 1995 13:05
Re: Broken newsreaders that don't understand cross-posting
Author: Ron Newman
Date: Tue, 24 Jan 1995 13:05
Date: Tue, 24 Jan 1995 13:05
28 lines
1929 bytes
1929 bytes
>>In other words..."Not running Unix? Let 'em eat cake."
>Not exactly, Oh insecure one.
>
>"Not running an OS with a filesystem that can link files? If you want to
>be a news server, you must have this feature."
You do not need "an OS with a filesystem that can link files" in order
to avoid storing and reading cross-posts more than once.
Let's say that an article is posted to
Newsgroups: alt.fan.babe-ruth,nyc.general,rec.sport.baseball
Then on a link-less OS, you could store the actual article in
.../spool/news/alt/fan/babe-ruth/457, with an appropriate Xref: header.
In ...spool/news/nyc/general/1004 and spool/rec/sport/baseball/10234,
you store this one-line file:
CROSS-POST alt.fan.babe-ruth:457
As long as your news-reader understands what to do with this,
everything should work fine.
--
Ron Newman MIT Media Laboratory
rnewman@media.mit.edu
Re: Broken newsreaders that don't understand cross-posting
Author: Piers Cawley
Date: Tue, 24 Jan 1995 17:19
Date: Tue, 24 Jan 1995 17:19
39 lines
3004 bytes
3004 bytes
In article <1995Jan24.130525.10683@news.media.mit.edu> rnewman@media.mit.edu (Ron Newman) writes:
>>In other words..."Not running Unix? Let 'em eat cake."
>Not exactly, Oh insecure one.
>
>"Not running an OS with a filesystem that can link files? If you want to
>be a news server, you must have this feature."
You do not need "an OS with a filesystem that can link files" in order
to avoid storing and reading cross-posts more than once.
Let's say that an article is posted to
Newsgroups: alt.fan.babe-ruth,nyc.general,rec.sport.baseball
Then on a link-less OS, you could store the actual article in
.../spool/news/alt/fan/babe-ruth/457, with an appropriate Xref: header.
In ...spool/news/nyc/general/1004 and spool/rec/sport/baseball/10234,
you store this one-line file:
CROSS-POST alt.fan.babe-ruth:457
As long as your news-reader understands what to do with this,
everything should work fine.
Of course you could do the sensible thing and implement the newsreader using a
nice database type thingy which stashes all the news in small number of files
and which holds a threading database for each newsgroup with pointers into the
core db. Then you don't start to suffer lossage on the grounds that your
stupid filesystem decides that every file should take up 8k. Now it may very
well be that this means it becomes tricky for an off the shelf newsreader to
access your newstree, but if you're running on an OS as damaged as
MS-DOG/Windoze nobody in their right mind is going to want to use you as a
server anyway...
--
Piers Cawley -- Systems Sheriff on the Frontier Internet Service
Frontier Internet -- Sellers of Web Space and Internet Connectivity
Re: Broken newsreaders that don't understand cross-posting
Author: Brad Templeton
Date: Tue, 24 Jan 1995 19:22
Date: Tue, 24 Jan 1995 19:22
29 lines
2277 bytes
2277 bytes
In article <1995Jan24.130525.10683@news.media.mit.edu>, Ron Newman <rnewman@media.mit.edu> wrote: >Let's say that an article is posted to > > Newsgroups: alt.fan.babe-ruth,nyc.general,rec.sport.baseball > >Then on a link-less OS, you could store the actual article in >.../spool/news/alt/fan/babe-ruth/457, with an appropriate Xref: header. > >In ...spool/news/nyc/general/1004 and spool/rec/sport/baseball/10234, >you store this one-line file: > > CROSS-POST alt.fan.babe-ruth:457 > >As long as your news-reader understands what to do with this, >everything should work fine. Well yes, but with the average net article at 2K bytes in size, and many operating systems clustering files in blocks of 1K or 2K, this is pretty wasteful. It also means doing two file opens to read a large number of articles. Now of course you can do news on these systems efficiently, but you simply don't use the filesystem. You use another database. There are many efficient database tools for DOS and other such systems. -- Brad Templeton, publisher, ClariNet Communications Corp. | www.clarinet.com The net's #1 Electronic newspaper (circulation 85,000) | info@clarinet.com
Re: Broken newsreaders that don't understand cross-posting
Author: Kai Henningsen
Date: Tue, 24 Jan 1995 19:44
Date: Tue, 24 Jan 1995 19:44
42 lines
2738 bytes
2738 bytes
rnewman@media.mit.edu wrote on 24.01.95 in <1995Jan24.130525.10683@news.media.mit.edu>:
> >>In other words..."Not running Unix? Let 'em eat cake."
Oops, Ron, no attributions?
> >"Not running an OS with a filesystem that can link files? If you want to
> >be a news server, you must have this feature."
> You do not need "an OS with a filesystem that can link files" in order
> to avoid storing and reading cross-posts more than once.
Very true, of course ...
> In ...spool/news/nyc/general/1004 and spool/rec/sport/baseball/10234,
> you store this one-line file:
>
> CROSS-POST alt.fan.babe-ruth:457
... ah, I always wonder about this mindset of "the way Unix does it is the
only way" - it's not even the only way possible on Unix, for crying out
loud!
There is no real need to keep every message as a single file. On the
contrary, that's incredibly wasteful.
News are kept in a database. The traditional way, where most of the
database mechanism is a Unix file system, is cheap to program. It's not
necessarily good.
On the other hand, if you do it yourself, you won't have any problems with
file system semantics, such as needing links, or limited inodes, or 14
char segment limits, or whatever; and you would probably get a *much*
faster system.
Kai
--
Internet: kh@ms.maus.de, kai@khms.westfalen.de
Bang: major_backbone!{ms.maus.de!kh,khms.westfalen.de!kai}
## CrossPoint v3.02 ##
Re: Broken newsreaders that don't understand cross-posting
Author: Kai Henningsen
Date: Tue, 24 Jan 1995 22:43
Date: Tue, 24 Jan 1995 22:43
14 lines
1627 bytes
1627 bytes
pdcawley@ftech.co.uk wrote on 24.01.95 in <PDCAWLEY.95Jan24171922@ftech.co.uk>:
> your stupid filesystem decides that every file should take up 8k. Now it may
> very well be that this means it becomes tricky for an off the shelf
> newsreader to access your newstree, but if you're running on an OS as
... then again you might offer the standard NNTP interface.
Kai
--
Internet: kh@ms.maus.de, kai@khms.westfalen.de
Bang: major_backbone!{ms.maus.de!kh,khms.westfalen.de!kai}
Re: Broken newsreaders that don't understand cross-posting
Author: Tim Pierce
Date: Wed, 25 Jan 1995 16:17
Date: Wed, 25 Jan 1995 16:17
32 lines
2276 bytes
2276 bytes
In article <5eS3Sa3EcsB@khms.westfalen.de>, Kai Henningsen <kai@khms.westfalen.de> wrote: >News are kept in a database. News is singular, incidentally. >The traditional way, where most of the >database mechanism is a Unix file system, is cheap to program. It's not >necessarily good. It's more flexible, however. Using the filesystem as your database makes it possible to apply any program that operates on ordinary files (i.e. nearly any program whatsoever) to the data. If you have to go to some length to pull files out of the database, you lose generality. You also run a greater risk of data corruption: accidental corruptions of the file system are often localized and easy to fix, which isn't always true of more complicated database solutions. The biggest win would probably to have a file system that used some reasonably efficient database technology to do its job, but that's pie in the sky for our purposes. And, of course, if you have to leap through hoops in order just to get crossposting implemented correctly, then you're probably right that you're better off just going directly to a database solution. -- Searching for: WWW repositories for Deaf and/or ASL information
Re: Broken newsreaders that don't understand cross-posting
Author: Paul Gilmartin
Date: Wed, 25 Jan 1995 19:28
Date: Wed, 25 Jan 1995 19:28
30 lines
2326 bytes
2326 bytes
Ron Newman (rnewman@media.mit.edu) wrote: : You do not need "an OS with a filesystem that can link files" in order : to avoid storing and reading cross-posts more than once. : Let's say that an article is posted to : : Newsgroups: alt.fan.babe-ruth,nyc.general,rec.sport.baseball : Then on a link-less OS, you could store the actual article in : .../spool/news/alt/fan/babe-ruth/457, with an appropriate Xref: header. : In ...spool/news/nyc/general/1004 and spool/rec/sport/baseball/10234, : you store this one-line file: : CROSS-POST alt.fan.babe-ruth:457 Aren't you merely adding another layer, that simulates the feature you claim is unnecessary? You don't need any OS at all if you're willing to code everything yourself. : As long as your news-reader understands what to do with this, : everything should work fine. And what if alt.fan.babe-ruth has a shorter expiry time than nyc.general? This is why news servers use directory links, rather than symbolic links. -- gil
Re: Broken newsreaders that don't understand cross-posting
Author: Kai Henningsen
Date: Thu, 26 Jan 1995 00:21
Date: Thu, 26 Jan 1995 00:21
54 lines
3566 bytes
3566 bytes
twpierce@quads.uchicago.edu wrote on 25.01.95 in <1995Jan25.161705.5116@midway.uchicago.edu>:
> >The traditional way, where most of the
> >database mechanism is a Unix file system, is cheap to program. It's not
> >necessarily good.
>
> It's more flexible, however. Using the filesystem as your
> database makes it possible to apply any program that
> operates on ordinary files (i.e. nearly any program
> whatsoever) to the data. If you have to go to some length
> to pull files out of the database, you lose generality. You
I believe that's very seldom important. On the other hand, with the
database approach, you gain speed, and you can gain other flexibility -
database operations are not always easy to do with the very primitive
"filesystem" database.
And if you really want to have the filesystem interface, well, on several
operating systems, the answer is simple (the implementation isn't
necessarily simple as well): make a filesystem driver on top of the
database. It *can* be done.
> also run a greater risk of data corruption: accidental
> corruptions of the file system are often localized and easy
> to fix, which isn't always true of more complicated database
> solutions.
That depends greatly on the respective database and filesystem design. On
both sides, I've seen incredibly fragile systems as well as incredibly
stable systems.
> The biggest win would probably to have a file system that
> used some reasonably efficient database technology to do its
> job, but that's pie in the sky for our purposes. And, of
> course, if you have to leap through hoops in order just to
> get crossposting implemented correctly, then you're probably
> right that you're better off just going directly to a
> database solution.
I have recently looked into newsreader implementation (I wanted to switch
to a Linux reader from my DOS reader). Besides these Unix readers being
incredibly ugly and awkward to handle (it seems impossible to handle large
volumes of articles this way), the "filesystem database" approach used
seems to me *very* primitive. The net result is that I'm disappointed and
stay with the DOS reader - at least as long as I find nothing better.
Maybe someday I'll write my own. The only *real* problem is time ...
Kai
--
Internet: kh@ms.maus.de, kai@khms.westfalen.de
Bang: major_backbone!{ms.maus.de!kh,khms.westfalen.de!kai}
## CrossPoint v3.02 ##
Re: Broken newsreaders that don't understand cross-posting
Author: Uwe Ohse
Date: Tue, 31 Jan 1995 20:03
Date: Tue, 31 Jan 1995 20:03
48 lines
3338 bytes
3338 bytes
Hello Kai, >I believe that's very seldom important. On the other hand, with the It is important as long as i haven't found a newsreader smart enough to understand grep -l kai@khms.westfalen.de /var/spool/news/some-group/* | xargs -i \ grep -li "netware\|novell" | xargs less Or something like that. Believe me, this is the way i grep through Tauschbau. >database approach, you gain speed, and you can gain other flexibility - >database operations are not always easy to do with the very primitive >"filesystem" database. The most common database operations on news are: read,read,read - as long as there are many readers using the server. In case of a relayer, storing news as single files is somewhat suboptimal, as far as speed is concerned. Well, you know how i would organize a database, don't you? >And if you really want to have the filesystem interface, well, on several >operating systems, the answer is simple (the implementation isn't >necessarily simple as well): make a filesystem driver on top of the >database. It *can* be done. Yes. You just need to build a NFS server above a NNTP server. Not too hard (read only). I don't know any other way to make a portable filesystem. >I have recently looked into newsreader implementation (I wanted to switch >to a Linux reader from my DOS reader). Besides these Unix readers being >incredibly ugly and awkward to handle They are easy to handle and have beautiful features :-) >(it seems impossible to handle large volumes of articles this way), That's what i think about XP, which is even unable to handle large databases (threading problems, 16 Bit CRC), is really slow in importing news into it's database, and got problems with crosspostings (it doesn't mark them as read in all groups, just in the one you read the article in). There is no decent killfile approach. [Insider on] Some years ago i tried to read Kunterbunt with CAT. Remember the "Abtreibung" discussion? It was really hard to get through the articles. Crosspoint is not much better then CAT, as far as killfiles and the handling of articles in the newsgroup overview are concerned. With strn reading KuBu is really fun. YMMV [Off]
Re: Broken newsreaders that don't understand cross-posting
Author: Wayne Davison, formerly davison
Date: Thu, 02 Feb 1995 20:52
Date: Thu, 02 Feb 1995 20:52
17 lines
1509 bytes
1509 bytes
According to Ron Newman <rnewman@media.mit.edu>: > In ...spool/news/nyc/general/1004 and spool/rec/sport/baseball/10234, > you store this one-line file: > > CROSS-POST alt.fan.babe-ruth:457 Rn has had LINKART support (for things like vms) for about 10 years. Rn's solution is to honor a single-line file like this: /usr/spool/news/alt/fan/babe-ruth/457 I does a simple check (if this support is turned on) comparing the article's file size, and, if small enough to fit in a tmp buffer, that the read line is a file reference, it opens that file instead. -- Wayne Davison wayne@trn.com
Re: Broken newsreaders that don't understand cross-posting
Author: Kai Henningsen
Date: Fri, 03 Feb 1995 20:00
Date: Fri, 03 Feb 1995 20:00
60 lines
3712 bytes
3712 bytes
uwe@tirka.gun.de wrote on 31.01.95 in <3gm51r$r7h@tirka.gun.de>:
> It is important as long as i haven't found a newsreader smart
> enough to understand
> grep -l kai@khms.westfalen.de /var/spool/news/some-group/* | xargs -i \
> grep -li "netware\|novell" | xargs less
> Or something like that. Believe me, this is the way i grep through
> Tauschbau.
Well, I already have most of it in this reader, and it's not really that
hard to implement :-)
> Well, you know how i would organize a database, don't you?
We phoned often enough on this :-)
> >I have recently looked into newsreader implementation (I wanted to switch
> >to a Linux reader from my DOS reader). Besides these Unix readers being
> >incredibly ugly and awkward to handle
>
> They are easy to handle and have beautiful features :-)
Well, they *do* have some nice features, but I'm prepared to skip some
features as long as the important ones (read, followup, reply, post) are
comfortable, which they really aren't in the readers I've tried so far.
> That's what i think about XP, which is even unable to handle large
> databases (threading problems, 16 Bit CRC), is really slow in importing
32 Bit CRC. And I've been able to fix the worst of the problems with some
additional programs I wrote :-)
> news into it's database, and got problems with crosspostings (it doesn't
> mark them as read in all groups, just in the one you read the article
> in). There is no decent killfile approach.
Well, it *does* mark them in all groups ... sometimes. I believe there's a
bug, and I'll try to find out how to write a fix one day soon :-)
As to kill files, you can always do-it-yourself, and I have. Furthermore,
there are several add-ons available that do it (just not the way I like).
> [Insider on] Some years ago i tried to read Kunterbunt with CAT. Remember
> the "Abtreibung" discussion? It was really hard to get through the
> articles. Crosspoint is not much better then CAT, as far as killfiles
> and the handling of articles in the newsgroup overview are concerned.
> With strn reading KuBu is really fun. YMMV [Off]
Well, it *does* vary :-) I've not yet had a problem I couldn't handle,
with one exception - the "emmanuel" spam.
Then again, I know how to program.
Kai
--
Internet: kh@ms.maus.de, kai@khms.westfalen.de
Bang: major_backbone!{ms.maus.de!kh,khms.westfalen.de!kai}
## CrossPoint v3.02 ##
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