#elixir
Today I learned that defimpl has a `at-for`-module attribute; so if you need to call a function that is on the module that implements the defstruct you are defimpl'ing, you can just call `at-for.function_name(…)`.
Previously I just aliased the module into my defimpl; but this is easier.
Discoverability of module attributes in #elixir is not always on my side.
New blog post about ML/AI on the Erlang VM? Yes.
https://underjord.io/why-ml-on-erlang.html
#elixir #erlang
Just sent out the weekly newsletter this time covering an Elixir library and a brief essay on taking ownership of .. things.
If you sign up before this coming friday you'll get the back-issue: https://underjord.io/newsletter.html
#elixir
‘Elixir’ Review: Perfume and Science in Paris
https://www.wsj.com/articles/elixir-review-perfume-and-science-in-paris-f04486b4
Discussions: https://discu.eu/q/https://www.wsj.com/articles/elixir-review-perfume-and-science-in-paris-f04486b4
Really enjoying playing around with #elixir GenServers, supervision trees, and process registries the last couple of weeks. Hoping to have the MVP of my pet app for THAT Conference done this weekend so I can switch focus to prepping the actual talk. https://github.com/CuriousCurmudgeon/live_pet
This week I'm asking the #FAIRsharingCommunityChampions and all of our community: what do you gain from being a part of @fairsharing ?
For me? New connections across all domains & roles as @fairsharing content & **community** lead, EOSCFuture #RDA #RDA_Europe
Domain Ambassador, #ELIXIREurope #ELIXIRuk #ELIXIR
member & more! A relationship graph of *people* as well as the resources they create & use 🥳 https://www.rd-alliance.org/rda-disciplines/rda-europe-ambassadors-2022 https://fairsharing.org/community_champions




Bryan Hunter - Waterpark (Gig City Elixir 2023)
https://www.youtube.com/watch?v=pQ0CvjAJXz4
Discussions: https://discu.eu/q/https://www.youtube.com/watch?v=pQ0CvjAJXz4
palestra do José Valim na ElixirConfEU desse ano
#elixir #elixirlang
https://youtu.be/xItzdrzY1Dc
Work distribution with Jump Consistent Hashing
https://zacksiri.dev/posts/work-distribution-with-jump-consistent-hashing
Discussions: https://discu.eu/q/https://zacksiri.dev/posts/work-distribution-with-jump-consistent-hashing
[Podcast] Thinking Elixir 154: Serving Up AI with Sean Moriarity
https://podcast.thinkingelixir.com/154
Discussions: https://discu.eu/q/https://podcast.thinkingelixir.com/154
Absinthe for Large Elixir Applications
https://blog.appsignal.com/2023/06/06/absinthe-for-large-elixir-applications.html
Discussions: https://discu.eu/q/https://blog.appsignal.com/2023/06/06/absinthe-for-large-elixir-applications.html
Show HN: Dockerless, Elixir Web Application Using Podman and Plug
https://spacedimp.com/blog/dockerless-setting-up-an-elixir-webapp-using-podman-and-plug/
Discussions: https://discu.eu/q/https://spacedimp.com/blog/dockerless-setting-up-an-elixir-webapp-using-podman-and-plug/
Migrating to Verified Routes
https://fly.io/phoenix-files/migrating-to-verified-routes/
Discussions: https://discu.eu/q/https://fly.io/phoenix-files/migrating-to-verified-routes/
🖼️ Uploading Images In Phoenix Live View
➥ Michael Munavu
#MyElixirStatus #Elixir #LiveView https://medium.com/@michaelmunavu83/uploading-images-in-phoenix-live-view-459b481a8385?source=rss------elixir-5
I haven't written more than 3 lines of #Elixir in my life but decided to take a shot at making an NIF today. So far I understand how to build it, but why can't I load it ? The tutorial I'm following must not be up-to-date...
If anyone who knows some #Elixir has the patience to help me, I'd love that.
I picked up my guitar tonight. First time since, oh, about January. The change in temperature and humidity have not been kind to the tuning. But damn, #Elixir strings are amazing! A minute of tuning and they are right back in form!
Muscle memory is a fabulous thing, some chords and progressions just come right back. Mind memory however is another thing entirely. I used to know some stuff but it feels like it's a reboot...
https://github.com/raulchedrese/nova-elixir-ls/pull/29
It makes it possible to use a custom language server in Panic's Nova editor 🚀
🔮 Supercharge Your Elixir with Native Implemented Functions (NIFs)
➥ The Canary Stack
#MyElixirStatus #Elixir #NIFs https://thestackcanary.com/supercharge-your-elixir-with-nifs/
Testing LiveView course updated to Phoenix 1.7 and LiveView 0.18 (and soon 0.19)!
https://www.testingliveview.com/
Discussions: https://discu.eu/q/https://www.testingliveview.com/
🔮 Context maintainability & guidelines in Elixir & Phoenix
➥ Curiosum
"Instead of thinking about the Phoenix app as a set of unrelated data resources, Phoenix Context suggests grouping them in "clusters". The reasoning behind forming a given group should not be random. The best-case scenario is when the cluster consists of resources that together form a specific business domain within the application."
#MyElixirStatus #Elixir #Phoenix https://curiosum.com/blog/elixir-phoenix-context-maintainability-guildelines
🔮 How ChatGPT improved my Elixir code. Some hacks are included.
➥ Erlang Solutions
"ChatGPT can offer personalised and adaptive learning experiences based on individual programmers’ skill levels and preferences. This can help programmers learn Elixir more efficiently and effectively."
#MyElixirStatus #Elixir #ChatGPT https://www.erlang-solutions.com/blog/how-chatgpt-improved-my-elixir-code-some-hacks-are-included/
New blog post on my thoughts about a month into learning Elixir: https://blog.mei-home.net/posts/learning-elixir-beginner/
Open-Source Elixir Alternatives to ChatGPT
https://dockyard.com/blog/2023/05/16/open-source-elixir-alternatives-to-chatgpt
Discussions: https://discu.eu/q/https://dockyard.com/blog/2023/05/16/open-source-elixir-alternatives-to-chatgpt
Heads up: I (José Valim) am livestreaming on Twitch from Mon to Thu weekly
Discussions: https://discu.eu/q/https://twitch.tv/josevalim
"Internally, pogo builds a consistent hash ring consisting of all participating nodes, calculates the search key by hashing the child process’ spec and determines which node in the ring “owns” the key. The local supervisor running on that node will then manage the process.
As a natural consequence of this approach, load will be spread over the cluster. "
➥ szajbus.dev
#MyElixirStatus #Elixir #Pogo #Cluster
https://szajbus.dev/elixir/2023/05/22/pogo-distributed-supervisor-for-elixir.html
boruta demo video series
https://github.com/malach-it/boruta-server
Discussions: https://discu.eu/q/https://github.com/malach-it/boruta-server
"From Ruby to Elixir" beta out now
https://pragprog.com/titles/sbelixir/from-ruby-to-elixir/
Discussions: https://discu.eu/q/https://pragprog.com/titles/sbelixir/from-ruby-to-elixir/
Context maintainability & guidelines in Elixir & Phoenix
https://curiosum.com/blog/elixir-phoenix-context-maintainability-guildelines
Discussions: https://discu.eu/q/https://curiosum.com/blog/elixir-phoenix-context-maintainability-guildelines
I have seen multiple takes about #elixir not having drama like Rust.
That is a bad take and it invites drama by taunting a universe full of people.
Anyway, there has been drama in and around Elixir. It seems to be mostly chill at the moment. Great.
Hope Rust lands there too. But they are riding a larger and more complex beast.
[Podcast] Thinking Elixir 153: Elixir Tools and Language Servers
https://podcast.thinkingelixir.com/153
Discussions: https://discu.eu/q/https://podcast.thinkingelixir.com/153
I love #Elixir because we're just chill, the only drama is around type checking.
If you have something to say, then we have something nicer to say.
serião... se vc é #DevWeb e pelo menos não tá de olho no que tá rolando com #Elixir , #Phoenix e #LiveView , vc tem uma vida triste
https://phoenixframework.org/blog/phoenix-liveview-0.19-released
Dynamic forms with LiveView Streams
https://fly.io/phoenix-files/dynamic-forms-with-streams/
Discussions: https://discu.eu/q/https://fly.io/phoenix-files/dynamic-forms-with-streams/
Phoenix LiveView 0.19 released
https://phoenixframework.org/blog/phoenix-liveview-0.19-released
Discussions: https://discu.eu/q/https://phoenixframework.org/blog/phoenix-liveview-0.19-released
The day has finally come. I'm now ready to give back my CS degree. Not only did I have to look up how to generate prime numbers, but I also had to look up how to check whether a number is a prime number. 🤷
Several of my old Math profs just felt a sudden itch at the back of their neck and have no idea why.
Made a video about my experience at ElixirConf EU in Lisbon. If you are curious about going to a community event like this, I hope this video helps your thinking along:
I had a lovely time. Thanks to everyone who contributed to that. #elixir #ElixirConfEU
Erlang & Elixir recap for week 21/2023
https://discu.eu/weekly/erlang/2023/21/
Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium
Another book finished: "Learn Functional Programming with Elixir". This was a very nice second Elixir book. I especially appreciated a chapter on "Designing your Elixir application", where you write a small dungeon crawler while learning all the "more than one file application" concepts.
I think it would have also made an excellent first Elixir book.
Just listened to the latest Thinking Elixir podcast https://podcasts.apple.com/us/podcast/thinking-elixir-podcast/id1516100616?i=1000614127719 where they talked with @peregrine about how #elixir and #rust work great together and I couldn’t agree more!
Never miss a chance to listen to the wisdom of @peregrine
Pogo - distributed supervisor for Elixir
https://szajbus.dev/elixir/2023/05/22/pogo-distributed-supervisor-for-elixir.html
Discussions: https://discu.eu/q/https://szajbus.dev/elixir/2023/05/22/pogo-distributed-supervisor-for-elixir.html
Displaying current logged in user using Phoenix Presence by AbulAsar Sayyad @FuncProgSweden
Discussions: https://discu.eu/q/https://youtu.be/-Je3EHQUcG4
Don't use structs, use records instead!
https://dev.to/bchamagne/dont-use-structs-use-records-instead-4cd7
Discussions: https://discu.eu/q/https://dev.to/bchamagne/dont-use-structs-use-records-instead-4cd7
#rdf #sparql #turtle #rdflib #python #elixir #rust
[Podcast] Thinking Elixir 152: Rust and Elixir Play Great Together
https://podcast.thinkingelixir.com/152
Discussions: https://discu.eu/q/https://podcast.thinkingelixir.com/152
🤔 How Much Memory Do You Need to Run 1 Million Concurrent Tasks?
via Piotr Kołaczkowski
#Concurrency #Rust #Golang #Java #CSharp #Python #Node #Elixir
https://pkolaczk.github.io/memory-consumption-of-async/
I spent a big chunk of yesterday debugging Elixir due to what turned out to be a module not existing (or at least, I don't think it exists) but the compiler never warned or erred for it.
Nothing dynamic or fancy, I just had:
`MyAppWeb.Layout` vs `MyAppWeb.Layouts`
The former doesn't exist, but the latter does.
I would expect a compiler error, but I'm wondering if I am misunderstanding something?
eta: @cevado figured it out -- I was in a `quote` block!
I also saw quite a few benchmarks and comparison sheets between Elixir and other things.
Isn’t it ironic that Mastodon, which is based on Ruby/Rails, ”famous” for not scaling very well is also the host of ”mega-instances” whereas Pleroma/Akkoma/*oma’s are based on Elixir, famous for scaling incredibly well, is mostly used for small/single-user instances?
Yeah, I understand those terms can be discussed ad infinitum, and that there is good/bad architecture etc. But still. Ironic.
#Elixir #BEAM #Phoenix #Ruby #Rails
#introduction Hi I'm David (he/him), and I've been enjoying this network for a little while now, and slowly getting the hang of it. I'm married and a dad. We have two boys, 5 and 2. I'm a #physicist into #software and #machinelearning. I work at a early stage company, Spheryx, developing new ways to do #particlecharacterization. Recently I've been interested in #unschooling, #ecology, #permaculture, #connection, #economics, #opensource, #foss, #selfdirectededucation, #elixir, and, #puns. 😀 🦕 🌳
My ElixirConf EU talk is up and to save you a ton of time I will point you all at the best part which starts here: https://youtu.be/K51fj1JGQEY?t=1579
This is me trying to advance slides using machine learning. Worrying results.
Weird thing for today: Elixir's strings, charlists and "chars"/codepoints.
Char lists are simply lists of integers. So comparing the head of that list against, say, 'A' will not return a hit. You have to compare it against 65. The only saving grace here is that you can get the code point with the ?A syntax. I don't think I ever took this long to figure out how to compare individual chars in a list. 🧐
Create your own game for GameBox, a multi-player, turn-based game platform built with Elixir
https://extism.org/blog/extending-fly-io-distributed-game-system-part-3
Discussions: https://discu.eu/q/https://extism.org/blog/extending-fly-io-distributed-game-system-part-3
Plugin to make all software programmable #gamedev #elixir https://extism.org/blog/announcing-extism
And this is an excellent set of libraries to deal with RDF/SPARQL in Elixir https://rdf-elixir.dev/
#devlife #elixir #sparql #rdf #turtle #dles
After 4 years on the board of the #erlef foundation volunteering to help various things in both the #erlang and #elixir communities (and 1 year before then in the IEUG to bootstrap the EEF), I'm finally stepping down and leaving my position to @Amos -- Long live the Amos King!
(I'll still be around the foundation's build & packaging working group and reviewing stuff for #otel for the observability group—no I'm not fully out of the picture)
I wrote up my conference experience at the delightful ElixirConf EU 2023 in Lisbon.
Thanks to everyone who I talked to. It was a blast.
Hope you enjoy.
https://underjord.io/elixirconf-eu-2023-lisbon.html
#elixir #ElixirConfEU
Good LiveView talk by Chris to wrap up the conference. I'm very keen to use a bunch of this stuff :)
#elixir #ElixirConfEU