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 Slide

  2. View Slide

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

    View Slide

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

    View Slide

  5. Livebook

    View Slide

  6. Livebook

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  12. Cells

    View Slide

  13. Smart Cells

    View Slide

  14. Add hex libraries

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide