Def Over Lambda Part 1 - Factory Pattern and Dependency Injection
I recently read part of a pretty awesome book called Let Over Lambda by Doug Hoyte. Full of nice examples, wisdom and funnily opinionated remarks. I was also working on a personal project involving a couple of libraries where I suddenly saw how I could use one of the first patterns explained in the book.
Let Over Lambda In lisp and lisp like languages you can rely on lexical binding to manage scope in a way that is for today's standards (at least to me) intuitive.
Tony Hoare introduced Null references in ALGOL W back in 1965 "simply because it was so easy to implement", says Mr. Hoare. He talks about that decision considering it "my billion-dollar mistake".
Writing Load Balancer From Scratch In 250 Line of Code
Hey, everyone. It's another weekend, and I was exploring what to build. So I decided to build a simple yet completely functional load balancer. Let's discuss it in this post.
A Visual Tour of Phoenix's Updated 'magic link' Authentication Code Generator
A visual tour of how `phx.gen.auth` looks to the user, what the core schemas/contexts look like, and I'll sprinkle in some personal commentary as we go.
How to test for leap years (until year 102499) in the proleptic Gregorian calendar with just three 32-bit instructions, with detailed explanation of the bit-level tricks.
Broadway is Plataformatec's fourth attempt at streamlining the retrieval and processing of data in Elixir. This article gives you a glimpse into that journey, provides a deeper understanding of the library, giving you everything you need to build your own Broadway application.
Creating a multiplayer game server in Elixir - Erlang Solutions
This game was a highlight at Code BEAM Lite London and Code BEAM America. For those attendees lucky enough to experience AstroBEAM, Hernán Rivas Acosta...