Discussion:
[Numpy-discussion] PyData Barcelona this May
Jaime Fernández del Río
2017-03-09 14:45:47 UTC
Permalink
There will be a PyData conference in Barcelona this May:

http://pydata.org/barcelona2017/

I am planning on attending, and was thinking of maybe proposing to organize
a numpy-themed workshop or tutorial.

My personal inclination would be to look at some advanced topic that I know
well, like writing gufuncs in Cython, but wouldn't mind doing a more run of
the mill thing. Anyone has any thoughts or experiences on what has worked
well in similar situations? Any specific topic you always wanted to attend
a workshop on, but were afraid to ask?

Alternatively, or on top of the workshop, I could propose to do a talk:
talking last year at PyData Madrid about the new indexing was a lot of fun!
Thing is, I have been quite disconnected from the project this past year,
and can't really think of any worthwhile topic. Is there any message that
we as a project would like to get out to the larger community?

And if you are planning on attending, please give me a shout.

Thanks,

Jaime
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
Francesc Alted
2017-03-09 19:15:41 UTC
Permalink
Hola Jaime!
Post by Jaime Fernández del Río
http://pydata.org/barcelona2017/
I am planning on attending, and was thinking of maybe proposing to
organize a numpy-themed workshop or tutorial.
My personal inclination would be to look at some advanced topic that I
know well, like writing gufuncs in Cython, but wouldn't mind doing a more
run of the mill thing. Anyone has any thoughts or experiences on what has
worked well in similar situations? Any specific topic you always wanted to
attend a workshop on, but were afraid to ask?
​Writing gufuncs in Cython seems a quite advanced​ topic for a workshop,
but an interesting one indeed. Numba also supports creating gufuncs (
http://numba.pydata.org/numba-doc/dev/reference/numpysupported.html), so
this perhaps may work as a first approach before going deeper into Cython.
Post by Jaime Fernández del Río
talking last year at PyData Madrid about the new indexing was a lot of fun!
Thing is, I have been quite disconnected from the project this past year,
and can't really think of any worthwhile topic. Is there any message that
we as a project would like to get out to the larger community?
​Not a message in particular, but perhaps it would be nice talking about
the temporaries removal ​in expressions that Julian implemented recently (
https://github.com/numpy/numpy/pull/7997) and that is to be released in
1.13. It is a really cool (and somewhat scary) patch ;)
Post by Jaime Fernández del Río
And if you are planning on attending, please give me a shout.
​It would be nice to attend and see you again, but unfortunately I am quite
swamped. Will see.​

​Have fun in Barcelona!​
--
Francesc Alted
Sebastian Berg
2017-03-09 19:29:09 UTC
Permalink
Post by Jaime Fernández del Río
http://pydata.org/barcelona2017/
I am planning on attending, and was thinking of maybe proposing to
organize a numpy-themed workshop or tutorial.
My personal inclination would be to look at some advanced topic that
I know well, like writing gufuncs in Cython, but wouldn't mind doing
a more run of the mill thing. Anyone has any thoughts or experiences
on what has worked well in similar situations? Any specific topic you
always wanted to attend a workshop on, but were afraid to ask?
Alternatively, or on top of the workshop, I could propose to do a
talk: talking last year at PyData Madrid about the new indexing was a
lot of fun! Thing is, I have been quite disconnected from the project
this past year, and can't really think of any worthwhile topic. Is
there any message that we as a project would like to get out to the
larger community?
Francesc already pointed out the temporary optimization. From what I
remember, my personal highlight would probably be Pauli's work on the
memory overlap detection. Though both are rather passive improvements I
guess (you don't really have to learn them to use them), its very cool!
And if its about highlighting new stuff, these can probably easily fill
a talk.
Post by Jaime Fernández del Río
And if you are planning on attending, please give me a shout.
Barcelona :). Maybe I should think about it, but probably not.
Post by Jaime Fernández del Río
Thanks,
Jaime
-- 
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus
planes de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
Jaime Fernández del Río
2017-03-17 11:37:30 UTC
Permalink
Last night I gave a short talk to the PyData ZÃŒrich meetup on Julian's
temporary elision PR, and Pauli's overlapping memory one. My learnings from
that experiment are:

- there is no way to talk about both things in a 30 minute talk: I
barely scraped the surface and ended up needing 25 minutes.
- many people that use numpy in their daily work don't know what strides
are, this was a BIG surprise for me.

Based on that experience, I was thinking that maybe a good topic for a
workshop would be NumPy's memory model: views, reshaping, strides, some
hints of buffering in the iterator...

And Julian's temporary work lends itself to a very nice talk, more on
Python internals than on NumPy, but it's a very cool subject nonetheless.

So my thinking is that I am going to propose those two, as a workshop and a
talk. Thoughts?

Jaime
Post by Sebastian Berg
Post by Jaime Fernández del Río
http://pydata.org/barcelona2017/
I am planning on attending, and was thinking of maybe proposing to
organize a numpy-themed workshop or tutorial.
My personal inclination would be to look at some advanced topic that
I know well, like writing gufuncs in Cython, but wouldn't mind doing
a more run of the mill thing. Anyone has any thoughts or experiences
on what has worked well in similar situations? Any specific topic you
always wanted to attend a workshop on, but were afraid to ask?
Alternatively, or on top of the workshop, I could propose to do a
talk: talking last year at PyData Madrid about the new indexing was a
lot of fun! Thing is, I have been quite disconnected from the project
this past year, and can't really think of any worthwhile topic. Is
there any message that we as a project would like to get out to the
larger community?
Francesc already pointed out the temporary optimization. From what I
remember, my personal highlight would probably be Pauli's work on the
memory overlap detection. Though both are rather passive improvements I
guess (you don't really have to learn them to use them), its very cool!
And if its about highlighting new stuff, these can probably easily fill
a talk.
Post by Jaime Fernández del Río
And if you are planning on attending, please give me a shout.
Barcelona :). Maybe I should think about it, but probably not.
Post by Jaime Fernández del Río
Thanks,
Jaime
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus
planes de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
Francesc Alted
2017-03-17 11:44:06 UTC
Permalink
Post by Jaime Fernández del Río
Last night I gave a short talk to the PyData ZÃŒrich meetup on Julian's
temporary elision PR, and Pauli's overlapping memory one. My learnings from
- there is no way to talk about both things in a 30 minute talk: I
barely scraped the surface and ended up needing 25 minutes.
- many people that use numpy in their daily work don't know what
strides are, this was a BIG surprise for me.
Based on that experience, I was thinking that maybe a good topic for a
workshop would be NumPy's memory model: views, reshaping, strides, some
hints of buffering in the iterator...
​Yeah, I think that workshop would represent a very valuable insight to
many people using NumPy​.
Post by Jaime Fernández del Río
And Julian's temporary work lends itself to a very nice talk, more on
Python internals than on NumPy, but it's a very cool subject nonetheless.
So my thinking is that I am going to propose those two, as a workshop and
a talk. Thoughts?
​+1​
Post by Jaime Fernández del Río
Jaime
Post by Sebastian Berg
Post by Jaime Fernández del Río
http://pydata.org/barcelona2017/
I am planning on attending, and was thinking of maybe proposing to
organize a numpy-themed workshop or tutorial.
My personal inclination would be to look at some advanced topic that
I know well, like writing gufuncs in Cython, but wouldn't mind doing
a more run of the mill thing. Anyone has any thoughts or experiences
on what has worked well in similar situations? Any specific topic you
always wanted to attend a workshop on, but were afraid to ask?
Alternatively, or on top of the workshop, I could propose to do a
talk: talking last year at PyData Madrid about the new indexing was a
lot of fun! Thing is, I have been quite disconnected from the project
this past year, and can't really think of any worthwhile topic. Is
there any message that we as a project would like to get out to the
larger community?
Francesc already pointed out the temporary optimization. From what I
remember, my personal highlight would probably be Pauli's work on the
memory overlap detection. Though both are rather passive improvements I
guess (you don't really have to learn them to use them), its very cool!
And if its about highlighting new stuff, these can probably easily fill
a talk.
Post by Jaime Fernández del Río
And if you are planning on attending, please give me a shout.
Barcelona :). Maybe I should think about it, but probably not.
Post by Jaime Fernández del Río
Thanks,
Jaime
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus
planes de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
Francesc Alted
Chris Barker
2017-03-17 19:41:42 UTC
Permalink
On Fri, Mar 17, 2017 at 4:37 AM, Jaime Fernández del Río <
Post by Jaime Fernández del Río
- many people that use numpy in their daily work don't know what
strides are, this was a BIG surprise for me.
Based on that experience, I was thinking that maybe a good topic for a
workshop would be NumPy's memory model: views, reshaping, strides, some
hints of buffering in the iterator...
I think this is a great idea. In fact, when I do an intro to numpy, I spend
a bit of time on those issues, 'cause I think it's key to "Getting" numpy,
and not something that people end up learning on their own from tutorials,
etc. However, in my case, I try to jam it into a low-level intro, and I
think that fails :-(

So doing it on it's own with the assumption that participant already know
the basics of the high level python interface is a great idea.

Maybe a "advanced" numpy tutorial for SciPy 2017 in Austin also???

Here is my last talk -- maybe it'll be helpful.

http://uwpce-pythoncert.github.io/SystemDevelopment/scipy.html#scipy

the strides stuff is covered in a notebook here:

https://github.com/UWPCE-PythonCert/SystemDevelopment/blob/master/Examples/numpy/stride_tricks.ipynb

other notebooks here:

https://github.com/UWPCE-PythonCert/SystemDevelopment/tree/master/Examples/numpy

and the source for the whole thing is here:

https://github.com/UWPCE-PythonCert/SystemDevelopment/blob/master/slides_sources/source/scipy.rst


All licensed under: Creative Commons Attribution-ShareAlike -- so please
use anything you find useful.

-CHB



And Julian's temporary work lends itself to a very nice talk, more on
Post by Jaime Fernández del Río
Python internals than on NumPy, but it's a very cool subject nonetheless.
So my thinking is that I am going to propose those two, as a workshop and
a talk. Thoughts?
Jaime
Post by Sebastian Berg
Post by Jaime Fernández del Río
http://pydata.org/barcelona2017/
I am planning on attending, and was thinking of maybe proposing to
organize a numpy-themed workshop or tutorial.
My personal inclination would be to look at some advanced topic that
I know well, like writing gufuncs in Cython, but wouldn't mind doing
a more run of the mill thing. Anyone has any thoughts or experiences
on what has worked well in similar situations? Any specific topic you
always wanted to attend a workshop on, but were afraid to ask?
Alternatively, or on top of the workshop, I could propose to do a
talk: talking last year at PyData Madrid about the new indexing was a
lot of fun! Thing is, I have been quite disconnected from the project
this past year, and can't really think of any worthwhile topic. Is
there any message that we as a project would like to get out to the
larger community?
Francesc already pointed out the temporary optimization. From what I
remember, my personal highlight would probably be Pauli's work on the
memory overlap detection. Though both are rather passive improvements I
guess (you don't really have to learn them to use them), its very cool!
And if its about highlighting new stuff, these can probably easily fill
a talk.
Post by Jaime Fernández del Río
And if you are planning on attending, please give me a shout.
Barcelona :). Maybe I should think about it, but probably not.
Post by Jaime Fernández del Río
Thanks,
Jaime
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus
planes de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
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

***@noaa.gov
Ralf Gommers
2017-03-17 21:59:42 UTC
Permalink
Post by Chris Barker
On Fri, Mar 17, 2017 at 4:37 AM, Jaime Fernández del Río <
Post by Jaime Fernández del Río
- many people that use numpy in their daily work don't know what
strides are, this was a BIG surprise for me.
I'm not surprised at all. To start with, the majority of users are
self-taught programmers that never used something lower level than Python
or Matlab. Even talking to them about memory layout presents challenges.
Post by Chris Barker
Post by Jaime Fernández del Río
-
Based on that experience, I was thinking that maybe a good topic for a
workshop would be NumPy's memory model: views, reshaping, strides, some
hints of buffering in the iterator...
This material has been used multiple times in EuroScipy tutorials and may
be of use: http://www.scipy-lectures.org/advanced/advanced_numpy/index.html

Ralf
Post by Chris Barker
I think this is a great idea. In fact, when I do an intro to numpy, I
spend a bit of time on those issues, 'cause I think it's key to "Getting"
numpy, and not something that people end up learning on their own from
tutorials, etc. However, in my case, I try to jam it into a low-level
intro, and I think that fails :-(
So doing it on it's own with the assumption that participant already know
the basics of the high level python interface is a great idea.
Maybe a "advanced" numpy tutorial for SciPy 2017 in Austin also???
Here is my last talk -- maybe it'll be helpful.
http://uwpce-pythoncert.github.io/SystemDevelopment/scipy.html#scipy
https://github.com/UWPCE-PythonCert/SystemDevelopment/
blob/master/Examples/numpy/stride_tricks.ipynb
https://github.com/UWPCE-PythonCert/SystemDevelopment/
tree/master/Examples/numpy
https://github.com/UWPCE-PythonCert/SystemDevelopment/
blob/master/slides_sources/source/scipy.rst
All licensed under: Creative Commons Attribution-ShareAlike -- so please
use anything you find useful.
-CHB
And Julian's temporary work lends itself to a very nice talk, more on
Post by Jaime Fernández del Río
Python internals than on NumPy, but it's a very cool subject nonetheless.
So my thinking is that I am going to propose those two, as a workshop and
a talk. Thoughts?
Jaime
On Thu, Mar 9, 2017 at 8:29 PM, Sebastian Berg <
Post by Sebastian Berg
Post by Jaime Fernández del Río
http://pydata.org/barcelona2017/
I am planning on attending, and was thinking of maybe proposing to
organize a numpy-themed workshop or tutorial.
My personal inclination would be to look at some advanced topic that
I know well, like writing gufuncs in Cython, but wouldn't mind doing
a more run of the mill thing. Anyone has any thoughts or experiences
on what has worked well in similar situations? Any specific topic you
always wanted to attend a workshop on, but were afraid to ask?
Alternatively, or on top of the workshop, I could propose to do a
talk: talking last year at PyData Madrid about the new indexing was a
lot of fun! Thing is, I have been quite disconnected from the project
this past year, and can't really think of any worthwhile topic. Is
there any message that we as a project would like to get out to the
larger community?
Francesc already pointed out the temporary optimization. From what I
remember, my personal highlight would probably be Pauli's work on the
memory overlap detection. Though both are rather passive improvements I
guess (you don't really have to learn them to use them), its very cool!
And if its about highlighting new stuff, these can probably easily fill
a talk.
Post by Jaime Fernández del Río
And if you are planning on attending, please give me a shout.
Barcelona :). Maybe I should think about it, but probably not.
Post by Jaime Fernández del Río
Thanks,
Jaime
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus
planes de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
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
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
Jaime Fernández del Río
2017-03-20 18:58:30 UTC
Permalink
Thanks for the links, Chris and Ralf, will be very helpful eventually. I
have just submitted a workshop proposal with the following short
description:

Taking NumPy In Stride
This workshop is aimed at users already familiar with NumPy. We will dissect
the NumPy memory model with the help of a very powerful abstraction:
strides.
Participants will learn how to create different views out of the same data,
including multidimensional ones, get a new angle on how and why broadcasting
works, and explore related techniques to write faster, more efficient code.

Let's see what the organizers think of it...

Jaime
Post by Ralf Gommers
Post by Chris Barker
On Fri, Mar 17, 2017 at 4:37 AM, Jaime Fernández del Río <
Post by Jaime Fernández del Río
- many people that use numpy in their daily work don't know what
strides are, this was a BIG surprise for me.
I'm not surprised at all. To start with, the majority of users are
self-taught programmers that never used something lower level than Python
or Matlab. Even talking to them about memory layout presents challenges.
Post by Chris Barker
Post by Jaime Fernández del Río
-
Based on that experience, I was thinking that maybe a good topic for a
workshop would be NumPy's memory model: views, reshaping, strides, some
hints of buffering in the iterator...
This material has been used multiple times in EuroScipy tutorials and may
be of use: http://www.scipy-lectures.org/advanced/advanced_numpy/index.
html
Ralf
Post by Chris Barker
I think this is a great idea. In fact, when I do an intro to numpy, I
spend a bit of time on those issues, 'cause I think it's key to "Getting"
numpy, and not something that people end up learning on their own from
tutorials, etc. However, in my case, I try to jam it into a low-level
intro, and I think that fails :-(
So doing it on it's own with the assumption that participant already know
the basics of the high level python interface is a great idea.
Maybe a "advanced" numpy tutorial for SciPy 2017 in Austin also???
Here is my last talk -- maybe it'll be helpful.
http://uwpce-pythoncert.github.io/SystemDevelopment/scipy.html#scipy
https://github.com/UWPCE-PythonCert/SystemDevelopment/blob/
master/Examples/numpy/stride_tricks.ipynb
https://github.com/UWPCE-PythonCert/SystemDevelopment/tree/
master/Examples/numpy
https://github.com/UWPCE-PythonCert/SystemDevelopment/blob/
master/slides_sources/source/scipy.rst
All licensed under: Creative Commons Attribution-ShareAlike -- so please
use anything you find useful.
-CHB
And Julian's temporary work lends itself to a very nice talk, more on
Post by Jaime Fernández del Río
Python internals than on NumPy, but it's a very cool subject nonetheless.
So my thinking is that I am going to propose those two, as a workshop
and a talk. Thoughts?
Jaime
On Thu, Mar 9, 2017 at 8:29 PM, Sebastian Berg <
Post by Sebastian Berg
Post by Jaime Fernández del Río
http://pydata.org/barcelona2017/
I am planning on attending, and was thinking of maybe proposing to
organize a numpy-themed workshop or tutorial.
My personal inclination would be to look at some advanced topic that
I know well, like writing gufuncs in Cython, but wouldn't mind doing
a more run of the mill thing. Anyone has any thoughts or experiences
on what has worked well in similar situations? Any specific topic you
always wanted to attend a workshop on, but were afraid to ask?
Alternatively, or on top of the workshop, I could propose to do a
talk: talking last year at PyData Madrid about the new indexing was a
lot of fun! Thing is, I have been quite disconnected from the project
this past year, and can't really think of any worthwhile topic. Is
there any message that we as a project would like to get out to the
larger community?
Francesc already pointed out the temporary optimization. From what I
remember, my personal highlight would probably be Pauli's work on the
memory overlap detection. Though both are rather passive improvements I
guess (you don't really have to learn them to use them), its very cool!
And if its about highlighting new stuff, these can probably easily fill
a talk.
Post by Jaime Fernández del Río
And if you are planning on attending, please give me a shout.
Barcelona :). Maybe I should think about it, but probably not.
Post by Jaime Fernández del Río
Thanks,
Jaime
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus
planes de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus
planes de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
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
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
Chris Barker
2017-03-20 21:13:52 UTC
Permalink
On Mon, Mar 20, 2017 at 11:58 AM, Jaime Fernández del Río <
I have just submitted a workshop proposal with the following short
Taking NumPy In Stride
This workshop is aimed at users already familiar with NumPy. We will dissect
strides.
Participants will learn how to create different views out of the same data,
including multidimensional ones, get a new angle on how and why broadcasting
works, and explore related techniques to write faster, more efficient code.
I'd go!

And nice title :-)

Any thoughts on a similar one for SciPy in Austin?

-CHB
Let's see what the organizers think of it...
Jaime
Post by Ralf Gommers
Post by Chris Barker
On Fri, Mar 17, 2017 at 4:37 AM, Jaime Fernández del Río <
Post by Jaime Fernández del Río
- many people that use numpy in their daily work don't know what
strides are, this was a BIG surprise for me.
I'm not surprised at all. To start with, the majority of users are
self-taught programmers that never used something lower level than Python
or Matlab. Even talking to them about memory layout presents challenges.
Post by Chris Barker
Post by Jaime Fernández del Río
-
Based on that experience, I was thinking that maybe a good topic for a
workshop would be NumPy's memory model: views, reshaping, strides, some
hints of buffering in the iterator...
This material has been used multiple times in EuroScipy tutorials and may
be of use: http://www.scipy-lectures.org/advanced/advanced_numpy/index.
html
Ralf
Post by Chris Barker
I think this is a great idea. In fact, when I do an intro to numpy, I
spend a bit of time on those issues, 'cause I think it's key to "Getting"
numpy, and not something that people end up learning on their own from
tutorials, etc. However, in my case, I try to jam it into a low-level
intro, and I think that fails :-(
So doing it on it's own with the assumption that participant already
know the basics of the high level python interface is a great idea.
Maybe a "advanced" numpy tutorial for SciPy 2017 in Austin also???
Here is my last talk -- maybe it'll be helpful.
http://uwpce-pythoncert.github.io/SystemDevelopment/scipy.html#scipy
https://github.com/UWPCE-PythonCert/SystemDevelopment/blob/m
aster/Examples/numpy/stride_tricks.ipynb
https://github.com/UWPCE-PythonCert/SystemDevelopment/tree/m
aster/Examples/numpy
https://github.com/UWPCE-PythonCert/SystemDevelopment/blob/m
aster/slides_sources/source/scipy.rst
All licensed under: Creative Commons Attribution-ShareAlike -- so please
use anything you find useful.
-CHB
And Julian's temporary work lends itself to a very nice talk, more on
Post by Jaime Fernández del Río
Python internals than on NumPy, but it's a very cool subject nonetheless.
So my thinking is that I am going to propose those two, as a workshop
and a talk. Thoughts?
Jaime
On Thu, Mar 9, 2017 at 8:29 PM, Sebastian Berg <
Post by Sebastian Berg
Post by Jaime Fernández del Río
http://pydata.org/barcelona2017/
I am planning on attending, and was thinking of maybe proposing to
organize a numpy-themed workshop or tutorial.
My personal inclination would be to look at some advanced topic that
I know well, like writing gufuncs in Cython, but wouldn't mind doing
a more run of the mill thing. Anyone has any thoughts or experiences
on what has worked well in similar situations? Any specific topic you
always wanted to attend a workshop on, but were afraid to ask?
Alternatively, or on top of the workshop, I could propose to do a
talk: talking last year at PyData Madrid about the new indexing was a
lot of fun! Thing is, I have been quite disconnected from the project
this past year, and can't really think of any worthwhile topic. Is
there any message that we as a project would like to get out to the
larger community?
Francesc already pointed out the temporary optimization. From what I
remember, my personal highlight would probably be Pauli's work on the
memory overlap detection. Though both are rather passive improvements I
guess (you don't really have to learn them to use them), its very cool!
And if its about highlighting new stuff, these can probably easily fill
a talk.
Post by Jaime Fernández del Río
And if you are planning on attending, please give me a shout.
Barcelona :). Maybe I should think about it, but probably not.
Post by Jaime Fernández del Río
Thanks,
Jaime
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus
planes de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus
planes de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
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
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
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

***@noaa.gov
Jaime Fernández del Río
2017-03-21 09:02:01 UTC
Permalink
Post by Chris Barker
On Mon, Mar 20, 2017 at 11:58 AM, Jaime Fernández del Río <
I have just submitted a workshop proposal with the following short
Taking NumPy In Stride
This workshop is aimed at users already familiar with NumPy. We will dissect
strides.
Participants will learn how to create different views out of the same data,
including multidimensional ones, get a new angle on how and why broadcasting
works, and explore related techniques to write faster, more efficient code.
I'd go!
And nice title :-)
Any thoughts on a similar one for SciPy in Austin?
I'll be more than happy to share presentations, notebooks and whatnot with
someone wanting to run the tutorial over there. But Austin is a looong way
from ZÃŒrich, and the dates conflict with my son's birthday, so I don't
think I will be going...

Jaime
Post by Chris Barker
-CHB
Let's see what the organizers think of it...
Jaime
Post by Ralf Gommers
Post by Chris Barker
On Fri, Mar 17, 2017 at 4:37 AM, Jaime Fernández del Río <
Post by Jaime Fernández del Río
- many people that use numpy in their daily work don't know what
strides are, this was a BIG surprise for me.
I'm not surprised at all. To start with, the majority of users are
self-taught programmers that never used something lower level than Python
or Matlab. Even talking to them about memory layout presents challenges.
Post by Chris Barker
Post by Jaime Fernández del Río
-
Based on that experience, I was thinking that maybe a good topic for a
workshop would be NumPy's memory model: views, reshaping, strides, some
hints of buffering in the iterator...
This material has been used multiple times in EuroScipy tutorials and
may be of use: http://www.scipy-lectures.org/
advanced/advanced_numpy/index.html
Ralf
Post by Chris Barker
I think this is a great idea. In fact, when I do an intro to numpy, I
spend a bit of time on those issues, 'cause I think it's key to "Getting"
numpy, and not something that people end up learning on their own from
tutorials, etc. However, in my case, I try to jam it into a low-level
intro, and I think that fails :-(
So doing it on it's own with the assumption that participant already
know the basics of the high level python interface is a great idea.
Maybe a "advanced" numpy tutorial for SciPy 2017 in Austin also???
Here is my last talk -- maybe it'll be helpful.
http://uwpce-pythoncert.github.io/SystemDevelopment/scipy.html#scipy
https://github.com/UWPCE-PythonCert/SystemDevelopment/blob/m
aster/Examples/numpy/stride_tricks.ipynb
https://github.com/UWPCE-PythonCert/SystemDevelopment/tree/m
aster/Examples/numpy
https://github.com/UWPCE-PythonCert/SystemDevelopment/blob/m
aster/slides_sources/source/scipy.rst
All licensed under: Creative Commons Attribution-ShareAlike -- so
please use anything you find useful.
-CHB
And Julian's temporary work lends itself to a very nice talk, more on
Post by Jaime Fernández del Río
Python internals than on NumPy, but it's a very cool subject nonetheless.
So my thinking is that I am going to propose those two, as a workshop
and a talk. Thoughts?
Jaime
On Thu, Mar 9, 2017 at 8:29 PM, Sebastian Berg <
Post by Jaime Fernández del Río
Post by Jaime Fernández del Río
http://pydata.org/barcelona2017/
I am planning on attending, and was thinking of maybe proposing to
organize a numpy-themed workshop or tutorial.
My personal inclination would be to look at some advanced topic that
I know well, like writing gufuncs in Cython, but wouldn't mind doing
a more run of the mill thing. Anyone has any thoughts or experiences
on what has worked well in similar situations? Any specific topic
you
Post by Jaime Fernández del Río
always wanted to attend a workshop on, but were afraid to ask?
Alternatively, or on top of the workshop, I could propose to do a
talk: talking last year at PyData Madrid about the new indexing was
a
Post by Jaime Fernández del Río
lot of fun! Thing is, I have been quite disconnected from the
project
Post by Jaime Fernández del Río
this past year, and can't really think of any worthwhile topic. Is
there any message that we as a project would like to get out to the
larger community?
Francesc already pointed out the temporary optimization. From what I
remember, my personal highlight would probably be Pauli's work on the
memory overlap detection. Though both are rather passive improvements I
guess (you don't really have to learn them to use them), its very cool!
And if its about highlighting new stuff, these can probably easily fill
a talk.
Post by Jaime Fernández del Río
And if you are planning on attending, please give me a shout.
Barcelona :). Maybe I should think about it, but probably not.
Post by Jaime Fernández del Río
Thanks,
Jaime
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus
planes de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus
planes de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
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
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
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
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
Marten van Kerkwijk
2017-03-21 13:50:46 UTC
Permalink
"Taking numpy in stride, and the essential role of 0" ;-)

-- Marten
Daπid
2017-03-21 14:45:57 UTC
Permalink
Post by Jaime Fernández del Río
Taking NumPy In Stride
This workshop is aimed at users already familiar with NumPy. We will dissect
strides.
Participants will learn how to create different views out of the same data,
including multidimensional ones, get a new angle on how and why broadcasting
works, and explore related techniques to write faster, more efficient code.
I think I only understand this abstract because I know what views are.
Maybe you could add a line explaining what they are? (I cannot think
of one myself).
Jaime Fernández del Río
2017-03-23 14:56:22 UTC
Permalink
Thanks for the suggestion!

That abstract is limited to 400 characters, and it's already at 350+, so
there isn't much room left.
If it gets accepted I will eventually need to fill out an extended
abstract, where I will make sure to explain that better.

Jaime
Post by Jaime Fernández del Río
Post by Jaime Fernández del Río
Taking NumPy In Stride
This workshop is aimed at users already familiar with NumPy. We will
dissect
Post by Jaime Fernández del Río
strides.
Participants will learn how to create different views out of the same
data,
Post by Jaime Fernández del Río
including multidimensional ones, get a new angle on how and why
broadcasting
Post by Jaime Fernández del Río
works, and explore related techniques to write faster, more efficient
code.
I think I only understand this abstract because I know what views are.
Maybe you could add a line explaining what they are? (I cannot think
of one myself).
_______________________________________________
NumPy-Discussion mailing list
https://mail.scipy.org/mailman/listinfo/numpy-discussion
--
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
Loading...