Giter Club home page Giter Club logo

space-workshop's Introduction

Logo

Haskell Spaceflight Workshop

Build Status

The workshop contents are now complete. Final modifications and updates may still be made prior to LambdaJam 2019, but the current version is representative.

The current notes for the workshop are available from GitHub pages, built using Travis CI.

Instructions for Participants

Please make sure that you download the required dependencies for the workshop and the notes in advance. We support the stack and cabal build tools. Dependencies can be fetched by doing:

$ stack --install-ghc test --only-dependencies

or

$ cabal new-build --only-dependencies test:tests

in the checked-out repository.

Docker Option

If you are unable to obtain the required dependencies prior to the workshop, we will be distributing (on temporary loan only) USB flash drives containing a Docker image with the dependencies pre-installed. If you use this option, please copy everything off the USB drive before passing it on. Please then follow the instructions in the README from the flash drive.

For reference, the Docker image itself was built using the CI pipeline here, but the USB Flash drive also contains a snapshot of this GitHub repository and the notes.

Solutions

Solutions are provided in the Solutions sub-modules. To use them, either call them directly from the problem code, OR set the environment variable IDDQD=1, which will cause the todo function to use the fallback solutions:

$ export IDDQD=1  # causes the `todo` function to use the provided solutions

Developer Notes

See the .travis.yml file for detailed CI build instructions.

A manual build can be performed as follows:

$ export IDDQD=1
$ stack test
$ stack exec tex-plots   # generates PGF-format plots for the LaTeX notes
$ cd notes
$ make                   # generates the LaTeX notes.pdf

Or with cabal:

$ export IDDQD=1
$ cabal new-test
$ cabal new-run tex-plots   # generates PGF-format plots for the LaTeX notes
$ cd notes
$ make                   # generates the LaTeX notes.pdf

Be careful: the LaTeX file has \nonstopmode set so that it doesn't hang the CI build. It may be best to remove this when making local changes so that errors are more obvious.

The Makefile for the notes supports a watch phony target to continuously watch the source files and re-run LaTeX as required:

$ make watch

space-workshop's People

Contributors

lancelet avatar cdepillabout avatar frasertweedale avatar andreabedini avatar luke-clifton avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.