Hacker News new | past | comments | ask | show | jobs | submit login

One thing missing in comparison to most other textbooks is a set of problems to test the reader's understanding. The rotating and interactive figures are a very nice touch though.

Along the lines of interactivity, maybe having a scratch area like a Jupyter notebook would be a potentially great addition so that I could try problems near the area where I'm reading.




I thought the same thing. A set of problems to test the reader's understanding and a scratch area like a Jupyter notebook would improve the interactivity.


I've recently worked on http://dspillustrations.com for a pictorial description of signal processing concepts. In the online version, it's not fully interactive, just animations. But after downloading, you can certainly change formulas and run it interactively.

Would be interested how one would manage to include a jupyter scratchpad in the online version?


Embedding Jupyter Widgets in Other Contexts than the Notebook: http://ipywidgets.readthedocs.io/en/latest/embedding.html

Temporary notebook service: https://github.com/jupyter/tmpnb

Jupyter javascript plugin for static sites: https://github.com/oreillymedia/thebe

Also, you may want to consider trinket: https://trinket.io/

http://www.hnwatcher.com/r/984396/Embed-interactive-Python-a...

For example, this book uses trinket for interactive Python: https://books.trinket.io/pfe/index.html

I've just tried running:

    import numpy as np
    from scipy import linalg
    A = np.array([[1,2],[3,4]])
    print(linalg.det(A))
at https://trinket.io/features/python3 and it worked like a charm :)


Thanks for these great references! I will definitely have a look at them and see if I can use them for my purposes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: