from Hacker News

Livebook: Elixir's Swiss Army Knife

by mike1o1 on 3/25/24, 5:36 PM with 10 comments

  • by bcardarella on 3/25/24, 6:10 PM

    In addition to all of our (I'm the DockYard CEO) DockYard Academy training material being written as a Livebook we are also working on the upcoming LiveView Native guides being written as a Livebook along with a self-contained Phoenix instance so you can develop your first LiveView Native apps interactively and see them render as you go in both the Xcode simulator and (eventually) the Android simulator. If/when we get to WinUI3 we'll try to do the same.

    Livebook is incredibly powerful and versatile. When the general population finally wakes up to how insanely powerful Elixir is for such little effort, cost, and time to build (compared to other options) they will find an incredibly mature ecosystem of tools and resources ready for consumption.

  • by heeton on 3/25/24, 6:12 PM

    Livebook / scripting from a workbook has been a huge boost for my workflow over the last few years. And in the last 6 months even more so, now I have a full editor and autocomplete with copilot for scripting (with context of all my scripts).

    Playbooks at work, exploration in personal projects, 80% of my terminal use is now driven by an editor and sending snippets to the terminal.

    (I know this is more common for emacs and lisp users, but never really managed to get into that workflow myself, until livebook)

    My only gripe is that livebook itself doesn’t love reloading if I edit the source files directly, and I’d like to get that working.

  • by pvg on 3/25/24, 6:14 PM

    A discussion a few months ago: https://news.ycombinator.com/item?id=36995940
  • by 082349872349872 on 3/25/24, 7:10 PM

    I'm impressed that .livemd is markdown; will we finally have literate programming once no one explicitly notices that they've adopted it?

    eg https://www.thestackcanary.com/serving-spam-detection-with-x...