A clear guide to if __name__ == "__main__" in Python. Learn what the __name__ variable is and why this conditional statement is essential for writing reusable modules and runnable scripts.
Is a model's inaccuracy from an architecture that can't reach the answer, or training that fell short? This splits its error into approximation and estimation error.
A beginner's guide to error handling in Python. Learn how to use try, except, and pass to prevent your programs from crashing and gracefully manage runtime errors.
Why does Python say a variable doesn't exist when it's right there? Walk through the four key properties of local and global scope with runnable code.
Conditional and joint probability confuse most beginners: similar notation, different questions. This guide compares them with a deck of cards, then covers AND and OR.
Going deeper into Python functions: default and keyword arguments for more flexible calls, plus a thorough look at scope and the lifetime of local and global variables.
Turn macOS's plain Terminal into a Zsh + Oh My Zsh + Powerlevel10k setup in 5 steps, with a close look at the Nerd Fonts step that trips up most tutorials.