#Elixir
Show HN: Libcluster Postgres Strategy for Elixir
https://github.com/supabase/libcluster_postgres
Discussions: https://discu.eu/q/https://github.com/supabase/libcluster_postgres
Credo - ElixirCasts
Discussions: https://discu.eu/q/https://elixircasts.io/credo
If #JavaScript had better performance and it used tail call optimization we could write better looking code using recursive functions. i.e.
```javascript
const sum = ([head, ...tail], acc = 0) => {
if (!head) return acc
return sum(tail, head + acc)
}
```
This example uses destructuring assignment like it is used in #Erlang and #Elixir to get the first element of the array and the rest of the elements. Like if it were head and tail of a list...
But don't do this, it is very slow.
2023年末のElixirが出来ること②今年、更新されたライブラリ/FW編(最新Elixirのキャッチアップと、アドカレのネタ探しに読んでください)
https://qiita.com/piacerex/items/0c6ffb235e1146c38302?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Elixir #ライブラリ #OSS #fukuoka_ex #AdventCalendar2023
Better defaults for transactional emails in a new Phoenix project
https://andrewian.dev/blog/phoenix-email-defaults
Discussions: https://discu.eu/q/https://andrewian.dev/blog/phoenix-email-defaults
[Podcast] Thinking Elixir 179: Future of AI with Elixir?
https://podcast.thinkingelixir.com/179
Discussions: https://discu.eu/q/https://podcast.thinkingelixir.com/179
Elixir streams and lists comprehensions
https://curiosum.com/blog/elixir-streams-and-lists-comprehensions
Discussions: https://discu.eu/q/https://curiosum.com/blog/elixir-streams-and-lists-comprehensions
What is this, and why is Phoenix Framework doing so badly (or isn't it?) [via https://mastodon.social/@jdevoo]
https://www.techempower.com/benchmarks/#section=data-r22&hw=ph&test=query
#Elixir #Performancetesting
2023年末のElixirが出来ること①今年出たライブラリ/FW編(最新Elixirのキャッチアップと、アドカレのネタ探しに読んでください)
https://qiita.com/piacerex/items/774dd91c67184bec6df1?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Elixir #ライブラリ #OSS #fukuoka_ex #AdventCalendar2023
Erlang & Elixir recap for week 47/2023
https://discu.eu/weekly/erlang/2023/47/
Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium
Elixir + Phoenixでマルチプラットフォーム開発を可能にする ElixirDesktop
https://qiita.com/the_haigo/items/783e2022017d4be121f7?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Elixir #Phoenix #fukuoka_ex #LiveView #ElixirDesktop
#Erlang mailbox types would be so dreamy: https://www.youtube.com/watch?v=PRrjc8v7zHA
#Elixir would also benefit, yeah?
👋 I am Bodo, Father of a 5-year-old, working as a Full-Stack Freelancer in Berlin. Mostly doing #Elixir and #react.
I am a #CODA, and I'm the admin of https://signdict.org.
Besides that, I have two other bigger side projects:
https://wishlephant.com and
https://hierbautberlin.de
Moved here from my self-hosted instance because I want to have a place for my data and don't want to run an instance anymore.
Don't expect many posts from me. Scaling down my social media atm.
What is the use case for
#elixir / #erlang I have been reading more into functional programming languages, and one that pops up a lot is Elixir.
As far as I understand, the great thing about these is that they run on the Erlang BEAM VM, which seems to be very suitable to distributed computations right? Does this mean that the BEAM VM could run on multiple machines? If I understand correctly, Elixir/Erlang would not be that great if I just want to write simple CLI tools, but would excel if I was writing for example a Data streaming platform or the backend for some app right?
Another hex package of the week that I use frequently - Benchee is a package for easy and nice micro benchmarking in Elixir.
https://github.com/bencheeorg/benchee
What are your favourite hex packages you use in your projects, that might not be super common?
闘魂Elixir ── ファイル名から拡張子を除いた`basename`や拡張子だけを取り出したいときにはPathモジュールを使いましょう(Fileモジュールではありませんよ)
https://qiita.com/torifukukaiou/items/0d0c62176b964fcd3812?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Elixir #AdventCalendar2023
闘魂Elixir ── "闘魂"とは<<0xE99798::24, 0xE9ad82::24>>
https://qiita.com/torifukukaiou/items/9574f4411c3954fa4f9b?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Elixir #AdventCalendar2023
闘魂Elixir ── たくさんのファイルに同じコマンドを実行したい(たとえば画像ファイルの変換を楽しむ)
https://qiita.com/torifukukaiou/items/bc1f642805e83f1c6dac?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Elixir #AdventCalendar2023
TIL: File Uploads Using the Req Elixir Library
https://samrat.me/blog/til-file-uploads-using-the-req-elixir-library
Discussions: https://discu.eu/q/https://samrat.me/blog/til-file-uploads-using-the-req-elixir-library
people writing #RustLang:
method #1: result.and_then(|()| another_thing_that_results()).and_then(|()| yet_another_thing_that_results())
method #2: result?; another_thing_that_results?; yet_another_thing_that_results? Ok(())
I tend to catch myself doing the first form because of #Elixir but now I'm slowly replacing things with method #2 because it's way more readable
how do people tend to go about this?
the latter also seems a lot easier to log?
The Build It With Phoenix sale is still going strong. Up to 50% off on all course levels. Purchasing Power Parity is enabled so If you are a non-USD buyer, your price is reflected in the checkout cart.
Mind Boosting for visibility?
https://builditwithphoenix.com #MyElixirStatus #ElixirLang #elixir


Today I've finally removed lau/calendar from my project. Shows the age of my codebase, the #Elixir stdlib was teeny tiny when it came to datetime handling back then. Thanks to Lau Taarnskov for making things work early on! 💜
#MyElixirStatus
Phoenix Framework https://www.phoenixframework.org/ #elixir
🎒 Elixir Books on Sale, 2023 | @pragprog
https://medium.com/pragmatic-programmers/elixir-books-on-sale-2023-ac3f52d425e9
Looking forward to part 2 of CLI apps with #elixir
[Podcast] Thinking Elixir 178: Safe Ecto Migrations and AI Updates
https://podcast.thinkingelixir.com/178
Discussions: https://discu.eu/q/https://podcast.thinkingelixir.com/178
Setting Up a Multi-tenant Phoenix App for Elixir
https://blog.appsignal.com/2023/11/21/setting-up-a-multi-tenant-phoenix-app-for-elixir.html
Discussions: https://discu.eu/q/https://blog.appsignal.com/2023/11/21/setting-up-a-multi-tenant-phoenix-app-for-elixir.html
Erlang & Elixir recap for week 46/2023
https://discu.eu/weekly/erlang/2023/46/
Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium
Ok, that took longer than I would have liked. 🙃
Turns out, tailwindcss and esbuild automatic 'install' with mix. Kind of breaks repeatable builds. 😅️ Instead, made an override to paths for esbuild and tailwind commands. Now all is working with nix flakes. 😎️
Now, "JUST" one more repo generation thing. So I can move on an to actually using #elixir for things. 🤣

Happy Sunday! I'll be streaming more #Elixir + #Rustlang in about an hour. Still keeping with our Tree-Sitter NIF, let's add tree edits and see what else we can expose.
https://twitch.tv/seanicuscode
In your timezone: https://everytimezone.com/s/25228fc9
@GeePawHill 54-year-old coder. Still love programming, but you must avoid feature factories run by MBA types who equate JIRA points with productivity. Work somewhere that lets you focus on doing important shit without bullshit ceremony and meetings. Finding #elixir 8 years ago has also been huge. Fun, high-productivity language, ecosystem, and community! Excessive incidental complexity in many languages and frameworks. And many firms with horrid management. It's a minefield!
Supabase client
https://github.com/zoedsoupe/supabase
Discussions: https://discu.eu/q/https://github.com/zoedsoupe/supabase
You know... for someone who preaches to use #elixir. I have been neglecting my language of choice. 😅
Too many fun things to do everywhere. 😄 Especially when I can use #redis and #lua. They always engulf me. 😇
Let me see of correcting that wrong. 😎 Maybe some #dagger automation stuff. So I can sneakily add it everywhere at work too. 😏
Is there an #Elixir mocking library that’s compatible with async tests?
[Podcast] Elixir Wizards S11E05 Embedded Systems in Elixir vs. C, C++, and Java with Connor Rigby & Taylor Barto
Discussions: https://discu.eu/q/https://smr.tl/S11E05EMBED
Very nice blogpost on #AdventOfCode by @neil_vass . Cool no code solution and to optimise or not to optimise... Almost tempted to do it, but I'm spending the bit of coding time I have on learning #PhoenixLiveView (although maybe I could do some challenges in #Elixir )
Elixir Streams |> How is `:page_title` updated?
https://www.elixirstreams.com/tips/how-page-title-is-updated
Discussions: https://discu.eu/q/https://www.elixirstreams.com/tips/how-page-title-is-updated
Unpacking Elixir: the Actor model
https://underjord.io/unpacking-elixir-the-actor-model.html
Discussions: https://discu.eu/q/https://underjord.io/unpacking-elixir-the-actor-model.html
Okay. This tweet has me a bit giddy as someone following Elixir. I honestly don't know what it teases. Phoenix colors, a flame. It is not 1.0.
Trying to explain The Actor Model. Which Erlang and Elixir either has no trace of or fully embodies. Depending on how you squint at it. Processes, message passing and concurrency. Here we go!
[VOD] "My Favorite Language Isn't TypeScript" - Jose Valim itw by Theo - t3․gg
https://www.youtube.com/watch?v=bfrzGXM-Z88
Discussions: https://discu.eu/q/https://www.youtube.com/watch?v=bfrzGXM-Z88
#elixir y la #beam están cayendo un poco de mi gracia: tengo un servicio corriendo con estas tecnologías (#mobilizon) y le cuesta medio giga de RAM estar inactivo.
Presumiblemente estar activo le tomaría lo mismo, pero en comparación un serivicio #python bastante más usado toma 166 Mb
Finally have an idea for a #activitypub style app using #elixir -> A site where you can post your serial novels and get supporters .
If you are curious how I prepare talks and think about public speaking I try to share that in the latest issue of my newsletter. It is available for the next week if you subscribe you should get it:
https://underjord.io/newsletter.html
It includes my whole talk with slides.
Hi everyone! I am looking for a new role and would appreciate your support. Lately I've been working mostly with functional languages (#Elixir, #Erlang, #Haskell, #Elm) in web development, but I'm also passionate about programming languages and tooling (compilers, static analysis, development environments, etc). Let me know if you see an opening that you think I may enjoy!
Opening session. I am at Øredev. A big swedish dev conference. Tomorrow I will be telling them about #elixir.
With me is Petter who is helping me film this conference. Good conference buddy so far :D
Just stumbled across https://elixirdevs.com/ - if you are an elixir dev and are looking for a job or want to hire an elixir dev this might be interesting. #myelixirstatus #elixir
I still think piping into `case` is fine, but piping into `if` is weird.
Trying to constantly keep improving myself. Right now it’s learning #elixir and #functional #programmng. Always be a #student and you will be forever young.
I’m still making my way slowly thru the #elixir course I started a good while ago. Just started the section about processes and Agents, the latter of which feels like having superpowers. #MyElixirStatus
My current contract has just ended, and I'm officially on the hunt for a new job.
If anyone needs a Tech Lead / Principle dev with boatloads of #Ruby / #RubyOnRails experience‡, hit me up.
Resume here: https://masukomi.org/resume/kay_rhodes_resume.html
‡ and a bunch of other languages you're probably not hiring for: #RakuLang, #Scheme, #Lisp, a little #Elixir
I am looking at the Google API libraries for Elixir and I don't love how it works.
Even for a fairly small API it generates a gajillion modules. This will make compile-time degenerate. It is implemented in what seems like a kind of obvious and straightforward way. It is perfectly usable. But I think many people might be frustrated with it.
https://github.com/googleapis/elixir-google-api
I'm curious what y'all would say is the most appropriate way to avoid this.
@heycaseywattsup I passed 100 orgs in https://search.benehomini.com - that was my goal before mentioning it to anyone - source code is at https://codeberg.org/benehomini/resource_directory - using #Elixir
A new version of Swoosh has landed, featuring my first contribution to an Elixir library: an adapter for Scaleway. I use it to send transactional emails in @brinjel. So proud of this first contrib!
It's @hayleighdotdev showing off her Gleam magic at @codebeamio today!
Love this angle. Using the same language and same patterns on the frontend and backend is so good
OTP updates by not Kenneth. Paradigm shifted!
He retired. Imagine that. Good for him. Had a great run.
This is Ingela "SSL" Andin and I am very excited to see the future of OTP presentations :)
Kenneth had started innovating a bit in presentation style. But we already have photos in this one!
Much love to the OTP team, past and present.
Who will I see tomorrow at Code BEAM in Berlin?