-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a Livebook sub repo? #194
Comments
I liked the idea of a "Run in Livebook" button to explore libraries: |
On youtube: "A Blueprint for Intuitive Internal Elixir Ecosystems | Ryan Young | ElixirConf EU 2022" So how do you do such a button? Is it a link ? Part of this talk is here: https://dashbit.co/blog/mix-hex-registry-build |
This guy seems to be an expert: https://github.com/jonatanklosko/notebooks/tree/main/examples |
Keen to do this for https://github.com/dwyl/learn-elixir 💭 |
"Run in livebook" button: see https://livebook.dev/badge |
One step further: create smart cells (aka create your own JS front-end): ElixirConf 2022 - Stephen Ball - Livebook smart cells are amazing |
I almost did it, but needs to be polished, especially choosing between using the terminal with IEX or exclusively using the Livebook. The pb is that you can't define a module in a cell and then come back later to it. There are some repetitions when you add step-by-step functions in a module as you need it all. You can index the versions of the module but it may need lengthy explanations. Not sure. A little plus. I played with the factorial and was surprised to discover that the "spawn" version outperforms the others pretty quickly. I think the plot I made below helps to visualize why concurrency is interesting when you run heavy computations. |
Very cool. 👌 |
https://github.com/dwyl/learn-elixir-on-livebok/blob/main/learn-elixir-on-livebook.livemd The solution to run it seems...hacky but works :) Please feel free to criticize, or modify it in any way |
I am looking for a place for this.
For example, a Livebook is a good place to play with data visualisation. This repo is a good guide: https://book.elixir4datascience.com/3-dataviz.html#content
The text was updated successfully, but these errors were encountered: