Programming

Programming

1461 bookmarks
Custom sorting
Connecting Two Databases using Ecto in elixir
Connecting Two Databases using Ecto in elixir
Imagine for a second that you are building a brand new Phoenix application, but you need to make use of some data stored in a different…
·medium.com·
Connecting Two Databases using Ecto in elixir
Introducing Wallaby – Concurrent Feature Tests for Elixir and Phoenix
Introducing Wallaby – Concurrent Feature Tests for Elixir and Phoenix
Feature tests are one of the best ways to ensure reliability and consistency for web applications. But, as we’ve discussed previously feature tests can become a performance bottleneck for a large t…
·blog.carbonfive.com·
Introducing Wallaby – Concurrent Feature Tests for Elixir and Phoenix
Low level socket programming in Elixir
Low level socket programming in Elixir
Not really, you can run ICMP socket as a regular user if your user ID is within sysctl net.ipv4.ping_group_range. However that will require you to use datagram socket instead of raw socket: {:ok, socket} = :socket.open(:inet, :dgram, :icmp) It also has slightly reduced API, as for example on Linux you cannot specify id and seq fields for ICMP packet, as these will be always set for you. There is library that I have created in the past that provide slightly higher API for ICMP sockets (still q...
·elixirforum.com·
Low level socket programming in Elixir
Playing with Sockets and Processes in Elixir
Playing with Sockets and Processes in Elixir
We make a small line-oriented TCP socket server to explore how sockets and some manual process management works in Elixir.
·thoughtbot.com·
Playing with Sockets and Processes in Elixir
Oban: job processing library for Elixir
Oban: job processing library for Elixir
After working for years on different organizations, one common theme is scheduling background jobs. In this article, I’ll share my experience with Oban, an open-source job processing package for Elixir. I’ll also cover some features, like real-time monitoring with Oban Web and complex workflow management with Oban Pro.
·milmazz.uno·
Oban: job processing library for Elixir
TIL: Using Web Workers with Phoenix Liveview
TIL: Using Web Workers with Phoenix Liveview
In a LiveView project I'm working on, I had to add a web worker. I was a bit unsure of how to do this, and was worried I'd have to do some esbuild config manipulation, but it turned out to be quite simple. For readers reading in the far future,
·samrat.me·
TIL: Using Web Workers with Phoenix Liveview
Maps and Nested Data Structures
Maps and Nested Data Structures
We empower people with technology through teaching and facilitating access, enlarging the community of people who give back and teach others.
·elixirbridge.org·
Maps and Nested Data Structures
Nested Set in elixir
Nested Set in elixir
Erlang also offers graphs based on ETS (digraph module), and sets of sets (sofs). digraph is quite approachable and digraph_utils has a nice collection of algorithms. They’re not really functional, though.
·elixirforum.com·
Nested Set in elixir
Elixir Logger and the Power of Metadata
Elixir Logger and the Power of Metadata
Elixir Logger is one of the OTP applications distributed with the Elixir core, and it supports logging with metadata out-of-the-box. Learn the basics of logging with metadata in Elixir as well as some lessons in how to organize that metadata effectively.
·dev.to·
Elixir Logger and the Power of Metadata
Creating Uniques Ids on Elixir
Creating Uniques Ids on Elixir
We often need unique ids to generate dynamic and unique filenames or hashes for many purposes like URL validations, QR creations, etc. For…
·medium.com·
Creating Uniques Ids on Elixir
All Commands | asdf
All Commands | asdf
Manage multiple runtime versions with a single CLI tool
·asdf-vm.com·
All Commands | asdf
Phoenix: Ecto migrations cheatsheet
Phoenix: Ecto migrations cheatsheet
The one-page guide to Phoenix: Ecto migrations: usage, examples, links, snippets, and more.
·devhints.io·
Phoenix: Ecto migrations cheatsheet
Introspecting Elixir — cheatsheet
Introspecting Elixir — cheatsheet
OK, so you wrote your amazing Elixir or Phoenix application and deployed it. It all starts clean & nice but sooner or later tricky runtime…
·medium.com·
Introspecting Elixir — cheatsheet
Metadata Querying for Object Storage feat. Elixir | Tigris Object Storage
Metadata Querying for Object Storage feat. Elixir | Tigris Object Storage
Now we get to the significantly more disruptive stuff. The things that while Tigris is an S3-compatible API it also provides features that enable entirely new use-cases and push the boundaries of what you can do with object storage. Let's see if we can't set your internal constraint-solver aflame with possibilities.
·tigrisdata.com·
Metadata Querying for Object Storage feat. Elixir | Tigris Object Storage