How can a spectrum object be constructed? | Hacker News Reader