Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; '"""': 0.07; 'integers': 0.09; 'cc:addr:python-list': 0.11; 'def': 0.12; 'wrote': 0.14; 'random': 0.14; '4:39': 0.16; 'block.': 0.16; 'blocking': 0.16; 'browsers.': 0.16; 'expression,': 0.16; 'operands': 0.16; 'spammers': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'trying': 0.19; 'entered': 0.20; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'creating': 0.23; 'entries': 0.24; 'math': 0.24; 'options': 0.25; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; '13,': 0.31; 'disabled': 0.31; 'url:python': 0.33; 'problem': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'thank': 0.38; 'audio': 0.38; 'pm,': 0.38; 'visual': 0.39; 'skip:p 20': 0.39; 'url:mail': 0.40; 'future': 0.60; 'expression': 0.60; 'solve': 0.60; 'most': 0.60; 'simple': 0.61; 'field': 0.63; 'skip:n 10': 0.64; 'more': 0.64; 'account': 0.65; 'sample': 0.67; 'default': 0.69; 'account.': 0.80; 'captcha': 0.84; 'joel': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hQRooAa/W033cfdqdCK9+Cs6FdkPSfKhQY2ZdI0i1bM=; b=aWV5KCvbA+/6p0BiTC+Fn4cLhW6iVkRViQnDYwTLYUN+zZzHKF7RbsoBrbJZ+I+u8C aGEuRE4taYEXnnant9ZIUu+aAO0jTYFjhR6pzOXbL0skyOGxia9sevFzkpjoqAJEhNM5 7wmyvSMCvB8I4AkVYwyUrCLmEiNPojrprgrFw8afdgw7a9nGTgwuDzf2uLOU01yR6ERo FjeAvadinoPHEiNL6TwyiMhqv0EVS5YCGgCX9/JaRcV6MZoqiYY4FALZ70/60+aBY06X p3ONdacfAvosY1jul6N0jul8ZZGIVl86qc9VR5k0EMFslLsXUQcaiBnqpkKTuN7hLTSm 6WtA== MIME-Version: 1.0 X-Received: by 10.180.7.163 with SMTP id k3mr12648073wia.0.1407959040335; Wed, 13 Aug 2014 12:44:00 -0700 (PDT) In-Reply-To: References: <8c2e4bc2-4f46-4a68-83ed-469fe171de3a@googlegroups.com> <2320baf0-e097-4d67-97c1-dd37ca79fffb@googlegroups.com> <376a239c-77e8-4e0e-9300-847dfa8a8547@googlegroups.com> <53EB4E68.8050405@harvee.org> Date: Wed, 13 Aug 2014 15:44:00 -0400 Subject: Re: Captcha identify From: Joel Goldstick To: Chris Kaynor Content-Type: text/plain; charset=UTF-8 Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 46 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1407959042 news.xs4all.nl 2846 [2001:888:2000:d::a6]:35615 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76232 On Wed, Aug 13, 2014 at 3:24 PM, Chris Kaynor wrote: > On Wed, Aug 13, 2014 at 4:39 AM, Eric S. Johansson wrote: >> >> eliminate captchas, 35+million disabled people would thank you as would >> many more millions of the not-yet-disabled like your future self. > > > And so would the spammers, which is who captchas are trying to block. > > For ease-of-use, most sites only require captchas to be entered once upon > creating the account. Some might also require additional captcha entries > when the account is suspected of spamming. This is ultimately a trade-off of > blocking spammers and allowing accessibility. > > Many of the better captchas also include options for an audio cue in > addition to the default visual one. > > Chris > > -- > https://mail.python.org/mailman/listinfo/python-list > I wrote a sample form page with a simple math problem to solve -- 2 or 3 random small integers to add and put the result in a form field def produce_expression(): """ return a tuple: expression (str), answer (int) """ num_terms = random.randint(2,3) operands = [] while num_terms: n = random.randint(1,21) operands.append(n) num_terms -= 1 result = sum(operands) string_operands = map(str, operands) expression = " + ".join(string_operands) return expression, result Its not as annoying as captcha and I think it would work with audio browsers. Never tested -- Joel Goldstick http://joelgoldstick.com