colinangusmackay

colinangusmackay

Real-World Event Sourcing: Missing setup instructions (page 3)

@autodidaddict,

On the website it states: “What You Need: You’ll need a computer preferably running MacOS, Linux, or WSL/Ubuntu on Windows. You’ll install everything else you need (such as Elixir and an event store) as you progress through the book.”

So, I expect some sort of aside or maybe a section in the introduction about what tools to install for those of us that don’t already have the necessary tools. However, on page three it says “go ahead and create this module as calculator .exs. Start up iex and enter c(“calculator .exs”) to load and compile the module.”. I would therefore expect by this point to have been given some guidance as to what tools to install, as this is the first point in the book that I need it.

As someone who does not use Elixir, I don’t know the toolset, so the text needs to be explicit about what tooling I need to get going with the examples. It doesn’t have to be comprehensive, it just needs the basics to point me to the relevant websites and tell me what I need in order to get started. I’m sure from that point I can Google the rest if I need it.

First Post!

jaeyson

jaeyson

I’m also at the beginning of reading the book. I’d assume the author meant installing the language.

go ahead and create this module as calculator .exs. Start up iex and enter c(“calculator .exs”) to load and compile the module

You can access iex shell after installing Elixir successfully. The c("calculator.exs") is typed once you’re inside iex shell.

On the website it states: “What You Need: You’ll need a computer preferably running MacOS, Linux, or WSL/Ubuntu on Windows. You’ll install everything else you need (such as Elixir and an event store) as you progress through the book.”

Not sure if they’ll update this to be less ambiguous

Where Next?

Popular Pragmatic Bookshelf topics Top

New
mikecargal
Title: Hands-On Rust (Chapter 11: prefab) Just played a couple of amulet-less games. With a bit of debugging, I believe that your can_p...
New
joepstender
The generated iex result below should list products instead of product for the metadata. (page 67) iex> product = %Product{} %Pento....
New
leba0495
Hello! Thanks for the great book. I was attempting the Trie (chap 17) exercises and for number 4 the solution provided for the autocorre...
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
AufHe
I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113. Iteration A1 - Seeing the list of prod...
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
taguniversalmachine
Hi, I am getting an error I cannot figure out on my test. I have what I think is the exact code from the book, other than I changed “us...
New
tkhobbes
After some hassle, I was able to finally run bin/setup, now I have started the rails server but I get this error message right when I vis...
New
redconfetti
Docker-Machine became part of the Docker Toolbox, which was deprecated in 2020, long after Docker Desktop supported Docker Engine nativel...
New

Other popular topics Top

AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
New
Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New
Fl4m3Ph03n1x
Background Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New

Sub Categories: