Vector math library

2005-12-31 Thread Martin Vilcans
es SciPy, Scientific, Numeric and NumericArray and the relations between them. Any suggestions on what library I should use? Best regards, Martin Vilcans http://www.librador.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Using python as primary language

2007-11-09 Thread Martin Vilcans
> If by 'this' you mean the global interpreter lock, yes, there are good > technical reasons. All attempts so far to remove it have resulted in an > interpeter that is substantially slower on a single processor. Is there any good technical reason that CPython doesn't use the GIL on single CPU sys

Re: Using python as primary language

2007-11-09 Thread Martin Vilcans
On Nov 9, 2007 10:37 AM, Hrvoje Niksic <[EMAIL PROTECTED]> wrote: > "Martin Vilcans" <[EMAIL PROTECTED]> writes: > > >> If by 'this' you mean the global interpreter lock, yes, there are good > >> technical reasons. All attempts so far

Re: Using python as primary language

2007-11-12 Thread Martin Vilcans
On Nov 10, 2007 12:48 AM, Rhamphoryncus <[EMAIL PROTECTED]> wrote: > On Nov 9, 1:45 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote: > > 2. If micro-locked Python ran, say, half as fast, then you can have a lot > > of IPC (interprocess communition) overhead and still be faster with > > multiple process

Re: I'm searching for Python style guidelines

2008-01-08 Thread Martin Vilcans
On 1/7/08, Guilherme Polo <[EMAIL PROTECTED]> wrote: > 2008/1/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Anything written somewhere that's thorough? Any code body that should > > serve as a reference? > > PEP 8 > http://www.python.org/dev/peps/pep-0008/ The problem with PEP 8 is that even code

Re: Looping through the gmail dot trick

2008-01-20 Thread Martin Vilcans
On Jan 20, 2008 8:58 PM, Martin Marcher <[EMAIL PROTECTED]> wrote: > are you saying that when i have 2 gmail addresses > > "[EMAIL PROTECTED]" and > "[EMAIL PROTECTED]" > > they are actually treated the same? That is plain wrong and would break a > lot of mail addresses as I have 2 that follow just

Type feedback tool?

2008-10-26 Thread Martin Vilcans
Hi list, I'm wondering if there's a tool that can analyze a Python program while it runs, and generate a database with the types of arguments and return values for each function. In a way it is like a profiler, that instead of measuring how often functions are called and how long time it takes, it

Re: Type feedback tool?

2008-10-27 Thread Martin Vilcans
e results are useful. Martin On Mon, Oct 27, 2008 at 11:50 AM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: > On 2008-10-26 13:54, Martin Vilcans wrote: >> Hi list, >> >> I'm wondering if there's a tool that can analyze a Python program >> while it runs, an

Re: Nimrod programming language

2009-05-12 Thread Martin Vilcans
On Fri, May 8, 2009 at 5:48 PM, Andreas Rumpf wrote: > Dear Python-users, > > I invented a new programming language called "Nimrod" that combines Python's > readability with C's performance. Please check it out: > http://force7.de/nimrod/ > Any feedback is appreciated. Nice with a language with

Re: Nimrod programming language

2009-05-13 Thread Martin Vilcans
On Tue, May 12, 2009 at 3:10 PM, wrote: >> You can certainly have a string type that uses byte arrays in UTF-8 >> encoding internally, but your string functions should be aware of that >> and treat it as a unicode string. The len function and index operators >> should count characters, not bytes.

Re: Clarity vs. code reuse/generality

2009-07-06 Thread Martin Vilcans
On Fri, Jul 3, 2009 at 4:05 PM, kj wrote: > I'm will be teaching a programming class to novices, and I've run > into a clear conflict between two of the principles I'd like to > teach: code clarity vs. code reuse.  I'd love your opinion about > it. In general, code clarity is more important than r

Re: way for a function to understand whether it's being run through a OnCreate callback or not

2009-07-10 Thread Martin Vilcans
On Fri, Jul 10, 2009 at 8:18 AM, slamdunk wrote: > is there a way for a function to understand whether it's being run > through a OnCreate callback or not? > I have working functions that I want to recycle through the OnCreate > but need to catch the "nuke.thisNode()" bit inside them so they can >