Re: [Numpy-discussion] NumPy Governance

2011-12-28 Thread Ondrej Certik
On Mon, Dec 5, 2011 at 4:22 AM, Perry Greenfield wrote: > I'm not sure I'm crazy about leaving final decision making for a > board. A board may be a good way of carefully considering the issues, > and it could make it's own recommendation (with a sufficient > majority). But in the end I think one

Re: [Numpy-discussion] how to compile Fortran using setup.py

2011-03-14 Thread Ondrej Certik
Hi Pearu! On Sat, Mar 12, 2011 at 2:30 AM, Pearu Peterson wrote: > > > On Fri, Mar 11, 2011 at 3:58 AM, Ondrej Certik wrote: >> >> Hi, >> >> I spent about an hour googling and didn't figure this out. Here is my >> setup.py: >> >> setup

Re: [Numpy-discussion] rewriting NumPy code in C or C++ or similar

2011-03-14 Thread Ondrej Certik
Hi Sturla, On Tue, Mar 8, 2011 at 6:25 AM, Sturla Molden wrote: > Den 08.03.2011 05:05, skrev Dan Halbert: >> Thanks, that's a good suggestion. I have not written Fortran since 1971, >> but it's come a long way. I was a little worried about the row-major vs >> column-major issue, but perhaps that

Re: [Numpy-discussion] how to compile Fortran using setup.py

2011-03-11 Thread Ondrej Certik
On Fri, Mar 11, 2011 at 12:24 AM, Dag Sverre Seljebotn wrote: > On 03/11/2011 09:13 AM, Dag Sverre Seljebotn wrote: >> On 03/11/2011 07:57 AM, Ondrej Certik wrote: >>> On Thu, Mar 10, 2011 at 8:25 PM, Robert Kern   wrote: >>>> On Thu, Mar 10, 2011 at 19:58, O

Re: [Numpy-discussion] how to compile Fortran using setup.py

2011-03-10 Thread Ondrej Certik
On Thu, Mar 10, 2011 at 8:25 PM, Robert Kern wrote: > On Thu, Mar 10, 2011 at 19:58, Ondrej Certik wrote: >> Hi, >> >> I spent about an hour googling and didn't figure this out. Here is my >> setup.py: >> >> setup( >>    name = &qu

[Numpy-discussion] how to compile Fortran using setup.py

2011-03-10 Thread Ondrej Certik
Hi, I spent about an hour googling and didn't figure this out. Here is my setup.py: setup( name = "libqsnake", cmdclass = {'build_ext': build_ext}, version = "0.1", packages = [ 'qsnake', 'qsnake.calculators', 'qsnake.calculators.tests', 'qsnake.dat

Re: [Numpy-discussion] Trac unaware of github move

2010-11-07 Thread Ondrej Certik
On Sun, Nov 7, 2010 at 7:17 AM, Ralf Gommers wrote: > On Thu, Nov 4, 2010 at 10:06 PM, Pauli Virtanen wrote: >> Thu, 04 Nov 2010 22:00:47 +0800, Ralf Gommers wrote: >>> I just noticed that the Trac wiki is not displaying updates to files >>> kept in the source tree, for example >>> http://project

Re: [Numpy-discussion] Help with the tensordot function?

2010-09-07 Thread Ondrej Certik
On Tue, Sep 7, 2010 at 12:23 PM, Ondrej Certik wrote: > Hi Rick! > > On Fri, Sep 3, 2010 at 4:02 AM, Rick Muller wrote: >> Can someone help me replace a slow expression with a faster one based on >> tensordot? I've read the documentation and I'm still confused. &g

Re: [Numpy-discussion] Help with the tensordot function?

2010-09-07 Thread Ondrej Certik
Hi Rick! On Fri, Sep 3, 2010 at 4:02 AM, Rick Muller wrote: > Can someone help me replace a slow expression with a faster one based on > tensordot? I've read the documentation and I'm still confused. > > I have two matrices b and d. b is n x m and d is m x m. I want to replace > the expression >

Re: [Numpy-discussion] update on the transition to git/github

2010-08-04 Thread Ondrej Certik
On Tue, Jul 13, 2010 at 7:50 PM, Joshua Holbrook wrote: > This is awesome! I love github. I really wanted to champion for its > use at the BoF but unfortunately missed it. Indeed, that's awesome. I should say finally! :) Ondrej ___ NumPy-Discussion mai

Re: [Numpy-discussion] comparing floating point numbers

2010-07-21 Thread Ondrej Certik
Hi Keith! On Mon, Jul 19, 2010 at 6:40 PM, Keith Goodman wrote: > On Mon, Jul 19, 2010 at 6:31 PM, Ondrej Certik wrote: >> Hi, >> >> I was always using something like >> >> abs(x-y) < eps >> >> or >> >> (abs(x-y) < eps).all() &

[Numpy-discussion] comparing floating point numbers

2010-07-19 Thread Ondrej Certik
Hi, I was always using something like abs(x-y) < eps or (abs(x-y) < eps).all() but today I needed to also make sure this works for larger numbers, where I need to compare relative errors, so I found this: http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm and wrote thi

Re: [Numpy-discussion] PyArray_SimpleNewFromData segfaults

2009-10-05 Thread Ondrej Certik
On Mon, Oct 5, 2009 at 9:42 PM, Robert Kern wrote: > On Mon, Oct 5, 2009 at 23:34, Ondrej Certik wrote: > >> The only mention of the _import_array() in the documentation that I >> found is here: >> >> http://docs.scipy.org/doc/numpy/reference/c-api.array.html#NO_IMP

Re: [Numpy-discussion] PyArray_SimpleNewFromData segfaults

2009-10-05 Thread Ondrej Certik
On Mon, Oct 5, 2009 at 9:25 PM, Ondrej Certik wrote: > On Mon, Oct 5, 2009 at 8:38 PM, Ondrej Certik wrote: >> On Mon, Oct 5, 2009 at 7:34 PM, Charles R Harris >> wrote: >>> >>> >>> On Mon, Oct 5, 2009 at 7:40 PM, Ondrej Certik wrote: >>

Re: [Numpy-discussion] PyArray_SimpleNewFromData segfaults

2009-10-05 Thread Ondrej Certik
On Mon, Oct 5, 2009 at 8:38 PM, Ondrej Certik wrote: > On Mon, Oct 5, 2009 at 7:34 PM, Charles R Harris > wrote: >> >> >> On Mon, Oct 5, 2009 at 7:40 PM, Ondrej Certik wrote: > [...] >>> still alive >>> Segmentation fault >>> >>&

Re: [Numpy-discussion] PyArray_SimpleNewFromData segfaults

2009-10-05 Thread Ondrej Certik
On Mon, Oct 5, 2009 at 7:34 PM, Charles R Harris wrote: > > > On Mon, Oct 5, 2009 at 7:40 PM, Ondrej Certik wrote: [...] >> still alive >> Segmentation fault >> >> >> >> What puzzles me is that there is no debugging print statement just >> b

[Numpy-discussion] PyArray_SimpleNewFromData segfaults

2009-10-05 Thread Ondrej Certik
Hi, I am getting a segfault in PyArray_SimpleNewFromData in Cython. I am trying to debug it for the last 4 hours, but still absolutely no clue, so I am posting it here, maybe someone knows where the problem is: cdef ndarray array_double_c2numpy(double *A, int len): from numpy import empty

Re: [Numpy-discussion] DVCS at PyCon

2009-04-13 Thread Ondrej Certik
2009/4/13 Stéfan van der Walt : > 2009/4/13 Eric Firing : >> >> Stéfan, or other git-users, >> >> One feature of hg that I use frequently is "hg serve", the builtin web >> server.  I use it for two purposes: for temporary local publishing >> (e.g., in place of using ssh--sometimes it is quicker and

Re: [Numpy-discussion] DVCS at PyCon

2009-04-12 Thread Ondrej Certik
On Sun, Apr 12, 2009 at 7:13 PM, David Cournapeau wrote: > Eric Firing wrote: >> It probably does--it is written in python. >> > > Yes, but it is just a script to call git-daemon. I am somewhat doubtful > that it would work on windows, but I would love being proven wrong :) It uses os.fork() whic

Re: [Numpy-discussion] DVCS at PyCon

2009-04-11 Thread Ondrej Certik
On Sat, Apr 11, 2009 at 8:28 PM, Fernando Perez wrote: > In bzr (and as far as I see, also in hg),  this kind of history > rewriting is near impossible, so the best you can do is make a merge > commit and leave all that history in there, visible in the 'second > level' log (indented in the text vi

Re: [Numpy-discussion] DVCS at PyCon

2009-04-11 Thread Ondrej Certik
On Sat, Apr 11, 2009 at 2:12 PM, Neal Becker wrote: > > Why not try asking on mercur...@selenic.com (gmane.comp.version- > control.mercurial.general) Done: http://www.selenic.com/pipermail/mercurial/2009-April/025131.html O. ___ Numpy-discussion maili

Re: [Numpy-discussion] DVCS at PyCon

2009-04-11 Thread Ondrej Certik
On Sat, Apr 11, 2009 at 11:44 AM, Neal Becker wrote: > Ondrej Certik wrote: > >> On Fri, Apr 10, 2009 at 12:43 AM, Eric Firing wrote: >>> Ondrej Certik wrote: >>>> On Thu, Apr 9, 2009 at 10:45 PM, David Cournapeau >>>> wrote: >>>>> On

Re: [Numpy-discussion] DVCS at PyCon

2009-04-10 Thread Ondrej Certik
> * I use Python for a bunch of other stuff Matlab is not suitable for -- > This is my argument about usability and tool support. A few years back, > CVS was a standard, now SVN is. I like that I can use the same tool to > contribute to a whole bunch of OS projects, and I use it to manage all > my

Re: [Numpy-discussion] DVCS at PyCon

2009-04-10 Thread Ondrej Certik
On Fri, Apr 10, 2009 at 1:07 AM, David Cournapeau wrote: > Eric Firing wrote: >> >> This is simply wrong.  Mercurial uses hard links for cloning a repo that >> is on the same disk, so it is faster and much more space-efficient than >> copying the files. > > Yes, but maybe Ondrej talks about an old

Re: [Numpy-discussion] DVCS at PyCon

2009-04-10 Thread Ondrej Certik
On Fri, Apr 10, 2009 at 12:43 AM, Eric Firing wrote: > Ondrej Certik wrote: >> On Thu, Apr 9, 2009 at 10:45 PM, David Cournapeau >> wrote: >>> Ondrej Certik wrote: >>>> It is maybe easier to learn how to work with different clones, but >>>> onc

Re: [Numpy-discussion] DVCS at PyCon

2009-04-09 Thread Ondrej Certik
On Thu, Apr 9, 2009 at 10:45 PM, David Cournapeau wrote: > Ondrej Certik wrote: >> >> It is maybe easier to learn how to work with different clones, but >> once you start working with lots of patches and you need to reclone >> all the time, then it's the wrong ap

Re: [Numpy-discussion] DVCS at PyCon

2009-04-09 Thread Ondrej Certik
On Thu, Apr 9, 2009 at 10:25 PM, David Cournapeau wrote: > josef.p...@gmail.com wrote: >> So, for my >> style, working with different clones instead of branches seems easier. >> > > Yes, it is.  There is no denying that git makes it more difficult for > this workflow, and that git is more difficul

Re: [Numpy-discussion] DVCS at PyCon

2009-04-09 Thread Ondrej Certik
On Thu, Apr 9, 2009 at 11:16 AM, Andrew Straw wrote: > Matthieu Brucher wrote: >>> One thing about git-svn is that this is not really needed if you just >>> use git and I installed git from source on many linuxes and clusters >>> and it just works, as it is just pure C. I usually just use git-svn

Re: [Numpy-discussion] DVCS at PyCon

2009-04-09 Thread Ondrej Certik
On Thu, Apr 9, 2009 at 7:15 AM, Matthieu Brucher wrote: > 2009/4/9 David Cournapeau : >> On Thu, Apr 9, 2009 at 10:38 PM, Matthieu Brucher >> wrote: >>> 2009/4/9 David Cournapeau : >>>> On Wed, Apr 8, 2009 at 3:34 AM, Ondrej Certik wrote: >>>&

Re: [Numpy-discussion] DVCS at PyCon

2009-04-09 Thread Ondrej Certik
On Thu, Apr 9, 2009 at 3:04 AM, David Cournapeau wrote: > Ondrej Certik wrote: >> >> Yes, but in fact the staging area (if this is what you mean) is in >> every VCS, only it's hidden, except git, where it is made explicit. >> > > I am not sure the stag

Re: [Numpy-discussion] DVCS at PyCon

2009-04-09 Thread Ondrej Certik
On Wed, Apr 8, 2009 at 11:04 PM, David Cournapeau wrote: > On Wed, Apr 8, 2009 at 3:34 AM, Ondrej Certik wrote: > >> Yes. > > Do you have any windows developers (I am sorry, I am not familiar at > all with sympy)? Not much. > > My main concern with git are: >  -

Re: [Numpy-discussion] DVCS at PyCon

2009-04-07 Thread Ondrej Certik
2009/4/7 Stéfan van der Walt : > 2009/4/6 Ondrej Certik : >>> FWIW, I tend to agree that Hg is less disruptive than git when coming >>> from svn, at least for the simple tasks (I don't know hg enough to have >>> a really informed opinion for more advanced workfl

Re: [Numpy-discussion] DVCS at PyCon

2009-04-06 Thread Ondrej Certik
On Mon, Mar 30, 2009 at 10:59 PM, David Cournapeau wrote: > Eric Firing wrote: >> >> I agree.  The PEP does not show overwhelming superiority (or, arguably, >> even mild superiority) of any alternative > > I think this PEP was poorly written. You can't see any of the > advantage/differences of the

Re: [Numpy-discussion] denormal test: what is it for ?

2009-02-25 Thread Ondrej Certik
On Tue, Feb 17, 2009 at 8:08 AM, David Cournapeau wrote: > Hi, > > I would like to continue cleaning the setup.py from numpy/core, and > there is one test that I can't make sense of: the denormal thing > (testcode_mathlib function). The svn log has no information on it (its > presence goes back to

Re: [Numpy-discussion] Problem looping over numpy array in C

2009-02-25 Thread Ondrej Certik
On Fri, Feb 20, 2009 at 12:19 PM, Sumant S.R. Oemrawsingh wrote: > Hi guys, > > I have a problem with looping over numpy arrays in C. I modify the array > in-place (and return None), but after modification, the array doesn't seem > to play nice any more. > > Below, I have the C code for a function

[Numpy-discussion] numpy 1.2.1 uploaded to unstable

2009-02-19 Thread Ondrej Certik
Hi, I finally found time to upload the numpy 1.2.1 to Debian unstable (currently it's in incoming: http://incoming.debian.org/). The package is lintian clean, but there is one test that failed for me in chroot. I'll wait until it gets to mirrors and then try it on my laptop and report a bug (I upl

[Numpy-discussion] parallel compilation of numpy

2009-02-18 Thread Ondrej Certik
Hi, I have a shiny new computer with 8 cores and numpy still takes forever to compile --- is there a way to compile it in parallel (make -j9)? Do distutils allow that? If not, let's move to some build system that allows that? Just wanted to check if there is some reason for that, apart from patch

Re: [Numpy-discussion] preferred numpy build system

2009-02-09 Thread Ondrej Certik
On Mon, Feb 9, 2009 at 2:35 PM, Brian Granger wrote: >> CMake does handle this automatically. >> E.g. if include directories are changed (which you do by editing a >> CMakeLists.txt or the cmake cache), all files which are affected by the are >> rebuilt. If some library changes, everything linking

Re: [Numpy-discussion] preferred numpy build system

2009-02-09 Thread Ondrej Certik
On Sun, Feb 8, 2009 at 7:56 PM, David Cournapeau wrote: > Ondrej Certik wrote: >>> That's exactly what I don't like about cmake - it means you can't >>> produce accurate builds (you need to rerun cmake everytime you change >>> the configuration or

Re: [Numpy-discussion] ANN: HDF5 for Python 1.1

2009-02-09 Thread Ondrej Certik
On Mon, Feb 9, 2009 at 12:15 PM, Andrew Collette wrote: > = > Announcing HDF5 for Python (h5py) 1.1 > = > > What is h5py? > - > > HDF5 for Python (h5py) is a general-purpose Python interface to the > Hierarchical D

Re: [Numpy-discussion] preferred numpy build system

2009-02-08 Thread Ondrej Certik
> That's exactly what I don't like about cmake - it means you can't > produce accurate builds (you need to rerun cmake everytime you change > the configuration or dependencies, whereas this is automatic with > scons/waf). It also have (used to have) very poor documentation unless > you buy the boo

Re: [Numpy-discussion] preferred numpy build system

2009-02-08 Thread Ondrej Certik
On Sun, Feb 8, 2009 at 12:26 PM, Brian Granger wrote: >> Yes, I am investigating cmake, it's pretty cool. I wrote some macros >> for cython etc. What I like about cmake is that it is cross platform >> and it just produces makefiles on linux, or visual studio files (or >> whatever) on windows. Whe

Re: [Numpy-discussion] preferred numpy build system

2009-02-08 Thread Ondrej Certik
On Sun, Feb 8, 2009 at 3:10 AM, David Cournapeau wrote: > On Sun, Feb 8, 2009 at 3:21 AM, Ondrej Certik wrote: >> Hi David, >> >>> Sorry for the confusion: numscons is NOT the preferred build system. >>> The current numpy.distutils extensions, as shipped b

Re: [Numpy-discussion] preferred numpy build system

2009-02-07 Thread Ondrej Certik
Hi David, > Sorry for the confusion: numscons is NOT the preferred build system. > The current numpy.distutils extensions, as shipped by numpy, is the > preferred one. Numscons is more an experiment, if you want. Ah, I see, thanks for the clarification. >> So is it supposed to be in Debian? > >

[Numpy-discussion] preferred numpy build system

2009-02-06 Thread Ondrej Certik
Hi, I have couple beginners questions about numscons. What is the preferred build system for numpy now, is it numscons? The README doesn't mention numscons, so I am a bit confused what the future plan is. Also by doing: $ python setupscons.py install Running from numpy source directory. Tracebac

Re: [Numpy-discussion] porting NumPy to Python 3

2009-02-03 Thread Ondrej Certik
Hi James, On Thu, Jan 29, 2009 at 2:11 AM, James Watson wrote: > Hi, > > I am interested in contributing to the port of NumPy to Python 3. Who > I should coordinate effort with? > > I have started at the Python end of the problem (as opposed to > http://www.scipy.org/Python3k), e.g. I have sever

[Numpy-discussion] whohas command

2009-01-24 Thread Ondrej Certik
Hi, I just discovered a new whohas command in Debian, that can show a package in virtually all important distributions (Arch, Debian, Fedora, Gentoo, openSUSE, Slackware (and linuxpackages.net), Source Mage, Ubuntu, FreeBSD, NetBSD, OpenBSD, Fink and MacPorts distributions). So for example SymP

Re: [Numpy-discussion] missing doc dir in the official tarball

2008-12-21 Thread Ondrej Certik
On Sun, Dec 21, 2008 at 1:49 PM, Pauli Virtanen wrote: > Sun, 21 Dec 2008 13:05:57 +0100, Ondrej Certik wrote: > >> On Sat, Dec 20, 2008 at 3:02 PM, Pauli Virtanen wrote: >>> Sat, 20 Dec 2008 20:15:43 +0900, David Cournapeau wrote: >>>> On Sat, Dec 20, 2008 at 7

Re: [Numpy-discussion] missing doc dir in the official tarball

2008-12-21 Thread Ondrej Certik
On Sat, Dec 20, 2008 at 3:02 PM, Pauli Virtanen wrote: > Sat, 20 Dec 2008 20:15:43 +0900, David Cournapeau wrote: >> On Sat, Dec 20, 2008 at 7:43 PM, Ondrej Certik wrote: >>> Just to make it clear -- I think the docs should not be generated in >>> the tarball -- only

Re: [Numpy-discussion] missing doc dir in the official tarball

2008-12-20 Thread Ondrej Certik
On Sat, Dec 20, 2008 at 3:35 AM, David Cournapeau wrote: > On Sat, Dec 20, 2008 at 7:43 AM, Stéfan van der Walt wrote: >> 2008/12/20 Ondrej Certik : >>> So we thought with Stefan that maybe a simpler solution is just to fix >>> the ./setup sdist (or how you crea

Re: [Numpy-discussion] Missing numpy.i

2008-12-19 Thread Ondrej Certik
On Tue, Nov 18, 2008 at 11:42 AM, Nicolas ROUX wrote: > Hi, > > About the missing doc directory in the windows install in latest numpy > release, could you please add it ? > (please see below the previous thread) Well, this is a serious problem, so it should definitely be fixed, see here: http:/

[Numpy-discussion] missing doc dir in the official tarball

2008-12-19 Thread Ondrej Certik
Hi, while packaging the new version of numpy, I realized that it is missing a documentation. I just checked with Stefan on Jabber and he thinks it should be rather a trivial fix. Do you Jarrod think you could please release a new tarball with the doc directory? The problem is that debian (and I g

[Numpy-discussion] python-numpy: memory leak in exponentiation

2008-11-17 Thread Ondrej Certik
Hi, the details including a test script are at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505999 Thanks, Ondrej ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] profiling line by line

2008-09-19 Thread Ondrej Certik
On Fri, Sep 19, 2008 at 10:37 AM, Robert Cimrman <[EMAIL PROTECTED]> wrote: > Ondrej Certik wrote: >> On Thu, Sep 18, 2008 at 4:12 PM, Ryan May <[EMAIL PROTECTED]> wrote: >>> Ondrej Certik wrote: >>>> On Thu, Sep 18, 2008 at 1:01 PM, Robert Cimrman <

Re: [Numpy-discussion] profiling line by line

2008-09-18 Thread Ondrej Certik
> So the timing raises a lot. For obvious reasons, that's the overhead > of the profiler. But the problem is that then the timings just don't > fit, e.g. if I sum the total time spent in subfunctions, it doesn't > account for all the time printed on the respective line in the parent > function. > >

Re: [Numpy-discussion] profiling line by line

2008-09-18 Thread Ondrej Certik
On Thu, Sep 18, 2008 at 4:12 PM, Ryan May <[EMAIL PROTECTED]> wrote: > Ondrej Certik wrote: >> On Thu, Sep 18, 2008 at 1:01 PM, Robert Cimrman <[EMAIL PROTECTED]> wrote: >>>> >>>> It requires Cython and a C compiler to build. I'm still debating &

Re: [Numpy-discussion] profiling line by line

2008-09-18 Thread Ondrej Certik
On Thu, Sep 18, 2008 at 1:01 PM, Robert Cimrman <[EMAIL PROTECTED]> wrote: > Hi Robert, > > Robert Kern wrote: >> On Mon, Sep 15, 2008 at 11:13, Arnar Flatberg <[EMAIL PROTECTED]> wrote: >>> That would make me an extremely happy user, I've been looking for this for >>> years! >>> I can't imagine I'

Re: [Numpy-discussion] profiling line by line

2008-09-18 Thread Ondrej Certik
On Thu, Sep 18, 2008 at 1:29 AM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Wed, Sep 17, 2008 at 18:09, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> On Wed, Sep 17, 2008 at 3:56 AM, Robert Kern <[EMAIL PROTECTED]> wrote: >>> On Mon, Sep 15, 2008 at 11:13, Arna

Re: [Numpy-discussion] profiling line by line

2008-09-17 Thread Ondrej Certik
On Wed, Sep 17, 2008 at 3:56 AM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Mon, Sep 15, 2008 at 11:13, Arnar Flatberg <[EMAIL PROTECTED]> wrote: >> That would make me an extremely happy user, I've been looking for this for >> years! >> I can't imagine I'm the only one who profiles some hundred li

Re: [Numpy-discussion] Updated Numpy reference guide

2008-09-04 Thread Ondrej Certik
Hi Pauli! On Sun, Aug 31, 2008 at 8:21 PM, Pauli Virtanen <[EMAIL PROTECTED]> wrote: > > Hi all, > > I finished the first iteration of incorporating material from Travis > Oliphant's "Guide to Numpy" to the Sphinxy reference guide we were > constructing in the Doc marathon. > > Result is here: (th

Re: [Numpy-discussion] [SciPy08] Documentation BoF

2008-08-24 Thread Ondrej Certik
On Fri, Aug 22, 2008 at 10:26 AM, Stéfan van der Walt <[EMAIL PROTECTED]> wrote: > Hi all, > > This is my personal recollection of the documentation BoF. Feel free to > comment or correct the text below. > > Regards > Stéfan > > > Summary of the Documentation Birds-of-a-Feather Session > =

Re: [Numpy-discussion] Possible new multiplication operators for Python

2008-08-19 Thread Ondrej Certik
On Tue, Aug 19, 2008 at 1:57 PM, Alan G Isaac <[EMAIL PROTECTED]> wrote: >> On Sun, Aug 17, 2008 at 04:28:55PM -0400, Alan G Isaac wrote: >>> That said, what kind of problems do you have in mind? > > Gael Varoquaux wrote: >> wht I am most worried about is not being able to enter the >> symbol, bec

Re: [Numpy-discussion] global overloading of 1+1 -> MyClass(1, 1)

2008-08-18 Thread Ondrej Certik
On Tue, Aug 19, 2008 at 1:06 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Andrew Dalke wrote: >> When would this "with float ... " considered valid? > > [long posting] > > Oh h... what have I done ... *g* > > Slow down, please. For now there are no concrete plans what-so-ever to > implement th

Re: [Numpy-discussion] global overloading of 1+1 -> MyClass(1, 1)

2008-08-18 Thread Ondrej Certik
Hi Christian, On Mon, Aug 18, 2008 at 11:22 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Ondrej Certik wrote: > > Ok, in the current state, you don't know either what's going to >> happen. If you write >> >> In [1]: x/2*3/4 >> >> you h

Re: [Numpy-discussion] global overloading of 1+1 -> MyClass(1, 1)

2008-08-18 Thread Ondrej Certik
On Mon, Aug 18, 2008 at 10:45 PM, Andrew Dalke <[EMAIL PROTECTED]> wrote: > On Aug 18, 2008, at 10:01 PM, Ondrej Certik wrote: > >> with Andrew permission, I am starting a new thread, where our >> discussion is ontopic. :) > > Though I want to point out that without s

[Numpy-discussion] global overloading of 1+1 -> MyClass(1, 1)

2008-08-18 Thread Ondrej Certik
Hi, with Andrew's permission, I am starting a new thread, where our discussion is ontopic. :) My original question was, that I would like to override 1+1 to return MyClass(1, 1) or something. Robert said it would break other libraries and Andrew said this: On Mon, Aug 18, 2008 at 9:23 PM, Andrew

Re: [Numpy-discussion] Possible new multiplication operators for Python

2008-08-18 Thread Ondrej Certik
On Mon, Aug 18, 2008 at 1:50 AM, Andrew Dalke <[EMAIL PROTECTED]> wrote: > On Aug 18, 2008, at 12:00 AM, Ondrej Certik wrote: >> There is some inconsistency though, for example one can override A() + >> A(), but one cannot override 1 + 1. This could (should) be fixed >

Re: [Numpy-discussion] Possible new multiplication operators for Python

2008-08-17 Thread Ondrej Certik
On Sun, Aug 17, 2008 at 7:03 AM, Fernando Perez <[EMAIL PROTECTED]> wrote: > Hi all, > > [ please keep all replies to this only on the numpy list. I'm cc'ing > the scipy ones to make others aware of the topic, but do NOT reply on > those lists so we can have an organized thread for future referenc

Re: [Numpy-discussion] "import numpy" is slow

2008-08-01 Thread Ondrej Certik
On Thu, Jul 31, 2008 at 10:02 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Thu, Jul 31, 2008 at 05:43, Andrew Dalke <[EMAIL PROTECTED]> wrote: >> On Jul 31, 2008, at 12:03 PM, Robert Kern wrote: > >>> But you still can't remove them since they are being used inside >>> numerictypes. That's why I

Re: [Numpy-discussion] Debian: numpy not building _dotblas.so

2008-07-08 Thread Ondrej Certik
On Tue, Jul 8, 2008 at 10:19 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Tue, Jul 8, 2008 at 14:47, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> On Tue, Jul 8, 2008 at 9:15 PM, Robert Kern <[EMAIL PROTECTED]> wrote: >>> On Tue, Jul 8, 2008 at 08:06, Ond

Re: [Numpy-discussion] Debian: numpy not building _dotblas.so

2008-07-08 Thread Ondrej Certik
On Tue, Jul 8, 2008 at 9:15 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Tue, Jul 8, 2008 at 08:06, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> On Tue, Jul 8, 2008 at 11:48 AM, Tiziano Zito <[EMAIL PROTECTED]> wrote: >>> Hi numpy-devs, I was the one repo

Re: [Numpy-discussion] Debian: numpy not building _dotblas.so

2008-07-08 Thread Ondrej Certik
On Tue, Jul 8, 2008 at 11:48 AM, Tiziano Zito <[EMAIL PROTECTED]> wrote: > Hi numpy-devs, I was the one reporting the original bug about missing ATLAS > support in the debian lenny python-numpy package. AFAICT the source > python-numpy package in etch (numpy version 1.0.1) does not require > atlas

[Numpy-discussion] Debian: numpy not building _dotblas.so

2008-07-07 Thread Ondrej Certik
Hi, we have this problem in Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489726 The problem is that numpy should not depend on atlas unconditionally, yet it should allow it for users that have it. I am not an expert in blas/lapack/atlas and it's Debian packaging much (I know some pe

Re: [Numpy-discussion] array vs matrix

2008-06-11 Thread Ondrej Certik
On Sun, Jun 8, 2008 at 3:54 AM, Anne Archibald <[EMAIL PROTECTED]> wrote: > 2008/6/7 Robert Kern <[EMAIL PROTECTED]>: >> On Sat, Jun 7, 2008 at 14:37, Ondrej Certik <[EMAIL PROTECTED]> wrote: >>> Hi, >>> >>> what is the current plan with arr

Re: [Numpy-discussion] numpy 1.1: import numpy fails in Debian

2008-06-09 Thread Ondrej Certik
On Mon, Jun 9, 2008 at 6:20 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > Hi, > > I tried to package numpy 1.1 and upload it to Debian, all worked fine, > I installed the package and: > &

[Numpy-discussion] array vs matrix

2008-06-07 Thread Ondrej Certik
Hi, what is the current plan with array and matrix with regard of calculating sin(A) ? I.e. elementwise vs sin(A) = Q*sin(D)*Q^T? Is the current approach (elementwise for array and Q*sin(D)*Q^T for matrix) the way to go? We are solving the same problem in SymPy: http://groups.google.com/group/

Re: [Numpy-discussion] Ticket #798: `piecewise` exposes raw memory

2008-05-21 Thread Ondrej Certik
On Wed, May 21, 2008 at 11:53 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > On Wed, May 21, 2008 at 11:30 AM, Stéfan van der Walt <[EMAIL PROTECTED]> > wrote: >> Referring to >> http://scipy.org/scipy/numpy/ticket/798 >> >> `piecewise` uses `empty` to

Re: [Numpy-discussion] Ticket #798: `piecewise` exposes raw memory

2008-05-21 Thread Ondrej Certik
On Wed, May 21, 2008 at 11:30 AM, Stéfan van der Walt <[EMAIL PROTECTED]> wrote: > Referring to > http://scipy.org/scipy/numpy/ticket/798 > > `piecewise` uses `empty` to allocate output memory. If the conditions > do not sufficiently cover the output, then raw memory is returned, > e.g., > > {{{ >

Re: [Numpy-discussion] let's use patch review

2008-05-15 Thread Ondrej Certik
On Thu, May 15, 2008 at 3:08 PM, David Huard <[EMAIL PROTECTED]> wrote: > 2008/5/14 David Cournapeau <[EMAIL PROTECTED]>: >> >> On Wed, 2008-05-14 at 13:58 -1000, Eric Firing wrote: >> > >> > What does that mean? How does one know when there is a consensus? >> >> There can be a system to make this

Re: [Numpy-discussion] let's use patch review

2008-05-14 Thread Ondrej Certik
On Thu, May 15, 2008 at 1:58 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > Ondrej Certik wrote: >> Hi, >> >> I read the recent flamebate about unittests, formal procedures for a >> commit etc. and it was amusing. :) >> I think Stefan is right about the uni

[Numpy-discussion] let's use patch review

2008-05-14 Thread Ondrej Certik
Hi, I read the recent flamebate about unittests, formal procedures for a commit etc. and it was amusing. :) I think Stefan is right about the unit tests. I also think that Travis is right that there is no formal procedure that can assure what we want. I think that a solution is a patch review. Ev

Re: [Numpy-discussion] numpy release

2008-04-23 Thread Ondrej Certik
On Wed, Apr 23, 2008 at 4:56 PM, Sebastian Haase <[EMAIL PROTECTED]> wrote: > > On Wed, Apr 23, 2008 at 2:32 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 14, 2008 at 12:06 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > > Hi Jarrod, >

Re: [Numpy-discussion] numpy release

2008-04-23 Thread Ondrej Certik
On Mon, Apr 14, 2008 at 12:06 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > Hi Jarrod, > > any news with the 1.0.5? If you have same prerelease, I'd like to test > it. Debian has just moved from python2.4 to python2.5 yesterday, so > I'd like to test numpy in a

Re: [Numpy-discussion] Py3K

2008-04-16 Thread Ondrej Certik
On Wed, Apr 16, 2008 at 2:56 PM, Stéfan van der Walt <[EMAIL PROTECTED]> wrote: > On 16/04/2008, Fernando Perez <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 15, 2008 at 1:27 PM, Charles R Harris > > > > Oh, and making the transition will be made a lot easier by having a > > > complete > > > set o

[Numpy-discussion] numpy release

2008-04-14 Thread Ondrej Certik
Hi Jarrod, any news with the 1.0.5? If you have same prerelease, I'd like to test it. Debian has just moved from python2.4 to python2.5 yesterday, so I'd like to test numpy in advance, I am sure there will be some issues to fix. Ondrej ___ Numpy-discuss

[Numpy-discussion] mercurial now has free hosting too

2008-03-25 Thread Ondrej Certik
Hi, since there was so much discussion whether bzr or hg, Mercurial has now free hosting too: http://freehg.org/ also Mercurial 1.0 was finally released yesterday. Bzr has Launchpad, that's one of the (main) reasons ipython is investigating it, so I am still learning how to use bzr, but it's no

Re: [Numpy-discussion] Numpy/Cython Google Summer of Code project idea

2008-03-06 Thread Ondrej Certik
On Thu, Mar 6, 2008 at 9:48 PM, Robin <[EMAIL PROTECTED]> wrote: > On Thu, Mar 6, 2008 at 6:15 PM, Fernando Perez <[EMAIL PROTECTED]> wrote: > > Any student interested in this should quickly respond on the list; > > such a project would likely be co-mentored by people on the Numpy and > >

Re: [Numpy-discussion] numpy 1:1.0.4: numpy.average() returns the wrong result with weights

2008-02-24 Thread Ondrej Certik
M > Subject: Re: [Numpy-discussion] numpy 1:1.0.4: numpy.average() returns the > wrong result with weights > > > > > Ondrej Certik wrote: > >> I'll add it. I registered on the trac, as required, but I am still > >> denied, when filling my username an

Re: [Numpy-discussion] numpy 1:1.0.4: numpy.average() returns the wrong result with weights

2008-02-22 Thread Ondrej Certik
On Sat, Feb 23, 2008 at 2:10 AM, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > > Ondrej Certik wrote: > > Hi, > > > > more details in this bug report. > > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467095 > > > > The bug rep

[Numpy-discussion] numpy 1:1.0.4: numpy.average() returns the wrong result with weights

2008-02-22 Thread Ondrej Certik
Hi, more details in this bug report. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467095 The bug report offers a fix for this problem. It seems to me this is not fixed even in the latest svn. Thanks, Ondrej ___ Numpy-discussion mailing list Numpy-

Re: [Numpy-discussion] Numpy and C++ integration...

2008-02-05 Thread Ondrej Certik
On Feb 5, 2008 11:52 AM, Gael Varoquaux <[EMAIL PROTECTED]> wrote: > On Tue, Feb 05, 2008 at 11:48:38AM +0100, Ondrej Certik wrote: > > I use Cython, mostly for the same reasons Gael is using ctypes - it's > > trivial. > > Actually, when I want to do

Re: [Numpy-discussion] Numpy and C++ integration...

2008-02-05 Thread Ondrej Certik
On Feb 5, 2008 11:23 AM, David Cournapeau <[EMAIL PROTECTED]> wrote: > Gael Varoquaux wrote: > > On Tue, Feb 05, 2008 at 09:15:29AM +0100, Sebastian Haase wrote: > > > >> Can ctypes do this ? > >> > > > > No. Ctypes is only a way of loading C (and not C++) libraries in Python. > > That makes it ver

Re: [Numpy-discussion] Read-only mercurial mirror of numpy trunk available

2008-01-30 Thread Ondrej Certik
> > Better solution is to keep the tags in a Mercurial Queues patch, as I did. > Good. As I said, I know bzr much better than hg, and I did the mirror to > get something started (and get used to hg, too). Since you know hg, it > is better than you maintain this for a while for people to try it out.

Re: [Numpy-discussion] Read-only mercurial mirror of numpy trunk available

2008-01-28 Thread Ondrej Certik
On Jan 27, 2008 6:57 PM, Pauli Virtanen <[EMAIL PROTECTED]> wrote: > > la, 2008-01-19 kello 14:15 +0900, David Cournapeau kirjoitti: > > Pauli Virtanen wrote: > > > pe, 2008-01-18 kello 18:06 +0900, David Cournapeau kirjoitti: > > >> Hi there, > > >> > > >> I got a mercurial mirror of numpy ava

[Numpy-discussion] how to work with mercurial and numpy right now

2008-01-08 Thread Ondrej Certik
Hi, if you want to play with Mercurial now (without forcing everyone else to leave svn), I suggest this: http://cheeseshop.python.org/pypi/hgsvn I tried that and it works. It's a very easy way to create a hg mirror at your computer. And then you can take this as the official upstream repository

Re: [Numpy-discussion] Moving away from svn ?

2008-01-05 Thread Ondrej Certik
On Jan 6, 2008 12:55 AM, Bill Baxter <[EMAIL PROTECTED]> wrote: > On Jan 6, 2008 8:25 AM, Stefan van der Walt <[EMAIL PROTECTED]> wrote: > > I recall something you said to David last week, regarding merges with > > SVN: that a person never knows how to do it until *after* you've done > > it! We of

Re: [Numpy-discussion] Moving away from svn ?

2008-01-05 Thread Ondrej Certik
On Jan 5, 2008 8:15 PM, Fernando Perez <[EMAIL PROTECTED]> wrote: > On Jan 5, 2008 12:08 PM, David M. Cooke <[EMAIL PROTECTED]> wrote: > > On Jan 4, 2008, at 13:58 , Fernando Perez wrote: > > > > > My vote so far is for hg, for performance reasons but also partly > > > because sage and sympy alread

Re: [Numpy-discussion] Moving away from svn ?

2008-01-04 Thread Ondrej Certik
On Jan 4, 2008 10:05 PM, David Cournapeau <[EMAIL PROTECTED]> wrote: > On Jan 5, 2008 5:36 AM, Charles R Harris <[EMAIL PROTECTED]> wrote: > > > > > > > > A quick google for benchmarks show that a year ago, hg was a bit faster and > > generated smaller repositories than bzr, but I don't think the

Re: [Numpy-discussion] Moving away from svn ?

2008-01-04 Thread Ondrej Certik
On Jan 4, 2008 5:56 PM, David Cournapeau <[EMAIL PROTECTED]> wrote: > On Jan 5, 2008 1:30 AM, Charles R Harris <[EMAIL PROTECTED]> wrote: > > > > > I like Mercurial and use it a lot, but I'm not convinced we have enough > > developers and code to justify the pain of changing the VCS at this time. >

Re: [Numpy-discussion] Moving away from svn ?

2008-01-04 Thread Ondrej Certik
> Imagine the pain in the other direction, which was my experience :) I > actually did not believe at first that it was so bad, and thought I was > doing something wrong. At least, it certainly convinced me that SVN was > not easier than DVCS. It would made me sick. :) > I am not familiar with sy

  1   2   >