Lunduke
News • Science & Tech
The story of the first "computer bug"... is a pile of lies.
A fun, endearing, delightful pile of lies.
August 28, 2023
post photo preview

Many of us have heard the story of “The First Computer Bug”. It goes something like this…

On September 9, 1947 — at 3:45pm — Grace Hopper recorded the “first actual case of a bug being found” in her logbook. The bug was a moth found between the relay contacts of the Harvard Mark II computer.

The story is a fantastic one. A bug. An actual bug causing a computer to misbehave.

The fact that this was found by Grace Hopper — who is an absolute legend in the world of computer programming — adds to the legendary status of this story. And this story has been repeated countless times as the origin for why we use the term “bug” when talking about errors and defects in computer software.

Here is a picture of the actual log book page. Note that the moth in question is actually taped onto the page. Which, I must say, is a pretty awesome way to handle a “bug report.”

Photo of the log book from 1947.

So that you can get a full appreciation for the computer we’re talking about here, this is what the console of the Harvard Mark II computer looked like. Note the teletypes to either side of the desk

The Console of the Harvard Mark II. Image courtesy of Gwen Bell.

See that cool control sitting in the middle of the table? Here’s a close up view of that beauty. Just because.

Photo courtesy Smithsonian.

And what about those relays where that moth was found? Well. Here is a picture of the bank of relays of the Harvard Mark II. This is where the moth was discovered.

Photo courtesy Smithsonian.

Petty cool right?

And a cool story! The origin of the “computer bug”! By Grace Hopper! Awesome!

A story so cool that it has been repeated (with ever so slight variations) in so many major publications. Everything from the New York Times to Newsweek has repeated this anecdote. Telling this story in computer publications is almost a sacred tradition at this point. Such as in the January, 1984 edition of BYTE (which has a truly fantastic magazine cover).

 

Note this retelling of the story references the Harvard Mark I instead of the Mark II. Technically both machines existed at this time. But it was likely the Mark II.

There’s just two problems with this story:

  1. This was not the origin of term “bug” being used for engineering — including computer software.

  2. And it was not likely discovered — or recorded — by Grace Hopper.

Seriously.

The two most critical parts of this story — a story repeated more times than almost any other throughout the computing world — are not true. At all.

Let’s start with the logbook.

The likelihood is… that this logbook was not actually Grace Hopper’s. The handwriting does not match Hopper’s — even the National Museum of American History considers this logbook page to not be written by Hopper. And the discovery of the moth in the relay was not Hopper’s discovery either.

Who wrote this logbook entry? That remains a bit of a mystery. One that I would very much like to solve. Considering the relatively small size of the team who worked on the Mark II, I’m hopeful to eventually get a definitive answer to this.

Now. Let’s address the other factual problem with this story…

This is not the first time that computer defects were referred to as “bugs”.

In fact, that was already common at this point — as it had become standard throughout many engineering fields for several decades.

In fact, here is a quote from Thomas Edison — dated March 3rd, 1878 — where he talks about finding a bug affecting his technology:

“You were partly correct, I did find a ‘bug’ in my apparatus, but it was not in the telephone proper. It was of the genus ‘callbellum.’ The insect appears to find conditions for its existence in all call apparatus of telephones” - Edison

Here is a scan of the entire letter from Edison:

In fact, even this is not the first time Edison, himself, used “bug” to talk about engineering defects.

A “bug” was a common issue in Quadruplex Telegraphs in the 1800s — specifically referring to “false signals”. In order to fix these “bugs”, Edison invented something called a “Bug Trap”. Which led to a series of trademark disputes well into the 1920s.

And, by this time, “bug” was quickly becoming a common term for any sort of engineering error or anomaly. As computer creation progressed during the 1940s, the terminology was both well understood and used by those early computer engineers and programmers.

Whoever wrote that famous 1947 log entry — “first actual case of a bug being found” — was making a joke. It was, indeed, the first time a physical, insect “bug” was recorded to be found inside a computer.

  • It was not, however, the first time a joke was made about finding a real “bug” in a work of engineering (that would go to Edison).

  • Nor was it the first time that a computer glitch would have been referred to as a “bug”.

  • Nor was it found or recorded by Grace Hopper.

This has become one of those stories which has been repeated so often — and blindly accepted as fact (in large part, I think, because we have a picture of the actual moth) — that it will continue to be be re-told, over and over again, and never questioned.

Even though it’s filled with falsehoods.

Still. A fun story, though.

community logo
Join the Lunduke Community
To read more articles like this, sign up and join my community today
7
What else you may like…
Videos
Podcasts
Posts
Articles
November 12, 2025
Stack Overflow Co-Founder to DHH: You Should be Afraid of Me

Jeff Atwood (co-founder of Stack Overflow & Discourse), appears to make a public threat against Omarchy & Ruby on Rails founder, DHH. Threats of violence are a pattern among Open Source Leftists.

More from The Lunduke Journal:
https://lunduke.com/

00:16:33
November 12, 2025
Multiple Vulnerabilities Found in Rust Sudo Clone in Ubuntu

Ubuntu is now shipping with Rust based replacements of core utilities (sudo, date, du, etc.). And the steady stream of bugs, missing functionality, and security vulnerabilities continues.

More from The Lunduke Journal:
https://lunduke.com/

00:18:01
November 12, 2025
4chan's Lawyer Talks to Lunduke

Preston Byrne, the attorney representing both 4chan and Kiwi Farms, talks with Lunduke about Ofcom and the United Kingdom's censorship campaign against Americans.

More from The Lunduke Journal:
https://lunduke.com/

00:56:04
November 22, 2023
The futility of Ad-Blockers

Ads are filling the entirety of the Web -- websites, podcasts, YouTube videos, etc. -- at an increasing rate. Prices for those ad placements are plummeting. Consumers are desperate to use ad-blockers to make the web palatable. Google (and others) are desperate to break and block ad-blockers. All of which results in... more ads and lower pay for creators.

It's a fascinatingly annoying cycle. And there's only one viable way out of it.

Looking for the Podcast RSS feed or other links? Check here:
https://lunduke.locals.com/post/4619051/lunduke-journal-link-central-tm

Give the gift of The Lunduke Journal:
https://lunduke.locals.com/post/4898317/give-the-gift-of-the-lunduke-journal

The futility of Ad-Blockers
November 21, 2023
openSUSE says "No Lunduke allowed!"

Those in power with openSUSE make it clear they will not allow me anywhere near anything related to the openSUSE project. Ever. For any reason.

Well, that settles that, then! Guess I won't be contributing to openSUSE! 🤣

Looking for the Podcast RSS feed or other links?
https://lunduke.locals.com/post/4619051/lunduke-journal-link-central-tm

Give the gift of The Lunduke Journal:
https://lunduke.locals.com/post/4898317/give-the-gift-of-the-lunduke-journal

openSUSE says "No Lunduke allowed!"
September 13, 2023
"Andreas Kling creator of Serenity OS & Ladybird Web Browser" - Lunduke’s Big Tech Show - September 13th, 2023 - Ep 044

This episode is free for all to enjoy and share.

Be sure to subscribe here at Lunduke.Locals.com to get all shows & articles (including interviews with other amazing nerds).

"Andreas Kling creator of Serenity OS & Ladybird Web Browser" - Lunduke’s Big Tech Show - September 13th, 2023 - Ep 044
15 hours ago

Meanwhile in Pakistan...

post photo preview
16 hours ago

This is scary, Comrade!!!

23 hours ago

Like it or not, so-called artificial intelligence (AI) is now a requirement. As part of the IT & cyber security toolkit. Not doing so now gives bad actors a leg up.

Inside Anthropic's Detection of an AI-Run Cyberattack on 30 High Value Global Targets - YouTube

November 13, 2025
There are 3 certainties in Tech. One of them is 50% off Lunduke Journal subscriptions today.

Life is filled with uncertainties.

  • Will Valve’s new Steam Machine be reasonably priced?

  • When will Microsoft replace the Windows Calculator with an AI chatbot?

  • Will The Lunduke Journal have a sale next week?

Do you know the answers to any of those questions? Shoot. I sure don’t!

But, within the Tech Industry, there are 3 certainties:

  1. There will be more bugs found in the Rust Core Utility clones.

  2. GNOME will say something stupid before the day ends.

  3. And The Lunduke Journal is having a sale right now.

Why take chances? Embrace what you know for certain and grab a Lunduke Journal subscription, right now, for 50% off.

$3 / Month. Or $27 / Year (which works out to… [does math]… $2.25 / Month). Or $150 for Life (seriously… for life).

Which will then give you all of the perks:

  • DRM-Free MP4 Downloads of all videos.

  • Full access to the exclusive forum.

  • And a bunch of nerdy eBooks.

50% off subscriptions lasts through Friday (November 14th).

Maybe the sale will be extended. Maybe another sale will happen again in the future.

Then again… maybe not.

Can you really take that chance?

-Lunduke

Read full Article
November 12, 2025
Lunduke Journal Update: Nov 12, 2025

Just a few quick Lunduke Journal-y tidbits on this fine Wednesday afternoon!

  1. Two fascinating interviews this week: DHH and Preston Byrne (the attorney for 4chan). Both are worth catching if you haven’t already.

  2. The 50% off Subscriptions deal has been extended through this Friday (Nov 14th). So many of you kept picking up new subscriptions… I figured… what the heck! Why not keep the party going? So Monthly, Yearly, and Lifetime subs are all half off at least through Friday!

  3. The “Lifetime Subscriber Wall” isn’t part of today’s (November 12th) shows. There have been so many requests to be added to the wall this week that I need to update the design a bit to fit everybody. The Lifetime Wall will re-appear at the end of new shows tomorrow or Friday.

Once again, thank you for your support! None of this would be possible without you!

-Lunduke

Read full Article
November 11, 2025
Lunduke taking Veteran's Day off

Today, we honor our veterans and their service to our nation.

Great men, like my grandfather who, during World War II, joined the Navy at 14 years old. He was a big, older-looking teenager… so, as was not unheard of, he lied about his age on the paperwork in order to go fight the Axis.

And his father, who joined in the year leading up to the start of World War I.

I am taking this Veteran’s Day off. In part to spend time helping my children learn about their family’s US military history (which goes back, on multiple lines, to the very beginning of our nation). And in part… to watch one of the greatest movies ever made, The Great Escape. Because, hey, Steve McQueen and James Garner! Pretty sure my Grandpa would approve.

Lunduke Journal shows will resume tomorrow (and I’ve got an awesome one lined up).

In the meantime, if you haven’t watched yesterday’s DHH interview yet, highly recommended. Watch (or listen) to it anywhere you like.

And, in the grand tradition of “Veterans Day Sales”, I’ve extended the 50% off all Lunduke Journal subscriptions discount through this coming Friday. Because I can. Pretty sure my Grandpa would approve of that too.

-Lunduke

Read full Article
See More
Available on mobile and TV devices
google store google store app store app store
google store google store app tv store app tv store amazon store amazon store roku store roku store
Powered by Locals