Latest #streams Threads Top

lud
Hello, I have this example where I would like a stream transformation to return the whole input list up to the third atom, included. in...
New
lud
Hello, Is there an idiomatic way to write greedy streams in elixir? Given this example: 1..1000 |> Stream.map(&computation_1/1)...
New
stuartc
I’m trying to generate a stream of JSON from an Ecto stream to be sent out via send_chunked/2 and chunk/2. It appears that all the JSON ...
New
l3nz
I have a (possibly infinite) stream of events coming asynchronously, so that they do have a delay. I want to stop the stream immediately ...
New
josefrichter
Hi, I am paginating through a bunch of classes, displaying 10 at a time. Every time I change a page, I need to subscribe to the new clas...
New
flambard
Hi! I’d like to present streaming - a macro for creating streams much like the special form for. streaming x <- 1..10, y <- 11..2...
New
dmitriid
I’m trying to parse contents of a file in zip file. My idea is to use Unzip to stream contents (the unpacked file might be too large for ...
New
tim.jarratt
Hey all. I’ve been working on a system lately that needs to ingest 10s of thousands to millions of rows from a data lake in order to do s...
New
ChrisCoy
Hi everyone, hope y’all doing well, I am quite new to elixir and functional programming in general and I never really used Streams in ano...
New
sezaru
Hi everyone. In my system, I have two separated nodes which are connected to each other: Node A have access to a database which has a ...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

sribe
Is there a fairly direct way to get from System.cmd a stream which when enumerated will return the command output line by line? :into IO...
New
j4p3
When streaming input from a file of unknown size, formatted as a single line of comma-separated values, what’s the best way to operate on...
New
ChrisCoy
Hi everyone, hope y’all doing well, I am quite new to elixir and functional programming in general and I never really used Streams in ano...
New
mudasobwa
The stream-based implementation of Kernel.SpecialForms.for/1. Allows the same syntax as for and acts the same way. This is an initial ...
New
ahsanghalib
I am new to Elixir, learning it. I have a list of US Cities from this github link https://raw.githubusercontent.com/grammakov/USA-cities-...
New
lud
Hello, Is there an idiomatic way to write greedy streams in elixir? Given this example: 1..1000 |> Stream.map(&computation_1/1)...
New
sezaru
Hi everyone. In my system, I have two separated nodes which are connected to each other: Node A have access to a database which has a ...
New
zoedsoupe
I’m building an integration/client lib for Supabase services in Elixir, but I’m having some difficulties when it comes to uploading and d...
New
stuartc
I’m trying to generate a stream of JSON from an Ecto stream to be sent out via send_chunked/2 and chunk/2. It appears that all the JSON ...
New
Pistrie
I’m reading the documentation page, but it’s not landing. A stream basically defines how you want to go over the collection, without actu...
New
tim.jarratt
Hey all. I’ve been working on a system lately that needs to ingest 10s of thousands to millions of rows from a data lake in order to do s...
New
lud
Hello, I would like to run the following code: System.cmd("mix", ["deps.get"], cd: dir, stderr_to_stdout: true, into: IO.stream(:stdio,...
New
l3nz
I have a (possibly infinite) stream of events coming asynchronously, so that they do have a delay. I want to stop the stream immediately ...
New
josefrichter
Hi, I am paginating through a bunch of classes, displaying 10 at a time. Every time I change a page, I need to subscribe to the new clas...
New
dmitriid
I’m trying to parse contents of a file in zip file. My idea is to use Unzip to stream contents (the unpacked file might be too large for ...
New

Trending Over Three Years Top

vivus-ignis
Hello there! I have a mix task which grabs some data from a remote API, collects it into a file (a biggish xml), then sucks it in as a ...
New
tomekowal
Background: I am writing a multiplayer mini-game with math puzzles. I need the puzzles to be random but reproducible given a seed. I deci...
New
sabri
Hello, I have found lovely CSV library that I will be using to insert CSV files into postgres. But there are some issues I am wondering...
New
benonymus
Hey there, I want to make my bucket closed, so people can’t get anything form it even with the links, so I want to authenticate through...
New
alvises
Hi all! Related to this article , what I want to do is to process a text file using Elixir Streams. Now, most of the time is useful to ...
New
apr
I have the following code Repo.transaction(fn -> Blog |> where(title: ^title) |> Repo.stream() |> Flow.from_enumerable() |&g...
New
vonH
I am using DataMorph to import some csv output into Elixir structs, and I want the output to go to a file I can read into an editor....
New
quazar
I am parsing DNS zone file (12 GB appx) in Elixir and it’s taking absurdly amount of time, I exited the process after 30+ mins or so and ...
New
sabri
Is it possible to stream a file from a URL ? ex: Amazon S3 ? I tried to do: stream= File.stream!(public_s3_file_path) I got error, a...
New
ddombrow
Missing something when going through the Little Elixir book. Made my own function to grab a csv and make weather requests. The result ...
New
ringods
Hello, To handle the upload of really large files, the creation of the intermediate Plug.Upload file is too slow for me. In the Plug/Pho...
New
minhajuddin
Like the title says, I want to pass a stream to two outputs. I am looking for something like below: function_which_returns_stream |&...
New
j4p3
I’m processing some large-ish datasets by streaming CSV input, and I was curious if this actually contributed to speed or if it was merel...
New
Palindrome
Hi there, I’ve got the following function to read from a CSV file and insert the data into the address table of my database. def proc...
New
venomnert
Hey guys, I came across the idea of Stream, Enum, lazy evaluation and eager evaluation recently. I have been trying to wrap my head arou...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement