Skip to main content

Unschooling and Learning Python

 KO6BTY and I are making another run through Python.

Diaze has learned a bit of Python in the past when she set up our QSO mapping app to pull in pertinent ionosonde data from the Digisonde ionosondes. Now, we're working with Python again to analyze data not from ground-bound ionosondes, but from the COSMIC2 constellation of satellits that provide ionospheric data includihng electron density profiles.

That was the intro, and the application, but this post is more about how to informallly teach Python. What will work, and what won't? With unschooling, a lot of learning is initiated by something called strewing. Strewing as it's comonly defiined is, essentially, keeping things a little cluttered around the house. It's leaving reading material, projects, web sites, and so on, out where everyone in the house, including and especially the kids, can see them. I've widened the definition to include our entire indoor and outdoor lives, and the city and world at large. For us, it works in more ways than one.

But, it's a very informal activity designed to lead, perhaps, to more formal educational activities depending on the kid's interests. Here's the question: can a topic also be taught informally? I've had varying results with this. Sometimes the kids here pick up things hanging out with my partner and I. Diaze picked up writing by attending writing groups with me. Mota, who's manual dexterity is through the roof, picks up physical activitiese by hanging out with other people doing them as evidenced by me getting nailed in the chest by a perfect spiral football pass when he was six. Tawnse has picked up and lost physics more than once just soaking it in from my partner's online lecture productions.

I enjoy showing the gang how to do things but, especially for me, and especially with Python, there can be a lot of unexpected set up that can start to slow progress and sometimes drive everything to a halt. Last night, it was working in a venv vs not workign in a venv on a Chromebook with respect to installing packages with pip.

I, of course, have setup my Chromebook at sometime in the past to let me do pretty much whatever the heck I please. I don't remember how I did it. Meanwhile, Diaze's Chromebook was adamant that she not install netCDF4 with pip as it might ruin the entire Python install.

I'm happy to report that we did arrive at the venv solution mostly through our experience with Datasette plugins. The development section of most plugins mentions using venv. That did the trick. Once Diaze was within a virtual environment, pip felt comfortable enough to allow the install.

We stopped there for the day.

I'm going to try to keep a lab notebook of how this goes. I caught Covid this week, which  might seem irrelevant, but Diaze and I are doing all of this work through Google Meet so I  don't expose her. Consequently, I have our entire chat streams as a result. I'm going to see if I can somehow weave those in as data for how to improve or change or show what works about this 'teaching/learning' method.

It outghta be fun.


Comments

Popular posts from this blog

The Valentine's Day Magnetic Monopole

There's an assymetry to the form of the two Maxwell's equations shown in picture 1.  While the divergence of the electric field is proportional to the electric charge density at a given point, the divergence of the magnetic field is equal to zero.  This is typically explained in the following way.  While we know that electrons, the fundamental electric charge carriers exist, evidence seems to indicate that magnetic monopoles, the particles that would carry magnetic 'charge', either don't exist, or, the energies required to create them are so high that they are exceedingly rare.  That doesn't stop us from looking for them though! Keeping with the theme of Fairbank[1] and his academic progeny over the semester break, today's post is about the discovery of a magnetic monopole candidate event by one of the Fairbank's graduate students, Blas Cabrera[2].  Cabrera was utilizing a loop type of magnetic monopole detector.  Its operation is in concept very sim

More Cowbell! Record Production using Google Forms and Charts

First, the what : This article shows how to embed a new Google Form into any web page. To demonstrate ths, a chart and form that allow blog readers to control the recording levels of each instrument in Blue Oyster Cult's "(Don't Fear) The Reaper" is used. HTML code from the Google version of the form included on this page is shown and the parts that need to be modified are highlighted. Next, the why : Google recently released an e-mail form feature that allows users of Google Documents to create an e-mail a form that automatically places each user's input into an associated spreadsheet. As it turns out, with a little bit of work, the forms that are created by Google Docs can be embedded into any web page. Now, The Goods: Click on the instrument you want turned up, click the submit button and then refresh the page. Through the magic of Google Forms as soon as you click on submit and refresh this web page, the data chart will update immediately. Turn up the:

Cool Math Tricks: Deriving the Divergence, (Del or Nabla) into New (Cylindrical) Coordinate Systems

Now available as a Kindle ebook for 99 cents ! Get a spiffy ebook, and fund more physics The following is a pretty lengthy procedure, but converting the divergence, (nabla, del) operator between coordinate systems comes up pretty often. While there are tables for converting between common coordinate systems , there seem to be fewer explanations of the procedure for deriving the conversion, so here goes! What do we actually want? To convert the Cartesian nabla to the nabla for another coordinate system, say… cylindrical coordinates. What we’ll need: 1. The Cartesian Nabla: 2. A set of equations relating the Cartesian coordinates to cylindrical coordinates: 3. A set of equations relating the Cartesian basis vectors to the basis vectors of the new coordinate system: How to do it: Use the chain rule for differentiation to convert the derivatives with respect to the Cartesian variables to derivatives with respect to the cylindrical variables. The chain