Python for philosophers

2013-05-19 Thread rusi
On May 17, 1:06 am, Citizen Kant wrote: > rusi said: > > > And let me suggest that you follow your own advise -- Can you say what > > you have to say in 1/10th the number of words? Ok if not 1/10th then > > 1/5th? 1-third? > > Thanks for the suggestion. I apologize for being that expansive; maybe

Fwd: Fwd: Fwd: Fwd: Python for philosophers

2013-05-18 Thread Citizen Kant
rusi said: > And let me suggest that you follow your own advise -- Can you say what > you have to say in 1/10th the number of words? Ok if not 1/10th then > 1/5th? 1-third? Thanks for the suggestion. I apologize for being that expansive; maybe you are right about this. In my world less use to be

Re: Python for philosophers

2013-05-18 Thread Michael Torrie
On 05/18/2013 08:30 PM, 8 Dihedral wrote: > I am too lazy to write a factorial computations with primes > here. Ahh, that's better. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python for philosophers

2013-05-18 Thread 88888 Dihedral
Chris Angelico於 2013年5月19日星期日UTC+8上午8時04分45秒寫道: > On Sun, May 19, 2013 at 9:56 AM, 8 Dihedral > > wrote: > > > Hey, ChisA, are you delibrately to write a recursive version > > > to demonstrate the stack depth problem in Python? > > > > > > def fact(n): > > >ret=1 > > >if n>1: #

Re: Python for philosophers

2013-05-18 Thread Chris Angelico
On Sun, May 19, 2013 at 9:56 AM, 8 Dihedral wrote: > Hey, ChisA, are you delibrately to write a recursive version > to demonstrate the stack depth problem in Python? > > def fact(n): >ret=1 >if n>1: # integer checking is not used but can be added > for x in xrange(n): ret*=x >

Re: Python for philosophers

2013-05-18 Thread 88888 Dihedral
Chris Angelico於 2013年5月14日星期二UTC+8上午12時24分44秒寫道: > On Tue, May 14, 2013 at 12:53 AM, rusi wrote: > > > int fact(int n, int acc) > > > { > > > return !n? acc : fact(n-1,acc*n); > > > } > > > - > > > When I run these, the C happily keeps giving answers until a

Re: Fwd: Fwd: Python for philosophers

2013-05-16 Thread llanitedave
On Thursday, May 16, 2013 5:28:11 AM UTC-7, Citizen Kant wrote: > On May 16, 5:55 am, Citizen Kant wrote: > If someone's interested on thinking outside the box with me for the sake of helping me, that would be great and highly appreciated. Sorry, but you're asking for more than just thinking o

Re: Python for philosophers

2013-05-16 Thread Tim Daneliuk
On 05/16/2013 09:27 AM, Grant Edwards wrote: On 2013-05-16, Tim Daneliuk wrote: On 05/15/2013 08:01 PM, Ned Batchelder wrote: On 5/11/2013 4:03 PM, Citizen Kant wrote: Don't get me wrong. I can see the big picture and the amazing things that programmers write on Python, it's just that my que

Re: Python for philosophers

2013-05-16 Thread Grant Edwards
On 2013-05-16, Tim Daneliuk wrote: > On 05/15/2013 08:01 PM, Ned Batchelder wrote: >> On 5/11/2013 4:03 PM, Citizen Kant wrote: >>> Don't get me wrong. I can see the big picture and the amazing things that >>> programmers write on Python, it's just that my question points to the >>> lowest level

Re: Python for philosophers

2013-05-16 Thread Schneider
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'

Re: Fwd: Fwd: Fwd: Python for philosophers

2013-05-16 Thread Chris Angelico
On Thu, May 16, 2013 at 11:46 PM, rusi wrote: > IOW a programmer is one who quickly and easily comes to the nub/core/ > kernel/essence of a problem and as easily and adroitly shaves off the > irrelevant. +1. This is a fairly good description of a programmer's job. Of course, that's the theoretic

Re: Fwd: Fwd: Fwd: Python for philosophers

2013-05-16 Thread rusi
On May 16, 5:28 pm, Citizen Kant wrote: > > I'm just an honest and polite guy asking you guys a couple of simple out of > the box questions that are important for me. Everyone here has the freedom > to keep on with their own assumptions and beliefs. If someone's interested > on thinking outside th

Fwd: Fwd: Fwd: Python for philosophers

2013-05-16 Thread Citizen Kant
On May 16, 5:55 am, Citizen Kant wrote: > As a matter of > class, the word python names first a python snake than a Monty Python, > which is 50% inspired by that python word, word that's been being > considered the given name of a particular kind of snake since times in > which Terry Gilliam wasn'

Re: Python for philosophers

2013-05-15 Thread Andrew Berg
Tim Daneliuk wrote: > All You People are making this way too hard. To understand how > questions like the OPs ought be resolved, please read: > > http://pvspade.com/Sartre/cookbook.html On this list, I would expect a Sartre reference to be something like this: https://www.youtube.com/watch?v

Re: Python for philosophers

2013-05-15 Thread rusi
On May 16, 6:17 am, Tim Daneliuk wrote: > On 05/15/2013 08:01 PM, Ned Batchelder wrote: > > > On 5/11/2013 4:03 PM, Citizen Kant wrote: > >> Don't get me wrong. I can see the big picture and the amazing things that > >> programmers write on Python, it's just that my question points to the > >> l

Re: Python for philosophers

2013-05-15 Thread Tim Daneliuk
On 05/15/2013 11:49 PM, alex23 wrote: On May 16, 11:17 am, Tim Daneliuk wrote: http://pvspade.com/Sartre/cookbook.html Best recipe for tuna casserole ever! Cheers for this :) "I have have realized that the traditional omelet form (eggs and cheese) is bourgeois." --

Re: Python for philosophers

2013-05-15 Thread Tim Daneliuk
On 05/15/2013 10:43 PM, Terry Jan Reedy wrote: On 5/15/2013 9:17 PM, Tim Daneliuk wrote: http://pvspade.com/Sartre/cookbook.html Wikedly funny. "Today I made a Black Forest cake out of five pounds of cherries and a live beaver," -- ---

Re: Python for philosophers

2013-05-15 Thread alex23
On May 16, 11:17 am, Tim Daneliuk wrote: >    http://pvspade.com/Sartre/cookbook.html Best recipe for tuna casserole ever! Cheers for this :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Python for philosophers

2013-05-15 Thread Terry Jan Reedy
On 5/15/2013 9:17 PM, Tim Daneliuk wrote: http://pvspade.com/Sartre/cookbook.html Wikedly funny. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python for philosophers

2013-05-15 Thread Tim Daneliuk
On 05/15/2013 08:01 PM, Ned Batchelder wrote: On 5/11/2013 4:03 PM, Citizen Kant wrote: Don't get me wrong. I can see the big picture and the amazing things that programmers write on Python, it's just that my question points to the lowest level of it's existence. Sometimes a cigar is just a

Re: Python for philosophers

2013-05-15 Thread Ned Batchelder
On 5/11/2013 4:03 PM, Citizen Kant wrote: Don't get me wrong. I can see the big picture and the amazing things that programmers write on Python, it's just that my question points to the lowest level of it's existence. Sometimes a cigar is just a cigar. Python is a tool, it does what you tell

Re: Fwd: Fwd: Python for philosophers

2013-05-15 Thread Fábio Santos
On 15 May 2013 20:59, "Citizen Kant" wrote: > Of course one always may want to perform random hacking and turn tables just because and treat the word python as a variable's name, setting that python equals Monty Python in order to checkmate any given conversation. In that case we'll have to cope t

Re: Fwd: Fwd: Python for philosophers

2013-05-15 Thread alex23
On May 16, 5:55 am, Citizen Kant wrote: > As a matter of > class, the word python names first a python snake than a Monty Python, > which is 50% inspired by that python word, word that's been being > considered the given name of a particular kind of snake since times in > which Terry Gilliam wasn'

Fwd: Fwd: Python for philosophers

2013-05-15 Thread Citizen Kant
On 2013-05-14, Citizen Kant wrote: > 2013/5/14 Steven D'Aprano > >> On Tue, 14 May 2013 01:32:43 +0200, Citizen Kant wrote: >> >> >> An entity named Python must be somehow as a serpent. Don't forget that >> >> I'm with the freeing up of my memory, now I'm not trying to follow the >> >> path of wh

Re: Fwd: Python for philosophers

2013-05-15 Thread Grant Edwards
On 2013-05-14, Citizen Kant wrote: > 2013/5/14 Steven D'Aprano > >> On Tue, 14 May 2013 01:32:43 +0200, Citizen Kant wrote: >> >> >> An entity named Python must be somehow as a serpent. Don't forget that >> >> I'm with the freeing up of my memory, now I'm not trying to follow the >> >> path of wh

Re: Python for philosophers

2013-05-15 Thread Chris Angelico
On Tue, May 14, 2013 at 4:14 AM, rusi wrote: > It costs $10K for a car which goes at around 80 kmph > > Now if I want to move at 800 kmph I need to switch from car to plane > and that will cost me in millions > > And if I want to move at 8000 kmph I need to be in a rocket in outer > space. Cost pe

Re: Python for philosophers

2013-05-14 Thread Ramchandra Apte
On Sunday, 12 May 2013 01:33:15 UTC+5:30, Citizen Kant wrote: > Hi, > this could be seen as an extravagant subject but that is not my original > purpose. I still don't know if I want to become a programmer or not. At this > moment I'm just inspecting the environment. I'm making my way to Python

Re: Fwd: Python for philosophers

2013-05-14 Thread DJC
On 14/05/13 09:34, Citizen Kant wrote: 2013/5/14 Steven D'Aprano On Tue, 14 May 2013 01:32:43 +0200, Citizen Kant wrote: An entity named Python must be somehow as a serpent. Don't forget that I'm with the freeing up of my memory, now I'm not trying to follow the path of what's told but actin

Re: Python for philosophers

2013-05-14 Thread Mark Janssen
On Sat, May 11, 2013 at 1:03 PM, Citizen Kant wrote: >I'm making my way to Python (and > OOP in general) from a philosophical perspective or point of view and try to > set the more global definition of Python's core as an "entity". In order to > do that, and following Wittgenstein's indication abo

Re: Fwd: Python for philosophers

2013-05-14 Thread Terry Jan Reedy
2013/5/14 Steven D'Aprano mailto:steve+comp.lang.pyt...@pearwood.info>> >Python is not named after the snake, but after Monty Python the British >comedy troupe. And they picked their name because it sounded funny. That does not mean they were unaware that Pythons are snakes. "

Fwd: Python for philosophers

2013-05-14 Thread Citizen Kant
Case study (kind of) Imagine that I use to explore with my mind a particular topic and I want to map and model the mechanics of that exploration. That's mostly metaphysical. I have a partner called Python with whom I must communicate in Python. Which would be the basics that I must "know" in order

Fwd: Python for philosophers

2013-05-14 Thread Citizen Kant
>>From: llanitedave >>On Monday, May 13, 2013 4:32:43 PM UTC-7, Citizen Kant wrote: >>>An entity named Python must be >>> somehow as a serpent. llanitedave wrote: Moe like a dead parrot, actually. That's a good one! Even If doesn't lead to the fact that Python (so to speak) use to giv

Fwd: Python for philosophers

2013-05-14 Thread Citizen Kant
2013/5/14 Steven D'Aprano > On Tue, 14 May 2013 01:32:43 +0200, Citizen Kant wrote: > > >> An entity named Python must be somehow as a serpent. Don't forget that > >> I'm with the freeing up of my memory, now I'm not trying to follow the > >> path of what's told but acting like the monkey and pus

Re: Python for philosophers

2013-05-13 Thread Jake Angulo
On Tue, May 14, 2013 at 9:32 AM, Citizen Kant wrote: > Do I want to learn to program? > I didn't say I've wanted to learn to program neither said the > opposite. I've said that I wasn't sure. H... i'd say you'll make very good business applications analyst. In fact i'd hazard to say you can

Re: Python for philosophers

2013-05-13 Thread Steven D'Aprano
On Tue, 14 May 2013 01:32:43 +0200, Citizen Kant wrote: > An entity named Python must be somehow as a serpent. Don't forget that > I'm with the freeing up of my memory, now I'm not trying to follow the > path of what's told but acting like the monkey and pushing with my > finger against the skin o

Re: Python for philosophers

2013-05-13 Thread llanitedave
On Monday, May 13, 2013 4:32:43 PM UTC-7, Citizen Kant wrote: >An entity named Python must be > somehow as a serpent. Moe like a dead parrot, actually. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python for philosophers

2013-05-13 Thread Dave Angel
On 05/13/2013 07:32 PM, Citizen Kant wrote: Am I getting closer to the point? Depends on whom you think you're talking to. Clearly, you've replied to yourself, and top-posted besides. That's not a conversation, it's a monologue. -- DaveA -- http://mail.python.org/mailman/listi

Re: Python for philosophers

2013-05-13 Thread Citizen Kant
I'm amazed with your feedback, even when due to a lack of knowledge I'm not able to discuss some of them. I've been inspecting the stuff about rewriting and that drew my attention to my first intuition of Python being economic. Maybe could it support my impression about a thing thats behind the lan

Re: Python for philosophers

2013-05-13 Thread rusi
On May 13, 9:24 pm, Chris Angelico wrote: > > Your final conclusion is of course correct; nothing we build can be > truly infinite. But we can certainly give some very good > approximations, if we're prepared to pay for them. The reality is, > though, that we usually do not want to pay for approxi

Re: Python for philosophers

2013-05-13 Thread Chris Angelico
On Tue, May 14, 2013 at 12:53 AM, rusi wrote: > int fact(int n, int acc) > { > return !n? acc : fact(n-1,acc*n); > } > - > When I run these, the C happily keeps giving answers until a million > > However examined closely we find that though the C is giving answers

Re: Python for philosophers

2013-05-13 Thread rusi
On May 13, 7:41 am, Steven D'Aprano wrote: > Python is not well-modelled as a Finite State Machine. Python is > equivalent in computing power to a Turing Machine, while Finite State > Machines are much weaker, so there are things that Python can do that a > FSM cannot. Consider the following. Py

Re: Python for philosophers

2013-05-13 Thread Grant Edwards
On 2013-05-13, Steven D'Aprano wrote: > Your premise that Python tries to be "economical" is incorrect. If > anything, Python is the opposite: it is often profligate with resources > (memory mostly) in order to save the human programmer time and effort. IOW, Python is designed to be economical,

Re: Python for philosophers

2013-05-13 Thread Neil Cerutti
On 2013-05-13, Steven D'Aprano wrote: > I'm not trying to beat the original Poster up for making an > error, but demonstrating just how badly off track you can get > by trying to reason from first principles (as Plato may have > done) instead of empirical study (as Aristotle or Bacon may > have do

Re: Python for philosophers

2013-05-13 Thread alex23
On May 13, 5:13 pm, Steven D'Aprano wrote: > I'm not trying to beat the original Poster up for making an error, but > demonstrating just how badly off track you can get by trying to reason > from first principles (as Plato may have done) instead of empirical study > (as Aristotle or Bacon may have

Re: Python for philosophers

2013-05-13 Thread Steven D'Aprano
Some further details on something mentioned about Python being "economical". On Sun, 12 May 2013 16:17:02 +0200, Citizen Kant wrote: > For example: I'm plainly aware that the word "python" looks shorten than > "0111 0001 01110100 01101000 0110 01101110". But it's > shorten just for m

Re: Python for philosophers

2013-05-12 Thread Steven D'Aprano
On Sun, 12 May 2013 16:17:02 +0200, Citizen Kant wrote: > Thank you very much for your answers. > > I'm afraid that, at this stage, I must prevent myself from "knowing too > much" about the subject. My idea here is trying to fill the gaps, > mostly, using intuition. Then you are doomed to failur

Re: Python for philosophers

2013-05-12 Thread Steven D'Aprano
On Mon, 13 May 2013 12:34:13 +1200, Gregory Ewing wrote: > 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 produ

Re: Python for philosophers

2013-05-12 Thread Steven D'Aprano
On Sat, 11 May 2013 22:03:15 +0200, Citizen Kant wrote: > Hi, > this could be seen as an extravagant subject but that is not my original > purpose. I still don't know if I want to become a programmer or not. At > this moment I'm just inspecting the environment. Towards what purpose? Do you want

Re: Python for philosophers

2013-05-12 Thread Gregory Ewing
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'

Re: Python for philosophers

2013-05-12 Thread alex23
On May 13, 12:30 am, Steven D'Aprano wrote: > If you are interested in the intersection of programming and philosophy, > I strongly recommend that you read "Gödel, Escher, Bach: An Eternal > Golden Braid" by Douglas R. Hofstadter. +1 -- http://mail.python.org/mailman/listinfo/python-list

Re: Python for philosophers

2013-05-12 Thread Chris Angelico
On Mon, May 13, 2013 at 4:13 AM, llanitedave wrote: > On Sunday, May 12, 2013 7:51:28 AM UTC-7, Chris Angelico wrote: >> On Mon, May 13, 2013 at 12:17 AM, Citizen Kant wrote: >> >> > Maybe It'd be good if I explain myself a bit more. What I'm trying here is >> >> > to grasp Python from the game's

Re: Python for philosophers

2013-05-12 Thread llanitedave
On Sunday, May 12, 2013 7:51:28 AM UTC-7, Chris Angelico wrote: > On Mon, May 13, 2013 at 12:17 AM, Citizen Kant wrote: > > > Maybe It'd be good if I explain myself a bit more. What I'm trying here is > > > to grasp Python from the game's abstraction point of view, as if it were, > > > for exam

Re: Python for philosophers

2013-05-12 Thread rusi
On May 12, 7:17 pm, Citizen Kant wrote: > Maybe It'd be good if I explain myself a bit more. What I'm trying here is > to grasp Python from the game's abstraction point of view, as if it were, > for example, chess. That's why I need a real_player to point me to: (so to > speak, I wish I could expr

Re: Python for philosophers

2013-05-12 Thread Chris Angelico
On Mon, May 13, 2013 at 12:17 AM, Citizen Kant wrote: > Maybe It'd be good if I explain myself a bit more. What I'm trying here is > to grasp Python from the game's abstraction point of view, as if it were, > for example, chess. Maybe you're going for something a little too complicated. Let's boi

Re: Python for philosophers

2013-05-12 Thread Steven D'Aprano
On Sun, 12 May 2013 04:15:30 -0400, Devin Jeanpierre wrote: > On Sun, May 12, 2013 at 1:17 AM, Steven D'Aprano > wrote: >> On Sat, 11 May 2013 21:45:12 -0700, rusi wrote: >> >>> I have on occasion expressed that newcomers to this list should be >>> treated with more gentleness than others. And si

Re: Python for philosophers

2013-05-12 Thread Steven D'Aprano
On Sun, 12 May 2013 16:17:02 +0200, Citizen Kant wrote: > Any clue about this would be highly appreciated. If you are interested in the intersection of programming and philosophy, I strongly recommend that you read "Gödel, Escher, Bach: An Eternal Golden Braid" by Douglas R. Hofstadter. --

Re: Python for philosophers

2013-05-12 Thread Citizen Kant
Thank you very much for your answers. I'm afraid that, at this stage, I must prevent myself from "knowing too much" about the subject. My idea here is trying to fill the gaps, mostly, using intuition. What I do here is to try to "understand". That's different from just knowing. Knowledge growth mu

Re: Python for philosophers

2013-05-12 Thread Devin Jeanpierre
On Sun, May 12, 2013 at 1:17 AM, Steven D'Aprano wrote: > On Sat, 11 May 2013 21:45:12 -0700, rusi wrote: > >> I have on occasion expressed that newcomers to this list should be >> treated with more gentleness than others. And since my own joking may be >> taken amiss, let me hasten to add (to the

Re: Python for philosophers

2013-05-11 Thread Steven D'Aprano
On Sat, 11 May 2013 21:45:12 -0700, rusi wrote: > I have on occasion expressed that newcomers to this list should be > treated with more gentleness than others. And since my own joking may be > taken amiss, let me hasten to add (to the OP -- Citizen Kant) A noble aim, but I have a feeling that "C

Re: Python for philosophers

2013-05-11 Thread rusi
On May 12, 9:22 am, rusi wrote: > On May 12, 3:16 am, alex23 wrote: > > > On 12 May, 06:10, Mark Janssen wrote: > > > > Wow.  You must be from another planet.  Find Socrates if you wish to > > > know these things.  He's from there also. > > > Now now, there's no need for a turf war, there's plen

Re: Python for philosophers

2013-05-11 Thread Chris Angelico
On Sun, May 12, 2013 at 2:22 PM, rusi wrote: > On May 12, 3:16 am, alex23 wrote: >> On 12 May, 06:10, Mark Janssen wrote: >> >> > Wow. You must be from another planet. Find Socrates if you wish to >> > know these things. He's from there also. >> >> Now now, there's no need for a turf war, the

Re: Python for philosophers

2013-05-11 Thread rusi
On May 12, 3:16 am, alex23 wrote: > On 12 May, 06:10, Mark Janssen wrote: > > > Wow.  You must be from another planet.  Find Socrates if you wish to > > know these things.  He's from there also. > > Now now, there's no need for a turf war, there's plenty of room on > this list for crazies. I'm r

Re: Python for philosophers

2013-05-11 Thread Joel Goldstick
On Sat, May 11, 2013 at 4:03 PM, Citizen Kant wrote: > Hi, > this could be seen as an extravagant subject but that is not my original > purpose. I still don't know if I want to become a programmer or not. My guess is that you don't want to be a programmer. Otherwise you would know that you did

Re: Python for philosophers

2013-05-11 Thread Ned Batchelder
On 5/11/2013 4:03 PM, Citizen Kant wrote: Hi, this could be seen as an extravagant subject but that is not my original purpose. I still don't know if I want to become a programmer or not. At this moment I'm just inspecting the environment. I'm making my way to Python (and OOP in general) from

Re: Python for philosophers

2013-05-11 Thread Gregory Ewing
Citizen Kant wrote: I roughly came to the idea that Python could be considered as an *economic mirror for data*, one that mainly *mirrors* the data the programmer types on its black surface, not exactly as the programmer originally typed it, but expressed in the most economic way possible. A

Re: Python for philosophers

2013-05-11 Thread alex23
On 12 May, 06:10, Mark Janssen wrote: > Wow.  You must be from another planet.  Find Socrates if you wish to > know these things.  He's from there also. Now now, there's no need for a turf war, there's plenty of room on this list for crazies. -- http://mail.python.org/mailman/listinfo/python-li

Re: Python for philosophers

2013-05-11 Thread Fábio Santos
On 11 May 2013 21:07, "Citizen Kant" wrote: > > Hi, > this could be seen as an extravagant subject but that is not my original purpose. I still don't know if I want to become a programmer or not. At this moment I'm just inspecting the environment. I'm making my way to Python (and OOP in general) f

Re: Python for philosophers

2013-05-11 Thread Mark Janssen
On Sat, May 11, 2013 at 1:03 PM, Citizen Kant wrote: >[...] the starting question I make to myself about Python is: which is the >single > and most basic use of Python as the entity it is? I mean, beside > programming, what's the single and most basic result one can expect from > "interacting" wi

Python for philosophers

2013-05-11 Thread Citizen Kant
Hi, this could be seen as an extravagant subject but that is not my original purpose. I still don't know if I want to become a programmer or not. At this moment I'm just inspecting the environment. I'm making my way to Python (and OOP in general) from a philosophical perspective or point of view an