Text this: Design of experiments for generalized linear models