ex_check 0.15 released with mix audit support

ex_check provides mix check - one task to efficiently run all code analysis & testing tools in an Elixir project. Born out of 💜 to Elixir and pragmatism.

In 0.15, mix audit joins a growing family of curated tools (it’s 11 now!), so that your projects are forever secured against security vulnerabilities both locally and on CI with next to zero extra effort (ex_check will politely ask to add the package or to opt out of it without erroring out).

If you haven’t already given ex_check a shot already, just try it - it saves me & my team a ton of time everyday across personal and contract projects in following cases:

  • as a full project check after big changes (to run all Elixir & JS tools)
  • as a quick ~10s sanity check before pushing (I usually leave ex_unit and dialyzer to the CI)
  • as a way to efficiently run all tools in a single CI job (if a tool gets too slow I just skip it and extract to separate job)

Elixir/Phoenix Security: Introduction to Cross Site Request Forgery (CSRF)

This post covers how a CSRF attack works, and the defaults Phoenix gives you to discourage writing vulnerable code. https://paraxial.io/blog/csrf-intro

Build a Roles and Permissions System for Phoenix

Not ALL users should have access to ALL data! Let’s build a Roles and Permissions system to manage that access!

https://www.peterullrich.com/build-a-rap-for-phoenix-part-1

Advent of Code 2022 with Livebook, Day 1

A live coding session solving the first day of #aoc with #livebook. https://www.youtube.com/watch?v=XmybJ1GlHUk

Smart Work Distribution across Nodes/Process | Data Partition |Elixir-Erlang

https://blackode.medium.com/smart-work-distribution-across-nodes-process-data-partition-elixir-erlang-19a524b4cbc6

Random Similar Hash for the same term irrespective of executing in a another node or process. Good one for Resource Allocation.

LiveMatch: Building a Real-Time App for Soccer with Phoenix LiveView

This post is a guide on how we’re building LiveMatch, a real-time app for soccer to follow multiple games in one place. https://readyforproduction.dev/livematch-building-real-time-app-soccer-with-phoenix-liveview

Create a simple game with LiveView

Learn how to set up a LiveView project and get familiar with some of the basic event workflows while creating a fun little nostalgic game. https://youtu.be/hrpulBR5PFg

ThinkingElixir 127: Ecto gets Lively in Livebook

Episode 127 of Thinking Elixir. We talked with Spawnfest competitors Filipe Cabaço & Joel Carlbark about their entry “Lively”. Lively was all about doing cool things with Ecto in Livebook. The project, later renamed to KinoEcto does 4 cool things around Ecto in Livebook. It builds Entity Relationship diagrams from the Ecto Schemas in your Elixir project. It can visualize the dense Postgres explain output and highlight a problem like when a full table scan is performed. It includes a ChangesetValidator SmartCell, and a QueryBuilder that uses NimbleParsec to parse a raw SQL query and do the initial work of turning that into an Ecto query. We talk about what the 48-hour competition was like, what they accomplished and what they plan to do next!

https://podcast.thinkingelixir.com/127

Debugging in Elixir and Erlang: An Introduction

In the first part of a two-part series, we’ll touch on some tools you can use for debugging in Elixir. https://blog.appsignal.com/2022/11/29/debugging-in-elixir-and-erlang-an-introduction.html

How I deploy Phoenix apps

A short post explaining how I deploy self hosted apps without Docker, only using asdf and git.

https://0x7f.dev/posts/deploying-phoenix.html

Poznań Elixir Meetup #16

We invite you to the 16th edition of Poznań Elixir Meetup! 💜

If you cannot make it, tune into our Live Stream on YouTube

There will be 3 presentations covering trending topics:

🎤 Patryk Bąk - How to migrate live production data

🎤 Łukasz Pauszek - Developing a Twitter clone with CockroachDB in a local Kubernetes environment

🎤 Maciej Kaszubowski - Safe DB schema migrations with Ecto

Once the presentations are finished, join us for drinks and snacks to network and talk about Elixir programming language.🔥

https://www.meetup.com/poznan-elixir/events/289908786/

Elixir Keyword vs Map

https://medium.com/blackode/3-differences-between-keyword-vs-map-elixir-72a53cfda83b
It contains the 3 key differences to be noted.

🏃‍♂️ Rewriting the strava summary in erl

Two weeks ago, I implemented a small script that gathers Strava stats and commits weekly to my GitHub profile using GitHub actions and elixir. I love elixir and it’s community, but I also love erlang, and I think we should love each other, so to bring everyone together, I decided to rewrite the strava summary in erlang: To know more visit: https://github.com/gilacost/gilacost/blob/master/ventures/STRAVA_SUMMARY_ERL.md

Elixir Distribution, ELI5

There are a few key points that help Elixir run in distribution. We will setup a cluster locally, and between two machines, and we will discover what the components are!

ThinkingElixir 126: Working at a Software Agency with the Wizards

Episode 126 of Thinking Elixir. As software developers, there are many different types of companies we can work at. We met up with the Elixir Wizards crew to learn more about working at a Software Agency like SmartLogic. We compare what this is like vs working at a product company. Of course, we take the opportunity to learn more about Sundi Myint and Owen Bickford, their journeys to Elixir and the work they are doing now. Sundi shares how becoming an Engineering Manager presented new growth opportunities and Owen goes deeper on the ETL system he’s creating to migrate an MSSQL DB to Postgres and how gets to play with Broadway in the process.

https://podcast.thinkingelixir.com/126

Erlang, Elixir and Friends Devroom @ FOSDEM 2023 (Call for Talks)

FOSDEM 2023 is finally going to be in-person again and we’re excited to announce that the Erlang, Elixir and Friends Devroom got accepted for next year’s edition. FOSDEM is a free conference dedicated to open-source software, one of the largest in the world, and it’s the perfect venue for us showcase the power of the BEAM and get even more people excited about it!

You can find all the information to submit a talk on the dedicated website.

Whether you’re submitting your talk proposal, or you’re just attending the event, we hope to see you in Bruxelles in February!

https://beam-fosdem.dev/

Adding PostgreSQL Active Connections to Ecto PSQL Extras

While working at Binary Noggin we ran into an issue with over provision database connections while using Oban.

Having active connections available in the Phoenix Live Dashboard helped us troubleshoot over allocating connections to the database. This has the added benefit of seeing all active connections not just our Phoenix application.

https://github.com/pawurb/ecto_psql_extras/pull/31

Securing Elixir/Phoenix Applications: 5 Tips to Get Started

There are a number of resources online related to Elixir and Phoenix security, however when it comes to securing your own project, determining where to begin is a difficult task. Here are five recommendations to get started improving the security of your application.

https://paraxial.io/blog/securing-elixir

Rauversion: the opensource platform for music communities built in Elixir has released version 0.5.0

image

Hi, we have released Rauversion 0.5.0. It comes with the following:

  • Events platform with a ticketing system that lets the community publish Free and Paid Events.
  • Stripe integration that allows the community to link their stripe accounts to sell Paid events.
  • Streaming event services integration with MUX, TWITCH, STREAM YARD, and ZOOM that allows the community to publish virtual events too!
  • Track cover image generated by AI.

https://github.com/rauversion/rauversion-phx

TIL: Regex with name bindings

In Elixir, regular expressions can extract a lot of useful information. Using Regex and named_captures/3 function, we can parse the input data based on the prepared regex.

More on: https://bartoszgorka.com/regex-with-name-bindings

Previous page Next page