1540s, "mentally slow," from Middle French stupide, from Latin stupidus "amazed, confounded," literally "struck senseless," from stupere "be stunned, amazed, confounded," from PIE *(s)tupe- "hit," from root *(s)teu- (see steep (adj.)).
Native words for this idea include negative compounds with words for "wise" (cf. Old English unwis, unsnotor, ungleaw), also dol (see dull), and dysig (see dizzy). Stupid retained its association with stupor and its overtones of "stunned by surprise, grief, etc." into mid-18c. The difference between stupid and the less opprobrious foolish roughly parallels that of German töricht vs. dumm but does not exist in most European languages.
Term used by samurai for the suits who employ them. Succinctly expresses an attitude at least as common, though usually better disguised, among other subcultures of hackers. There may be intended reference here to an SF story originally published in 1952 but much anthologised since, Mark Clifton's "Star, Bright". In it, a super-genius child classifies humans into a very few "Brights" like herself, a huge majority of "Stupids", and a minority of "Tweens", the merely ordinary geniuses.