Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'patterns.': 0.07; 'permissions': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'def': 0.12; "'we'": 0.16; 'dig': 0.16; 'none.': 0.16; 'subject:exception': 0.16; 'subject:expression': 0.16; 'wrote:': 0.18; "hasn't": 0.19; 'pfxlen:0': 0.19; 'pointed': 0.19; 'written': 0.21; 'seems': 0.21; 'coding': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'choices': 0.24; 'text.': 0.24; 'why.': 0.24; 'software.': 0.24; 'question': 0.24; 'cc:2**0': 0.24; "i've": 0.25; '>': 0.26; 'header:In- Reply-To:1': 0.27; 'fixed': 0.29; 'am,': 0.29; 'wonder': 0.29; 'message-id:@mail.gmail.com': 0.30; 'along': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'requests': 0.31; 'asks': 0.31; 'go.': 0.31; 'obscure': 0.31; 'question:': 0.31; 'sep': 0.31; 'writes:': 0.31; 'yesterday': 0.31; 'url:python': 0.33; 'plain': 0.33; 'except': 0.35; 'problem.': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'choosing': 0.36; 'passwords': 0.36; 'url:listinfo': 0.36; 'doing': 0.36; 'shows': 0.36; 'url:org': 0.36; 'so,': 0.37; 'being': 0.38; 'server': 0.38; 'files': 0.38; 'fact': 0.38; 'little': 0.38; 'anything': 0.39; 'bad': 0.39; 'url:mail': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'read': 0.60; 'guy': 0.60; 'different': 0.65; 'anything.': 0.68; 'drama': 0.84; 'joel': 0.91; 'probe': 0.91; 'why?': 0.91; 'wanting': 0.93; 'picture': 0.97; '2013': 0.98 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=fOOztzEsyCHejQql/ZMSI516dE0WG87EcEwv0dqyiHI=; b=RR7dlFOIwBmz6lYnkf1vrQK0Y3Zy4u0nxFGjEYtiIRlG7+ECPjXvEKOyd+eAbG1mOy i9jEeB/zs7/hl88UEyoLDKFsY8Reqx5WskBFbDgADhaXVWyyPcigDkhSKI727LpL5n6f kRbvXheq+le4z+vgC2at3S5njWNFWot8P/4YHEAD4WcQVNTTXPDm/3n/xk+6tydLyO8t OEUAYzzUz6zJKwZ+YhfsgN5lOEt5KhuvWVG4XDatFCLFDBjyqUni0EvMgbu3hp6SQS6A tRcmKW1wY0UYg3d9YGdi47mk7N99yNuplZHoJchrzBnhIqe4exiEyU0K/CA6bLJqThzS LQCg== MIME-Version: 1.0 X-Received: by 10.52.94.37 with SMTP id cz5mr86643vdb.30.1380470859728; Sun, 29 Sep 2013 09:07:39 -0700 (PDT) In-Reply-To: <87eh87ir51.fsf@pascolo.net> References: <87eh87ir51.fsf@pascolo.net> Date: Sun, 29 Sep 2013 12:07:39 -0400 Subject: Re: Handling 3 operands in an expression without raising an exception From: Joel Goldstick To: giacomo boffi Content-Type: multipart/alternative; boundary=20cf307f3170378c8404e787eb10 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: 114 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380470867 news.xs4all.nl 15868 [2001:888:2000:d::a6]:58128 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55023 --20cf307f3170378c8404e787eb10 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Sep 29, 2013 at 11:28 AM, giacomo boffi wrote: > =CE=9D=CE=AF=CE=BA=CE=BF=CF=82 writes: > > > IF it can also be written in one-line > > def f(x,n,w):return(lambda > y=3Df(x[::2],n/2,w[::2]),z=3Df(x[1::2],n/2,w[::2]):reduce(lambda > x,y:x+y,zip(*[(y[k]+w[k]*z[k],y[k]-w[k]*z[k]) for k in range(n/2)])))()if > n>1 else x > > -- > anch'io la penso come me, ma -- SteO153, in IHC > -- > https://mail.python.org/mailman/listinfo/python-list > I've been reading along and learning some really obscure coding patterns. The missing part is the why. Antoon asks: Why? What is so important about this particular way, that you are willing to spend/waste so much time on it? This question goes completely unnoticed. In the big picture this seems to be the pattern. Nikos asks a question that shows fundamental flaws in his understanding of a problem. People probe to understand what he really wants. He ignores everything except little coding snippets, and requests different choices on and on. Its like a fussy shopper wanting to see endless dresses, and in the end choosing none. I don't think any of Nikos questions have anything to do with finding an answer, because if you dig deeper into the questions they end up being only red herrings. As I pointed out yesterday he still hasn't fixed the fact that his python files on his server are set with permissions to read the code which contains passwords in plain text. That was the big drama from June So, Antoon, I think the question is why are 'we' wasting so much time. Nikos is just the orchestrator. He isn't wasting any time. He isn't doing anything. Here's my question: I wonder if Nikos has ever been employed to write software. If so, I wonder how long he lasted before he was let go. And I feel bad for the guy who had to support his code! --=20 Joel Goldstick http://joelgoldstick.com --20cf307f3170378c8404e787eb10 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Sun, Sep 29, 2013 at 11:28 AM, giacomo boffi &= lt;pecore@pascolo.n= et> wrote:
=CE=9D= =CE=AF=CE=BA=CE=BF=CF=82 <nikos= .gr33k@gmail.com> writes:

> IF it can also be written in one-line

def f(x,n,w):return(lambda y=3Df(x[::2],n/2,w[::2]),z=3Df(x[1::2],n/2= ,w[::2]):reduce(lambda x,y:x+y,zip(*[(y[k]+w[k]*z[k],y[k]-w[k]*z[k]) for k = in range(n/2)])))()if n>1 else x

--
anch'io la penso come me, ma =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- SteO153, in IHC
--
https://mail.python.org/mailman/listinfo/python-list


I= 've been reading along and learning some really obscure coding patterns= .=C2=A0 The missing part is the why.=C2=A0
Antoon asks:

Why? What is so important about this particular way, that you are
willing to spend/waste so much time on it?

This question goes completely unnoticed.=C2=A0 In the big picture t= his seems to be the pattern.=C2=A0 Nikos asks a question that shows fundame= ntal flaws in his understanding of a problem.=C2=A0 People probe to underst= and what he really wants.=C2=A0 He ignores everything except little coding = snippets, and requests different choices on and on.=C2=A0 Its like a fussy = shopper wanting to see endless dresses, and in the end choosing none.=C2=A0= I don't think any of Nikos questions have anything to do with finding = an answer, because if you dig deeper into the questions they end up being o= nly red herrings.

As I pointed out yesterday he still ha= sn't fixed the fact that his python files on his server are set with pe= rmissions to read the code which contains passwords in plain text.=C2=A0 Th= at was the big drama from June

So, Antoon, I think the question is wh= y are 'we' wasting so much time.=C2=A0 Nikos is just the orchestrat= or.=C2=A0 He isn't wasting any time.=C2=A0 He isn't doing anything.=

Here's my question:=C2=A0 I wonder if Nikos = has ever been employed to write software.=C2=A0 If so, I wonder how long he= lasted before he was let go.=C2=A0 And I feel bad for the guy who had to s= upport his code!


--
--20cf307f3170378c8404e787eb10--