A programmer-turned-reporter on building a machine learning algorithm and search engine to help people seek out top-quality journalism