Latest #binary Threads 
Hello,
TL;DR: is it OK in elixir to pass large (MBytes) binary strings through function parameters ? If not, what would be a clean way t...
New
An in-depth guide on how to pattern match against binary data in Elixir.
New
Hey all,
As the title says, what do you think is the most efficient way to fill a binary with all constant values? I usually do the foll...
New
I run a system, where some structs are saved as binary with :erlang.term_to_binary and then deserialized with :erlang.binary_to_term. The...
New
I have written an interface to a linear solver in Elixir. To solve the linear program, I just generate an input file, call the solver (wh...
New
Hi, I’m new with Elixir and for learning I try to read id3v2 tags from mp3 files. The stdlib for working with binary seems awesome with p...
New
Hex: bin_struct | Hex
Git: GitHub - 4ait/bin_struct
Docs: bin_struct v0.2.34 — Documentation
BinStruct is a library which main functio...
New
I’m calling Nx.from_binary(binary, :u8)
If the binary_size is above 2147483647 (which is 2^31 - 1) then it raises the below error:
iex(...
New
Dear Community,
I have a binary of float32 representing audio data with floats in the range of [-1,1].
I want this audio data converted...
New
When I hit tab in iex it doesn’t include bits or bytes on the list:
iex(69)> <<a::
big binary bitstring float...
New
This Week's Trending
This Month's Trending
This Year's Trending
Hello,
TL;DR: is it OK in elixir to pass large (MBytes) binary strings through function parameters ? If not, what would be a clean way t...
New
An in-depth guide on how to pattern match against binary data in Elixir.
New
Hey all,
As the title says, what do you think is the most efficient way to fill a binary with all constant values? I usually do the foll...
New
Last Three Year's Trending
What is the Elixir way of decoding/parsing binary data?
I’m currently using the pattern matching (E.g. for a float <flt::float> = ...
New
Do binary patterns declared in function heads have to have static sizes? It appears to be the case, but I can’t find documentation one w...
New
I’m trying to implement some functionality by pattern matching purely as a learning exercise to familiarize myself with bitstrings/charsl...
New
I am reading a video file and want to create an Nx Tensors for each frame:
frames = file_contents # list of binaries
|> Enum.map(fn...
New
Klife Protocol
link: GitHub - oliveigah/klife_protocol: Elixir implementation of the kafka protocol
I’m thrilled to share that I’ve just...
New
Hex: bin_struct | Hex
Git: GitHub - 4ait/bin_struct
Docs: bin_struct v0.2.34 — Documentation
BinStruct is a library which main functio...
New
Looking over how String.valid? implements :fast_ascii option, what’s the significance is pattern matching in groups of 7 bytes?
when Bit...
New
Hi, I’m new with Elixir and for learning I try to read id3v2 tags from mp3 files. The stdlib for working with binary seems awesome with p...
New
Dear Community,
I have a binary of float32 representing audio data with floats in the range of [-1,1].
I want this audio data converted...
New
Hi,
I have a pretty basic question, what is the time complexity of code points?
In other languages ive used, a lookup table is employed...
New
I have written an interface to a linear solver in Elixir. To solve the linear program, I just generate an input file, call the solver (wh...
New
I’m calling Nx.from_binary(binary, :u8)
If the binary_size is above 2147483647 (which is 2^31 - 1) then it raises the below error:
iex(...
New
When I hit tab in iex it doesn’t include bits or bytes on the list:
iex(69)> <<a::
big binary bitstring float...
New
I run a system, where some structs are saved as binary with :erlang.term_to_binary and then deserialized with :erlang.binary_to_term. The...
New
Trending Over Three Years
Sometimes I want to check if the input into a function is not a blank string.
My first approach:
defmodule Example do
def do_stuff(s...
New
As you know, Erlang and Elixir have a good specifications/functions for binary. However, I haven’t found it for bitstring. Here is some e...
New
Hi,
Is there a function that would convert <<1>> to 1, <<1, 0>> to 256. I do not mean parsing the binary as a st...
New
I am trying to send a string of text as a body like this:
HTTPoison.post(
"https://api.letter.net",
'{"text": "{🇺🇸 : Hello #...
New
Story
skip this if you are not interested in the Why
Today I was working on a rewrite of a feature, heavily relying on a 3rd Party HTTP...
New
I’m trying to debug large memory spikes in our production environment. I tried to see if I could create something similar with as minimal...
New
Hi all,
I’m trying to write out a string, in binary, using Elixir’s <<>> syntax, and am having a dumb moment. I have a requ...
New
I have time deltas stored in a file in two formats:
0xxxxxxx
1yyyyyyyyyyyyyyy
In the first format, the time delta is the unsigned 7 bi...
New
I’ve been diving deep into charlists, encodings, code points, etc… thank you to the community who have humored me in the forums and in Sl...
New
Why don’t Binary types implement the Enumerable protocol so that they can be used with the Enum library? It seems like it would be useful...
New
I’m having so much fun working on the “Protohackers” challenges, I never got into Advent of Code much but this has been amazing. The chal...
New
What would be the functional equivalent of Python’s bytes.fromhex() in Elixir?
New
When you read a file with File.read, you get a large binary. I’m reading a file of numeric data that I would like to have in a list of in...
New
I am trying to compare the first character in a very long input string (like the text of a book) to some arbitrary character in a shorter...
New
Hello,
I’m having a list of elixir structs and I need to store in into file for later use and I don’t want to serialise it.
So I used :...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







