Mostrar mensagens com a etiqueta History. Mostrar todas as mensagens
Mostrar mensagens com a etiqueta History. Mostrar todas as mensagens

quarta-feira, 25 de julho de 2018

HISTORY: Brian Kernighan Remembers the Origins of 'grep' - The New Stack

Interesting new old insights from one of the creators of the C language:

Brian Kernighan Remembers the Origins of 'grep' - The New Stack



Quoting:

"This month saw the release of a fascinating oral history, in which 76-year-old Brian Kernighan remembers the origins of the Unix command grep.



Kernighan is already a legend in the world of Unix — recognized as the man who coined the term Unix back in 1970. His last initial also became the “k” in awk — and the “K” when people cite the iconic 1978 “K&R book” about C programming. The original Unix Programmer’s Manual calls Kernighan an “expositor par excellence,” and since 2000 he’s been a computer science professor at Princeton University — after 30 years at the historic Computing Science Research Center at Bell Laboratories.

K and R C - cover of The_C_Programming_Language_cover (via Wikipedia - fair use)

In new interviews with the YouTube channel Computerphile, Kernighan has been sharing some memories…

Brian Kernighan – via Princeton.edu

Two years ago Kernighan remembered when he’d joined Bell Labs as a graduate student in 1967 — studying electrical engineering because at the time there was no “computer science” majors. “It was a wonderful place because there was an enormous number of really good people doing really interesting things and nobody telling you what to do…”

“In one single, largish building there were probably 4,000 people, of who about 2,000 were probably PhDs in various forms of science, physics, chemistry, materials, and then on the, call it the softer end, mathematics and the relatively new field at that point of computer science.”"
(...)

"But there also wasn’t even enough memory to edit large files. Back then ed was the standard text editor — a small program written by Thompson for a world with only primitive monitors “There was no cursor addressing, so you couldn’t move around within a line. The ed text editor reflected that kind of thing.”

ed let you specify regular expressions, which appeared between slashes, along with some operations (specified outside those slashes) to perform on the lines which matched. The operations were often indicated with a single letter, like ‘p’ for print or ‘a’ for append. And there was also a ‘g’ flag which stood for global and would perform a command not just on one line, but on every line of a file (that matched the specified regular expression). For example, that print command, “p”.

And if you wrote out that command — with g for “global” and p for “print”, applying it to a regular expression between the slashes — it would look like this:

g/re/p

Kernighan supplies some crucial context — in the form of a story. Their colleague Lee McMahon had wanted to study the Federalist papers, which were written by several different authors (including Alexander Hamilton) but published under the same pseudonym, carefully analyzing the text for clues about their original authors by finding all the occurrences of specific words and phrases. Unfortunately, a plaintext version of the collection was one megabyte — “down in the noise by today’s standard,” but at the time: “wouldn’t fit. He couldn’t edit them all in ed.”

“He sent this to Ken Thompson, and then went home for dinner or something like that. And he came back the next day, and Ken had written him a program.

“And the program was called grep.”"


terça-feira, 24 de outubro de 2017

BOOK: "Extreme Programming Explained: Embrace Change, 2nd Edition" (The XP Series) - Kent Beck

The definitive guide to XP is the book by the author (Kent Beck):
Extreme Programming Explained: Embrace Change, 2nd Edition (The XP Series)
2nd Edition, ISBN-13: 978-0321278654, ISBN-10: 0321278658

PS. Additional info about XP, considered the first of the agile methodologies (long before Scrum):
https://martinfowler.com/bliki/ExtremeProgramming.html

quinta-feira, 12 de outubro de 2017

Maintenance: The Y2K problem and the 417 Billion USD spent (!) because of the year 2000

And the eternal question: Were the millions spent to fix the Y2K bug well spent? Well, maybe so because in the end the world did not end!

Interesting details on the technical parts, the bugs that really caused some problems, and the government initiatives that were made to avoid problems from occurring:
https://en.wikipedia.org/wiki/Year_2000_problem

Quoting (interesting parts):
"The U.S. Government also established a Center for Year 2000 Strategic Stability, as a joint operation with the Russian Federation. It was a liaison operation designed to mitigate the possibility of false positive readings in each nation's nuclear attack early warning systems."
(...)
"No banks failed, no planes crashed, no wars or civil war started. And yet not one of these prophets of doom has ever apologised for their scare-mongering tactics."[55] Some prominent North American Christian ministries and leaders generated huge personal and corporate profits through sales of Y2K preparation kits, generators, survival guides, published prophecies and a wide range of other associated merchandise. Christian journalist, Rob Boston, has documented this[50] in his article "False Prophets, Real Profits Religious Right Leaders' Wild Predictions of Y2K Disaster Didn't Come True, But They Made Money Anyway""
(...)
"The total cost of the work done in preparation for Y2K is estimated at over US$300 billion ($417 billion today, once inflation is taken into account).[57][58] IDC calculated that the US spent an estimated $134 billion ($186 billion) preparing for Y2K, and another $13 billion ($18 billion) fixing problems in 2000 and 2001. Worldwide, $308 billion ($428 billion) was estimated to have been spent on Y2K remediation.[59]"

PS: A similar problem on a space mission that did have impact on the mission: 
"The Deep Impact space mission was lost when its internal clock reached exactly 232 one-tenth seconds since 2000 on 11 August 2013, 00:38:49."

quinta-feira, 10 de agosto de 2017

SW Construction: The Deutsch Limit (applied to visual programming languages)?

Maybe no. More than a page of code in non-visual languages also "sucks":
https://en.m.wikipedia.org/wiki/Deutsch_limit

SW Construction: Conway's Law (1967)?

https://en.m.wikipedia.org/wiki/Conway%27s_law

Quoting:
"The law is based on the reasoning that in order for a software module to function, multiple authors must communicate frequently with each other. Therefore, the software interface structure of a system will reflect the social boundaries of the organization(s) that produced it, across which communication is more difficult. "
Was it demonstrated? Well, Google for it.

A link to the original paper can be found here:
http://www.melconway.com/Home/Conways_Law.html

sexta-feira, 23 de junho de 2017

BOOK: The Mythical Man Month

https://www.amazon.com/gp/aw/d/0201835959/ref=pd_aw_sim_14_3?ie=UTF8

Quoting:
"Few books on software project management have been as influential and timeless as The Mythical Man-Month. With a blend of software engineering facts and thought-provoking opinions, Fred Brooks offers insight for anyone managing complex projects. These essays draw from his experience as project manager for the IBM System/360 computer family and then for OS/360, its massive software system. Now, 20 years after the initial publication of his book, Brooks has revisited his original ideas and added new thoughts and advice, both for readers already familiar with his work and for readers discovering it for the first time.

 

The added chapters contain (1) a crisp condensation of all the propositions asserted in the original book, including Brooks' central argument in The Mythical Man-Month: that large programming projects suffer management problems different from small ones due to the division of labor; that the conceptual integrity of the product is therefore critical; and that it is difficult but possible to achieve this unity; (2) Brooks' view of these propositions a generation later; (3) a reprint of his classic 1986 paper "No Silver Bullet"; and (4) today's thoughts on the 1986 assertion, "There will be no silver bullet within ten years.""

quinta-feira, 4 de agosto de 2016

Apollo 11 Lunar Surface Journal: Program Alarms (That Occurred During the Mission)

Interesting insights on the Apollo 11 Mission (that took the man to the moon, now that the code was published as it was pointed out), the computer architecture and the assembly programming language that was used with it and some program alarms that it raised during the mission: