Hey all, the Elixir community has been so welcoming to me and I wanted to give some tips to any beginners. I first dabbled with Elixir over a year ago but I hit the ground running with Elixir ~6 months ago and since then I have published 2 packages and will be speaking at ElixirConf US. Here are 5 tips I have for Elixir beginners to optimize your experience learning the language.
Hey Linus,
Thanks for pointing this out! Youāre absolutely correct. Iāve updated the blog post to reflect this info and gave you a nod in the post as well
Thanks for reading!
What does connected even do, anyway?
I always hated dropping right into an if
statement in the mount
callback of my LiveViews.
What if we could have separate function heads for (dis)connected mounts?
Turns out, we can. And itās pretty easy, too!
Hey folks! Got a follow up to my previous SVG sparklines post, this time going into detail about getting the timeseries data used to build the chart (again with an Elixir example):
Iām back
My head hit the keyboard when I learned about how much time I had been wasting while debugging dependencies.
Read more: Library authors hate this one weird trick! - John Elm Labs
A helpful breakdown of Elixir HTTP clients, written by Andrea Leopardi:
Iāve been missing having a blog lately, so hereās a first post from something new: Easier Recursion :: The Programmer's Stone
Awesome blog post! I really enjoy this type of content. Thank you.
A beginner-level post that shows how to strip the trailing slash from a URL when using Phoenix.
I too have largely avoided the Stream
module, mistakenly thinking it was complicated or inefficient when Enum
is āgood enoughā. Your post was a great illustration of how Stream
can actually simplify and clarify code when working with series of data. Great to see you blogging again!
I wrote a post about why daisyUI is a good fit for a Phoenix project, and how to set it up.
The post contains some of the material distilled from this elixirforum.com thread and combines it with some of my own learned experiences with daisyUI. My intention was to put everything in one easy-to-read post so people donāt have to digging around for information on the subject.
EDIT: Sorry for tagging you @stevegrossi, that was an accident.
Hi, I wrote an article on how to use Jinterface and set up communication between Elixir and Java nodes - Communicating between Elixir and Java using Jinterface
Thank you!, more please!
Interesting and fun blog post ElixirForCynicalCurmudgeons which is currently #4 on the front page of Hacker News.
The final line of the post:
Itās been a long time since a programming language made me this happy.
I love that you reply this one to meā¦ what you trying to say?..
Sir Iām jaded not Cynical.
Iām never quite sure where to reply in a ālong runningā threads. Please be assured my comments were not intended as a negative reflection on the value of polygons!
I implemented the Random Cut Forest anomaly detection algorithm in Elixir this weekend, using Nx and ExZipper. Thereās definitely a lot of room for optimizing performance (in Elixir or through a NIF), but I was impressed with how easy it was to work with Nx tensors and recreate results from the research paper.
Thereās a livebook in the post, in case anyone wants to run it at home!
How can we avoid runtime exceptions when using mocks and behaviors? With a little bit of compile time config. Read more:
This post was made possibly only with special help from @benwilson512 - Thank you Ben!