On Sun, 11 Dec 2016 12:03:07 -0500, DFS wrote:
> For this short stat version I only used the 'User-Agent' header. I have
> a longer version that uses both 'User-Agent' and 'X-Newsreader'
>
>
> You can put a conditional in place for now:
>
> if s='giganews':
>
On 2016-12-11, Wildman wrote:
> I don't think it is a problem with the code but any thoughts
> why giganews is not playing nice?
Most likely because you're calling XHDR on a header which is not in
the server's overview file.
--
On Sat, 10 Dec 2016 12:31:33 -0500, DFS wrote:
>
After correcting my stupid oversights, the code runs fine
up to the point where the user agents are printed. I get
an error saying that 'User-Agent' is an unsupported header
field. It must have something to do with giganews. If I
use aioe.org
On 12/10/2016 9:43 AM, Steve D'Aprano wrote:
On Sat, 10 Dec 2016 09:28 pm, Terry Reedy wrote:
The spammer will still be counted,
Why reward someone who actively evades defenses? If you want to count
spam, it is mostly missing, at least as far as python-list is concerned.
Its not a reward.
Wildman via Python-list wrote:
> On Fri, 09 Dec 2016 16:07:16 -0500, DFS wrote:
>
>> code (py2.7)
>> --
>> import sys as y,nntplib as t,datetime as d
>> s=''
>> g=y.argv[1]
>> n=t.NNTP(s,119,'','')
>> r,a,b,e,gn=n.group(g)
>> def
On Sat, 10 Dec 2016 12:31:33 -0500, DFS wrote:
> On 12/10/2016 12:06 PM, Wildman wrote:
>> On Fri, 09 Dec 2016 16:07:16 -0500, DFS wrote:
>>
>>> code (py2.7)
>>> --
>>> import sys as y,nntplib as t,datetime as d
>>> s=''
>>> g=y.argv[1]
On Fri, 09 Dec 2016 16:07:16 -0500, DFS wrote:
> code (py2.7)
> --
> import sys as y,nntplib as t,datetime as d
> s=''
> g=y.argv[1]
> n=t.NNTP(s,119,'','')
> r,a,b,e,gn=n.group(g)
> def printStat(st,hd,rg):
>
On Sat, Dec 10, 2016 at 4:28 AM, Terry Reedy wrote:
>> comp.lang.python is a mirror of the python-list at python dot org mailing
>> list, which has an official web archive:
>>
>> https://mail.python.org/pipermail/python-list/
>
>
> These slanderous posts, in particular, are
On Sat, 10 Dec 2016 09:28 pm, Terry Reedy wrote:
>>> The spammer will still be counted,
>
> Why reward someone who actively evades defenses? If you want to count
> spam, it is mostly missing, at least as far as python-list is concerned.
Its not a reward. Spammers are not like trolls, they
On 12/10/2016 3:13 AM, Steve D'Aprano wrote:
On Sat, 10 Dec 2016 03:15 pm, DFS wrote:
Normally I don't censor, at all. But the spams are apparently way
off-topic, so I'll filter out Subjects containing certain keywords.
python-list is a spam-moderated list. 95+% of spam is filtered out.
On Sat, 10 Dec 2016 03:15 pm, DFS wrote:
> On 12/09/2016 08:39 PM, Steve D'Aprano wrote:
>> On Sat, 10 Dec 2016 08:07 am, DFS wrote:
>>
>>>
>>> As of 04:04PM December 09, 2016
>>>
>>> Posts 85 Posters
>> [...]
>>
>>
>> Interesting stats, but couldn't you have post-processed the results
>> to
On 12/9/2016 8:39 PM, Steve D'Aprano wrote:
On Sat, 10 Dec 2016 08:07 am, DFS wrote:
As of 04:04PM December 09, 2016
Posts 85 Posters
[...]
Interesting stats, but couldn't you have post-processed the results to avoid
including the defamatory spam posts?
Your post is likely to be removed
On Sat, 10 Dec 2016 08:07 am, DFS wrote:
>
> As of 04:04PM December 09, 2016
>
> Posts 85 Posters
[...]
Interesting stats, but couldn't you have post-processed the results to avoid
including the defamatory spam posts?
Your post is likely to be removed from the official web archive as it
On Sat, Dec 10, 2016 at 8:34 AM, Jon Ribbens wrote:
>
> Was there ever an "International Obfuscated Python Code Contest"? ;-)
I don't know, but if so, here's my entry:
print(*([0,"Fizz","Buzz","Fizzbuzz"][[3,0,0,1,0,2,1,0,0,1,2,0,1,0,0][i%15]]or
i for i in
On 2016-12-09, DFS wrote:
> import sys as y,nntplib as t,datetime as d
> s=''
> g=y.argv[1]
> n=t.NNTP(s,119,'','')
> r,a,b,e,gn=n.group(g)
> def printStat(st,hd,rg):
> r,d=n.xhdr(st,'%s-%s'%rg)
> p=[]
> for i in range(len(d)):
> v=d[i][1]
>
15 matches
Mail list logo