Elixir Blog Posts

blog-posts
wiki
stickies

#367

Nice. It’s always good to remind people that there’s many ways of accomplishing something. I’ve got a post sitting in my backlog somewhere about golfing down a riff on FizzBuzz to follow the style of a Clojure implementation. I might have to post that soon.


#368

I’ve been working on my Bitcoin node a bit more over the past few weeks. Here are two new posts that (should) finish off the peer-to-peer networking portion of the project:

Limiting Peers with DynamicSupervisor Options - In which I realize that I duplicated a lot of work already done for me by the DynamicSupervisor module, and simplified my code quite a bit.

Ping, Pong, and Unresponsive Bitcoin Nodes - In which I set up a ping/pong cycle and prune dead peers from my connection pool.


#369

Understanding concurrency in elixir
http://www.jackmarchant.com/articles/understanding-concurrency-in-elixir


#370

I have recently played around with Phoenix.PubSub and wrote up my findings in a blog post: https://www.pompecki.com/post/phoenix-pubsub/


#371

For those interested in contributing to Elixir, here’s what I learned from my experience :smiley:
How to Contribute to Elixir: A Step-by-Step Guide


#372

I just wrote a blog post “Why I’m Loving Elixir” and thought I would share


#373

Here’s the FizzBuzz post I talked about previously. I basically use stream to replicate an interesting Clojure FizzBuzz solution. With a little cleanup, I actually prefer the Elixir version over the Clojure one (although being able to map over multiple collections is nice).

I also wrote a bit last week about improving my Bitcoin node’s receive loop by switching from using :gen_tcp in active mode to passive mode. This switch simplified things quite a bit and let me gut quite a bit of code from my project.


#374

Nice! I feel like you’re reading my mind. I started to dive into contributing to Elixir when I thought I found a bug a couple weeks ago. I also found this Dockyard article to be very helpful.


#375

Example using dynamic supervision in elixir OTP https://danbruder.com/blog/example-using-dynamic-supervision-in-elixir-otp


#376

Looking forward to part 2 where hopefully we find out how trains reconstruct their state in the event of a crash and how holders of stale train pids find the newly generated processes.


#377

http://www.jackmarchant.com/articles/working-with-tasks-in-elixir


#378

Hey all,

I just published a pretty massive post on using Elixir to generate guitar chords and finding “optimal” voice leading between chords. I do a deep dive into the code in the article and explain some of my ideas.

I’m pretty pumped about what I’ve got working so far, and plan to keep developing my ideas into something more useful in the future. Hopefully you think it’s as cool as I do.


#379

Really cool stuff @petecorey


#380

Will be reading this tonight. It’s my two favorite things Elixir and guitar!


#381

:clap:this one is particularly awesome and inspiring (even though I don’t play any instrument)

reminded me of this talk, where a drum machine is built : (code: https://github.com/mtrudel/beats)
so just making sure you have seen that one…


#382

Yes! That’s hands down one of my favorite Elixir talks. I’m actually using SchedEx in another side project, thanks to that talk.


#383

How does SchedEx compare to Quantum that’s been around a lot longer?


#384

#385

I liked the way SchedEx is configured, seems a lot cleaner than Quantum. And also, the time_scale modules look really amazing. :slight_smile:


#386