Further OHS-planning suggestions
Eric Armstrong. 1.*
- unedited transcript -
First I would like to say thanks for the opportunity to talk here because this is a really high power group and itĀ's quite a thrill to be part of it. I really canĀ't think of anything more compelling to work on, anything more important to spend time on and my employer if I might have something to say about that in the near future. I have been blessed with the opportunity to spend a lot of time on these projects. When I got into computers to start with it was to augment human intelligence to solve complex problems, so the fact that Doug has been spending so much time and got so much talent on the problem for so long is just thrilling.
This was the electrifying slide that Adam put up last week. What he did was to summarize and constrain the problem down to dimensions that are tack able, feasible. This line here where he just says, the documents we want to be able to manager are e-mail, html, augment and source code. Nicely constrains a problem that we can attack with an open hypertech system and itĀ's elegant and itĀ's simplicity and I can assure you that nothing you hear in the next twenty minutes is going to approach that level of conciseness. We need to be able to publish with version control, we need to be able to look at it in different ways the same way we count an augment system, and we need a simple editor. His main concept was that we absolutely need to be able to look at it in HTML so that itĀ's open but that we may need to come up with a proprietary editor in order to be able to do manipulations of that data at least at the outset. He looked at options for publishing; he looked at different ways to views. The main concept being lets use open hypertech system as a
ENGELBART: Would you use open hyperdocument please? TheyĀ're a whole knowledge container, not just the text.
ARMSTONG: If you have your open hypertech document system then thatĀ's the first step in creating a larger knowledge repository. There is a lot of things that are not being addressed here; weĀ're not looking at knowledge management, weĀ're not looking at model building systems, or abstract knowledge systems or expert systems and thatĀ's important because the tools we need to build those systems are at very minimum this system, which makes it perfect for bootstrapping. So, I guess I need to move onto my slide now.
ENGELBART: I apologize for this.
ARMSTRONG: Now IĀ'm suggesting that our initial target for a bootstrapping system should be aimed at improving open source efforts.
It dovetails nicely with what Adam is suggesting as a starting point. We need to integrate e-mail, web, source code and the augment system. It is true bootstrapping because the system we design to do this will provide a positive feedback loop for bootstrap. So what we start for version one will help us to evolve version two, will help us to evolve the knowledge management and other systems that make sense. Now the two areas where we see a lot of output that could be generated back in are management, organizational things, everything about open hypertech system and the information management system itself.
AUDIENCE: Hyperdocument system.
ARMSTRONG: Hyperdocument system. IĀ'll do that just keep correcting me, I do learn. That feedback loop will get us to where we can start building the knowledge management systems, the expert systems, take account with people we learned and build it up. It gives us a concrete problem, we can focus our thinking on and it gives us a familiar problem domain. Now there is a danger there that the first system might be to overly limited.
We might be only looking at our own kinds of problems and not the other problems we need to address but it gives us a tool that we can use to build the next system.
What it needs to do, it needs to track the discussions and the documents we do for requirements, functional specs. I think most the people here are conversant with software, so IĀ'm not going to go over each of these documents but these are the traditional documents you see in the life cycle of a software system. One thing thatĀ's really nice about open-source is that your development plans can be event driven rather than time driven. Instead of having to march to a time clock to reach some production goal, so your marketing people know what they are doing, you can say when itĀ's ready we ship it. ThatĀ's an advantage, and itĀ's an advantage that isnĀ't shared in the commercial market place. Now design decisions, I really want to emphasize the importance of being able to track design decisions.
At one point I kept a design document, as I was going along, the alternatives I considered why I rejected them, which ones I selected and why? I found myself in a meeting at one point and they were saying that weĀ've got to do something differently. To be able to take out of that document and say, no we shouldnĀ't and here are the reasons. In another meeting when I was attacked on a point, I took out my document and said here is the assumptions I had when I made that decisions, and it turned out the assumptions were wrong and I can make the change. The important thing was that I was sitting there in this meeting, three months after making that decision and I couldnĀ't remember the reason why I made it but I knew there was some reason. I was very afraid to make that change because I had no idea what kind of thoughts have gone through my mind, what I was going to run into if I made it. So it told me that it was okay to change and I had a list of alternatives sitting right there.
Now if we but this kind of system together weĀ'll have interactive collaboration. WeĀ'll be able to do versioning and attributions. ItĀ's nice to look at a piece of source code, like Doug mentioned, and say who did that? As weĀ're looking on e-mail lists we see a lot of rambling discussions, which are very important, they introduce a lot of knowledge but itĀ's important to reduce that at some point into the next version of the document. So the system needs to be able to do that. You also get, and IĀ'm assuming XML here because I frankly donĀ't see anything else on the horizon that will come close to being possible to do it but IĀ'll leave the design space open and just use XML as an example. There may be a better alternative sometime in the next twenty years and when we see it we should do it. We have also some benefits of storing source code in XML that you canĀ't get any other way and I want to touch on those.
Main thing with linking is being able to connect your documents and connect the reasons for making decision with the results of that decision. At each point you wind up at the bottom with code and moving backwards through it. The hardest question to answer when your looking at a piece of source code is, why was that done? The hardest thing document in any short distinct way is why that was done. If youĀ're looking at starting at the bottom of it, even a simple bug, it can take a long explanation to explain the changes. Starting with your design decisions, your development checklist and the various codes you put out. The first version of a piece of code is typically very simple, you put out a bunch of things you want to do, a bunch of short explanations and it reads it flows, itĀ's really nice. Then you start testing and your users start giving you feedback and you start running into problems. Then pretty soon, if your documenting, the code becomes completely unfollowable, the thread of it is completely lost and if your not documenting you wind up with mystery code that no one understands why itĀ's there. It becomes completely unmaintainable and the kind of system were envisioning here can solve most of those problems. Linking is one real good reason.
You minimize the number of code intrusions. You can put the code in put a link to the explanation. You put the code in put a link to the document design decision. Now you have very small amounts of documentation inline and itĀ's possible to make sense reading it. You reuse the explanation multiple places, if it takes a page to explain a one line insertion, which IĀ've done, and it needs to explain multiple different places, why is this variable here? Why did you store information there? Why did you act on it? That explanation can be reused in multiple places and linking gives you that capability. WeĀ're used to using plain text systems. ThatĀ's practically Stone Age. In some ways given everything weĀ've seen about hypertext we might as well be doing binary code. There are a lot of advantages to hypertext weĀ're not taking advantage of.
When you put source into hierarchical systems like XML, one of the things you get is the virtual reduction in size. Your code, instead of looking like one monolith of directories, if you remember the days of linear directories, just one big long list of file after file after file. They were very large. IĀ've got maybe twenty, thirty directories on my system. I go into them when I need to get something done and the other day we had to put it into Outlook and Outlook kept telling me how may folders it was searching. There are fifteen hundred directories in my system, I had no idea it was that big. To me itĀ's a twenty-directory system and when I change my context thereĀ's another ten or twenty things to look at and at each step itĀ's very simple.
Another benefit is rapidly being able to move things. Hierarchical systems are unique because they are constrained; there is information in the document about where a structure starts and where it ends. That means, every entry is a handle and you can move a method or routine by grabbing the handle and dragging it, the same way you would in the directory system. Literate programming style, your code could look like a series of comments. You are not actually doing literate programming, the way Knuth describes it, but what youĀ're looking at can be a series of comments were tucked under each comment is a piece of code. There is also the option of eliminating structural syntax on some of the problems thatĀ's attendant on those.
Now hereĀ's an example of literate programming style. Image that this is a program viewed at the top level. These are the steps that I would conceive as something that could operate as a servlet that would be a front end to augment and let you interact with it as a hypertech system. Notice thereĀ's going to be a lot of code inside of each one of those sections, but when you collapse the document and look at it you can see what the thread of that code is. So youĀ've taken out some of the problem with getting the flow of the code by adding links to major sections, major comments. YouĀ've also are gaining it by being able to collapse in a hierarchy.
Now again itĀ's possible to eliminate structural syntax. WeĀ've started a, IĀ'll give you an URL here I forgot to put it into the slide, itĀ's extende.sourceforge.com and weĀ're having major trouble getting anything. WeĀ've finally got the mailing list set up, and we donĀ't have a web page set up yet. I will send out an e-mail with the addresses but weĀ're starting doing some thinking about what it is like if you start putting source code in the structural system. Because the end of the structure is well defined, a compiler or translator can look at this and it knows where to put the braces. You donĀ't have to put them in yourself.
Comments, if I got a // at the beginning of the end that known thatĀ's well defined, I donĀ't have to put a // on the beginning of every line. The compiler is perfectly capable of figuring out where that lines ends. If I have a block comment again everything under that is constrained so if I do that /* then the */ that ends the comment can be automatically supplied and that means I can comment out an entire block of code. On a plain text system this is impossible because that second comment down there, when it sees the ending */ terminates the first comment and everything that follows underneath that tries to be compiled. In a hierarchical system itĀ's not a problem and I can put that code in or out by changing a single character. Now one of the things you see if you program at anytime that there is a brace missing somewhere in your program, be a good guy and go find it will you?
If you made a lot of changes, it can be really hard finding them, that goes away. Another thing is the impedance mismatch between what the compiler sees and what you see. The indentation suggests to you containment, but what the compiler sees is something completely different and you can spend hours trying to find those kinds of bugs. Because we think like people fundamental and learning to program is fun, I mean learning to think like a computer so you can see the mistakes it sees. What do we need to be able to do source and XML?
One thing we need is a filter that will take existing plain text programs and put them into XML structures. One of the nice things about the SunĀ's architecture that David Brownell put together is that if you take an existing parser, any parser in fact that recognizes a data set and have it generate sax events, which is one of the XML protocols, you can plug that into a parser that will generate XML out the other end. So that one is fairly easy to do given someone has a parser and knows how to use it.
The second part is a XML to plain text. Now the interesting thing there is that we have to store the line numbers when we do that because when the compiler gives line number errors, actually it did this by the way. When I started that company to develop an outliner I wrote a little plain text filter and used it to do source code programming, so the examples IĀ'm giving you come from experience. The one problem with using the system was that when the compiler gave me a line number I had a hard time finding it in my outline. But in XML we have attributes and we can adjust those attributes as we produce plain text. Obviously you need a XML editor, but my claim is that XML is approaching a level of ubiquity that will make XML editors the standard much as plain text editors is today. I think there is a long way to go before that happens but thereĀ's a lot of editor projects in the works. ItĀ's so much easier to program with XML because itĀ's well formed that it took us five years to see even one HTML differencing utility. There is five or six already in the works for XML; itĀ's just that good of standard. WeĀ'll need a go to line number function to be able to translate the exceptions we see and the compiler errors, but eventually there is no reason not to have XML aware compilers.
They can process the XML directly, we get rid of the filter and then the error listings can have links that directly there. So you click on the link and just go straight to the line, one less step. You still have runtime exceptions but thereĀ's no reason that the class structure canĀ't store an URL instead of a line number and do the same thing. Now those, I think, are basic functionalities and I just start thinking about version two. I think integrated them, one of the issues that I still have is, how do you integrate an IBIS style design discussion that Dick Karpinski was nice enough to point us to?
This is where you have a question, alternative design possibilities, pros, cons, an endorsement, I like this idea and then finally decision. This is the one we decided to do; those are the QAPCED and one of the questions we have to ask is what does it mean to integrate that kind of an ongoing design discussion? Because itĀ's fundamental of this kind of structure that records those design decisions. HereĀ's the alternatives weĀ've considered, hereĀ's the reasons we liked it, hereĀ's the reason we didnĀ't, hereĀ's the decision we made. We can also look towards possibly doing a patterns repository.
Gamma and the Gang of Four did this wonderful book on patterns but itĀ's all, hereĀ's a pattern, hereĀ's how it works, hereĀ's a pattern, hereĀ's how it works and those are all great but itĀ's hard to use them, what pattern do I need right now? I donĀ't know. Unless I know all the patterns I canĀ't tell which one I want to use. So to invert that structure in a way that says, maybe itĀ's a fact, maybe itĀ's a listing of hereĀ's problems that you can solve. As I go through that series of problems I look for ones that ring a bell that relate to the issues IĀ'm facing and I can go to the repository and see that pattern and find some good way to learn how it works, something interactive. That moves us towards the kinds of knowledge systems we need to do management structures that we need to do the other organizational thinking.
ENGELBART: We have to kind of close. We go off the air and I need a few minutes to close.
ARMSTRONG: Two different approaches, IĀ'm just going to put them up here and IĀ'll put them on the e-mail list, we can use augment, front end. The main constraint there that itĀ's not open to everyone.
We can use a new open system that makes it usable by everyone, all the open source efforts. ItĀ's going to be a lot easier with the tools we have today then it was initially.
Summary, taken an initial focus of email, web, source, and augment. ItĀ's a true bootstrapping project. ItĀ's a familiar project domain. ItĀ's a concrete problem to attack and it will lead us to the next series of things we need to do. Thank you Doug.
Above space serves to put hyperlinked targets at the top of the window