AstonJ

AstonJ

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:

Showing Posts 1 to 10

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? Top

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 92995 915
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
GES233
I’m posting this in response to Jose’s recent tweet (Cr. link) : People are sleeping on Elixir for a coding harness: Hot-code swappi...
New
_mfierro
Hello, I wrote Stop My Hand, a Scattergories-like web application using Phoenix/LiveView as my learning project for Elixir (after readin...
New
nseaSeb
AcmeScript — Writing JS hooks as if I were still using Elixir I’ve been having fun building a little something over the last few days: Ac...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
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
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews