PJUllrich

PJUllrich

Author of Building Table Views with Phoenix LiveView

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

Showing Posts 1 to 10

pablodavila

pablodavila

Your link seems to be broken. It sends me to /Liverpool instead of /livebook.

PJUllrich

PJUllrich OP

Author of Building Table Views with Phoenix LiveView

Ah yes sorry, stupid auto correct. I fixed it now :+1:

tmbb

tmbb

Jupyter notebooks are not limited to python. The web frontend works with anything that implements the kernel protocol, and there are kernels for a lot of languages.

PJUllrich

PJUllrich OP

Author of Building Table Views with Phoenix LiveView

Oh, I didn’t know that! Thanks for the info! I’ve been only using it with Python that’s why I assumed it was a Python-only project.

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:

ityonemo

ityonemo

Jupyter = JUlia PYThon R

Iirc They renamed it from iPython when the julia and r folks hacked into the protocol and urged them to make it cross platform.

Sebb

Sebb

Looks nice! Where does the code run? Do I have to install some kind of client on my workstation or does it run on the server?

edisonywh

edisonywh

But it does use Tailwind, so it’s more like, PETL

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-.

16
Post #9
sandergroen

sandergroen

It is just a Phoenix application you should be able to do both of these options. I’m running it on my Macbook on Elixir 1.11.3. For this demo you need Elixir v1.12+ to be able to install the dependencies.

Where Next? Top

Trending in Discussions Top

AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4663 61218 595
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...
515 12931 101
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
sntran
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
gtcode
I’ve been tinkering with Lynx (by José) via hold_ledger. I used AI to write the code, a separate specification, the tests, and the Lean p...
New
AstonJ
A remark @Garrison made… ..has already inspired a thread for the technical side of reclaiming our internet, but there is of course anot...
New
ManuelGarcia
Hi everyone! I’m the developer of PaperForge, and I’ve been working on something alongside it that I’d like your opinion on. I’m conside...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews