Math Blog Posts

Love it or hate it, math is all around us!

  1. 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.

  2. 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.

  3. 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?

  4. 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.

  5. 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.