Match specs look a little scary at first, but they let ETS filter your data for you instead of copying the whole table over to your process. Great for time series data!
#ElixirLang #Erlang #Livebook
Match specs look a little scary at first, but they let ETS filter your data for you instead of copying the whole table over to your process. Great for time series data!
#ElixirLang #Erlang #Livebook
Enum.sort/1 compares structs field by field, which gives you the wrong answer for dates! Pass in the Date module and let it do the comparing. It works for :desc as well!
#ElixirLang #Erlang #Livebook
Enum.sort/1 compares structs field by field, which gives you the wrong answer for dates! Pass in the Date module and let it do the comparing. It works for :desc as well!
#ElixirLang #Erlang #Livebook
Need to encrypt some data? The Erlang :crypto module has AES-GCM built in, and decryption fails if anything was tampered with. Just make sure to never reuse an IV with the same key!
#ElixirLang #Erlang #Livebook
Need to encrypt some data? The Erlang :crypto module has AES-GCM built in, and decryption fails if anything was tampered with. Just make sure to never reuse an IV with the same key!
#ElixirLang #Erlang #Livebook
Livebook integration for Castor EDC: smart cells and rich rendering.
Licenses: MIT
Livebook integration for Castor EDC: smart cells and rich rendering.
Licenses: MIT
📺 https://youtu.be/fOMoSvDGda4
#Elixir #Nerves #ElixirConf
📺 https://youtu.be/fOMoSvDGda4
#Elixir #Nerves #ElixirConf
Not to be confused with Kernel.dbg/2! The Erlang :dbg module traces function calls on a running system, arguments and return values included. Just be careful on busy nodes!
#ElixirLang #Erlang #Livebook
Not to be confused with Kernel.dbg/2! The Erlang :dbg module traces function calls on a running system, arguments and return values included. Just be careful on busy nodes!
#ElixirLang #Erlang #Livebook
Task.await/2 takes down the caller if a task runs too long. Pair Task.yield/2 with Task.shutdown/2 to grab the result if it's ready and clean up the task if it isn't!
#ElixirLang #Erlang #Livebook
Task.await/2 takes down the caller if a task runs too long. Pair Task.yield/2 with Task.shutdown/2 to grab the result if it's ready and clean up the task if it isn't!
#ElixirLang #Erlang #Livebook
Learn practical Elixir/OTP patterns and make better use of the BEAM.
- eBook: $24 (instead of $49)
- eBook + 20 Livebook notebooks: $39 (instead of $79)
elixirpatterns.dev#pricing
Learn practical Elixir/OTP patterns and make better use of the BEAM.
- eBook: $24 (instead of $49)
- eBook + 20 Livebook notebooks: $39 (instead of $79)
elixirpatterns.dev#pricing
#592721 mangohud: use upstream Vulkan layer names
#592958 matrix-commander-rs→0.13.0
#592621 mcp-searxng→2.12.0
#592822 mdcat→2.20.2
#588155 mealie: use upstream entrypoint
#592420 melonds→1.1-unstable-2026-11-22
#589915 mir→2.31.0
#592241 mistral-vibe→3.1.4
#592721 mangohud: use upstream Vulkan layer names
#592958 matrix-commander-rs→0.13.0
#592621 mcp-searxng→2.12.0
#592822 mdcat→2.20.2
#588155 mealie: use upstream entrypoint
#592420 melonds→1.1-unstable-2026-11-22
#589915 mir→2.31.0
#592241 mistral-vibe→3.1.4
Livebook Smart Cells for Qx. A "Qx Credentials" cell builds a %Qx.Hardware.Config{} from Livebook secrets; Kino.Qx.run!/2 pipes a circuit onto real IBM ⋯
Licenses: Apache-2.0
Livebook Smart Cells for Qx. A "Qx Credentials" cell builds a %Qx.Hardware.Config{} from Livebook secrets; Kino.Qx.run!/2 pipes a circuit onto real IBM ⋯
Licenses: Apache-2.0
Like ETS but want your data to survive a restart? The Erlang :dets module stores your terms on disk using a very familiar API. Just keep in mind the 2GB limit per file!
#ElixirLang #Erlang #Livebook
Like ETS but want your data to survive a restart? The Erlang :dets module stores your terms on disk using a very familiar API. Just keep in mind the 2GB limit per file!
#ElixirLang #Erlang #Livebook
The Erlang :rand module can do more than generate integers. Seed it for reproducible runs and sample from a normal distribution for some quick Monte Carlo simulations!
#ElixirLang #Erlang #Livebook
The Erlang :rand module can do more than generate integers. Seed it for reproducible runs and sample from a normal distribution for some quick Monte Carlo simulations!
#ElixirLang #Erlang #Livebook
Did you know that comparing version strings will tell you that 1.10.0 is older than 1.9.0? The Version module understands semantic versions and even requirements like ~> 1.9!
#ElixirLang #Erlang #Livebook
Did you know that comparing version strings will tell you that 1.10.0 is older than 1.9.0? The Version module understands semantic versions and even requirements like ~> 1.9!
#ElixirLang #Erlang #Livebook
Livebook smart cells and a streaming stage for TuningFork.
Licenses: MIT
Livebook smart cells and a streaming stage for TuningFork.
Licenses: MIT
Livebook smart cells and a streaming stage for TuningFork.
Licenses: MIT
Livebook smart cells and a streaming stage for TuningFork.
Licenses: MIT
Did you know that OTP ships with process groups? Using :pg, processes can join a named group and anyone in the cluster can find them. A great building block for pub/sub!
#ElixirLang #Erlang #Livebook
Did you know that OTP ships with process groups? Using :pg, processes can join a named group and anyone in the cluster can find them. A great building block for pub/sub!
#ElixirLang #Erlang #Livebook
Need to bail out of a reduce early? Enum.reduce_while/3 lets you decide on every iteration if you want to :cont or :halt, so you don't have to walk the whole list!
#ElixirLang #Erlang #Livebook
Need to bail out of a reduce early? Enum.reduce_while/3 lets you decide on every iteration if you want to :cont or :halt, so you don't have to walk the whole list!
#ElixirLang #Erlang #Livebook
Before you reach for a 3rd party library to format your timestamps, check out Calendar.strftime/3. It supports all the usual format codes and it's built right into Elixir!
#ElixirLang #Erlang #Livebook
Before you reach for a 3rd party library to format your timestamps, check out Calendar.strftime/3. It supports all the usual format codes and it's built right into Elixir!
#ElixirLang #Erlang #Livebook
Need key/value storage that keeps everything sorted? The Erlang :gb_trees module is a great fit for something like an order book where you always want the best price!
#ElixirLang #Erlang #Livebook
Need key/value storage that keeps everything sorted? The Erlang :gb_trees module is a great fit for something like an order book where you always want the best price!
#ElixirLang #Erlang #Livebook