News includes the release of OTP 27.1 with significant improvements to the Zip module, the upcoming deprecation of the unless keyword in Elixir 1.18, support for Data Channels in Elixir WebRTC, new test-related feature highlighted by ElixirStreams to tackle intermittent failures, a detailed blog from Discord on reducing their websocket traffic by 40%, ElixirConf Lightning talks on YouTube, and more!
Show Notes online - http://podcast.thinkingelixir.com/222 (http://podcast.thinkingelixir.com/222)
Elixir Community News
https://erlangforums.com/t/erlang-otp-27-1-released/4006 (https://erlangforums.com/t/erlang-otp-27-1-released/4006?utm_source=thinkingelixir&utm_medium=shownotes) – OTP 27.1 was released, which is the first maintenance patch for OTP 27. It brings important fixes including upgrades in the Zip module with support for large archives, extended timestamps, UID/GID support, and enhanced directory handling. Several Windows-specific fixes are also included.
https://x.com/moomerman/status/1838235643983364206 (https://x.com/moomerman/status/1838235643983364206?utm_source=thinkingelixir&utm_medium=shownotes) – unless keyword will be deprecated in upcoming Elixir 1.18. Users are encouraged to use if !condition instead. A mix format --migrate command is available to assist with the transition.
https://github.com/elixir-lang/elixir/pull/13851 (https://github.com/elixir-lang/elixir/pull/13851?utm_source=thinkingelixir&utm_medium=shownotes) – Related GitHub pull request regarding the deprecation of unless keyword.
https://github.com/elixir-lang/elixir/pull/13841 (https://github.com/elixir-lang/elixir/pull/13841?utm_source=thinkingelixir&utm_medium=shownotes) – Another related GitHub pull request for deprecating the unless keyword in Elixir 1.18.
https://github.com/gleam-lang/gleam/releases/tag/v1.5.0-rc2 (https://github.com/gleam-lang/gleam/releases/tag/v1.5.0-rc2?utm_source=thinkingelixir&utm_medium=shownotes) – Gleam v1.5.0-rc2 was released for testing.
https://elixir-webrtc.org/ (https://elixir-webrtc.org/?utm_source=thinkingelixir&utm_medium=shownotes) – Support for Data Channels in Elixir WebRTC was added, enhancing the project with features for sending arbitrary data over P2P connections.
https://github.com/elixir-webrtc (https://github.com/elixir-webrtc?utm_source=thinkingelixir&utm_medium=shownotes) – GitHub organization for Elixir WebRTC, including recent updates and projects.
https://x.com/mickel8v2/status/1838565408711880801 (https://x.com/mickel8v2/status/1838565408711880801?utm_source=thinkingelixir&utm_medium=shownotes) – Twitter announcement about the addition of data channels in Elixir WebRTC.
https://blog.swmansion.com/data-channels-in-elixir-webrtc-0853c7d0e256 (https://blog.swmansion.com/data-channels-in-elixir-webrtc-0853c7d0e256?utm_source=thinkingelixir&utm_medium=shownotes) – Blog post explaining the significance and uses of data channels in Elixir WebRTC.
https://www.elixirstreams.com/tips/mix-test-repeat-until-failure (https://www.elixirstreams.com/tips/mix-test-repeat-until-failure?utm_source=thinkingelixir&utm_medium=shownotes) – ElixirStreams video tip on using mix test --repeat-until-failure n to run tests until failure, handy for diagnosing intermittent test failures.
Mark's favorite seed to use is --seed 0, which runs tests in sequential order, which is helpful during TDD.
https://www.elixirstreams.com/tips/mix-test-slowest-modules (https://www.elixirstreams.com/tips/mix-test-slowest-modules?utm_source=thinkingelixir&utm_medium=shownotes) – New --slowest-modules n flag added to mix test helps identify modules with the slowest tests, complementing the existing --slowest n flag for individual tests.
https://discord.com/blog/how-discord-reduced-websocket-traffic-by-40-percent (https://discord.com/blog/how-discord-reduced-websocket-traffic-by-40-percent?utm_source=thinkingelixir&utm_medium=shownotes) – Discord shared a new blog post detailing how they reduced websocket traffic by 40% by switching from zlib to zstandard for compression and implementing PASSIVE_UPDATE_V2.
https://github.com/silviucp
Отзывы