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


Groups > comp.lang.python > #45423

Re: Python for philosophers

Path csiph.com!usenet.pasdenom.info!aioe.org!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <js@globe.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'interpreter': 0.05; 'string.': 0.05; 'subject:Python': 0.06; 'interpreter.': 0.07; 'facts': 0.09; 'terms,': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'complicated,': 0.16; 'decisions,': 0.16; 'inputs': 0.16; 'received:10.50': 0.16; 'say.': 0.16; 'scientists': 0.16; 'unlikely': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'trying': 0.19; "python's": 0.19; 'seems': 0.21; 'input': 0.22; 'programming': 0.22; 'gmbh': 0.22; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; '(or': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In- Reply-To:1': 0.27; 'function': 0.29; "doesn't": 0.30; "i'm": 0.30; 'consequence': 0.31; 'produces': 0.31; 'figure': 0.32; 'know.': 0.32; 'another': 0.32; 'maybe': 0.34; 'could': 0.34; 'knowledge': 0.35; "can't": 0.35; 'something': 0.35; 'etc.)': 0.35; 'more,': 0.35; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'disk': 0.36; 'transition': 0.36; 'vice': 0.36; 'done': 0.36; 'possible': 0.36; 'received:10': 0.37; 'clear': 0.37; 'system,': 0.38; 'form,': 0.38; 'rather': 0.38; 'how': 0.40; 'even': 0.60; 'skip:u 10': 0.60; 'expression': 0.60; 'most': 0.60; "you're": 0.61; 'such': 0.63; 'refer': 0.63; 'more': 0.64; 'different': 0.65; 'account': 0.65; 'details': 0.65; 'here': 0.66; 'capable': 0.67; 'answer.': 0.68; 'increasing': 0.74; '260': 0.84; 'ram,': 0.84; 'surface': 0.84; 'canonical': 0.91; 'to:none': 0.92
X-Virus-Scanned Debian amavisd-new at ispconfig-mx01-ha03.globe.de
Date Thu, 16 May 2013 16:13:49 +0200
From Schneider <js@globe.de>
Organization GLOBE Development GmbH
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5
MIME-Version 1.0
CC python-list@python.org
Subject Re: Python for philosophers
References <CAMbF=C_GF_AKO2dD_=bH6VN2GVcSbC=KtHFLw62CKq2yitcfyQ@mail.gmail.com> <mailman.1581.1368368230.3114.python-list@python.org> <avaqo7Fsj3pU1@mid.individual.net>
In-Reply-To <avaqo7Fsj3pU1@mid.individual.net>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
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 <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.1753.1368714014.3114.python-list@python.org> (permalink)
Lines 71
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1368714014 news.xs4all.nl 15866 [2001:888:2000:d::a6]:33785
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45423

Show key headers only | View raw


Maybe the implementation of the Python Interpreter could be seen as 
transition function.
This can be understand in detail, but it even if you know how the 
interpreter works, you don't really know to work
_with_ the interpreter.
Even more, there are a lot of decisions, which are made 'by design' and 
don't have a clear answer. to see why somethings are
done in the way they are done you have to understand the philosophy of 
programming with python.

bg,
Johannes

On 13.05.2013 02:34, Gregory Ewing wrote:
> Citizen Kant wrote:
>> What I do here is to try to "understand". That's different from just 
>> knowing. Knowledge growth must be consequence of understanding's 
>> increasing. As the scope of my understanding increases, the more I 
>> look for increasing my knowledge. Never vice versa, because, knowing 
>> isn't like to be right, it's just knowing.
>
> It doesn't always work that way. With some facts plus a
> theory, you can deduce more facts. But it's always possible
> for there to be more facts that you can't deduce from what
> you already know.
>
>> But take in account that with "shortening" I refer to "according to 
>> Python's axiomatic parameters".
>
> I think what you're trying to say is that it takes an
> expression and reduces it to a canonical form, such as
> a single number or single string.
>
> That's true as far as it goes, but it barely scratches
> the surface of what the Python interpreter is capable
> of doing.
>
> In the most general terms, the Python interpeter (or
> any other computer system, for that matter) can be thought
> of as something with an internal state, and a transition
> function that takes the state together with some input
> and produces another state together with some output:
>
>    F(S1, I) --> (S2, O)
>
> (Computer scientists call this a "finite state machine",
> because there is a limited number of possible internal
> states -- the computer only has so much RAM, disk space,
> etc.)
>
> This seems to be what you're trying to get at with your
> game-of-chess analogy.
>
> What distinguishes one computer system from another is
> the transition function. The transition function of the
> Python interpreter is rather complicated, and it's
> unlikely that you would be able to figure out all its
> details just by poking in inputs and observing the
> outputs. If you really want to understand it, you're
> going to have to learn some facts, I'm sorry to say. :-)
>


-- 
GLOBE Development GmbH
Königsberger Strasse 260
48157 MünsterGLOBE Development GmbH
Königsberger Strasse 260
48157 Münster
0251/5205 390

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


Thread

Re: Python for philosophers Citizen Kant <citizenkant@gmail.com> - 2013-05-12 16:17 +0200
  Re: Python for philosophers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-12 14:30 +0000
    Re: Python for philosophers alex23 <wuwei23@gmail.com> - 2013-05-12 21:19 -0700
  Re: Python for philosophers rusi <rustompmody@gmail.com> - 2013-05-12 09:00 -0700
  Re: Python for philosophers Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-05-13 12:34 +1200
    Re: Python for philosophers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-13 02:41 +0000
      Re: Python for philosophers rusi <rustompmody@gmail.com> - 2013-05-13 07:53 -0700
        Re: Python for philosophers Chris Angelico <rosuav@gmail.com> - 2013-05-14 02:24 +1000
          Re: Python for philosophers rusi <rustompmody@gmail.com> - 2013-05-13 11:14 -0700
            Re: Python for philosophers Chris Angelico <rosuav@gmail.com> - 2013-05-14 04:22 +1000
          Re: Python for philosophers 88888 Dihedral <dihedral88888@googlemail.com> - 2013-05-18 16:56 -0700
            Re: Python for philosophers Chris Angelico <rosuav@gmail.com> - 2013-05-19 10:04 +1000
              Re: Python for philosophers 88888 Dihedral <dihedral88888@googlemail.com> - 2013-05-18 19:30 -0700
                Re: Python for philosophers Michael Torrie <torriem@gmail.com> - 2013-05-18 22:46 -0600
    Re: Python for philosophers Schneider <js@globe.de> - 2013-05-16 16:13 +0200
  Re: Python for philosophers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-13 03:25 +0000
    Re: Python for philosophers Grant Edwards <invalid@invalid.invalid> - 2013-05-13 14:33 +0000
  Re: Python for philosophers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-13 07:13 +0000
    Re: Python for philosophers alex23 <wuwei23@gmail.com> - 2013-05-13 02:05 -0700
    Re: Python for philosophers Neil Cerutti <neilc@norwich.edu> - 2013-05-13 13:52 +0000

csiph-web