Programming

Programming

1513 bookmarks
Custom sorting
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
How to build a GitHub-style Markdown Editor
How to build a GitHub-style Markdown Editor
Replace your WYSIWYG editor with a plain Markdown one! This article shows you how to build a GitHub-style Markdown editor from scratch.
·indiecourses.com·
How to build a GitHub-style Markdown Editor
Catalog | CodeCrafters
Catalog | CodeCrafters
Real-world proficiency projects designed for experienced engineers. Develop software craftsmanship by recreating popular devtools from scratch.
·app.codecrafters.io·
Catalog | CodeCrafters
Data Visualization for Machine Learning in Elixir | zacksiri.dev
Data Visualization for Machine Learning in Elixir | zacksiri.dev
I show you the various ways you can visualize data for machine learning in Elixir. I start with doing a basic scatter plot and move to more complex examples like plotting the loss curve.
·zacksiri.dev·
Data Visualization for Machine Learning in Elixir | zacksiri.dev
Comparing Elixir with Rust and Go - LogRocket Blog
Comparing Elixir with Rust and Go - LogRocket Blog
Compare the three programming languages Elixir, Rust, and Go across criteria such as memory usage and time in concurrency projects.
·blog.logrocket.com·
Comparing Elixir with Rust and Go - LogRocket Blog
Comparing Elixir vs Java - Erlang Solutions
Comparing Elixir vs Java - Erlang Solutions
A seasoned developer discusses transitioning to Elixir and performance comparisons with Java and mainstream languages.
·erlang-solutions.com·
Comparing Elixir vs Java - Erlang Solutions