The eval() Conundrum and Python-as-DSL

Many people will proclaim that the eval() function is reprentnatly evil.

Feel free to skip the two rants.

BLUF

The eval() function is relatively easy to work with.

Important

Limit the globals to the fewest possible names.

Eval() Rant

A too-common claim is that we can't use eval() because an …

more ...

Humble Bundle Offer

This is delightful: Packt has this Humble Bundle including The Modern Python Cookbook.

Humble Bundle Graphic

The Humble Bundle with The Modern Python Cookbook

Since it's right arund my birthday, consider this discount my gift to you.

Invest in yourself.

more ...

Gloom and Despair -- LaTeX Edition

I write all my books using LaTeX. Parts of LaTeX are (at first) confusing.

Recently, I had a moment of despair when my LaTeX processing tools no longer worked.

BLUF

Don't panic. Gather the data.

If the logs aren't good enough to reveal what's going on, fix the logs.

The …

more ...

Some Recommended Reading

Q: "Can you recommend books that are good for a beginner wanting to learn python?"

Me: "Depends on the person’s background..."

Q: "They has a deep background in the problem domain. Recently they've been doing a lot of reporting and analytics using SQL."

Okay. That's excellent.

One of the …

more ...



Coping with Complexity

I'm struggling with brain cramps trying to understand something my past self wrote. Current me needs to go outside and do something that doesn't involve software or complexity. Sadly, current me is trying to make one small change and it feels like the software has passed out of the realm …

more ...

Testing Your AI

We test software. We test people.

My lawyer, all my various doctors, even the coffee bar on main street is subject to testing. The coffee shop proudly posts their score from health inspections. Want to know about food safety? Ask them.

My professionals all have walls full of diplomas and …

more ...