Closed ralsei closed 2 years ago
Hi Larry,
It's good to hear from you!
If I were to get into this again, I would definitely start over from scratch and take an approach similar to yours. Especially with respect to integrating the textbook with the interactive software component. I guess the main thing I'd consider keeping from jsonesharp is that it runs the code locally in the browser. There's been a lot of technological progress in programming pedagogy tools along these lines (including support for just about every language under the sun) since we last thought about it together. For example, here's an introduction to javascript programming using an open source framework called freecodecamp: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/ .
I co-taught quantum programming with Amr my last semester at IU; we used python notebooks for the second half of that class. https://qiskit.org/textbook/ch-prerequisites/python-and-jupyter-notebooks.html
I grew pretty fond of that approach. Notebooks render LaTeX as well. One real advantage over the interactive textbook approach is that students can draft their own notebooks and submit them as homework.
If Hazel or Yafei were interested in contributing, I would urge them to help you figure out how to make your version as functional as the qiskit textbook. For example, it's possible to avoid exposing the interpreter in the notebook; also, to have the notebooks seemlessly embedded in a website...
Good luck, and have fun! :-)
Robert
------- Original Message ------- On Thursday, September 8th, 2022 at 15:32, Larry Moss @.***> wrote:
Greetings, Robert!
As you can guess, I'm back using 1# in my class. There are two students who got interested in fixing the code to work better on contemporary browsers. They are Yafei Wang and Hazel Levine; one or both probably has gotten in touch with you. I trust that you don't mind them looking into things.
Meanwhile, since I could not completely use what you did, I re-implemented 1# in Python for Jupyter notebooks, and then it runs in one click on Google Colab. I don't yet have the nice animation that you had, but I am working on doing this in matplotlib and expect to have it later this semester. I also implemented a few other things, and you can see what I've done at
https://github.com/lmoss/onesharp
especially https://github.com/lmoss/onesharp/blob/main/evaluator.ipynb and https://github.com/lmoss/onesharp/blob/main/getting_started.ipynb
All the best,
Larry
On Thu, Sep 8, 2022 at 1:17 PM Hazel Levine @.***> wrote:
You can view, comment on, or merge this pull request online at:
https://github.com/rrose1/jsonesharp/pull/13 Commit Summary
- 6b1df0d https://github.com/rrose1/jsonesharp/pull/13/commits/6b1df0ddeadcba1b6d75be5e08560dc3b6d30cad Update README
- 69a4fdc https://github.com/rrose1/jsonesharp/pull/13/commits/69a4fdccccf420a6b6806dc7a55da0ae2ee82a89 http => https
- 77a939e https://github.com/rrose1/jsonesharp/pull/13/commits/77a939ecdbd4a27813b25ae71bd9d37daffdae04 Merge branch 'rrose1:gh-pages' into gh-pages
File Changes
(2 files https://github.com/rrose1/jsonesharp/pull/13/files)
- M README.md https://github.com/rrose1/jsonesharp/pull/13/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 (3)
- M index.html https://github.com/rrose1/jsonesharp/pull/13/files#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051 (4)
Patch Links:
- https://github.com/rrose1/jsonesharp/pull/13.patch
- https://github.com/rrose1/jsonesharp/pull/13.diff
— Reply to this email directly, view it on GitHub https://github.com/rrose1/jsonesharp/pull/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHSAQMO4AYXIP7H5ZGELV3V5INTZANCNFSM6AAAAAAQH6VHNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>
Greetings, Robert!
As you can guess, I'm back using 1# in my class. There are two students who got interested in fixing the code to work better on contemporary browsers. They are Yafei Wang and Hazel Levine; one or both probably has gotten in touch with you. I trust that you don't mind them looking into things.
Meanwhile, since I could not completely use what you did, I re-implemented 1# in Python for Jupyter notebooks, and then it runs in one click on Google Colab. I don't yet have the nice animation that you had, but I am working on doing this in matplotlib and expect to have it later this semester. I also implemented a few other things, and you can see what I've done at
https://github.com/lmoss/onesharp
especially https://github.com/lmoss/onesharp/blob/main/evaluator.ipynb and https://github.com/lmoss/onesharp/blob/main/getting_started.ipynb
All the best,
On Thu, Sep 8, 2022 at 1:17 PM Hazel Levine @.***> wrote: