The story of the first “computer bug” is a pile of lies
lunduke.substack.com
lunduke.substack.com
Imagine a world where there is no Python programming language. One day you arrive at your office and find a python (the reptile) on your desk. You would probably say, "found a python at my desk". But if that were to happen today, I am sure pictures of it would be taken and circulated within the team with captions like, "An actual Python workspace".
The presence of the word "actual" is the clue that the term is well established in the engineering world and that it is an attempt at humour.
They were pessimistic there would be more.
- over multiple continents - with huge number of countries participating - at the same time - as part of the same conflict
The French Revolutionary Wars/Napoleonic Wars were equally grand in scale, and conducted at a time when the "world" for all practical purposes included only European powers--all of the major ones got involved in those conflicts at one point or another; even the newly-independent US got peripherally involved (the War of 1812 is partially started due to the effects the Napoleonic Wars had on US shipping).
The United States, Canada, Japan, New Zealand, and Australia all entered the war.
There were significant theaters of the war in Africa and the Middle East.
China was initially neutral in WWI but did eventually declare support for the Entente and sent 140,000 laborers to Europe. [1]
Brazil entered the war after losing ships to German U boats. [2]
Over a million Indian troops participated. [3]
Thailand, New Guinea, and Samoa were involved [4]
And I’m just scratching the surface. The very worst fighting was concentrated in the industrial meat grinders of the front lines in Europe but there was significant participation from all corners of the earth. It earned the name “World War.”
1. https://en.m.wikipedia.org/wiki/China_during_World_War_I
2. https://en.m.wikipedia.org/wiki/Brazil_during_World_War_I
3. https://en.m.wikipedia.org/wiki/Indian_Army_during_World_War...
4. https://en.m.wikipedia.org/wiki/Asian_and_Pacific_theatre_of...
Why though? I think even China alone had almost as large a population in 1800 (300M) as the US does right now so I'm confused what this is supposed to mean? Japan also had some 30M, Russia 35M. (I haven't checked other countries.)
We're defining "the world" in 1800 to be "European powers" so that we can claim the first world war was actually before World War I?
That only made sense after WWII.
[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/Encyclopedia_Brown
https://brownencyclopedia.tumblr.com/post/13020192322/the-ca...
The whole blog is about trying to write like Dijkstra.
They all seem to have this really "flowy" style
I guess, the flow was needed to literally maintain the flow of ink off the pen.
A handwritten letter was often how others got their first impression of you, so you had external motivation for caring about it.
Now i feel bad for my colleagues who were diligent students and learned cursive. They are stuck with handwriting that becomes increasingly illegible to the general population with every passing year. The only benefit it offers is being marginally faster than printing, but still vastly slower than typing. People are so used to reading print that i would argue cursive is becoming regarded as somewhat unprofessional.
Are younger people really not able to read cursive? I find that hard to believe; it's still the same letters.
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.
You might want to start by just writing a line of conjoined wwwwwwwwww or mmmmmmmm. Then tweak the movement when you introduce individual letters, wewnwy, etc.
I did it years ago to increase my writing speed, and reduce discomfort if I was writing for a prolonged time (handwritten exams). Hugely beneficial.
Increased legibility was an added bonus, although this probably requires deliberate attention for some people.
Edit: From brief Googling, I gather the terms italic and cursive are often used interchangeably. My distinction between the two is that cursive is italic plus extra decorations (loops etc).
More seriously, I've always had bad handwriting; I even had extra lessons to try and improve dexterity and whatnot. I did look at old school stuff at some point and it was relatively neat compared to my current handwriting - I've definitely regressed.
I don't even know why. I don't believe my small motor skills are that bad. Laziness? Not paying enough attention while writing?
Anyway typing is more my jam.
- Was good handwriting necessary for success in that time?
- If so, how many people as creative as Edison languished because their handwriting sucked.
I think communication should be taught more in undergraduate engineering curricula.
When I was young there was talk about getting rid of cursive handwriting in school. We were still required to turn in writing assignments hand written in cursive in ink. The older generation would say it was a skill worth practicing, while kids would joke about all the lies lower grade teachers told us about higher grades ("in middle school if you don't write in cursive they won't accept your assignment"). Today they don't teach cursive.
I wish I had better handwriting and now I practice to improve it.
There is also another interesting question of how complex writing exercises set the manner to express one's thoughts both orally and on paper.
I switched back once I was more mature.
Dip pens were obsoleted in the late 19th century.
Note all the "back to school" offers, and the cheap £4 pen.
https://www.whsmith.co.uk/stationery/pens/fountain-pens/sta0...
(The same might apply in India, in which case there are literally millions of children with fountain pens.)
Somewhere between high school and college I decided it was worth fixing and after a few years it got much better, continuing to improve for the next ten years or so.
I'm really glad I did it - my notes flow more easily, my written correspondence impresses and I have the common sense to simply hand print when one shot understanding is more important than aesthetics.
Also, as part of a woodworking hobby I'm getting back into, I needed to start drawing out sketches of projects. I started with some light graph paper to get proportions right, but now can somewhat easily draw out the board layouts of things like desks or dressers and get fairly straight lines over distance on the paper. I couldn't do this before.
Oh, and getting something like a good fountain pen that flows good, with good paper, will make you "want" to write whenever you get the chance. Get a nice one or two, but also pick up a pack of Pilot Varsity disposable fountain pens -- they actually write fairly decent, and aren't fussy at all.
This also has assisted me in thinking before I speak.
It's trash now.
The only false part of the entire story is the claim that Hopper invented the term which, to my knowledge, she never claimed. It's just computer apocrypha; the kind every field has.
The sad fact is that one can find people repeating this tale and incorrectly attributing the origin of the term to Hopper. I'd have to pull my old back issues of BYTE out of storage to check that the January 1984 one did misattribute this as claimed, but it was definitely still a subject for discussion in the BYTE letters pages in 1985.
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: https://twobithistory.org/2018/08/18/ada-lovelace-note-g.htm...
> 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.
I've heard that one's 'study' used to be a piece of furniture which held private papers etc in otherwise non-private or collective housing. Apparently the preferred color and grain of wood for such furniture now informs the conventional look of a "study" as an entire room. Source was moderately credible, IIRC.
https://en.wikipedia.org/wiki/Study_(room)#History says:
> The study developed from the closet or cabinet of the Renaissance era. From the beginning of the 18th century onwards increased literacy at the middle-class family level led to the setting aside of closed study and library areas within larger houses."
I found a 1635 example of such a closest in "A commentary vpon the Epistles of Saint Paul to Philemon, and to the Hebrewes together with a compendious explication of the second and third Epistles of Saint Iohn." at https://llds.ling-phil.ox.ac.uk/llds/xmlui/bitstream/handle/... :
> There must be a closet, or a place to study in, that is, the chamber of our owne hearts."
https://www.etymonline.com/word/study says:
> Sense of "room furnished with books" is from late 14c.
It's unlikely that there was a specific "study" desk at that point. https://en.wikipedia.org/wiki/Desk#History says:
> Desk-style furniture appears not to have been used in classical antiquity or in other ancient centers of literate civilization in the Middle East or Far East, but there is no specific proof. Medieval illustrations show the first pieces of furniture which seem to have been designed and constructed for reading and writing. Before the invention of the movable type printing press in the 15th century, any reader was potentially a writer or publisher or both, since any book or other document had to be copied by hand. The desks were designed with slots and hooks for bookmarks and for writing implements. Since manuscript volumes were sometimes large and heavy, desks of the period usually had massive structures.
Here are some early desks:
1480 - https://en.wikipedia.org/wiki/Saint_Jerome_in_His_Study_(Ghi...
1478 - https://www.museothyssen.org/en/collection/artists/malesskir...
1500 - http://ica.themorgan.org/manuscript/page/14/77089
I don't see how they particularly inform the modern study.
> “We were building Mark II on the summer of 1945 [...] Mark II stopped. We finally located the failing relay, it was one of the big signal relays, and inside the relay, beaten to death by the relay contacts, was a moth about this big.”
> “So the operator got a pair of tweezers and very carefully fished the moth out of the relay, put it in the logbook, put scotch tape over it, and below it he wrote «first actual bug found».”
> “I’m sure you'll be glad to know that the bug is still under the log under the scotch tape in the log book. It’s in the museum at the Naval Surface Weapons Center [now Naval Surface Warfare Center https://www.navy.mil/NAVAL-SURFACE-WARFARE-CENTER-DAHLGREN/] at Dahlgren Virginia.”
> “Now I’ve told that story a lot of times but it turned out some people didn’t believe me. Among them the American Federation of Information Processing Societies, so they made an expedition to Dahlgren and sure enough they found the bug under the scotch tape in the log book so they took a picture of it, and they published it in the July 1981 Annals of the History of Computing. So the first bug is now legal, and I think it’s rather nice that the Navy is preserving some of the early artifacts like the first bug, and me, and a few other things.”
> https://www.youtube.com/watch?v=ABlivzyfhQE&t=518s
Now, what the author of the linked article (Lunduke) is disputing is the distorted re-telling of this story by others. Grace Hopper did not claim that the writing was hers or that it was the origin of the term “bug” applied to computers, that was sloppy journalists.
There is one small detail in Lunduke’s article that I could criticize:
> “Nor was it found or recorded by Grace Hopper.”
She did not record it as noted above, but she clearly says that she was part of the group that “debugged” Mark II that day.
Edit to add: see also eesmith’s comment https://news.ycombinator.com/item?id=32518611
Edit 2: the comment by psychoslave links to the Wikipedia page without further context, and there it says that Hopper was not present when the moth was found: https://en.wikipedia.org/wiki/Software_bug#cite_ref-huggins_...
Following the citations in that section of the Wikipedia page, I got this:
> “During the 1986 interviews, Gene Gleirsner and Ralph Niemann recalled that the Mark II operator who found the bug and taped it into the logbook was Bill Burke, who later moved to Dahlgren as a computer operator.”
> “Howard Aiken's Third Machine: The Harvard Mark III Calculator or Aiken-Dahlgren Electronic Calculator”, in “IEEE Annals of the History of Computing” January-March 2000, vol. 22, page 81: https://www.computer.org/csdl/magazine/an/2000/01/man2000010...
I haven’t been able to find any clear mention by Grace Hopper on whether she was there when the moth was found: in the video I linked at the top she might have said “They finally located” instead of “We finally located” as I heard. If she wasn’t there, then Lunduke’s article would be, AFAICT, completely correct. It is in any case way more correct than others I’ve read.
the story claimed it was the first ever computer bug. the fact that edison used to have to pick them out of telephone and telegraph equipment doesn't refute this for me, unless you want to make some claim that manually switched telephone/telegraph networks were actually computing something.
About this part, the comment by eesmith (https://news.ycombinator.com/item?id=32518611) cites a page at Harvard University saying this:
> “Before 1944, electrical engineers already used the term «bug» to refer to hard-to-find physical defects that hindered the operation of an electric device. The Mark I team appropriated the term for unexpected problems in the «coding» of a problem. Above are cartoons drawn by Grace Hopper of the different types of bugs encountered during her work.”
You are right, I might have been mistaken in understanding her sentence “We finally located...”. I’ve added a note about it that at the end of my comment:
> Edit 2: the comment by psychoslave links to the Wikipedia page without further context, and there it says that Hopper was not present when the moth was found: [...]
> I haven’t been able to find any clear mention by Grace Hopper on whether she was there when the moth was found: in the video I linked at the top she might have said “They finally located” instead of “We finally located” as I heard. If she wasn’t there, then Lunduke’s article would be, AFAICT, completely correct. It is in any case way more correct than others I’ve read.
https://infostory.com/2013/08/27/debugging-the-origin-of-the... talks a bit more about the bug trap and the false signals.
In older days, getting a used book from an unknown house/shop carried serious risks of receiving an infestation of some bugs (bedbugs, cockroaches, etc).
So one had to be wary of this and not put such stray books right into the bookshelf with the rest of the good books. Thus some valuable books did have bugs.
I could imagine a possible bug infestation in a stack of punch cards. Though the program printout can have "bugs" by association with a book.
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.
Here's an audio recording of Hopper relating that story: https://archive.org/details/podcast_from-archives_grace-hopp... starting at 16:12.
You'll see she says "they found the failing relay" and "the operator got a pair of tweezers ... and below it he wrote “First actual case of bug being found.”"
https://chsi.harvard.edu/harvard-ibm-mark-1-language notes four terms which entered programming through the Mark I, not the Mark II. These are: "Loop", "Patch", "Library", and "Bug" - with images of the physical nature of the first three! For the latter it says (emphasis mine):
] The "Bug"
] Before 1944, electrical engineers already used the term "bug" to refer to hard-to-find physical defects that hindered the operation of an electric device. The Mark I team appropriated the term for unexpected problems in the "coding" of a problem. Above are cartoons drawn by Grace Hopper of the different types of bugs encountered during her work.
The paper "Stalking the Elusive Computer Bug" by Peggy Aldrich Kidwell (doi:10.1109/85.728224) date those cartoons to 1945, and gives other pre-Mark II examples of using 'bug' for the Mark I:
] I. B. Cohen has examined a photocopy of the logbook kept by Robert Campbell, a young physicist at the Computation Laboratory. It tersely summarizes hours spent finding and correcting errors. On 17 April 1944, Campbell wrote, "Ran test program. Mr. Durfee from I.B.M. was here to help us find 'bugs.'"
and Hopper writing "a debugging note to operators" in 1945/1946 and "errors in mathematics and tape bugs pursued and captured by Ensign Bloch and Ensign Campbell."
History is written by the victors, or at least master manipulators.
But a cool article none the less, I love reading about computing history. I always thought the grace hopper story was a little too convenient
Offensive, scummy, barrel scraping clickbait nonsense.
It’s amazing that someone could find this innocuous title and page offensive.
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.
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 answer yet