🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
24 messages
24 total messages Started by Egil Kvaleberg Sat, 07 Dec 1996 15:33
Announcing NewsX
#13080
Author: Egil Kvaleberg
Date: Sat, 07 Dec 1996 15:33
103 lines
4453 bytes

	     NewsX - An NNTP client for posting and fetching news
	     ====================================================

			      Version 0.1
		       Written by Egil Kvaleberg
				    
				 ------

NewsX is an NNTP client for Unix. It will connect to a remote NNTP server
and post outgoing articles batched by the news system, as well as fetch
incoming articles.

It provides the NNTP capabilities required for small local news spools on
installations with NNTP access only through limited ISP accounts. It works
well via a dialup SLIP/PPP connection.

- Compatible with Cnews and INN local news servers.

- Comprehensive error recovery for posting as well as for fetching. Failed
  postings will be retried at the next opportunity, while fetching will
  resume at the point where it stopped.

- Very little user configuration required, it relies on the standard
  Cnews and INN mechanisms (active and sys or newsfeeds files) for
  setting up newsservers and newsgroups.

- Logging to syslog of errors that occurred, as well as article transfer
  statistics.

- Optional log file for actual articles posted, and collection of posted
  articles in folders.

- Has been designed to be nice, so as not to overload the remote news 
  server.

- Uses only standard RFC-977 functions, so should be compatible with the
  vast majority of news servers.

- Refers to news history database to prevent fetching of articles already 
  in the local spool. Will not fetch crossposted articles more than once. 
  Does not rely on Xref, since many sites does not provide it.

- Allows NNTP access relayed by other means than via an actual NNTP port,
  for instance via a normal telnet shell login session.
  
NewsX was written in C under Linux, and should be quite portable.  
Unassisted system configuration via autoconf.


PULLING NEWS
------------

News transfer via fetching (sucking, slurping, pulling) to local news
spools is sometimes claimed to be an inefficient way of transferring news.

The fact of the matter is that if set up and used correctly, exactly the 
opposite is the case. 

A local news spool allows news transfer to occur at off-peak hours, 
thereby decreasing the host server load in the critical period. This will 
tie up less modems at peak hours, as well as decreasing the connect time 
since the actual transfer will run much quicker.

Much of the problems connected with news pulling is connected to the use 
of the RFC-977 NEWNEWS command. Most news servers has implemented this
command in an inefficient manner, which will put severe loads on the 
newsserver. NewsX does not use NEWNEWS.


LEGAL MATTER
------------

Copyright 1996 Egil Kvaleberg

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.


AVAILABLE FROM
--------------

ftp://ftp.sn.no/user/egilk/newsx-0.1.tar.gz

Soon to appear at:

ftp://sunsite.unc.edu/pub/Linux/system/News/newsx-0.1.tar.gz

Egil
-- 
Email: egilk@sn.no  Voice: +47 22523641, 92022780 Fax: +47 22525899
Snail: Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
URL:   http://home.sn.no/home/egilk/

Re: Announcing NewsX
#13091
Author: Alec Muffett
Date: Sun, 08 Dec 1996 00:00
53 lines
2312 bytes
jik@cam.ov.com (Jonathan I. Kamens) writes:

> What makes this package better than suck?
> And if it has some specific features that make it incrementally better
> than suck,

Oh hush now Jonathan, be nice; there's nothing wrong with implementing
the same software twice - three times if you include my version of
something similar (SnarfNews) which I announced a couple of weeks ago,
and you didn't take *me* to task for that...

Four times if you include "slurp".

> then why didn't you implement them as improvements to suck,
> rather than writing a new package entirely from scratch?  What's the
> point of all that wasted effort?

To answer that question from *my* point of view, I'd say:

1) hack value

2) opportunity to learn something new

3) most of my code was extant before "suck" but unposted, so how would
   you argue that?

4) why hack someone else's code when it's faster to write your own?
   (this does, of course, depend on the programmer concerned)

5) choice of language (I'm a perl freak, "suck" is in C)

6) choice of paradigm - toolkit versus monolithic utility (how easy
   would it be to wire PGP or e-mail transports into "suck"?)

7) opportunity to be creative (to "throw one away" a-la Fred Brooks)

So, in short: be nice.  The world's too small to flame people about
stuff like this...  

For all you know, Egil might be the next Spencer or Salz.  8-)

	- alec

ps: SnarfNews - a USENET transport toolkit - available from the
website below; feel free to pull a copy and flame me via e-mail. 8-)

--
		    alec muffett, oxford, england
    please reply to: alecm @ crypto.dircon.co.uk (without spaces)
		http://www.users.dircon.co.uk/~crypto/

Re: Announcing NewsX
#13097
Author: Jonathan I. Kamens
Date: Sun, 08 Dec 1996 00:00
12 lines
926 bytes
What makes this package better than suck?

And if it has some specific features that make it incrementally better
than suck, then why didn't you implement them as improvements to suck,
rather than writing a new package entirely from scratch?  What's the
point of all that wasted effort?

-- 
Jonathan Kamens  |  OpenVision Technologies, Inc.  |   jik@cam.ov.com

Re: Announcing NewsX
#13099
Author: Alexander Sanda
Date: Mon, 09 Dec 1996 00:00
45 lines
2261 bytes
In article <m3hglw21do.fsf@crypto.dircon.co.uk> 
Alec Muffett <alecm@crypto.dircon.co.uk%antispam> wrote:

 >Oh hush now Jonathan, be nice; there's nothing wrong with implementing
 >the same software twice - three times if you include my version of
 >something similar (SnarfNews) which I announced a couple of weeks ago,
 >and you didn't take *me* to task for that...
 >
 >Four times if you include "slurp".

Five times, if you include newsflash :-)
And, I think, there are some more NNTP clients available. Recently, I
saw a perl-based NNTP client (didn't remember the name).

 >2) opportunity to learn something new
 >
 >3) most of my code was extant before "suck" but unposted, so how would
 >   you argue that?
 >
 >4) why hack someone else's code when it's faster to write your own?
 >   (this does, of course, depend on the programmer concerned)

Agreed. It happens often enough. To hack some source, you first have to
understand, how it works. This can be somewhat difficult, especially if
the source isn't documented.

In some cases, it _is_ better (and faster) to start from scratch.

 >7) opportunity to be creative (to "throw one away" a-la Fred Brooks)
 >
 >So, in short: be nice.  The world's too small to flame people about
 >stuff like this...  

Completely true. Flaming someone for writing useful software and
releasing it for _free_ is stupid, sorry.


-- 
#  /AS/   mailto:alex@darkstar.ping.at           God save the screen ! #
#  http://members.ping.at/alexa/                powered by Linux  2.0  #
------------------------------------------------------------------------


Re: Announcing NewsX
#13102
Author: Goran Larsson
Date: Mon, 09 Dec 1996 00:00
35 lines
1924 bytes
In article <58equ0$40c@pad-thai.cam.ov.com>,
Jonathan I. Kamens <jik@cam.ov.com> wrote:
> What makes this package better than suck?

As one that are going to take a serious look at NewsX I can give
a couple of reasons:

  1) Don't have to change that bogous "void main" to "int main" for
     each new suck version.

  2) Don't have to change "anything\r\n" to "anything\n" for log
     messages (but not for NNTP messages) for each new suck version.

  3) Don't need to add fflush() in several places just to get the
     logfile out of the stdio buffers for each new suck version.

  4) Don't need to have a temp directory for downloaded messages with
     one file for each article.

  5) Don't need 202 lines of shell script just to handle:
      Locking.
      Safety net for sucknewsrc if suck crashes.
      Handling of error logs and logs.
      Injecting the batches to C-news or UUCP.

I have had plans to write my own "sucking" program, but from what I have
seen of NewsX so far, I don't have to.

-- 
 Goran Larsson                mailto:hoh@approve.se
 I was an atheist,            http://home1.swipnet.se/%7Ew-12153/
 until I found out I was God.

Re: Announcing NewsX
#13120
Author: Greg
Date: Mon, 09 Dec 1996 00:00
20 lines
1582 bytes
In article <58hu4u$2am@paperboy.osf.org>, Rich Salz wrote:
>In <58equ0$40c@pad-thai.cam.ov.com> jik@cam.ov.com (Jonathan I. Kamens) writes:
>>And if it has some specific features that make it incrementally better
>>than suck, then why didn't you implement them as improvements to suck,
>>rather than writing a new package entirely from scratch?  What's the
>>point of all that wasted effort?
>
>I'm sure you wrote this paragraph very carefully, but the last sentence
>is the "tail that wags the dog."  It really sounds like you are being
>negative about someone having written a new NNTP package.  If you are,
>then you're wrong.  Multiple implementations are a good thing.  And if
>you really do intend to express a self-admitted uninformed opinion that
>someone wasted their time, then you're not only wrong but being rude.
>	/r$

You'd better watch out.  Now he'll want to know you why you wasted all that
effort on INN, instead of just tacking a few little thingies onto B or C.

Re: Announcing NewsX
#13134
Author: Egil Kvaleberg
Date: Mon, 09 Dec 1996 00:00
59 lines
3245 bytes
On 8 Dec 1996, Jonathan I. Kamens wrote:

> What makes this package better than suck?

Didn't you read the bullet points?

The main point is that it is *different* from suck. I did consider using 
suck for myself, but after reviewing it quickly decided it wasn't what I 
wanted for a number of reasons.

This was a year ago, I know suck has been improved and has changed in the
meantime. But AFAIK you still have to maintain a separate group and server
configuration for each of your news sources in parallel to the list of
active newsgroups and servers in the news spool itself. Also, in suck,
posting is a separate process. Most importantly, I felt unsure about its 
approach towards file locking and error handling.			    

NewsX is much more "integrated" with the local news spool. For better 
and for worse, I presume. 

NewsX has the added advantages that it relies on standard RFC-997 only, 
that it might be somewhat easier on the news server, and it has various 
ways of fetching news via untraditional means, like NNTP relayed over
Telnet. The latter is important since many ISPs do not use NNTP 
authorization, but instead relies on IP matching for access control. 
 
> And if it has some specific features that make it incrementally better
> than suck, then why didn't you implement them as improvements to suck,
> rather than writing a new package entirely from scratch? What's the
> point of all that wasted effort?

Wasted effort? Writing a program like this isn't *such* a big deal after
all. Suck was a couple of thousand lines when I looked at it, NewsX is
twice that. 

Yes, I *did* consider hacking suck, but found that I would be more
comfortable starting from scratch. Many things are much easier to design
in from scratch than to add as an afterthought.

I have also reviewed slurp, which was more to my liking in terms of
structure and impression of robustness, and considered rewriting it so as
to not use NEWNEWS. The biggest problem with that was that slurp simply is
not free software. Something I find the more objectionable considering
that significant parts of slurp were taken from free programs. But that is
another discussion. 

NewsX is different, and will give people a choice. If you have a problem
with that, fine - but I must admit I have problems mustering much
sympathy. 

Egil
-- 
Email: egilk@sn.no  Voice: +47 22523641, 92022780 Fax: +47 22525899
Snail: Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
URL:   http://home.sn.no/home/egilk/


Re: Announcing NewsX
#13137
Author: Rich Salz
Date: Mon, 09 Dec 1996 00:00
16 lines
1343 bytes
In <58equ0$40c@pad-thai.cam.ov.com> jik@cam.ov.com (Jonathan I. Kamens) writes:
>And if it has some specific features that make it incrementally better
>than suck, then why didn't you implement them as improvements to suck,
>rather than writing a new package entirely from scratch?  What's the
>point of all that wasted effort?

I'm sure you wrote this paragraph very carefully, but the last sentence
is the "tail that wags the dog."  It really sounds like you are being
negative about someone having written a new NNTP package.  If you are,
then you're wrong.  Multiple implementations are a good thing.  And if
you really do intend to express a self-admitted uninformed opinion that
someone wasted their time, then you're not only wrong but being rude.
	/r$

Re: Announcing NewsX
#13140
Author: Alexander Sanda
Date: Tue, 10 Dec 1996 00:00
51 lines
2834 bytes
In article <58kgeo$ada@pad-thai.cam.ov.com> 
Jonathan I. Kamens <jik@cam.ov.com> wrote:

 >I do not agree that there is positive benefit in implementing the same
 >software multiple times just for the sake of having multiple
 >implementations.  If they're all functionally equivalent, then I see no
 >net gain and a significant net loss.  In particular:

Ok, thats your opinion. But why do we have at least 10 or more (I don't
know the exact number) different wordprocessors for Windows ? Why do we
have different operating systems for the same hardware platform ? 

Word processors for example, are almost identical. There aren't many
things which can be done by program x and can't be done by program y.

In most cases, the differences are marginal, but they _are_ present. It
is a matter of personal taste. Some people like Word, some don't, they
prefer Wordperfect instead.

Same for the current discussion about NewsX and other existing NNTP
clients.

IMHO, there is _no_ perfect implementation for any kind of software.

According to your opinion, every re-implementation of an existing
software is wasted time. It's an opinion, I really cannot agree with.

 >* Users are faced with a "which one should I use?" question which is
 >pointless if all the packages effectively do the same thing.

Sometimes, the question "which one" may be a good thing. Personally, I
like to have a choice.

 >You can "learn something new" by implementing something yourself
 >without releasing it to the world when there are already n other
 >packages that do the same thing released to the world.

Yes, but why shouldn't I release my work ? Even if I did it only in order
to learn something new, it is a good idea to give it away. Other people
may use it, they may find bugs & flaws in my software. Eventually, they
will inform me about the bugs, and I'll continue to learn...


-- 
#  /AS/   mailto:alex@darkstar.ping.at           God save the screen ! #
#  http://members.ping.at/alexa/                powered by Linux  2.0  #
------------------------------------------------------------------------


Re: Announcing NewsX
#13152
Author: James Brister
Date: Tue, 10 Dec 1996 00:00
21 lines
1226 bytes
hoh@approve.se.NO_JUNK_EMAIL (Goran Larsson) writes:

> As one that are going to take a serious look at NewsX I can give
> a couple of reasons:
> 
>   1) Don't have to change that bogous "void main" to "int main" for
>      each new suck version.

[ etc. ]

Have you sent such reports to Robert Yetman? Getting feedback from the users
is very important in free software, as there is no full-time QA department
to do independant testing/qualification for the programmer.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium    http://www.isc.org/isc   inn@isc.org 

Re: Announcing NewsX
#13155
Author: Jonathan I. Kamens
Date: Tue, 10 Dec 1996 00:00
14 lines
1120 bytes
In article <%Eq6qyceBv@big.thought>, Egil Kvaleberg <egilk@sn.no> writes:
|> Didn't you read the bullet points?

Yes I did, and I was not able to determine from them what makes NewsX
significantly different from suck (which I use), which is why I asked. 
It is now clear to me that what you've done is significantly different
from suck (and probably from the other packages out there as well). 
Thank you for clarifying.

-- 
Jonathan Kamens  |  OpenVision Technologies, Inc.  |   jik@cam.ov.com

Re: Announcing NewsX
#13158
Author: Egil Kvaleberg
Date: Tue, 10 Dec 1996 00:00
22 lines
1430 bytes
On Sat, 7 Dec 1996, Egil Kvaleberg wrote:

> NewsX was written in C under Linux, and should be quite portable.  

A number of portability problems has now been addressed. The revised
version is available from: 

        ftp://ftp.sn.no/user/egilk/newsx-0.2.tar.gz

Thanks for all your input - I had no idea that the program would migrate
to so many different Unices so quickly.

Egil
-- 
As soon as we started programming, we found to our surprise that it wasn't as
easy to get programs right as we had thought. Debugging had to be discovered.
I can remember the exact instant when I realized that a large part of my life
from then on was going to be spent in finding mistakes in my own programs.
		-- Maurice Wilkes discovers debugging, 1949

Re: Announcing NewsX
#13168
Author: Dan Tedrick
Date: Tue, 10 Dec 1996 00:00
15 lines
1185 bytes
Jonathan I. Kamens wrote:

> I do not agree that there is positive benefit in implementing the same
> software multiple times just for the sake of having multiple
> implementations.  If they're all functionally equivalent, then I see no
> net gain and a significant net loss.  
> 

maybe one of these days we will just have one version of unix as well,
sure would solve all those porting headaches   ;)

Dan Tedrick

Re: Announcing NewsX
#13174
Author: Jonathan I. Kamens
Date: Tue, 10 Dec 1996 00:00
72 lines
4016 bytes
(My News server didn't get Alec's posting, which is why I'm replying to
it as part of my reply to Alex's.)

In article <slrn5aono5.1e9.alex@darkstar.ping.at>, alex@darkstar.ping.at (Alexander Sanda) writes:
|> In article <m3hglw21do.fsf@crypto.dircon.co.uk> 
|> Alec Muffett <alecm@crypto.dircon.co.uk%antispam> wrote:
|> 
|>  >Oh hush now Jonathan, be nice; there's nothing wrong with implementing
|>  >the same software twice - three times if you include my version of
|>  >something similar (SnarfNews) which I announced a couple of weeks ago,
|>  >and you didn't take *me* to task for that...
|>  >
|>  >Four times if you include "slurp".
|> 
|> Five times, if you include newsflash :-)

I do not agree that there is positive benefit in implementing the same
software multiple times just for the sake of having multiple
implementations.  If they're all functionally equivalent, then I see no
net gain and a significant net loss.  In particular:

* Users are faced with a "which one should I use?" question which is
pointless if all the packages effectively do the same thing.

* Efforts to improve the software will be split among the various
packages, rather than everyone focusing their improvement efforts on
one package and making it that much better.

* Usage will divide among the various packages, which means that
they'll all get less testing and therefore they'll all be less robust.

If a package's code is so incredibly gross that it's easier to ignore
it and start from scratch than it is to fix it, that's a good reason to
release a new package.  But I find it hard to believe that of the five
other News-slurping packages, all of them are that poorly implemented
(mind you, I've already pointed out in another posting that NewsX now
does seem significantly different from suck; I'm no longer arguing my
original question of why NewsX was released; I'm now discussing the
general issue of multiple packages with identical functionality).

|>  >2) opportunity to learn something new

You can "learn something new" by implementing something yourself
without releasing it to the world when there are already n other
packages that do the same thing released to the world.

I've got quite a few hacks sitting around my home directory that I
wrote for myself, just to see what it would take to write them, even
though there were already packages with similar functionality on the
Net.  I saw no need to release them myself.

|> Completely true. Flaming someone for writing useful software and
|> releasing it for _free_ is stupid, sorry.

The "free software resources" in this world, i.e., the people willing
to write free software, are limited.  It seems to me that rather than
devoting free-software time to writing something that's already been
written, programmers can benefit the Net community more by devoting
that time to writing new stuff.

Again -- I'm not saying that there's no reason to rewrite something
that has already been written.  I'm not saying that NewsX shouldn't
have been written and released.  I'm saying that I see no point in
someone writing and releasing a new package with functionality that is
not significantly different from the packages that are already out
there.

-- 
Jonathan Kamens  |  OpenVision Technologies, Inc.  |   jik@cam.ov.com

Re: Announcing NewsX
#13176
Author: Jonathan I. Kamens
Date: Wed, 11 Dec 1996 00:00
41 lines
2849 bytes
In article <slrn5ast2o.bm7.hwr@pilhuhn.de>, hwr@pilhuhn.de (Heiko W.Rupp) writes:
|> In <58kgeo$ada@pad-thai.cam.ov.com>, Jonathan I. Kamens wrote:
|> :|I do not agree that there is positive benefit in implementing the same
|> :|software multiple times just for the sake of having multiple
|> :|implementations.  If they're all functionally equivalent, then I see no
|> :|net gain and a significant net loss.  In particular:
|> 
|> But this implementing multiple time at least gives you the chance to
|> choose if you want to use MS-DOS, WinDos or Unix or even other systems. 
|> These basically are just operating systems which in basic do the same ..

Almost by definition, a package which does something on a particular
OS, when there were previously no packages which did that thing on that
OS, is a significant new contribution, and therefore worth
implementing, even if there are packages which do the same thing on
other OSs.  I would think that this is patently obvious, and therefore
that the bogosity of the argument you try to make above is also
patently obvious.

|> :|* Efforts to improve the software will be split among the various
|> :|packages, rather than everyone focusing their improvement efforts on
|> :|one package and making it that much better.
|> 
|> Not true. As new packages also bring new concepts (at least sometimes),
|> which would not have been able to be implemented in a already existing 
|> framework which imposes (often) a strict use of existing interfaces et al.

I have already acknowledged that a reimplementation is valuable when 
you choose to reimplement because what you are trying to do cannot be
implemented easily within the frameworks of the previously implemented
packages.  You're preaching to the choir.  The only point I am trying
to defend is that when the reimplementation does *not* contain any
significantly new functionality, and/or contains new functionality
which *could* have been implemented within existing packages, it is a
waste of resources.

-- 
Jonathan Kamens  |  OpenVision Technologies, Inc.  |   jik@cam.ov.com

Re: Announcing NewsX
#13180
Author: Jonathan I. Kamens
Date: Wed, 11 Dec 1996 00:00
31 lines
2286 bytes
In article <slrn5au04a.df6.mhandler@jumpgate.erols.com>, mhandler@erols.com (Michael Handler) writes:
|> This is particularly ironic coming from someone who's currently
|> developing Yet Another NNTP Based Newsreader. :) Why work on xrn when
|> knews already provides functionality that is not significantly
|> different? ;)

XRN has been around for at least five years longer than knews.  What
you should be asking is why the author of knews started from scratch
rather than making improvements to XRN, a question that I've wondered
myself (and yes, I know there are good answers to it -- there are
significant differences between XRN and knews, and knews has quite a
bit of functionality that XRN does not).

I assure you that if there had been a decent alternative to XRN when I
started working on it, I would have used that alternative rather than
devoting many hours of my time to working on XRN.  But there wasn't,
and I wanted an X News reader, so I had no choice but to work on XRN.

I'll point out, incidentally, that when I started working on XRN, I was
not the official maintainer of it -- I was making fixes and submitting
them to the official maintainers.  I could have written my own X News
reader from scratch (and believe me, given the state that the code was
in, I seriously considered doing so on more than one occasion), but I
decided that would be counterproductive for exactly the reasons I have
outlined in this thread.

-- 
Jonathan Kamens  |  OpenVision Technologies, Inc.  |   jik@cam.ov.com

Re: Announcing NewsX
#13191
Author: Goran Larsson
Date: Wed, 11 Dec 1996 00:00
22 lines
1657 bytes
In article <yy37mmq3etm.fsf@velo.pp.vix.com>,
James Brister  <brister@vix.com> wrote:
| hoh@approve.se.NO_JUNK_EMAIL (Goran Larsson) writes:
| > 
| >   1) Don't have to change that bogous "void main" to "int main" for
| >      each new suck version.
| 
| Have you sent such reports to Robert Yetman? Getting feedback from the users

I have sent a couple of fixes to Robert including this. His reply about
"void main" was that it was perfectly legal and ok. I didn't have time
to argue with him about that. Some of the problems I see with suck (such
as storing each article as a file in one directory) are design decisions
and I am in no position to force Robert to change it.

-- 
 Goran Larsson                mailto:hoh@approve.se
 I was an atheist,            http://home1.swipnet.se/%7Ew-12153/
 until I found out I was God.

Re: Announcing NewsX
#13192
Author: Heiko W.Rupp
Date: Wed, 11 Dec 1996 00:00
26 lines
1835 bytes
In <58kgeo$ada@pad-thai.cam.ov.com>, Jonathan I. Kamens wrote:
:|I do not agree that there is positive benefit in implementing the same
:|software multiple times just for the sake of having multiple
:|implementations.  If they're all functionally equivalent, then I see no
:|net gain and a significant net loss.  In particular:

But this implementing multiple time at least gives you the chance to
choose if you want to use MS-DOS, WinDos or Unix or even other systems. 
These basically are just operating systems which in basic do the same ..

:|* Efforts to improve the software will be split among the various
:|packages, rather than everyone focusing their improvement efforts on
:|one package and making it that much better.

Not true. As new packages also bring new concepts (at least sometimes),
which would not have been able to be implemented in a already existing 
framework which imposes (often) a strict use of existing interfaces et al.

-- 
Heiko W.Rupp hwr@pilhuhn.de
INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
                   Stoppt den Kinderwahnsinn !! -- Esst nur deutsche Kinder !!


Re: Announcing NewsX
#13201
Author: Jonathan I. Kamens
Date: Wed, 11 Dec 1996 00:00
62 lines
3605 bytes
In article <slrn5arjgh.2ki.alex@darkstar.ping.at>, alex@darkstar.ping.at (Alexander Sanda) writes:
|> Ok, thats your opinion. But why do we have at least 10 or more (I don't
|> know the exact number) different wordprocessors for Windows ? 

Because those wordprocessors are commercial products, and each
commercial vendor thinks that they can either (a) make a better product
or (b) sell their product better.  They're trying to capture market
share to make a profit.  Profit is not a motive in free software, so
capturing "market share" should not be a consideration.

Not to mention the fact that it's impossible for me to incrementally
improve on a commercial word processor by changing its source code -- I
don't have access to its source code.

|> Why do we
|> have different operating systems for the same hardware platform ? 

Same reason, along with several others, including: There are both free
and commercial OSs for some platforms, because being free is itself a
virtue for software; and there are times when a vendor will release a
competing operating system simply to break another vendor's monopoly
(e.g., IBM's OS/2 attempt to break the Windows monopoly).

|> Word processors for example, are almost identical. There aren't many
|> things which can be done by program x and can't be done by program y.

First of all, I've already explained above why virtually identically
word processors might be released by different companies.

Second of all, I don't even accept your premise that "word processors
are almost identical."  I've used quite a few of them, and they can be
quite different (in paradigm, in performance, in functionality, etc.)

|> According to your opinion, every re-implementation of an existing
|> software is wasted time. It's an opinion, I really cannot agree with.

It's not a waste of time for you to write a new package which does the
same thing as an old package, if you're doing it to learn, or if it's
faster for you to write the new package than to figure out how to use
the old one (although I doubt this justification can be used for
anything larger than the smallest of packages).

It is, in my opinion, a waste of time and resources, to implement an
existing piece of free software, when you're not doing it as a learning
exercise, and when your new software doesn't differ substantially from
the old one.

Of course, if the old one isn't free, that's a different story.

|>  >You can "learn something new" by implementing something yourself
|>  >without releasing it to the world when there are already n other
|>  >packages that do the same thing released to the world.
|> 
|> Yes, but why shouldn't I release my work ?

I've already given what I believe are my answers to that question.

-- 
Jonathan Kamens  |  OpenVision Technologies, Inc.  |   jik@cam.ov.com

Re: Announcing NewsX
#13210
Author: Michael Handler
Date: Wed, 11 Dec 1996 00:00
23 lines
1589 bytes
In <58kgeo$ada@pad-thai.cam.ov.com>,
Jonathan I. Kamens <jik@cam.ov.com> wrote:

> Again -- I'm not saying that there's no reason to rewrite something
> that has already been written.  I'm not saying that NewsX shouldn't
> have been written and released.  I'm saying that I see no point in
> someone writing and releasing a new package with functionality that is
> not significantly different from the packages that are already out
> there.

This is particularly ironic coming from someone who's currently
developing Yet Another NNTP Based Newsreader. :) Why work on xrn when
knews already provides functionality that is not significantly
different? ;)

-- 
Michael Handler <mhandler@erols.com> * Erol's Internet, Systems Administration

"This error message is vague on purpose to help reduce help improve
security at the inconvience of administrators and users." -- qpopper 2.1.4-r

Re: Announcing NewsX
#13258
Author: Rich Salz
Date: Fri, 13 Dec 1996 00:00
17 lines
1266 bytes
In <58n9no$4m@pad-thai.cam.ov.com> jik@cam.ov.com (Jonathan I. Kamens) writes:
>  You're preaching to the choir.  The only point I am trying
>to defend is that when the reimplementation does *not* contain any
>significantly new functionality, and/or contains new functionality
>which *could* have been implemented within existing packages, it is a
>waste of resources.

It is a hard line to draw -- one I wouldn't presume to do.

For example, if I rewrote nntpd so it removed 1/3 of the source -- is that
a waste of time?  I'd say not.  So would all those others who have found
nnrpd more useful than nntpd.
	/r$
	/r$

Re: Announcing NewsX
#13294
Author: Robert A. Yetman
Date: Sat, 14 Dec 1996 00:00
83 lines
3984 bytes
As the maintainer of suck, I'm gonna address these issues/problems
one at a time.

In article <1996Dec9.224316.16691@lorelei.approve.se>, hoh@approve.se.NO_JUNK_EMAIL (Goran Larsson) writes:
>In article <58equ0$40c@pad-thai.cam.ov.com>,
>Jonathan I. Kamens <jik@cam.ov.com> wrote:
>> What makes this package better than suck?
>
>As one that are going to take a serious look at NewsX I can give
>a couple of reasons:
>
>  1) Don't have to change that bogous "void main" to "int main" for
>     each new suck version.

This is a philisophical difference, not a difference that affects the code.
The reason I keep it void is this: main doesn't use a return statement,
no return statement, no value to return hence the void.  Yes I return
a value thru exit(), but that's not the same.

>
>  2) Don't have to change "anything\r\n" to "anything\n" for log
>     messages (but not for NNTP messages) for each new suck version.
>
Valid point, a leftover from long ago, that I just never realized affected people,
will clean up for the next version.

>  3) Don't need to add fflush() in several places just to get the
>     logfile out of the stdio buffers for each new suck version.
>
Where would you like to see it fflush() on the logfile()?  The logfile was designed
for people who use it from cron(), and hence wouldn't be monitoring real-time.

>  4) Don't need to have a temp directory for downloaded messages with
>     one file for each article.
>
This is only ONE of the modes of suck.  You can still have suck deliver articles to stdout,
and than do with them what you want.  This was done to make posting to INN via INNXMIT,
real easy and quick.

>  5) Don't need 202 lines of shell script just to handle:
	This must be an older version, its now just 138 lines.  Actually if you look
at the code, a good half of it is comments, and definitions.  I could probably trim
it down to 40 lines or less if I tried.  The reasons for the shell is not so much
for the sucking, but rather for the MANY different ways people use the articles,
whether it's C-news, Inn, UUCP, or others.  If it were only me using this, I'd have
coded it all as C a long time ago.

>      Locking.
	
There are two locks in the current version.  One is created by suck, and is in the C code.
One is in the SAMPLE script, and was put there due to a request from another user.	

>      Safety net for sucknewsrc if suck crashes.

This hasn't been in the scripts for a while now, this is all handled internally, via the
-c option.

>      Handling of error logs and logs.

What don't you like about the logs?

>      Injecting the batches to C-news or UUCP.

Or Inn.  I have to support ALL of the above, hence the many options, and the shell scripts.

>

Despite some beliefs expressed by others, suck IS NOT the greatest program in the world.  It
works for me and works for other people.  As Goren has stated, he has several features he
doesn't like, and he is entitled to his opinion.  I know suck isn't for everyone.  I think
there is room for other programs like slurp, NewsX, and others.  

I'm always open to suggestions, and sometimes I actually use them.  There are a couple of
features that I would like to add to suck, but I haven't had the time.  I have other
interests, and a full time job as boot.  

-- 
boby@pixi.com (Robert A. Yetman)



Re: Announcing NewsX
#13305
Author: Goran Larsson
Date: Sun, 15 Dec 1996 00:00
75 lines
3899 bytes
In article <58v2nl$p6@pixi.com>, Robert A. Yetman <boby@pixi.com> wrote:
> In article <1996Dec9.224316.16691@lorelei.approve.se>, hoh@approve.se.NO_JUNK_EMAIL (Goran Larsson) writes:
> >  1) Don't have to change that bogous "void main" to "int main" for
> >     each new suck version.
> 
> This is a philisophical difference, not a difference that affects the code.

As suck is compiled with a C compiler in a *hosted environment* the only
two legal declarations of main are:
	int main ( void );
	int main ( int, char** );

> The reason I keep it void is this: main doesn't use a return statement,
> no return statement, no value to return hence the void.  Yes I return
> a value thru exit(), but that's not the same.

A sufficiently wicked environment migt not even be able to begin executing
inside main if, for example, the calling conventions for an void valued,
and an int valued function differs. A agree that this is not a problem for
most current architectures...

> >  3) Don't need to add fflush() in several places just to get the
> >     logfile out of the stdio buffers for each new suck version.
> >
> Where would you like to see it fflush() on the logfile()?  The logfile was designed
> for people who use it from cron(), and hence wouldn't be monitoring real-time.

First: It is a pain when debugging. If you do a "tail -f" or "xtail" on
       the logfiles you don't see anything for quite a while.
Second: I sometimes start suck manually while I have the PPP line up just
        to get the load up.

> >  4) Don't need to have a temp directory for downloaded messages with
> >     one file for each article.
> >
> This is only ONE of the modes of suck.  You can still have suck deliver articles to stdout,
> and than do with them what you want.  This was done to make posting to INN via INNXMIT,
> real easy and quick.

I need to have them as C-News batches. When I brought this up with you
quite some time ago you said it had to be done this way due to the restart
code.

> >  5) Don't need 202 lines of shell script just to handle:
> 	This must be an older version, its now just 138 lines.  Actually if you look

My own script is 202 lines.

> >      Locking.
> There are two locks in the current version.  One is created by suck, and is in the C code.
> One is in the SAMPLE script, and was put there due to a request from another user.	

I need my own version of locking.

> >      Safety net for sucknewsrc if suck crashes.
> 
> This hasn't been in the scripts for a while now, this is all handled internally, via the
> -c option.

I added that after suck ate the sucknewsrc file a couple of times. This,
however, was quite a number of versions ago.

> >      Handling of error logs and logs.
> What don't you like about the logs?

Nothing wrong with them, but I have a naming convention for the log files
and keep logs for a couple of days with automatic expiration.

-- 
 Goran Larsson                mailto:hoh@approve.se
 I was an atheist,            http://home1.swipnet.se/%7Ew-12153/
 until I found out I was God.

Re: Announcing NewsX
#13311
Author: Alan Brown
Date: Mon, 16 Dec 1996 00:00
22 lines
1460 bytes
In article <58n23f$4m@pad-thai.cam.ov.com>,
Jonathan I. Kamens <jik@cam.ov.com> wrote:

>I assure you that if there had been a decent alternative to XRN when I
>started working on it, I would have used that alternative rather than
>devoting many hours of my time to working on XRN.  But there wasn't,
>and I wanted an X News reader, so I had no choice but to work on XRN.

Sound like much the same reasons I dumped XRN and switched to strn in a 
terminal window.... :-)

It made things easier when I dumped X too.

AB

-- 
Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default "on"

Junk email returned, in bulk, back to sender; w/copies to all postmasters.

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