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


Groups > comp.lang.python > #22166

Re: Stream programming

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <prvs=42574d81d=jeanmichel@sequans.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.050
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'pop': 0.07; 'sfxlen:2': 0.11; 'cc:addr:python-list': 0.15; 'compute': 0.16; 'concat': 0.16; 'enough?': 0.16; 'readable': 0.16; 'subject:programming': 0.16; 'resulting': 0.18; 'wrote:': 0.21; 'replace': 0.22; 'header :In-Reply-To:1': 0.22; 'header:User-Agent:1': 0.23; 'have,': 0.23; 'cc:no real name:2**0': 0.26; 'cc:addr:python.org': 0.27; 'equal': 0.27; 'push': 0.27; 'question': 0.30; 'cc:2**0': 0.31; 'two': 0.35; 'list': 0.37; 'some': 0.37; 'your': 0.60; "here's": 0.61; 'name': 0.61; 'restore': 0.63; 'header:Received:2': 0.63; 'numbers': 0.65; 'received:194': 0.72; 'streams': 0.84; 'average': 0.96
X-IronPort-AV E=Sophos;i="4.75,319,1330902000"; d="scan'208";a="275003"
X-Virus-Scanned amavisd-new at zimbra.sequans.com
Date Mon, 26 Mar 2012 11:27:19 +0200
From Jean-Michel Pichavant <jeanmichel@sequans.com>
User-Agent Mozilla-Thunderbird 2.0.0.24 (X11/20100328)
MIME-Version 1.0
To Kiuhnm <kiuhnm03.4t.yahoo.it@mail.python.org>
Subject Re: Stream programming
References <4f6c9e17$0$1383$4fafbaef@reader2.news.tin.it>
In-Reply-To <4f6c9e17$0$1383$4fafbaef@reader2.news.tin.it>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.987.1332754047.3037.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1332754047 news.xs4all.nl 6851 [2001:888:2000:d::a6]:41716
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:22166

Show key headers only | View raw


Kiuhnm wrote:
> [snip]
>
> numbers - push - avrg - 'med' - pop - filter(lt('med'), ge('med'))\
>     - ['same', 'same'] - streams(cat) - 'same'
>
> It reads as
>
> "take a list of numbers - save it - compute the average and named it 
> 'med' - restore the flow - create two streams which have, respect., 
> the numbers less than 'med' and those greater or equal to 'med' - do 
> the /entire/ 'same' process on each one of the two streams - concat 
> the resulting streams - name all this /entire/ process 'same'.
> Not readable enough? Replace 'same' with 'qsort'.
>
> Is that readable or am I going crazy? [note: that's a rhetorical 
> question whose answer is "That's very readable!"]
>
> Kiuhnm

Here's a rhetorical answer to your question : whatever you're taking, I 
want some !

JM

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


Thread

Stream programming Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-23 17:00 +0100
  Re: Stream programming Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-23 17:02 +0100
  Re: Stream programming Nathan Rice <nathan.alexander.rice@gmail.com> - 2012-03-23 12:33 -0400
    Re: Stream programming Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-23 21:33 +0100
      Re: Stream programming Nathan Rice <nathan.alexander.rice@gmail.com> - 2012-03-23 17:18 -0400
        Re: Stream programming Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-24 01:26 +0100
      Re: Stream programming Ethan Furman <ethan@stoneleaf.us> - 2012-03-23 14:12 -0700
        Re: Stream programming Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-24 00:57 +0100
  Re: Stream programming MRAB <python@mrabarnett.plus.com> - 2012-03-23 18:00 +0000
  Re: Stream programming Nathan Rice <nathan.alexander.rice@gmail.com> - 2012-03-23 15:23 -0400
    Re: Stream programming Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-23 21:44 +0100
  Re: Stream programming Ray Song <emacsray@gmail.com> - 2012-03-24 07:32 +0800
    Re: Stream programming Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-24 01:41 +0100
  Re: Stream programming Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-24 03:23 +0000
    Re: Stream programming Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-24 12:05 +0100
  Re: Stream programming Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-03-26 11:27 +0200
    Re: Stream programming Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-26 13:45 +0200

csiph-web