This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

technusm1
Hi everyone, posting for the first time here, so please bear with me. I came across a HN thread that mentioned about a code-golf problem...
#io
New
jnnks
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
pavel-sev
Hello I am trying to deal with stdio and face strange (for me) behavior when reading bytes. To reproduce it I did simple one line bash s...
#io
New
mblagusz
Upon upgrading to Erlang 26, I noticed that the protoc-gen-elixir plugin to the protobuf compiler no longer works. The plugin starts off ...
#io
New
Anko
Hey I’m playing with kitty protocol and my first task is to write “\e[14t” to stdout and read the response. I’m struggling to work out h...
#io
New
donnieparka
defmodule Createproj do @moduledoc """ Documentation for `Createproj`. """ def print_help do IO.puts( "Usage: newP" &lt...
New
donnieparka
def write_boilerplate(project_name) do file_name = project_name <> ".ex" file_path = Path.join([project_name, file_name]) ...
New

Trending Over Three Years Top

zcking
I’m trying to figure out how to print out the contents of a string variable, without it interpreting the characters like \n and \t as new...
New
tme_317
Hopefully a very simple question… I am troubleshooting and would like to see all the contents of a given socket using IO.inspect(). I kn...
#io
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
sadcad
I have the following line Code.eval_string(code) which gives me the result of the inputted code and I write it to stdout I want to capt...
New
angelmz
If you have a function that ends with IO.puts, do you prefer the type spec to state it returns :ok or simply void if all it’s doing is p...
#go
New
Phillipp
Hey, I am using Phoenix for a still quite small app. All the app does is getting some input, then starting a bunch of processes per entit...
New
idi527
Or is a custom function needed? Something like (currently incorrect, doesn’t account for nested lists): defmodule Comparer do @module...
New
steffend
Hello there, reading the section about “IO and the file system”, I’ve noticed the following paragraph: By modeling IO devices with pro...
New
1stSolo
Do I need to close the file after the end of the stream is reached, if it was a file stream? Also, does the file need to be closed if th...
New
MeerKatDev
Is there a way to empty a file which is not closing and opening with :write?
New
pmargreff
I have a process where I’m creating and accumulating a string into a StringIO file, the creation and aggregation, it is simple, I open th...
New
hscspring
I have some data like: --- title1 line1 line2 --- title2 line1 line2 and i want a structure of : %{title1: [title1/line1, title1/lin...
New
polypush135
I’m following an example from dockyard but I’m trying to modify it to my needs. First of all I’m not working with context of a base64...
New
mruoss
I’m having a hard time understanding the file server concept in Erlang. From the docs I came up with some assumptions, but I’m not sure t...
#io
New
thiagogsr
Hi everyone I’m trying to create a CLI with Elixir to read and follow a stdin. It reads the file, but don’t process the inserted lines a...
#io
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