Math Blog Posts
Love it or hate it, math is all around us!
Premature Optimization: Code First, Optimize Later
Premature optimization may be hurting the quality of your work. Focus on writing legible code first; optimize it later if you need to.
Creating Responsive Aspect Ratios in CSS
Learn how to give any element an aspect ratio in CSS, using the modern aspect-ratio property or a trick with percentage padding.
Binary for Beginners: The ABCs of 0s and 1s
The binary number system underlies pretty much everything in computation and software. But what's the deal with all those 0s and 1s?
Least Squares Fitting: How to Fit a Curve to Data
Having mastered the method of least squares, we're now ready to learn how to solve least squares fitting problems, both by hand and with Python.
Mastering the Method of Least Squares
Learn how the method of least squares works under the hood. Applications of the least squares method include linear and polynomial regression.