Moduli problems and some linear algebra