PJUllrich

PJUllrich

Author of Building Table Views with Phoenix LiveView

José announces Livebook - a web application for writing interactive and collaborative code notebooks

José just announced Dashbit‘s latest project: Livebook, a web application for writing interactive and collaborative code notebooks

It seems to be similar to Jupyter Notebooks, which works with Python Code. I‘m very impressed by this project since it constitutes another major leap towards allowing data science and machine learning to be conducted in Elixir. Jupyter Notebooks are an essential tool for this kind of work in Python. Livebook not only allows quick evaluation and sharing of Elixir scripts but also reduces the friction for data science and ML folks to jump on the Elixir train.

What do you think about Livebook?
Will you use it and if yes, for what?

Links

Most Liked

josevalim

josevalim

Creator of Elixir

TL;DR: New releases every May and November.

Our release cycle was 9 months only last year. Given the situation with Covid, we thought it was a good opportunity to slow things down and give it a try.

In any case, we felt 9 months was definitely too long, so we are going back to our usual 6 months interval. The 9 months also helped us align with Erlang/OTP, so we can release new minor versions and make sure they are compatible with the latest and greatest Erlang/OTP. So our plan is to release a new RC once Erlang/OTP 24.0-rc3 is out and release final shortly after Erlang/OTP 24.0.

josevalim

josevalim

Creator of Elixir

It is PETAL minus the A, as we are definitely using Tailwind. We are not using Alpine but Jonatan ended-up implementing the world’s smallest Alpine here: https://github.com/elixir-nx/livebook/blob/main/assets/js/morphdom_callbacks.js

The main trick is to use “data-js-” attributes to keep data that survives Morphdom callbacks. Then there is one phx-hook at the top that registers all relevant callbacks for a notebook and persists states using data-js-.

adam

adam

I’ve cloned and run it locally and it’s tremendous. The video from José was great too, I’ll follow it up by watching the more in-depth presentation he did at the conference.

But. it’s PEL not PETAL! I was excited to see how the top team had laid out their modals, incorporated some nice transitions etc, but no, not a text-gray-600 nor a x-init in sight. :wink:

Where Next?

Popular in Discussions Top

andre1sk
A big advantage to Elixir is all the distributed goodness but for many applications running on multiple nodes having integrated Etcd, Zoo...
New
owaisqayum
I have a sample string sentence = "Hello, world ... 123 *** ^%&*())^% %%:>" From this string, I want to only keep the integers, ...
New
AstonJ
If a newbie asked you about Phoenix Contexts, how would you explain the basics to them? Feel free to be as concise or in-depth as you li...
New
chuck
Let me start by stating an assumption: Phoenix is a great approach to building REST APIs. There are many reasons for this, but I will ass...
New
jer
I’ve been using umbrellas for a while, and generally started off (on greenfield projects at least) by isolating subapps based on clearly ...
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
tomekowal
Hey guys! I want to create a toy project that shows a chart of temperature over time and updates every 5 seconds. I feel LiveView is per...
New
Owens
Hello all, I am developing a new mobile app with Flutter frontend and Phoenix backend. The mobile app has real-time task management and c...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
axelson
Decided against including more info in the title, but the gist is that Plataformatec sponsored projects will continue with the assets bei...
New

Other popular topics Top

lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 41989 114
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
johnnyicon
Hi all, I’ve just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I’m trying to use Postgres...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement