Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LiveBook all the things

LiveBook all the things

Sebastian

June 28, 2022
Tweet

More Decks by Sebastian

Other Decks in Programming

Transcript

  1. LiveBook all the things
    Elixir Vienna June 2022
    @Sgoettschkes
    https://www.pexels.com/photo/selective-focus-photo-of-pile-of-assorted-title-books-1148399/

    View full-size slide

  2. Elixir Vienna June 2022
    A little history
    https://www.pexels.com/photo/egyptian-symbols-3199399/

    View full-size slide

  3. A little history
    1. REPLs (Read Evaluate Print Loop)
    2. iPython Notebooks / Jupyter
    3.

    View full-size slide

  4. On the shoulders of giants
    ● Phoenix
    ● LiveView
    ● Monaco (Rich-Text-Editor)
    ● …

    View full-size slide

  5. Getting started
    Locally using mix
    mix local.rebar --force && mix local.hex --force
    mix escript.install hex livebook
    livebook server

    View full-size slide

  6. Getting started
    Locally using docker
    docker run -p 8080:8080 -p 8081:8081 --pull always
    livebook/livebook

    View full-size slide

  7. Getting started
    In the cloud
    ● using docker
    ● On fly.io

    View full-size slide

  8. The runtime
    ● Standalone
    ● mix: Loads your project like iex -S mix
    ● embedded: Connect to a remote ErlangVM node

    View full-size slide

  9. Add hex libraries

    View full-size slide

  10. Use Cases
    ● iex replacement
    ● learning (and documenting it)
    ● documentation
    ● On-the-fly data analytics

    View full-size slide

  11. https://makeameme.org/meme/aaaaand-demo-time

    View full-size slide

  12. Elixir Vienna June 2022
    Take the first step
    https://www.pexels.com/photo/green-tree-beside-roadway-during-daytime-163703/

    View full-size slide

  13. https://www.dropbox.com/s/6z5aiwa8l09g2pa/86H.jpg

    View full-size slide