Created
May 27, 2020 20:30
-
-
Save saraedum/33161fbebf963397a4ce565e553c4895 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"# SageMath in Docker\n", | |
"\n", | |
"* What is Docker?\n", | |
"* What can I do with SageMath in Docker?\n", | |
" * Share demos of your computations\n", | |
" * Compare different versions of SageMath\n", | |
" * Let others play with your experimental code\n", | |
" * Continuous Integration\n", | |
"* Plans for the future and where we could need your help :)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"# What is Docker?\n", | |
"\n", | |
"* Application *Images* for Linux/macOS/Windows*\n", | |
"* Runs in a Sandbox\n", | |
"* Many images in public registries such as [DockerHub](https://hub.docker.com)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "notes" | |
} | |
}, | |
"source": [ | |
"* Demo docker run -it and docker jupyter" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"\n", | |
"# Share Demos of your Computations\n", | |
"That's e.g. what Jean-Philippe did for his talk: https://github.com/jplab/SageDays109" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"# Compare Different Versions of SageMath\n", | |
"Almost all stable/beta/release-candidate releases since 7.0 are on Docker Hub.\n", | |
"\n", | |
"Even if you don't have Docker installed: https://gitlab-hooks-flau3jeaza-ew.a.run.app/status/sage/tag/9.1.rc5" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "notes" | |
} | |
}, | |
"source": [ | |
"* docker run -it sagemath/sagemath:7.0, develop" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"# Let Others Play With Your Experimental Code\n", | |
"Push your code to trac or gitlab and enter your branch name at https://gitlab-hooks-flau3jeaza-ew.a.run.app/" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "notes" | |
} | |
}, | |
"source": [ | |
"Goto https://trac.sagemath.org/ticket/29666" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"# Continuous Integration\n", | |
"Automatically test your code with different version of SageMath, e.g., [surface_dynamics](https://gitlab.com/videlec/surface_dynamics).\n", | |
"\n", | |
"But it might be easier to use conda instead (e.g. [admcycles](https://gitlab.com/jo314schmitt/admcycles))" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "slide" | |
} | |
}, | |
"source": [ | |
"# Future Plans\n", | |
"* Doctests on GitLab? [#24854](https://trac.sagemath.org/ticket/24854)\n", | |
"* Expose Binder Links on Trac [#28457](https://trac.sagemath.org/ticket/24854) Please review :)\n", | |
"* Expose Built Documentation on Trac [it's already](https://sagemath.gitlab.io/-/dev/trac/-/jobs/539489871/artifacts/html/en/reference/py-modindex.html) [built](https://gitlab.com/sagemath/dev/trac/-/commit/b4474b0c4807dce2362a769ff8072a197e8e9a67)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "subslide" | |
} | |
}, | |
"source": [ | |
"### We Could Need Your Help\n", | |
"* Please play with these things so we can fix problems :)\n", | |
"* Do you have servers that could build docker images?" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"slideshow": { | |
"slide_type": "subslide" | |
} | |
}, | |
"source": [ | |
"## Thanks :)" | |
] | |
} | |
], | |
"metadata": { | |
"celltoolbar": "Slideshow", | |
"kernelspec": { | |
"display_name": "Python 3", | |
"language": "python", | |
"name": "python3" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.7.6" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The link to #28457 is wrong. It should go to https://trac.sagemath.org/ticket/28457