Re: [Numpy-discussion] Fortran was dead ... [was Re: rewriting NumPy code in C or C++ or similar]

2011-03-15 Thread Sebastien Binet
Is that superior? > > Do you guys have any info / blogs / docs where one could get an > > up-to-date picture? > > Like: > > 1. How about debugging - does gdb work or is there somthing better ? > > 2. How is the move of the F77 community to F95 in general ? How many > > people / pr

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

2011-03-08 Thread Sebastien Binet
probably be better off with just eigen or the C rewrite of numpy... -s -- # # Dr. Sebastien Binet # Laboratoire de l'Accelerateur Lineaire # Universite Paris-Sud XI # Batiment 200 # 91898 Orsay # pgpS5BgY9TY5f.pgp Description: PGP signat

Re: [Numpy-discussion] FYI: experimental waf support for numpy

2011-02-09 Thread Sebastien Binet
David, On Thu, 10 Feb 2011 14:30:37 +0900, David wrote: > Hi there, > > Following recent release of waf 1.6 and its adoption by the samba > project, as well as my own work on integrating waf and bento, I have > spent some time to build numpy with it. Although this is experimental, > it should

Re: [Numpy-discussion] NumPy re-factoring project

2010-06-11 Thread Sebastien Binet
ing ctypes ain't gonna be pretty performance-wise. I really think using cython would be a better option. one'd get the python2 <-> python3 transition for "free". but, again, I am just a lurker here on numpy

Re: [Numpy-discussion] NumPy re-factoring project

2010-06-10 Thread Sebastien Binet
bigger (and possibly more contentious) change than we > are able to take on for this project. for the dict part, a probably good enough replacement could be the hash table from: http://c-algorithms.sourceforge.net/ cheers, sebastien. -- ##### # Dr. Sebasti

Re: [Numpy-discussion] Extending documentation to c code

2010-05-25 Thread Sebastien Binet
Excerpts from Daniele Nicolodi's message of 2010-05-25 11:37:50 +0200: > On 25/05/10 09:04, Sebastien Binet wrote: > > > note that llvm/clang is versatile enough to easily provide indices into > > the source code, which of course includes the comments... I am actually &

Re: [Numpy-discussion] Extending documentation to c code

2010-05-25 Thread Sebastien Binet
Excerpts from David Cournapeau's message of 2010-05-25 09:51:36 +0200: > On Tue, May 25, 2010 at 4:04 PM, Sebastien Binet wrote: > > Excerpts from David Cournapeau's message of 2010-05-25 05:06:09 +0200: > >> On Tue, May 25, 2010 at 3:01 AM, Charles R Harris > >

Re: [Numpy-discussion] Extending documentation to c code

2010-05-25 Thread Sebastien Binet
on bindings to clang (which are already quite useful for this thread's topic as they are used for code completing C/C++ code - but are not yet complete enough for providing complete function signatures) cheers, sebastien. -- ######### # Dr. Sebastien Binet # Labo

Re: [Numpy-discussion] exec: bad practice?

2009-09-15 Thread Sebastien Binet
e with a program-specified > name in the local namespace is to use exec (but I'd be happy to be > corrected). looks like so. I am sure there is a good reason for being able to programmatically modify the globals() dict content but not the locals() one... cheers, sebastien. -- ##

Re: [Numpy-discussion] exec: bad practice?

2009-09-15 Thread Sebastien Binet
tepped. e.g: for m in meat: for c in cut: locals()['consumed_%s_%s' % (m,c)] = some_array hth, sebastien. -- # # Dr. Sebastien Binet # Laboratoire de l'Accelerateur Lineaire # Universite Paris-Sud XI # Batiment 200 # 91898 Orsay # ___

[Numpy-discussion] pep-3118 extended struct format parser

2009-07-02 Thread Sebastien Binet
struct { int ival; double data[16*4]; } """i:ival: (16,4)d:data: """ is this available somewhere ? (being it in pure python or fast-C implemented, I don't really care for the moment :) ) cheers, sebastie

Re: [Numpy-discussion] CUDA

2009-05-26 Thread Sebastien Binet
code, hidden away from the user's face ? OpenCL is just an API (modeled after the CUDA one AFAICT) so implementers can use whatever trick they want, right ? my 2 euro-cents. cheers, sebastien. -- # # Dr. Sebastien Binet # Laboratoire de l'Accele

Re: [Numpy-discussion] String manipulation

2009-05-11 Thread Sebastien Binet
7;|S8'), ('mid', '|S8'), ('tail','|S8')]) data = data.replace(' ','') assert len(data)==3*8, "contract failed or invalid assumption" return np.asarray(data,dtype=fmt).tolist() assert(massage(line_a) == massage(line_b))

Re: [Numpy-discussion] String manipulation

2009-05-11 Thread Sebastien Binet
Indeed. > I would like to split strings made of digits after eight > characters each. > > >>> line_a > > '11.122.233.3' > > >>> line_b > > '11.1 22.2 33.3' > > >>> line_b.split() > > [

Re: [Numpy-discussion] ParallelProgramming wiki page

2008-10-27 Thread Sebastien Binet
##### # Dr. Sebastien Binet # Lawrence Berkeley National Lab. # 1 Cyclotron Road # Berkeley, CA 94720 ### signature.asc Description: This is a digitally signed message part. ___ Numpy-discussion mailing list

Re: [Numpy-discussion] xml-rpc with numpy arrays

2008-09-30 Thread Sebastien Binet
Brian, On Tuesday 30 September 2008 17:27:32 Brian Blais wrote: > On Sep 30, 2008, at 18:42 , Sebastien Binet wrote: > > yeah... Robert pointed it to me that as xmlrpc is meant for cross- > > language RPC, > > sending python objects over the wire isn't so useful, henc

Re: [Numpy-discussion] xml-rpc with numpy arrays

2008-09-30 Thread Sebastien Binet
; the pickle protocol. yeah... Robert pointed it to me that as xmlrpc is meant for cross-language RPC, sending python objects over the wire isn't so useful, hence the usage of marshal instead of pickle. cheers, sebastien. -- ### # Dr. Sebastien Binet #

Re: [Numpy-discussion] xml-rpc with numpy arrays

2008-09-30 Thread Sebastien Binet
re informations: http://effbot.org/librarybook/copy-reg.htm cheers, sebastien. -- ### # Dr. Sebastien Binet # Lawrence Berkeley National Lab. # 1 Cyclotron Road # Berkeley, CA 94720 ### ___

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

2008-08-25 Thread Sebastien Binet
re: http://svn.python.org/view/doctools/converter/ (haven't tried myself, so, YMMV) cheers, sebastien. -- ### # Dr. Sebastien Binet # Lawrence Berkeley National Lab. # 1 Cyclotron Road # Berkeley, CA 94720 ### __

Re: [Numpy-discussion] reading *big* inhomogenous text matrices *fast*?

2008-08-13 Thread Sebastien Binet
could the slow down be induced by the memory allocation, triggering many GC collections ? I recall a post on c.l.p where disabling the gc during pickling/unpickling a complicated data structure tremendously improved performances... cheers, sebastien. -- ### # Dr

Re: [Numpy-discussion] site.cfg doesnt function?

2008-04-07 Thread Sebastien Binet
ude/atlas,/usr/include library_dirs = /foo/path,/foo/path2 Cheers, Sebastien. -- ### # Dr. Sebastien Binet # # Lawrence Berkeley National Lab. # # 1 Cyclotron Road# # Berkeley, CA 94720 # ### sig

Re: [Numpy-discussion] C or C++ package like NumPy?

2007-11-02 Thread Sebastien Binet
about are all focused on linear algebra (like ublas and MTL) and > don't support general N-dimensional arrays. Maybe Boost.MultiArray could also be considered. http://www.boost.org/libs/multi_array/doc/user.html Cheers, Sebastien. -- ### # Dr. Sebastien