Best of ElixirAugust 2024

  1. 1
    Article
    Avatar of hnHacker News·2y

    algora-io/tv: Open source Twitch for developers

    Algora TV is an open-source, interactive livestreaming and video-sharing service tailored for developers. It supports in-video ads through its Live Billboards feature, helping developers monetize their streams. Setting up Algora TV locally requires Elixir, Erlang, PostgreSQL, FFmpeg, and OBS Studio. Documentation includes steps for cloning the repository, setting up the database, and configuring GitHub OAuth and Tigris for media storage and delivery. The platform relies on several external services, but users can skip those they don't need.

  2. 2
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    The Secret Language Scaling WhatsApp and Discord

    Many high-scaling applications like WhatsApp and Discord leverage the Erlang virtual machine (BEAM) for its fault tolerance, concurrency, and distribution capabilities. Erlang, developed in the 1980s for telecommunications, supports lightweight processes and message passing, making it ideal for modern real-time applications. Elixir builds on Erlang's strengths with more developer-friendly syntax, offering powerful tools for scalability and fault tolerance. Companies have successfully used these technologies to handle millions of concurrent users with minimal resources, demonstrating their effectiveness in building reliable, scalable apps.

  3. 3
    Article
    Avatar of elixirElixir·2y

    Announcing the official Elixir Language Server team

    The Elixir community announces the formation of an official Language Server team, funded by Fly.io and Livebook. The team aims to unify various implementations of the Language Server Protocol (LSP) for Elixir, merging the strengths of Lexical, ElixirLS, and Next LS. This collaboration seeks to improve the language server infrastructure, reduce technical debt, and enhance code intelligence tools. The community is encouraged to sponsor part-time developers, and progress updates will be shared on a new project website and social media accounts.

  4. 4
    Video
    Avatar of communityCommunity Picks·2y

    The Secret Language Scaling WhatsApp and Discord

    Big companies like WhatsApp and Discord have managed to scale their real-time applications to handle hundreds of millions of users using Erlang and its modern counterpart, Elixir. Erlang, designed in the 1980s for telecommunications, offers amazing features like fault tolerance, scalability, and distribution capabilities that are ideal for real-time apps. Elixir builds on Erlang's strengths with more modern syntax. These technologies allow for efficient concurrency, hot code swapping, and seamless inter-node communication, making them powerful tools for small teams to achieve robust, scalable applications.

  5. 5
    Article
    Avatar of elixirforumElixir Forum·2y

    Building Multiplayer Tetris from scratch with OTP, Elixir, and Phoenix by Merlin Webster

    Elixir Forum is an engaging community focused on the Elixir programming language, encouraging participation and learning with a range of features and monthly giveaways. Members can earn trust and unlock moderator tools through active involvement, making it a great place to start with Elixir, especially for those interested in building multiplayer games with OTP and Phoenix.

  6. 6
    Article
    Avatar of elixirforumElixir Forum·2y

    Deploy Your Phoenix App on DigitalOcean in 30 Minutes

    Learn how to deploy a Phoenix app manually to a DigitalOcean droplet in 30 minutes using basic shell commands. This guide walks you through setting up a Phoenix project, creating and configuring a DigitalOcean droplet, installing necessary dependencies like PostgreSQL and Caddy, and getting your app live. Note that this setup is not production-ready and lacks essential security measures.

  7. 7
    Article
    Avatar of elixirElixir·2y

    Typing lists and tuples in Elixir

    The post discusses the new type system for Elixir, focusing on handling type errors, lists, and tuples. It introduces Elixir's approach to differentiating between empty and non-empty lists and addresses design decisions around type safety and runtime exceptions. The post also highlights how compile-time and runtime checks will be enforced, especially for list 'head' operations and tuple indexing.

  8. 8
    Article
    Avatar of elixirstatusElixirStatus·2y

    Secure Your Gigalixir App with Paraxial.io

    This guide walks through securing an Elixir application running on Gigalixir using Paraxial.io. It provides detailed steps for identifying and fixing vulnerabilities such as SQL Injection, Remote Code Execution, Cross Site Scripting (XSS), and Cross Site Request Forgery (CSRF). The tutorial includes commands to clone a demo application, set up Paraxial.io, run security scans, and deploy the app on Gigalixir. It also outlines how to rate limit login attempts and set up additional security measures for production deployment.