Live data from Hacker News

NumPy Tricks and Pitfalls

nbviewer.jupyter.org

21–28 of 28 posts

Re: NumPy Tricks and Pitfalls

#21
post #18

I uploaded to Azure Notebooks in case anyone wants to run it w/o setting up an environment: https://notebooks.azure.com/smortaz/libraries/advanced-numpy... Click Clone, Sign in, then Run

Similar in CoCalc https://cocalc.com/share/4a5f0542-5873-4eed-a85c-a18c706e8bc... Click "Open in CoCalc", then select all, copy.

+1 for CoCalc! It's great to see the number of notebook hosting services flourish.

Re: NumPy Tricks and Pitfalls

#22
post #6

I still don't really understand why someone would choose to use NumPy when the numerical story in Rust is now so good.

Numerical computation is just one part of scientific code. Linear Algebra, data analysis, modelling, and visualization, are equally important.

Re: NumPy Tricks and Pitfalls

#23
post #21

Earlier quoted context omitted.

Similar in CoCalc https://cocalc.com/share/4a5f0542-5873-4eed-a85c-a18c706e8bc... Click "Open in CoCalc", then select all, copy.

+1 for CoCalc! It's great to see the number of notebook hosting services flourish.

Anyone know of, or can offer, a comparison of the existing notebook hosting services?

Re: NumPy Tricks and Pitfalls

#24
post #2

I'm an engineering student that does programming and am wondering, can I ask what are some good resources to gain the appropriate background that would allow me to understand more of this notebook? I have used tools like Numpy but probably not very efficiently without understanding their strengths and weaknesses. What books or online courses should I look into to know about memory, flops, and things like that? I shou…

> What books or online courses should I look into to know about memory, flops, and things like that?

What you are after are books/courses on "architecture", I think. A classic book on the subject is Hennessy & Patterson.

https://www.amazon.com/Computer-Architecture-Sixth-Quantitat...

Re: NumPy Tricks and Pitfalls

#25
post #12
post #6

I still don't really understand why someone would choose to use NumPy when the numerical story in Rust is now so good.

TensorFlow doesn’t have a Rust interface.

Isn't this a Rust interface for TensorFlow?

https://github.com/tensorflow/rust

Re: NumPy Tricks and Pitfalls

#26
post #6

I still don't really understand why someone would choose to use NumPy when the numerical story in Rust is now so good.

I avoid rust due to the annoying, symbol-heavy syntax that requires too much Shift-key usage.

Re: NumPy Tricks and Pitfalls

#28
post #27

The python link is not working? https://github.com/ASvyatkovskiy/PythonWorkshop/blob/Spring2...

Ah, that's a shame, it looks like that notebook is no longer available. Thanks for pointing it out. I'll remove the reference.
Post reply on HN