Article View: news.software.nntp
Article #82475Re: Cleanfeed Update
From: Steve Crook
Date: Tue, 05 Jan 2010 10:53
Date: Tue, 05 Jan 2010 10:53
28 lines
2363 bytes
2363 bytes
On Mon, 4 Jan 2010 13:21:27 -0800, D. Stussy wrote in Message-Id: <hhtm4k$6cp$1@snarked.org>: > I've noticed that version 306 (2010-01-04 10:48:45Z) still has some regex > expressions that have things like "[Cc]" in them. Is this more efficient > than using the "i" flag on the actual comparison (to make the comparison > case insensitive)? Avoiding the case-alternative matching in favor of case > insensitive comparsions would make the program easier to read by a human. Yes, there are various regex's that need cleaning up in this manner. There are also some filters in Cleanfeed that are probably obsolete. When time permits I need to completely review it and try to tidy things up. It would also be nice to get all the variables localized so it can be run with a 'strict' pragma. > "poison_groups": For the "hipcrime" group names, I found > "h[0-9a-z]pc[lr][0-9a-z][mn]e" to be all encompassing and perhaps more > efficient as a single entry, evein if it does include combinations that > weren't actually used. Right. This is probably a good example of Cleanfeed obsolesance as these groups have seemingly faded into the distant past. ~/db$ egrep h[0-9a-z]pc[lr][0-9a-z][mn]e active alt.binaries.hipclone 0000000000 0000000001 y alt.h0pcr0me.waste.of.bandwidth 0000000000 0000000001 y alt.h1pcr1me.waste.of.bandwidth 0000000000 0000000001 y alt.h2pcr2me.waste.of.bandwidth 0000000000 0000000001 y alt.hipclone.waste.of.bandwidth 0000000000 0000000001 y
Technical Details
Message-ID:
<slrnhk66i1.fc.steve@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!not-for-mailReferences:
<slrnhk22rh.erp.steve@news.mixmin.net> <slrnhk3lcs.erp.steve@news.mixmin.net> <hhtm4k$6cp$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnhk66i1.fc.steve@news.mixmin.net> Subject: Re: Cleanfeed Update Date: Tue, 05 Jan 2010 10:53:53 +0000 From: Steve Crook <steve@mixmin.net> References: <slrnhk22rh.erp.steve@news.mixmin.net> <slrnhk3lcs.erp.steve@news.mixmin.net> <hhtm4k$6cp$1@snarked.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!not-for-mail Newsgroups: news.software.nntp Organization: Mixmin Injection-Date: Tue, 5 Jan 2010 10:53:53 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="ip6-localhost:::1"; logging-data="2468"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.0-18 (Linux) Lines: 27