Today's Milestone: Refactoring and Django Migrations

Once upon a time, when today's old folks were young, we'd debate the two project strategies: Hard Part Do Later (HPDL) vs. Hard Part First (HPF).

The HPDL folks argued that you could pick away at the hard part until -- eventually -- it wasn't hard any more. This doesn't often work …

more ...


Python Tutor

The core visualization tool (pythontutor.com) can be helpful for many people. The shared environments seem like a cool idea, also, but I don't have any specific comments on the other tools.
While this looks very cool, I'm not a …
more ...



Audio Synth [Updated]

I learned about synthesizers in the '70's using a Moog analog device. Epic coolness.
Nowadays, everything is digital. We use wave tables and (relatively) simple additive synth techniques.
I made the mistake of reading about Arduino wave table synthesis:
more ...


Mocking and Unit Testing and Test-Driven Development

Mocking is essential to unit testing.

However.

It's also annoyingly difficult to get right.

If we aren't 100% perfectly clear on what we're mocking, we will merely canonize any dumb assumptions into mock objects that don't really work. They work in the sense that they don't crash, but they don't …

more ...

Amazon Reviews

Step 1. Go to amazon.com and look for one (or more) of my Python books.

Step 2. Have you read it?

  • Yes: Thanks! Consider posting a review.
  • No: Hmmm.

That's all. Consider doing this for other authors, also.

Social media is its own weird economy. The currency seems to …

more ...