Latest #io Threads 
defmodule Createproj do
@moduledoc """
Documentation for `Createproj`.
"""
def print_help do
IO.puts(
"Usage: newP" <...
New
def write_boilerplate(project_name) do
file_name = project_name <> ".ex"
file_path = Path.join([project_name, file_name])
...
New
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...
New
Upon upgrading to Erlang 26, I noticed that the protoc-gen-elixir plugin to the protobuf compiler no longer works. The plugin starts off ...
New
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...
New
I’m playing with building a TUI entirely in Elixir (no curses or anything). I use stty to put the TTY in raw mode, and that works fine wh...
New
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...
New
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...
New
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...
New
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
This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
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...
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
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...
New
defmodule Createproj do
@moduledoc """
Documentation for `Createproj`.
"""
def print_help do
IO.puts(
"Usage: newP" <...
New
def write_boilerplate(project_name) do
file_name = project_name <> ".ex"
file_path = Path.join([project_name, file_name])
...
New
Trending Over Three Years
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
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...
New
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
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
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...
New
Or is a custom function needed?
Something like (currently incorrect, doesn’t account for nested lists):
defmodule Comparer do
@module...
New
Hello there,
reading the section about “IO and the file system”, I’ve noticed the following paragraph:
By modeling IO devices with pro...
New
Is there a way to empty a file which is not closing and opening with :write?
New
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
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
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
I have some data like:
---
title1
line1
line2
---
title2
line1
line2
and i want a structure of :
%{title1: [title1/line1, title1/lin...
New
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...
New
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...
New
Hello,
I have read the IO module documentation and I must say I am confused about it and all the types related to strings.
In particula...
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
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







