Announcing Bumblebee: GPT2, Stable Diffusion, and more in Elixir

José Valim announces Bumblebee: GPT2, Stable Diffusion, and more in Elixir

Learn how to run machine learning models in Livebook with 3 clicks.

Learn how to embed a Machine Learning model into a Phoenix app.

https://news.livebook.dev/announcing-bumblebee-gpt2-stable-diffusion-and-more-in-elixir-3Op73O

Phoenix LiveView Crash Course

Get started with Phoenix LiveView in this crash course. We will show you how to build features in a Phoenix LiveView full stack application by breaking down a real app. We cover: how to interface with HTTP requests in Elixir, LiveView routing, HTML mounts, Websocket mounts, Event Handling, and so much more.

https://youtu.be/SDDGOqPOHJ4

nimble_template 4.5.0 Released

Kick off a new project faster with the template. Here are some major updates version 4.5.0:

Advent of Code days 6 and 7 with some binary pattern matching fun

Review of day 6 solution and live coding of day 7 solution. https://www.youtube.com/watch?v=OQullJb-DZ4

TIL: Only one server will run your migrations

Ecto uses SHARE UPDATE EXCLUSIVE lock to ensure that only one instance is running a migration at a time and only once. Internally stored version and inserted at allows you to modify and improve created files.

More on: https://bartoszgorka.com/ecto-migration-executed-once

ThinkingElixir 128: Speedy like a Bandit

Episode 128 of Thinking Elixir. The Phoenix 1.7 announcement blog post mentioned the ability to swap out Cowboy for another webserver like Bandit. We talked with Mat Trudel to learn more about his pure-Elixir webserver and find out how it works with Phoenix. We learn Bandit can be up to 5x faster by narrowly focusing on turning a request into a Plug connection and much more!

https://podcast.thinkingelixir.com/128

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!

Previous page Next page