Re: [Numpy-discussion] www.numpy.org url issues

2010-10-12 Thread David Warde-Farley
I'm not sure who registered/owns numpy.org, but it looks like a frame sitting on top of numpy.scipy.org. On 2010-10-12, at 3:50 PM, Vincent Davis wrote: > When visiting links starting at www.numpy.org the URL in the address > bar does not change. For example clicking the "getting Numpy" takes >

Re: [Numpy-discussion] Extract groups of/individual bit values from UInt16 array

2010-10-12 Thread Philip Austin
On 10/12/2010 9:14 PM, Pinner, Luke wrote: > I'm working with some MODIS satellite imagery. MODIS data includes a > quality flag mask. For the particular dataset I'm working with, this is > a two dimensional unsigned 16 bit integer array. The quality flags are > stored as one or more bits in each

Re: [Numpy-discussion] Extract groups of/individual bit values from UInt16 array [SEC=UNCLASSIFIED]

2010-10-12 Thread Warren Weckesser
On Tue, Oct 12, 2010 at 11:14 PM, Pinner, Luke < luke.pin...@environment.gov.au> wrote: > I'm working with some MODIS satellite imagery. MODIS data includes a > quality flag mask. For the particular dataset I'm working with, this is > a two dimensional unsigned 16 bit integer array. The quality fl

[Numpy-discussion] Extract groups of/individual bit values from UInt16 array [SEC=UNCLASSIFIED]

2010-10-12 Thread Pinner, Luke
I'm working with some MODIS satellite imagery. MODIS data includes a quality flag mask. For the particular dataset I'm working with, this is a two dimensional unsigned 16 bit integer array. The quality flags are stored as one or more bits in each integer value: Bits are numbered from 0 (least sign

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-12 Thread Vincent Davis
On Tue, Oct 12, 2010 at 4:38 PM, Christopher Barker wrote: > On 10/12/10 2:00 PM, Vincent Davis wrote: >> I could do 10.4 also. For me doing this is maybe best described as a >> curiosity. But my understanding was that some where having trouble >> install on 10.5 with binaries made on 10.6. So if

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-12 Thread Christopher Barker
On 10/12/10 2:00 PM, Vincent Davis wrote: > I could do 10.4 also. For me doing this is maybe best described as a > curiosity. But my understanding was that some where having trouble > install on 10.5 with binaries made on 10.6. So if I can learn > something and help others that is great. Well, I a

[Numpy-discussion] bug in genfromtxt

2010-10-12 Thread Skipper Seabold
With names=True, if you specify the dtype manually and specify usecols, it doesn't grab the correct names along with the columns. Should be a simple fix, but haven't had time to write a patch yet. from stringIO import stringIO import numpy as np np.__version__ #1.5.0 s = StringIO("col0,col1,col2,c

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Vincent Davis
On Tue, Oct 12, 2010 at 2:46 PM, Pauli Virtanen wrote: > Tue, 12 Oct 2010 13:55:27 -0600, Vincent Davis wrote: >>> It's meant for easy inclusion in other projects (if they agree with the >>> worfklow it presents), here it is for example rendered with the urls >>> pointing to ipython repos: >> >> H

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-12 Thread Vincent Davis
On Tue, Oct 12, 2010 at 2:53 PM, Christopher Barker wrote: > Vincent Davis wrote: >> Ok, Friedrich and I are working on setting up a machine for building >> on 10.5 and hope (I do)  to have that going for 1.5.1rc1 >> I hope to do a 10.6 for 1.5rc1 also. > > why have a separate 10.6 build? > > And

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-12 Thread Christopher Barker
Vincent Davis wrote: > Ok, Friedrich and I are working on setting up a machine for building > on 10.5 and hope (I do) to have that going for 1.5.1rc1 > I hope to do a 10.6 for 1.5rc1 also. why have a separate 10.6 build? And have we given up on 10.4? -Chris -- Christopher Barker, Ph.D. Oceano

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-12 Thread Christopher Barker
Ralf Gommers wrote: > Yes I got one response at http://projects.scipy.org/numpy/ticket/1322, a > negative one unfortunately. For what it's worth, the posted binary seems to work fine on my OS-X 10.5 PPC system (python2.6), so maybe the PPC part works, the Intel part not. > My conclusion is tha

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Pauli Virtanen
Tue, 12 Oct 2010 13:55:27 -0600, Vincent Davis wrote: >> It's meant for easy inclusion in other projects (if they agree with the >> worfklow it presents), here it is for example rendered with the urls >> pointing to ipython repos: > > Hope something like this gets converted/done for Numpy. http:/

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Bruce Southey
On 10/12/2010 01:55 PM, Fernando Perez wrote: On Tue, Oct 12, 2010 at 6:51 AM, Vincent Davis wrote: Lots of good reading :) Just thought I'd put a plug in for the contributor that may make only a few contributions and needs a simple workflow to do so. It would be great if they could just.. mak

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Vincent Davis
On Tue, Oct 12, 2010 at 12:55 PM, Fernando Perez wrote: > On Tue, Oct 12, 2010 at 6:51 AM, Vincent Davis > wrote: >> Lots of good reading :) Just thought I'd put a plug in for the >> contributor that may make only a few contributions and needs a simple >> workflow to do so. It would be great if

[Numpy-discussion] www.numpy.org url issues

2010-10-12 Thread Vincent Davis
When visiting links starting at www.numpy.org the URL in the address bar does not change. For example clicking the "getting Numpy" takes you to http://www.scipy.org/Download but the URL in the address bar does not change. So now if I wanted to email that page to someone it would not be obvious what

Re: [Numpy-discussion] equality of empty arrays

2010-10-12 Thread Friedrich Romstedt
2010/10/12 Skipper Seabold : > On Tue, Oct 12, 2010 at 12:32 PM, Robert Kern wrote: >> On Tue, Oct 12, 2010 at 11:25, Friedrich Romstedt >> wrote: >>> 2010/10/12 Skipper Seabold : Some elaboration here? http://www.scipy.org/FAQ#head-9448031cbb9760d0a44db0eceda47393e56e8270 >>> >>> I don

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Fernando Perez
On Tue, Oct 12, 2010 at 6:51 AM, Vincent Davis wrote: > Lots of good reading :) Just thought I'd put a plug in for the > contributor that may make only a few contributions and needs a simple > workflow to do so. It would be great if they could just.. > make there own fork > clone the branch of int

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-12 Thread Vincent Davis
On Tue, Oct 12, 2010 at 9:15 AM, Ralf Gommers wrote: > > > On Mon, Oct 11, 2010 at 11:14 PM, Vincent Davis > wrote: >> >> On Mon, Oct 11, 2010 at 7:34 AM, Ralf Gommers >> wrote: >> > Hi Friedrich, >> > >> > On Mon, Oct 11, 2010 at 2:46 AM, Friedrich Romstedt >> > wrote: >> >> >> >> 2010/10/9 Vi

Re: [Numpy-discussion] equality of empty arrays

2010-10-12 Thread Skipper Seabold
On Tue, Oct 12, 2010 at 12:32 PM, Robert Kern wrote: > On Tue, Oct 12, 2010 at 11:25, Friedrich Romstedt > wrote: >> 2010/10/12 Skipper Seabold : >>> Some elaboration here? >>> http://www.scipy.org/FAQ#head-9448031cbb9760d0a44db0eceda47393e56e8270 >> >> I don't know if I understand what you want,

Re: [Numpy-discussion] equality of empty arrays

2010-10-12 Thread Robert Kern
On Tue, Oct 12, 2010 at 11:25, Friedrich Romstedt wrote: > 2010/10/12 Skipper Seabold : >> Some elaboration here? >> http://www.scipy.org/FAQ#head-9448031cbb9760d0a44db0eceda47393e56e8270 > > I don't know if I understand what you want, do you want me or someone > else to explain the section "What

Re: [Numpy-discussion] equality of empty arrays

2010-10-12 Thread Friedrich Romstedt
2010/10/12 Skipper Seabold : > Some elaboration here? > http://www.scipy.org/FAQ#head-9448031cbb9760d0a44db0eceda47393e56e8270 I don't know if I understand what you want, do you want me or someone else to explain the section "What is the preferred way to test if an array is empy?" in the scipy FAQ

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread David Cournapeau
On Wed, Oct 13, 2010 at 12:40 AM, Pierre GM wrote: > > On Oct 12, 2010, at 5:38 PM, David Cournapeau wrote: > >> On Wed, Oct 13, 2010 at 12:31 AM, Pierre GM wrote: >>> >>> git push >>> The files created by setup.py develop are marked as not added but pollute >>> some of the reports (diff, eg). >

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Pierre GM
On Oct 12, 2010, at 5:38 PM, David Cournapeau wrote: > On Wed, Oct 13, 2010 at 12:31 AM, Pierre GM wrote: >> >> git push >> The files created by setup.py develop are marked as not added but pollute >> some of the reports (diff, eg). > > I am still not following - generated files should certai

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread David Cournapeau
On Wed, Oct 13, 2010 at 12:31 AM, Pierre GM wrote: > > On Oct 12, 2010, at 5:28 PM, David Cournapeau wrote: >>> >>> I gonna try again in a couple of hours. Looks like I need to specifically >>> exclude the files created by a `python setup.py develop`. >> >> Not sure I understand the link between

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Charles R Harris
On Tue, Oct 12, 2010 at 9:22 AM, Pierre GM wrote: > > On Oct 12, 2010, at 5:10 PM, David Cournapeau wrote: > > > On Tue, Oct 12, 2010 at 6:06 PM, Pierre GM wrote: > >> All, > >> All my sincere apologies for the mess I caused... The changes I wanted > to commit were quite minimal (just a few line

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Pierre GM
On Oct 12, 2010, at 5:28 PM, David Cournapeau wrote: >> >> I gonna try again in a couple of hours. Looks like I need to specifically >> exclude the files created by a `python setup.py develop`. > > Not sure I understand the link between git and python setup.py > develop. What git command did yo

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread David Cournapeau
On Wed, Oct 13, 2010 at 12:22 AM, Pierre GM wrote: > > On Oct 12, 2010, at 5:10 PM, David Cournapeau wrote: > >> On Tue, Oct 12, 2010 at 6:06 PM, Pierre GM wrote: >>> All, >>> All my sincere apologies for the mess I caused... The changes I wanted to >>> commit were quite minimal (just a few line

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Pierre GM
On Oct 12, 2010, at 5:10 PM, David Cournapeau wrote: > On Tue, Oct 12, 2010 at 6:06 PM, Pierre GM wrote: >> All, >> All my sincere apologies for the mess I caused... The changes I wanted to >> commit were quite minimal (just a few lines in a test), but I obviously >> included some stuffs I did

Re: [Numpy-discussion] help from OS X 10.5 users wanted

2010-10-12 Thread Ralf Gommers
On Mon, Oct 11, 2010 at 11:14 PM, Vincent Davis wrote: > On Mon, Oct 11, 2010 at 7:34 AM, Ralf Gommers > wrote: > > Hi Friedrich, > > > > On Mon, Oct 11, 2010 at 2:46 AM, Friedrich Romstedt > > wrote: > >> > >> 2010/10/9 Vincent Davis : > >> > Did you get any responses on this? I can install 10.

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread David Cournapeau
On Tue, Oct 12, 2010 at 6:06 PM, Pierre GM wrote: > All, > All my sincere apologies for the mess I caused... The changes I wanted to > commit were quite minimal (just a few lines in a test), but I obviously > included some stuffs I didn't want too... No worries. Unless someone beats me to it, I

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Vincent Davis
Lots of good reading :) Just thought I'd put a plug in for the contributor that may make only a few contributions and needs a simple workflow to do so. It would be great if they could just.. make there own fork clone the branch of interest make changes push to there own fork request pull. I think

Re: [Numpy-discussion] equality of empty arrays

2010-10-12 Thread Skipper Seabold
On Tue, Oct 12, 2010 at 7:40 AM, Friedrich Romstedt wrote: > 2010/10/12 Ian Goodfellow : >> If the arrays are the same size or can be broadcasted to the same >> size, it returns true or false on an elementwise basis. >> If the arrays are not the same size and can't be broadcasted to the >> same si

[Numpy-discussion] intel array building blocks

2010-10-12 Thread Neal Becker
I just came across this: http://software.intel.com/en-us/articles/intel-array-building-blocks- documentation/ Has anyone used this? Of any interest for numpy? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/l

Re: [Numpy-discussion] equality of empty arrays

2010-10-12 Thread Friedrich Romstedt
2010/10/12 Ian Goodfellow : > If the arrays are the same size or can be broadcasted to the same > size, it returns true or false on an elementwise basis. > If the arrays are not the same size and can't be broadcasted to the > same size, it returns False, which was a surprise to me too. > >  >>> imp

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Pauli Virtanen
Tue, 12 Oct 2010 11:48:07 +0200, Pierre GM wrote: [clip] > Till I'm at it, would there be anybody patient to hold my hand and tell > me how to backport changes from one branch to another? I do it like this: # create a local branch for integrating backports # needs to be done only

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Scott Sinclair
On 12 October 2010 11:58, David wrote: > On 10/12/2010 06:48 PM, Pierre GM wrote: >> >> Corollary: how do I branch from a branch ? > > You use the branch command: > > git branch target_branch source_branch > > But generally, if you want to create a new branch to start working on > it, you use the

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread David
On 10/12/2010 06:48 PM, Pierre GM wrote: > > On Oct 12, 2010, at 11:32 AM, Matthew Brett wrote: >> >> I think the only possible lesson that might be drawn is that it >> probably would have helped you as it has certainly helped me, to have >> someone scan the set of changes and comment - as part of

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Pierre GM
On Oct 12, 2010, at 11:32 AM, Matthew Brett wrote: > > I think the only possible lesson that might be drawn is that it > probably would have helped you as it has certainly helped me, to have > someone scan the set of changes and comment - as part of the workflow. That, and a nice set of instruct

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Matthew Brett
Hi, >> Does anyone disagree with Pauli's never-push-your-own-changes suggestion? > > I think it is a little too extreme for trivial changes like one-liner > and the likes, but I think it is a good default rule (that is if you are > not sure, don't push your own changes). Well - but a) if it's a

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Matthew Brett
Hi, > All my sincere apologies for the mess I caused... The changes I wanted to > commit were quite minimal (just a few lines in a test), but I obviously > included some stuffs I didn't want too... Ah - no - so sorry that the discussion got attached to your original post and problem. I would l

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread David
On 10/12/2010 06:22 PM, Matthew Brett wrote: > Hi, > >> I think there are two issues here: >> >> (A) How to be sensible and presentable >> >> (B) How and when your stuff gets into master > > A very useful distinction - thanks for making it. > >> For (A) I'm following the same workflow I had with th

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Matthew Brett
Hi, > I think there are two issues here: > > (A) How to be sensible and presentable > > (B) How and when your stuff gets into master A very useful distinction - thanks for making it. > For (A) I'm following the same workflow I had with the git mirror: > > 1. For *every* change, create a separate

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Pierre GM
All, All my sincere apologies for the mess I caused... The changes I wanted to commit were quite minimal (just a few lines in a test), but I obviously included some stuffs I didn't want too... Anyhow, I just reverted the commit, as David told me to, and see what I need to do from there without w

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread Pauli Virtanen
Mon, 11 Oct 2010 16:47:23 -0700, Matthew Brett wrote: > Am I right in thinking that for the moment at least, the git workflow is > basically the same as the svn workflow (everyone commiting to trunk)? I think there are two issues here: (A) How to be sensible and presentable (B) How and when your

Re: [Numpy-discussion] Commit rights on github

2010-10-12 Thread Robert Cimrman
Hi Fernando, On Tue, 12 Oct 2010, Fernando Perez wrote: 2010/10/12 Stéfan van der Walt : - Then: merge into master, getting a fast-forward merge if possible - Push back to github When I have large changes that consist of several commits on a single topic, I normally explicitly ask for a non-f

Re: [Numpy-discussion] Commit rights on github

2010-10-12 Thread Pauli Virtanen
Mon, 11 Oct 2010 20:12:47 -0600, Charles R Harris wrote: > I can't quite figure out what commit > a14dd542532d383610c1 > did or where it applied. Any hints? The github output here is confusing, as it chooses to diff th

Re: [Numpy-discussion] Commit rights on github

2010-10-12 Thread Fernando Perez
2010/10/12 Stéfan van der Walt : > - Then: merge into master, getting a fast-forward merge if possible > - Push back to github > > When I have large changes that consist of several commits on a single > topic, I normally explicitly ask for a non-fast-forward merge, so that > the history is not cont

Re: [Numpy-discussion] Commit rights on github

2010-10-12 Thread David Cournapeau
On Tue, Oct 12, 2010 at 4:57 PM, Matthew Brett wrote: > Hi, > >>> Now might be a good time to discuss how we'd like the history to look >>> in a year from now.  If we follow the above approach, I guess we may >>> end up with one merge message for each small little bug-fix? (Unless >>> --rebase is

Re: [Numpy-discussion] Commit rights on github

2010-10-12 Thread Stéfan van der Walt
On Tue, Oct 12, 2010 at 9:47 AM, David Cournapeau wrote: >> Now might be a good time to discuss how we'd like the history to look >> in a year from now.  If we follow the above approach, I guess we may >> end up with one merge message for each small little bug-fix? (Unless >> --rebase is used)  Ho

Re: [Numpy-discussion] Commit rights on github

2010-10-12 Thread Matthew Brett
Hi, >> Now might be a good time to discuss how we'd like the history to look >> in a year from now.  If we follow the above approach, I guess we may >> end up with one merge message for each small little bug-fix? (Unless >> --rebase is used)  How do we ensure that "fast-forward" merges occur >> wh

Re: [Numpy-discussion] Commit rights on github

2010-10-12 Thread David Cournapeau
2010/10/12 Stéfan van der Walt : > On Tue, Oct 12, 2010 at 6:37 AM, David wrote: >> In that case, a way to avoid this mistake is to do the following: >> >>   * make changes on your own git repository clone >>   * once you have a set of changesets of commits, first update your >> branch from upstre

[Numpy-discussion] [ANN] IPython 0.10.1 is out.

2010-10-12 Thread Fernando Perez
Hi all, we've just released IPython 0.10.1, full release notes are below. Downloads in source and windows binary form are available in the usual location: http://ipython.scipy.org/dist/ But since our switch to github, we also get automatic distribution of archives there: http://github.com/ipytho

Re: [Numpy-discussion] Commit rights on github

2010-10-12 Thread Stéfan van der Walt
On Tue, Oct 12, 2010 at 6:37 AM, David wrote: > In that case, a way to avoid this mistake is to do the following: > >   * make changes on your own git repository clone >   * once you have a set of changesets of commits, first update your > branch from upstream (a bit like svn up) with git pull: at