Article View: news.software.readers
Article #36648Re: [slrn] Variables in scorefile?
From: Christopher B. Browne
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
57 lines
3755 bytes
3755 bytes
On 14 Oct 1997 03:24:41 GMT, Lloyd Zusman <ljz@asfast.com> posted: >First of all, the Perl thing I'm working on should only have to be run >once by each user who wants to convert an existing score file into a >group of slang functions. After that, he or she would work within the >slang functions and forget about the score file. And furthermore, I >presume that this would only be done by people who want the added >functionality that the slang functions would provide. If someone only >wanted the original score file functionality, there would be no >advantage to converting to the slang-function method, and the repeated >conversion costs would ensure that this approach would be a detriment >for such users. Dumb comment; is it known how the change will affect memory consumption? For a while, I was running SLRN with some "hacks" that made it emit new score rules for every article, based on whether I: a) Read the message, or b) Replied to/Followed up the message, or c) Deleted without reading, with rules giving small positive scores, large positive scores, and small negative scores, respectively. It was all well and good at improving the "score classifications," as boring authors and subjects would get marked down, and the interesting ones would get improved scores. The *problem* with it was twofold: a) The huge lists of rules that resulted chewed up a lot of RAM, and b) The rules got loaded/unloaded upon changing groups, which meant that a lot of work was done loading 'em. The memory footprint of a 1MB score file seemed to be on the order of 8-10MB, which is *not* a good thing. I would guess that if the "rules" are treated as SLANG functions, they'll get loaded in once when slrn is invoked, which lets you avoid "situation b)." But if the rules expand in memory consumption in "function" form from what's consumed by score rules presently, some definite breakage results... I would argue that an improved interface to scoring would involve creating a program outside and separate from SLRN that simply manages score rules. Most logically, it would implement the "SNSP" (Simple News Scoring Protocol) and run as a daemon. By so doing, there's the potential of allowing this to work with other news readers. "Multiple adoption" would be a good thing... -- Christopher B. Browne, cbbrowne@hex.net, chris_browne@sdt.com PGP Fingerprint: 10 5A 20 3C 39 5A D3 12 D9 54 26 22 FF 1F E9 16 URL: <http://www.hex.net/~cbbrowne/> Bill Gates to his broker: "You idiot, I said $150 million on **SNAPPLE**!!!"
Technical Details
Message-ID:
<slrn646r54.j4u.cbbrowne@knuth.brownes.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn63gm05.ad.jbn@pop-a-wheelie.midwest.net> <slrn63gr84.13h.sp_robi@Elvira.home> <slrn63h1ti.ad.jbn@pop-a-wheelie.midwest.net> <slrn63rfmg.bnv.sp_robi@Elvira.home> <slrn63rp0b.411.jbn@pop-a-wheelie.midwest.net> <slrn63sjme.44k.Hubert.Canon@guenievre.irisa.fr> <slrn6429lb.65s.jbn@pop-a-wheelie.midwest.net> <slrn642k1i.fj9.ljz@ljz.asfast.net> <slrn6434a0.6ms.jbn@pop-a-wheelie.midwest.net> <slrn643cih.puh.ljz@ljz.asfast.net> <slrn643e4a.1bj.lahvak+n@math.mps.ohio-state.edu> <slrn644l21.74r.jbn@pop-a-wheelie.midwest.net> <slrn645pbj.q29.ljz@ljz.asfast.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn646r54.j4u.cbbrowne@knuth.brownes.org> Subject: Re: [slrn] Variables in scorefile? Date: Tue, 14 Oct 1997 00:00:00 +0000 From: cbbrowne@news.brownes.org (Christopher B. Browne) References: <slrn63gm05.ad.jbn@pop-a-wheelie.midwest.net> <slrn63gr84.13h.sp_robi@Elvira.home> <slrn63h1ti.ad.jbn@pop-a-wheelie.midwest.net> <slrn63rfmg.bnv.sp_robi@Elvira.home> <slrn63rp0b.411.jbn@pop-a-wheelie.midwest.net> <slrn63sjme.44k.Hubert.Canon@guenievre.irisa.fr> <slrn6429lb.65s.jbn@pop-a-wheelie.midwest.net> <slrn642k1i.fj9.ljz@ljz.asfast.net> <slrn6434a0.6ms.jbn@pop-a-wheelie.midwest.net> <slrn643cih.puh.ljz@ljz.asfast.net> <slrn643e4a.1bj.lahvak+n@math.mps.ohio-state.edu> <slrn644l21.74r.jbn@pop-a-wheelie.midwest.net> <slrn645pbj.q29.ljz@ljz.asfast.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 280415423 Reply-To: cbbrowne@hex.net Organization: Hex.Net Superhighway, DFW Metroplex 817-329-3182 Newsgroups: news.software.readers