I’m too lazy to check this myself this Sunday, so I’ll just ask…

how much of a performance penalty is paid if someone adds #Python imports statements inside a helper function body so it can be just copied and pasted around?

I guess the optimal thing would be to add the imports at the top of a module with the helpers so they occur only once when one imports the function, instead of being evaluated each time the function is called, but, in the context of didactic examples it is handy for the learner to have the helper function together with the example… but then I could move the imports to the top… but then I’m lazy, and… so many decisions…

​ Read More

** More stink **
I read A Court of Throne and Roses this weekend. Not my usual fare but what the heck it was there so I read it. I found it to be an unremarkable, relatively conservative romantasy.

What stood out to me, though, is that everyone is so stinky. The main character is always describing how folks smell, smelling them before they round a corner and stuff. Even if they don’t like smell bad, this setting seems overwhelming perfumed. ⌘ Read more

​ Read More

** Stinky **
This morning I set up our new composter. This entailed shoveling a lot of compost from the old one into the new so that it can actually finish cooking. Shoveling 4 years worth of mostly kitchen scrap compost is a very very stinky endeavor. Despite wearing gloves I don’t know if my hands will ever not smell again. ⌘ Read more

​ Read More