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
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
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
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
maennchen
:warning: Security advisory: Decimal DoS vulnerability A vulnerability has been published for decimal where very large exponents can cau...
New
marciol
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New

Other Trending Topics Top

marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
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
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews