Live data from Hacker News

The story of the first “computer bug” is a pile of lies

lunduke.substack.com

101–110 of 121 posts

Re: The story of the first “computer bug” is a pile of lies

#101
post #79

Ada Lovelace wrote what is often considered the first computer program, a set of instructions for the (unbuilt) Analytical Engine to calculate Bernoulli Numbers. Appropriately, if this is the first computer program, it also contains the first bug! It's impossible to say whether this was a typesetting error or Lovelace's original, but the transcription of her instructions accidentally transpose a "v4" and "v5". source…

People like to get pedantic about whether or not Ada's program was "the first program" or not, but it's fair to say that it was at least the first nontrivial program, and that she was the first to recognize both what calculating machines would eventually be capable of (e.g. manipulating text by assigning letters and symbols to numbers) and the inherent difficulty of transforming state in such complex ways (writing complex programs would not be a simple task).

> It’s the intricacies of her program, though, that make it so remarkable. Whether or not she ought to be known as “the first programmer,” her program was specified with a degree of rigor that far surpassed anything that came before. She thought carefully about how operations could be organized into groups that could be repeated, thereby inventing the loop. She realized how important it was to track the state of variables as they changed, introducing a notation to illustrate those changes. As a programmer myself, I’m startled to see how much of what Lovelace was doing resembles the experience of writing software today.

> ...

> One Wikipedia article calls Lovelace the first to publish a “complex program.” Maybe that’s the right way to think about Lovelace’ accomplishment. Menabrea published “diagrams of development” in his paper a year before Lovelace published her translation. Babbage also wrote more than twenty programs that he never published. So it’s not quite accurate to say that Lovelace wrote or published the first program, though there’s always room to quibble about what exactly constitutes a “program.” Even so, Lovelace’s program was miles ahead of anything else that had been published before. The longest program that Menabrea presented was 11 operations long and contained no loops or branches; Lovelace’s program contains 25 operations and a nested loop (and thus branching). Menabrea wrote the following toward the end of his paper:

>> When once the engine shall have been constructed, the difficulty will be reduced to the making of the cards; but as these are merely the translation of algebraic formulae, it will, by means of some simple notation, be easy to consign the execution of them to a workman.20

> Neither Babbage nor Menabrea were especially interested in applying the Analytical Engine to problems beyond the immediate mathematical challenges that first drove Babbage to construct calculating machines. Lovelace saw that the Analytical Engine was capable of much more than Babbage or Menabrea could imagine. Lovelace also grasped that “the making of the cards” would not be a mere afterthought and that it could be done well or done poorly. This is hard to appreciate without understanding her program from Note G and seeing for oneself the care she put into designing it. But having done that, you might agree that Lovelace, even if she was not the very first programmer, was the first programmer to deserve the title.

Re: The story of the first “computer bug” is a pile of lies

#102
post #52

Earlier quoted context omitted.

Yep, nobody got presented awards for the "First World War".

People did actually start calling WW1 "The first world war" long before WW2 started. There is even few instances of that terminology going back to 1914. They were pessimistic there would be more.

Pessimistic, but not wrong.

Re: The story of the first “computer bug” is a pile of lies

#103
post #52

Earlier quoted context omitted.

Yep, nobody got presented awards for the "First World War".

People did actually start calling WW1 "The first world war" long before WW2 started. There is even few instances of that terminology going back to 1914. They were pessimistic there would be more.

Ferdinand Foch (French WW1 general) called the Versailles treaty a 20 year armistice in 1919. He thought the treaty was too lenient.

Re: The story of the first “computer bug” is a pile of lies

#104
post #98

Earlier quoted context omitted.

or for the First Battle of Bull Run during the Civil War.

Yes! IIRC there was an Encyclopedia Brown[1] case where he unmasks a fraudulent Civil War relic that had the inscription "for the First Battle of Bull Run", on the grounds that no one at the time would have called it the "First". [1] Kid-detective series where the titular character, Leroy "Encyclopedia" Brown, solves crimes by finding inconsistencies that require domain knowledge https://en.wikipedia.org/wiki/Encyclo…

Yeah, it was the “Case of the Civil War Sword”.

https://brownencyclopedia.tumblr.com/post/13020192322/the-ca...

Re: The story of the first “computer bug” is a pile of lies

#105
post #12

Earlier quoted context omitted.

In those days people took pride in their handwriting, nowadays the best you can do is to brag about your LaTeX typesetting

Interestingly, I think the reason is that cursive has been dropped from the US curriculum since 2013: https://www.bbc.com/future/article/20171108-the-uncertain-fu...

Good. We no longer use ink pens which make it important to avoid lifting pen from paper, so block lettering is more legible and should be what is taught.

Sure, we type often and so write much less than we used to, but most of us still write on occasion, so writing must still be taught.

Re: The story of the first “computer bug” is a pile of lies

#106
post #45

Earlier quoted context omitted.

Not only that, there is not one correction in that letter. Do they have multiple drafts before writing the final version that is sent?

What I remember from my youth (60s): you basically weren't allowed to strike-through, you had to start over the sentence. Many kids thus would learn to write without making errors, making sure you would think ahead about how to formulate properly while writing. This also has assisted me in thinking before I speak.

The presence of the backspace key has spoilt me. I hardly write anything with a pen and paper these days.

Re: The story of the first “computer bug” is a pile of lies

#107
I actually saw Grace Hopper in LA during the early 80s. She told this story, along with showing her physical "nanosecond" (the string representing the distance light travels in a nanosecond).

I doubt she said "no one ever called it a bug before this." I also don't remember if she claimed to have written the notation in the log, or merely said that someone did. It was a just a charming pun about bugs, and a story about how big that computer was.

Re: The story of the first “computer bug” is a pile of lies

#108
post #58

Fun story with legendary status that's clearly not meant to be taken seriously != a pile of lies. Offensive, scummy, barrel scraping clickbait nonsense.

Clearly “pile of lies” was meant to be a humorous way to put it. Also I’ve heard that “first bug” story many times and never had the impression it wasn’t meant both seriously and literally.

It’s amazing that someone could find this innocuous title and page offensive.

Re: The story of the first “computer bug” is a pile of lies

#109
post #52

Earlier quoted context omitted.

Yep, nobody got presented awards for the "First World War".

People did actually start calling WW1 "The first world war" long before WW2 started. There is even few instances of that terminology going back to 1914. They were pessimistic there would be more.

I remember seeing more The Great War or The War to End Wars in post-WWI docs and media. Wikipedia says yes, it was WWI soon after the war, but that wasn't common yet.

https://en.wikipedia.org/wiki/World_War_I#Names

Re: The story of the first “computer bug” is a pile of lies

#110
post #99
post #96

> This was not the origin of term “bug” being used for engineering — including computer software. No one claimed it was?? This whole article could've been saved if the author'd realized what a JOKE was. > 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. And then...never does provide an answer.

> No one claimed it was?? I have seen multiple claims that this is the origin of the word bug, at least in software. Including my first CS teacher explaining where the word bug came from. But, I always suspected there was at least some element of myth to the story. Granted, such renditions didn't have the exact quote from the logbook. > And then...never does provide an answer. Presumably, they haven't found the answe…

It was even the winning question on Who Wants to Be a Millionaire: https://millionaire.fandom.com/wiki/Joe_Trela
Post reply on HN