Re: [Numpy-discussion] Bug in pickling an ndarray?

2012-06-30 Thread Daniel Hyams
Thanks Travis and Robert for the clarification; it is much more clear what is going on now. As the demo code shows, also a.flags['OWNDATA'] is different on its way out of the pickle; which also makes sense now. So using that flag instead of checking a.base for None is equivalent, at least in this

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread srean
> You can subscribe to be notified by email whenever a question is posted > to a certain tag. Absolutely true. >  So then it is no different than a mailing list as far > as push/pull. There are a few differences though. New tags get created often, potentially in a decentralized fashion and dynam

Re: [Numpy-discussion] Bug in pickling an ndarray?

2012-06-30 Thread Robert Kern
On Sat, Jun 30, 2012 at 11:33 PM, Daniel Hyams wrote: > Hmmm, I wouldn't think that it is correct behavior; I would think that *any* > ndarray arising from pickling would have its .base attribute set to None. >  If not, then who is really the one that owns the data? > > It was my understanding tha

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Jason Grout
On 6/30/12 4:23 PM, srean wrote: > Indeed they are, but it still needs active "pulling" on behalf of > those who would want to answer questions and even then a question can > sink deep in the well. Deeper than what one typically monitors. > Sometimes question are not appropriately tagged. Sometimes

Re: [Numpy-discussion] Bug in pickling an ndarray?

2012-06-30 Thread Travis Oliphant
This is the expected behavior. It is not a bug. NumPy arrays after pickling are views into the String that is created by the pickling machinery. Thus, the base is set. This was done to avoid an additional memcpy. This avoids a copy, but yes, it does mean that you can't resize the array u

Re: [Numpy-discussion] Bug in pickling an ndarray?

2012-06-30 Thread Daniel Hyams
Hmmm, I wouldn't think that it is correct behavior; I would think that *any* ndarray arising from pickling would have its .base attribute set to None. If not, then who is really the one that owns the data? It was my understanding that .base should hold a reference to another ndarray that the data

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Geoffrey Oxberry
Aron Ahmadia ahmadia.net> writes: > > > I and Geoff are moderators on scicomp, I'm happy to invest the effort > in getting the community started there.  One way to use scicomp is like > a blog/faq, that is, if you get a specific question a lot here on the list or > elsewhere, you can ask and

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread srean
> Isn't that what the various sections are for? Indeed they are, but it still needs active "pulling" on behalf of those who would want to answer questions and even then a question can sink deep in the well. Deeper than what one typically monitors. Sometimes question are not appropriately tagged. S

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread josef . pktd
On Sat, Jun 30, 2012 at 5:02 PM, T J wrote: > On Sat, Jun 30, 2012 at 1:50 PM, srean wrote: >> >> >> Anecdotal data-point: >> I have been  happy with SO in general. It works for certain types of >> queries very well. OTOH if the answer to the question is known only to >> a few and he/she does not

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread T J
On Sat, Jun 30, 2012 at 1:50 PM, srean wrote: > > Anecdotal data-point: > I have been happy with SO in general. It works for certain types of > queries very well. OTOH if the answer to the question is known only to > a few and he/she does not happen to be online at time the question > was poste

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread srean
On Sat, Jun 30, 2012 at 2:29 PM, John Hunter wrote: > This thread is a perfect example of why another list is needed. +1 On Sat, Jun 30, 2012 at 2:37 PM, Matthew Brett wrote: > Oh - dear. I think the point that most of us agreed on was that > having a different from: address wasn't a perfec

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread T J
On Sat, Jun 30, 2012 at 1:26 PM, wrote: > just some statistics > > http://stackoverflow.com/questions/tagged/numpy > 769 followers, 2,850 questions tagged > > a guess: average response time for regular usage question far less than an > hour > > http://stackoverflow.com/questions/tagged/scipy > 4

Re: [Numpy-discussion] Bug in pickling an ndarray?

2012-06-30 Thread Nathaniel Smith
On Sat, Jun 30, 2012 at 9:15 PM, Daniel Hyams wrote: > I am having trouble pickling (and then unpickling) an ndarray. Upon > unpickling, the "base" attribute of the ndarray is set to some very strange > string ("base" was None when the ndarray was pickled, so it should remain > None). This sounds

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread josef . pktd
just some statistics http://stackoverflow.com/questions/tagged/numpy 769 followers, 2,850 questions tagged a guess: average response time for regular usage question far less than an hour http://stackoverflow.com/questions/tagged/scipy 446 followers, 991questions tagged http://stackoverflow.co

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Matthew Brett
Hi, On Sat, Jun 30, 2012 at 1:05 PM, Dag Sverre Seljebotn wrote: > On 06/30/2012 09:37 PM, Matthew Brett wrote: >> Hi, >> >> On Sat, Jun 30, 2012 at 12:29 PM, John Hunter  wrote: >>> >>> >>> On Fri, Jun 29, 2012 at 2:20 PM, Jim Vickroy  wrote: As a lurker and user, I too wish for a dist

[Numpy-discussion] Bug in pickling an ndarray?

2012-06-30 Thread Daniel Hyams
I am having trouble pickling (and then unpickling) an ndarray. Upon unpickling, the "base" attribute of the ndarray is set to some very strange string ("base" was None when the ndarray was pickled, so it should remain None). I have tried on various platforms and versions of numpy, with inconclusiv

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Dag Sverre Seljebotn
On 06/30/2012 09:37 PM, Matthew Brett wrote: > Hi, > > On Sat, Jun 30, 2012 at 12:29 PM, John Hunter wrote: >> >> >> On Fri, Jun 29, 2012 at 2:20 PM, Jim Vickroy wrote: >>> >>> As a lurker and user, I too wish for a distinct numpy-users list. -- jv >>> >> >> This thread is a perfect example of w

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Matthew Brett
Hi, On Sat, Jun 30, 2012 at 12:29 PM, John Hunter wrote: > > > On Fri, Jun 29, 2012 at 2:20 PM, Jim Vickroy wrote: >> >> As a lurker and user, I too wish for a distinct numpy-users list.  -- jv >> > > This thread is a perfect example of why another list is needed.  It's > currently 42 semi-philo

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread John Hunter
On Fri, Jun 29, 2012 at 2:20 PM, Jim Vickroy wrote: > As a lurker and user, I too wish for a distinct numpy-users list. -- jv > > This thread is a perfect example of why another list is needed. It's currently 42 semi-philosophical posts about what kind community numpy should be and what kinds o

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Aron Ahmadia
I and Geoff are moderators on scicomp, I'm happy to invest the effort in getting the community started there. One way to use scicomp is like a blog/faq, that is, if you get a specific question a lot here on the list or elsewhere, you can ask and answer it yourself on scicomp. If others find the p

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Dag Sverre Seljebotn
On 06/30/2012 08:44 PM, Fernando Perez wrote: > On Sat, Jun 30, 2012 at 11:36 AM, Dag Sverre Seljebotn > wrote: >> It is rumored that a problem with some stackexchange sites is the host >> of nay-sayers saying that a question doesn't belong here but in this >> other silo instead, instead of just

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Fernando Perez
On Sat, Jun 30, 2012 at 11:36 AM, Dag Sverre Seljebotn wrote: > It is rumored that a problem with some stackexchange sites is the host > of nay-sayers saying that a question doesn't belong here but in this > other silo instead, instead of just letting a culture develop (though my > only interface

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Dag Sverre Seljebotn
On 06/30/2012 07:31 PM, Fernando Perez wrote: > On Sat, Jun 30, 2012 at 10:13 AM, Jason Grout > wrote: >> >> I'm curious: do you mean using stackexchange.com itself, or using >> http://scicomp.stackexchange.com/ specifically? > > I meant the latter, which seems like it would be the best suited fo

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Fernando Perez
On Sat, Jun 30, 2012 at 10:13 AM, Jason Grout wrote: > > I'm curious: do you mean using stackexchange.com itself, or using > http://scicomp.stackexchange.com/ specifically? I meant the latter, which seems like it would be the best suited for the topic of this discussion. I don't use the site mys

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Jason Grout
On 6/30/12 12:10 PM, Fernando Perez wrote: > On Sat, Jun 30, 2012 at 9:51 AM, Matthew Brett > wrote: >> As a matter of interest - do y'all hang out much on stackexchange? I >> notice that I often go to stackexchange for a good answer, but it >> doesn't seem that good for - discussion. Or maybe

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Fernando Perez
On Sat, Jun 30, 2012 at 9:51 AM, Matthew Brett wrote: > As a matter of interest - do y'all hang out much on stackexchange?  I > notice that I often go to stackexchange for a good answer, but it > doesn't seem that good for - discussion.  Or maybe it's just I'm not > used to it. I'm in the same bo

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Matthew Brett
Hi, On Sat, Jun 30, 2012 at 1:35 AM, Dag Sverre Seljebotn wrote: > +1 on scicomp.stackexchange.com > > For it to work, one would need to actively push users towards it though...so > it would require a very clear pronouncement. > > Matthew: I'm happy with the split we did with Cython. It leaves me

Re: [Numpy-discussion] NumPy 1.7 release delays

2012-06-30 Thread josef . pktd
On Sat, Jun 30, 2012 at 1:52 AM, Matthew Brett wrote: > Hi, > > On Wed, Jun 27, 2012 at 12:38 AM, Christoph Gohlke wrote: >> On 6/26/2012 8:13 PM, Travis Oliphant wrote: For the main repos we use buildbot and test on: Ubuntu Maverick 32-bit Debian sid 64-bit OSX 10.4 PPC

[Numpy-discussion] [ANN] IPython 0.13 is officially out!

2012-06-30 Thread Fernando Perez
Hi all, on behalf of the IPython development team, and just in time for the imminent Debian freeze and SciPy 2012, I'm thrilled to announce, after an intense 6 months of work, the official release of IPython 0.13. This version contains several major new features, as well as a large amount of bug

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Dag Sverre Seljebotn
+1 on scicomp.stackexchange.com For it to work, one would need to actively push users towards it though...so it would require a very clear pronouncement. Matthew: I'm happy with the split we did with Cython. It leaves me free to mostly ignore cython-users, and it saves users from thos 100+ post

Re: [Numpy-discussion] Meta: help, devel and stackoverflow

2012-06-30 Thread Aron Ahmadia
As I mentioned before, numpy-related questions would be welcome on scicomp, and this would have the advantage of bringing in scientists and mathematicians from related fields who might be able to answer numerical questions that sit between mathematics, programming, and science that you might not ot