Article View: news.software.nn
Article #4211Re: Wanted in next release
From: Alex Martelli
Date: Thu, 20 May 1993 14:02
Date: Thu, 20 May 1993 14:02
88 lines
4764 bytes
4764 bytes
epstein@sparc0a.cs.uiuc.edu (Milt Epstein) writes: ... :>So do I, and indeed would like an option to force NN to count the lines :>instead of displaying "??" for articles where "Lines:" is absent. : :This is not something that nn necessarily has control of -- it's :usually taken care of when the article is posted (I'm not sure how :difficult or efficient it would be to add this to nn). It's discussed :in the FAQ. Nothing can stop NN counting those lines when it has the article and has learned that the Lines: header is missing; it can be inefficient (e.g. fetching an article via NNTP...) but I'd like having it *as an option*. :>But on the more general subject of what is wanted in next release - I :>think very little is missing in nn to use it as a more general mail :>reader and file/folder browser. I simply love some of nn's features and ... :There was some discussion of using nn as a mail reader at my site some :time back, and one question that was raised was whether nn did the :proper file locking necessary to ensure that no incoming messages were :lost. People didn't seem to think it did -- anyone here know :differently? Well, it would be neat if it did... :>"overall look and feel" to gain this "prioritization" feature. Maybe :>the "scoring engine" part of strn could be lifted and integrated with :>the rest of our beloved nn... : :Sounds interesting -- what types of things does it use to score posts? Header lines, normally, but apparently anything in the article body too if you have a thing called "Newsclip" (whatever *that* may be). Quoting a recent article from the author: :>From: caadams@polaris.unm.edu (Clifford A Adams) :>Date: 9 May 1993 09:02:13 GMT :>Newsgroups: news.future :>Subject: Re: New NewsReader Needed... ... :>it doesn't always get your preferences right. It uses "rules" based :>on a score, a header name, and text to match within that header. Here :>are two simple rules: :> :>15 From: .unm.edu :>-40 subject: The world is flat :> :>The first rule gives a score of +15 to articles from unm.edu, and the :>second subtracts 40 points from articles with a subject containing the :>string "The world is flat". (Each article's score starts at 0.) More :>complicated regular expressions are available, and with Newsclip one :>can use arbitrarily complex rules written in the Newsclip language or C. :> :>Strn's quickness depends on several things, but it is mostly bound :>by the speed it can fetch article headers. (It would be *really* :>zippy if /usr/spool/news was a ramdisk. :-) The actual scoring speed :>is about as fast as a single KILL file entry, (practically) :>independent of the number of scoring rules. (I've tested with over :>1000 rules for a group.) The full-article scoring (using Newsclip) is :>quite a bit slower. :> :>Fortunately, you don't have to wait while strn scores :>articles--it can score in the background while you read previously :>scored articles. Also, in the most recent version you can do the :>scoring non-interactively (using a shell script and "at"). (For :>instance, you can score your favorite groups at 3am, or whenever you :>have to do the work you get paid for. ;) ... :>I hope to move strn into beta mode (0.9.x) in a couple weeks, :>and have a 1.0 release "soon"[*] afterwards. Most of the remaining :>work is in novice-friendly features such as configuration and :>documentation. A sort of hyper-generalization of the killfile concept, most notably to provide a graduated score instead of just a pass/fail test. Note that the speed comparison in "as fast as a single KILL file entry" is most likely to rn/trn slowish killfiles, not to superfast compiled nn killfiles, alas; but the "off-line scoring" could compensate for that, it seems to me. Alex -- Email: martelli@cadlab.sublink.org Phone: ++39 (51) 6130360 CAD.LAB s.p.a., v. Ronzani 7/29, Casalecchio, Italia Fax: ++39 (51) 6130294
Technical Details
Message-ID:
<1993May20.140216.9026@cadlab.sublink.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!darwin.sura.net!wupost!cs.utexas.edu!rutgers!modus!gear!cadlab!martelliReferences:
<mholtzC6u6uH.DCu@netcom.com> <1snbc5$l28@psych.psy.uq.oz.au> <1993May14.120419.1412@cadlab.sublink.org> <C74rLI.2LL@sparc0a.cs.uiuc.edu>Show Full Headers
Complete Article Headers
Message-ID: <1993May20.140216.9026@cadlab.sublink.org> Subject: Re: Wanted in next release Date: Thu, 20 May 1993 14:02:16 +0000 From: martelli@cadlab.sublink.org (Alex Martelli) References: <mholtzC6u6uH.DCu@netcom.com> <1snbc5$l28@psych.psy.uq.oz.au> <1993May14.120419.1412@cadlab.sublink.org> <C74rLI.2LL@sparc0a.cs.uiuc.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!darwin.sura.net!wupost!cs.utexas.edu!rutgers!modus!gear!cadlab!martelli Newsgroups: news.software.nn Organization: CAD.LAB S.p.A., Bologna, Italia Lines: 88