Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Jarrod Millman
On Jan 2, 2008 5:26 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> BTW, now that the planet aggregator seems to be up and running well,
> it should probably be linked from the main scipy.org page, no?  I
> don't think many of us can edit the main page, so that might be up to
> one of you guys...

I just added a link to the Blog to the navigation panel.

-- 
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Keith Goodman
On Dec 31, 2007 2:43 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote:
> I just wanted to announce that we now have a NumPy/SciPy blog
> aggregator thanks to Gaël Varoquaux:  http://planet.scipy.org/

http://scipy.com sends me to the planet scipy page. Shouldn't it go to
http://scipy.org instead?
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Barry Wark
Looks great. Thanks for setting this up!

barry

On Jan 2, 2008 5:23 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote:
> On Jan 2, 2008 1:40 PM, Stefan van der Walt <[EMAIL PROTECTED]> wrote:
> > Great, thanks!  Would you mind putting links to templates like
> >
> > http://planet.scipy.org/rss20.xml
> >
> > somewhere on the page, so that it can be easily found using external
> > RSS readers?
>
> Done.  Let me know if you would like the wording changed or the link
> to be moved elsewhere.
>
> Thanks,
>
> --
> Jarrod Millman
> Computational Infrastructure for Research Labs
> 10 Giannini Hall, UC Berkeley
> phone: 510.643.4014
> http://cirl.berkeley.edu/
> ___
>
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Fernando Perez
On Jan 2, 2008 6:23 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote:
> On Jan 2, 2008 1:40 PM, Stefan van der Walt <[EMAIL PROTECTED]> wrote:
> > Great, thanks!  Would you mind putting links to templates like
> >
> > http://planet.scipy.org/rss20.xml
> >
> > somewhere on the page, so that it can be easily found using external
> > RSS readers?
>
> Done.  Let me know if you would like the wording changed or the link
> to be moved elsewhere.

BTW, now that the planet aggregator seems to be up and running well,
it should probably be linked from the main scipy.org page, no?  I
don't think many of us can edit the main page, so that might be up to
one of you guys...

Cheers,

f
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Jarrod Millman
On Jan 2, 2008 1:40 PM, Stefan van der Walt <[EMAIL PROTECTED]> wrote:
> Great, thanks!  Would you mind putting links to templates like
>
> http://planet.scipy.org/rss20.xml
>
> somewhere on the page, so that it can be easily found using external
> RSS readers?

Done.  Let me know if you would like the wording changed or the link
to be moved elsewhere.

Thanks,

-- 
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Barry Wark
Jarrod,

Sorry. Correct URL: http://physionconsultants.blogspot.com/search/label/scipy

Sorry for the mix up.

Barry

On Jan 1, 2008 6:35 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote:
> On Jan 1, 2008 6:18 PM, Barry Wark <[EMAIL PROTECTED]> wrote:
> > I'd like to submit my blog for inclusion too...
> >
> > http://softwareforscientists.blogspot.com/search/label/scipy
>
> Hmm.  I added you, but while I was adding you it looks like your blog
> disappeared.
>
> Thanks,
>
> --
> Jarrod Millman
> Computational Infrastructure for Research Labs
> 10 Giannini Hall, UC Berkeley
> phone: 510.643.4014
> http://cirl.berkeley.edu/
> ___
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


[Numpy-discussion] Numpy code coverage

2008-01-02 Thread Stefan van der Walt
Hi all,

I read about Titus Brown's Figleaf code coverage tool [1] on the
Planet SciPy aggregator [2].  The results of running figleaf on the
numpy test-suite [3] covers Python code only.

What the best way of discovering the C and C++ code coverage as well?

Regards
Stéfan

[1] http://darcs.idyll.org/~t/projects/figleaf/README.html
[2] http://planet.scipy.org
[3] http://mentat.za.net/refer/numpy_figleaf/
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Stefan van der Walt
Hi Jarrod

On Mon, Dec 31, 2007 at 02:43:37PM -0800, Jarrod Millman wrote:
> I just wanted to announce that we now have a NumPy/SciPy blog
> aggregator thanks to Gaël Varoquaux:  http://planet.scipy.org/
> 
> Feel free to contact me if you have a blog that you would like
> included.

Great, thanks!  Would you mind putting links to templates like

http://planet.scipy.org/rss20.xml

somewhere on the page, so that it can be easily found using external
RSS readers?

Thanks
Stéfan
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Ondrej Certik
On Jan 2, 2008 4:20 PM, Scott Ransom <[EMAIL PROTECTED]> wrote:
> Hmmm.  When I try to load:
>
> http://planet.scipy.org/
>
> I get:  "Unknown host planet.scipy.org"
>
> However, http://planet.scipy.org  (without the final slash)
> resolves fine.

Both work for me.

Ondrej
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] [C++-sig] Overloading sqrt(5.5)*myvector

2008-01-02 Thread Christopher Barker
Robert Kern wrote:
> Bruce Sherwood wrote:
>> There is also the question of 
>> whether it would pay for numpy to make what is probably an exceedingly 
>> fast check and do much faster calculations of sqrt(scalar) and other 
>> such mathematical functions.
> 
> There is no question that it would pay. It takes time and effort to implement,
> though.

There is a question of whether it would pay enough to be worth the time 
and effort. For most use (at least most of my use), I'm either working 
with a small number of scalars, and performance is a non-issue, or I"m 
working with arrays of data, and then I need the numpy versions. So I 
really don't see the point of optimizing for scalar arguments.

IIUC, the issue at hand involved not a desire for a faster sqrt(scalar), 
but rather an interaction with C++ code that didn't efficiently deal 
with numpy scalars -- that's a totally different issue, one that may 
have been solved by using math.sqrt() to avoid the numpy scalar, but not 
one that would that provides an argument for cluttering up numpy with 
this sort of special casing.

-Chris






-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115   (206) 526-6317   main reception

[EMAIL PROTECTED]
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Matthieu Brucher
As the entry was added some days ago, some of us may have some DNS cache
issues, it should be fine in a couple of days ;)

Matthieu

2008/1/2, Scott Ransom <[EMAIL PROTECTED]>:
>
> Hmmm.  When I try to load:
>
> http://planet.scipy.org/
>
> I get:  "Unknown host planet.scipy.org"
>
> However, http://planet.scipy.org  (without the final slash)
> resolves fine.
>
> Scott
>
>
> On Wed, Jan 02, 2008 at 04:45:36PM +0200, Albert Strasheim wrote:
> > Hello
> >
> > I also seem to be experiencing this problem. I have been able to
> > successfully browse Planet SciPy for the past two days, but right now
> the
> > DNS isn't even resolving. www.scipy.org still works though.
> >
> > Cheers,
> >
> > Albert
> >
> > - Original Message -
> > From: "Ondrej Certik" <[EMAIL PROTECTED]>
> > To: "Discussion of Numerical Python" 
> > Sent: Wednesday, January 02, 2008 2:53 PM
> > Subject: Re: [Numpy-discussion] planet.scipy.org
> >
> >
> > > On Jan 2, 2008 12:45 PM, Adam Mercer <[EMAIL PROTECTED]> wrote:
> > >> On Dec 31, 2007 10:43 PM, Jarrod Millman <[EMAIL PROTECTED]>
> wrote:
> > >> > Hey,
> > >> >
> > >> > I just wanted to announce that we now have a NumPy/SciPy blog
> > >> > aggregator thanks to Gaël Varoquaux:  http://planet.scipy.org/
> > >>
> > >> When I try to load http://planet.scipy.org I get an error saying that
> > >> the page doesn't exist, however the scipy home page, i.e.
> > >> http://www.scipy.org, now appears to be the planet aggregator is this
> > >> just a temporary DNS issue?
> > >
> > > It works for me.
> > >
> > > Ondrej
> >
> > ___
> > Numpy-discussion mailing list
> > Numpy-discussion@scipy.org
> > http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
> --
> --
> Scott M. RansomAddress:  NRAO
> Phone:  (434) 296-0320   520 Edgemont Rd.
> email:  [EMAIL PROTECTED] Charlottesville, VA 22903 USA
> GPG Fingerprint: 06A9 9553 78BE 16DB 407B  FFCA 9BFA B6FF FFD3 2989
> ___
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Scott Ransom
Hmmm.  When I try to load:

http://planet.scipy.org/

I get:  "Unknown host planet.scipy.org"

However, http://planet.scipy.org  (without the final slash)
resolves fine.

Scott


On Wed, Jan 02, 2008 at 04:45:36PM +0200, Albert Strasheim wrote:
> Hello
> 
> I also seem to be experiencing this problem. I have been able to 
> successfully browse Planet SciPy for the past two days, but right now the 
> DNS isn't even resolving. www.scipy.org still works though.
> 
> Cheers,
> 
> Albert
> 
> - Original Message - 
> From: "Ondrej Certik" <[EMAIL PROTECTED]>
> To: "Discussion of Numerical Python" 
> Sent: Wednesday, January 02, 2008 2:53 PM
> Subject: Re: [Numpy-discussion] planet.scipy.org
> 
> 
> > On Jan 2, 2008 12:45 PM, Adam Mercer <[EMAIL PROTECTED]> wrote:
> >> On Dec 31, 2007 10:43 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote:
> >> > Hey,
> >> >
> >> > I just wanted to announce that we now have a NumPy/SciPy blog
> >> > aggregator thanks to Gaël Varoquaux:  http://planet.scipy.org/
> >>
> >> When I try to load http://planet.scipy.org I get an error saying that
> >> the page doesn't exist, however the scipy home page, i.e.
> >> http://www.scipy.org, now appears to be the planet aggregator is this
> >> just a temporary DNS issue?
> >
> > It works for me.
> >
> > Ondrej 
> 
> ___
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion

-- 
-- 
Scott M. RansomAddress:  NRAO
Phone:  (434) 296-0320   520 Edgemont Rd.
email:  [EMAIL PROTECTED] Charlottesville, VA 22903 USA
GPG Fingerprint: 06A9 9553 78BE 16DB 407B  FFCA 9BFA B6FF FFD3 2989
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Albert Strasheim
Hello

I also seem to be experiencing this problem. I have been able to 
successfully browse Planet SciPy for the past two days, but right now the 
DNS isn't even resolving. www.scipy.org still works though.

Cheers,

Albert

- Original Message - 
From: "Ondrej Certik" <[EMAIL PROTECTED]>
To: "Discussion of Numerical Python" 
Sent: Wednesday, January 02, 2008 2:53 PM
Subject: Re: [Numpy-discussion] planet.scipy.org


> On Jan 2, 2008 12:45 PM, Adam Mercer <[EMAIL PROTECTED]> wrote:
>> On Dec 31, 2007 10:43 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote:
>> > Hey,
>> >
>> > I just wanted to announce that we now have a NumPy/SciPy blog
>> > aggregator thanks to Gaël Varoquaux:  http://planet.scipy.org/
>>
>> When I try to load http://planet.scipy.org I get an error saying that
>> the page doesn't exist, however the scipy home page, i.e.
>> http://www.scipy.org, now appears to be the planet aggregator is this
>> just a temporary DNS issue?
>
> It works for me.
>
> Ondrej 

___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] need inverse of PyArray_ITER_GOTO1D

2008-01-02 Thread Neal Becker
Neal Becker wrote:

> I need a function that is the inverse of PyArray_ITER_GOTO1D.  A bit of
> guesswork brought me to this, can anyone please tell me if it looks
> correct?
> 
> inline npy_intp as_linear (PyArrayIterObject const* it) {
>   if (it->nd_m1 == 0)
> return (it->dataptr - it->ao->data)/it->strides[0];
>   else if (it->contiguous)
> return (it->dataptr - it->ao->data)/it->ao->descr->elsize;
>   else {
> npy_intp loc = 0;
> npy_intp offset = (it->dataptr - it->ao->data)/it->ao->descr->elsize;
> for (int i = 0; i <= it->nd_m1; ++i) {
>   loc += offset / it->factors[i];
>   offset %= it->factors[i];
> }
> return loc;
>   }
> }

That didn't work for negative strides.  Actually, I think all I need is this:

inline npy_intp as_linear (PyArrayIterObject const* it) {
  return it->index;
}

Is this correct?

___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Ondrej Certik
On Jan 2, 2008 12:45 PM, Adam Mercer <[EMAIL PROTECTED]> wrote:
> On Dec 31, 2007 10:43 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote:
> > Hey,
> >
> > I just wanted to announce that we now have a NumPy/SciPy blog
> > aggregator thanks to Gaël Varoquaux:  http://planet.scipy.org/
>
> When I try to load http://planet.scipy.org I get an error saying that
> the page doesn't exist, however the scipy home page, i.e.
> http://www.scipy.org, now appears to be the planet aggregator is this
> just a temporary DNS issue?

It works for me.

Ondrej
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] planet.scipy.org

2008-01-02 Thread Adam Mercer
On Dec 31, 2007 10:43 PM, Jarrod Millman <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I just wanted to announce that we now have a NumPy/SciPy blog
> aggregator thanks to Gaël Varoquaux:  http://planet.scipy.org/

When I try to load http://planet.scipy.org I get an error saying that
the page doesn't exist, however the scipy home page, i.e.
http://www.scipy.org, now appears to be the planet aggregator is this
just a temporary DNS issue?

Cheers

Adam
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion