On Thu, Jan 30, 2020 at 4:55 AM Wes Turner <wes.tur...@gmail.com> wrote:

>
>
> Are they working on Windows platforms?
> I understand that Python is in the Microsoft App Store now, but conda is
> not.
>
>
Yes.  Oft times these are public school labs and I'm not in charge of what
gets installed.  Always Windows and/or Chromebooks.

The private schools have featured Macs as well.

However they're already using repl.it in the cloud (after Codesters in the
sequence).

My Decimal experiments have been in repl.it:
https://repl.it/@kurner/tetravolumes

I realize one may use Jupyter Notebooks in the cloud as well (e.g. that
free Docker-based service etc., Mybinder I think it's called).

But in this context I'm just sharing exhibits, saying "hit the run button"
and showing it's at least as much fun as a calculator.  Other exhibits
might include Taylor Series or like that Ramanujan algorithm for 1/pi.

Raspberry Pi is also feature in our curriculum segments.  That comes with
Wolfram Language perhaps, more like sympy and Sage, but if we can just dive
in and use Decimal, so much the better (already installed with default OS).

https://flic.kr/s/aHskYSMvKJ
(Photo Album gives the flavor)

Step one might be to get curl or wget and bash installed. Are admin rights
> required to get Windows Subsystem for Linux (WSL) installed?
>
> Apparently, 'certutil' can be used to download over http on Windows
> platforms:
>
> certutil.exe -urlcache -split -f "
> https://download.sysinternals.com/files/PSTools.zip"; pstools.zip
>
> Then download and install Miniconda:
>
> - https://docs.conda.io/en/latest/miniconda.html
> <https://docs.conda.io/en/latest/miniconda.html>
> - https://docs.anaconda.com/anaconda/install/silent-mode/
>

Useful on Raspberry Pi too I think.
When I teach my 40 hours Python course to adults (I've got another one
starting next week) I always go for conda.

This is BYOD class i.e. they bring a mixed bag as to the OS -- and given
teleteaching, I may not even know if they choose not to tell me.

However, when it comes to this high precision fitting-together of puzzle
geometric pieces, and giving a workout to that Gerald de Jong formula (came
to him on a train in Holland I think it was, a Ramanujan Moment -- he's a
math guy from University of Toronto [1]): that's for my younger students as
well, and I'm not really in a position to micro-manage their computers
either.

Codesters doesn't implement decimal type (a deficiency in Skulpt and
probably by extension in JavaScript?).  However I can use it to import the
graphics in question and display them on screen.





>
>
> certutil.exe -urlcache -split -f "
> https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe";
>
> start /wait "" Miniconda3-latest-Windows-x86_64.exe
> /InstallationType=JustMe /RegisterPython=1 /S /D=%UserProfile%\Miniconda3
>
> Then create an environment and install a few things:
>
> conda create -n maths jupyterlab spyder
> conda activate maths
> conda install -c conda-forge sympy gmpy2 matplotlib safe
>
> Then start jupyterlab or spyder or vscode, or IPython:
>
> jupyterlab
> spyder
> ipython
> # %logstart -o logged.inputandoutput.py
>
>
> But how do you plot 3d graphics in a terminal? In Jupyter notebooks, an
> object's _repr_html_ method will be called before just repr(object) (which
> calls __repr__) in order to get output for the notebook.
>

I've been a big VPython (Visual Python) fan over the years, as when it
comes to 3d, I'm interested in Polyhedrons (e.g. Platonics etc), using
user-crafted Vector classes and such.  For years I relied on ray tracing
i.e. Python code spit out scene description language.  This approach became
widespread e.g. see Antiprism by Adrian (antiprism.com).

At my best, I was getting Game of Life on a 3D hexapent (with modified
rules for 6 and 5 around 1).  My Oregon Curriculum Network website is full
of early VPython experiments (4dsolutions.net/ocn/cp4e.html).

Kirby

[1] Input six edges, get back out volume.  Add 24 of this shape to that
shape and prove outcome is 4.0 to 900 decimal places.  Part of that repl.it
thing.  What I wrote up on Medium (linked top of this thread).
_______________________________________________
Edu-sig mailing list -- edu-sig@python.org
To unsubscribe send an email to edu-sig-le...@python.org
https://mail.python.org/mailman3/lists/edu-sig.python.org/

Reply via email to