I'd say stupidity is commiting an act despite knowing the outcome of doing so, or neglecting the probability of a certain outcome to an unacceptable level. If you don't know the outcome it is just a mistake because no prior knowledge exists; and we are curious creatures.
Bookmarks