by clessg on 6/12/24, 11:13 AM with 163 comments
by julienmarie on 6/13/24, 1:40 AM
- Web development with Phoenix and Liveview is immensely enjoyable and fast
- AI with NX, Axon, Bumblebee
- Audio and Video streaming and manipulation with Membrane
- CQRS and Event Sourcing with Commanded
- Embedded with Nerves to make your own devices
- Mobile apps with Liveview Native ( in development )
- Queues, pipelines and batch processing, etc... natively or with GenStage, Broadway or Oban depending on your use case
but for me, the killer feature is IEX, Elixir's REPL. Being able to interact directly with my running code easily ( in dev or in production ), introspect it, debugging it, is just life changing.
Adding types is indeed the last piece to the puzzle to bring even more confidence in the code we ship.
by gregors on 6/12/24, 12:56 PM
I've never been more excited about a release. I've been watching commits to both Elixir and OTP for awhile now and I feel Elixir/Erlang has really picked up steam.
Thanks to everyone involved for making my life easier!
by mike1o1 on 6/12/24, 5:03 PM
I wish Elixir was able to decouple itself from LiveView in a sense in the minds of developers. Even without LiveView and realtime/channels, just using Elixir as a backend for a simple API has been really fun.
by dankai on 6/12/24, 6:36 PM
Now it would be awesome if rabbitMQ and its client would run on OTP 27, would love to upgrade :(
by sergiotapia on 6/12/24, 6:50 PM
By the way, you hear a lot about the BEAM and it's power - but in my experience you can go a LONG LONG LONG way before you ever have to even think about that part of your stack. Phoenix does such a tremendous job abstracting that for you. You just get the gainz with no effort. Other parts of the stack also just abstract that for you.
Case in point: Oban. You get powerful, flexible and easy to use background jobs for essentially free. Right there in Postgres, with your Elixir code. It's crazy.
Try it.
by auraham on 6/13/24, 5:39 AM
In [2], Wojtek Mach explains how the team behind Elixir build Livebook Desktop. He explains how the project started, some subtle bugs found when building the app for MacOS, some limitations of wxWidgets in Windows, and many other implementation details.
It would be awesome if the Elixir team releases something like elixir-desktop based on Livebook. That is, forking the Livebook repo and release an official template project for generating desktop applications based on LiveView. Right now, Livebook is distributed as an executable for Windows and Mac. Why not follow the same approach to allow developers to publish self-contained executables pretty much like Electron?
I am aware of LiveView Native [3] but I think they follow a different direction.
[1] https://github.com/elixir-desktop/desktop-example-app
by nelsonic on 6/12/24, 7:45 PM
by aczerepinski on 6/12/24, 2:11 PM
by neillyons on 6/12/24, 12:31 PM
If `foo` returns `nil`, accessing `bar` won't raise.
by pawelduda on 6/12/24, 12:16 PM
by GiorgioG on 6/12/24, 12:08 PM
by bhaney on 6/12/24, 11:50 AM
by sapiogram on 6/12/24, 12:15 PM
by notemaker on 6/12/24, 11:46 AM
by tiffanyh on 6/12/24, 1:10 PM
by mikl on 6/12/24, 9:07 PM
by dimitrisnl on 6/12/24, 12:09 PM
by CaptainOfCoit on 6/13/24, 12:33 AM
> We chose the name “shift” for this operation (instead of “add”) since working with durations does not obey properties such as associativity. For instance, adding one month and then one month does not give the same result as adding two months:
I'm not exactly sure why adding one month and then one month would give a different result compared to just adding two months. Don't you in reality want the same thing? Why is "shift" more useful than "add"?
by vohk on 6/13/24, 6:51 AM