When we talk about “the algorithm,” it often feels like a force that began to exist only recently, in the era of social networks. But we’re discussing a technology with a history and legacy that has slowly formed over centuries, long before the Internet existed.