macOS removes files from the temporary directory but
keeps the directory. This would cause LiveView to
misbehave as it would assume all assets are checked out.
* Show the correct amount of free memory available on the system
Attempts to use the `available_memory` stat, otherwise tries to
cobble it together using cached+buffered+free as per the erlang
docs on `:memsup:get_system_memory_data` and only failing that
flals back to `free_memory`
* Use `Map.new` rather than `Enum.into`
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
* Update lib/livebook/system_resources.ex
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
* Synchronize smart cell source before evaluation
* Sync JS view only if present
* Synchronize with smart cell only when started
* Update references to kino packages
* Update the Smart cells notebook
* Rename add dependnecy to add package
* Update changelog
* Update references to kino
* Update changelog
* Make the Chart cell section branching
* Apply suggestions from code review
Co-authored-by: José Valim <jose.valim@dashbit.co>
* Capitalization
* Add link to the Iris dataset
* Pass keys to Process.info/2
Co-authored-by: José Valim <jose.valim@dashbit.co>
* Fix indentation in HTML format
* Adds more spacing between items
* Use horizontal lines to better mark the sections,
unless the header itself is followed by a table.
Those changes are inspired by GitHub's current
settings page.
* Keep memory usage state at the root on homepage
* Update lib/livebook/system_resources.ex
Co-authored-by: José Valim <jose.valim@dashbit.co>
Co-authored-by: José Valim <jose.valim@dashbit.co>
* Show information when a new Livebook version is available
* Wording
* Use more precise version comparison
* Update lib/livebook/application.ex
Co-authored-by: José Valim <jose.valim@dashbit.co>
* Up
* Update notificaion styles
* Update lib/livebook_web/live/home_live.ex
Co-authored-by: José Valim <jose.valim@dashbit.co>
* Update lib/livebook_web/live/home_live.ex
Co-authored-by: José Valim <jose.valim@dashbit.co>
* Apply review comments
* Use async_nolink
Co-authored-by: José Valim <jose.valim@dashbit.co>
* Add LIVEBOOK_SHUTDOWN_ENABLED
Previously we relied on code:get_mode(), but since
releases are starting in interactive mode to use
less memory, we need a clearer mechanism.
* Move shutdown feature check to Livebook.Config
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
* Add support for mix run flags to the Mix runtime
* Support mix run flags in runtime config string
* Add flag validation
* Update lib/livebook_web/live/session_live/mix_standalone_live.ex
Co-authored-by: José Valim <jose.valim@dashbit.co>
Co-authored-by: José Valim <jose.valim@dashbit.co>