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.
คุณอาจชื่นชอบ
TIL: You can define `fetch/2` in your struct-defining module and have it return anything you want for the `[]` operator: #ElixirLang
                                            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.
As much as I enjoy vibe coding with the Claude Code CLI, it hasn't been able to write a simple LiveView with just a single-field form in it. Someone needs to teach it best practices.
Apparently, there's already put_private for that: hexdocs.pm/phoenix_live_v…
LiveView pros, have you considered using Process.put/2 and Process.get/1 instead of socket assigns in those cases when that data wouldn't change during the lifetime of a LiveView? Example: I pass something in a session to a LV that I want to be accessible from its components.
United States เทรนด์
- 1. Dick Cheney 12.2K posts
 - 2. Today is Election Day 2,828 posts
 - 3. Good Tuesday 24K posts
 - 4. Rolex 15.1K posts
 - 5. #WeTVAlwaysMore2026 1.38M posts
 - 6. GO VOTE 66.4K posts
 - 7. #Election2025 2,039 posts
 - 8. iPads N/A
 - 9. Jonathan Bailey 43.2K posts
 - 10. David Hogg 5,737 posts
 - 11. Comey 92.3K posts
 - 12. Nick Smith Jr 14.9K posts
 - 13. Jake Paul 5,680 posts
 - 14. #LakeShow 3,492 posts
 - 15. Kawhi 4,808 posts
 - 16. Ben Shapiro 71.8K posts
 - 17. Kyler 9,083 posts
 - 18. Jerry Jones 9,157 posts
 - 19. Logan Paul 11.2K posts
 - 20. constance 3,811 posts
 
คุณอาจชื่นชอบ
- 
                                                
                                                    
                                                        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.