[%]%async_run. an IPython notebook* magic for asynchronous (code) cell execution. Valerio Maggio Researcher

Size: px
Start display at page:

Download "[%]%async_run. an IPython notebook* magic for asynchronous (code) cell execution. Valerio Maggio Researcher"

Transcription

1 [%]%async_run an IPython notebook* magic for asynchronous (code) cell execution Valerio Maggio

2 Premises

3 Jupyter Notebook

4 Jupyter Notebook

5 Jupyter Notebook Example Multiple Kernels

6 Currently in Use at

7

8 Jupyter Architecture Notebook Document Format Jupyter Notebooks are an open document format based on JSON. They contain a complete record of the user's sessions and embed code, narrative text, equations and rich output. Interactive Computing Protocol The Notebook communicates with computational Kernels using the Interactive Computing Protocol, an open network protocol based on JSON data over ZMQ and WebSockets. The Kernel Kernels are processes that run interactive code in a particular programming language and return output to the user. Kernels also respond to tab completion and introspection requests.

9 >50 Kernels github.com/ipython/ipython/wiki/ipython-kernels-for-other-languages

10 Reproducible Research

11 Motivations Sometimes it may be required to apply for heavy computations computationally intensive code cells Moreover, sometimes may be required that this computation is actually executed on a remote server machine reminder: Jupyter Notebook Server In the general case, this could work but since

12 Anything that can possibly go wrong, does. Murphy s Law, 1952

13 Main Goal Try to define a strategy to cope with this kind of situation keeping the following requirements in mind: Allow the execution on a remote machine (also) Avoid the client machine to busy waiting Keep the interactivity of the notebook as much as possible

14

15 [%]%async_run an IPython notebook* magic for asynchronous (code) cell execution What I learned during my adventures in the world of Jupyter, Multiprocessing and Asynchronous I/O

16 Jupyter Ecosystem

17

18

19 [%]%async_run an IPython notebook* magic for asynchronous (code) cell execution What I learned during my adventures in the world of Jupyter, Multiprocessing and Asynchronous I/O

20 IPython Magics (since IPython 3.x) IPython has a system of commands we call magics provide effectively a mini command language that is orthogonal to the syntax of Python easily extensible by the user with new commands. Magics are meant to be typed interactively i.e. command-line conventions e.g. whitespace for separating arguments, dashes for options. Magics come in two kinds: Line magics: prepended by one % character Cell magics: two percent characters as a marker (%%)

21 [%]%timeit Line Magic Cell Magic

22 Activate matplotlib inline-backend to have charts displayed inline with notebook cells

23 Custom Magics: how to

24

25

26

27 Notebook Data Format

28 Notebook Data Format

29

30

31

32

33 Back to our issue to solve Anything that can possibly go wrong, does. Murphy s Law, 1952

34 Why that?

35 First Idea (very early stage) run the heavy computation using the write API to add a new cell to the notebook and that s it. Drawbacks: No interactivity No way to auto-refresh the content y to check for existing

36 Try to see if there s any already existing solution to this! Take away: avoid reinventing the wheel!

37 %run to the rescue (?) ipython.org/ipython-doc/3/interactive/magics.html#magic-run

38 %run

39

40 Test in the notebook

41 A bit more complicated

42 test it! Blocking Call No interactivity

43 runipy to the rescue (?)

44 runipy to the rescue (?)

45 A closer look

46 A closer look

47 Notebook Runner

48 runipy features (+) Notebook APIs (+) Kernel Protocol Messaging (+) Support for multiple document formats nbformat.versions (-) No interactivity (-) No support for online/non-blocking execution (~) No support for multi-processing

49 Idea: try to borrow some code from runipy and re-implement it as an IPython Magic (w/ steroids)

50

51 But if you : Hangs on protocol communication and it has no link with the current shell

52

53 [%]%async_run an IPython notebook* magic for asynchronous (code) cell execution What I learned during my adventures in the world of Jupyter, Multiprocessing and Asynchronous I/O

54 IPython is based on Tornado!

55 Reference

56

57

58

59 Client-side

60

61

62

63 Limitations and Future Works Pickle/JSON Serialisation Dependency Major Flaw of Python Multiprocessing Module Try to use dill multiprocessing* Improve the infrastructure to handle errors not really handled yet apart from IPython/JS Integration

64 Not going to be any demo Due to aforementioned Murphy s Laws :P

65 Thanks a lot for your kind valeriomaggio@gmail.com +ValerioMaggio it.linkedin.com/in/valeriomaggio

LECTURE 22. Numerical and Scientific Computing Part 2

LECTURE 22. Numerical and Scientific Computing Part 2 LECTURE 22 Numerical and Scientific Computing Part 2 MATPLOTLIB We re going to continue our discussion of scientific computing with matplotlib. Matplotlib is an incredibly powerful (and beautiful!) 2-D

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer i About the Tutorial Project is a comprehensive software suite for interactive computing, that includes various packages such as Notebook, QtConsole, nbviewer, Lab. This tutorial gives you an exhaustive

More information

Data Formats. for Data Science. Valerio Maggio Data Scientist and Researcher Fondazione Bruno Kessler (FBK) Trento, Italy.

Data Formats. for Data Science. Valerio Maggio Data Scientist and Researcher Fondazione Bruno Kessler (FBK) Trento, Italy. Data Formats for Data Science Valerio Maggio Data Scientist and Researcher Fondazione Bruno Kessler (FBK) Trento, Italy @leriomaggio About me kidding, that s me!-) Post Doc Researcher @ FBK Complex Data

More information

JUPYTER (IPYTHON) NOTEBOOK CHEATSHEET

JUPYTER (IPYTHON) NOTEBOOK CHEATSHEET JUPYTER (IPYTHON) NOTEBOOK CHEATSHEET About Jupyter Notebooks The Jupyter Notebook is a web application that allows you to create and share documents that contain executable code, equations, visualizations

More information

UI and Python Interface

UI and Python Interface UI and Python Interface Koichi Murakami (KEK) Geant4 Collaboration Meeting 2017 27 September 2017 22ND GEANT4 COLLABORATION MEETING 1 Important fix in UI : BZ1989 (2006) Symptom : In UI terminal, PreInit>

More information

Notebooks for documenting work-flows

Notebooks for documenting work-flows C. Troupin, A. Barth C. Muñoz, S. Watelet, & J.-M. Beckers GHER-University of Liège Balearic Islands Coastal Ocean Observing and Forecasting System Notebooks for documenting work-flows Motivation Reproducibility

More information

DATA FORMATS FOR DATA SCIENCE Remastered

DATA FORMATS FOR DATA SCIENCE Remastered Budapest BI FORUM 2016 DATA FORMATS FOR DATA SCIENCE Remastered Valerio Maggio @leriomaggio Data Scientist and Researcher Fondazione Bruno Kessler (FBK) Trento, Italy WhoAmI Post Doc Researcher @ FBK Interested

More information

Jupyter and Spark on Mesos: Best Practices. June 21 st, 2017

Jupyter and Spark on Mesos: Best Practices. June 21 st, 2017 Jupyter and Spark on Mesos: Best Practices June 2 st, 207 Agenda About me What is Spark & Jupyter Demo How Spark+Mesos+Jupyter work together Experience Q & A About me Graduated from EE @ Tsinghua Univ.

More information

1. BASICS OF PYTHON. JHU Physics & Astronomy Python Workshop Lecturer: Mubdi Rahman

1. BASICS OF PYTHON. JHU Physics & Astronomy Python Workshop Lecturer: Mubdi Rahman 1. BASICS OF PYTHON JHU Physics & Astronomy Python Workshop 2017 Lecturer: Mubdi Rahman HOW IS THIS WORKSHOP GOING TO WORK? We will be going over all the basics you need to get started and get productive

More information

AUTHORS: FERNANDO PEREZ BRIAN E GRANGER (IEEE 2007) PRESENTED BY: RASHMISNATA ACHARYYA

AUTHORS: FERNANDO PEREZ BRIAN E GRANGER (IEEE 2007) PRESENTED BY: RASHMISNATA ACHARYYA I A system for Interactive Scientific Computing AUTHORS: FERNANDO PEREZ BRIAN E GRANGER (IEEE 2007) PRESENTED BY: RASHMISNATA ACHARYYA Key Idea and Background What is Ipython? Why Ipython? How, when and

More information

Scientific computing platforms at PGI / JCNS

Scientific computing platforms at PGI / JCNS Member of the Helmholtz Association Scientific computing platforms at PGI / JCNS PGI-1 / IAS-1 Scientific Visualization Workshop Josef Heinen Outline Introduction Python distributions The SciPy stack Julia

More information

Enhanced Model Deployment in GAMS

Enhanced Model Deployment in GAMS Enhanced Model Deployment in GAMS Using R/Shiny to deploy and visualize GAMS models in a Web Interface Lutz Westermann Frederik Proske GAMS Software GmbH GAMS Development Corp. GAMS Software GmbH www.gams.com

More information

The Python interpreter

The Python interpreter The Python interpreter Daniel Winklehner, Remi Lehe US Particle Accelerator School (USPAS) Summer Session Self-Consistent Simulations of Beam and Plasma Systems S. M. Lund, J.-L. Vay, D. Bruhwiler, R.

More information

SAS and Python: The Perfect Partners in Crime

SAS and Python: The Perfect Partners in Crime Paper 2597-2018 SAS and Python: The Perfect Partners in Crime Carrie Foreman, Amadeus Software Limited ABSTRACT Python is often one of the first languages that any programmer will study. In 2017, Python

More information

Jupyter and TMVA. Attila Bagoly (Eötvös Loránd University, Hungary) Mentors: Sergei V. Gleyzer Enric Tejedor Saavedra

Jupyter and TMVA. Attila Bagoly (Eötvös Loránd University, Hungary) Mentors: Sergei V. Gleyzer Enric Tejedor Saavedra Jupyter and TMVA Attila Bagoly (Eötvös Loránd University, Hungary) Mentors: Sergei V. Gleyzer Enric Tejedor Saavedra 1 Motivation Jupyter notebook: Interactive coding environment Document: HTML, Markdown

More information

Getting started with the Spyder IDE

Getting started with the Spyder IDE Getting started with the Spyder IDE Claudius Gräbner 1,2 1 Johannes Kepler University 2 ZOE. Institute for Future-Fit Economies Version 1.0 of July 18, 2018 Abstract Here I provide you with some basic

More information

OpenDreamKit. Computational environments for research and education Min Ragan-Kelley. Simula Research Lab

OpenDreamKit. Computational environments for research and education Min Ragan-Kelley. Simula Research Lab OpenDreamKit Computational environments for research and education Min Ragan-Kelley Simula Research Lab OpenDreamKit H2020 project Virtual Research Environments 16 Institutions Generic (Jupyter, SageMath)

More information

QUICK EXCEL TUTORIAL. The Very Basics

QUICK EXCEL TUTORIAL. The Very Basics QUICK EXCEL TUTORIAL The Very Basics You Are Here. Titles & Column Headers Merging Cells Text Alignment When we work on spread sheets we often need to have a title and/or header clearly visible. Merge

More information

Scientific Python. 1 of 10 23/11/ :00

Scientific Python.   1 of 10 23/11/ :00 Scientific Python Neelofer Banglawala Kevin Stratford nbanglaw@epcc.ed.ac.uk kevin@epcc.ed.ac.uk Original course authors: Andy Turner Arno Proeme 1 of 10 23/11/2015 00:00 www.archer.ac.uk support@archer.ac.uk

More information

Python ecosystem for scientific computing with ABINIT: challenges and opportunities. M. Giantomassi and the AbiPy group

Python ecosystem for scientific computing with ABINIT: challenges and opportunities. M. Giantomassi and the AbiPy group Python ecosystem for scientific computing with ABINIT: challenges and opportunities M. Giantomassi and the AbiPy group Frejus, May 9, 2017 Python package for: generating input files automatically post-processing

More information

Using jupyter notebooks on Blue Waters. Roland Haas (NCSA / University of Illinois)

Using jupyter notebooks on Blue Waters.   Roland Haas (NCSA / University of Illinois) Using jupyter notebooks on Blue Waters https://goo.gl/4eb7qw Roland Haas (NCSA / University of Illinois) Email: rhaas@ncsa.illinois.edu Jupyter notebooks 2/18 interactive, browser based interface to Python

More information

Final Project Writeup

Final Project Writeup Jitu Das Bertha Lam 15-418 Final Project Writeup Summary We built a framework that facilitates running computations across multiple GPUs and displaying results in a web browser. We then created three demos

More information

Lecture 3: Processing Language Data, Git/GitHub. LING 1340/2340: Data Science for Linguists Na-Rae Han

Lecture 3: Processing Language Data, Git/GitHub. LING 1340/2340: Data Science for Linguists Na-Rae Han Lecture 3: Processing Language Data, Git/GitHub LING 1340/2340: Data Science for Linguists Na-Rae Han Objectives What do linguistic data look like? Homework 1: What did you process? How does collaborating

More information

As I begin to write this, I m returning on the plane from PyCon 2013,

As I begin to write this, I m returning on the plane from PyCon 2013, DAVID BEAZLEY David Beazley is an open source developer and author of the Python Essential Reference (4th Edition, Addison-Wesley, 2009) and Python Cookbook (3rd Edition, O Reilly & Associates, 2013).

More information

Certified Data Science with Python Professional VS-1442

Certified Data Science with Python Professional VS-1442 Certified Data Science with Python Professional VS-1442 Certified Data Science with Python Professional Certified Data Science with Python Professional Certification Code VS-1442 Data science has become

More information

KNIME Python Integration Installation Guide. KNIME AG, Zurich, Switzerland Version 3.7 (last updated on )

KNIME Python Integration Installation Guide. KNIME AG, Zurich, Switzerland Version 3.7 (last updated on ) KNIME Python Integration Installation Guide KNIME AG, Zurich, Switzerland Version 3.7 (last updated on 2019-02-05) Table of Contents Introduction.....................................................................

More information

Python for Data Analysis

Python for Data Analysis Python for Data Analysis Wes McKinney O'REILLY 8 Beijing Cambridge Farnham Kb'ln Sebastopol Tokyo Table of Contents Preface xi 1. Preliminaries " 1 What Is This Book About? 1 Why Python for Data Analysis?

More information

CDIS Biomedical Data Commons

CDIS Biomedical Data Commons CDIS Biomedical Data Commons Computational Life Science Seminar Series October 18, 2017 Michael Fitzsimons Center for Data Intensive Science Agenda What is a Data Commons? Data Commons at CDIS NCI GDC

More information

Introduction to Computer Vision Laboratories

Introduction to Computer Vision Laboratories Introduction to Computer Vision Laboratories Antonino Furnari furnari@dmi.unict.it www.dmi.unict.it/~furnari/ Computer Vision Laboratories Format: practical session + questions and homeworks. Material

More information

This document (including, without limitation, any product roadmap or statement of direction data) illustrates the planned testing, release and

This document (including, without limitation, any product roadmap or statement of direction data) illustrates the planned testing, release and Serverless Integration Powered by Flogo and Lambda Leon Stigter Developer Advocate TIBCO 2 Abstract No matter the metric, "serverless" is definitely gaining interest. It s the dream of every developer,

More information

What is Standard APEX? TOOLBOX FLAT DESIGN CARTOON PEOPLE

What is Standard APEX? TOOLBOX FLAT DESIGN CARTOON PEOPLE What is Standard APEX? TOOLBOX FLAT DESIGN CARTOON PEOPLE About me Freelancer since 2010 Consulting and development Oracle databases APEX BI Blog: APEX-AT-WORK Twitter: @tobias_arnhold - Oracle ACE Associate

More information

(Ca...

(Ca... 1 of 8 9/7/18, 1:59 PM Getting started with 228 computational exercises Many physics problems lend themselves to solution methods that are best implemented (or essentially can only be implemented) with

More information

COMP 364: Computer Tools for Life Sciences

COMP 364: Computer Tools for Life Sciences COMP 364: Computer Tools for Life Sciences Using libraries: NumPy & Data visualization with MatPlotLib Christopher J.F. Cameron and Carlos G. Oliver 1/27 Key course information Midterm I how was it? too

More information

Index. Bessel function, 51 Big data, 1. Cloud-based version-control system, 226 Containerization, 30 application, 32 virtualize processes, 30 31

Index. Bessel function, 51 Big data, 1. Cloud-based version-control system, 226 Containerization, 30 application, 32 virtualize processes, 30 31 Index A Amazon Web Services (AWS), 2 account creation, 2 EC2 instance creation, 9 Docker, 13 IP address, 12 key pair, 12 launch button, 11 security group, 11 stable Ubuntu server, 9 t2.micro type, 9 10

More information

callgraph Documentation

callgraph Documentation callgraph Documentation Release 1.0.0 Oliver Steele Jun 15, 2018 Contents: 1 Jupyter / IPython Usage 3 2 Decorator Usage 5 3 Development 7 4 Acknowledgements 9 5 License 11 6 API 13 Python Module Index

More information

Introduction to ufit

Introduction to ufit Introduction to ufit a convenient scattering data evaluation tool G. Brandl, P. Cermak Forschungszentrum Jülich 1/22 What is ufit? Started as a private collection of data readers for evaluation scripts

More information

Facilitating Collaborative Analysis in SWAN

Facilitating Collaborative Analysis in SWAN Facilitating Collaborative Analysis in SWAN E. Tejedor, D. Castro, D. Piparo, P. Mato E. Bocchi, J. Moscicki, M. Lamanna, P. Kothuri https://swan.cern.ch July 11th, 2018 CHEP 2018, Sofia (Bulgaria) Introduction

More information

Immutable Server Generation. The New App Deployment. AXEL

Immutable Server Generation. The New App Deployment. AXEL Immutable Server Generation The New App Deployment AXEL FONTAINE @axelfontaine axel@boxfuse.com flywaydb.org boxfuse.com about questions POLL: which level of automation are you at? Build Unit Tests Continuous

More information

12/22/11. Java How to Program, 9/e. Help you get started with Eclipse and NetBeans integrated development environments.

12/22/11. Java How to Program, 9/e. Help you get started with Eclipse and NetBeans integrated development environments. Java How to Program, 9/e Education, Inc. All Rights Reserved. } Java application programming } Use tools from the JDK to compile and run programs. } Videos at www.deitel.com/books/jhtp9/ Help you get started

More information

Igniting QuantLib on a Zeppelin

Igniting QuantLib on a Zeppelin Igniting QuantLib on a Zeppelin Andreas Pfadler, d-fine GmbH QuantLib UserMeeting, Düsseldorf, 7.12.2016 d-fine d-fine All rights All rights reserved reserved 0 Welcome Back!» An early stage of this work

More information

Kernel Gateway Documentation

Kernel Gateway Documentation Kernel Gateway Documentation Release 2.1.0.dev Project Jupyter team Nov 11, 2017 User Documentation 1 Getting started 3 1.1 Using pip................................................. 3 1.2 Using conda...............................................

More information

Teraflops of Jupyter: A Notebook Based Analysis Portal at BNL

Teraflops of Jupyter: A Notebook Based Analysis Portal at BNL Teraflops of Jupyter: A Notebook Based Analysis Portal at BNL Ofer Rind Spring HEPiX, Madison, WI May 17,2018 In collaboration with: Doug Benjamin, Costin Caramarcu, Zhihua Dong, Will Strecker-Kellogg,

More information

Using Python and XMPP to build a decentralized social network

Using Python and XMPP to build a decentralized social network Using Python and XMPP to build a decentralized social network Jérôme Poisson (Goffi) FOSDEM Saturday 30th January 2016 Some words about the project a lot of features other interfaces about the technologies

More information

OREKIT IN PYTHON ACCESS THE PYTHON SCIENTIFIC ECOSYSTEM. Petrus Hyvönen

OREKIT IN PYTHON ACCESS THE PYTHON SCIENTIFIC ECOSYSTEM. Petrus Hyvönen OREKIT IN PYTHON ACCESS THE PYTHON SCIENTIFIC ECOSYSTEM Petrus Hyvönen 2017-11-27 SSC ACTIVITIES Public Science Services Satellite Management Services Engineering Services 2 INITIAL REASON OF PYTHON WRAPPED

More information

Command Line and Python Introduction. Jennifer Helsby, Eric Potash Computation for Public Policy Lecture 2: January 7, 2016

Command Line and Python Introduction. Jennifer Helsby, Eric Potash Computation for Public Policy Lecture 2: January 7, 2016 Command Line and Python Introduction Jennifer Helsby, Eric Potash Computation for Public Policy Lecture 2: January 7, 2016 Today Assignment #1! Computer architecture Basic command line skills Python fundamentals

More information

Matplotlib Python Plotting

Matplotlib Python Plotting Matplotlib Python Plotting 1 / 6 2 / 6 3 / 6 Matplotlib Python Plotting Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive

More information

Spyder Documentation. Release 3. Pierre Raybaut

Spyder Documentation. Release 3. Pierre Raybaut Spyder Documentation Release 3 Pierre Raybaut Aug 31, 2017 Contents 1 Overview 3 2 Installation 5 2.1 Installing on Windows Vista/7/8/10................................... 5 2.2 Installing on MacOS X..........................................

More information

Practical Statistics for Particle Physics Analyses: Introduction to Computing Examples

Practical Statistics for Particle Physics Analyses: Introduction to Computing Examples Practical Statistics for Particle Physics Analyses: Introduction to Computing Examples Louis Lyons (Imperial College), Lorenzo Moneta (CERN) IPMU, 27-29 March 2017 Introduction Hands-on session based on

More information

Hello everyone. My name is Kundan Singh and today I will describe a project we did at Avaya Labs.

Hello everyone. My name is Kundan Singh and today I will describe a project we did at Avaya Labs. Hello everyone. My name is Kundan Singh and today I will describe a project we did at Avaya Labs. 1 Let me start by saying that people often forget the importance of separating data from the application

More information

WHITEPAPER. Pipelining Machine Learning Models Together

WHITEPAPER. Pipelining Machine Learning Models Together WHITEPAPER Pipelining Machine Learning Models Together Table of Contents Introduction 2 Performance and Organizational Benefits of Pipelining 4 Practical Use Case: Twitter Sentiment Analysis 5 Practical

More information

Lab 5 - Repetition. September 26, 2018

Lab 5 - Repetition. September 26, 2018 Lab 5 - Repetition September 26, 2018 1 ME 30 Lab 5 - Repetition ME 30 ReDev Team Description and Summary: This lab introduces the programming concept of repetition, also called looping, where some operations

More information

Once you define a new command, you can try it out by entering the command in IDLE:

Once you define a new command, you can try it out by entering the command in IDLE: 1 DEFINING NEW COMMANDS In the last chapter, we explored one of the most useful features of the Python programming language: the use of the interpreter in interactive mode to do on-the-fly programming.

More information

Advanced Database Project: Document Stores and MongoDB

Advanced Database Project: Document Stores and MongoDB Advanced Database Project: Document Stores and MongoDB Sivaporn Homvanish (0472422) Tzu-Man Wu (0475596) Table of contents Background 3 Introduction of Database Management System 3 SQL vs NoSQL 3 Document

More information

INTERACTIVE PARALLEL COMPUTING

INTERACTIVE PARALLEL COMPUTING INTERACTIVE PARALLEL COMPUTING IN IPYTHON WITH ØMQ Brian Granger, Cal Poly Physics Fernando Perez, UC Berkeley Neuroscience Min Ragan-Kelley, UC Berkeley AS&T SIAM CSE Wednesday, March 02, 2011 1 OUTLINE

More information

How to Setup an Auto-Subscription (Auto- ) for Your Clients in FlexMLS

How to Setup an Auto-Subscription (Auto- ) for Your Clients in FlexMLS How to Setup an Auto-Subscription (Auto-Email) for Your Clients in FlexMLS Follow this Step by Step Instruction Guide to set up an Auto-Subscription Contacts Contact Management If your clients contact

More information

Under the Debug menu, there are two menu items for executing your code: the Start (F5) option and the

Under the Debug menu, there are two menu items for executing your code: the Start (F5) option and the CS106B Summer 2013 Handout #07P June 24, 2013 Debugging with Visual Studio This handout has many authors including Eric Roberts, Julie Zelenski, Stacey Doerr, Justin Manis, Justin Santamaria, and Jason

More information

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup Purpose: The purpose of this lab is to setup software that you will be using throughout the term for learning about Python

More information

IPython: a very quick overview

IPython: a very quick overview IPython: a very quick overview Fernando Pérez, Brian Granger, Min Ragan-Kelley and 80+ contributiors... UC Berkeley, Cal Poly San Luis Obispo Oct 15, 2010 IPython? just a little afternoon hack (Nov 2001)...or

More information

EDIT202 Spreadsheet Lab Prep Sheet

EDIT202 Spreadsheet Lab Prep Sheet EDIT202 Spreadsheet Lab Prep Sheet While it is clear to see how a spreadsheet may be used in a classroom to aid a teacher in marking (as your lab will clearly indicate), it should be noted that spreadsheets

More information

tutorial : modeling synaptic plasticity

tutorial : modeling synaptic plasticity tutorial : modeling synaptic plasticity Computational Neuroscience by the Mediterranean Winter School, Jan 20th, 2016 Michael Graupner Université Paris Descartes CNRS UMR 8118, Paris, France michael.graupner@parisdescartes.fr

More information

Geant4 python interface

Geant4 python interface Geant4 python interface Koichi Murakami (KEK/CRC) Geant4 Collaboration Meeting 2016 Sep/15/2016 G4 FERRARA 1 Python Shell Environment CLI : UI terminal script language : UI macro Programming Language oop,

More information

Making Dynamic Instrumentation Great Again

Making Dynamic Instrumentation Great Again Making Dynamic Instrumentation Great Again Malware Research Team @ @xabiugarte [advertising space ] Deep Packer Inspector https://packerinspector.github.io https://packerinspector.com Many instrumentation

More information

Text Input and Conditionals

Text Input and Conditionals Text Input and Conditionals Text Input Many programs allow the user to enter information, like a username and password. Python makes taking input from the user seamless with a single line of code: input()

More information

Automate to Innovate L EA RN WHAT SCRIPTING CAN DO FOR YOU P U N E E T S I N G H

Automate to Innovate L EA RN WHAT SCRIPTING CAN DO FOR YOU P U N E E T S I N G H Automate to Innovate LEARN WHAT SCRIPTING CAN DO FOR YOU PUNEET SINGH Agenda Target Audience What will be covered in the session? Why Automate? Where to Automate? Where to Automate Examples How to Start

More information

Big Data Exercises. Fall 2016 Week 0 ETH Zurich

Big Data Exercises. Fall 2016 Week 0 ETH Zurich Big Data Exercises Fall 2016 Week 0 ETH Zurich 1. Jupyter Basics Welcome to this Jupyter notebook. Jupyter is a web-based open-source tool based on Python that allows you to run python (and other types

More information

IPython Cypher Documentation

IPython Cypher Documentation IPython Cypher Documentation Release 1.0.0 Javier de la Rosa December 11, 2016 Contents 1 Releases 3 2 Requirements 5 3 Dependencies 7 4 Installation 9 5 Getting Started 11 6 Configuration 13 7 Contents

More information

Parallel Python using the Multiprocess(ing) Package

Parallel Python using the Multiprocess(ing) Package Parallel Python using the Multiprocess(ing) Package K. 1 1 Department of Mathematics 2018 Caveats My understanding of Parallel Python is not mature, so anything said here is somewhat questionable. There

More information

Outline. MXCuBE3 at ESRF. Remote Access. Quick Review of 3.0. New in version Future work. Marcus Oskarsson

Outline. MXCuBE3 at ESRF. Remote Access. Quick Review of 3.0. New in version Future work. Marcus Oskarsson 1 Outline Page 2 MXCuBE3 at ESRF Remote Access Quick Review of 3.0 New in version 3.0.1 Future work MXCuBE3 at ESRF Installed and in production on ID29 and ID23-2 Installed and in commissioning on ID30a1

More information

Introduction to Scientific Typesetting Lesson 1: Getting Started

Introduction to Scientific Typesetting Lesson 1: Getting Started Introduction to Scientific Typesetting Lesson 1: Getting Started Ryan Higginbottom January 5, 2012 1 Our First The Structure of a L A T E X Our First L A T E X The Structure of a L A T E X 2 The Weaknesses

More information

Installation Manual and Quickstart Guide

Installation Manual and Quickstart Guide JuliaPro (v0.6.2.2) Installation Manual and Quickstart Guide Contents 1. Objective 2. Prerequisites 2.1. Installation of Xcode command line tools 3. Installing JuliaPro 4. Using the JuliaPro Command Prompt

More information

A Basic Introduction to SASPy and Jupyter Notebooks

A Basic Introduction to SASPy and Jupyter Notebooks ABSTRACT Paper 2822-2018 A Basic Introduction to SASPy and Jupyter Notebooks Jason Phillips, PhD, The University of Alabama With the recent introduction of the official SASPy package, it is now trivial

More information

David J. Pine. Introduction to Python for Science & Engineering

David J. Pine. Introduction to Python for Science & Engineering David J. Pine Introduction to Python for Science & Engineering To Alex Pine who introduced me to Python Contents Preface About the Author xi xv 1 Introduction 1 1.1 Introduction to Python for Science and

More information

DSCI 325: Handout 1 Introduction to SAS Programs Spring 2017

DSCI 325: Handout 1 Introduction to SAS Programs Spring 2017 DSCI 325: Handout 1 Introduction to SAS Programs Spring 2017 SAS (which originally stood for Statistical Analysis System) was started in 1976 and since this time has become an industry standard in the

More information

CIS192 Python Programming

CIS192 Python Programming CIS192 Python Programming Profiling and Parallel Computing Harry Smith University of Pennsylvania November 29, 2017 Harry Smith (University of Pennsylvania) CIS 192 November 29, 2017 1 / 19 Outline 1 Performance

More information

Django Test Utils Documentation

Django Test Utils Documentation Django Test Utils Documentation Release 0.3 Eric Holscher July 22, 2016 Contents 1 Source Code 3 2 Contents 5 2.1 Django Testmaker............................................ 5 2.2 Django Crawler.............................................

More information

TANGO CONTROLS CONCEPTS

TANGO CONTROLS CONCEPTS TANGO CONTROLS CONCEPTS A brief introduction to Tango Controls Concepts Andy Götz 2 Tango has a number of concepts 3 Tango == actors + microservices Tango is based on the concept of Distributed Devices

More information

4. BASIC PLOTTING. JHU Physics & Astronomy Python Workshop Lecturer: Mubdi Rahman

4. BASIC PLOTTING. JHU Physics & Astronomy Python Workshop Lecturer: Mubdi Rahman 4. BASIC PLOTTING JHU Physics & Astronomy Python Workshop 2016 Lecturer: Mubdi Rahman INTRODUCING MATPLOTLIB! Very powerful plotting package. The Docs: http://matplotlib.org/api/pyplot_api.html GETTING

More information

Professor Hugh C. Lauer CS-1004 Introduction to Programming for Non-Majors

Professor Hugh C. Lauer CS-1004 Introduction to Programming for Non-Majors First Python Program Professor Hugh C. Lauer CS-1004 Introduction to Programming for Non-Majors (Slides include materials from Python Programming: An Introduction to Computer Science, 2 nd edition, by

More information

Building the Modern Research Data Portal using the Globus Platform. Rachana Ananthakrishnan GlobusWorld 2017

Building the Modern Research Data Portal using the Globus Platform. Rachana Ananthakrishnan GlobusWorld 2017 Building the Modern Research Data Portal using the Globus Platform Rachana Ananthakrishnan rachana@globus.org GlobusWorld 2017 Platform Questions How do you leverage Globus services in your own applications?

More information

Introduction to Computer Programming for Non-Majors

Introduction to Computer Programming for Non-Majors Introduction to Computer Programming for Non-Majors CSC 2301, Fall 2016 Chapter 7 Part 2 Instructor: Long Ma The Department of Computer Science Quick review one-way or simple decision if :

More information

Sizing and Memory Settings for Sage X3 Web Server (Syracuse): Recommendations

Sizing and Memory Settings for Sage X3 Web Server (Syracuse): Recommendations Sizing and Memory Settings for Sage X3 Web Server (Syracuse): Recommendations The Sage X3 web server architecture is based on node.js instances that are load balanced. Each node.js process can manage pages

More information

Installation Manual and Quickstart Guide

Installation Manual and Quickstart Guide JuliaPro (v0.6.2.1) Installation Manual and Quickstart Guide Contents 1. Objective 2. Prerequisites 2.1. System Library Requirements 2.1.1 Prerequisites for Installation on CentOS 7 2.1.2 Prerequisites

More information

Computer Fundamentals: Operating Systems, Concurrency. Dr Robert Harle

Computer Fundamentals: Operating Systems, Concurrency. Dr Robert Harle Computer Fundamentals: Operating Systems, Concurrency Dr Robert Harle This Week The roles of the O/S (kernel, timeslicing, scheduling) The notion of threads Concurrency problems Multi-core processors Virtual

More information

Pandas plotting capabilities

Pandas plotting capabilities Pandas plotting capabilities Pandas built-in capabilities for data visualization it's built-off of matplotlib, but it's baked into pandas for easier usage. It provides the basic statistic plot types. Let's

More information

DSC 201: Data Analysis & Visualization

DSC 201: Data Analysis & Visualization DSC 201: Data Analysis & Visualization Python and Notebooks Dr. David Koop Computer-based visualization systems provide visual representations of datasets designed to help people carry out tasks more effectively.

More information

1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R). (3) In this tutorial I will introduce you to the amsart documentclass.

1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R). (3) In this tutorial I will introduce you to the amsart documentclass. TUTORIAL 3: MY FIRST L A TEX DOCUMENT CHRISTOPHER RARIDAN Abstract. Upon completion of this tutorial, the author should be able to produce a very basic L A TEX document. This tutorial will introduce the

More information

Cloud Computing with APL. Morten Kromberg, CXO, Dyalog

Cloud Computing with APL. Morten Kromberg, CXO, Dyalog Cloud Computing with APL Morten Kromberg, CXO, Dyalog Cloud Computing Docker with APL Morten Kromberg, CXO, Dyalog 2 Cloud Computing: Definitions 3 Cloud Computing: Definitions Cloud Computing = "Using

More information

COSC 490 Computational Topology

COSC 490 Computational Topology COSC 490 Computational Topology Dr. Joe Anderson Fall 2018 Salisbury University Course Structure Weeks 1-2: Python and Basic Data Processing Python commonly used in industry & academia Weeks 3-6: Group

More information

Introduction to the workbook and spreadsheet

Introduction to the workbook and spreadsheet Excel Tutorial To make the most of this tutorial I suggest you follow through it while sitting in front of a computer with Microsoft Excel running. This will allow you to try things out as you follow along.

More information

Semester 2, 2018: Lab 1

Semester 2, 2018: Lab 1 Semester 2, 2018: Lab 1 S2 2018 Lab 1 This lab has two parts. Part A is intended to help you familiarise yourself with the computing environment found on the CSIT lab computers which you will be using

More information

The Essence of Node JavaScript on the Server Asynchronous Programming Module-driven Development Small Core, Vibrant Ecosystem The Frontend Backend

The Essence of Node JavaScript on the Server Asynchronous Programming Module-driven Development Small Core, Vibrant Ecosystem The Frontend Backend The Essence of Node The Essence of Node JavaScript on the Server Asynchronous Programming Module-driven Development Small Core, Vibrant Ecosystem The Frontend Backend JavaScript on the Server there is

More information

Blurring the Line Between Developer and Data Scientist

Blurring the Line Between Developer and Data Scientist Blurring the Line Between Developer and Data Scientist Notebooks with PixieDust va barbosa va@us.ibm.com Developer Advocacy IBM Watson Data Platform WHY ARE YOU HERE? More companies making bet-the-business

More information

L15. 1 Lecture 15: Data Visualization. July 10, Overview and Objectives. 1.2 Part 1: Introduction to matplotlib

L15. 1 Lecture 15: Data Visualization. July 10, Overview and Objectives. 1.2 Part 1: Introduction to matplotlib L15 July 10, 2017 1 Lecture 15: Data Visualization CSCI 1360E: Foundations for Informatics and Analytics 1.1 Overview and Objectives Data visualization is one of, if not the, most important method of communicating

More information

ME30_Lab1_18JUL18. August 29, ME 30 Lab 1 - Introduction to Anaconda, JupyterLab, and Python

ME30_Lab1_18JUL18. August 29, ME 30 Lab 1 - Introduction to Anaconda, JupyterLab, and Python ME30_Lab1_18JUL18 August 29, 2018 1 ME 30 Lab 1 - Introduction to Anaconda, JupyterLab, and Python ME 30 ReDev Team 2018-07-18 Description and Summary: This lab introduces Anaconda, JupyterLab, and Python.

More information

Session 1: Introduction to Python from the Matlab perspective. October 9th, 2017 Sandra Diaz

Session 1: Introduction to Python from the Matlab perspective. October 9th, 2017 Sandra Diaz Session 1: Introduction to Python from the Matlab perspective October 9th, 2017 Sandra Diaz Working with examples in this course Git repository Work: Exercises we will be interactively working on Slides

More information

Writing Cognitive Swift Apps developerworks Open Tech Talk March 8, 2017

Writing Cognitive Swift Apps developerworks Open Tech Talk March 8, 2017 Writing Cognitive Swift Apps developerworks Open Tech Talk March 8, 2017 https://developer.ibm.com/open/videos/writing-cognitive-swift-apps-tech-talk/ Question Can you please also compare Swift and Go?

More information

Data Science with Python Course Catalog

Data Science with Python Course Catalog Enhance Your Contribution to the Business, Earn Industry-recognized Accreditations, and Develop Skills that Help You Advance in Your Career March 2018 www.iotintercon.com Table of Contents Syllabus Overview

More information

Malware

Malware reloaded Malware Research Team @ @xabiugarte Motivation Design principles / architecture Features Use cases Future work Dynamic Binary Instrumentation Techniques to trace the execution of a binary (or

More information

OCS for the Blackboard Learn Platform

OCS for the Blackboard Learn Platform OCS for the Blackboard Learn Platform General Description OCS For the Blackboard Learn Platform (OCS for BB) is a communications suite that brings together the strengths of two products. Microsoft Office

More information

CSC 261/461 Database Systems Lecture 24. Spring 2017 MW 3:25 pm 4:40 pm January 18 May 3 Dewey 1101

CSC 261/461 Database Systems Lecture 24. Spring 2017 MW 3:25 pm 4:40 pm January 18 May 3 Dewey 1101 CSC 261/461 Database Systems Lecture 24 Spring 2017 MW 3:25 pm 4:40 pm January 18 May 3 Dewey 1101 Announcements Term Paper due on April 20 April 23 Project 1 Milestone 4 is out Due on 05/03 But I would

More information