Showing posts with label Babbage. Show all posts
Showing posts with label Babbage. Show all posts

Monday, March 16, 2020

Charles Babbage: LONDON

Without computers I wouldn't be writing this blog post, and you wouldn't be reading it.  Of course there are many other reasons why computers are important to us in this information age in which we live.  But we wouldn't have the technology that we have today and all that it provides us had it not been for the bright, curious, inventive people who went before us - people who dreamed dreams and worked hard to make them come true.  In the case of computers there is such a long line of dreamers from whom our technology sprung, people like John Napier, Blaise Pascal and Charles Babbage.
Mathematician Charles Babbage (1791-1871) is widely considered to be a father of the computer.  As well as being a mathematician he was an inventor, an engineer, and a philosopher - so basically a polymath.  The machine pictured above is his "Difference Engine," which was intended to automatically calculate values of polynomial functions using finite differences.

The model pictured at the top of this post and in the five pictures below is of his Difference Engine.  This one was built in the 1990s at the Science Museum in London.  Sadly it proved too costly to be built in Babbage's lifetime.  He poured his own fortune into it and also petitioned money from parliament, but eventually they got fed up with giving him more and more money and not seeing results.  Since it had not been built in his time, it was uncertain as to whether it would work, but this model and the other (which resides in Mountain View, California) do, indeed, work.  It even includes a printer!

The picture below is not part of the Difference Engine but rather part of another of Babbage's inventions, the Analytical Engine.  Whereas the Difference Engine was more of a calculating device, the idea behind the Analytical was that of more general computation, and that idea was a great leap forward.  It was a machine that could be programmed using punch cards.  What is displayed below is one small part of the machine that was completed by Babbage.  As far as I know a full Analytical Engine has never been built.
While it was Babbage who had the vision for constructing these machines, it was his "colleague" (for lack of a better term) Ada Byron Lovelace who had a broader vision for the use of such a machine.  Though it was not built, she wrote a program for it for calculating Bernoulli Numbers.  This is considered to be the first computer code.  It's quite something, given the views about women in math and science in the 19th century that it is a woman who wrote the first computer code!  I have a post on Ada from my previous sabbatical at this link.

Ada saw even beyond using this device for numerical calculation, however and wrote that the Analytical Engine "  .  .  .  might act upon other things besides number, were objects found whose mutual fundamental relations could be expressed by those of the abstract science of operations, and which should be also susceptible of adaptations to the action of the operating notation and mechanism of the engine  .  .  .  Supposing, for instance, that the fundamental relations of pitched sounds in the science of harmony and of musical composition were susceptible of such expression and adaptations, the engine might compose elaborate and scientific pieces of music of any degree of complexity or extent."

Ada died young, only 36, and Babbage grew old and crotchety.  He continued working on his plans until the end of his life, but after he died his work was mostly forgotten.  When programming began to be understood in the 1940s their work was rediscovered.  One of those who rediscovered them through their writings was Alan Turing, he of the Turing Test, Bletchley Park, and the Enigma Code - all of which you can read about at this link.

Though I did see the Difference Engine during my last sabbatical, I chose to focus exclusively on Ada in writing about it.  This was in part because I had hoped to get to his grave-site in London at Kensal Green Cemetery, but I was running around so fast and furiously that this one site escaped me at that time (whereas I did get to see Ada's grave in Hucknall - next to that of her father Lord Byron).  This second sabbatical has given me a second chance, and I headed straight for Kensal Green Cemetery on the day I arrived in London in order to pay homage to this great and visionary man.  Here is the entrance to Kensal Green:
As I learned on my last sabbatical, it is very hard to find one specific grave in a large (old) cemetery - even when one has done her research about its location and its features.
Looking  .  .  .  looking  .  .  .  looking  .  .  .
AHA!  This shape is familiar from images I've seen online.
Yes!  It is Babbage's grave!


Rest in peace - your work has lived on - and changed the world!

Sunday, April 24, 2016

Lady Ada Augusta Byron King, Countess of Lovelace

Babbage's Difference Engine
Ada, Countess of Lovelace (1815-1852) was born Augusta Byron, daughter of the poet George Gordon, Lord Byron and his wife Anne Isabelle Milbanke.  They were married in January of 1815 but separated in January 1816 when Ada (as she was nick-named by her father) was one month old.  Four months later he left the country and never saw her again.  Despite this, and his reputation as a womanizer (one woman with whom he had a publicly well-known affair called him "mad, bad and dangerous to know"), Ada requested to be buried next to her father in the family vault at the Church of St. Mary Magdalene, Hucknall, England.
A poet of Byron's stature would normally have been buried in Poet's Corner at Westminster Abbey, and his remains were sent there, but the Abbey refused to bury him there for the reason of "questionable morality."  (The Abbey finally put in a memorial stone to him in Poet's Corner in 1969; he died in 1824.)  Following are more pictures of Lady Ada and Lord Byron's resting place at Hucknall, which seems quite proud to have them both there.

 The light you see shining up out of the grave is for a wreath that was given at the time of his death that has been well preserved and proudly displayed.
There's also an opening that allows for viewing into the vault.

Along with the grave, there are also wall plaques and a stone in the floor.  The marble stone in the floor was sent by the King of Greece.  Lord Byron had died in Greece - having given money to the Greeks for their war of independence from the Ottoman Turks.  His money went to refit the Greek fleet.  Byron had planned to be part of the attack on the Turkish-held fortress of Lepanto, but he fell ill and died of his illness.  The Greeks saw him as a hero, and the marble slab in the floor of the church in Hucknall was given by the King of Greece.




Though Ada never knew her father, she was fascinated by him and came to call herself a "poetical scientist."
Portrait of Lord Byron - Charlotte Bronte Bicentennial Celebration - National Portrait Gallery - London
Ada's mother, on the other hand, did everything she could to make sure that Ada did not grow up to be a crazy poet like her father.  Anne Isabelle (Annabella, as she was known) made sure that Ada's instruction was focused on mathematics and science in order to make sure she developed a disciplined and balanced mind - rather than an insane, poetic mind.  This is in strong contrast to other female mathematicians prior to the twentieth century, all of whom I know had a tremendous struggle to gain mathematical education due to societal or familial concerns that studying mathematics would be too much for a woman's mind to handle and would perhaps drive her mad.

One of these other female mathematicians who had had to struggle in order to study mathematics and whose family feared she would go mad (her father said they would have her in a strait-jacket if she didn't stop studying mathematics) was Mary Fairfax Somerville of whom I posted earlier.  She was 35 years Ada's senior and became one of Ada's math tutors.  Another of Ada's math tutors was Augustus de Morgan, but though he was her tutor, even he felt that mathematics was too much for the mind of a woman in general.  He wrote to her mother that women should avoid doing hard mathematics - "the reason is obvious - the very great tension of mind which mathematics requires is beyond the strength of a woman's physical power of application."  In the same letter he stated, however, that Ada unquestionably had as much power as would require all the strength of a man's constitution.

Mary Somerville and Ada developed a close friendship, as did their families.  Mary mentored Ada, and it was Mary who introduced Ada to Charles Babbage, he who developed ideas for early computing devices - the Difference Engine and the Analytical Engine - and is considered by some to be a father of modern computing.  He is described as a pre-eminent polymath among the many polymaths of his day - involved in mathematics, inventing, philosophy and mechanical engineering.

The pictures below and the picture at the very top of this post are of the uncompleted Difference Engine on display at the National Science Museum, London.



Babbage was not the only well-known personage with whom Ada was in contact. Among other acquaintances were Michael Faraday and Charles Dickens. Ada's life was one of privilege, and at one point she nearly became a lady-in-waiting to Queen Victoria.

I had opportunity as part of these studies to read the correspondence between the Byron/Lovelace and Somerville/Grieg families, and it was amazing to see this relationship unfold.  Early-on Ada's mother writes to Mary Somerville of her appreciation for the affect she has on balancing Ada's mind.  Later Ada herself writes to Mary and sweetly asks her if she will be her chaperone to go to parties put on by Babbage so that she could interact with him and learn more about his computing machines.  Ada threw herself into understanding the Analytical Engine, and saw, even more than Babbage did, the full extent of what it could do.  She saw that the hardware was only half of the story - and that the computer needed software if it were to be able to calculate any type of equation (Babbage's vision having been mostly about number-crunching and creating tables of logarithms).
Ada Byron Lovelace - from a display in St. Mary Magdalene Church, Hucknall

Display at St. Mary Magdalene Church, Hucknall

From a display about Ada in St. Mary Magdalene Church Hucknall
In her twenties Ada said to her mother that she wanted to compensate for her father's misguided genius, expressing that if he had transmitted any portion of his genius to her that she wanted to use it to bring out great truths and principles.  She is indisputably the world's first published computer programmer.  She saw the possibility of interchanging numbers and symbols, and one example of her vision is that of an engine that might compose elaborate, scientific music.  After her death her works seems to have been forgotten for a while, but when Alan Turing was working on building The Bombe to help break the German Enigma Code during WWII he came across Ada's work, and it is thanks to him that her work has come fully to light.  A new programming language developed in 1986 and used by UK air traffic control is called ADA, which is very fitting since Ada had invented a mechanical bird when she was young; now Ada has finally gotten to fly!

There's so much I wanted to share about Ada that I fear this post is very disjoint!  I think that any commentary about her life needs a book, or maybe an epic poem, rather than a blog post!  But this is the best I can do for now.
Lord Byron's memorial outside St. Mary Magdalene Church, Hucknall, England
Ada died at age 36, the same age at which her father had died - he of fever, she of cancer.  Because of the closeness of their families, Mary Somerville's son Woronzow Grieg wrote to Ada's doctor asking him to send on any news.  I know this from the reading I did of the correspondence in the Bodleian at Oxford, and when I read the letter from the doctor I was in tears.  The doctor let Woronzow know that it was cancer and that there was no hope.  He ended his letter by saying that while a doctor is necessary in such circumstances, the best a doctor can ever hope for is to RESTORE health, but in this case the best he could hope for was euthanasia - in other words a "good death."

On her father's memorial outside the Hucknall church is a quote from his work Childe Harold's Pilgrimage, "But there is that within me  .  .  .  that shall breathe when I expire."  I'd certainly say that is true of Ada!