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
Seriously, having the option of non-intrusively adding IO.inspect() to any pipe, anywhere in the pipe is such a boon to development. I ca...
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
This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
Seriously, having the option of non-intrusively adding IO.inspect() to any pipe, anywhere in the pipe is such a boon to development. I ca...
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 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
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
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
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
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
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
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
Is there a way to empty a file which is not closing and opening with :write?
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 have some data like:
---
title1
line1
line2
---
title2
line1
line2
and i want a structure of :
%{title1: [title1/line1, title1/lin...
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’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
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
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







