![]() When Elixir 1.12 was released, Livebook was updated to require that version. Livebook is actually really powerful even when used on a regular Phoenix web project. It also works for experimenting and exploring changes.īecause the notebook files are simple markdown files, they are easily added to source control and become part of the project if desired. This lets developers new to a project experiment and learn that central idea. Livebook makes it easy to experiment with our code, execute it, and demonstrate the point we’re making. access the project’s code and document critical areas. ![]() Notebook files are stored as plain Markdown files.Keyboard shortcuts for easier navigation and editing.Livebook accesses the project’s code and let’s me simultaneously document it and execute the code showing the results! Why Livebook? It is a module and struct used to model a game’s state. Using Livebook, I documented the central piece that is the GameState. Previously, I created the game TicTac that let’s you play distributed Tic-Tac-Toe with a friend from across the world on Fly.io. Livebook is actually really powerful even when used on a regular Phoenix web project.īefore I go any further, let me show you what I mean. While it was created for the machine learning space, it isn’t limited to it. Livebook is still early days, but it’s rapidly progressing, it’s already solid, and has some awesome features. It’s an exciting project created to help use Nx, Axon and machine learning with Elixir. ![]() Livebook is Elixir’s answer to something like Jupyter notebooks. ![]() Now with Livebook, there may be a new way to provide documentation, interactive exploration, and expose the app logic in a way we couldn’t before. So you document the code and may even have 100% code coverage for it.Ĭode documentation and tests are valuable here. It’s that central idea that everything else is there to support.Ī major hurdle for new developers joining a project can be understanding and becoming comfortable with the code that implements that central idea. So we’ve been playing with Livebook.Įvery application has that core, most important thing that it does. Fly runs apps close to users, you can run pretty much any Docker image on Fly. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |