Re: Fascinating interview by Richard Stallman at KTH on emacs history and internals

2010-07-17 Thread Lawrence D'Oliveiro
In message , Nick Keighley wrote: > On 16 July, 09:24, Mark Tarver wrote: >> On 15 July, 23:21, bolega wrote: >> >> >http://www.gnu.org/philosophy/stallman-kth.html >> >> > RMS lecture at KTH (Sweden), 30 October 1986 > > did you really have to post all of this... > > > >> > read more »...

why is this group being spammed?

2010-07-17 Thread geremy condra
On Sat, Jul 17, 2010 at 10:57 PM, Alf P. Steinbach /Usenet wrote: > * be.krul, on 18.07.2010 07:01: >> >> why is this group being spammed? > > It depends a little on what you're asking, e.g. technical versus motivation. > > But I'll answer about something you probably didn't mean to ask, namely wh

Re: why is this group being spammed?

2010-07-17 Thread Alf P. Steinbach /Usenet
* be.krul, on 18.07.2010 07:01: why is this group being spammed? It depends a little on what you're asking, e.g. technical versus motivation. But I'll answer about something you probably didn't mean to ask, namely what human trait enables and almost forces that kind of behavior. And I belie

Re: why is this group being spammed?

2010-07-17 Thread Ben Finney
"be.krul" writes: > why is this group being spammed? What kind of answer are you looking for? Are you asking about the motives of spammers, or the technical explanation for how the spam arrives, or something else? -- \ “The best ad-libs are rehearsed.” —Graham Kennedy | `\

Re: why is this group being spammed?

2010-07-17 Thread Chris Rebert
On Sat, Jul 17, 2010 at 10:01 PM, be.krul wrote: > why is this group being spammed? Because that's what happens in unmoderated USENET newsgroups. Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list

why is this group being spammed?

2010-07-17 Thread be.krul
why is this group being spammed? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.1.2 and marshal

2010-07-17 Thread raj
On Jul 17, 10:11 pm, Thomas Jollans wrote: [Snip] > So, the contents of the file is identical, but Python 3 reads the whole > file, Python 2 reads only the data it uses. > > This looks like a simple optimisation: read the whole file at once, > instead of byte-by-byte, to improve performance when r

Re: Fascinating interview by Richard Stallman on Russia TV

2010-07-17 Thread Stephen Hansen
On 7/17/10 12:09 PM, Emmy Noether wrote: > I am sick of such jews/zionists [...] This racist rant may be on-topic for some of the other newsgroups/lists you are cross-posting to, but it is most assuredly not on topic for Python. Also, its just daft. But that's another thing entirely. Reported. -

Re: Fascinating interview by Richard Stallman on Russia TV

2010-07-17 Thread geremy condra
On Sat, Jul 17, 2010 at 5:34 PM, Rui Maciel wrote: > Emmy Noether wrote: > > >> Mackenzie, bring a properly written documentation by FSF for example >> on emacs of gcc. I want to see where RMS got his ideas ? Did he >> invent >> all of them himself ? Is he giving proper references to the sources

Re: Fascinating interview by Richard Stallman on Russia TV

2010-07-17 Thread Rui Maciel
Emmy Noether wrote: > Mackenzie, bring a properly written documentation by FSF for example > on emacs of gcc. I want to see where RMS got his ideas ? Did he > invent > all of them himself ? Is he giving proper references to the sources > of > the ideas ? Is that plagiarism ? > > I am sick of suc

Re: Fascinating interview by Richard Stallman on Russia TV

2010-07-17 Thread Emmy Noether
The XEMACS programmers have documented in writing that Richard Matthews Stallman asked them to explain every single line of code. They got exasperated and would explain him blocks. I suspect that they were playing the same game as him - perhaps giving him the same medicine. If he was NEEDY of an

Re: M2Crypto-0.20.2, SWIG-2.0.0, and OpenSSL-1.0.0a build problem

2010-07-17 Thread Adam Mercer
On Sat, Jul 17, 2010 at 15:20, Heikki Toivonen wrote: > I was actually planning on doing a release by the end of June, but life > happened. Maybe by the end of August... Know what whats like :-) I've backported the OpenSSL patches for the MacPorts port so for the time being this particular fire

Re: 'reload M' doesn't update 'from M inport *'

2010-07-17 Thread Aahz
In article , Jean-Michel Pichavant wrote: >Aahz wrote: >> In article , >> Jean-Michel Pichavant wrote: >>> >>> PS : You're misusing the del statement. It does not remove any object >>> from mmory, however, it removes the reference to it, the object is still >>> in memory. They are very few ca

Re: Fascinating interview by Richard Stallman on Russia TV

2010-07-17 Thread Emmy Noether
On Jul 17, 2:49 pm, Cor Gest wrote: > Some entity, AKA David Kastrup , > wrote this mindboggling stuff: > (selectively-snipped-or-not-p) >>> Software is a puzzle and it must be explained to be able to do that, >>> its like a lock >> There is no unfreedom involved here.  Freedom does not hand you

Re: File transfer on network

2010-07-17 Thread Lawrence D'Oliveiro
In message , MRAB wrote: > You could either open and close a connection for each image, or have the > client tell the server how many bytes it's going to send, followed by > the bytes (my preference would be to send the size as a string ending > with, say, a newline). I have used variations on th

Re: rstrip()

2010-07-17 Thread Mark Lawrence
On 17/07/2010 23:17, MRAB wrote: Chris Rebert wrote: On Fri, Jul 16, 2010 at 10:27 AM, MRAB wrote: Jason Friedman wrote: $ python Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. "x.vsd-dir".rstrip("-

Re: Code generator and visitor pattern

2010-07-17 Thread Mark Lawrence
On 17/07/2010 20:38, Mick Krippendorf wrote: Karsten Wutzke wrote: The visitor pattern uses single-dispatch, that is, it determines which method to call be the type of object passed in. Say, in Python, I have an object o and want to call one of it's methods, say m. Then which of possibly many

Re: rstrip()

2010-07-17 Thread MRAB
Chris Rebert wrote: On Fri, Jul 16, 2010 at 10:27 AM, MRAB wrote: Jason Friedman wrote: $ python Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. "x.vsd-dir".rstrip("-dir") 'x.vs' I expected 'x.vsd'

Re: rstrip()

2010-07-17 Thread Chris Rebert
On Fri, Jul 16, 2010 at 10:27 AM, MRAB wrote: > Jason Friedman wrote: >> >> $ python >> Python 2.6.4 (r264:75706, Dec  7 2009, 18:43:55) >> [GCC 4.4.1] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. > > "x.vsd-dir".rstrip("-dir") >> >> 'x.vs' >> >> I ex

Re: GNU Emacs Developement Inefficiency (commentary)

2010-07-17 Thread Keith Thompson
Emmy Noether writes: [98 lines deleted] The parent article was posted to comp.emacs and comp.lang.lisp. Why did you cross-post your followup to comp.lang.c, comp.lang.python, and comp.lang.scheme? -- Keith Thompson (The_Other_Keith) ks...@mib.org Nokia "We must do

Re: Fascinating interview by Richard Stallman on Russia TV

2010-07-17 Thread David Kastrup
Emmy Noether writes: > On Jul 7, 1:57 pm, bolega wrote: >> "Democracy is sick in the US, government monitors your >> Internet"http://www.youtube.com/watch?v=2BfCJq_zIdk&feature=fvsr >> >> Enjoy . > > In this video, Stall man makes 4 promises to public but stalls on 2nd > of them. > > > http

Re: Code generator and visitor pattern

2010-07-17 Thread Mick Krippendorf
Hello, Am 16.07.2010 09:52, Michele Simionato wrote: > [os.path.walk vs os.walk] > There is a big conceptual difference between os.path.walk and os.walk. > The first works like a framework: you pass a function to it and > os.path.walk is in charging of calling it when needed. The second works > li

Re: Code generator and visitor pattern

2010-07-17 Thread Mick Krippendorf
Karsten Wutzke wrote: > The visitor pattern uses single-dispatch, that is, it determines > which method to call be the type of object passed in. Say, in Python, I have an object o and want to call one of it's methods, say m. Then which of possibly many methods m to call is determined by the type

Re: M2Crypto-0.20.2, SWIG-2.0.0, and OpenSSL-1.0.0a build problem

2010-07-17 Thread Heikki Toivonen
On 07/16/2010 08:18 AM, Adam Mercer wrote: That version of M2Crypto does not work with OpenSSL 1.0.x because OpenSSL changed APIs. M2Crypto trunk works, as will the next M2Crypto release. So at this time, you should check out M2Crypto from the Subversion repository. See http://chandlerproject.org

Re: Fascinating interview by Richard Stallman on Russia TV

2010-07-17 Thread Emmy Noether
On Jul 7, 1:57 pm, bolega wrote: > "Democracy is sick in the US, government monitors your > Internet"http://www.youtube.com/watch?v=2BfCJq_zIdk&feature=fvsr > > Enjoy . In this video, Stall man makes 4 promises to public but stalls on 2nd of them. http://www.youtube.com/watch?v=2BfCJq_zIdk

Re: GNU Emacs Developement Inefficiency (commentary)

2010-07-17 Thread Emmy Noether
On Jul 15, 4:23 pm, Xah Lee wrote: > • GNU Emacs Developement Inefficiency >  http://xahlee.org/emacs/GNU_Emacs_dev_inefficiency.html > > essay; commentary. Plain text version follows. > > -- > GNU Emacs Developement Inefficiency > > Xah Lee, 2010-07

Re: Is '[' a function or an operator or an language feature?

2010-07-17 Thread Emile van Sebille
On 7/17/2010 10:57 AM Benjamin Kaplan said... Try it in Python 3. Cool. :) Although I wouldn't have been surprised had my monitor levitated. :) Emile -- http://mail.python.org/mailman/listinfo/python-list

Re: GNU Emacs Developement Inefficiency (commentary)

2010-07-17 Thread Emmy Noether
On Jul 16, 2:59 pm, Xah Lee wrote: > In comp.emacs Xah Lee wrote: > > > GNU Emacs Developement Inefficiency > > It [a bug report] got closed right away i suppose partly has to do with > > my unforgiving nature of criticizing and run-in with some GNU emacs > > developers in gnu.emacs.help and comp

Re: Struqtural: High level database interface library

2010-07-17 Thread Nathan Rice
> Oh yes, I'd rather write lines of that rather than pages of SQL in a Python > string. (not to mention, avoid some easy to fall into security flaws, not have to worry about porting dialect specific SQL code, etc, etc). Fixed that for you. I can't take the credit for that part though, that magi

Re: GNU Emacs Developement Inefficiency (commentary)

2010-07-17 Thread Emmy Noether
On Jul 16, 1:41 am, Uday S Reddy wrote: > On 7/16/2010 12:23 AM, Xah Lee wrote: > > > > > It got closed right away i suppose partly has to do with my > > unforgiving nature of criticizing and run-in with some GNU emacs > > developers in gnu.emacs.help and comp.emacs in the past 5 or so years. > >

Re: Is '[' a function or an operator or an language feature?

2010-07-17 Thread Benjamin Kaplan
On Sat, Jul 17, 2010 at 10:27 AM, Emile van Sebille wrote: > On 7/17/2010 9:38 AM Gary Herron said... > > and unrelated to the thread but still about python: >> >> http://xkcd.com/353/ >> > > ActivePython 2.6.1.1 (ActiveState Software Inc.) based on > Python 2.6.1 (r261:67515, Dec 5 2008, 13:58

Re: Struqtural: High level database interface library

2010-07-17 Thread Emile van Sebille
On 7/17/2010 6:25 AM sturlamolden said... On 17 Jul, 07:29, Nathan Rice wrote: Let’s push things to the edge now with a quick demo of many to many relationship support. For this example we’re going to be using the following XML: 123 Sales 143

Re: death of newsgroups (Microsoft closing their newsgroups)

2010-07-17 Thread Emmy Noether
> So, if newsgroups die and get replaced by web forums, that would be a move for > the better. If they get replaced by mailing lists, that would be a move for > the worse. Uday has gotten the valuation of the three communications media - a little wrong. 1/ Newsgroups are international, free and

Re: Is '[' a function or an operator or an language feature?

2010-07-17 Thread Emile van Sebille
On 7/16/2010 7:08 PM MRAB said... Peng Yu wrote: On Fri, Jul 16, 2010 at 5:42 PM, Terry Reedy wrote: On 7/16/2010 1:01 PM, Peng Yu wrote: I mean to get the man page for '[' like in the following code. x=[1,2,3] You might find my Python symbol glossary useful. https://code.google.com/p/xplor

Re: Is '[' a function or an operator or an language feature?

2010-07-17 Thread Emile van Sebille
On 7/17/2010 9:38 AM Gary Herron said... and unrelated to the thread but still about python: http://xkcd.com/353/ ActivePython 2.6.1.1 (ActiveState Software Inc.) based on Python 2.6.1 (r261:67515, Dec 5 2008, 13:58:38) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits

Re: Is '[' a function or an operator or an language feature?

2010-07-17 Thread Thomas Jollans
On 07/17/2010 06:38 PM, Gary Herron wrote: > On 07/17/2010 01:03 AM, Steven D'Aprano wrote: >> On Fri, 16 Jul 2010 21:23:09 -0500, Tim Chase wrote: >> >> Is anyone /still/ using Python 2.x? ;-) > http://xkcd.com/353/ There we have the most important difference between Python 2 and 3:

Re: Python 3.1.2 and marshal

2010-07-17 Thread Thomas Jollans
On 07/17/2010 06:21 PM, raj wrote: > Hi, > > I am using 64 bit Python on an x86_64 platform (Fedora 13). I have > some code that uses the python marshal module to serialize some > objects to files. However, in moving the code to python 3 I have come > across a situation where, if more than one ob

Re: Is '[' a function or an operator or an language feature?

2010-07-17 Thread Gary Herron
On 07/17/2010 01:03 AM, Steven D'Aprano wrote: On Fri, 16 Jul 2010 21:23:09 -0500, Tim Chase wrote: Is anyone /still/ using Python 2.x? ;-) 2.x?! You were lucky. We lived for three months with Python 1.x in a septic tank. We used to have to get up at six in the morning, write our

Re: rstrip()

2010-07-17 Thread News123
Jason Friedman wrote: > $ python > Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55) > [GCC 4.4.1] on linux2 > Type "help", "copyright", "credits" or "license" for more information. "x.vsd-dir".rstrip("-dir") > 'x.vs' > > I expected 'x.vsd' as a return value. This is kind of similiar to the q

Python 3.1.2 and marshal

2010-07-17 Thread raj
Hi, I am using 64 bit Python on an x86_64 platform (Fedora 13). I have some code that uses the python marshal module to serialize some objects to files. However, in moving the code to python 3 I have come across a situation where, if more than one object has been serialized to a file, then while

Re: Sharing: member type deduction for member pointers (Alf's device?)

2010-07-17 Thread sturlamolden
On 17 Jul, 15:02, "Alf P. Steinbach /Usenet" wrote: > #include      // PyWeakPtr, PyPtr, PyModule, PyClass > using namespace progrock; > > namespace { >      using namespace cppy; > >      struct Noddy >      { >          PyPtr       first; >          PyPtr       last; >          int         num

Re: Is '[' a function or an operator or an language feature?

2010-07-17 Thread Paul McGuire
On Jul 16, 12:01 pm, Peng Yu wrote: > I mean to get the man page for '[' like in the following code. > > x=[1,2,3] > > But help('[') doesn't seem to give the above usage. > > ### > Mutable Sequence Types > ** > > List objects support additional operations that allow in-

Re: Struqtural: High level database interface library

2010-07-17 Thread sturlamolden
On 17 Jul, 07:29, Nathan Rice wrote: > Let’s push things to the edge now with a quick demo of many to many > relationship support. For this example we’re going to be using the > following XML: > > >     >         123 >         Sales >         >             143 >             Raul Lopez >      

Re: Sharing: member type deduction for member pointers (Alf's device?)

2010-07-17 Thread Alf P. Steinbach /Usenet
* Alf P. Steinbach /Usenet, on 17.07.2010 11:50: [Cross-posted comp.lang.c++ and comp.lang.python] [snip] this occurred to me: #define CPPY_GETSET_FORWARDERS( name ) \ ::progrock::cppy::forwardersGetSet( \ &CppClass::na

Re: Q for Emacs users: code-folding (hideshow)

2010-07-17 Thread Teemu Likonen
* 2010-07-16 06:29 (-0700), ernest wrote: > I tried the outline-mode and it seemed to work. It can collapse > different blocks of code, such as functions, classes, etc. > > However, I never got used to it because of the bizarre key bindings. I use outline-minor-mode and the code below to make key

Re: Q for Emacs users: code-folding (hideshow)

2010-07-17 Thread Anssi Saari
David Robinow writes: > Really, if you can't be bothered to set your key bindings to something > you prefer, then I don't think Emacs is the right tool for you. Uh, I absolutely think Emacs is the right tool for me, but I don't think I've never changed any key bindings in the 20 years I've used

Re: Is '[' a function or an operator or an language feature?

2010-07-17 Thread Thomas Jollans
On 07/17/2010 10:03 AM, Steven D'Aprano wrote: > On Fri, 16 Jul 2010 21:23:09 -0500, Tim Chase wrote: > >>> Is anyone /still/ using Python 2.x? ;-) >> >> 2.x?! You were lucky. We lived for three months with Python 1.x in a >> septic tank. We used to have to get up at six in the morning, write our

Re: Only one forum app in Python?

2010-07-17 Thread Gilles Ganault
On Sat, 10 Jul 2010 18:37:00 +0200, Bruno Desthuilliers wrote: >There are almost a dozen of Python "forum apps" for Django alone, and >Python is known as "the language with more web frameworks than keywords". So this list at Wikipedia is out-of-date/wrong, and there are more options through web f

Sharing: member type deduction for member pointers (Alf's device?)

2010-07-17 Thread Alf P. Steinbach /Usenet
[Cross-posted comp.lang.c++ and comp.lang.python] Consider the following code, from an example usage of some C++ support for Python I'm working on, "cppy": struct Noddy { PyPtr first; PyPtr last; int number; Noddy( PyWeakPtr pySelf

Re: Is '[' a function or an operator or an language feature?

2010-07-17 Thread Mark Lawrence
On 17/07/2010 03:59, pyt...@bdurham.com wrote: Tim, 2.x?! You were lucky. We lived for three months with Python 1.x in a septic tank. We used to have to get up at six in the morning, write our 1.x code using ed, eat a crust of stale bread, go to work down in machine language, fourteen hours

Re: Is '[' a function or an operator or an language feature?

2010-07-17 Thread geremy condra
On Sat, Jul 17, 2010 at 1:03 AM, Steven D'Aprano wrote: > On Fri, 16 Jul 2010 21:23:09 -0500, Tim Chase wrote: > >>> Is anyone /still/ using Python 2.x? ;-) >> >> 2.x?!  You were lucky. We lived for three months with Python 1.x in a >> septic tank. We used to have to get up at six in the morning,

Re: Is '[' a function or an operator or an language feature?

2010-07-17 Thread Steven D'Aprano
On Fri, 16 Jul 2010 21:23:09 -0500, Tim Chase wrote: >> Is anyone /still/ using Python 2.x? ;-) > > 2.x?! You were lucky. We lived for three months with Python 1.x in a > septic tank. We used to have to get up at six in the morning, write our > 1.x code using ed, You got to use ed? Oh, we *drea

Re: Where is a module usually installed?

2010-07-17 Thread Mark Lawrence
On 17/07/2010 03:36, Peng Yu wrote: My Python is installed in the following location. ~/utility/linux/opt/Python-2.6.5/ I then installed SCons (http://www.scons.org/) using the command "python setup.py install", which install it at ~/utility/linux/opt/Python-2.6.5/lib/scons-2.0.0.final.0 sys.pa