Text this: From polynomials to sums of squares