How to Check if a Python Variable is a Tuple

Tonight I Googled “how to check if a variable is a tuple”, expecting to find a Stack Overflow isinstance() snippet. Instead, I found that i could use Python’s type built-in to check if my variable is a tuple: I thought that looked like a good solution until I found a section in PEP 8, Python’s […]

Scripting As Simplified Cognition (How to Catch A Flight)

Follow the three step path to enlightenment and productivity gained: Write scripts. Follow them manually. Refine and automate if preferable. Below I “scripted” out catching my flight from Chicago’s O’hare Airport to Denver. Writing things down is often the first step to realizing what needs done. Ideally, you’d turn those written steps into a script […]

Algorithms Will Decide The Future

Algorithm: a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer. I recently read “Homo Deus“, a book by Yuval Noah Harari. It explores the idea that humans may simply be algorithmic decision making systems. AKA self-aware, self-learning algorithms. There are many parallels between a human and […]

On Learning New Things

Most new skills I’ve tried to learn seem to follow a similar trajectory: Stage One – Beginner’s Thrill: A rapid growth and learning pace at the beginning, because I’m conquering a lot of small goals, diving into something new and there are rapid gains which feels great. Stage Two – Amateur’s Reality: The pace of learning and accomplishment levels […]