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

abtin
page 20: … protoc command… I had to additionally run the following go get commands in order to be able to compile protobuf code using go...
New
jon
Some minor things in the paper edition that says “3 2020” on the title page verso, not mentioned in the book’s errata online: p. 186 But...
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |> handle_event() |> render() but the correc...
New
alanq
This isn’t directly about the book contents so maybe not the right forum…but in some of the code apps (e.g. turbo/06) it sends a TURBO_ST...
New
jeremyhuiskamp
Title: Web Development with Clojure, Third Edition, vB17.0 (p9) The create table guestbook syntax suggested doesn’t seem to be accepted ...
New
fynn
This is as much a suggestion as a question, as a note for others. Locally the SGP30 wasn’t available, so I ordered a SGP40. On page 53, ...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
jskubick
I’m under the impression that when the reader gets to page 136 (“View Data with the Database Inspector”), the code SHOULD be able to buil...
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
dachristenson
I just bought this book to learn about Android development, and I’m already running into a major issue in Ch. 1, p. 20: “Update activity...
New

Other popular topics Top

PragmaticBookshelf
Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See f...
New
PragmaticBookshelf
Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch! In just a couple of weeks, build a ray tracer that r...
New
PragmaticBookshelf
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
PragmaticBookshelf
Get the comprehensive, insider information you need for Rails 8 with the new edition of this award-winning classic. Sam Ruby @rubys ...
New
xiji2646-netizen
There’s a GitHub repo at forrestchang/andrej-karpathy-skills that’s sitting at 97.8k stars. It’s a single CLAUDE.md file with four behavi...
New

Sub Categories: