The Beam Bloggers Webring has been created!
If you write about anything related to the Beam on your own personal or business blog please consider joining the webring, no cost, no weirdness. Just a bit of old-school fun:
Dynamically Configure Your Plugs at Run-time
Check out my most recent blog post on dynamically configuring Elixir Plugs and when you may need to do such a thing. I also introduce 2 libraries that I published to Hex to make that task easier! https://akoutmos.com/post/plug-runtime-config/
ThinkingElixir 009: Decomposing models with Maciej Kaszubowski
In episode 9 of Thinking Elixir, we discuss decomposing models based on lifecycle with Maciej Kaszubowski. He shares tips on finding the lines, how DDD can help, ideas for modular designs, simple ways to start a PubSub architecture and much more!
Building Backdoor: web console for Elixir & Phoenix applications - Part #3: Managing multiple supervised sessions.
Our series on building interactive Elixir web console grows! This time a big episode, where I build multiple concurrent sessions support using DynamicSupervisor, Registry, Supervisor, Agent, GenServer.. oy! Enjoy the blog post and the 75-minutes-long video:
https://www.amberbit.com/blog/2020/8/17/building-backdoor-web-console-for-elixir-and-phoenix-part-3/
And do let me know if you like it!
Preparing to Refactor with Property Tests
If you can think in properties, with or without a property testing library, your tests will support refactoring rather than being a barrier to it. https://medium.com/perplexinomicon-of-philosodad/preparing-to-refactor-with-property-tests-519d6b3c63bf
Inspect yourself, before you wreck yourself
Few weeks ago, a feature going down and a piece of bad code led me to a patch in Erlang VM/OTP internals. Wrote a short article on it - https://sayan.xyz/posts/elixir-erlang-debugging-otp
Elixir Outlaws: The ish is what matters
This week, Chris and Amos discuss the power of modeling problems with data and the trap of the single global process.
An IoT Birdhouse with Elixir Nerves & Phoenix LiveView Components
Building an IoT Birdhouse with Elixir Nerves & Phoenix LiveView Components
https://dev.to/dasky/an-iot-birdhouse-with-elixir-nerves-phoenix-liveview-components-5cb2
Elixir Wizards S4E13b Elixir Wizards Dojo: Nerves Part 2
Latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s4e13b-dojo/
Instrospecting Ecto Schemas
In this episode we’ll see how you can dynamically get data about an Ecto Schema.
5th video in the series about building cryptocurrency trading bot in Elixir
5th video in the series about building cryptocurrency trading bot in Elixir - this time starting and running multiple traders at once
We will introduce a rebuy_interval which will allow us to start new traders as prices fluctuate. Before doing that we will work on a few things:
- buy price (by introducing buy_down interval)
- quantity (as it was hardcoded up to this moment)
- race condition related to multiple transactions per order
- rebuy interval mentioned above
- visibility (introducing unique ids for traders [for logging])
Embedded comments form
This is part of the Phoenix LiveView series, but nothing in this tutorial is related to LiveView.
There’s also a challenge at the end of the tutorial!
Why Guards in Elixir Fail to Serve sometimes?
The functional firewalls (Guards) can be penetrated if you don’t know how the comparison works in elixir.
Here, I took an example to demonstrate. It’s a known topic, yet to know bit deeper.
https://medium.com/blackode/why-guards-in-elixir-fail-to-serve-sometimes-d4ee23d6b328
Happy Coding : Stay Healthy :)
Updating and Deleting from Temporary Assigns in Phoenix LiveView
Leveraging temporary assigns is a great way to optimize Phoenix LiveView. This post explores how to update/delete from temporary assigns in your LV. https://newaperio.com/blog/updating-and-deleting-from-temporary-assigns-in-phoenix-live-view
Elixir Wizards S4E13a Elixir Wizards Dojo: Nerves Part 1
Latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s4e13a-dojo/
ThinkingElixir 008: Careers and Dev Environments
In episode 8 of Thinking Elixir, we discuss career development as programmers, how COVID may change things, our dev environments including editors, resources, asdf, docker, and much more!
Starting a New Elixir Project from Scratch
The good(and some bad) parts on starting up a new Elixir Project from an Elixir noob, all the way from bootstrapping the project to setting up CI/CD https://boredhacking.com/starting-a-new-elixir-project/
Elixir Wizards S4E12 Greg Mefford on Nerves, Poncho vs Umbrella
Latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s4e12-mefford/
Ecto.Multi Patterns: Batch Inserting Records
In this blog post we look at a common Ecto.Multi pattern; batch inserting records using a reduce to accumulate records into a transaction.
