A complete guide to LiveView v1.0.0's new syntax

LiveView v1.0.0 is finally here! The biggest change from 0.20 is that there’s a new way to render data in HEEx: {…} is now available as an alternative to <%= … %>.

In my new post I explain everything you need to know about this new feature, including some subtler details:

https://arrowsmithlabs.com/blog/phoenix-liveview-v1.0.0-new-curly-brace-syntax

Advent of Code 2024: Solving Simple Problems in Elixir with AI Assistance

The Advent of Code 2024 is here, and it’s an exciting time for programmers worldwide to flex their problem-solving muscles. But what if you could enhance your Elixir skills by using AI tools to tackle these challenges?

https://adolfont.substack.com/p/advent-of-code-2024-solving-simple

Elixir Streams |> Using GenServer.reply/2 to synchronize the asynchronous

I was trying to explain this the other day. So, naturally, I made a video. 😄

How do we coordinate a message that runs through a GenServer’s handle_call/3 and handle_info/2 in a way that makes it seem synchronous from the caller’s perspective?

The secret: GenServer.reply/2

Check out this short video! 👇

https://www.elixirstreams.com/tips/sync-the-async-within-a-genserver

Bridging the Gap: Simplifying Live Component Invocation in Phoenix LiveView.

Enhancements in ergonomics enable a more cohesive and developer-friendly approach to invoking live components compared to function components.

https://dev.to/herminiotorres/bridging-the-gap-simplifying-live-component-invocation-in-phoenix-liveview-5boc

Thinking Elixir 231: Pretty Error and OTP Raw Mode

Episode 231 of Thinking Elixir. News includes Dave Lucia’s PR making Elixir’s protocol errors more readable, OTP 28 introducing a “raw mode” for immediate CLI input processing, Saša Jurić’s “Against the Grain” talk on YouTube about a bespoke Kafka client, Johanna Larsson’s new site listing Elixir events, DockYard’s official acceptance of native application contracts highlighting the readiness of their LiveView Native library, and Brian Cardarella’s teased Motion.dev wrapper enhancing animations in LiveView, and more!

https://www.youtube.com/watch?v=lkszZDm2e5Y

JSONPathEx: A New Elixir Library for Parsing and Evaluating JSONPath Expressions

JSONPathEx is an Elixir library designed for parsing and evaluating JSONPath expressions. It provides tools to transform JSONPath syntax into an Abstract Syntax Tree (AST) and evaluate these expressions against JSON data. The library supports a variety of JSONPath features, including root selectors, recursive descent, array slicing, filters, and functions like length(), sum(), min(), and max(). Built with NimbleParsec, JSONPathEx is modular, making it easy to extend or customize. The project is open source and available on GitHub and Hex.pm. Contributions, feedback, and suggestions are welcome!

A Fast, Secure and Reliable Terraform Backend

I recently released a stable release of Lynx https://github.com/Clivern/Lynx

Upcoming Conferences and Calls for Talks

🗓️ Code Sync updates 🗓️

https://codebeamamerica.com

  • early bird tickets are available

  • diversity & inclusion programme is open

  • call for volunteers is open

https://codebeamlondon.com

  • early bird tickets are available

  • diversity & inclusion programme is open

  • call for volunteers is open

https://elixirconf.eu call for talks is open

https://lambdadays.org (FP conference): call for talks opens this week

https://codebeamstockholm.com: call for talks opens next week

Fast Nerves builds, low price

I’ve discovered an overlooked computer great at building Nerves firmware, under $1000.

https://redwirelabs.com/blog/fast-builds-low-price

Beeps and Ports [Nerves Meetup]

Joseph Stewart’s talk on Beeps and Ports: Creating an audio synthesizer with Elixir and Nerves

https://youtu.be/M6vbVjR9KEU

Elixir, Erlang, and the Quest for AI Justice: Building Unbiased ML Systems

Discover how Elixir and Erlang rise as champions of AI justice, illuminating the shadows of algorithmic bias and discrimination with astonishing statistics! https://youtu.be/eYKrJvz4n3Y

✨This talk was recorded at Code BEAM America 2024. Check out our next event: https://codebeamamerica.com

Effortless Video Sharing with Phoenix LiveView and FLAME

Article: https://www.poeticoding.com/effortless-video-sharing-with-phoenix-liveview-and-flame/

GitHub: https://github.com/poeticoding/circle-demo

I recently tackled a problem I often face: sharing videos with friends, fellow developers, or online communities without the hassle of trimming, resizing, or worrying about platform limits. The result is a simple, customizable video uploader built with Phoenix LiveView and FLAME, which lets you upload and share videos seamlessly.

Elixir & Nerves on FLOSS Weekly

I did my best to cover Elixir so I could cover Nerves as one of you had suggested me as a guest for FLOSS Weekly.

Listen and then share it if I did good :) https://hackaday.com/2024/11/27/floss-weekly-episode-811-elixir-nerves-real-embedded-linux/

Voice Activity Detection in Elixir with Membrane

Building on other people’s work I bashed things together and suddenly I can know when someone is speaking using Elixir and Membrane.

https://underjord.io/voice-activity-detection-elixir-membrane.html

Thinking Elixir 230: Hot k8s Takes and Self-Hosting

Episode 230 of Thinking Elixir. News includes episodes now available on YouTube, Parker Selbert’s experience transitioning an app from the cloud to self-hosted, Gleam v1.6.0 release with context-aware features, José Valim’s hot-take on Kubernetes vs. Elixir, and more!

https://youtu.be/kluqPI4g52s

Iterating fast on hardware with Nerves

Trying to explain Nerves to a general audience from Sweden’s largest dev conference. My talk the previous year was on Elixir and web dev and is their most watched. Probably due to you all :)

https://www.youtube.com/watch?v=xsL_cusf66c

Leveraging FLAME for Efficient Screenshot Generation

Learn how we achieved fully automated screenshots for user-provided content using FLAME in our latest blog post.

https://optimum.ba/blog/leveraging-flame-for-efficient-screenshot-generation

Bodging GenServers Together

I share my continued thoughts and plans for whacking parts of the Elixir ecosystem together to see if I get sparks.

https://underjord.io/bodging-genservers-together.html

OVP, a web crawler for sports, is now open-source

OVP is an online schedule providing broadcasting information for sports I enjoy watching. No rocket science involved.

It is a regular Phoenix application that uses Phoenix LiveView, DETS, and GenServers. Wallaby and Floki are used for the web crawlers, but the goal is to keep things simple and leverage almost everything from a what a standard Phoenix application provides. The project is deployed on Hetzner.

The original idea was to scratch my own itch, so don’t expect cutting-edge solutions or groundbreaking software design. It’s simple, no tests, but delivers on its promises.

Here’s the link to the repository: https://github.com/mssantos/ovp

Here’s the link to the app: https://ondevaipassar.xyz

Map lookup in Elixir - a taxonomy

Elixir offers a variety of idiomatic methods for looking up values in maps. By choosing the appropriate lookup method, developers can write more concise and expressive code, improving readability and reducing potential errors.

https://blog.puretype.ai/map-lookup-in-elixir

Previous page Next page