🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Steve Crook Fri, 01 May 2009 09:13
Re: Misplaced Binary Info
#80827
Author: Steve Crook
Date: Fri, 01 May 2009 09:13
54 lines
3364 bytes
On Thu, 30 Apr 2009 14:56:53 -0700, D. Stussy wrote in
Message-Id: <gtd6ro$8h6$1@aux.snarked.org>:

> Are image files to groups with names that contain the string "picture(s?)"
> or "binaries" (variations:  "pics", "binary") truly misplaced?  I think
> that these groups might be misplaced (or misnamed) in the alt.* hierarchy,
> but their names themselves tell us that there will be at least
> image-binaries.

Yes, that was my motivation for adding the image_allowed section to
Cleanfeed's binary filters.  It could easily be extended to cover other
file types, such as only allowing .mp3 encoded files to groups matching
\.mp3.  I tackled images as they were by far the greatest volume.

> 1) image_allowed: \.pictures   - Perhaps it needs to be wider?
>
>   Regex:  "\.pictures?|\.pics|\.images?"
I'm inclined to agree with you.  It would be best if all binaries lived
in the binaries hierarchies but it's probably an impossible task to put
that right.

> 2) bin_allowed: ^bin[a.]|\.bin[a.]|\.bin$| ...
Life would be considerably easier if this were just \.binaries\. or
better still, ^binaries\. or ^bin\.

> I'm not certain why this didn't pick up on those group names which matched
> the regex string.
> 3)  image_extensions: jpe?g|png|gif
The groups matching the image_allowed regex are listed because of
binaries posted to them that don't match image_extensions.

> Although not affected, maybe we should add "icon?" to the list?
> ("ico|icon" - yes the question mark is intentional).
Sounds reasonable, I'll add it.

> -------------
> Maybe it's time to move all binaries groups to a "bin.*" hierarchy, instead
> of "alt.binaries.*" plus scattered other groups....  (That will also save 9
> bytes per mention of group name, which could add a few minutes to hours of
> retention to the highest volume groups when averaged over a couple million
> posts per day.)
More importantly (IMO) it would cut out a lot of the complexity in
newsfeeds to services that don't want binaries.

> Note:  Follow-up group for discussing "cleanfeed" set back to it's
> traditional home.
Fine by me.  It wasn't really intended as a discussion about Cleanfeed,
I just thought the list might be of interest.  Especially as n.a.n-a.s
has the highest count of misplaced binaries.  :)

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Cleanfeed binaries regex - was Re: Misplaced Binary Info
#80880
Author: D. Stussy
Date: Mon, 04 May 2009 18:27
8 lines
1587 bytes
Reviewing cleanfeed further, I noted that the entire linux.* hierarchy is
marked as "binaries allowed."  As far as I can tell, most of these are text
groups discussing source code.  There is an occasional binary group in the
hierarchy, but that/those will match the ".bin[a.]" element in the regex.
Should the entire linux.* hierarchy properly be listed as allowing
binaries?

Re: Cleanfeed binaries regex - was Re: Misplaced Binary Info
#80898
Author: Steve Crook
Date: Tue, 05 May 2009 10:19
15 lines
1464 bytes
On Mon, 4 May 2009 11:27:15 -0700, D. Stussy wrote in
Message-Id: <gtnc1v$42c$1@aux.snarked.org>:

> Should the entire linux.* hierarchy properly be listed as allowing
> binaries?

Probably not, unless there's some historical reason that I'm unaware of.
I've taken it out in the current code.

Thanks!

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Re: Cleanfeed binaries regex - was Re: Misplaced Binary Info
#80900
Author: Julien ÉLIE
Date: Tue, 05 May 2009 17:28
16 lines
2004 bytes
Hi Steve,

>> Should the entire linux.* hierarchy properly be listed as allowing
>> binaries?
>
> Probably not, unless there's some historical reason that I'm unaware of.
> I've taken it out in the current code.

I thought it was because of patches sometimes attached in these mailing lists
(especially the kernel one).  We should be sure it does not happen any longer.

-- 
Julien ÉLIE

« Se coucher tard... nuit. » (Raymond Devos) 
Re: Cleanfeed binaries regex - was Re: Misplaced Binary Info
#80910
Author: Peter J Ross
Date: Tue, 05 May 2009 21:12
29 lines
2865 bytes
In news.admin.net-abuse.usenet on Tue, 5 May 2009 19:28:31 +0200,
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Steve,
>
>>> Should the entire linux.* hierarchy properly be listed as allowing
>>> binaries?
>>
>> Probably not, unless there's some historical reason that I'm unaware of.
>> I've taken it out in the current code.
>
> I thought it was because of patches sometimes attached in these mailing lists
> (especially the kernel one).  We should be sure it does not happen any longer.

Attached patches aren't usually binaries - at least the ones I produce
with "diff -Naur" usually aren't. :-)

It's possible that some of the linux.* groups welcome binary
attachments, but none of the linux.debian.* groups I've used do.
They're unofficial gateways to the official Debian mailing lists,
which are mostly intended for plain-text discussions and/or plain-text
announcements.


-- 
PJR :-)
slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: Cleanfeed binaries regex - was Re: Misplaced Binary Info
#80911
Author: D. Stussy
Date: Tue, 05 May 2009 23:49
22 lines
2130 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:gtpt4p$nsp$1@news.trigofacile.com...
> >> Should the entire linux.* hierarchy properly be listed as allowing
> >> binaries?
> >
> > Probably not, unless there's some historical reason that I'm unaware
of.
> > I've taken it out in the current code.
>
> I thought it was because of patches sometimes attached in these mailing
lists
> (especially the kernel one).  We should be sure it does not happen any
longer.

OK, but what I have seen for patches is "diff"s as text, not encoded
compressed tar files or zip archives, especially in "linux.kernel".

The only place where I have seen binaries is in the subhierarchy
"linux.binaries.*" (but as that matches "*.bin[a.]", it's still classified
as a binary group).

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