Re: [Numpy-discussion] Request for review: dynamic_cpu_branch

2008-12-22 Thread David Cournapeau
David Cournapeau wrote: > Charles R Harris wrote: > >> On Mon, Dec 22, 2008 at 10:40 PM, David Cournapeau > > wrote: >> >> On Tue, Dec 23, 2008 at 2:35 PM, Robert Kern >> mailto:robert.k...@gmail.com>> wrote: >> >> > >> > I think he meant that it can be

Re: [Numpy-discussion] Request for review: dynamic_cpu_branch

2008-12-22 Thread David Cournapeau
Charles R Harris wrote: > > > On Mon, Dec 22, 2008 at 10:40 PM, David Cournapeau > wrote: > > On Tue, Dec 23, 2008 at 2:35 PM, Robert Kern > mailto:robert.k...@gmail.com>> wrote: > > > > > I think he meant that it can be discovered at runtime in > gen

Re: [Numpy-discussion] Request for review: dynamic_cpu_branch

2008-12-22 Thread Charles R Harris
On Mon, Dec 22, 2008 at 10:40 PM, David Cournapeau wrote: > On Tue, Dec 23, 2008 at 2:35 PM, Robert Kern > wrote: > > > > > I think he meant that it can be discovered at runtime in general, not > > at numpy-run-time, so we can write a small C program that can be run > > at numpy-build-time to add

Re: [Numpy-discussion] Request for review: dynamic_cpu_branch

2008-12-22 Thread Robert Kern
On Mon, Dec 22, 2008 at 23:40, David Cournapeau wrote: > On Tue, Dec 23, 2008 at 2:35 PM, Robert Kern wrote: > >> >> I think he meant that it can be discovered at runtime in general, not >> at numpy-run-time, so we can write a small C program that can be run >> at numpy-build-time to add another

Re: [Numpy-discussion] Request for review: dynamic_cpu_branch

2008-12-22 Thread David Cournapeau
On Tue, Dec 23, 2008 at 2:35 PM, Robert Kern wrote: > > I think he meant that it can be discovered at runtime in general, not > at numpy-run-time, so we can write a small C program that can be run > at numpy-build-time to add another entry to config.h. But then we only move the problem: people w

Re: [Numpy-discussion] Request for review: dynamic_cpu_branch

2008-12-22 Thread Robert Kern
On Mon, Dec 22, 2008 at 23:15, David Cournapeau wrote: > Charles R Harris wrote: >> Hi David, >> >> On Mon, Dec 22, 2008 at 10:15 PM, Charles R Harris >> mailto:charlesr.har...@gmail.com>> wrote: >> >> >> It's pretty easy to determine byte order at run time. Maybe another >> configuration test is

Re: [Numpy-discussion] Request for review: dynamic_cpu_branch

2008-12-22 Thread David Cournapeau
Charles R Harris wrote: > Hi David, > > On Mon, Dec 22, 2008 at 10:15 PM, Charles R Harris > mailto:charlesr.har...@gmail.com>> wrote: > > > It's pretty easy to determine byte order at run time. Maybe another > configuration test is in order... Yes, but that's not enough, since some macro defined

Re: [Numpy-discussion] Request for review: dynamic_cpu_branch

2008-12-22 Thread David Cournapeau
Charles R Harris wrote: > > > On Mon, Dec 22, 2008 at 8:35 PM, David Cournapeau > mailto:da...@ar.media.kyoto-u.ac.jp>> > wrote: > > Hi, > >I updated a small branch of mine which is meant to fix a problem on > Mac OS X with python 2.6 (see > > http://projects.scipy.org/pipermai

Re: [Numpy-discussion] Request for review: dynamic_cpu_branch

2008-12-22 Thread Charles R Harris
Hi David, On Mon, Dec 22, 2008 at 10:15 PM, Charles R Harris < charlesr.har...@gmail.com> wrote: It's pretty easy to determine byte order at run time. Maybe another configuration test is in order... Chuck ___ Numpy-discussion mailing list Numpy-discus

Re: [Numpy-discussion] Request for review: dynamic_cpu_branch

2008-12-22 Thread Charles R Harris
On Mon, Dec 22, 2008 at 8:35 PM, David Cournapeau < da...@ar.media.kyoto-u.ac.jp> wrote: > Hi, > >I updated a small branch of mine which is meant to fix a problem on > Mac OS X with python 2.6 (see > > http://projects.scipy.org/pipermail/numpy-discussion/2008-November/038816.html > for the pro

[Numpy-discussion] Request for review: dynamic_cpu_branch

2008-12-22 Thread David Cournapeau
Hi, I updated a small branch of mine which is meant to fix a problem on Mac OS X with python 2.6 (see http://projects.scipy.org/pipermail/numpy-discussion/2008-November/038816.html for the problem) and would like one core numpy developer to review it before I merge it. The problem can be

Re: [Numpy-discussion] Thoughts on persistence/object tracking in scientific code

2008-12-22 Thread Olivier Grisel
Interesting topic indeed. I think I have been hit with similar problems on toy experimental scripts. So far the solution was always adhoc FS caches of numpy arrays with manual filename management. Maybe the first step for designing a generic solution would be to list some representative yet simple

[Numpy-discussion] Thoughts on persistence/object tracking in scientific code

2008-12-22 Thread Gael Varoquaux
Hi, This mailing list is full of people spending their time writing non-trivial numerical code. This is why I would like to share my interrogations on a code smell that I notice a lot in my numerical code that revolves around persisting to disk often, and the mess that results. It is a bit hard to

[Numpy-discussion] EPD Py2.5 v4.1.30101 Released

2008-12-22 Thread Chris Casey
Greetings, Enthought, Inc. is very pleased to announce the newest release of the Enthought Python Distribution (EPD) Py2.5 v4.1.30101: http://www.enthought.com/epd The size of the installer has be reduced by about half. Also, this is the first release to include a 3.1.0 version of the Enthought