It's easy to say "I will never let the Department of Defense use my search engine for evil!" Or "the more money they spend on me, the less they have for weapons!" ( https://en.wikiquote.org/wiki/Theo_de_Raadt ) when you aren't really expecting money. But when somebody shows up with a check, it becomes much harder to stick to your principles. Especially after watching Palantir (and "don't be evil" Google) rake in plenty of dough.
Also: https://gist.github.com/kemitchell/fdc179d60dc88f0c9b76e5d38... .