Elixir

elixir-lang.org

Announcing the official Elixir Language Server team to work on the code intelligence infrastructure to be used across tools and editors

16
0
https://bonfirenetworks.org/posts/surveying_expedition/

> > > Bonfire Expeditions - Collaborating to Release Version 1.0 > > > > > Releasing the stable 1.0 version of the Bonfire federated social network requires collaboration with the communities, hackers, tinkerers, and sysadmins who plan to use it. > >

11
1

📘📘📘 New post: 10 [@elixir](https://programming.dev/c/elixir) gotchas! It's a great language, but some behavior can be unintuitive, confusing and in the worst case lead to bugs. In this post I wanna help clear some of them up! [https://pragtob.wordpress.com/2024/05/01/10-elixir-gotchas/](https://pragtob.wordpress.com/2024/05/01/10-elixir-gotchas/)

6
0

You can read his book, but you can also join his talks and trainings! Saša Jurić is our speaker and trainer at Code BEAM America in San Francisco in March and at ElixirConf EU in Lisbon in April. See you there! Tickets: 🔥 [codebeamamerica.com](http://codebeamamerica.com) 🔥 [elixirconf.eu](http://elixirconf.eu) [\#myelixirstatus](https://genserver.social/tag/myelixirstatus) [#elixirinaction](https://genserver.social/tag/elixirinaction) [#elixirlang](https://genserver.social/tag/elixirlang) [#codebeam](https://genserver.social/tag/codebeam) [#elixirconf](https://genserver.social/tag/elixirconf) [#elixirconfeu](https://genserver.social/tag/elixirconfeu) [#codebeamamerica](https://genserver.social/tag/codebeamamerica) [@ManningPublications](https://techhub.social/@ManningPublications) [@elixir](https://programming.dev/c/elixir) [@sasajuric](https://hachyderm.io/@sasajuric) RE: [https://hachyderm.io/users/sasajuric/statuses/111896306303158921](https://hachyderm.io/users/sasajuric/statuses/111896306303158921)

1
0
programming-journal.org

Elixir is a dynamically-typed functional language running on the Erlang Virtual Machine, designed for building scalable and maintainable ...

5
0

Published: Tail-Recursive & Body-Recursive Function Performance Across Elixir & BEAM versions – what’s the impact of the JIT? Watch me go through [@elixir](https://programming.dev/c/elixir) and erlang versions from 1.6 @ OTP 21 up to 1.16 @ OTP 26 and marvel at our performance gains. [https://pragtob.wordpress.com/2024/01/08/tail-recursive-body-recursive-function-performance-across-elixir-beam-versions-whats-the-impact-of-the-jit/](https://pragtob.wordpress.com/2024/01/08/tail-recursive-body-recursive-function-performance-across-elixir-beam-versions-whats-the-impact-of-the-jit/)

3
0
pragmaticstudio.com

This only comes around once a year and is a great time to pick up some of their great courses using promo code 2023THANKS. * Elixir & OTP ~~$149~~ down to $89 * Phoenix LiveView ~~$129~~ down to $77 * Full-Stack GraphQL with Phoenix ~~$99~~ down to $59

7
0

at https://hexdocs.pm/open_api_spex/3.2.0/readme.html there's a definition of a module User defmodule MyApp.Schemas do alias OpenApiSpex.Schema defmodule User do @behaviour OpenApiSpex.Schema @derive [Jason.Encoder] @schema %Schema{ title: "User", description: "A user of the app", type: :object, properties: %{ id: %Schema{type: :integer, description: "User ID"}, name: %Schema{type: :string, description: "User name"}, email: %Schema{type: :string, description: "Email address", format: :email}, inserted_at: %Schema{type: :string, description: "Creation timestamp", format: :datetime}, updated_at: %Schema{type: :string, description: "Update timestamp", format: :datetime} }, required: [:name, :email], example: %{ "id" => 123, "name" => "Joe", "email" => "joe@gmail.com" } "x-struct": __MODULE__ } def schema, do: @schema defstruct Map.keys(@schema.properties) end In order to avoid re-describing it like that for Open API Specs whilst having already done so for Ecto, is it possible to combine the two definitions in a single module somehow? That is, my Ecto schema User would serve its purpose for Open API Specs too. With some required tweaks. And if I do combine them, won't this mess up with the methods of the 2 modules and other things?

3
0
github.com

[Djot](https://djot.net) is a markdown alternative, created by John MacFarlane, creator of Pandoc and spec author of CommonMark. It aims to fix many of the little issues Markdown has, and does a pretty good job of it, imo.

4
0

In a third-party project, in the models, I've encountered functions like this: ``` def changeset(model \\ %__MODULE__{}, params) do model |> cast(params, @required_fields ++ @optional_fields) |> validate_required(@required_fields) end ``` How can a function have a default argument which is **both** a) first and b) followed by a mandatory one? What's interesting, they work properly.

3
1

[@axelson](https://fosstodon.org/@axelson) demoing a 7-color e-ink display powered by [@elixir](https://programming.dev/c/elixir) and [@NervesProject](https://fosstodon.org/@NervesProject). Super cool! [\#MyElixirStatus](https://fosstodon.org/tags/MyElixirStatus) [#ElixirConf2023](https://fosstodon.org/tags/ElixirConf2023)

5
1

Elixir For Cynical Curmudgeons [https://wiki.alopex.li/ElixirForCynicalCurmudgeons](https://wiki.alopex.li/ElixirForCynicalCurmudgeons) [\#elixir](https://mastodon.ie/tags/elixir) [@elixir](https://programming.dev/c/elixir)

7
1
elixir
Elixir tr1x 1y ago 100%
BDD/TDD projects

I was wondering if there were any BDD/TDD projects or tutorials that anyone could recommend? I'm currently learning elixir and when I was learning rust, I really enjoyed a tutorial called pngme. It has test cases and a specification but left you to implement everything else. Link to pngme: [https://picklenerd.github.io/pngme\_book/introduction.html](https://picklenerd.github.io/pngme_book/introduction.html) Does anyone know of any similar projects but for elixir? Thanks in advance

5
0
https://kochika.me/posts/gif/

* Snake: [Demo](https://gif.kochika.me/snake) - [Source](https://github.com/ryotsu/snake.gif.git) * Time: [Demo](https://gif.kochika.me/time) - [Source](https://github.com/ryotsu/time.gif.git) Inspired by https://hookrace.net/blog/time.gif/

3
0

Against the Grain: tricky situations and how to get ourselves out of them by making some atypical choices: learn from [@sasajuric](https://hachyderm.io/@sasajuric) at [#CodeBEAMEurope](https://mastodon.social/tags/CodeBEAMEurope) 2023 🙌[https://codebeameurope.com](https://codebeameurope.com) [\#codebeam](https://mastodon.social/tags/codebeam) [#myelixirstatus](https://mastodon.social/tags/myelixirstatus) [#elixirinaction](https://mastodon.social/tags/elixirinaction) [#elixirlang](https://mastodon.social/tags/elixirlang) [@elixir](https://programming.dev/c/elixir)

6
0

I'm currently working on a Dashboard for all my self-hosted web applications. What are you guys up to?

1
0

Does anyone else think that Elixir could be really well-suited to writing fediverse applications? I'm really tempted to try my hand at writing an alternative Lemmy backend. If anyone is feeling the same way, I'd be more than happy to host a project on my GitHub and give y'all access and we can see what we can do.

1
1
underjord.io

A post on mutability and state in Elixir. Functional yes. Immutable? Eeh..

1
0
fly.io

We couldn't get Dialyzer to work well until I found this, hope it's helpful for others!

1
0