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.

https://paraxial.io/blog/http-ua

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.

https://podcast.thinkingelixir.com/112

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

https://curiosum.com/meetups/elixir

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

https://curiosum.com/blog/elixir-ecto-database-transactions

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

How to become a Senior Elixir Developer? The popularity of Elixir. - interview with Szymon Soppa, CEO at Curiosum

https://curiosum.com/blog/how-become-senior-elixir-developer-popularity-interview-szymon-soppa

Page transitions with Phoenix Liveview

https://mave.io/blog/page-transitions-with-phoenix-liveview

7 GUIs: Implementing a Circle Drawer in LiveView

I recently completed the 6th GUI task in LiveView 🎉 - a Circle Drawer with undo/redo functionality.

I wrote a post about the implementation and some decisions I made, and I hope others find it interesting!

✍️ https://www.germanvelasco.com/blog/seven-guis-circle-drawer

One of the most interesting things was that the task was meant to be a challenge of undo/redo functionality:

“In an ideal solution the undo/redo functionality comes for free… just comes out as a natural consequence of the language / toolkit / paradigm.”

When it came time to implement the undo/redo functionality, I was happily surprised that the solution definitely “came for free” because of Elixir’s functional paradigm and LiveView’s reactivity.

In the end, the undo/redo functionality was the easiest part of the whole task!

ThinkingElixir 111: Deploying a PR for Review

Episode 111 of Thinking Elixir. Ever wanted to deploy a PR for show-and-tell, QA testing, or to get feedback on it? Jason Axelson joins us to share how he did that on Render.com. We explore how it can be done on other platforms like Fly.io as well. We talk about how this ability benefits teams and companies. We dig into how setting up a seeded DB for the code isolates data changes but also makes it easier for people to test the code with multiple data scenarios. Turns out doing this may be easier than I thought!

https://podcast.thinkingelixir.com/111

Write a Standalone CLI Application in Elixir

Find out how to write a command-line application in Elixir, using tools such as ElixirScript, OptionParser, Escript, Bakeware, and Burrito. https://blog.appsignal.com/2022/08/09/write-a-standalone-cli-application-in-elixir.html

Write a Standalone CLI Application in Elixir

Find out how to write a command-line application in Elixir, using tools such as ElixirScript, OptionParser, Escript, Bakeware, and Burrito. https://blog.appsignal.com/2022/08/09/write-a-standalone-cli-application-in-elixir.html

Elixir 1.14 Release Candidate in action

Check out
Elixir 1.14 Release Candidate in action
Improvements in Debugging

https://medium.com/blackode/elixir-1-14-release-candidate-in-action-17e283ce3132

Air quality station with Nerves and LiveView

https://cmdarek.com/pages/air-quality-station.html

Next page