Poznań Elixir Meetup #15
We’d like to invite you to the 15th Poznań Elixir Meetup!
The plan is to have two interesting presentations but also have some time to grab a beer and pizza, meet people and talk about Elixir programming language.
Schedule:
Yevhenii Kurtov - A correlation between code quality and job satisfaction Adrian Borowski - Fun with Nerves. How to build your own smart home system without sweat and tears Networking & pizza
My perfect stack ;)
A full video is now up discussing the stack I would use. I honestly only care about the intro though. Who doesn’t want to be competent, save time and purify their soul? https://youtu.be/Y1wPRAHTE_E
12 Startups Using Elixir Language in Production - Elixir Use Cases
Check out 12 popular startups written in Elixir language!
https://curiosum.com/blog/12-startups-using-elixir-language-in-production
Deploying Oban Pro to Fly.io using Docker and GitHub Actions
Configuring your deploy pipeline with Oban API keys can get a little tricky, luckily I figured it out so you don’t have to!
https://davelucia.com/blog/deploying-oban-pro-with-docker-and-fly
Using Caching to Speed up Large Data Returns by 1000x
Absinthe and Phoenix are amazing frameworks, but what happens when our requests take a bit too long to encode? In this article we explore how we can use caching and plugs to short-circuit JSON re-encoding of large structures and speed up our responses.
https://learn-elixir.dev/blogs/using-caching-to-speed-up-large-data-returns-by-1000x
ThinkingElixir 113: Livebook Desktop
Episode 113 of Thinking Elixir. Livebook Desktop is a recent project that makes it much easier for people to start using Elixir and Livebook. Wojtek Mach joins us to explain what Livebook Desktop is and how it works. We learn who the project is for and the problems it helps solve. We ask if this approach makes sense for other projects and if so, how to get started. Wojtek also shares some cool things in the works that make it possible to load our own Phoenix project into a Livebook!
Predictable Code in Elixir: Expressions as Reducers and Macros
In the second part of this two-part series, discover how to write expressions as reducers and use macros to keep your code predictable in Elixir. https://blog.appsignal.com/2022/08/23/predictable-code-in-elixir-expressions-as-reducers-and-macros.html
Set Up Stripe Checkout for Elixir Phoenix
Stripe Checkout is the simplest way to accept payments in your Phoenix app. Learn how to set up a basic checkout workflow in Elixir with Stripe.
phx_live_storybook 0.3.0
phx_live_storybook 0.3.0 has been just released!🔥
Among a lot of things:
- play with your components in a brand new playground
- it is now responsive
- component sandboxing has been improved (and you can opt-in for iframes)
Full changelog here: https://github.com/phenixdigital/phx_live_storybook/blob/main/CHANGELOG.md…
Fingerprinting Knock errors for Sentry in Elixir
At SwayDM, we use the fantastic Knock platform for notifications, and Sentry for error reporting. With a bit of custom configuration, you can have them work together nicely. https://milwaukeemaven.blogspot.com/2022/08/fingerprinting-knock-errors-for-sentry.html
Setting User-Agent in Elixir with Finch, HTTPoison, Req, or Tesla
In 1996 Google co-founder Larry Page posted in comp.lang.java, Q: Setting User-Agent Field?. 26 years later, you may still need to set the User-Agent in your project. Here are four examples from the Elixir HTTP clients Finch, HTTPoison, Req, and Tesla.
Preventing reuse of the same password
Safe passwords are a very important aspect of application security. How can you check if the password has not been used before? Compare passwords in Elixir thanks to Bcrypt.
More on: https://bartoszgorka.com/preventing-reuse-of-the-same-password
ThinkingElixir 112: Putting LiveView in a Chrome Extension
Episode 112 of Thinking Elixir. Google Chrome extension that displays a LiveView and integrates with a web page like Gmail? Steve Bussey shares how he did just that! We learn how it worked, why he did it, the benefits he sees, and how this differs from the conventional approach. He explains the small JS shim used, recommends a library to help when integrating with Gmail and he explains how the user experience is great, particularly when rolling out new versions! Steve goes further to talk about Chrome’s new v3 extension API and targeting multiple browsers.
FSM Driven Development
A new library to manage statefull processes as Finite Automatæ and the impudent proposal for the HTTP verbs extentions.
https://rocket-science.ru/hacking/2022/08/14/fsm-driven-development
The solution of Elixir continuous runtime system code coverage collection
Code coverage is an effective means to assist software engineers in verifying code quality. The runtime environment’s ability to collect code coverage fully combines black and white box testing capabilities and greatly increases engineers’ confidence in software quality. This article introduces a solution for code coverage collection in the Elixir runtime environment, and provides an in-depth insight into its internal principles.
A new public repository for Elixir security advisories
We just launched mirego/elixir-security-advisories, a new repository to replace the community-maintained (and now archived) dependabot/elixir-security-advisories.
The new repository data is completely automated and sourced from GitHub Advisory Database and is perfect for public usage (while GitHub API requires authentication to fetch security advisories).
https://craft.mirego.com/2022-08-09-a-new-public-repository-for-elixir-security-advisories
Alias, import, require and use in Elixir - complete guide with use cases.
In most programming languages we often deal with instructions responsible for handling dependencies. Elixir is no different.
In Elixir, dependency is nothing more than compiled module which for some reason you want to use in another module. There are a couple of instructions that we use in Elixir to either make it easier or possible to interact with modules.
In this blog post Szymon Soppa explains and presents use case examples of four of them:
alias, require, import, use.
https://curiosum.com/blog/alias-import-require-use-in-elixir
Elixir Meetup # 9 hosted by Curiosum
Elixir Meetup # 9 hosted by Curiosum on September 14, 2022 at 18 CET - FREE & ONLINE
The speakers will be:
Pedro Paulino with a presentation: ELIXIR: CHOOSING THE RIGHT TOOL
Mika Kalathil with a presentation: MULTI-NODE COMMUNICATION & STRATEGIES
How database transactions work in Ecto and why Elixir makes it awesome?
This is a thorough guide for SQL experts and newbies alike, so let’s summarize what we’ll talk about in this article:
We’ll explain what the purpose and characteristics of transactions are Then, we’ll outline how to approach them in Elixir, using “the Ecto way” Finally, we’ll get to explain how it feels superior to different ORMs
Getting Rusty with Elixir and NIFs
Check out an example project that aims to create a Rust NIF that crops an image and makes it grayscale to show you a way to run your Rust code from Elixir efficiently. https://curiosum.com/blog/getting-rusty-with-elixir-nifs-rust
