GNU Octave Beginner's Guide

Total Page:16

File Type:pdf, Size:1020Kb

GNU Octave Beginner's Guide GNU Octave Beginner's Guide Become a profcient Octave user by learning this high-level scientfc numerical tool from the ground up Jesper Schmidt Hansen BIRMINGHAM - MUMBAI GNU Octave Beginner's Guide Copyright © 2011 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmited in any form or by any means, without the prior writen permission of the publisher, except in the case of brief quotatons embedded in critcal artcles or reviews. Every efort has been made in the preparaton of this book to ensure the accuracy of the informaton presented. However, the informaton contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, its dealers, and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark informaton about all of the companies and products mentoned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this informaton. First published: June 2011 Producton Reference: 2150611 Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK. ISBN 978-1-849513-32-6 www.packtpub.com Cover Image by John Quick ([email protected]) Credits Author Project Coordinator Jesper Schmidt Hansen Joel Goveya Reviewers Proofreaders Piotr Gawron Lesley Harrison Kenneth Geisshirt Clyde Jenkins Jordi Gutérrez Hermoso Lynda Sliwoski Acquisiton Editor Indexers Usha Iyer Hemangini Bari Tejal Daruwale Development Editor Monica Ajmera Mehta Roger D'souza Graphics Technical Editor Nilesh R. Mohite Dayan Hyames Producton Coordinator Kruthika Bangera Cover Work Kruthika Bangera About the Author Jesper Schmidt Hansen holds a Ph.D. in sof material science and is currently doing research in the feld of nanofuidics and dynamics at Roskilde University, Denmark. He has been using GNU Octave on a daily basis for many years, both as a student and later as a researcher. The applicatons have varied from solving partal and ordinary diferental equatons, simple data plotng, data generaton for other applicatons, dynamical system investgatons, and advanced data analysis. Firstly, I wish to thank the reviewers. They have been a great help and their many (at tmes overwhelmingly many) comments and hints have improved the manuscript considerably. I have received encouragement and good ideas from everyone at the Department of Science, Systems and Models, Roskilde University. Especially, I want to thank Professor Jeppe Dyre from the Danish Natonal Research Foundaton centre "Glass and Time" for giving me the opportunity to fnish the book in the last phase of the writng. Also, I have found Octave's ofcial mailing list very useful. Unlike many other user groups, there is a very constructve and helpful atmosphere here. I thank everyone who has submited questons and all those that have replied. I now realize that having a one year old child, a full tme job, as well as writng a book is not really an ideal cocktail. I must thank Signe Anthon for her tremendous support and patence during the writng of this book. When I signed the contract with Packt Publishing, I was happy fnally to be able to make a contributon to the open source community—Signe's contributon is just as big as mine! About the Reviewers Piotr Gawron is a researcher in the feld of quantum informaton processing. His main research topics are quantum programming languages, quantum game theory, and numerical and geometrical methods in quantum informaton. He works in the Quantum Computer Systems Group of the Insttute of Theoretcal and Applied Informatcs of the Polish Academy of Sciences in Gliwice, Poland. Apart from research in theoretcal aspects of computer science, he has gained practcal experience in FPGA development and real-tme image processing for applicatons in UAVs working closely with the industry. He is administrator of www.quantiki.org , a portal for the quantum informaton community. He is a user and strong supporter of free sofware. He likes hard science-fcton literature, live-acton role- playing, and French rock music. Kenneth Geisshirt is a chemist by educaton and a geek by nature. He has been programming for more than 25 years—the last 6 years as a subcontractor. In 1990, Kenneth frst met free sofware, and in 1992 turned to Linux as his primary operatng system (ofcially Linux user no. 573 at the Linux Counter). He has writen books about Linux, PAM, and JavaScript—and many artcles on open source sofware for computer magazines. Moreover, Kenneth has been a technical reviewer of books on Linux network administraton, the Vim editor, and JavaScript testng. Jordi Gutérrez Hermoso studied mathematcs in Canada and Mexico, both pure and applied respectvely. He has been programming since the age of seven, when he started to learn about computers while writng silly programs in BASIC. He has been a Debian user since 2001, his frst and stll preferred GNU/Linux distributon, to which he now occasionally contributes with GNU Octave packaging. Since 2005, he has been an enthusiastc Octave user and started getng more involved with its development in 2010. As of 2011, he resides in Mexico and works in BlueMessaging, where he's responsible for natural language processing and artfcial intelligence. An Emacs user at heart, Jordi feels at home in a GNU environment and will gladly share .emacs confguratons with anyone who asks. I would like to thank my close friends and family for helping me get through difcult tmes and for celebratng the good ones with me. John W. Eaton, Octave's creator, deserves much recogniton for startng and leading the project on which this book is based. www.PacktPub.com Support fles, eBooks, discount offers and more You might want to visit www.PacktPub.com for support fles and downloads related to your book. Did you know that Packt ofers eBook versions of every book published, with PDF and ePub fles available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are enttled to a discount on the eBook copy. Get in touch with us at [email protected] for more details. At www.PacktPub.com, you can also read a collecton of free technical artcles, sign up for a range of free newsleters, and receive exclusive discounts and ofers on Packt books and eBooks. http://PacktLib.PacktPub.com Do you need instant solutons to your IT questons? PacktLib is Packt's online digital book library. Here, you can access, read, and search across Packt's entre library of books. Why Subscribe? Fully searchable across every book published by Packt Copy and paste, print, and bookmark content On demand and accessible via web browser Free Access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entrely free books. Simply use your login credentals for immediate access. Table of Contents Preface 1 Chapter 1: Introducing GNU Octave 7 So what is GNU Octave? 7 Applicatons 9 Limitatons of Octave 9 Octave and MATLAB 10 The Octave community 10 Installing Octave 11 Windows 11 GNU/Linux 12 Building Octave from the source under GNU/Linux 14 Time for acton – building Octave from source 14 Checking your installaton with peaks 15 Time for acton – testng with peaks 15 Customizing Octave 17 Time for acton – creatng an Octave home directory under Windows 18 Creatng your frst .octaverc fle 19 Time for acton – editng the .octaverc fle 19 More on .octaverc 20 Installing additonal packages 21 Time for acton – installing additonal packages 21 Uninstalling a package 23 Getng help 23 The behaviour of the Octave command prompt 24 Summary 24 Chapter 2: Interactng with Octave: Variables and Operators 25 Simple numerical variables 26 Accessing and changing array elements 28 More examples 29 Table of Contents Time for acton – manipulatng arrays 30 Complex variables 31 Text variables 32 Higher-dimensional arrays 34 Structures and cell arrays 35 Structures 35 Time for acton – instantatng a structure 36 Accessing structure felds 37 Cell arrays 39 Time for acton – instantatng a cell array 39 Getng informaton 41 Time for acton – using whos 41 Size, rows, columns, and length 42 Identfying the variable type 43 Deletng variables from the workspace 44 A few things that make life easier 45 Basic arithmetc 47 Additon and subtracton 47 Time for acton – doing additon and subtracton operatons 47 Matrix multplicaton 49 Time for acton – doing multplicaton operatons 49 Element-by-element, power, and transpose operatons 50 Operators for structures and cell arrays 52 Solving linear equaton systems: lef and right division 52 Time for acton – doing lef and right division 53 Basic arithmetc for complex variables 55 Summary of arithmetc operators 57 Comparison operators and precedence rules 58 Precedence rules 60 Time for acton – working with precedence rules 60 A few hints 61 Summary 63 Chapter 3: Working with Octave: Functons and Plotng 65 Octave functons 65 Mathematcal functons 66 Time for acton – using the cos functon 66 Polynomials in Octave 68 More complicated mathematcal functons 69 Time for acton – putng together mathematcal functons 70 Helper functons 71 Generatng random numbers 72 min and max 72 [ ii ] Table of Contents Sortng arrays 73 fnd, any, and all 74 foor, ceil, round, and fx 75 Time for acton – trying out foor, ceil, round, and fx 75 sum and prod 76 Absolute values 77 Complex input arguments 77 Operator functons 78 Linear algebra 78
Recommended publications
  • Studying the Real World Today's Topics
    Studying the real world Today's topics Free and open source software (FOSS) What is it, who uses it, history Making the most of other people's software Learning from, using, and contributing Learning about your own system Using tools to understand software without source Free and open source software Access to source code Free = freedom to use, modify, copy Some potential benefits Can build for different platforms and needs Development driven by community Different perspectives and ideas More people looking at the code for bugs/security issues Structure Volunteers, sponsored by companies Generally anyone can propose ideas and submit code Different structures in charge of what features/code gets in Free and open source software Tons of FOSS out there Nearly everything on myth Desktop applications (Firefox, Chromium, LibreOffice) Programming tools (compilers, libraries, IDEs) Servers (Apache web server, MySQL) Many companies contribute to FOSS Android core Apple Darwin Microsoft .NET A brief history of FOSS 1960s: Software distributed with hardware Source included, users could fix bugs 1970s: Start of software licensing 1974: Software is copyrightable 1975: First license for UNIX sold 1980s: Popularity of closed-source software Software valued independent of hardware Richard Stallman Started the free software movement (1983) The GNU project GNU = GNU's Not Unix An operating system with unix-like interface GNU General Public License Free software: users have access to source, can modify and redistribute Must share modifications under same
    [Show full text]
  • Université De Montréal Context-Aware
    UNIVERSITE´ DE MONTREAL´ CONTEXT-AWARE SOURCE CODE IDENTIFIER SPLITTING AND EXPANSION FOR SOFTWARE MAINTENANCE LATIFA GUERROUJ DEPARTEMENT´ DE GENIE´ INFORMATIQUE ET GENIE´ LOGICIEL ECOLE´ POLYTECHNIQUE DE MONTREAL´ THESE` PRESENT´ EE´ EN VUE DE L'OBTENTION DU DIPLOME^ DE PHILOSOPHIÆ DOCTOR (GENIE´ INFORMATIQUE) JUILLET 2013 ⃝c Latifa Guerrouj, 2013. UNIVERSITE´ DE MONTREAL´ ECOLE´ POLYTECHNIQUE DE MONTREAL´ Cette th`ese intitul´ee: CONTEXT-AWARE SOURCE CODE IDENTIFIER SPLITTING AND EXPANSION FOR SOFTWARE MAINTENANCE pr´esent´eepar: GUERROUJ Latifa en vue de l'obtention du dipl^ome de: Philosophiæ Doctor a ´et´ed^ument accept´eepar le jury d'examen constitu´ede: Mme BOUCHENEB Hanifa, Doctorat, pr´esidente M. ANTONIOL Giuliano, Ph.D., membre et directeur de recherche M. GUEH´ ENEUC´ Yann-Ga¨el, Ph.D., membre et codirecteur de recherche M. DESMARAIS Michel, Ph.D., membre Mme LAWRIE Dawn, Ph.D., membre iii This dissertation is dedicated to my parents. For their endless love, support and encouragement. iv ACKNOWLEDGMENTS I am very grateful to both Giulio and Yann for their support, encouragement, and intel- lectual input. I worked with you for four years or even less, but what I learned from you will last forever. Giulio, your passion about research was a source of inspiration and motivation for me. Also, your mentoring and support have been instrumental in achieving my goals. Yann, your enthusiasm and guidance have always been a strength for me to keep moving forward. Research would not be as much fun without students and researchers to collaborate with. It has been a real pleasure and great privilege working with Massimiliano Di Penta (University of Sannio), Denys Poshyvanyk (College of William and Mary), and their teams.
    [Show full text]
  • Annual Report
    [Credits] Licensed under Creative Commons Attribution license (CC BY 4.0). All text by John Hsieh and Georgia Young, except the Letter from the Executive Director, which is by John Sullivan. Images (name, license, and page location): Wouter Velhelst: cover image; Kori Feener, CC BY-SA 4.0: inside front cover, 2-4, 8, 14-15, 20-21, 23-25, 27-29, 32-33, 36, 40-41; Michele Kowal: 5; Anonymous, CC BY 3.0: 7, 16, 17; Ruben Rodriguez, CC BY-SA 4.0: 10, 13, 34-35; Anonymous, All rights reserved: 16 (top left); Pablo Marinero & Cecilia e. Camero, CC BY 3.0: 17; Free This report highlights activities Software Foundation, CC BY-SA 4.0: 18-19; Tracey Hughes, CC BY-SA 4.0: 30; Jose Cleto Hernandez Munoz, CC BY-SA 3.0: 31, Pixabay/stevepb, CC0: 37. and detailed financials for Fiscal Year 2016 Fonts: Letter Gothic by Roger Roberson; Orator by John Scheppler; Oswald by (October 1, 2015 - September 30, 2016) Vernon Adams, under the OFL; Seravek by Eric Olson; Jura by Daniel Johnson. Created using Inkscape, GIMP, and PDFsam. Designer: Tammy from Creative Joe. 1] LETTER FROM THE EXECUTIVE DIRECTOR 2] OUR MISSION 3] TECH 4] CAMPAIGNS 5] LIBREPLANET 2016 6] LICENSING & COMPLIANCE 7] CONFERENCES & EVENTS 7 8] LEADERSHIP & STAFF [CONTENTS] 9] FINANCIALS 9 10] OUR DONORS CONTENTS our most important [1] measure of success is support for the ideals of LETTER FROM free software... THE EXECUTIVE we have momentum DIRECTOR on our side. LETTER FROM THE 2016 EXECUTIVE DIRECTOR DEAR SUPPORTERS For almost 32 years, the FSF has inspired people around the Charity Navigator gave the FSF its highest rating — four stars — world to be passionate about computer user freedom as an ethical with an overall score of 99.57/100 and a perfect 100 in the issue, and provided vital tools to make the world a better place.
    [Show full text]
  • GNU GENERAL PUBLIC LICENSE Preamble
    GNU General Public License v3.0 - GNU Project - Free Software Foundation (FSF) Page 1 of 11 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright © 2007 Free Software Foundation, Inc. < https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights.
    [Show full text]
  • GNU / Linux and Free Software
    GNU / Linux and Free Software GNU / Linux and Free Software An introduction Michael Opdenacker Free Electrons http://free-electrons.com Created with OpenOffice.org 2.x GNU / Linux and Free Software © Copyright 2004-2007, Free Electrons Creative Commons Attribution-ShareAlike 2.5 license http://free-electrons.com Sep 15, 2009 1 Rights to copy Attribution ± ShareAlike 2.5 © Copyright 2004-2007 You are free Free Electrons to copy, distribute, display, and perform the work [email protected] to make derivative works to make commercial use of the work Document sources, updates and translations: Under the following conditions http://free-electrons.com/articles/freesw Attribution. You must give the original author credit. Corrections, suggestions, contributions and Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under a license translations are welcome! identical to this one. For any reuse or distribution, you must make clear to others the license terms of this work. Any of these conditions can be waived if you get permission from the copyright holder. Your fair use and other rights are in no way affected by the above. License text: http://creativecommons.org/licenses/by-sa/2.5/legalcode GNU / Linux and Free Software © Copyright 2004-2007, Free Electrons Creative Commons Attribution-ShareAlike 2.5 license http://free-electrons.com Sep 15, 2009 2 Contents Unix and its history Free Software licenses and legal issues Free operating systems Successful project highlights Free Software
    [Show full text]
  • Free As in Freedom (2.0): Richard Stallman and the Free Software Revolution
    Free as in Freedom (2.0): Richard Stallman and the Free Software Revolution Sam Williams Second edition revisions by Richard M. Stallman i This is Free as in Freedom 2.0: Richard Stallman and the Free Soft- ware Revolution, a revision of Free as in Freedom: Richard Stallman's Crusade for Free Software. Copyright c 2002, 2010 Sam Williams Copyright c 2010 Richard M. Stallman Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled \GNU Free Documentation License." Published by the Free Software Foundation 51 Franklin St., Fifth Floor Boston, MA 02110-1335 USA ISBN: 9780983159216 The cover photograph of Richard Stallman is by Peter Hinely. The PDP-10 photograph in Chapter 7 is by Rodney Brooks. The photo- graph of St. IGNUcius in Chapter 8 is by Stian Eikeland. Contents Foreword by Richard M. Stallmanv Preface by Sam Williams vii 1 For Want of a Printer1 2 2001: A Hacker's Odyssey 13 3 A Portrait of the Hacker as a Young Man 25 4 Impeach God 37 5 Puddle of Freedom 59 6 The Emacs Commune 77 7 A Stark Moral Choice 89 8 St. Ignucius 109 9 The GNU General Public License 123 10 GNU/Linux 145 iii iv CONTENTS 11 Open Source 159 12 A Brief Journey through Hacker Hell 175 13 Continuing the Fight 181 Epilogue from Sam Williams: Crushing Loneliness 193 Appendix A { Hack, Hackers, and Hacking 209 Appendix B { GNU Free Documentation License 217 Foreword by Richard M.
    [Show full text]
  • GNU Octave a High-Level Interactive Language for Numerical Computations Edition 3 for Octave Version 2.0.13 February 1997
    GNU Octave A high-level interactive language for numerical computations Edition 3 for Octave version 2.0.13 February 1997 John W. Eaton Published by Network Theory Limited. 15 Royal Park Clifton Bristol BS8 3AL United Kingdom Email: [email protected] ISBN 0-9541617-2-6 Cover design by David Nicholls. Errata for this book will be available from http://www.network-theory.co.uk/octave/manual/ Copyright c 1996, 1997John W. Eaton. This is the third edition of the Octave documentation, and is consistent with version 2.0.13 of Octave. Permission is granted to make and distribute verbatim copies of this man- ual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the en- tire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another language, under the same conditions as for modified versions. Portions of this document have been adapted from the gawk, readline, gcc, and C library manuals, published by the Free Software Foundation, 59 Temple Place—Suite 330, Boston, MA 02111–1307, USA. i Table of Contents Publisher’s Preface ...................... 1 Author’s Preface ........................ 3 Acknowledgements ........................................ 3 How You Can Contribute to Octave ........................ 5 Distribution .............................................. 6 1 A Brief Introduction to Octave ....... 7 1.1 Running Octave...................................... 7 1.2 Simple Examples ..................................... 7 Creating a Matrix ................................. 7 Matrix Arithmetic ................................. 8 Solving Linear Equations..........................
    [Show full text]
  • The GCC Compilers
    Software Design Lecture Notes Prof. Stewart Weiss The GCC Compilers The GCC Compilers Preface If all you really want to know is how to compile your C or C++ program using GCC, and you don't have the time or interest in understanding what you're doing or what GCC is, you can skip most of these notes and cut to the chase by jumping to the examples in Section 6. I think you will be better o if you take the time to read the whole thing, since I believe that when you understand what something is, you are better able to gure out how to use it. If you have never used GCC, or if you have used it without really knowing what you did, (because you were pretty much using it by rote), then you should read this. If you think you do understand GCC and do not use it by rote, you may still benet from reading this; you might learn something anyway. Because I believe in the importance of historical context, I begin with a brief history of GCC. 1 Brief History Richard Stallman started the GNU Project in 1984 with the purpose of creating a free, Unix-like operating system. His motivation was to promote freedom and cooperation among users and programmers. Since Unix requires a C compiler and there were no free C compilers at the time, the GNU Project had to build a C compiler from the ground up. The Free Software Foundation was a non-prot organization created to support the work of the GNU Project.
    [Show full text]
  • Integral Estimation in Quantum Physics
    INTEGRAL ESTIMATION IN QUANTUM PHYSICS by Jane Doe A dissertation submitted to the faculty of The University of Utah in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Mathematical Physics Department of Mathematics The University of Utah May 2016 Copyright c Jane Doe 2016 All Rights Reserved The University of Utah Graduate School STATEMENT OF DISSERTATION APPROVAL The dissertation of Jane Doe has been approved by the following supervisory committee members: Cornelius L´anczos , Chair(s) 17 Feb 2016 Date Approved Hans Bethe , Member 17 Feb 2016 Date Approved Niels Bohr , Member 17 Feb 2016 Date Approved Max Born , Member 17 Feb 2016 Date Approved Paul A. M. Dirac , Member 17 Feb 2016 Date Approved by Petrus Marcus Aurelius Featherstone-Hough , Chair/Dean of the Department/College/School of Mathematics and by Alice B. Toklas , Dean of The Graduate School. ABSTRACT Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
    [Show full text]
  • Open Source Software: a History David Bretthauer University of Connecticut, [email protected]
    University of Connecticut OpenCommons@UConn Published Works UConn Library 12-26-2001 Open Source Software: A History David Bretthauer University of Connecticut, [email protected] Follow this and additional works at: https://opencommons.uconn.edu/libr_pubs Part of the OS and Networks Commons Recommended Citation Bretthauer, David, "Open Source Software: A History" (2001). Published Works. 7. https://opencommons.uconn.edu/libr_pubs/7 Open Source Software: A History —page 1 Open Source Software: A History by David Bretthauer Network Services Librarian, University of Connecticut Open Source Software: A History —page 2 Abstract: In the 30 years from 1970 -2000, open source software began as an assumption without a name or a clear alternative. It has evolved into a s ophisticated movement which has produced some of the most stable and widely used software packages ever produced. This paper traces the evolution of three operating systems: GNU, BSD, and Linux, as well as the communities which have evolved with these syst ems and some of the commonly -used software packages developed using the open source model. It also discusses some of the major figures in open source software, and defines both “free software” and “open source software.” Open Source Software: A History —page 1 Since 1998, the open source softw are movement has become a revolution in software development. However, the “revolution” in this rapidly changing field can actually trace its roots back at least 30 years. Open source software represents a different model of software distribution that wi th which many are familiar. Typically in the PC era, computer software has been sold only as a finished product, otherwise called a “pre - compiled binary” which is installed on a user’s computer by copying files to appropriate directories or folders.
    [Show full text]
  • Open Source Resources for Teaching and Research in Mathematics
    Open Source Resources for Teaching and Research in Mathematics Dr. Russell Herman Dr. Gabriel Lugo University of North Carolina Wilmington Open Source Resources, ICTCM 2008, San Antonio 1 Outline History Definition General Applications Open Source Mathematics Applications Environments Comments Open Source Resources, ICTCM 2008, San Antonio 2 In the Beginning ... then there were Unix, GNU, and Linux 1969 UNIX was born, Portable OS (PDP-7 to PDP-11) – in new “C” Ken Thompson, Dennis Ritchie, and J.F. Ossanna Mailed OS => Unix hackers Berkeley Unix - BSD (Berkeley Systems Distribution) 1970-80's MIT Hackers Public Domain projects => commercial RMS – Richard M. Stallman EMACS, GNU - GNU's Not Unix, GPL Open Source Resources, ICTCM 2008, San Antonio 3 History Free Software Movement – 1983 RMS - GNU Project – 1983 GNU GPL – GNU General Public License Free Software Foundation (FSF) – 1985 Free = “free speech not free beer” Open Source Software (OSS) – 1998 Netscape released Mozilla source code Open Source Initiative (OSI) – 1998 Eric S. Raymond and Bruce Perens The Cathedral and the Bazaar 1997 - Raymond Open Source Resources, ICTCM 2008, San Antonio 4 The Cathedral and the Bazaar The Cathedral model, source code is available with each software release, code developed between releases is restricted to an exclusive group of software developers. GNU Emacs and GCC are examples. The Bazaar model, code is developed over the Internet in public view Raymond credits Linus Torvalds, Linux leader, as the inventor of this process. http://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar Open Source Resources, ICTCM 2008, San Antonio 5 Given Enough Eyeballs ... central thesis is that "given enough eyeballs, all bugs are shallow" the more widely available the source code is for public testing, scrutiny, and experimentation, the more rapidly all forms of bugs will be discovered.
    [Show full text]
  • Section 1(Choose the Correct Answer)
    INFORMATION AND COMMUNICATION TECHNOLOGY STANDARD 9 Theory- First Terminal Examination Section 1(Choose the correct answer) 1.Which among the following is an open source image manipulation programme? a. photo shop b. gimp c. ktoon d. eye of gnome Answer : b. gimp 2.Which of the following tools in GIMP software can be used to merge various colours in a selected layer ? a. b. c. d. Answer : b. 3.The following are some tools in GIMP tool box. Which one among these is not a Transform tool? a. b. c. d. Answer: a. 4.Which among the following is a open source image manipulation programme? a. GNU b. GNOME c. GIMP d. Gcolor2 Answer: c.GIMP 5.Which among the following is the suitable extension (file format) for an image file? a. png b. html c. ods d. txt Answer: a. png 6.Given below is a tool in the toolbox of GIMP software. It is used to.......... a. select pictures b. add pictures c. merge various colours d. take copy of an image Answer : c. merge various colours 7. Given below is a tool in the toolbox of GIMP software. Name it. a. Smudge tool b. Scale tool c. Move tool d. Pencil tool Answer : c. Move tool 8.Given below is a tool in the toolbox of GIMP software. Name it. a. Scale tool b. transform tool c. flip tool d. rotate tool Answer : c. flip tool 9.Given below is a tool in the toolbox of GIMP software. It is used to............................ a. Add text b. zoom c.
    [Show full text]