I remember an anecdote about this topic where someone (I think it was Douglas Engelbart?) was giving another a hard time about their military software being used to kill people. At which point the other person mentioned their software used a mouse (which Engelbart invented). Obviously a complex topic with lots of considerations that I venture won't be solved in this HN thread, but good to discuss and think about.