Skip to main content

Posts tagged with 'c'

Tuesday Tube is back. One programming/technology video, highlighted here every week.

This week is a keynote from OSCON 2014 by Andrew Sorenson called "The Concert Programmer".

Andrew is using the Extempore programming environment in this video with xtlang (a combination of Lisp, Scheme, and C according to the site).

Welcome to another "Weekly Concerns". This is a post-a-week series of interesting links, relevant to programming and programmers. You can check out previous Weekly Concerns posts in the archive.

If you have an interesting link that you'd like to see in Weekly Concerns, leave a comment or contact me.

Needs a catchier title. But basically I want users to be able to enter location information for some entity. Each entity can take place in multiple places over time. Each place could be very loose or specific, to the user's preference. Basically, I want something like this (forgive the lack of design polish):

Autocomplete multi-select "tag-like" UI control

This turned out to be quite easy. I simply combined jQuery Tag-it with Google's AutocompleteService API.

Google's API allows you to attach an autocomplete to a textbox directly, but I didn't see any multi-select ability there, so that's where Tag-it comes in. You can simply attach Tag-it to an HTML unordered list (ul) and away you go. There are options for configuring delay and minimum length, so you don't have to bring in a seperate debounce tool. It uses jQuery UI's autocomplete, so if you've used that before, you should be pretty comfortable. Basically, you just define a function with a 'response' callback, and pass an array of suggestions to that callback. Google's API will be providing the suggestions. Easy peasy.

Look carefully at Google's terms of use before you deploy this anywhere. I believe you have to show "powered by Google" somewhere, at the very least. And, getting actual location data (like latitude and longitude) is a whole other story.

Welcome to another "Weekly Concerns". This is a post-a-week series of interesting links, relevant to programming and programmers. You can check out previous Weekly Concerns posts in the archive.

If you have an interesting link that you'd like to see in Weekly Concerns, leave a comment or contact me.

Brief Bio: Grace Hopper

July 24, 2014 mgroves 0 Comments
Tags: Brief Bio COBOL

Welcome to the latest installment of the Brief Bio series, where I'm writing up very informal biographies about major figures in the history of computers. Please take a look at the Brief Bio archive, and feel free to leave corrections and omissions in the comments.

This biography will be the first one to really challenge the "brief" label. That's because this subject--the Michael Jordan of computer programming--lived such a long life and accomplished so much in computing that it's hard to be brief when discussing all of her accomplishments.

Grace Hopper

Grace Brewster Murray was born in 1906 in New York City. From an early age, she displayed a hacker's curiousity, dismantling alarm clocks at an alarming rate to figure out how they worked. She applied to Vassar College at age 16, but they didn't let her in until the next year. By 1934, she had a Ph.D. from Yale, and she became an associate professor at Vassar by age 35 (in 1941).

And then, of course, World War 2. Hopper took a leave of absense in 1943, and volunteered for the Navy Reserve. She graduated first in her class at a midshipmen's school in Massachusetts, and was assigned to work on the Mark I computer at Harvard. The Mark I was a mechanical computer, using relays, switches, and so on. It was designed by Howard Aiken, who drew inspriation from Charles Babbage's analytical engine, but we'll talk about Aiken in another post.

From 1930 to 1945, she was married to Vincent Foster Hopper, and she retained his last name after their divorce.

Grace Hopper stayed at Harvard to work in the computation lab until 1949. She joined the UNIVAC team at EMCC (later part of Remington Rand) as a mathematician. In 1952, she documented a literal bug in the system, which lead to today's common use of the term "bug". She pasted this moth into the log books.

The first "bug" - an actual moth pasted into UNIVAC log books.

In 1952, she had created the first compiler, which was called "A", the first version of which was called A-0.

"Nobody believed that. I had a running compiler and nobody would touch it. They told me computers could only do arithmetic."

In 1954, Hopper became the director of automatic programming at Remington Rand (the first to hold that title), and her department was responsible for creating MATH-MATIC and FLOW-MATIC [PDF], two compiler-based programming languages.

Pamphlet promoting FLOW-MATIC

In 1959, at a 2-day conference, Hopper was a technical consultant to a committee that defined the COBOL programming language, which largely built on the FLOW-MATIC language. She went on to serve in the Navy as a director of systems planning, developing COBOL software and tools to be used by the entire Navy.

In 1966, she retired according to Navy regulations. She was recalled in 1967, but then again retired in 1971. She was recalled again in 1972. During this last stint, she was promoted to commodore (a position which was eventually renamed to "rear admiral"). She once again retired in 1986.

She was then hired by DEC, where her role was mainly promotional: speaking, lecturing, and so on. She worked for them until her death in 1992, and she is buried in Arlington National Cemetary.

There are far too many awards and honors for me to list here, but here are a couple interesting ones:

  • The USS Hopper, a U.S. Navy Destroyer that's still in commission, is named after her.
  • The ACM has an annual Grace Murray Hopper Award for Outstanding Young Computer Professionals. Notable recipients: Donald Knuth, Richard Stallman, Bjarne Stroustrup, all of whom will probably be covered by this series at some point.
  • There is an employee group at Microsoft called the "Hoppers".
  • She received 40 honorary degrees from universities during her lifetime. FORTY.

She also appeared on the David Letterman show, in which she uses one of her well-known illustrations about nanoseconds.

Matthew D. Groves

About the Author

Matthew D. Groves lives in Central Ohio. He works remotely, loves to code, and is a Microsoft MVP.

Latest Comments

Twitter