Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76232

Re: Captcha identify

References (5 earlier) <mailman.12889.1407858847.18130.python-list@python.org> <376a239c-77e8-4e0e-9300-847dfa8a8547@googlegroups.com> <CAPTjJmo=Sr3Y4KaDfa4n6=bfxZFNWUohN93OtnHcvaYFT08mDA@mail.gmail.com> <53EB4E68.8050405@harvee.org> <CALvWhxtBnx2TX2VKpaoHvrr5QXpG3YMzrud3TzapCD8U7k=Fyg@mail.gmail.com>
Date 2014-08-13 15:44 -0400
Subject Re: Captcha identify
From Joel Goldstick <joel.goldstick@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.12943.1407959042.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Aug 13, 2014 at 3:24 PM, Chris Kaynor <ckaynor@zindagigames.com> wrote:
> On Wed, Aug 13, 2014 at 4:39 AM, Eric S. Johansson <esj@harvee.org> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Captcha identify Wesley <nispray@gmail.com> - 2014-08-12 00:04 -0700
  Re: Captcha identify Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-08-12 08:59 -0400
    Re: Captcha identify Wesley <nispray@gmail.com> - 2014-08-12 07:57 -0700
      Re: Captcha identify Chris Angelico <rosuav@gmail.com> - 2014-08-13 01:06 +1000
        Re: Captcha identify Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-12 15:38 +0000
          Re: Captcha identify Chris Angelico <rosuav@gmail.com> - 2014-08-13 01:54 +1000
            Re: Captcha identify Wesley <nispray@gmail.com> - 2014-08-12 18:36 -0700
              Re: Captcha identify Chris Angelico <rosuav@gmail.com> - 2014-08-13 11:46 +1000
              Re: Captcha identify Ben Finney <ben+python@benfinney.id.au> - 2014-08-13 11:54 +1000
              Re: Captcha identify Rob Gaddi <rgaddi@technologyhighland.invalid> - 2014-08-13 09:28 -0700
                Re: Captcha identify Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-14 03:52 +1000
                Re: Captcha identify Chris Angelico <rosuav@gmail.com> - 2014-08-14 04:21 +1000
              Re: Captcha identify "Eric S. Johansson" <esj@harvee.org> - 2014-08-13 07:39 -0400
                Re: Captcha identify alister <alister.nospam.ware@ntlworld.com> - 2014-08-14 11:42 +0000
                Re: Captcha identify Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-14 23:19 +0000
                Re: Captcha identify "Eric S. Johansson" <esj@harvee.org> - 2014-08-15 13:18 -0400
                Re: Captcha identify Chris Angelico <rosuav@gmail.com> - 2014-08-16 03:30 +1000
              Re: Captcha identify Chris Angelico <rosuav@gmail.com> - 2014-08-14 05:27 +1000
              Re: Captcha identify Chris Kaynor <ckaynor@zindagigames.com> - 2014-08-13 12:24 -0700
              Re: Captcha identify Chris Angelico <rosuav@gmail.com> - 2014-08-14 05:43 +1000
              Re: Captcha identify Joel Goldstick <joel.goldstick@gmail.com> - 2014-08-13 15:44 -0400
              Re: Captcha identify Skip Montanaro <skip@pobox.com> - 2014-08-13 14:55 -0500
              Re: Captcha identify Tim Chase <python.list@tim.thechases.com> - 2014-08-13 15:01 -0500
              Re: Captcha identify Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-13 14:16 -0600
                Re: Captcha identify Peter Pearson <ppearson@nowhere.invalid> - 2014-08-14 18:37 +0000
                Re: Captcha identify Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-14 13:42 -0600
                Re: Captcha identify "Eric S. Johansson" <esj@harvee.org> - 2014-08-14 15:43 -0400
                Re: Captcha identify alex23 <wuwei23@gmail.com> - 2014-08-15 17:03 +1000
                Re: Captcha identify Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-15 09:14 +0100
                Re: Captcha identify Chris Angelico <rosuav@gmail.com> - 2014-08-15 08:22 +1000
              Re: Captcha identify "Eric S. Johansson" <esj@harvee.org> - 2014-08-13 16:42 -0400
              Re: Captcha identify Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-13 14:18 -0600
              Re: Captcha identify Chris Angelico <rosuav@gmail.com> - 2014-08-14 09:13 +1000
              Re: Captcha identify Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-14 23:15 +0000
                Re: Captcha identify Ben Finney <ben+python@benfinney.id.au> - 2014-08-15 13:23 +1000
              Re: Captcha identify Michael Torrie <torriem@gmail.com> - 2014-08-15 09:20 -0600
  Re: Captcha identify Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-12 13:51 +0000

csiph-web