Re: Is c.l.py becoming less friendly?

2009-02-07 Thread James Stroud

Tim Chase wrote:

Is this where we tell you to shut up? gdr ;-)


Don't you mean STFU?



--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com
--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-07 Thread floatingpeanut
On Feb 7, 2:37 am, Terry Reedy tjre...@udel.edu wrote:
   So I think python-list has become more friendly since.

I've experienced the same sort of thing. About a year ago (I think)
there were one or more regulars here who were often somewhat rude,
unfriendly, or snobbish (not naming any names). Trouble was, they were
experienced and often helpful too so the behaviour was mostly
tolerated.

Haven't seen that sort of thing in a while though. c.l.py is a very
friendly place these days.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-06 Thread Mark Dickinson
On Feb 6, 6:23 am, Hendrik van Rooyen m...@microcorp.co.za wrote:
 I think this thread has buggered up a perfectly
  ^^^

Such language.  I'm appalled.

Mark
--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-06 Thread Richard Levasseur
On Feb 5, 8:02 am, Dan Upton up...@virginia.edu wrote:
 On Thu, Feb 5, 2009 at 11:00 AM, mk mrk...@gmail.com wrote:

  (duck)

  542 comp.lang.python rtfm

  467 comp.lang.python shut+up

  263 comp.lang.perl rtfm

  45 comp.lang.perl shut+up

 But over how many messages for each group?  Wouldn't the percentage of
 messages containing those be more interesting than the raw number? ;p

As would the percent of threads that ultimately have GIL within the
last, oh, say 20% of their messages :)
--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-06 Thread Albert Hopkins
Probably that [c.l.]python is becoming more popular and, like most
things as they become popular, it loses its purity... much like the
Internet in the early 1990s.



--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-06 Thread Terry Reedy

Albert Hopkins wrote:

Probably that [c.l.]python is becoming more popular and, like most
things as they become popular, it loses its purity... much like the
Internet in the early 1990s.


Several years ago when I proposed the addition of list.pop(), a couple 
of people accused me of trying to ruin Python (by spoiling its 'purity', 
I guess).  There were some other unfriendly things said a few years 
later, by and to various people, in the discussion of integer division. 
 So I think python-list has become more friendly since.


Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list


Is c.l.py becoming less friendly?

2009-02-05 Thread mk


(duck)

542 comp.lang.python rtfm

467 comp.lang.python shut+up

263 comp.lang.perl rtfm

45 comp.lang.perl shut+up




Code:

import urllib2
import re
import time

def fillurlfmt(args):
urlfmt, ggroup, gkw = args
return {'group':ggroup, 'keyword':gkw, 'url': urlfmt % (gkw, ggroup)}

def consqurls(args):
ggroup, gkeywords = args
urlfmt = 
'http://groups.google.com/groups/search?as_q=%sas_epq=as_oq=as_eq=num=10scoring=lr=as_sitesearch=as_drrb=qas_qdr=as_mind=1as_minm=1as_miny=1999as_maxd=1as_maxm=1as_maxy=2009as_ugroup=%sas_usubject=as_uauthors=safe=off'

qurls = map(fillurlfmt, [ (urlfmt, ggroup, gkw) for gkw in gkeywords ])
return qurls

def flatten_list(x):
res = []
for el in x:
if isinstance(el,list):
res.extend(flatten_list(el))
else:
res.append(el)
return res

def ggsearch(urldict):
opener = urllib2.build_opener()
opener.addheaders = [('User-agent', 'Mozilla/5.0 (Windows; U; 
Windows NT 5.1; en-US; rv:1.8.1.20) Gecko/20081217 (CK-IBM) 
Firefox/2.0.0.20')]

time.sleep(0.1)
urlf = opener.open(urldict['url'])
resdict = {'result': urlf.read()}
resdict.update(urldict)
urlf.close()
return resdict

def extrclosure(resregexp, groupno):
def extrres(resdict):
txtgr = resregexp.search(resdict['result'])
resdict['result']=txtgr.group(groupno)
return resdict
return extrres

def delcomma(x):
x['result'] = x['result'].replace(',','')
return x

if __name__ == __main__:
gkeywords = ['rtfm', 'shut+up']
ggroups = ['comp.lang.python', 'comp.lang.perl']
params = [(ggroup, gkeywords) for ggroup in ggroups]
qurls = map(consqurls, params)
qurls = flatten_list(qurls)
gresults = map(ggsearch, qurls)
resre = re.compile('Results \b\1\/b\ - \b\.+?\/b\ of about 
\b\(.+?)\/b\')

gextrsearchresult = extrclosure(resre,1)
gresults = map(gextrsearchresult, gresults)
gresults = map(delcomma, gresults)
for el in gresults:
print el['result'], el['group'], el['keyword']
print


This was inspired by 
http://mail.python.org/pipermail/python-list/2002-November/172466.html


Regards,
mk

--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Dan Upton
On Thu, Feb 5, 2009 at 11:00 AM, mk mrk...@gmail.com wrote:

 (duck)

 542 comp.lang.python rtfm

 467 comp.lang.python shut+up

 263 comp.lang.perl rtfm

 45 comp.lang.perl shut+up

But over how many messages for each group?  Wouldn't the percentage of
messages containing those be more interesting than the raw number? ;p
--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Tim Rowe
2009/2/5 mk mrk...@gmail.com:

 (duck)

 542 comp.lang.python rtfm

 467 comp.lang.python shut+up

 263 comp.lang.perl rtfm

 45 comp.lang.perl shut+up

Yes, but is there any real traffic on comp.lang.perl nowadays?

Sorry, cheap shot ;-)

-- 
Tim Rowe
--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Diez B. Roggisch

mk schrieb:


(duck)

542 comp.lang.python rtfm

467 comp.lang.python shut+up

263 comp.lang.perl rtfm

45 comp.lang.perl shut+up


It appears to me that comp.lang.perl isn't even active anymore. Or 
googles interface is just crappy.


c.l.perl.misc seems to be the place to search.

And raw numbers are nothing without actual postings. FWIW, I can't 
remember reading the last time RTFM here, but then I usually skip the 
giant-size horse-beatings about GIL removal and encapsulation...



Diez
--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Tim Chase

(duck)

542 comp.lang.python rtfm
467 comp.lang.python shut+up
263 comp.lang.perl rtfm
45 comp.lang.perl shut+up


Is this where we tell you to shut up? gdr ;-)

As others mentioned, the raw numbers don't mean much without a 
total-volume-of-posts to demonstrate the percentage.


It would also be interesting to see how many of those posts are 
concentrated in certain threads -- for the most part, c.l.python 
has been a pretty civil place, but a few threads have degraded 
into puerile spats.


-tkc



--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Tim Rowe
2009/2/5 Tim Chase python.l...@tim.thechases.com:

 Is this where we tell you to shut up? gdr ;-)

[snip]

 It would also be interesting to see how many of those posts are concentrated
 in certain threads

And, as you have clearly demonstrated, how many of those posts also
contain a smiley or some other form of hedging in a position that
could modify the unfriendly text?


-- 
Tim Rowe
--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Dan Upton
On Thu, Feb 5, 2009 at 12:37 PM, Tim Rowe digi...@gmail.com wrote:
 2009/2/5 Tim Chase python.l...@tim.thechases.com:

 Is this where we tell you to shut up? gdr ;-)

 [snip]

 It would also be interesting to see how many of those posts are concentrated
 in certain threads

 And, as you have clearly demonstrated, how many of those posts also
 contain a smiley or some other form of hedging in a position that
 could modify the unfriendly text?

I'd be amused to see shut up and rtfm ;)
--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Bruno Desthuilliers

Tim Rowe a écrit :

2009/2/5 Tim Chase python.l...@tim.thechases.com:


Is this where we tell you to shut up? gdr ;-)


[snip]


It would also be interesting to see how many of those posts are concentrated
in certain threads


And, as you have clearly demonstrated, how many of those posts also
contain a smiley or some other form of hedging in a position that
could modify the unfriendly text?

Not to mention when the rtfm comes with a pointer to the relevant url 
and a couple explanations.


--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Terry Reedy

mk wrote:


(duck)

542 comp.lang.python rtfm


What is so unfriendly about 'read the fine manual'?

--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Mensanator
On Feb 5, 4:20 pm, Terry Reedy tjre...@udel.edu wrote:
 mk wrote:

  (duck)

  542 comp.lang.python rtfm

 What is so unfriendly about 'read the fine manual'?

You've seen a fine manual?
--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Steve Holden
Mensanator wrote:
 On Feb 5, 4:20 pm, Terry Reedy tjre...@udel.edu wrote:
 mk wrote:

 (duck)
 542 comp.lang.python rtfm
 What is so unfriendly about 'read the fine manual'?
 
 You've seen a fine manual?

Yes, and I'm fine well sure this is somewhere between a silly thread and
a troll.

regards
 Steve
-- 
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC  http://www.holdenweb.com/

--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Terry Reedy

Mensanator wrote:

On Feb 5, 4:20 pm, Terry Reedy tjre...@udel.edu wrote:

mk wrote:


(duck)
542 comp.lang.python rtfm

What is so unfriendly about 'read the fine manual'?


You've seen a fine manual?


Yes, and I and others have spent hours and hours making the Python 
manuals finer.


--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Hendrik van Rooyen
Mensanator m@aol.com


On Feb 5, 4:20 pm, Terry Reedy tjre...@udel.edu wrote:
 mk wrote:

  (duck)

  542 comp.lang.python rtfm

 What is so unfriendly about 'read the fine manual'?

You've seen a fine manual?

Oh Fine!

- Hendrik


--
http://mail.python.org/mailman/listinfo/python-list


Re: Is c.l.py becoming less friendly?

2009-02-05 Thread Hendrik van Rooyen

Steve Holden st...@h...eb.com wrote:

 Yes, and I'm fine well sure this is somewhere between a silly thread and
 a troll.

Fine reads wrong - it should be fining.

Silly? Us here on clp, silly?

What a monstrous thought!

I'll have you know this is a respectable
establishment, and you should be grateful
that such fine, serious folk suffer your 
impertinence without taking umbrage !

Ok Steve now it's your turn to tell me it 
does not scan.

I think this thread has buggered up a perfectly
good word for me - It will be difficult, in future,
to hear the word without having to suppress
an involuntary snigger.

- Hendrik


--
http://mail.python.org/mailman/listinfo/python-list