mathspp blog

442 479,287 39,373
articles words lines of code

See an animation of a trapezoid innscribed in a circle, built with some maths and the help of an LLM.

Today I learned that cyclic quadrilaterals have supplementary opposite angles.

Today I learned how to inspect a lazy import object in Python 3.15.

Today I learned how to install jupyter properly while using uv to manage tools.

Today I learned how to do multiline input in the REPL using an uncommon combination of arguments for the built-in open.

Learn how to remove extra spaces from a string using regex, string splitting, a fixed point, and itertools.groupby.