Elixir Streams |> đ„ ok/1 & noreply/1 LiveView helpers!
Iâm not a fan of writing {:ok, socket}
/{:noreply, socket}
in all of my LiveViews. Canât pipe into them!
So, I typically introduce ok
/noreply
helpers in every single LiveView.
But my colleague had the brilliant idea to introduce them to the web module!
Check it out đ€©đ
IntelliJ Elixir v17.0.0
I released v17.0.0 of my Elixir plugin for JetBrains IDEs
Changelog
v17.0.0
Breaking changes
- Drop support for <= 2023.2 IDEs.
Enhancements
- Support 2023.3 IDEs.
Bug Fixes
-
Add
displayName
inplugin.xml
for configurables for faster menu loading.-
org.elixir_lang.facet.configurable.Project
- âElixirâ -
org.elixir_lang.facets.sdks.erlang.Configurable
- âInternal Erlang SDKsâ -
org.elixir_lang.facets.sdks.elixir.Configurable
- âSDKsâ
-
You might not need gradual typing in Elixir
This week JosĂ© Valim announced that Elixirâs long-awaited gradual typing system is finally coming to fruition. But if dynamic typing was the reason youâre avoiding Elixir, Iâd argue that your fears are overblown anyway.
Learn why Elixirâs lack of static types isnât as big a problem as you might think:
https://phoenixonrails.com/blog/you-might-not-need-gradual-typing-in-elixir
Blog on "Adding PDF generate feature in Phoenix LiveView"
This blog explains how to create pdf in Phoenix LiveView app. Here is the link for the blog https://abulasar.com/adding-pdf-generate-feature-in-phoenix-liveview-app
Introducing Paraxial.io Slack Alerts
Get notified in Slack about the security of your Elixir app! https://paraxial.io/blog/slack-app
Thinking Elixir 184: Magic Links
Episode 184 of Thinking Elixir. In the news, we dive into a mix of intriguing Elixir updates and innovative developments. We explore the convenient and versatile Testcontainers project, designed to streamline your testing environment, and touch on Zach Danielâs efforts to integrate bulk operations into the Ash Framework. German Velasco has been busy sharing a wealth of tips on ElixirStreams.com, and we stumbled upon a rare gem, a Windows-focused Elixir library that bridges the gap with Azure authentication services. But the heart of our discussion revolves around the magic of âmagic linksâ in Phoenix applications. We delve deep into how these links offer a seamless user experience by simplifying authentication, the challenges they may pose, and the impressive ways they can refine your developer workflow. Stay tuned for these updates and more in the show!
Tail-Recursive & Body-Recursive Function Performance Across Elixir & BEAM versions â whatâs the impact of the JIT?
Finally having finished my own little yak-shave of figuring out a performance problem and releasing benchee 1.3.0 to fix it here is what I was up to: Taking my old blog post about body-recursive vs. tail-recursive functions and benchmarking it across Elixir & Erlang versions from 1.6 @ OTP 21 up to 1.16 @ OTP 26 and see:
- How much faster have we gotten? What was the impact of the JIT?
- Did the performance characteristics change? (aka whatâs the fastest for which input)
And spoiler alert, we got quite a bit faster and performance charteristics changed - read on to learn more!
January Nerves Meetup
The next Nerves meetup is Wednesday, January 31st! This will be a social gathering to hang out with other Elixir/embedded engineers, share projects, ask questions, and get help!
Github-like reference in text field
As I am finishing my Tekken related application,
I played around with Phoenix Liveview
hook to reference database records in a text field whenever a #
is typed.
Happy new year ! đ„ł
Elixir Streams |> Remapping Ecto fields to existing columns
Recently learned of Ectoâs field/3
source
option.
It allows us to name the field one thing (helpful for our domain clarity) even when an existing column has a name we no longer like.
Thatâs very helpful when working with existing databases!
Check it out â Elixir Streams |> Remapping Ecto fields to existing columns
Introducing the Paraxial.io GitHub App
Get security feedback and advice on how to fix vulnerabilities, right in your pull request, with the Paraxial.io GitHub App!
Thinking Elixir News 183
Episode 183 of Thinking Elixir. We kick off the new year diving into the freshly released Elixir 1.16.0 with new features like enhanced documentation and improved error reporting. We explore the burgeoning Elixir Machine Learning ecosystem, and discuss the innovative use of Llama.cpp with Elixir for machine learning on less powerful hardware. We also touch on the release of Benchee 1.3.0, which focuses on improving memory usage in benchmarks, and introduce Magma AI Prompt IDE, a handy tool for Elixir developers looking to streamline their project knowledge and documentation process. Plus, we unveil Adobeâs Elixir Styler for smarter code formatting, and share insights on the comprehensive Membrane SDK release for multimedia enthusiasts, and more!
Nerves & AWS Greengrass (Nerves Meetup)
When working with an existing IoT system that requires a higher level of security, one option is to integrate an off-the-shelf service and delegate to this layer. Alfonso Gonzalez shows how to integrate Amazon Greengrass into Nerves firmware in order to perform secure remote firmware updates using a well-known security standard.
View Transitions API and Phoenix LiveView
Testing the new View Transitions API with Phoenix LiveView to easily animate DOM updates.
https://readyforproduction.dev/blog/view-transitions-api-and-phoenix-liveview
A Symphony of Innovation in the Serverless Erlang/BEAM Space
In the Serverless technology space, BEAM seemed to be outside the group. Until now. Letâs take a look at two of the main solutions in this space at BEAM. https://eigr.io/blog/spawn-and-flame-a-symphony-of-Innovation-in-the-serverless-beam-space/
Exploring the Data Analysis: From Python Certification to the Elixir Challenge
I decided to solidify my knowledge by undertaking the Data Analysis course at freeCodeCamp, aiming to achieve my first certification.
After completing the certification using Python, the idea of embracing a new challenge, I decided to tackle data analysis problems using the Elixir toolset exclusively.
Elixir Streams |> Introspecting modules at runtime
I didnât know about Elixirâs Module.__info__/1
until recently.
Itâs a super handy function to help us introspect modules at runtime. đ We can get info like the functions, macros, attributes, struct and more.
Check out a quick demo!
Thinking Elixir 182: Year End Review
Episode 182 of Thinking Elixir. As we close another year packed with developments in the Elixir ecosystem, weâre rolling out the red carpet for a âYear End Reviewâ episode! Before we do that, we cover the most recent news events like the release of Supabaseâs Supavisor, a connection pooler, crafted with a helping hand from Dashbit. We shed light on the partnership between Supabase and Fly.io introducing a managed Postgres option. Then, for front-end enthusiasts, we discuss the released beta of LiveView Native and more! And, if thatâs not enough, weâve got loads to unwrap from highlights of the past yearâs achievements!
Using the Keyword module for options
Use the Keyword module to support options in your functions and make a better API design.
Happy holidays! đ đđŸđ„đ
https://dev.to/herminiotorres/using-the-keyword-module-for-options-fg3
Secret Santa in Elixir
Weâve kind of hit a wall with the whole buying presents for each family member thing. Honestly, itâs been a real drain on the bank account, and it just doesnât feel right anymore. Well, we found a solution in the dark arts of a Secret Santa.
Being crazy about Elixir, the first thing I did was open up Livebook and start implementing a way to create matches.