<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Mar 20, 2017 at 10:13 PM, Chris Barker <span dir="ltr"><<a href="mailto:chris.barker@noaa.gov" target="_blank">chris.barker@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-">On Mon, Mar 20, 2017 at 11:58 AM, Jaime Fernández del Río <span dir="ltr"><<a href="mailto:jaime.frio@gmail.com" target="_blank">jaime.frio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"> I have just submitted a workshop proposal with the following short description:<div><br></div><div>Taking NumPy In Stride</div><div><div>This workshop is aimed at users already familiar with NumPy. We will dissect</div><div>the NumPy memory model with the help of a very powerful abstraction: strides.</div><div>Participants will learn how to create different views out of the same data,</div><div>including multidimensional ones, get a new angle on how and why broadcasting</div><div>works, and explore related techniques to write faster, more efficient code.</div></div></div></blockquote><div><br></div></span><div>I'd go!</div><div><br></div><div>And nice title :-)</div><div><br></div><div>Any thoughts on a similar one for SciPy in Austin?</div></div></div></div></blockquote><div><br></div>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...<div><br></div><div>Jaime</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>-CHB</div><div><div class="gmail-h5"><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Let's see what the organizers think of it...</div><span class="gmail-m_-6093338704451868036HOEnZb"><font color="#888888"><div><br></div><div>Jaime</div><div><br></div></font></span></div><div class="gmail-m_-6093338704451868036HOEnZb"><div class="gmail-m_-6093338704451868036h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 17, 2017 at 10:59 PM, Ralf Gommers <span dir="ltr"><<a href="mailto:ralf.gommers@gmail.com" target="_blank">ralf.gommers@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Sat, Mar 18, 2017 at 8:41 AM, Chris Barker <span dir="ltr"><<a href="mailto:chris.barker@noaa.gov" target="_blank">chris.barker@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-m_-6093338704451868036m_-2657653843212819236m_429445986739857974gmail-">On Fri, Mar 17, 2017 at 4:37 AM, Jaime Fernández del Río <span dir="ltr"><<a href="mailto:jaime.frio@gmail.com" target="_blank">jaime.frio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><ul><li>many people that use numpy in their daily work don't know what strides are, this was a BIG surprise for me.<br></li></ul></div></div></blockquote></span></div></div></div></blockquote></span><div>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.<br></div><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-m_-6093338704451868036m_-2657653843212819236m_429445986739857974gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><ul><li></li></ul><div>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...</div></div></div></blockquote></span></div></div></div></blockquote><div><br></div></span><div>This material has been used multiple times in EuroScipy tutorials and may be of use: <a href="http://www.scipy-lectures.org/advanced/advanced_numpy/index.html" target="_blank">http://www.scipy-lectures.org/<wbr>advanced/advanced_numpy/index.<wbr>html</a><span class="gmail-m_-6093338704451868036m_-2657653843212819236HOEnZb"><font color="#888888"><br><br></font></span></div><span class="gmail-m_-6093338704451868036m_-2657653843212819236HOEnZb"><font color="#888888"><div>Ralf<br><br></div></font></span><div><div class="gmail-m_-6093338704451868036m_-2657653843212819236h5"><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-m_-6093338704451868036m_-2657653843212819236m_429445986739857974gmail-"><div><br></div></span><div>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 :-(</div><div><br></div><div>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.</div><div><br></div><div>Maybe a "advanced" numpy tutorial for SciPy 2017 in Austin also???</div><div><br></div><div>Here is my last talk -- maybe it'll be helpful.</div><div><br></div><div><a href="http://uwpce-pythoncert.github.io/SystemDevelopment/scipy.html#scipy" target="_blank">http://uwpce-pythoncert.github<wbr>.io/SystemDevelopment/scipy.ht<wbr>ml#scipy</a><br></div><div><br></div><div>the strides stuff is covered in a notebook here:</div><div><br></div><div><a href="https://github.com/UWPCE-PythonCert/SystemDevelopment/blob/master/Examples/numpy/stride_tricks.ipynb" target="_blank">https://github.com/UWPCE-Pytho<wbr>nCert/SystemDevelopment/blob/m<wbr>aster/Examples/numpy/stride_tr<wbr>icks.ipynb</a><br></div><div><br></div><div>other notebooks here:</div><div><div><br></div><div><a href="https://github.com/UWPCE-PythonCert/SystemDevelopment/tree/master/Examples/numpy" target="_blank">https://github.com/UWPCE-Pytho<wbr>nCert/SystemDevelopment/tree/m<wbr>aster/Examples/numpy</a><br></div></div><div><br></div><div>and the source for the whole thing is here:</div><div><br></div><div><a href="https://github.com/UWPCE-PythonCert/SystemDevelopment/blob/master/slides_sources/source/scipy.rst" target="_blank">https://github.com/UWPCE-Pytho<wbr>nCert/SystemDevelopment/blob/m<wbr>aster/slides_sources/source/sc<wbr>ipy.rst</a><br></div><div><br></div><div><br></div><div>All licensed under: Creative Commons Attribution-ShareAlike -- so please use anything you find useful.<br><br>-CHB</div><div><div class="gmail-m_-6093338704451868036m_-2657653843212819236m_429445986739857974gmail-h5"><div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>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.</div><div><br></div><div>So my thinking is that I am going to propose those two, as a workshop and a talk. Thoughts?</div></div><div><br></div><div>Jaime</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 9, 2017 at 8:29 PM, Sebastian Berg <span dir="ltr"><<a href="mailto:sebastian@sipsolutions.net" target="_blank">sebastian@sipsolutions.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Thu, 2017-03-09 at 15:45 +0100, Jaime Fernández del Río wrote:<br>
> There will be a PyData conference in Barcelona this May:<br>
><br>
> <a href="http://pydata.org/barcelona2017/" rel="noreferrer" target="_blank">http://pydata.org/barcelona201<wbr>7/</a><br>
><br>
> I am planning on attending, and was thinking of maybe proposing to<br>
> organize a numpy-themed workshop or tutorial.<br>
><br>
> My personal inclination would be to look at some advanced topic that<br>
> I know well, like writing gufuncs in Cython, but wouldn't mind doing<br>
> a more run of the mill thing. Anyone has any thoughts or experiences<br>
> on what has worked well in similar situations? Any specific topic you<br>
> always wanted to attend a workshop on, but were afraid to ask?<br>
><br>
> Alternatively, or on top of the workshop, I could propose to do a<br>
> talk: talking last year at PyData Madrid about the new indexing was a<br>
> lot of fun! Thing is, I have been quite disconnected from the project<br>
> this past year, and can't really think of any worthwhile topic. Is<br>
> there any message that we as a project would like to get out to the<br>
> larger community?<br>
><br>
<br>
</span>Francesc already pointed out the temporary optimization. From what I<br>
remember, my personal highlight would probably be Pauli's work on the<br>
memory overlap detection. Though both are rather passive improvements I<br>
guess (you don't really have to learn them to use them), its very cool!<br>
And if its about highlighting new stuff, these can probably easily fill<br>
a talk.<br>
<span><br>
> And if you are planning on attending, please give me a shout.<br>
><br>
<br>
</span>Barcelona :). Maybe I should think about it, but probably not.<br>
<span><br>
<br>
> Thanks,<br>
><br>
> Jaime<br>
><br>
> -- <br>
> (\__/)<br>
> ( O.o)<br>
> ( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus<br>
> planes de dominación mundial.<br>
</span>> ______________________________<wbr>_________________<br>
> NumPy-Discussion mailing list<br>
> <a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a><br>
> <a href="https://mail.scipy.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman<wbr>/listinfo/numpy-discussion</a><br>______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman<wbr>/listinfo/numpy-discussion</a><br>
<br></blockquote></div><span class="gmail-m_-6093338704451868036m_-2657653843212819236m_429445986739857974gmail-m_9071896003333368656gmail-HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_-6093338704451868036m_-2657653843212819236m_429445986739857974gmail-m_9071896003333368656gmail-m_-2144002770498332412gmail_signature">(\__/)<br>( O.o)<br>( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes de dominación mundial.</div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman<wbr>/listinfo/numpy-discussion</a><br>
<br></blockquote></div></div></div><span class="gmail-m_-6093338704451868036m_-2657653843212819236m_429445986739857974gmail-HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_-6093338704451868036m_-2657653843212819236m_429445986739857974gmail-m_9071896003333368656gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R            <a href="tel:%28206%29%20526-6959" value="+12065266959" target="_blank">(206) 526-6959</a>   voice<br>7600 Sand Point Way NE   <a href="tel:%28206%29%20526-6329" value="+12065266329" target="_blank">(206) 526-6329</a>   fax<br>Seattle, WA  98115       <a href="tel:%28206%29%20526-6317" value="+12065266317" target="_blank">(206) 526-6317</a>   main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman<wbr>/listinfo/numpy-discussion</a><br>
<br></blockquote></div></div></div><br></div></div>
<br>______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman<wbr>/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_-6093338704451868036m_-2657653843212819236gmail_signature">(\__/)<br>( O.o)<br>( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes de dominación mundial.</div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org" target="_blank">NumPy-Discussion@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman<wbr>/listinfo/numpy-discussion</a><br>
<br></blockquote></div></div></div><div><div class="gmail-h5"><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_-6093338704451868036gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R            <a href="tel:(206)%20526-6959" value="+12065266959" target="_blank">(206) 526-6959</a>   voice<br>7600 Sand Point Way NE   <a href="tel:(206)%20526-6329" value="+12065266329" target="_blank">(206) 526-6329</a>   fax<br>Seattle, WA  98115       <a href="tel:(206)%20526-6317" value="+12065266317" target="_blank">(206) 526-6317</a>   main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a></div>
</div></div></div></div>
<br>______________________________<wbr>_________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.scipy.org/<wbr>mailman/listinfo/numpy-<wbr>discussion</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">(\__/)<br>( O.o)<br>( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes de dominación mundial.</div>
</div></div>