Clojure for Beginners

Total Page:16

File Type:pdf, Size:1020Kb

Clojure for Beginners Clojure for Beginners Elango Cheran June 22, 2013 Clojure for Get ClojureI Beginners Elango Cheran Introduction Setup Overview Preview I Clojure (actually) implemented as a Java library Language Overview I Need standard (Sun/Oracle) Java 1.6+ - Clojure Basics & Comparisons http://www.oracle.com/technetwork/java/ Tabular comparisons Clojure Code Building javase/downloads/index.html Blocks I Clojure JAR downloads - Clojure Design http://clojure.org/downloads Ideas Conclusion I Can run the REPL (\interpreter") with Extras java -cp clojure-1.6.0.jar clojure.main Cascalog I Try Clojure - online vanilla REPL - http://tryclj.com/ Clojure for Get ClojureII Beginners Elango Cheran Introduction Setup Overview Preview I Leiningen - de facto build tool - Language http://leiningen.org/ Overview Clojure Basics & I New project - lein new <project name> Comparisons Tabular comparisons I Open a REPL - lein repl Clojure Code Building Blocks I The REPL from Leiningen maintains proj. libs Clojure Design (classpath), command history, built-in docs, etc. Ideas Conclusion I So easy that you don't notice Maven is underneath Extras I Light Table - evolving instant-feedback IDE - Cascalog http://www.lighttable.com/ Clojure for \Traditional" IDEs for ClojureI Beginners Elango Cheran Introduction Setup Overview I Emacs (!) Preview Language I Paredit mode - one unique advtange of Lisp syntax Overview Clojure Basics & I Imbalanced parenthases (& unclosed strings) no longer Comparisons Tabular comparisons possible Clojure Code Building Blocks I Editing code structure as natural as editing code Clojure Design I Integrated REPL, lightweight editor, etc. Ideas I Get Emacs 24 or later, and install emacs-starter-kit Conclusion I Eclipse + Counterclockwise Extras Cascalog I \Strict Structural Edit Mode" is steadily replicating Paredit mode I Vi, IntelliJ, etc. Clojure for \Traditional" IDEs for ClojureII Beginners Elango Cheran Introduction Setup Overview Preview Shortcuts to learn (and my configurations) Language Overview Clojure Basics & paredit-forward (C-M-f), paredit-backward (C-M-b), Comparisons Tabular comparisons paredit-forward-slurp-sexp (C-<right>), Clojure Code Building paredit-forward-barf-sexp (C-<left>), Blocks Clojure Design paredit-backward-slurp-sexp (C-M-<left>), Ideas paredit-backward (C-M-<right>), Conclusion paredit-backward (C-M-b), paredit-backward (C-M-b), Extras Cascalog paredit-split-sexp (M-S), and there's more . Clojure for What This Presentation Covers Beginners Elango Cheran Introduction Setup Overview Preview Language Overview Clojure Basics & I An introduction to Clojure Comparisons Tabular comparisons Clojure Code Building I A cursory comparison of Java, Clojure, Ruby, and Scala Blocks I Code snippets as needed Clojure Design Ideas I Explanation of design considerations Conclusion I Additional resources Extras Cascalog Clojure for Interesting Things Not Covered Beginners Elango Cheran Introduction Setup Overview Preview Language Overview Clojure Basics & Comparisons Tabular comparisons I ClojureScript Clojure Code Building Blocks I Specific DSLs & frameworks Clojure Design Ideas I Clojure's concurrency constructs & STM Conclusion Extras Cascalog Clojure for Overview of Presentation Beginners Elango Cheran Introduction Setup Overview Preview Language Overview Clojure Basics & Comparisons I Brief intro of Clojure dev tools Tabular comparisons Clojure Code Building I Brief comparison of languages w/ snippets Blocks Clojure Design I Explanation of main Clojure concepts Ideas Conclusion I Hands-on example(s) Extras Cascalog 2. Open, use, and close multiple system resources 3. Filter all lines of a file based on a reg. exp. 4. Read in a line, skip first line, take every 3rd Clojure for Teasers Beginners Elango Cheran Introduction Setup Overview Preview Language Overview Clojure Basics & Comparisons 1. Average all numbers in a list Tabular comparisons Clojure Code Building Blocks Clojure Design Ideas Conclusion Extras Cascalog 3. Filter all lines of a file based on a reg. exp. 4. Read in a line, skip first line, take every 3rd Clojure for Teasers Beginners Elango Cheran Introduction Setup Overview Preview Language Overview Clojure Basics & Comparisons 1. Average all numbers in a list Tabular comparisons Clojure Code Building 2. Open, use, and close multiple system resources Blocks Clojure Design Ideas Conclusion Extras Cascalog 4. Read in a line, skip first line, take every 3rd Clojure for Teasers Beginners Elango Cheran Introduction Setup Overview Preview Language Overview Clojure Basics & Comparisons 1. Average all numbers in a list Tabular comparisons Clojure Code Building 2. Open, use, and close multiple system resources Blocks Clojure Design 3. Filter all lines of a file based on a reg. exp. Ideas Conclusion Extras Cascalog Clojure for Teasers Beginners Elango Cheran Introduction Setup Overview Preview Language Overview Clojure Basics & Comparisons 1. Average all numbers in a list Tabular comparisons Clojure Code Building 2. Open, use, and close multiple system resources Blocks Clojure Design 3. Filter all lines of a file based on a reg. exp. Ideas 4. Read in a line, skip first line, take every 3rd Conclusion Extras Cascalog Clojure for Teaser #1 Beginners Elango Cheran I Idea: Average all numbers in a list Introduction I Java Setup // int[] nums = f8, 6, 7, 5, 3, 0, 9g; Overview Preview float average(int[] nums) f Language float sum = 0.0; Overview Clojure Basics & for(intx : nums) f Comparisons Tabular comparisons sum += x; Clojure Code Building g Blocks Clojure Design return sum / nums.length; Ideas g Conclusion Extras I Clojure Cascalog ; (def nums [8 6 7 5 3 0 9]) (defn average[nums] (/(reduce + nums)(count nums))) I All values in input Java array, etc. must be of same type I Unless you use an untyped Java collection ::: I ::: and pre-emptively cast to float Clojure for Teaser #2I Beginners Elango Cheran Introduction Setup I Idea: Open, use, and close multiple system resources Overview Preview I Java Language Sockets= new Socket("http://tryclj.com/", 80); Overview Clojure Basics & Comparisons OutputStream fos= new Tabular comparisons Clojure Code Building FileOutputStream("index copy.html"); Blocks PrintWriter out= new PrintWriter(fos); Clojure Design try f Ideas // do stuff... Conclusion g Extras finally f Cascalog out.close(); fos.close(); s.close(); g Clojure for Teaser #2II Beginners Elango Cheran Introduction Setup Overview I Clojure Preview (with-open [s(Socket. "http://tryclj.com" 80) Language fos(FileOutputStream. Overview Clojure Basics & "index copy.html") Comparisons Tabular comparisons out(PrintWriter. fos)] Clojure Code Building Blocks ;; do stuff Clojure Design ) Ideas Conclusion I The predictable parts: Extras I .close() Cascalog I Close in reverse order I A try-catch-finally block for clean I/O usage Clojure for Teaser #3 Beginners Elango Cheran I Idea: Filter all lines of a file based on a reg. exp. Introduction Setup I Java Overview BufferedReader br= new BufferedReader(new Preview Language FileReader(file)); Overview String line; Clojure Basics & Comparisons while ((line = br.readLine()) != null) f Tabular comparisons Clojure Code Building if (line.matches("nndf3g-nndf3g-nndf4g")) f Blocks System.out.println(line); Clojure Design Ideas g g Conclusion Extras br.close(); Cascalog I Clojure (with-open [br(BufferedReader. (clojure.java.io/reader file))] (doseq [line(line-seq br)] (when(re-matches#" ndf3g-ndf3g-ndf4g" line) (println line)))) Clojure for Teaser #4 Beginners Elango Cheran Introduction I Idea: Read in a line, skip first line, take every 3rd Setup Overview Preview I Java Language String line; Overview Clojure Basics & int counter = 0; Comparisons Tabular comparisons br.readLine(); // assume not EOF Clojure Code Building while ((line = br.readLine()) != null) f Blocks Clojure Design if (counter % 3 == 0) f Ideas System.out.println(line); Conclusion g Extras counter++; Cascalog g I Clojure (doseq [line(take-nth3(rest(line-seq br)))] (println line)) Clojure for REPL Beginners Elango Cheran Introduction Setup Overview I REPL = Read-Eval-Print Loop Preview Language I \Interactive interpreter" Overview Clojure Basics & Comparisons I user> 1 Tabular comparisons Clojure Code Building 1 Blocks user> 4.5 Clojure Design Ideas 4.5 Conclusion I Also try 22/7, ne, 10000000000000000000, first, str, +, Extras 2r10101010, "hello", Cascalog 0.000000000000000000000000314, [2 4 8], f"key""value"g Clojure for BindingsI Beginners Elango Cheran Introduction Setup I \binding" = assigning a value to a symbol Overview Preview I Clojure promotes alternative ways to manage state, and Language \variable" would be misleading Overview Clojure Basics & Comparisons I In general Tabular comparisons Clojure Code Building I Bindings are made at diff. times w.r.t. compiling (static Blocks / dynamic) Clojure Design Ideas I Bindings are made within a context (lexical / dynamic scope) Conclusion Extras I Clojure is dynamic (uses dynamic bindings) Cascalog I Clojure promotes lexical scoping, allows easy dynamic scoping I You can \hot swap" live code I Lexical scope + a function = a closure Clojure for BindingsII Beginners Elango Cheran I Clojure Introduction Setup user> (def a 3) Overview Preview #'user/a Language user> a Overview Clojure Basics & Comparisons 3 Tabular comparisons Clojure Code Building user> (def b 5) Blocks #'user/b Clojure Design Ideas user> b Conclusion 5 Extras Cascalog I Java inta = 3; a; intb = 5; b; Clojure for Bindings III Beginners Elango Cheran I Ruby irb(main):001:0> a = 3 Introduction Setup 3 Overview irb(main):002:0>
Recommended publications
  • Clojure.Core 12
    clojure #clojure 1 1: Clojure 2 2 2 Examples 3 3 1 : Leiningen 3 3 OS X 3 Homebrew 3 MacPorts 3 Windows 3 2 : 3 3 : 4 ", !" REPL 4 4 ", !" 4 ( ) 5 2: clj-time 6 6 Examples 6 6 - 6 6 6 joda - 7 - - 7 3: Clojure destructuring 8 Examples 8 8 8 9 9 9 fn params 9 10 10 : 10 Key 10 . 11 4: clojure.core 12 12 Examples 12 12 Assoc - / 12 Clojure 12 Dissoc - 13 5: clojure.spec 14 14 14 Examples 14 14 fdef : 14 14 clojure.spec / & clojure.spec / 15 15 16 16 18 6: clojure.test 19 Examples 19 ~. 19 19 deftest 19 20 . 20 Leiningen 20 7: core.async 22 Examples 22 : , , , . 22 chan 22 >!! >!! >! 22 <!! <!! 23 23 put! 24 take! 24 24 8: core.match 26 26 Examples 26 26 26 26 26 9: Java interop 27 27 27 Examples 27 Java 27 Java 27 Java 27 27 Clojure 28 10: 29 29 29 Examples 29 29 11: 30 Examples 30 30 30 31 IntelliJ IDEA + 31 Spacemacs + CIDER 31 32 12: 33 Examples 33 33 . 33 33 34 34 34 34 34 35 35 13: 36 36 36 Examples 36 36 36 14: 38 38 38 Examples 38 38 15: 39 39 Examples 39 (- >>) 39 (->) 39 (as->) 39 16: 40 40 Examples 40 40 40 40 17: 41 Examples 41 http-kit 41 Luminus 41 42 42 42 18: CIDER 43 43 Examples 43 43 43 19: 45 Examples 45 45 45 20: 46 46 Examples 46 46 46 48 52 55 58 21: 63 Examples 63 & 63 22: 64 64 64 Examples 64 64 64 / 65 23: 66 Examples 66 66 : 66 67 You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: clojure It is an unofficial and free clojure ebook created for educational purposes.
    [Show full text]
  • EHR Usability Test Report of Pediatricxpress, Version 20
    Page | 1 EHR Usability Test Report of PediatricXpress, Version 20 Report based on ISO/IEC 25062:2006 Common Industry Format for Usability Test Reports Date of Usability Test: January 30, 2019 – February 8, 2019 Date of Report: February 11, 2019 (updated 10/28/20) Report Prepared by: PhysicianXpress, Inc. Vene Quezada, Product Specialist [email protected] 877-366-7331 409 2nd Avenue, Suite 201 Collegeville, PA 19426 Page | 2 Table of Contents 1 EXECUTIVE SUMMARY 3 2 INTRODUCTION 10 3 METHOD 10 3.1 PARTICIPANTS 10 3.2 STUDY DESIGN 12 3.3 TASKS 13 3.4 RISK ASSESSMENT 1 4 3.4 PROCEDURE 15 3.5 TEST LOCATION 16 3.6 TEST ENVIRONMENT 16 3.7 TEST FORMS AND TOOLS 17 3.8 PARTICIPANT INSTRUCTIONS 17 3.9 USABILITY METRICS 19 3.10 DATA SCORING 20 4 RESULTS 21 4.1 DATA ANALYSIS AND REPORTING 21 4.2 DISCUSSION OF THE FINDINGS 25 5 APPENDICES 29 5.1 Appendix 1: Participant Demographics 30 5.2 Appendix 2: Informed Consent Form 31 5.3 Appendix 3: Example Moderator’s guide 32 5.4 Appendix 4: System Usability Scale questionnaire 43 5.5 Appendix 5: Acknowledgement Form 44 Page | 3 EXECUTIVE SUMMARY A usability test of PediatricXpress, version 20, ambulatory E.H.R. was conducted on selected features of the PediatricXpress version 20 E.H.R. as part of the Safety- Enhanced Design requirements outlined in 170.315(g)(3) between January 30th , 2019 and February 8, 2019 at 409 2nd Avenue, Collegeville, PA 19426. The purpose of this testing was to test and validate the usability of the current user interface and provide evidence of usability in the EHR Under Test (EHRUT).
    [Show full text]
  • How to Communicate with Developers
    How to Communicate with Developers Employer branding, job listings, and emails that resonate with a tech audience Developers are one of the most in-demand groups of employees these days. And guess what, they noticed this as well: Countless approaches by potential employers, sometimes several messages a day through Linkedin, and a few desperate recruiters even cold calling. So those with technical talents are by no means oblivious to the talent shortage. The good news is that they don’t just use this bargaining power to simply negotiate the highest salaries and most outrageous benefits. Instead, developers are intrinsically motivated. They are looking for the right place to work. Your challenge in this noisy jobs market is to clearly communicate what defines your employer brand, what work needs doing, and, ultimately, who might be the right fit for the role. All of this is easier said than done. Because tech recruiting is a complex business, it is easy to not see the forest for the trees. This guide will help you decide where to start or what to fix next. In the first and more general part, we would like you to take a step back. Before we even think about how to package our job opening and approach a candidate with our offer, we look at what information and knowledge you should gather about your tech team and the company at large. Following that, we will take a practical look at how to write and talk about your company and the role, with a special focus on the job listings and a recruiting emails as a first introduction.
    [Show full text]
  • Thematic Cycle 2: Software Development Table of Contents
    THEMATIC CYCLE 2: SOFTWARE DEVELOPMENT THEMATIC CYCLE 2: SOFTWARE DEVELOPMENT TABLE OF CONTENTS 1. SDLC (software development life cycle) tutorial: what is, phases, model -------------------- 4 What is Software Development Life Cycle (SDLC)? --------------------------------------------------- 4 A typical Software Development Life Cycle (SDLC) consists of the following phases: -------- 4 Types of Software Development Life Cycle Models: ------------------------------------------------- 6 2. What is HTML? ----------------------------------------------------------------------------------------------- 7 HTML is the standard markup language for creating Web pages. -------------------------------- 7 Example of a Simple HTML Document---------------------------------------------------------------- 7 Exercise: learn html using notepad or textedit ---------------------------------------------------- 11 Example: ---------------------------------------------------------------------------------------------------- 13 The <!DOCTYPE> Declaration explained ------------------------------------------------------------ 13 HTML Headings ---------------------------------------------------------------------------------------------- 13 Example: ---------------------------------------------------------------------------------------------------- 13 HTML Paragraphs ------------------------------------------------------------------------------------------- 14 Example: ----------------------------------------------------------------------------------------------------
    [Show full text]
  • Volume 56 September, 2011
    Volume 56 September, 2011 Openbox Live CDs: A Comparison Openbox: Add A Quick Launch Bar Openbox: Customize Your Window Themes Game Zone: FarmVille, FrontierVille, Pioneer Trail & Other Zynga Games Photo Viewers Galore, Part 5 Using Scribus, Part 9: Tips & Tricks Alternate OS: NetBSD, Part 1 WindowMaker On PCLinuxOS: Workspace Options More Firefox Add­ons Type In Multiple Languages With SCIM Forum Family & Friends: mmesantos1 & LKJ And more inside! TTaabbllee OOff CCoonntteennttss 3 Welcome From The Chief Editor 4 Openbox Live CDs: A Comparison 6 Screenshot Showcase 7 More Firefox Add­ons The PCLinuxOS name, logo and colors are the trademark of 9 Openbox: Add A Quick Launch Bar Texstar. 14 Screenshot Showcase The PCLinuxOS Magazine is a monthly online publication containing PCLinuxOS­related materials. It is published 15 Double Take & Mark's Quick Gimp Tip primarily for members of the PCLinuxOS community. The 16 ms_meme's Nook: Bye, Bye Windows magazine staff is comprised of volunteers from the PCLinuxOS community. 17 Forum Family & Friends: mmesantos1 & LKJ Visit us online at http://www.pclosmag.com 19 What Is The Difference Between GNOME, KDE, Xfce & LXDE? 25 Openbox: Customize Your Window Themes This release was made possible by the following volunteers: 26 Screenshot Showcase Chief Editor: Paul Arnote (parnote) Assistant Editors: Meemaw, Andrew Strick (Stricktoo) 27 Using Scribus, Part 9: Tips & Tricks Artwork: Sproggy, Timeth, ms_meme, Meemaw Magazine Layout: Paul Arnote, Meemaw, ms_meme 31 Photo Viewers Galore, Part 5 HTML Layout: Sproggy 35 Game Zone: Farmville, FrontierVille, Pioneer Trail Staff: Neal Brooks ms_meme And Other Zynga Games Galen Seaman Mark Szorady 37 Screenshot Showcase Patrick Horneker Darrel Johnston Guy Taylor Meemaw 38 Alternate OS: NetBSD, Part 1 Andrew Huff Gary L.
    [Show full text]
  • The Loma Prieta (Santa Cruz Mountains), California, Earthquake of 17 October 1989
    SPECIAL PUBLICATION 104 PHYSICAL SCIENCES | LIBRARY UC DA I CALIFORNIA DEPARTMENT OF CONSERVATION D Division of Mines and Geology ( THE RESOURCES AGENCY STATE OF CALIFORNIA DEPARTMENT OF CONSERVATION GORDON K. VAN VLECK GEORGE DEUKMEJIAN RANDALL M.WARD SECRETARY FOR RESOURCES GOVERNOR DIRECTOR DIVISION OF MINES AND GEOLOGY JAMES F. DAVIS STATE GEOLOGIST Cover Photo: View to the south of Hazel Dell Road, located in the Santa Cruz Mountains about 8.5 kilometers north of Watsonville. The large fissures in the road were caused by lateral spreading due to lique- faction of saturated sediments in Simas Lake and intense shaking associated with the fVL 7.1 Loma Prieta earthquake (note leaning telephone pole). Simas Lake, located just west of Hazel Dell Road, is a closed depression formed by recurring surface fault rupture along the San Andreas fault. Photo by W. A. Bryant, 10/18/89. irf . y//V THE LOMA PRIETA (SANTA CRUZ MOUNTAINS), CALIFORNIA, EARTHQUAKE OF 17 OCTOBER 1989 Edited by Stephen R. McNutt and Robert H. Sydnor Special Publication 104 1990 Department of Conservation Division of Mines and Geology 1416 Ninth Street, Room 1341 Sacramento, CA 95814 3 .- v«^ 1 '" ''* * * .' C3Mte* it Si J r- f %lti' i--' /J '-%J. #• 1 CONTENTS INTRODUCTION v Stephen R. McNult and Robert H. Sydnor SECTION I. The Earthquake \ Geologic and Tectonic Setting of the Epicentral Area of the Loma Prieta Earthquake, Santa Cruz Mountains, Central California 1 David L. Wagner Seismological Aspects of the 17 October 1989 Earthquake 1 Stephen R. McNutt and Tousson R. Toppozada SECTION II. Earthquake Effects Strong Ground Shaking from the Loma Prieta Earthquake of 17 October 1989 and Its Relation to Near Surface Geology in the Oakland Area 29 Anthony F.
    [Show full text]
  • Vysoké Učení Technické V Brně Technologie Electron Pro Vývoj Desktopo- Vých Aplikací
    VYSOKÉ UČENÍ TECHNICKÉ V BRNĚ BRNO UNIVERSITY OF TECHNOLOGY FAKULTA INFORMAČNÍCH TECHNOLOGIÍ FACULTY OF INFORMATION TECHNOLOGY ÚSTAV POČÍTAČOVÉ GRAFIKY A MULTIMÉDIÍ DEPARTMENT OF COMPUTER GRAPHICS AND MULTIMEDIA TECHNOLOGIE ELECTRON PRO VÝVOJ DESKTOPO- VÝCH APLIKACÍ ELECTRON TECHNOLOGY FOR DESKTOP APPLICATIONS DEVELOPMENT BAKALÁŘSKÁ PRÁCE BACHELOR’S THESIS AUTOR PRÁCE JÚLIA ŠČENSNÁ AUTHOR VEDOUCÍ PRÁCE Ing. FILIP ORSÁG, Ph.D. SUPERVISOR BRNO 2017 Abstrakt Práca sa zaoberá vývojom desktopových aplikácií založených na webových technológiách. Tieto aplikácie budú určené pre beh na majoritných operačných systémoch na trhu, kon- krétne Windows, Linux a macOS. Cieľom práce je preskúmanie technológií, ktoré takýto vývoj ponúkajú a následný výber niekoľkých technológií pre ďalšiu prácu, čo zahŕňa aj implementáciu aplikácií. Následne je popísané porovnanie aplikácií a ich testovanie. Vý- sledkom práce sú implementované aplikácie a ich porovnanie na základe možností, ktoré poskytujú. Abstract The thesis is focused on development of desktop applications based on web technologies. These applications are determined to run on major operation systems on the market, na- mely Windows, Linux and MacOS. The aim of this thesis is to examine technologies that offer this development and to select some of the technologies for future work that includes implementation of applications into selected technologies. At the end, the thesis describes comparison of applications and their testing. The results of this work are implemented applications and their comparison on basis of possibilities they provide. Kľúčové slová JavaScript, HTML, CSS, multiplatformná aplikácia, desktopová aplikácia, Electron, NW.js, Haxe, Webkit, webové technológie, REST Keywords JavaScript, HTML, CSS, cross-platform application, desktop application, Electron, NW.js, Haxe, Webkit, web technology, REST Citácia ŠČENSNÁ, Júlia.
    [Show full text]
  • DBSWIN 5.16 Dental Imaging Software Installation and Operating
    DBSWIN 5.16 Dental Imaging Software Installation and Operating Instructions 0297 Contents 1. General 4 5. Light table 52 11 Symbols used 4 51 General 52 12 Classification 4 52 Global image search ����������������������� 52 13 Indications for use 4 53 Functions ��������������������������������������� 53 14 Intended use 5 6. Video 68 15 Improper use 5 61 General 68 16 Side effects 5 62 Functions ��������������������������������������� 68 17 Specialist personnel ������������������������� 5 7. X-rays ��������������������������������������������������� 72 18 Registration 5 71 Functions – Single images using 19 Storage of the data storage device ��� 5 ScanX 73 110 Safety 6 72 Functions – Single images using 111 Notification requirement of seri- Provecta 81 ous incidents ����������������������������������� 6 73 Functions – Serial images using 112 Data backup before installation 6 ScanX 86 113 Effect on the computer 6 74 Analysis of X-ray images ����������������� 89 114 Protection from threats from the 75 What to do after a PC crash ����������� 92 Internet ������������������������������������������� 6 76 X-Ray report (X-ray menu) 93 115 Copyright and property rights information 6 8.
    [Show full text]
  • Getting Started with the Open Dylan Command Line Tools Release 1.0
    Getting Started with the Open Dylan Command Line Tools Release 1.0 Dylan Hackers Sep 04, 2020 CONTENTS 1 Copyright 3 2 Hello World 5 3 Using Source Registries 7 4 Adding New Libraries 9 4.1 Adding a Git Submodule.........................................9 4.2 Updating a Git Submodule........................................9 4.3 Setting Up Registry Entries....................................... 10 4.4 Transitive Dependencies......................................... 10 5 A Few More Quick Tips 11 6 Using dylan-compiler interactively 13 7 An example of dylan-environment interactive functionality 15 8 Editor Support 17 8.1 Atom................................................... 17 8.2 Code Mirror............................................... 17 8.3 Emacs.................................................. 17 8.4 IntelliJ.................................................. 17 8.5 Light Table................................................ 17 8.6 Sublime Text............................................... 18 8.7 Textmate................................................. 18 8.8 Vim.................................................... 18 9 Dylan Interactor Mode for Emacs (DIME) 19 10 Debugging with GDB or LLDB 21 10.1 Which compiler back-end are you using?................................ 21 10.2 Debugging with the C back-end..................................... 21 10.3 Debugging with the HARP back-end.................................. 26 11 Notes for Windows Users 27 11.1 dylan-compiler.............................................. 27 11.2 Build Products
    [Show full text]
  • Towards Liveness in Game Development
    Towards Liveness in Game Development Andrew R Martin1 and Simon Colton1;2 1Game AI Research Group, Queen Mary University of London, UK 2 SensiLab, Faculty of IT, Monash University, Australia [email protected] Abstract—In general, videogame development is a difficult which could go on indefinitely. In contrast, it would be trivial and specialist activity. We believe that providing an immediate to hit the same target using a water hose, simply by moving feedback cycle (liveness) in the software used to develop games the hose until the water hits it. In 2012, Bret Victor gave a may enable greater productivity, creativity and enjoyment for both professional and amateur creators. presentation entitled Inventing on Principle [2], in which he There are many different methods for achieving interactivity advocated for tools which provide an immediate connection and immediate feedback in software development, including between creators and the things they create. This presentation read-eval-print loops, edit-and-continue debuggers and dataflow included a highly influential demonstration of a game devel- programming environments. These approaches have each found opment tool, portrayed in figure 1. The presentation inspired success in domains they are well-suited to, but games are particularly challenging due to their interactivity and strict many research projects in academia and industry, such as Ap- performance requirements. We discuss here the applicability of ple’s Swift Playgrounds (apple.com/uk/swift/playgrounds) and some of these ideas to game development, and then outline a Chris Granger’s Light Table (chris-granger.com/lighttable), proposal for a live programming model suited to the unique which crowdfunded investment from more than 7,000 backers.
    [Show full text]
  • Image Scout 2020 Release Guide
    Release Guide Release Guide Image Scout 2020 Version 16.6 15 October 2019 Contents About This Release ........................................................................................................................ 7 Image Scout .................................................................................................................................... 7 New Technology ............................................................................................................................. 8 GEOMEDIA PROFESSIONAL .................................................................................................... 8 New Platforms ......................................................................................................................... 8 Oracle .................................................................................................................................... 8 SQL Server ............................................................................................................................ 8 PostGIS .................................................................................................................................. 8 Impacts (16.5 Update 1) .......................................................................................................... 8 Data Access ........................................................................................................................... 8 Oracle Data Server ...........................................................................................................
    [Show full text]
  • ITC Lab Software List
    ITC Lab Software List This list contains the software available on ITC Lab machines as of Spring 2017. It is categorized by operating system; a brief description of the software is available as well. Table of Contents Windows-only ................................................................................................................................. 2 Linux-only ........................................................................................................................................ 6 Both ............................................................................................................................................... 11 1 Windows-only 7-Zip: file archiver ActivePerl: commercial version of the Perl scripting language ActiveTCL: TCL distribution Adobe Acrobat Reader: PDF reading and editing software Adobe Creative Suite: graphic art, web, video, and document design programs • Animate • Audition • Bridge • Dreamweaver • Edge Animate • Fuse • Illustrator • InCopy • InDesign • Media Encoder • Muse • Photoshop • Prelude • Premiere • SpeedGrade ANSYS: engineering simulation software ArcGIS: mapping software Arena: discrete event simulation Autocad: CAD and drafting software Avogadro: molecular visualization/editor CDFplayer: software for Computable Document Format files ChemCAD: chemical process simulator • ChemDraw 2 Chimera: molecular visualization CMGL: oil/gas reservoir simulation software Cygwin: approximate Linux behavior/functionality on Windows deltaEC: simulation and design environment for thermoacoustic
    [Show full text]