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

belgoros
Following the steps described in Chapter 6 of the book, I’m stuck with running the migration as described on page 84: bundle exec sequel...
New
jeffmcompsci
Title: Design and Build Great Web APIs - typo “https://company-atk.herokuapp.com/2258ie4t68jv” (page 19, third bullet in URL list) Typo:...
New
ianwillie
Hello Brian, I have some problems with running the code in your book. I like the style of the book very much and I have learnt a lot as...
New
Alexandr
Hi everyone! There is an error on the page 71 in the book “Programming machine learning from coding to depp learning” P. Perrotta. You c...
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |> handle_event() |> render() but the correc...
New
New
patoncrispy
I’m new to Rust and am using this book to learn more as well as to feed my interest in game dev. I’ve just finished the flappy dragon exa...
New
nicoatridge
Hi, I have just acquired Michael Fazio’s “Kotlin and Android Development” to learn about game programming for Android. I have a game in p...
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
davetron5000
Hello faithful readers! If you have tried to follow along in the book, you are asked to start up the dev environment via dx/build and ar...
New

Other popular topics Top

AstonJ
Or looking forward to? :nerd_face:
503 15149 280
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
New
New
PragmaticBookshelf
Build modern server-driven web applications using htmx. Whatever programming language you use, you’ll write less (and cleaner) code. ...
New
PragmaticBookshelf
Explore the power of Ash Framework by modeling and building the domain for a real-world web application. Rebecca Le @sevenseacat and ...
New
NewsBot
Node.js v22.14.0 has been released. Link: Release 2025-02-11, Version 22.14.0 'Jod' (LTS), @aduh95 · nodejs/node · GitHub
New
PragmaticBookshelf
A concise guide to MySQL 9 database administration, covering fundamental concepts, techniques, and best practices. Neil Smyth MySQL...
New
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New
PragmaticBookshelf
Use advanced functional programming principles, practical Domain-Driven Design techniques, and production-ready Elixir code to build scal...
New

Sub Categories: