AstonJ

AstonJ

Your thoughts on advancing the Elixir ecosystem

Have split this from the recent Ecto announcement where I think the quote below warrants some thought :smiley:

What/how do you think the Elixir ecosystem could be advanced? :101:


Anyone else excited by this? :003:

First 10 of 31 Posts Switch mode

praveenperera

praveenperera

Elixir Devise perhaps? :heart_eyes_cat:

I’m very excited!

josevalim

josevalim

Creator of Elixir

Some mistakes should be committed just once. :laughing:

43
Post #2
svarlet

svarlet

Unless they are idempotent.

mgwidmann

mgwidmann

I think actually a large part of improving elixir can be done via improving erlang. For example, dialyzer has a lot of information about types that if presented properly to the user would be really beneficial. However, since running it is optional its not always done and new users as well as advanced users get tripped up on it and frequently end up not using it. I believe having elixir ship with the dialyzer plt and utilize as much information as makes sense in a more elixir styled presentation of the same information could bring a lot of improvement to the type system that people have been asking for, for some time.

dimitarvp

dimitarvp

I absolutely agree that dialyzer needs some love. I for one don’t insist on statically typed Erlang / Elixir because that would deprive us of a lot of goodies. But better warning messages and more intuitive way to work with specs is something that will push both languages into the future.

I am pretty sure it’s hard as hell but in any case, I believe it’s one pain point that needs addressed. Whether it’s in 3 months or 3 years, it was a soft-blocker for me and I had to persist a lot to gain a basic understanding and be able to use specs relatively well. And even now parameterizing the specs is something that makes me scratch my head. I might be stupid though.


Additionally:

  • Standardizing Elixir’s configuration – compile-time, boot-time and run-time – is something that’s sorely needed to improve Elixir’s deployment story.

  • Speaking of which, Elixir’s deployment with Distillery could benefit from less WTH experience – there’s a bunch of stuff to setup if you want to deploy to your own VPS and it’s easy to get it wrong. I am betting $20 that it will take me more than 15 minutes even if we don’t count the time to install everything needed on a VPS / droplet.

dwahyudi

dwahyudi

Easier debugging?

fuelen

fuelen

What is hard in debugging?

david_ex

david_ex

Some mistakes should be committed just once. :laughing:

I’d be interested in reading more about “Devise was a mistake” (reasoning, lessons learned, etc.). Is there anything out there on this? I was unable to find anything (my searches just turn up user issues with errors/validations).

Or it simply a case of introducing a lot of complexity into projects with a simple gem install, i.e. going against the goal of simplicity that e.g. Rich Hickey talks about in https://www.youtube.com/watch?v=rI8tNMsozo0 (such as shortly after 22:00)?

tme_317

tme_317

I agree and am pretty sure there has been a lot of recent work committed in dialyxir to get to v1 and present the dialyzer type warnings more understandably in Elixir format. Also JakeBecker’s elixir-ls (by default) runs dialyzer automatically in the background as you work presenting these warnings. So I do think this will be getting a lot better soon.

That said unfortunately an automatic inferred typing system looks to be out of reach for now (José’s ElixirConf speech https://youtu.be/suOzNeMJXl0?t=2563) so I’m hoping at this point something like a GitHub - josefs/Gradualizer: A Gradual type system for Erlang · GitHub approach will eventually advance the state of typing in the ecosystem.

OvermindDL1

OvermindDL1

On Elixir proper yes, but there is always the possibility to, for example, do a typed module definition that does the inference using a restricted set of Elixir, I started such an experiment and I’d love to complete it but I just don’t have the time (maybe someone else can get it going? ^.^).

Where Next?

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 91561 914
New
byu
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project. My initial shotgu...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
AstonJ
Just a general thread to post chat/news/info relating to AI/ML stuff that may be relevant for Nx now or in the future. Got anything to sh...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
bjorng
We want to introduce a new native datatype to Erlang: native records. Although replacing all tuple records with native records is not our...
New

We're in Beta

About us Mission Statement