or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
Demos and tutorials for Free and Practical Software for Algebraic Combinatorics 2019
This is a tentative list of software demonstrations and tutorials that will be run during the conference. For each piece of software, there typically will be a flash demo (~5 minutes) early in the week in front of the whole audience, to attract participants to tutorials and/or longer demos later in the week.
If you are interested in one of them, or in presenting or helping out for one of them, please add your name in the corresponding section. Please add new demos and tutorials that you would like to participate in or present!
Presenters: please edit your entry to recall briefly what the software is about, and add relevant material: documents the attendees will be following, links, … If it grows beyond a few lines, you can make it a separate page.
The Jupyter ecosystem
Self guided tutorial 1: getting started with Jupyter
Go to http://opendreamkit.org/try, pick your favorite system train yourself with Jupyter, and ask for help whenever needed! If in doubt start with Try Python.
Jupyter
Project Jupyter exists to develop open-source software, open standards, and services for interactive computing across dozens of programming languages.
The Jupyter Notebook is an open-source web application to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.
Jupyter is now the default user interface for SageMath, and can be used as user interface for many other mathematical systems such as GAP, Pari/GP, Singular, …
JupyterLab
JupyterLab is the next-generation web-based user interface for Project Jupyter.
JupyterLab enables you to work with documents and activities such as Jupyter notebooks, text editors, terminals, and custom components in a flexible, integrated, and extensible manner. You can arrange multiple documents and activities side by side in the work area using tabs and splitters. Documents and activities integrate with each other, enabling new workflows for interactive computing.
CoCalc
CoCalc (Collaborative Calculation) is an online service that gives access to a wealth of computational systems, with extra goodies for teaching. It's free for basic usage.
Summary: CoCalc can do a lot more than just run Sage workbooks! It can also be a substitute for Overleaf for writing LaTeX documents, Skype for video chatting, Dropbox for file sharing, iMessage for text chatting about confusions, etc… Perhaps if you are working on a collaborative project with a substantial computational component, it is worth a look as a semi-convenient way to organize all the various components of your project!
Binder
Binder is a service that lets you run Jupyter notebooks online on top of an arbitrary software stack. Sessions are free, anonymous, and temporary.
Explainer video

Explainer comics
|
About this tutorial: in the version control tutorial you published a notebook. We will now guide you through the process of enabling Binder so that anyone can play with it online.
Follow-up: sharing code as packages.
Repositories that were binder-enabled during the conference
Links:
Thebelab
ThebeLab is a tool for embedding live code blocks in a web page. For SageMath, there is also the analog SageCell tool.
Planetaryum
Planetaryum is a Python package for publishing Jupyter notebook collections.
Math Computational Systems & Databases
Getting started with computational systems
Go to http://opendreamkit.org/try , pick your favorite system, and ask for help whenever needed!
GAP
Groups, Algorithms, Programming - a System for Computational Discrete Algebra
Presenter(s):
Participants: Tomer, Balthazar, Andrés David,
Demo:
Getting started tutorial
Some advanced tutorial? – please let us know if you are interested in tutorials on any specific topics
Francy: Visual tools for Jupyter: Sebastian

SageMath
SageMath is a general purpose computational mathematics system developed by a worldwide community of hundreds of researchers, teachers and engineers. It's based on the Python programming language and includes GAP, PARI/GP, Singular, and dozens of other specialized libraries.
Getting started tutorial
Try it online:
Download as notebook
Exploring further
At the end of the above tutorial, you can find links to many more tutorials, books, online references, …
SageManifolds
Elementary vector calculus with SageMath
Algebraic Combinatorics in SageMath
Lie superalgebras
Kac-Moody algebras
reflection group, Coxeter groups, Hecke algebras
generating function and solving system of equation (used sage to find the coefficients of a generating function, in one or two variables; this is helpful for doing combinatorics since we sometimes need to look at the first few coefficients of a power series)
Graph algorithm (both combinatorial and spectral)
Graph algorithm (resolvable graph decomposition, domination and metric dimension of graphs)
Tableaux and their generalization
DiscreteZOO - accessing precomputed graphs (and eventually other objects) from Sage
Finding triangulations of combinatorial manifolds
Problem: Find triangulations of combinatorial manifolds (2- and 3-dimensional) on few vertices which are balanced, i.e., their 1-skeleton can be colored with dimension plus one colors.
Solution: A computer program, implemented in Sage; apply local operations to a balanced triangulation which preserve the homeomorphism type and the coloring, and reduce the number of vertices.
Visualisation and interactive computing
Jupyter Widgets
Widget basics demo
Sage-Combinat widgets
A set of interactive, configurable widgets for visualizing combinatorial objects.
Demo: Monday afternoon
Presenter(s): Odile Bénassy
Participants: Émile, Nadia, Henri, Harrison
Tutorial/coding sprint: Tuesday from 10:30 + from 15:30, room 202
Demo: Wednesday 13:30 room 202
Installation:
Francy
Graph vizualization in GAP, Python, and SageMath
Creating LaTeX view of an object using TikZ
We will cover various ways to output objects in Sage. The content of the talk can be found here on binder:
and the notebook is here.
Basic skills
Using the shell
We will cover basic directory structure of Unix systems and the command to navigate inside it, edit file and make basic research
Ressources for the tutorial
Version control with git
If you are not familiar with the shell, we recommand that you attend the shell presentation before starting learning about Git.
Tutorial: Tuesday 13:50, room 203
Presenter(s): Pauline, Nadia
Participants: Antonio, Duncan, Wencin, Oliver, Balthazar, Andrés David, Stephan,
Slides: https://github.com/phubert/git_sagedays2019/blob/master/git-tutorial.pdf
Git repository: https://github.com/phubert/git_sagedays2019
Smart text editors (vim|emacs)
Some best practices for computer exploration
Slides
Programming, development
Introduction to Python using Sage
An introduction to programming with python. Goes over the very basics of programming and shows how to use various variable types, how to use loops, how to make functions, etc.
Presentation can be found here:
(If you have any questions, feel free to come ask me =D)
Object oriented programming in Python
Implementing new objects in Python with classes.
Going further:
Object oriented programming in Sage
We will review how to create new objects in Sage. Sage being based on Python, this is based on Python's object oriented programming , just with certain additional features and twists for Sage (Parents, Elements, Categories, ..).
Coercions in SageMath
E.g.: coercion of elements in different polynomial rings, character rings
Easily using C from Python with Cython
Do you have a library in C that you must use (either it is faster, or you do not want to reimplement it…), but much prefer experimentation in Python with Jupyter and other tools?
We'll go over how to access C libraries and C code quickly from Python using friendly Python-like syntax, and we'll see how it's easy to get started using Cython from Jupyter notebooks.
Demo Binder:
Good practices in Python and Sage development
Sharing code as packages
This is a follow up to the Binder tutorial where we published simple notebooks with artefacts, and made them excutable online.
You have a collection of functions and classes and want to make them available? In this session, we will help you write and publish your own Sage-Package. Our base example will be Sage's sample package.
Steps:
organize the code as a (collection of) python files.
publish the code on a public repository.
add a
README.rst
file describing your project; see the eponym file insage_sample
.make your project into a Python package: copy the
setup.py
andVERSION
files ofsage_sample
, and adapt them for your project. Install the package with:sage -pip install -e .
Add a demo notebook
Add Binder configuration (see the
Dockerfile
ofsage_sample
) + binder link/badge from the READMEWrite a tutorial
Configure sphinx for the documentation
More tests and documentation
Publish on pipy
Setup continuous integration (see sage_sample)
? Merge into SageMath
References:
Contributing to SageMath and to other software
Trac tickets, Github/Gitlab tickets, PRs ..
Refrences:
Education tools
Authoring live documents
Jupyter notebooks, ReST documents, ThebeLab, …
NB: it'll be even more interesting if you can bring some of your math examples
SageTeX
Mixing Sage Code and LaTeX
nbgrader
Jessica Hammrick's talk
(semi)automatic grading of exercise sheets in Jupyter notebooks
Installation with conda:
Getting started:
Edit
mycourse/nbgrader_config.py
:ordo
Visual feedback for exercises in Jupyter notebooks
Hosted class management in CoCalc
Other tools
pypersist
Persistent memoisation framework for Python.
Or, how to permanently store the results of a long-to-compute function?
We will go through the excellent tutorial provided by Michael Torpey through binder on how to persist data.
