TIL: Unicode chars in regex
I spend some time figuring out how to match Unicode chars in regexes, so I thought I would share: https://dev.to/lasseebert/til-unicode-chars-in-regex-1m9a
Wormwood: A Small Library to Help Test Absinthe GQL APIs
While at Tinfoil Security, I wrote and released a small open source lib to help unit test GraphQL query documents against an Absinthe API. It requires no Plug.Conns and removes lots of boilerplate using macros.
You can read more about it here:
https://www.tinfoilsecurity.com/blog/wormwood-graphql-testing
And check out the code here:
The Virtue of Busy Waiting
Rafal Studnicki (@studzien) and I wrote about a better alternative to Process.sleep/1 for waiting on events in your tests! Make your test cases faster and more deterministic with busy waits: https://well-ironed.com/articles/the-virtue-of-busy-waiting/
Adding Gleam to an Elixir project
There’s a really cool new BEAM language out there called Gleam. It’s super early days for the language, but wht it offers (strong type safety) I think is worth some experimentation for folks that are interested. Lucky enough for those of us currently using Elixir it’s trivially easy to use Gleam code in your Elixir applications, and in this post I show you how.
http://devonestes.herokuapp.com/adding-gleam-to-your-elixir-project
ElixirMix Podcast 074: Inky Displays With Lars Wikman and Emilio Nyaray
In this episode of ElixirMix, we talk with Lars Wikman and Emilio Nyaray about using Inky displays with NervesProject devices. We discuss cool things people do with e-ink displays, the satisfaction of hardware hacking, how they started the project, profiling Elixir code and much more!
Simple Elixir service to repost Workplace to Slack
Put together a small article about writing a super simple bridge between Workplace and Slack. It also uses Honeydew for no real reason. https://www.bobek.cz/blog/2019/workplace2slack-index/
Enum.map_reduce/3
TIL about Enum.map_reduce/3 and I wrote a little something about it :)
https://dev.to/lasseebert/enum-mapreduce-3-3n55
Building a Table Sort UI with Live View's `live_link`
LiveView makes it easy to solve some of the most common UI challenges with little to no front-end code. Keep reading to see how you can leverage LiveView’s live navigation tooling to build a sortable table UI. https://elixirschool.com/blog/sorting-a-table-with-live-view-live-links/
Top 10 companies using Elixir
Although Elixir is a relatively new programming language, it is gaining popularity thanks to its concurrency, scalability and high fault tolerance.
Many market leaders recognized that potential and are choosing it for their new projects or replacing previous technologies with Elixir.
This is an article on top 10 companies using Elixir https://selleo.com/blog/top-10-companies-using-elixir
Understanding Elixir's Broadway
Broadway is Plataformatec’s fourth attempt at streamlining the retrieval and processing of data in Elixir. This article gives you a glimpse into that journey, provides a deeper understanding of the library, giving you everything you need to build your own Broadway application.
Integration testing Elixir with Wallaby and Webdriver
This video tutorial covers setting up Chrome Webdriver, configuring Wallaby to use it and it digs into some of Wallaby’s testing features:
-
Scoping down
findqueries -
Walkthrough of
Wallaby.Querysource - Building re-usable queries
- Putting a query into a module attribute
RecoverableStreamEx library for transparent error recovery in streams
I started to work on this library about a year ago, it was put in production around December 2018. I figured it is time to publish it as a package.
Streams are neat when you are dealing with potentially infinite data sources. For instance, you query a database table and process returned rows as they arrive. Unfortunately, should a network hiccup happen, the entire stream would fail. Naively retrying the query could be expensive. RecoverableStream moves stream evaluation into a separate process, to isolate errors.
How I changed the default structure of Elixir project to suit my preferences more
Short post about my quite successful experiment with custom values of :test_paths and :test_pattern options.
How I changed the default structure of Elixir project to suit my preferences more
Integration testing Elixir with Wallaby
Wallaby is a library for running end-to-end integration tests in Elixir (probably Phoenix) apps. This screencast tutorial starts from a freshly installed Phoenix (v 1.4.9) app called “Wally”, installs the needed libraries, configures the app to use them and writes an integration test.
https://alchemist.camp/episodes/integration-testing-elixir-wallaby
Oban Recipes Part 6: Expected Failures
The sixth Oban recipe post demonstrates using protocols to control error notifications and customize backoff for expected Oban job failures.
An interview with José Valim
An interview with José Valim where he discusses how it all started with programming, the lessons he learned while creating Elixir, and his involvement in its future.
https://www.welcometothejungle.co/en/articles/btc-elixir-jose-valim
Generating Atom Feeds with Elixir
In episode #104 we look at one way to build an Atom feed with Elixir.
Batching for Operations with Broadway
Take a deep-dive into Broadway as we build a simple data pipeline, and then improve its efficiency by using batchers.
What's the difference between alias, import, require and use in Elixir?
In Elixir we deal with dependencies on a daily basis. For many developers, it’s not very clear what the difference is between the instructions we use for this task. Read Szymon’s article to learn more about this topic.
