Amplify Smart Cells in Elixir Livebook

If you want to see more data in your Smart Cells output, you will come soon! https://github.com/livebook-dev/livebook/pull/1984 #myelixirstatus #elixirlang @livebookdev

A mini-language from scratch in Elixir - Evaluation

In this post, we add simple evaluation of Ovo’s abstract syntax tree, up to being able to evaluate basic forms like addone = \a -> add(a, 1) end \n addone(2) to 3.

https://lucassifoni.info/blog/small-lang-elixir-5/

Build your own Redis in Elixir

Recreate Redis from scratch in Elixir. Dive deeper into TCP servers, network programming, and the Redis protocol.

https://app.codecrafters.io/tracks/elixir?r=7xI

Thinking loops in Elixir

Approaches for converting imperative loops into functional Elixir.

https://alexpearce.me/2023/06/elixir-loops/

Phoenix LiveView: Async Assign Pattern

A sustainable pattern for loading assigns concurrently in Phoenix LiveView. https://blog.andyglassman.com/2023/06/phoenix-liveview-async-assign-pattern.html

The many states of Elixir

A post on mutability and state in Elixir. Functional yes. Immutable? Eeh..

https://underjord.io/the-many-states-of-elixir.html

Custom Styling for Kaffy Admin UI

Guide on how to style the Kaffy Admin UI nav.

https://blog.andyglassman.com/2023/06/custom-kaffy-styling.html

Thinking Elixir News 155

Episode 155 of Thinking Elixir. OpenSource contributions recognition for Jonatan Kłosko, more from Sean Moriarity on AI with Elixir, the latest update on LLaMa running locally, Stephen Bussey is helping people move from OO languages like Ruby to Elixir with a new book, unraveling recent Arrow related contributions, a security fix to apply and conferences requesting speakers!

https://podcast.thinkingelixir.com/155

Prefixed Object IDs in Ecto

How to set up human-readable Object IDs with Ecto using prefixed base62 encoded UUIDv7.

https://danschultzer.com/posts/prefixed-base62-uuidv7-object-ids-with-ecto

Adding Dialyzer Without the Pain

Dialyzer is a tool that you’ve probably heard about in the Elixir community. You may have even used it. However, adding Dialyzer to an existing project can feel overwhelming when you see the wall of red and have 100s of errors. Hitting that resistance can turn people right around, running for the door. Noah Betzen shows us how adding Dialyzer doesn’t have to be scary. He walks us through the process on several existing public Elixir projects. He shares some tips and tricks that let us keep our productivity without getting overwhelmed.

https://fly.io/phoenix-files/adding-dialyzer-without-the-pain/

Exploit Guard: Open Source Runtime Application Self Protection for Elixir

Detect and stop hacking attempts at runtime. Exploit Guard is an open source RASP tool for Elixir, which monitors for remote code execution (RCE) attacks at runtime.

https://paraxial.io/blog/exploit-guard

Anatomy of a LiveView test

This is how I like to write most of my LiveView tests:

  • mount LiveView with live/2,
  • target an element (with element/3 or form/3) and perform a render action
  • make an assertion with has_element?/3

The familiar setup-exercise-verify testing pattern. 🥳

Check it out 👉 https://youtu.be/PGGhL9Votig

The glory of scripting in Elixir

Hyperbole aside. I really like writing up quick scripts in Elixir and I figured I’d share the basic idea of it in case people weren’t aware how very possible it is. https://underjord.io/scripting-with-elixir.html

How much memory is needed to run 1M Erlang processes?

Response to the recent article about memory usage of different runtimes for concurrent processing. How to improve Elixir results in such micro benchmarks.

https://hauleth.dev/post/beam-process-memory-usage/

Why do ML on the Erlang VM?

I wrote about my thoughts as an old Python dev that’s gone to Elixir and soon found that ML followed me over here. Or rather, why ML kinda fits in Elixir.

https://underjord.io/why-ml-on-erlang.html

HtmlSanitizeEx

In this episode we’ll use the HtmlSanitizeEx package to help protect an Elixir application that uses Phoenix against malicious code execution.

https://elixircasts.io/sanitizing-html-with-htmlsanitizeex

ThinkingElixir 154: Serving Up AI with Sean Moriarity

Episode 154 of Thinking Elixir. AI topics are all the rage right now, so we team up with Sean Moriarity to unpack what’s going on and what it means for Elixir. Sean talks about Nx and his insights on the timing of Elixir’s readiness for the public AI shift. He explains some of the Python frustrations that Elixir can alleviate and he shares tips on putting a PoC ML solution into a production Elixir app. Recently, Sean added LLaMa support to Bumblebee and he explains the background for the OpenSource Meta LLM people have been playing with and more! Turns out there’s a lot to be excited about for AI and Elixir!

https://podcast.thinkingelixir.com/154

Absinthe for Large Elixir Applications

Discover how you can best use Absinthe for data-heavy Elixir applications: https://blog.appsignal.com/2023/06/06/absinthe-for-large-elixir-applications.html

Migrating from pow to phx.gen.auth

How to migrate from the pow library for authentication to phx.gen.auth without breaking anything for users. https://2metz.fr/blog/migrate-from-pow-to-phx-gen-auth/

Migrating to Verified Routes

Verified Routes are an exciting feature introduced in Phoenix in v1.7. For those of us with a mature project, we may have already upgraded to Phoenix v1.7, but we didn’t stop to migrate the hundreds of routes in our project. Now that some time has passed, we are ready to bring the benefits of simpler, clearer routes that are compile-time checked to our project. Perhaps the plan was to slowly convert our routes over time. But what if we could get it all done today? In this post, we use a community created custom mix task to migrate the bulk or the routes and we cover how to clean-up what’s left over. Get the benefit of Verified Routes now!

https://fly.io/phoenix-files/migrating-to-verified-routes/

Previous page Next page