herminiotorres

herminiotorres

Concurrent Data Processing in Elixir: various errata

Hi @Margaret ,

On page VII the book tells us the example and snippets will be all using Elixir version 1.11

But on page 3 almost the end of the page when has a print of the IEx console, the version of the Elixir is 1.9.4 instead of 1.11.


So and the most part of the book suggest use the recompile function on IEx, but sometimes after you change your code you continue to receive :noop on IEx, maybe change the approach to use the r function, e.g., r(Sender), will be more efficient, using this way I tell recompile the Sender module on my application and no matter what if I change my code or not.

Most Liked

herminiotorres

herminiotorres

I like to share my thoughts about the book.

Chapter 1:
I like your thoughts and perspective to use Task and Task.Supervisor, but maybe share how to create our own custom Task.Supervisor.

Chapter 2:
I like the idea you use to create the GenServer and use it to improve the application to run Task on Chapter 1. It has good details about GenServer and the callbacks our module needs to implemented and introduce the last instructions about the tuple and the spec each callback receives as params. I feeling missing how to design the application supervisor tree, and how to think in perspective to guarantee our applications weren’t stop, maybe more content about Registry and how to use how to customize it and Supervisor and DynamicSupervisor too, the difference between both supervisors. The last thing is how to observe and debug, introducing this instrumentation when working with the OTP.

Chapter 3:
I like the idea to drop into GenStage after the GenServer chapter because you are very fresh thoughts and very close to using these concepts for most GenServer applications. In this chapter, the knowledge about the supervisor tree is critical because you need to build how your entire stages need at least one process for each stage running. If some stage of my application it’s going down, the next or previous stage will fail. It could be more content about the Dispatcher, and I feel very quickly and small.

I like the application examples and how to use them to explain and conquer this knowledge about this abstract concept; sometimes it’s difficult to understand, a great book, and congrats. I’m very curious/excited about the next chapters and releases.

svilen

svilen

Author of Concurrent Data Processing in Elixir

Thank you for the kind words, and for sharing your ideas, Herminio! I really appreciate it!

Margaret

Margaret

Editor at PragProg

@dimitarvp thanks – we are just in the first beta, so not yet in print. In print date should be August 2021.

Popular Prag Prog topics Top

kuroneko
Whilst the author has been careful to provide exact results for the tests elsewhere in the book (such as surds with the transformation te...
New
iPaul
page 37 ANTLRInputStream input = new ANTLRInputStream(is); as of ANTLR 4 .8 should be: CharStream stream = CharStreams.fromStream(i...
New
simonpeter
When I try the command to create a pair of migration files I get an error. user=> (create-migration "guestbook") Execution error (Ill...
New
herminiotorres
Hi @Margaret , On page VII the book tells us the example and snippets will be all using Elixir version 1.11 But on page 3 almost the en...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
adamwoolhether
I’m not quite sure what’s going on here, but I’m unable to have to containers successfully complete the Readiness/Liveness checks. I’m im...
New
taguniversalmachine
It seems the second code snippet is missing the code to set the current_user: current_user: Accounts.get_user_by_session_token(session["...
New
jonmac
The allprojects block listed on page 245 produces the following error when syncing gradle: “org.gradle.api.GradleScriptException: A prob...
New
kolossal
Hi, I need some help, I’m new to rust and was learning through your book. but I got stuck at the last stage of distribution. Whenever I t...
New
dachristenson
I’ve got to the end of Ch. 11, and the app runs, with all tabs displaying what they should – at first. After switching around between St...
New

Other popular topics Top

AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
Exadra37
On modern versions of macOS, you simply can’t power on your computer, launch a text editor or eBook reader, and write or read, without a ...
New
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
mafinar
Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1126 25250 746
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
First poster: joeb
The File System Access API with Origin Private File System. WebKit supports new API that makes it possible for web apps to create, open,...
New
First poster: bot
The overengineered Solution to my Pigeon Problem. TL;DR: I built a wifi-equipped water gun to shoot the pigeons on my balcony, controlle...
New
PragmaticBookshelf
Author Spotlight: Karl Stolley @karlstolley Logic! Rhetoric! Prag! Wow, what a combination. In this spotlight, we sit down with Karl ...
New

Latest in PragProg

View all threads ❯