June 22, 2005NCRR NIBIB PI Meeting Open, Distributed and Collaborative Software Development Bill Lorensen GE Research

Slides:



Advertisements
Similar presentations
Inference without the Engine!. What is EZ-Xpert 3.0? EZ-Xpert is a Rapid Application Development (RAD) environment for creating fast and accurate rule-based.
Advertisements

NA-MIC National Alliance for Medical Image Computing National Alliance for Medical Image Computing: NAMIC Ron Kikinis, M.D.
Configuration management
COM vs. CORBA.
Case Tools Trisha Cummings. Our Definition of CASE  CASE is the use of computer-based support in the software development process.  A CASE tool is a.
Tom Sheridan IT Director Gas Technology Institute (GTI)
1 Postdelivery Maintenance Xiaojun Qi. 2 Why Postdelivery Maintenance Is Necessary Corrective maintenance: To correct residual faults –Analysis, design,
Computer Engineering 203 R Smith Agile Development 1/ Agile Methods What are Agile Methods? – Extreme Programming is the best known example – SCRUM.
ESCE 4960: Open Source Software Practice Lecture 1: Course Overview August 27, 2007 Prof. Roysam, RPI Prof. Moorthy Dr. Will Schroeder, Kitware Prof. Roysam,
Developing the NSDL User Portal Dean Krafft, Cornell University
CS350/550 Software Engineering Lecture 1. Class Work The main part of the class is a practical software engineering project, in teams of 3-5 people There.
Chapter 3.1 Teams and Processes. 2 Programming Teams In the 1980s programmers developed the whole game (and did the art and sounds too!) Now programmers.
Xtreme Programming. Software Life Cycle The activities that take place between the time software program is first conceived and the time it is finally.
Software Engineering Lecture No:12. Lecture # 7
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 17 Slide 1 Extreme Programming.
Software Process, CMake, Dashboards, CPack Bill Hoffman Kitware, Inc.
Software Process for Distributed Teams KITWARE, Inc.
Team Skill 1 Analyzing the Problem Business Modeling (6) 1.
NA-MIC National Alliance for Medical Image Computing IGT Software Design and Process Bill Lorensen GE Research.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse.
William Lorensen GE Research Niskayuna, NY February 12, 2001 Insight Segmentation and Registration Toolkit.
September 6, 2007Open Source Software Practice Overview of the Software Process Bill Lorensen GE Research (retired)
Chapter 3 – Agile Software Development 1Chapter 3 Agile software development.
WEB ENGINEERING LECTURE 4 BY Kiramat Rahman. outline  In this Lecture you will learn about:  Term “Software” and its relationship with “Hardware” 
NA-MIC National Alliance for Medical Image Computing The NA-MIC Kit National Alliance for Medical Image Computing.
CPIS 357 Software Quality & Testing
One XP Experience: Introducing Agile (XP) Software Development into a Culture that is Willing but not Ready Joe Bergin * Fred Grossman * David Leip **
Quality Attributes of Web Software Applications – Jeff Offutt By Julia Erdman SE 510 October 8, 2003.
NA-MIC National Alliance for Medical Image Computing NA-MIC Software Engineering Bill Lorensen GE Research NA-MIC Engineering Core PI.
Understand Application Lifecycle Management
Distributed Development: Lessons learned by Herschel GRITS 2011, June 17 Colin Borys.
ITK 10 Year Anniversery ITK – Version 4 Looking Back to Look Forward Bill Lorensen marchingcubes.org.
NA-MIC National Alliance for Medical Image Computing Why NITRC Matters to NA-MIC Steve Pieper, PhD.
EGEE is a project funded by the European Union under contract IST Testing processes Leanne Guy Testing activity manager JRA1 All hands meeting,
The Cluster Computing Project Robert L. Tureman Paul D. Camp Community College.
1 Project Information and Acceptance Testing Integrating Your Code Final Code Submission Acceptance Testing Other Advice and Reminders.
Extreme/Agile Programming Prabhaker Mateti. ACK These slides are collected from many authors along with a few of mine. Many thanks to all these authors.
Community Software Engineering Practices and Principles A Case Study of the Open Source Insight Toolkit (ITK) Terry Yoo (National Library of Medicine),
Model-Driven Analysis Frameworks for Embedded Systems George Edwards USC Center for Systems and Software Engineering
Computer Science and Engineering The Ohio State University  Widely used, especially in the opensource community, to track all changes to a project and.
NA-MIC National Alliance for Medical Image Computing Core 1b – Engineering Software Process Stephen R. Aylward Kitware, Inc.
From Quality Control to Quality Assurance…and Beyond Alan Page Microsoft.
William Schroeder, Ph.D. §, Andy Cedilnik §, Sebastien Barré, Ph.D. §, William Lorensen ‡, James Miller, Ph.D. ‡, Daniel Blezek, Ph.D. ‡ § Kitware Inc.,
NIH NCRR Overview The SCIRun and BioPSE Problem Solving Environments Chris Johnson, Rob MacLeod, and David Weinstein Scientific Computing and Imaging Institute.
07/09/04 Johan Muskens ( TU/e Computer Science, System Architecture and Networking.
NA-MIC National Alliance for Medical Image Computing The NA-MIC Kit: ITK, VTK, Pipelines, Grids and 3D Slicer as An Open Platform for.
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
1 Yield Analysis and Increasing Engineering Efficiency Spotfire Users Conference 10/15/2003 William Pressnall, Scott Lacey.
1 CSCD 326 Data Structures I Software Design. 2 The Software Life Cycle 1. Specification 2. Design 3. Risk Analysis 4. Verification 5. Coding 6. Testing.
CS5103 Software Engineering Lecture 02 More on Software Process Models.
NOVA A Networked Object-Based EnVironment for Analysis “Framework Components for Distributed Computing” Pavel Nevski, Sasha Vanyashin, Torre Wenaus US.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
Slicer 3 Ron Kikinis, Steve Pieper. CTK Workshop Heidelberg, June 29/30, 2009 Slicer Goals  Stable, Usable, Cross Platform, End-User Software for Medical.
February 8, 2006copyright Thomas Pole , all rights reserved 1 Lecture 3: Reusable Software Packaging: Source Code and Text Chapter 2: Dealing.
Process Asad Ur Rehman Chief Technology Officer Feditec Enterprise.
Extreme Programming. Extreme Programming (XP) Formulated in 1999 by Kent Beck, Ward Cunningham and Ron Jeffries Agile software development methodology.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Agenda: Overview of Agile testing Difference between Agile and traditional Methodology Agile Development Methodologies Extreme Programming Test Driven.
NA-MIC National Alliance for Medical Image Computing NAMIC Software Process Dan Blezek Jim Miller Bill Lorensen.
Software Engineering Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
1 CASE Computer Aided Software Engineering. 2 What is CASE ? A good workshop for any craftsperson has three primary characteristics 1.A collection of.
Software Hardware refers to the physical devices of a computer system.
8.4 Management of Postdelivery Maintenance
Continuous Integration and Testing
Pipeline Execution Environment
X in [Integration, Delivery, Deployment]
Model-Driven Analysis Frameworks for Embedded Systems
National Library of Medicine Segmentation and Registration Toolkit
Extreme Programming.
Presentation transcript:

June 22, 2005NCRR NIBIB PI Meeting Open, Distributed and Collaborative Software Development Bill Lorensen GE Research

June 22, 2005NCRR NIBIB PI Meeting "If you come to a fork in the road, take it."

The Software Fork ClosedOpen

Google Hits “Open Source”: 117,000,000

June 22, 2005NCRR NIBIB PI Meeting A Personal Look Back NASA’s Computer Software Management and Information System (COSMIC) NASA’s Computer Software Management and Information System (COSMIC) MOVIE.BYU MOVIE.BYU GE Research Workstation GE Research Workstation Visualization Toolkit Visualization Toolkit Insight Toolkit Insight Toolkit

June 22, 2005NCRR NIBIB PI Meeting And a look forward

June 22, 2005NCRR NIBIB PI Meeting NIH National Centers For Biomedical Computing …NIH does have goals for software dissemination… …NIH does have goals for software dissemination… …software should be freely available … …software should be freely available … … permit the commercialization of enhanced or customized versions … … permit the commercialization of enhanced or customized versions … …include the ability of researchers outside the center and its collaborating projects to modify the source code and to share modifications … …include the ability of researchers outside the center and its collaborating projects to modify the source code and to share modifications …

June 22, 2005NCRR NIBIB PI Meeting Outline Open Source Software Open Source Software Inside Insight Inside Insight Observations Observations

June 22, 2005NCRR NIBIB PI Meeting Flattener #4 Open Sourcing Self-organizing collaborative communities

June 22, 2005NCRR NIBIB PI Meeting Open Source Anecdote * IBM Manager: “So, walk me through the development process for e-commerce. What’s the underlying web server?” Developer: “It’s built on top of Apache.” Manager: “Apache?” Developer: “A shareware program for web server technology, produced for free by a bunch of geeks working online in some open-source chat room.” Manager: “How do you buy it?” Developer: “You download it off a Web site for free.” Manager: “Who supports it if something goes wrong?” Developer: “I don’t know, it just works!” *from The World is Flat

June 22, 2005NCRR NIBIB PI Meeting Successful Open Source Projects

June 22, 2005NCRR NIBIB PI Meeting Visualization Toolkit - vtk Open source toolkit for scientific visualization, computer graphics, and image processing

June 22, 2005NCRR NIBIB PI Meeting Computer Vision Library - vxl Based on Target jr and Image Understanding Environment Based on Target jr and Image Understanding Environment Numerics Numerics Imaging Imaging Geometry Geometry Camera models Camera models vxl.sourceforge.net

June 22, 2005NCRR NIBIB PI Meeting Slicer Developed by Brigham and Womens Surgical Planning Lab Developed by Brigham and Womens Surgical Planning Lab User interface plus plug-ins for applications User interface plus plug-ins for applications Segmentation Segmentation Registration Registration Image Guidance Image Guidance

June 22, 2005NCRR NIBIB PI Meeting SCIRun l Developed by U Utah SCI Institute l Computational Workbench l Visual Programming l Modeling, Simulation and Visualization

June 22, 2005NCRR NIBIB PI Meeting Open Source Menu for Success A Community with a common vision A Community with a common vision A pool of talented and motivated developers/scientists A pool of talented and motivated developers/scientists A mix of academic and commercial A mix of academic and commercial An organized, light weight approach to software development An organized, light weight approach to software development A leadership structure A leadership structure Communication Communication A business model A business model

June 22, 2005NCRR NIBIB PI Meeting Inside Insight (itk)

June 22, 2005NCRR NIBIB PI Meeting National Library of Medicine Segmentation and Registration Toolkit $14 million over 6 years Leading edge algorithms Open Source Software

June 22, 2005NCRR NIBIB PI Meeting What is itk? A common Application Programmers Interface (API). A common Application Programmers Interface (API). A framework for software development A framework for software development A toolkit for registration and segmentation A toolkit for registration and segmentation An Open Source resource for future research An Open Source resource for future research A validation model for segmentation and registration. A validation model for segmentation and registration. A framework for validation development A framework for validation development Assistance for algorithm designers Assistance for algorithm designers A seed repository for validation case studies A seed repository for validation case studies

June 22, 2005NCRR NIBIB PI Meeting Insight - Open Source Products

June 22, 2005NCRR NIBIB PI Meeting itk by the Numbers March 2000 March 2000 First code checkin First code checkin # of nightly builds # of nightly builds # tests run nightly # tests run nightly # of platforms # of platforms # of classes # of classes # of files with code # of files with code l 400K l # of lines of code l 100K l # of lines of test code l 45K l # of lines of examples l 160K l # of lines of Applications l 220 l # weekly t-cons l 50 l # unique developers

June 22, 2005NCRR NIBIB PI Meeting itk by the Numbers # of subscribers to the developers mailing list # of subscribers to the developers mailing list # of subscribers to the users mailing list # of subscribers to the users mailing list # of monthly posts to users-list # of monthly posts to users-list

June 22, 2005NCRR NIBIB PI Meeting A Common Vision Create a dynamic, self-sustaining, public domain and extensible toolkit that will empower researchers throughout the world to develop new segmentation and registration algorithms and create new applications that leverage the NLM’s investment in the Visible Human Male and Female data sets

June 22, 2005NCRR NIBIB PI Meeting The Original Team Six prime contractors Six prime contractors Industrial Industrial Kitware (Schroeder) Kitware (Schroeder) Insightful (Ng) Insightful (Ng) UPenn (Gee) UPenn (Gee) GE Research (Lorensen) GE Research (Lorensen) Brigham and Womens (Kikinis) Brigham and Womens (Kikinis) Academic Academic UNC (Aylward) UNC (Aylward) Pitt (Stetton) Pitt (Stetton) Utah (Whitaker) Utah (Whitaker) Rutgers (Metaxas) Rutgers (Metaxas) Columbia (Imielenski) Columbia (Imielenski) UPenn (Udupa) UPenn (Udupa)

June 22, 2005NCRR NIBIB PI Meeting Insight Consortium A competitive process selected the development team A competitive process selected the development team Each group was evaluated individually, without regard to how they might integrate with each other Each group was evaluated individually, without regard to how they might integrate with each other Each team had strengths in software development, validation or algorithm development, but no one group had the necessary skills to do the entire project Each team had strengths in software development, validation or algorithm development, but no one group had the necessary skills to do the entire project Distributed software developers with varying software engineering experience Distributed software developers with varying software engineering experience

June 22, 2005NCRR NIBIB PI Meeting Insight Software Architecture Object-oriented design Object-oriented design Generic Programming Generic Programming Design Patterns Design Patterns Frameworks Frameworks Separation of Algorithms from Interfaces Separation of Algorithms from Interfaces

June 22, 2005NCRR NIBIB PI Meeting Object-Oriented Design Dominated software systems throughout the 1990’s Dominated software systems throughout the 1990’s Continues to be the accepted software design technique Continues to be the accepted software design technique Particularly useful for dealing with complexity Particularly useful for dealing with complexity Provides programmatic abstractions to deal with generalization and encapsulation Provides programmatic abstractions to deal with generalization and encapsulation C++ and Java have mechanisms to support OOD C++ and Java have mechanisms to support OOD

June 22, 2005NCRR NIBIB PI Meeting Generic Programming Organize libraries consisting of generic— or reusable—software components. Organize libraries consisting of generic— or reusable—software components. The essential ideas of generic programming are containers to hold data, iterators to access the data, and generic algorithms that use containers and iterators to create efficient, fundamental algorithms. The essential ideas of generic programming are containers to hold data, iterators to access the data, and generic algorithms that use containers and iterators to create efficient, fundamental algorithms. ITK uses generic programming to process n-dimensional “images”. ITK uses generic programming to process n-dimensional “images”.

June 22, 2005NCRR NIBIB PI Meeting Design Patterns Good object-oriented software systems have recurring designs (patterns) that occur frequently Good object-oriented software systems have recurring designs (patterns) that occur frequently ITK employs a number of powerful design patterns ITK employs a number of powerful design patterns object factories object factories command/observer command/observer smart pointer memory management smart pointer memory management

June 22, 2005NCRR NIBIB PI Meeting Frameworks Define how a group of participants can be put together to solve a particular task. Define how a group of participants can be put together to solve a particular task. Particularly suitable for describing complex flows or algorithms that have a number of steps that can be varied Particularly suitable for describing complex flows or algorithms that have a number of steps that can be varied ITK Frameworks ITK Frameworks A demand-driven data processing pipeline that connects algorithms to process n-dimensional image data A demand-driven data processing pipeline that connects algorithms to process n-dimensional image data Registration framework Registration framework Level-set framework Level-set framework

June 22, 2005NCRR NIBIB PI Meeting Registration Framework

June 22, 2005NCRR NIBIB PI Meeting Level-Set Framework

June 22, 2005NCRR NIBIB PI Meeting Separation of Algorithms from Interfaces Implement the algorithms with a clear separation from the applications and especially the user interfaces. Implement the algorithms with a clear separation from the applications and especially the user interfaces. Uses the Command/Observer design pattern that permits applications to watch for significant events during the execution of an algorithm Uses the Command/Observer design pattern that permits applications to watch for significant events during the execution of an algorithm ITK has no built-in visualization, but has been interfaced to several systems including 3D Slicer, Analyze, SciRun and Volview. ITK has no built-in visualization, but has been interfaced to several systems including 3D Slicer, Analyze, SciRun and Volview.

June 22, 2005NCRR NIBIB PI Meeting In search of a new software development process

Google Hits “Extreme Programming”: 698,000

June 22, 2005NCRR NIBIB PI Meeting Extreme Programming

June 22, 2005NCRR NIBIB PI Meeting A Light Weight Software Engineering Process Based on the new Extreme Programming process Based on the new Extreme Programming process High intensity design, test, implement cycle High intensity design, test, implement cycle Supported with web-enabled tools Supported with web-enabled tools Automated testing integrated with the software development Automated testing integrated with the software development

June 22, 2005NCRR NIBIB PI Meeting Extreme Programming Compresses the standard analyze, design, implement, test cycle into a continuous process

June 22, 2005NCRR NIBIB PI Meeting A process supported by a suite of portable, open source tools Apache, perl, php Apache, perl, php Web services Web services cvs, subversion cvs, subversion Revision control Revision control Wiki Wiki Collaborative content capture Collaborative content capture Doxygen Doxygen Automated documentation Automated documentation CMake CMake Cross-platform program build Cross-platform program build Dart Dart Continuous and distributed test reporting Continuous and distributed test reporting

June 22, 2005NCRR NIBIB PI Meeting Extreme Programming The community owns the code Although the identity of the original author is kept, other developers are free to correct defects and enhance each other's code Although the identity of the original author is kept, other developers are free to correct defects and enhance each other's code In the end, all of the software should appear as though one author wrote it

June 22, 2005NCRR NIBIB PI Meeting Extreme Programming Release early, release often Although developers are tempted to keep their code under wraps until it is perfect, the process encourages them to release their code as soon as it passes some minimum tests The longer the code is visible to the community, the better integrated it will be

June 22, 2005NCRR NIBIB PI Meeting Extreme Programming Continuous integration There is no scheduled porting to computer platforms All new software builds supported platforms every evening

June 22, 2005NCRR NIBIB PI Meeting Extreme Programming All developers agree to keep the software defect free. Although everyone is encouraged to submit their code early, the code must compile and pass tests nightly A continuous build process sends s to developers who check in code that does not compile More effectively, the community enforces the commitment though peer pressure

June 22, 2005NCRR NIBIB PI Meeting Insight - Development Cycles Daily – dashboard Daily – dashboard Weekly – telephone conferences Weekly – telephone conferences Periodic – architecture reviews Periodic – architecture reviews Quarterly – developer meetings Quarterly – developer meetings Yearly – work assignments Yearly – work assignments

June 22, 2005NCRR NIBIB PI Meeting Extreme Programming Daily Testing Is The Key Testing anchors and drives the development process (Dart) Testing anchors and drives the development process (Dart) Opens up the development process to everyone Opens up the development process to everyone Developers monitor the testing dashboard constantly Developers monitor the testing dashboard constantly Problems are identified and fixed immediately Problems are identified and fixed immediately Developers receive if they “Break the Build” Developers receive if they “Break the Build”

June 22, 2005NCRR NIBIB PI Meeting How DART Enables Collaboration CVS Results posted on web (the dashboard) CVS maintains source code revisions DART compiles source code, runs tests Developers review results Developers check-in code

June 22, 2005NCRR NIBIB PI Meeting Dart

June 22, 2005NCRR NIBIB PI Meeting

June 22, 2005NCRR NIBIB PI Meeting Multi-Platform Builds

June 22, 2005NCRR NIBIB PI Meeting Regression Testing

June 22, 2005NCRR NIBIB PI Meeting Continuous System Monitoring

June 22, 2005NCRR NIBIB PI Meeting Someone broke the build!

June 22, 2005NCRR NIBIB PI Meeting Insight Observations: The Good Good mix of commercial and academic Good mix of commercial and academic Communication is critical Communication is critical The daily rhythm of Extreme Testing The daily rhythm of Extreme Testing The Whole >>> Sum of the parts The Whole >>> Sum of the parts Process automation reduces the burden on developers Process automation reduces the burden on developers This process can (and will) be repeated This process can (and will) be repeated

June 22, 2005NCRR NIBIB PI Meeting Insight Observations: The Bad Communication Communication Early in the project, communication was limited to the mailing list and the Quarterly meetings. Almost a year passed before we added the weekly telephone conferences. Developers felt isolated and the impersonal electronic communication methods failed to build the personal relationships required for any software development process. Early in the project, communication was limited to the mailing list and the Quarterly meetings. Almost a year passed before we added the weekly telephone conferences. Developers felt isolated and the impersonal electronic communication methods failed to build the personal relationships required for any software development process. Lack of Design Reviews Lack of Design Reviews The lightweight process has its drawbacks. The current process emphasizes coding and testing. This process is well defined and benefits from automation. But, the design process is not well supported by the current mechanisms. The lightweight process has its drawbacks. The current process emphasizes coding and testing. This process is well defined and benefits from automation. But, the design process is not well supported by the current mechanisms. Unstable Application Programming Interfaces (API’s) Unstable Application Programming Interfaces (API’s) The nightly test/build was so effective in empowering programmers to make changes, that API changes occurred too frequently without the necessary buy-in from the development community. The nightly test/build was so effective in empowering programmers to make changes, that API changes occurred too frequently without the necessary buy-in from the development community.

June 22, 2005NCRR NIBIB PI Meeting Insight Observations: The Bad Insufficient Automation Insufficient Automation Automation is critical to maintain consistent style and robust software. Although the project provided many automatic techniques to catch developer errors, the project would benefit from more automation. Automation is critical to maintain consistent style and robust software. Although the project provided many automatic techniques to catch developer errors, the project would benefit from more automation. Complexity and Feature Creep Complexity and Feature Creep Like most software development projects, this software suffers from complexity and feature creep. Early designs and implementations used many features of the C++ language to an “extreme”. The team realized and began removing the complexity. Like most software development projects, this software suffers from complexity and feature creep. Early designs and implementations used many features of the C++ language to an “extreme”. The team realized and began removing the complexity.

June 22, 2005NCRR NIBIB PI Meeting Insight Observations: The Ugly Still need a stick Still need a stick Someone needs to monitor the daily process. Someone needs to monitor the daily process. XP is not everyone’s cup of tea XP is not everyone’s cup of tea Almost all bought into the process. A few tolerated it. Almost all bought into the process. A few tolerated it.

June 22, 2005NCRR NIBIB PI Meeting Parting Thoughts (from Robert Fulghum) Share everything Share everything Play fair Play fair Don’t hit people Don’t hit people Put things back where you found them Put things back where you found them Clean up your own mess Clean up your own mess Don’t take things that aren’t yours Don’t take things that aren’t yours Say you’re sorry when you hurt someone Say you’re sorry when you hurt someone Wash you hands before you eat Wash you hands before you eat and… and… Flush Flush

June 22, 2005NCRR NIBIB PI Meeting Open Source Resources sourceforge.net sourceforge.net vxl.sourceforge.net vxl.sourceforge.net

June 22, 2005NCRR NIBIB PI Meeting "If you don't know where you are going, you will wind up somewhere else."

June 22, 2005NCRR NIBIB PI Meeting Open, Distributed and Collaborative Software Development Bill Lorensen GE Research