The first computer bug was a literal bug.

To be exact, a moth.

On Sept 9, 1947, a moth got trapped in Harvard University's Mark II computer -- causing multiple errors.

This bug disrupted the electronics inside the Mark II.

Here's a photo of that first computer bug.

@atomicpoet Actually, the term "bug" was already used for at least 50 years ! And this paper was probably a joke :)

https://daily.jstor.org/the-bug-in-the-computer-bug-story/

The Bug in the Computer Bug Story - JSTOR Daily

Soon after a team of engineers discovered a moth in a machine at Harvard, the word "bug" became a standard part of the programmer's lexicon. Or did it?

JSTOR Daily