Today I learned how to detect collisions between circles and rectangles with 100% accuracy.
This article proposes an implementation of an ergonomic binary search algorithm implemented as a bidirectional generator.
Check out codegolf.stackexchange.com if you want to solve programming puzzles, but with a twist.