Programming

Programming

1513 bookmarks
Custom sorting
Persistent connections with gen_statem
Persistent connections with gen_statem
How we can use the gen_statem behaviour to implement a resilient state machine that holds a connection to an external service.
·andrealeopardi.com·
Persistent connections with gen_statem
Building a Streaming Music Service with Phoenix and Elixir
Building a Streaming Music Service with Phoenix and Elixir
I thought it would be nice to make a streaming music service focused on bringing lo-fi artists and listeners together. Early on, I put together a series of prototypes to explore with a small group of listeners and artists. Since this is a technical article, I'll jump right into the requirements we arrived at, though I'd love to also do an article on the strategies and principles that guided our exploration.
·lofi.limo·
Building a Streaming Music Service with Phoenix and Elixir
Polymorphic embeds in Ecto
Polymorphic embeds in Ecto
How to abuse Ecto embeds to do our dirty polymorphic bidding.
·danschultzer.com·
Polymorphic embeds in Ecto
Dangers Of Genservers
Dangers Of Genservers
In this article, we outline some of the technical details of GenServers in Elixir, which is used to serve a large multitude of people with high speed. This is a deep dive into GenServers and discovering their limitations and strengths.
·learn-elixir.dev·
Dangers Of Genservers
eigr.io – A Serverless Runtime on the BEAM
eigr.io – A Serverless Runtime on the BEAM
Hello Elixir enthusiasts! 🚀 As the tech landscape evolves, so should our tools and approaches to development. Today, I'm excited to introduce you to a significant advancement in Elixir development that can reshape how we build distributed systems – I present to you Spawn.
·eigr.io·
eigr.io – A Serverless Runtime on the BEAM
Avoid Trips To The Database With Nebulex - Phoenix Series
Avoid Trips To The Database With Nebulex - Phoenix Series
Recently, I have been looking for ways to optimize my Stream Closed Captioner application. During one of my typical scroll-throughs of my Following lists and other sites, I discovered Nebulex. Nebulex, a local and distributed caching toolkit for Eli...
·blog.guzman.codes·
Avoid Trips To The Database With Nebulex - Phoenix Series
Designing solutions with state machines in Elixir | Ready for Production
Designing solutions with state machines in Elixir | Ready for Production
Have you ever needed to build solutions related to execution flows like wizards, admission processes, or game rules in your software? If you do, you know it can be a nightmare of conditionals and complexity. We can make our lives easier by developing them using state machines.
·readyforproduction.dev·
Designing solutions with state machines in Elixir | Ready for Production
TIL: File Uploads Using the Req Elixir Library
TIL: File Uploads Using the Req Elixir Library
The Req Elixir library doesn't support file uploads(as of version 0.4.5). Instead, you need to use multipart to construct the HTTP request before you send it.
·samrat.me·
TIL: File Uploads Using the Req Elixir Library
C++ Guidelines
C++ Guidelines
C++ is definitely a language that has Lots of Ways to do It – kind of like Perl’s TIMTOWTSAC. A consequence is that when writing code, you need to think about which way to do things. When context-switching between projects, employers, or what-have-you, you may have to context-switch preferences for which way is preferred. Guidelines can help, and I love them.
·euroquis.nl·
C++ Guidelines
Unpacking Elixir: The Actor Model
Unpacking Elixir: The Actor Model
A lot has been said about The Actor Model when it comes to Erlang. The Actor Model is generally a model for concurrent computation. And Erlang was not built to implement Actors. I'm sure we could be debate about whether it does or not. I have not read Carl Hewitt and I'm not going to offer an opinion. It does something similar enough in terms of message passing and spawning. It might be the case that Erlang processes has shifted what people expect an Actor to be and rather than be a realization of the theory it has become an implementation that overrides the theory.
·underjord.io·
Unpacking Elixir: The Actor Model
Easily Generate Mock Data with PostgreSQL
Easily Generate Mock Data with PostgreSQL
Unveil the power of the generate_series function in PostgreSQL for automated data generation. From simple number sequences to complex time-series data, learn how to streamline your SQL operations with practical examples and use cases.
·dylanpaulus.com·
Easily Generate Mock Data with PostgreSQL