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


Groups > comp.lang.python > #75987

Re: Template language for random string generation

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'output': 0.05; 'string': 0.09; 'subject:language': 0.09; 'subject:string': 0.09; 'template': 0.14; '"is': 0.16; 'subject:generation': 0.16; 'subject:random': 0.16; 'language': 0.16; 'wrote:': 0.18; 'mechanism': 0.19; 'aug': 0.22; 'certainly': 0.24; 'instance,': 0.24; 'necessary.': 0.24; 'paul': 0.24; 'question': 0.24; 'header :In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'asked': 0.31; 'getting': 0.31; 'but': 0.35; 'received:google.com': 0.35; 'too': 0.37; 'being': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'high': 0.63; 'such': 0.63; 'relatively': 0.65; '"can': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=hm9k0yg/XnBpFXlvq1qqVbFNX/LlF6xq0OdgwieT9ZM=; b=nt9gNFNch0Z9s6qTS5nzTqeo++AcY+rVqpRW3ZZHhjuNEJs2oEAfzL5yTpEpNfVla3 21EVUu+lahWho3cO8/f68dkqSbKQ2GKOEmkwJcC0dlBfQzpsXANbL7cHQ4lwBv9c8if4 2ez2Mgkrqe5k7ENlmSfuAIH4idyq+npDj1Lg9RdRrooSPRavTZiWKc2XAPw8os8vD7iR 1Jts571tYmKWK+0sBgKuYSGy5rluQvNsn2+HYbVjoU7UKgwTlM2TC0TUdlCALFJjhw5D FqosnDHR76BuK+zAAW15kYdMhP+K5Q2hmgpH+FcY7ch0WUYG6t42ZRhYLhbErErJ8j8x Ab7w==
X-Received by 10.66.243.6 with SMTP id wu6mr712975pac.157.1407689309111; Sun, 10 Aug 2014 09:48:29 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <b8cf8463-ba05-4f2f-b572-60f73a7a9917@googlegroups.com>
References <14d94692-2257-4dfb-a82f-f1674a839233@googlegroups.com> <mailman.12817.1407674628.18130.python-list@python.org> <b8cf8463-ba05-4f2f-b572-60f73a7a9917@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Sun, 10 Aug 2014 10:47:48 -0600
Subject Re: Template language for random string generation
To Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12819.1407689317.18130.python-list@python.org> (permalink)
Lines 7
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407689317 news.xs4all.nl 2937 [2001:888:2000:d::a6]:52980
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75987

Show key headers only | View raw


On Sun, Aug 10, 2014 at 10:34 AM, Paul Wolf <paulwolf333@gmail.com> wrote:
> For instance, a template language that validates the output would have to do frequency analysis. But that is getting too far off the purpose of strgen, although such a mechanism would certainly have its place.

I don't think that would be necessary. The question being asked with
validation is "can this string be generated from this template", not
"is this string generated from this template with relatively high
probability".

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


Thread

Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-08 02:01 -0700
  Re: Template language for random string generation Chris Angelico <rosuav@gmail.com> - 2014-08-08 19:22 +1000
    Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-08 02:42 -0700
      Re: Template language for random string generation Ned Batchelder <ned@nedbatchelder.com> - 2014-08-08 07:20 -0400
        Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-08 06:02 -0700
      Re: Template language for random string generation Chris Angelico <rosuav@gmail.com> - 2014-08-08 21:29 +1000
        Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-08 06:03 -0700
  Re: Template language for random string generation Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-09 00:08 +1000
  Re: Template language for random string generation Skip Montanaro <skip@pobox.com> - 2014-08-08 09:35 -0500
    Re: Template language for random string generation cwolf.algo@gmail.com - 2014-08-08 11:43 -0700
      Re: Template language for random string generation Nick Cash <nick.cash@npcinternational.com> - 2014-08-08 20:28 +0000
  Re: Template language for random string generation Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-08 16:03 -0600
    Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-08 23:52 -0700
      Re: Template language for random string generation Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-09 01:49 -0600
      Re: Template language for random string generation Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-09 01:57 -0600
  Re: Template language for random string generation Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-08-10 05:43 -0700
    Re: Template language for random string generation Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-11 02:31 +1000
      Re: Template language for random string generation Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-08-10 11:28 -0700
        Re: Template language for random string generation Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-11 12:22 +1000
          Re: Template language for random string generation Chris Angelico <rosuav@gmail.com> - 2014-08-11 12:31 +1000
          Re: Template language for random string generation Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-08-11 00:01 -0700
      Re: Template language for random string generation Chris Angelico <rosuav@gmail.com> - 2014-08-11 05:25 +1000
      Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-10 22:06 -0700
        Re: Template language for random string generation Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-11 08:58 +0100
    Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-10 09:34 -0700
      Re: Template language for random string generation Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-10 10:47 -0600
        Re: Template language for random string generation Paul Wolf <paulwolf333@gmail.com> - 2014-08-10 21:56 -0700
      Re: Template language for random string generation Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-08-10 11:48 -0700
  Re: Template language for random string generation Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-10 10:38 -0600

csiph-web