Better HN
topnewbestaskshowjobs
Log inSign up

idanp

23 karma · joined Apr 24, 2020 (6y ago) · 9 submissions

Submissions

comment 1y ago · link · parent

I always wished these notepad calculators would run plain python. POC - https://github.com/idanpa/jupad

comment 1y ago · link · parent

For lightweight calculations re-execute everything while typing cells https://github.com/idanpa/jupad

comment 1y ago · link · parent

lyx [1] is great for live editing of latex . Set the instant preview Tools>Preferences>Display>Instant Preview if you want automatic latex rendering, although the editor rendering is nice as it is.

For something that is more of a calculator, SymPy [2] with sympy.init_printing() would be rendering latex automatically in any Jupyter notebook.

Specific tools I created for my own use for leveraging the above is pypad [3] together with calcpy [4] (%load_ext calcpy)

[1] LyX https://www.lyx.org

[2] SymPy https://www.sympy.org

[3] pypad https://github.com/idanpa/pypad

[4] calcpy https://github.com/idanpa/calcpy

comment 2y ago · link · parent

I think PyPy usually has slower startup time. Need to try to defer some of the imports to be done in the background, see how good is the outcome. Feel free to open an issue in github.

comment 2y ago · link · parent

I use SymPy as my calculator with https://github.com/idanpa/calcpy

comment 3y ago · link · parent

Virtualization can happen in the hardware itself, e.g. SR-IOV.

comment 3y ago · link · parent

matplotlib is not needed, SymPy fallsback to ascii plotter and this is what I use on phone with termux.

comment 3y ago · link · parent

yes, with modifications - https://github.com/idanpa/calcpy

comment 3y ago · link · parent

I felt SymPy needed some adjustments for it to be fun and useful for my day-to-day calculations, so I wrote this:

https://github.com/idanpa/calcpy