Max ▷ Elixir
@elixirboy
Have *you* fallen for #ElixirLang yet? TILs and reflections from my 10 years with Elixir. Cranking out Elixir for Jump on weekdays. Cooking on my days off.
Was dir gefallen könnte
TIL: You can define `fetch/2` in your struct-defining module and have it return anything you want for the `[]` operator: #ElixirLang
Hot take: If you need to *delete* some code to fix a bug, you shouldn't write a regression test for that.
I'm hiring a contractor to contribute to @elixirlang OSS tooling full-time We're a large @elixirlang team and tooling is a big pain point, so we want to hire someone to make it better for us and everyone. Apply here jump.ai/careers?ashby_…
Want a supervised task to finish (not get killed) during rolling @elixirlang deployments? Trapping the exist will give it 5 seconds: Task.Supervisor.start_child( MyApp.TaskSupervisor, fn -> Process.flag(:trap_exit, true) do_work() end )
Just downloaded ChatGPT Atlas, and I see how direct browser-ChatGPT integration can be very useful. It just walked me through creating a free-form Google Analytics report, which I had no knowledge of. Previously, I had to send ChatGPT screenshots of where I was, it was tedious.
Are you learning a foreign language by any chance? And what are the odds you use Telegram too? 🤔 I’ve been building a Telegram bot that finally makes vocabulary learning with spaced repetition fun for me, thanks to LLMs. Maybe it will for you, too: t.me/lexicornbot?st…
Neovim geeks 🫶 — this helps me debug in #ElixirLang: With the cursor inside a function, :ElixirCopyFuncFqn copies its fully qualified name (FQN) to the clipboard — ready to paste into IEx, local or remote. github.com/mxgrn/dotfiles…
My favorite application of AI? Sharpening my tools. Just vibe-coded this toggle for #ElixirLang maps in Neovim.
Want to disable all unmocked HTTP calls from Req at once during #ElixirLang tests? Simply add this to test/test_helper.exs: Req.default_options( adapter: fn req -> raise "Unmocked call to #{req.url}" end ) (replace `raise` with a log warning if that's more useful)
It's easy to keep nudging the AI until it 'fixes' the tests, and it feels like achieving something, while the value of such tests may be plainly negative. Seeing too many false positives like that lately.
Isn’t it neat that Elixir’s AST is valid Elixir? What other languages besides Lisp can claim that?
A very nice, concise introduction to Elixir and BEAM. Share it with anyone who's willing to understand why you're so lucky to work with the tech. youtu.be/_5B_B_IgtAg
youtube.com
YouTube
Practical Arguments for Erlang / Elixir - Shawn McCool
I never miss a talk by Evan Czaplicki, and here's a fresh new one: youtube.com/watch?v=YPAaUF…
youtube.com
YouTube
Keynote: Rethinking our Adoption Strategy - Evan Czaplicki | Lambda...
Me: What's your current favorite escape hatch when LiveView doesn't quite cut it? Chris McCord: Web components with Lit. #ElixirConfEU cc @atomkirk
Using two screens, I find it tiresome not to quickly see which screen is currently active. I googled it and found HazeOver. Quickly felt relief, recommended. #protip
At work, just submitted my first PR which is 100% vibe-coded. It literally saved me a couple hours of codebase research and coding. AMA.
When to name your #ElixirLang function with a bang? Only if the function is *expected* to throw errors during normal execution. Do not simply 'inherit' bangs from what’s inside that function (`Repo.update!`) if those exceptions would signal a bug (that is, should never happen).
AI won't create anything fancy itself. It's good at producing building blocks, though, from which you, human, can build the fancy.
Just published my first Hex package—one that no one else should even consider using. It was simply the easiest way to get its documentation into Dash. Am I doing it wrong? #elixirlang Still picked a fancy name for it, just in case.
United States Trends
- 1. Gameday 31.7K posts
- 2. Sesko 46.2K posts
- 3. #SaturdayVibes 4,868 posts
- 4. Ugarte 16K posts
- 5. De Ligt 26K posts
- 6. Texas Tech 7,916 posts
- 7. Good Saturday 33.5K posts
- 8. #Caturday 5,072 posts
- 9. Richarlison 21.5K posts
- 10. Trump Stadium 1,989 posts
- 11. Calen Bullock N/A
- 12. Amorim 66K posts
- 13. Cunha 25.3K posts
- 14. Vicario 1,991 posts
- 15. #TOTMUN 18.1K posts
- 16. Casemiro 24.3K posts
- 17. Insurance 192K posts
- 18. Goretzka 1,838 posts
- 19. Luis Diaz 22.7K posts
- 20. Odobert 4,874 posts
Was dir gefallen könnte
-
Mark Ericksen
@brainlid -
@hauleth.dev
@hauleth -
Zach Daniel
@ZachSDaniel1 -
Paraxial.io
@paraxialio -
Gig City Elixir
@GigCityElixir -
Kamil Skowron
@kamilskowron -
Erlang Forums
@erlangforums -
ElixirFixer - also known as Greg!
@FunctionalUs -
Z
@z_4seven -
Sundi Myint
@sundikhin -
Leandro Pereira
@leandrocesquini -
Marmela
@marmelasoft -
steve
@stevel_dev -
Jack Gray
@JackGrayS9 -
Chaz Watkins
@chaz_watkins
Something went wrong.
Something went wrong.