HackMD
  • Prime
    Prime  Full-text search on all paid plans
    Search anywhere and reach everything in a Workspace with Prime plan.
    Got it
      • Create new note
      • Create a note from template
    • Prime  Full-text search on all paid plans
      Prime  Full-text search on all paid plans
      Search anywhere and reach everything in a Workspace with Prime plan.
      Got it
      • Options
      • Versions and GitHub Sync
      • Transfer ownership
      • Delete this note
      • Template
      • Save as template
      • Insert from template
      • Export
      • Dropbox
      • Google Drive
      • Gist
      • Import
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
      • Download
      • Markdown
      • HTML
      • Raw HTML
      • Sharing Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • More (Comment, Invitee)
      • Publishing
        Everyone on the web can find and read all notes of this public team.
        After the note is published, everyone on the web can find and read this note.
        See all published notes on profile page.
      • Commenting Enable
        Disabled Forbidden Owners Signed-in users Everyone
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Invitee
      • No invitee
    Menu Sharing Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Versions and GitHub Sync Transfer ownership Delete this note
    Export
    Dropbox Google Drive Gist
    Import
    Dropbox Google Drive Gist Clipboard
    Download
    Markdown HTML Raw HTML
    Back
    Sharing
    Sharing Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Note Permission
    Read
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Write
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    More (Comment, Invitee)
    Publishing
    Everyone on the web can find and read all notes of this public team.
    After the note is published, everyone on the web can find and read this note.
    See all published notes on profile page.
    More (Comment, Invitee)
    Commenting Enable
    Disabled Forbidden Owners Signed-in users Everyone
    Permission
    Owners
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Invitee
    No invitee
       owned this note    owned this note      
    Published Linked with GitHub
    Like BookmarkBookmarked
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- tags: OpenDreamKit, Cernay, Sage, GAP, workshop --- # Sage-GAP Days 101 Cernay, June 17-21 2019 ## [About Sage Days 101](https://wiki.sagemath.org/days101) Where to post your photos of the event: * [This Google photos album](https://photos.app.goo.gl/CjU1TtWuYSA1rKD68) ## [Schedule](/-ujYo8jaRSS2C-7xZB3a6w) ## Themes ### [Packaging (conda, ...) for Sage, GAP, cppyy...](/zatG6NwtTWKF5asn_fmcIw) - conda packaging for cppyy (Julian, Isuru): mostly done - Python 3 based SageMath docker images (Julian, Samuel) - Aim at building docker images for all ODK components, compatible with binder, jupyterhub, ... (Luca). Similar to Jupyter's Docker stack which binder uses in the absence of a dockerfile. https://github.com/jupyter/docker-stacks - SageMath gives problems with Jupyter Lab, Jupyter Hub - conda packaging for sage 8.8.rc1 (Isuru, Julian) ### [Importing .sage files as Python modules](https://trac.sagemath.org/ticket/27074) important for the random new user; recently a new user was struggling to properly package their code, which had lots of `load`, `attach`, ... - we need a ux deputee, only concerned with user experience - maybe the documentation could say stop using `attach` and instead either - use reload module - pickle all the globals, restart sage, ... One pain point is the startup time of Sage. We should work on that. ### OpenDreamKit ### Continuous integration with conda: demo by Julian every ci setup is some script that pulls some tarball from somewhere i found it a bit annoying that there was no standard approach the result of the ci is basically "works" or "fails" and you want people to try the things so need another ci to make docker images idea: use a robust ci conda-forge idea: write a recipe - list dependencies - say what it is: a library, a python package If I do this anyway because I want it to be on conda in the end, there's a tool called "conda-smithy" that reads the yaml file and creates scripts that build packages for windows, linux, osx, ... it's powerful and it creates all these scripts by itself you can say if you prefer azure or circle-ci the cool things is it builds conda packages and runs your actual tests on this conda package as a side effect you get conda packages for free you get nightly builds so you can tell people - one way to use mysoftware is to run `configure` and `make` - another way is to run `conda install mysoftware` it gives people access to your nightly builds you can get nightly builds for linux, macos, windows i found it an interesting approach to do ci, it removes the duplication; especially the two tend to be broken a lot because you don't test them so much it is also the only sane way i found to provide binaries for Windows ### Conda What caused the big breakage in maintaing SageMath up to date in Conda? Will it repeat? The change of default compiler (from gcc 7.4 to gcc 8.2?) caused a lot of breakage. Roughly half the ~350 tests that are failing in SageMath are due to SageMath using Singular 4.1.1 while Conda has 4.1.2. When SageMath uses latest releases of everything, all goes well. When SageMath uses old versions of some of its dependencies, things get hard. Using custom Docker files for binder is more effort usually to maintain than writing a good `requirements.txt`. For example, see https://flatsurf/flatsurf/binder/environment.yml Luca says: before you pushed SageMath 8.8.rc1 to conda, ... 8GB and now 11 GB. ### Interfaces between systems - Sage-GAP interfaces: libgap, semantic-gap, ... Extracted sage-semantic-annotations out of sage-gap-semantic-interface Experimented with using Sage-Explorer to explore GAP objects through sage-gap-semantic interface - Recursive Monkey Patch: analyzed a bug (Julian, Nicolas) - [Awali](http://vaucanson-project.org/AWALI/Awali.html): packaging is done https://trac.sagemath.org/ticket/28004 - Kenzo - fast and reliable computations with real/complex numbers - [e-antic](https://github.com/videlec/e-antic) (C library with C++ interface and Python bindings) - [exact-real](https://github.com/flatsurf/exact-real) (C++ library and Python bindings) - improve cppyy interfaces to Python - distribution: conda, SageMath, ... (?) - [GAP interface to PARI/GP](https://github.com/gap-packages/PARIInterface) (in order to compute Galois group of polynomials) (Vincent D, James) - Finish the position paper started last year The paper is at overleaf at https://www.overleaf.com/15996604kpskgdsgjhww Anybody is invited to contribute. The idea is to survey the varius technologies for interfacing high-level with low-level systems for computational mathematics. - Sage-Matplotlib interface: [Trac #27865](https://trac.sagemath.org/ticket/27865), [Trac #27866](https://trac.sagemath.org/ticket/27866) - Sage-Normaliz interface ([PyNormaliz](https://github.com/Normaliz/PyNormaliz)) - Properly resolve the Digraphs package [Issue 177](https://github.com/gap-packages/Digraphs/issues/177) with James and Erik (and finish edge-colored digraph automorphisms [Issue 183](https://github.com/gap-packages/Digraphs/issues/183) Finn, James, Vicente D) - [giacpy](http://webusers.imj-prg.fr/~frederic.han/xcas/giacpy/) (Python interface to giac) and SageMath integration - [cppyy](http://cppyy.readthedocs.io/) to interface C(++) and Python, [demo](https://github.com/saraedum/notebooks/tree/cppyy) ### Jupyter widgets for Mathematics - sage-combinat-widgets - francy: packaging, explored how to make a Jupyter lab extension - [JupyterViz](https://nathancarter.github.io/jupyterviz/) and Group Explorer ([web app](https://nathancarter.github.io/group-explorer/index.html), [GAP package](https://nathancarter.github.io/gap-pkg-groupexplorer/)) - Demo [RISE](https://rise.readthedocs.io/en/stable/) - [flatsurf](https://github.com/flatsurf/flatsurf-widgets), or how to use hot module reloading and Vue.js in Jupyter - ... - Check [GroupNames](https://people.maths.bris.ac.uk/~matyd/GroupNames/) by Tim Dokchitser (not sure about the license). ### Sage-Explorer (Odile, Nathan, Nicolas, Julian) Brainstorm and early experiments for future evolutions Explored the use of ipyvuetify-widgets for a flexible UI library. ### Book Calcul Mathématique avec Sage et traduct ions See http://sagebook.gforge.inria.fr/ Vincent K and Nicolas: worked on upgrading to Python 3 the examples, backporting changes from the copy of the examples in the Sage documentation. ### General development - generic division free linear algebra in SageMath [#15160](https://trac.sagemath.org/ticket/15160) [#27869](https://trac.sagemath.org/ticket/27869) ( might work on this if other people are interested) - Porting the `surface_dynamics` external SageMath package to Python3 Samuel and Vincent D: good progress. Almost done. https://gitlab.com/videlec/surface_dynamics - Packaged `coq-jupyter` for Conda ### Add your theme here!!!! ## [Participants](/HVpxsYZWQ9ykIWS0fm_J-w) ## [Local organization](/4b8zBeKLS6i9w84G0ChanA) ## [Arrivals and departures](/RDK2QSeSTXOnbinU-pq9lA) ## [Meals](/MehgK8q8T5-Q68hB_u0mLA)

    Import from clipboard

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lost their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template is not available.


    Upgrade

    All
    • All
    • Team
    No template found.

    Create custom template


    Upgrade

    Delete template

    Do you really want to delete this template?

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in via Google

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Tutorials

    Book Mode Tutorial

    Slide Mode Tutorial

    YAML Metadata

    Contacts

    Facebook

    Twitter

    Feedback

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions

    Versions and GitHub Sync

    Sign in to link this note to GitHub Learn more
    This note is not linked with GitHub Learn more
     
    Add badge Pull Push GitHub Link Settings
    Upgrade now

    Version named by    

    More Less
    • Edit
    • Delete

    Note content is identical to the latest version.
    Compare with
      Choose a version
      No search result
      Version not found

    Feedback

    Submission failed, please try again

    Thanks for your support.

    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.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub

        Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more

         Sign in to GitHub

        HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Available push count

        Upgrade

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Upgrade

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully