🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Russ Allbery Thu, 17 Oct 1996 00:00
Re: whining about >80 char lines (was Re: Testing my cgi-perl programming from in a regular PC)
#26994
Author: Russ Allbery
Date: Thu, 17 Oct 1996 00:00
44 lines
2942 bytes
In comp.lang.perl.misc, Mike Heins <mheins@prairienet.org> writes:

> If your software blindly and unnecessarily breaks existing software,
> with no payback, it is bad software.  Netscape is a good browser -- it
> is a lousy mailer and news agent.

> Even worse, Microsoft Exchange and the like are abominations.  I
> appreciate someone standing up for the user -- the one who benefits from
> being able to read files without the help of specific, sometimes
> monopoly-mandated, software.

It all comes back to the single most fundamental rule for writing any sort
of network program whatsoever:  Be conservative in what you generate and
liberal in what you accept.  My news reader (Gnus) *can* read MIME and
quoted-unprintable (and in fact does so transparently for me), *can* cope
with PGP signatures and hide them automatically for me, *can* deal with
lines greater than 80 characters and even wrap them for me on request, and
*can* deal with all sorts of horrible abominations that probably should
never have been posted in the first place.

On the other hand, when actually generating posts, it doesn't assume that
everyone else in the world has a newsreader as high-powered as Gnus.  So
it asks me if I'm sure before posting articles with lines longer than 79
columns, doesn't randomly mangle things with MIME and quoted-unprintable,
doesn't do bizarre things to attached files unless I tell it that's what I
want, and doesn't assume that everyone else in the world can handle the
latest and greatest extensions to everything.

The only good way to deal with broken software is persistant peer
pressure, the same way you deal with broken subject lines.  Tell them
their software is broken, tell them that you aren't reading their articles
because of it, and tell them what they're missing because they don't fix
it.  Or, the harsher measure, killfile the trademarks of broken software,
requiring them to either fix their software or be ignored.

The only reason why I don't killfile posts from Mozilla is because
X-Newsreader isn't in the overview database and I don't like the speed
hit.

-- 
Russ Allbery (rra@cs.stanford.edu)      <URL:http://www.eyrie.org/~eagle/>

Re: whining about >80 char lines (was Re: Testing my cgi-perl programming from in a regular PC)
#27010
Author: Tim Pierce
Date: Fri, 18 Oct 1996 00:00
45 lines
2211 bytes
In article <qumaftl52ao.thoron@cyclone.Stanford.EDU>,
Russ Allbery  <rra@cs.stanford.edu> wrote:

>The only reason why I don't killfile posts from Mozilla is because
>X-Newsreader isn't in the overview database and I don't like the speed
>hit.

The performance hit isn't too bad with this:

    # comp.lang.perl.misc				-*- Perl -*-

    use News::NNTPClient;

    sub init {
	$clpm = new News::NNTPClient ("uchinews.uchicago.edu");
	$clpm->group ("comp.lang.perl.misc");
    }

    sub local_score {

	my ($a) = @_;
	my (@mailer);

	@mailer = $clpm->xhdr ('X-Mailer', $a->{number}),
		  $clpm->xhdr ('X-Newsreader', $a->{number});

	if (grep /mozilla|microsoft/i, @mailer) {
	    score_art ($a, -1000);
	    return;
	}

    }

    sub done {
	$clpm->quit();
    }

-- 
"A person who dies of lung cancer at age 70 will not be hospitalized later
with another disease," said a study released Thursday by [Canada's] Imperial
Tobacco touting the benefits of early death in smokers on the health-care
system.  (Reuters, in the Chicago _Tribune_, 9/3/94)

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