Prototyping with Phoenix LiveView: A Perfect Play Queue III
This time we went deep into JS / LiveView interop, implemented track position scrubbing, and added intelligent play queue auto-scroll behavior, that shows the currently playing track on the top of the queue, if user doesn’t scroll to a different place manually.
Preparing to Refactor with Better Unit Tests
TL/DR: The last time we looked at this code, we wrote property tests. The property tests used generators to create input, but the actually testing of the invariants was just regular Elixir code. In this post, we’ll look at rewriting those property tests as standard ExUnit tests, giving us better unit tests. Link: https://medium.com/perplexinomicon-of-philosodad/preparing-to-refactor-with-better-unit-tests-51e27659fe5e
7th video in the series about building cryptocurrency trading bot in Elixir
7th video in the series about building cryptocurrency trading bot in Elixir - this time we will build a BinanceMock application
We will create a new application called BinanceMock. It will have the same functionality as the Binance module so we will be able to use them interchangeably. In the future episode(s) the BinanceMock will become a foundation to allow us to perform backtesting. Besides creating the application itself, we will also modify the leader and the trader to reference the config to figure out which client to use instead of the previously hardcoded Binance module.
Designing For Elixir Compiler Hints
There are some nice new features coming in Elixir 1.11, and one many folks are excited about are some new compile-time checks. The one I’ve heard the most excitment about is the the compile-time check for non-existent fields in structs. But, I’ve got some concerns about how folks might use this and how it might change application design.
🍡 Add flavors to your context function without the hassles.
Condiment makes it easier to build keyword-based API for context functions.
Read more about the rationale/usage over on the repo - https://github.com/edisonywh/condiment
Building a Huffman encoder and decoder using Elixir
In this post we walk through building a Huffman encoder and decoder in Elixir and explore the concepts along the way. https://tiemenwaterreus.com/posts/compession-and-huffman-coding-with-elixir/
Interview with José Valim, creator of Elixir
Interview with José Valim: “Elixir is great for everything that runs on top of a socket”
Big changes coming in Horde 0.8.0
Horde 0.8.0 was released this week, including some big changes. Click the link below to find out more!
MOBA - A community-made RPG built with LiveView
MOBA is a great opportunity for those who want to have a more hands-on experience with Phoenix LiveView beyond building simple counter demos. It’s first and foremost a fun learning experience for all developer skill levels, while also being an actual product with real users deployed in a production environment.
Elixir Wizards S4E16 Miki Rezentes on how it's APIs All the Way Down
Latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s4e16-rezentes/
ThinkingElixir 011: New Ecto features in 3.5 with Mike Binns
In episode 11 of Thinking Elixir, we get a sneak peak into new Ecto features coming soon in 3.5. Mike Binns explains Ecto.Enum, what a ParameterizedType is, the new “redact” option on fields, shares tips for contributing to open source projects and much more!
Hands on with the Nerves Keyboard
I’ve been meaning to write something to draw attention to the fantastic work of the #nerves-keyboard gang for a bit. And here it is. A short guide on trying out something custom with their system.
https://underjord.io/nerves-keyboard-running-a-mechanical-keyboard-with-elixir.html
Prototyping with Phoenix LiveView: A Perfect Play Queue II
Continuing our play queue prototyping / live coding adventure in LiveView. This time, we’ve added icons, extracted all playback state related logic into a separate module, and added play mode simulation.
What I learned while working on an Elixir app
My experience of working on an Elixir app. What problems I faced & how I solved them. Check out the blogpost
https://github.com/steffenix/rebalancer/ adding exposure setting
Updates on https://github.com/steffenix/rebalancer/ choose the amount of exposure you want on every coin you hold.
Elixir Wizards S4E15 ElixirConf 2020 Preview
Latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s4e15-elixirconf/
ElixirWizards Listener Survey
Hi y’all! We’re hoping to get some podcast feedback, if you have a few minutes to fill out our survey you’ll get our eternal gratitude and a 50% off coupon good for anything at Manning Publications.
Thanks in advance!