Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #47073 > unrolled thread
| Started by | Gilles <nospam@nospam.com> |
|---|---|
| First post | 2013-06-05 15:08 +0200 |
| Last post | 2013-06-05 20:07 -0400 |
| Articles | 8 — 6 participants |
Back to article view | Back to comp.lang.python
Source code to identify user through browser? Gilles <nospam@nospam.com> - 2013-06-05 15:08 +0200
Re: Source code to identify user through browser? Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-05 10:28 -0400
RE: Source code to identify user through browser? Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-05 18:10 +0300
Re: Source code to identify user through browser? rusi <rustompmody@gmail.com> - 2013-06-05 08:18 -0700
Re: Source code to identify user through browser? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-05 16:31 +0100
Re: Source code to identify user through browser? rusi <rustompmody@gmail.com> - 2013-06-05 09:20 -0700
RE: Source code to identify user through browser? Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-06 01:07 +0300
Dijkstra (was Re: Source code to identify user through browser?) Terry Jan Reedy <tjreedy@udel.edu> - 2013-06-05 20:07 -0400
| From | Gilles <nospam@nospam.com> |
|---|---|
| Date | 2013-06-05 15:08 +0200 |
| Subject | Source code to identify user through browser? |
| Message-ID | <suduq89s3nirq9krqirursa8mj3s4aij3m@4ax.com> |
Hello I was wondering if some Python module were available to identify a user through their browser, like it's done on the Panopticlick site: http://panopticlick.eff.org/ I'd like to ban abusive users, and it seems like a good solution, since few users will think of installing a different browser, and there are few mainstream browsers anyway. Thank you.
[toc] | [next] | [standalone]
| From | Joel Goldstick <joel.goldstick@gmail.com> |
|---|---|
| Date | 2013-06-05 10:28 -0400 |
| Message-ID | <mailman.2731.1370442537.3114.python-list@python.org> |
| In reply to | #47073 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, Jun 5, 2013 at 9:08 AM, Gilles <nospam@nospam.com> wrote: > Hello > > I was wondering if some Python module were available to identify a > user through their browser, like it's done on the Panopticlick site: > > http://panopticlick.eff.org/ > > I'd like to ban abusive users, and it seems like a good solution, > since few users will think of installing a different browser, and > there are few mainstream browsers anyway. > > Thank you. > -- > http://mail.python.org/mailman/listinfo/python-list > depending upon the server you are using, there is a request object that contains information about the user (ip address, and lots of other stuff). Maybe that will help you. -- Joel Goldstick http://joelgoldstick.com
[toc] | [prev] | [next] | [standalone]
| From | Carlos Nepomuceno <carlosnepomuceno@outlook.com> |
|---|---|
| Date | 2013-06-05 18:10 +0300 |
| Message-ID | <mailman.2734.1370445050.3114.python-list@python.org> |
| In reply to | #47073 |
[Multipart message — attachments visible in raw view] — view raw
> From: nospam@nospam.com > Subject: Source code to identify user through browser? > Date: Wed, 5 Jun 2013 15:08:54 +0200 > To: python-list@python.org > > Hello > > I was wondering if some Python module were available to identify a > user through their browser, like it's done on the Panopticlick site: What do you mean by user? > http://panopticlick.eff.org/ > > I'd like to ban abusive users, and it seems like a good solution, > since few users will think of installing a different browser, and > there are few mainstream browsers anyway. > > Thank you. > -- > http://mail.python.org/mailman/listinfo/python-list
[toc] | [prev] | [next] | [standalone]
| From | rusi <rustompmody@gmail.com> |
|---|---|
| Date | 2013-06-05 08:18 -0700 |
| Message-ID | <53e74d68-7bd0-4ee6-bb6c-f3f7724c9342@qz2g2000pbb.googlegroups.com> |
| In reply to | #47086 |
On Jun 5, 8:10 pm, Carlos Nepomuceno <carlosnepomuc...@outlook.com> wrote: > > From: nos...@nospam.com > > Subject: Source code to identify user through browser? > > Date: Wed, 5 Jun 2013 15:08:54 +0200 > > To: python-l...@python.org > > > Hello > > > I was wondering if some Python module were available to identify a > > user through their browser, like it's done on the Panopticlick site: > > What do you mean by user? Ha! Nice question. Not in direct answer but here's E.W Dijkstra defining 'user': [from http://www.cs.utexas.edu/~EWD/transcriptions/EWD06xx/EWD618.html ] ---------------------------- The computer “user” isn’t a real person of flesh and blood, with passions and brains. No, he is a mythical figure, and not a very pleasant one either. A kind of mongrel with money but without taste, an ugly caricature that is very uninspiring to work for. He is, as a matter of fact, such an uninspiring idiot that his stupidity alone is a sufficient explanation for the ugliness of most computer systems. And oh! Is he uneducated! That is perhaps his most depressing characteristic. He is equally education-resistant as another equally mythical bore, “the average programmer”, whose solid stupidity is the greatest barrier to progress in programming. It is a sad thought that large sections of computing science are effectively paralyzed by the narrow-mindedness and other grotesque limitations with which a poor literature has endowed these influential mythical figures. (Computing science is not unique in inventing such paralyzing caricatures: universities all over the world are threatened by the invention of “the average student”, scientific publishing is severely hampered by the invention of “the innocent reader” and even “the poor reader”!)
[toc] | [prev] | [next] | [standalone]
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2013-06-05 16:31 +0100 |
| Message-ID | <mailman.2737.1370446301.3114.python-list@python.org> |
| In reply to | #47092 |
On 05/06/2013 16:18, rusi wrote: > On Jun 5, 8:10 pm, Carlos Nepomuceno <carlosnepomuc...@outlook.com> > wrote: >>> From: nos...@nospam.com >>> Subject: Source code to identify user through browser? >>> Date: Wed, 5 Jun 2013 15:08:54 +0200 >>> To: python-l...@python.org >> >>> Hello >> >>> I was wondering if some Python module were available to identify a >>> user through their browser, like it's done on the Panopticlick site: >> >> What do you mean by user? > > Ha! Nice question. Not in direct answer but here's E.W Dijkstra > defining 'user': > > [from http://www.cs.utexas.edu/~EWD/transcriptions/EWD06xx/EWD618.html > ] > ---------------------------- > The computer “user” isn’t a real person of flesh and blood, with > passions and brains. No, he is a mythical figure, and not a very > pleasant one either. A kind of mongrel with money but without taste, > an ugly caricature that is very uninspiring to work for. He is, as a > matter of fact, such an uninspiring idiot that his stupidity alone is > a sufficient explanation for the ugliness of most computer systems. > And oh! Is he uneducated! That is perhaps his most depressing > characteristic. He is equally education-resistant as another equally > mythical bore, “the average programmer”, whose solid stupidity is the > greatest barrier to progress in programming. It is a sad thought that > large sections of computing science are effectively paralyzed by the > narrow-mindedness and other grotesque limitations with which a poor > literature has endowed these influential mythical figures. (Computing > science is not unique in inventing such paralyzing caricatures: > universities all over the world are threatened by the invention of > “the average student”, scientific publishing is severely hampered by > the invention of “the innocent reader” and even “the poor reader”!) > Where does the Bastard Operator From Hell fit in this? :) -- "Steve is going for the pink ball - and for those of you who are watching in black and white, the pink is next to the green." Snooker commentator 'Whispering' Ted Lowe. Mark Lawrence
[toc] | [prev] | [next] | [standalone]
| From | rusi <rustompmody@gmail.com> |
|---|---|
| Date | 2013-06-05 09:20 -0700 |
| Message-ID | <5f906c17-974b-49da-b68c-7c535cd1584b@a9g2000pbq.googlegroups.com> |
| In reply to | #47095 |
On Jun 5, 8:31 pm, Mark Lawrence <breamore...@yahoo.co.uk> wrote: > On 05/06/2013 16:18, rusi wrote: > > > > > > > > > > > On Jun 5, 8:10 pm, Carlos Nepomuceno <carlosnepomuc...@outlook.com> > > wrote: > >>> From: nos...@nospam.com > >>> Subject: Source code to identify user through browser? > >>> Date: Wed, 5 Jun 2013 15:08:54 +0200 > >>> To: python-l...@python.org > > >>> Hello > > >>> I was wondering if some Python module were available to identify a > >>> user through their browser, like it's done on the Panopticlick site: > > >> What do you mean by user? > > > Ha! Nice question. Not in direct answer but here's E.W Dijkstra > > defining 'user': > > > [fromhttp://www.cs.utexas.edu/~EWD/transcriptions/EWD06xx/EWD618.html > > ] > > ---------------------------- > > The computer �user� isn�t a real person of flesh and blood, with > > passions and brains. No, he is a mythical figure, and not a very > > pleasant one either. A kind of mongrel with money but without taste, > > an ugly caricature that is very uninspiring to work for. He is, as a > > matter of fact, such an uninspiring idiot that his stupidity alone is > > a sufficient explanation for the ugliness of most computer systems. > > And oh! Is he uneducated! That is perhaps his most depressing > > characteristic. He is equally education-resistant as another equally > > mythical bore, �the average programmer�, whose solid stupidity is the > > greatest barrier to progress in programming. It is a sad thought that > > large sections of computing science are effectively paralyzed by the > > narrow-mindedness and other grotesque limitations with which a poor > > literature has endowed these influential mythical figures. (Computing > > science is not unique in inventing such paralyzing caricatures: > > universities all over the world are threatened by the invention of > > �the average student�, scientific publishing is severely hampered by > > the invention of �the innocent reader� and even �the poor reader�!) > > Where does the Bastard Operator From Hell fit in this? :) :-) Yes Dijkstra is quite a devil. Always thought-provoking and entertaining -- never to be taken too seriously!
[toc] | [prev] | [next] | [standalone]
| From | Carlos Nepomuceno <carlosnepomuceno@outlook.com> |
|---|---|
| Date | 2013-06-06 01:07 +0300 |
| Message-ID | <mailman.2766.1370470030.3114.python-list@python.org> |
| In reply to | #47092 |
[Multipart message — attachments visible in raw view] — view raw
> Date: Wed, 5 Jun 2013 08:18:56 -0700 > Subject: Re: Source code to identify user through browser? > From: rustompmody@gmail.com [...] > > What do you mean by user? > > Ha! Nice question. Not in direct answer but here's E.W Dijkstra > defining 'user': > > [from http://www.cs.utexas.edu/~EWD/transcriptions/EWD06xx/EWD618.html > ] > ---------------------------- > The computer “user” isn’t a real person of flesh and blood, with > passions and brains. No, he is a mythical figure, and not a very > pleasant one either. A kind of mongrel with money but without taste, > an ugly caricature that is very uninspiring to work for. He is, as a > matter of fact, such an uninspiring idiot that his stupidity alone is > a sufficient explanation for the ugliness of most computer systems. > And oh! Is he uneducated! That is perhaps his most depressing > characteristic. He is equally education-resistant as another equally > mythical bore, “the average programmer”, whose solid stupidity is the > greatest barrier to progress in programming. It is a sad thought that > large sections of computing science are effectively paralyzed by the > narrow-mindedness and other grotesque limitations with which a poor > literature has endowed these influential mythical figures. (Computing > science is not unique in inventing such paralyzing caricatures: > universities all over the world are threatened by the invention of > “the average student”, scientific publishing is severely hampered by > the invention of “the innocent reader” and even “the poor reader”!) Didn't know he was such a humorist! lol Although I prefer when he's serious: http://www.cs.utexas.edu/~EWD/transcriptions/EWD10xx/EWD1094.html
[toc] | [prev] | [next] | [standalone]
| From | Terry Jan Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2013-06-05 20:07 -0400 |
| Subject | Dijkstra (was Re: Source code to identify user through browser?) |
| Message-ID | <mailman.2774.1370477231.3114.python-list@python.org> |
| In reply to | #47092 |
On 6/5/2013 6:07 PM, Carlos Nepomuceno wrote: > Didn't know he was such a humorist! lol > > Although I prefer when he's serious: > > http://www.cs.utexas.edu/~EWD/transcriptions/EWD10xx/EWD1094.html pythonic summary: Let S be an finite iterable of numbers (make it not an iterable if one interprets the conclusion as requiring reiteration) and let n = len(S) (or len(list(S)) if need be). The if n > 2 and len(set(S)) > 1, n * min(S) < sum(S) < max(S) # easily shown by induction on n If the n = 1 or the items in S are all the same, n*min == sum == n*max I might call this the 'Averages are not extreme' theorem. Corollary: if min(s) == 1 and sum(S) > n, then max(S) > 1 'Pigeonhole Principle' -- Terry Jan Reedy
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web