How to update Elixir dependencies?
What is the best way to manage and upgrade Elixir deps? https://k.lelonek.me/elixir-dependencies
Elixir Wizards Launchisode Out Today!
As we kick off our new, seventh season of the Elixir Wizards podcast, we wanted to introduce our theme of the Impact of Elixir by having a simple chat between our panel and foregoing our usual guest format. As fans of podcasts ourselves, we always like to get to know some of the personalities behind the voices, so we decided to take this opportunity to do just that, with Alex, Sundi, and Eric! So to hear a little about what to expect in the coming weeks of the show, what the teams have been up to recently, both professionally and beyond, and to just enjoy a quick hangout with some friendly voices, make sure you tune into this Launchisode! https://smartlogic.io/podcast/elixir-wizards/s7e1-launchisode/
Deploying an Elixir Release using Docker on Render.com
I’ll show you how to deploy your Elixir Release, using Docker, to render.com
https://blog.miguelcoba.com/deploying-an-elixir-release-using-docker-on-rendercom
Enabling PostgreSQL cron jobs on AWS RDS
A database cron job is a process for scheduling a procedure or command on your database to automate repetitive tasks. In our case, we needed to bulk delete a huge set of records, and cron jobs came in handy.
By default, cron jobs are disabled on PostgreSQL RDS instances, so to use them on our database we need to enable them on Amazon Web Services (AWS) RDS console. Here’s how:
https://coletiv.com/blog/enabling-postgreSQL-cron-jobs-on-AWS-RDS/
Authorization and Policy Scopes for Phoenix Apps
Find out how to implement quick and easy authorization for your Phoenix apps.
https://blog.appsignal.com/2021/11/02/authorization-and-policy-scopes-for-phoenix-apps.html
ThinkingElixir 071: LiveView and the 7-GUI Tasks with German Velasco
In episode 71 of Thinking Elixir, we catch up with German Velasco then talk about how he learned of the 7-GUI Tasks online challenge and how he wanted to see how LiveView could solve them. We talk about his ElixirConf presentation and how the idea of modeling state impacted his approaches to these problems. We go over what these common UI patterns are and how LiveView is able to approach them differently. We talk about Chris McCord’s idea of “Live Apps” and how LiveView really is different from what other languages and communities can do. We discuss using LiveView to implement UI patterns that it wasn’t designed for and how that process has gotten better over time and much more!
https://thinkingelixir.com/podcast-episodes/071-liveview-and-the-7-gui-tasks-with-german-velasco/
Deploying an Elixir Release using Docker on Fly.io
Deploy an Elixir Release to Fly.io with Docker
https://blog.miguelcoba.com/deploying-an-elixir-release-using-docker-on-flyio
Elixir Config and Environment Variables with Runtime Config
Learn how to set up Elixir config and environment variables in your Phoenix project using config/runtime.exs introduced in Elixir v1.11.
SmartLogic ElixirConf 2021 Highlights
The SmartLogic team had such a great time at this month’s ElixirConf in Texas that we wrote a blog highlighting our favorite talks and moments. Now featuring video links (thanks Jim Freeze!) Check it out here: https://smartlogic.io/blog/elixirconf-2021-highlights
Deduplicating authentication and authorization tests in Phoenix using macros.
Have way too many (near-)duplicate authentication and authorization tests for Phoenix routes within your ExUnit test suite? Try test macros for deduplicating groups of tests with a single macro call.
Replace templates generated by phoenix with surface
If you want to see the difference between the look of heex templates and sface then in this short post you can check it.
https://dev.to/dkuku/porting-files-generated-by-phoenix-to-surface-3eb3
Ecto Named Bindings in your queries
Positional bindings can be problematic due to the order when building large queries with many different functions.
Named bindings can be of great help in our challenges. It is not necessary to know the position to be able to refer to the variable.
More on: https://bartoszgorka.com/ecto-named-bindings-in-your-queries
Wrap your application in a BEAM Burrito!
We’ve just open sourced Burrito, a library that allows you to build and distribute cross-platform, command-line Elixir applications to environments without an installed Erlang runtime. https://github.com/burrito-elixir/burrito
Come work with us at Team Engine
We’re a small team building a web app for managing film and TV productions, used by major studios as well as indie productions based in the UK.
More info: https://tinyurl.com/engine-elixir-job-description2
ThinkingElixir 070: PardallMarkdown with Alfred Reinold Baudisch
In episode 70 of Thinking Elixir, after huge news, we talk with Alfred Reinold Baudisch about his project PardallMarkdown. It’s a reactive Elixir server that reads markdown files, compiles them to HTML, stores them in an ETS table, and serves them up. It’s a different take on serving markdown files for a blog. It can also be used as a wiki and supports deeply nested hierarchies. An interesting feature is it can be used as a library inside your own Phoenix application to provide blog posts or other “static” content.
https://thinkingelixir.com/podcast-episodes/070-pardallmarkdown-with-alfred-reinold-baudisch/
How to Use Macros in Elixir
Let’s dive into the various applications of macros in Elixir using open-source Elixir libraries.
https://blog.appsignal.com/2021/10/26/how-to-use-macros-in-elixir.html
You can in fact use schemas in migrations
A lot of times people discourage from using schemas in migrations but the problem is not schemas themselves.
Exception Monitoring for Elixir with Honeybadger
We published a guide on how to set up exception and error monitoring for your Elixir Phoenix application with Honeybadger. Honeybadger instantly notifies you when a user experiences any errors within your app. We set it up in development so you can see how error notifications work.
New Legendary Framework Features This Week: Object Storage Engine and Social Media Preview Images
Legendary just added an S3-lite Object Storage Engine, plus slick social media preview images for posts & pages this week.
Early Return in Elixir
A quick TIL post about using throw/catch to return early. https://dev.to/damonvjanis/early-return-in-elixir-4975
