Optimal Opus

Python

Preview Image

A Gentle Introduction to Automatic Differentiation

Differentiation is hard enough when it's in abstract on a math test, but what about when it's living, breathing code? Let's learn how modern numerical computing frameworks like Julia, Pytorch, Tensorflow and JAX all take gradients without ever being told how to do it.

Read Essay
Preview Image

Unmasking Python's for loop

Today we're going to look at for loops. It's the proverbial peanut butter and jelly sandwich of programming and yet many programming languages don't even have for loops. Let's investigate some alternatives.

Read Essay