🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by D. Stussy Sun, 01 Nov 2009 21:23
Efficiency of the "mod-active" program
#82060
Author: D. Stussy
Date: Sun, 01 Nov 2009 21:23
9 lines
1498 bytes
Currently, for removal or changes to existing groups,
"~news/bin/mod-active" inserts a bunch of perl statements ("next if ..."
for removal, and "s/.../.../" for changes) into a list of commands that are
subsequently evaluated.  Would it run faster if these two categories were
changed into an array similar to that used for inserting newgroups?  "next
if $delete_groups{group_name};" may be faster than all of the statements
inserted.  Comments?

Re: Efficiency of the "mod-active" program
#82069
Author: Aioe
Date: Mon, 02 Nov 2009 14:25
9 lines
1186 bytes
D. Stussy wrote:

> "~news/bin/mod-active"

imho mod-active should be completely rewritten. it's a poor program (again 
imho), too less configurable.

it should be somewhat different (probably merged with actsync) 
Re: Efficiency of the "mod-active" program
#82062
Author: D. Stussy
Date: Mon, 02 Nov 2009 21:21
22 lines
1935 bytes
"Aioe" <estasi@aioe.org> wrote in message news:hcmq35$fo0$2@aioe.org...
> D. Stussy wrote:
>
> > "~news/bin/mod-active"
>
> imho mod-active should be completely rewritten. it's a poor program
(again
> imho), too less configurable.
>
> it should be somewhat different (probably merged with actsync)

I disagree with the merger of actsync.  I use mod-active to also install
groups that have ended up in my "~news/log/unwanted.log" file (after
running it through a script that filters the unwanted.log file for bad
group names, etc).  Mod-active can also accept the output of
"~news/log/checkgroups.log", especially when a checkgroups message yielded
too many changes.

I have other things with higher priority right now, but I'll add this to my
list of things to look at.

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