galtmidas

galtmidas

Exploring Graphs with Elixir: book examples and source doesn't compile (page 20)

The GitHub page for the source code 404s. The code in the zip file doesn’t compile. The source code in the book itself doesn’t match the code in the zip file. The source code in the book doesn’t compile. Doesn’t matter if I try it stand alone or put everything into an umbrella. There are missing functions all over the place.

Things are WAY out of sync. When do we get an up to date GitHub repo so that we can use this book? I’m aware that it’s a beta book, but up to date code, even if different from the book, shouldn’t be something that doesn’t exist.

I’ve bought many PragProg Beta books. Maybe this Beta book needs to go back to Alpha?

#book-exploring-graphs-with-elixir

Most Liked

tonyhammond

tonyhammond

Author of Exploring Graphs with Elixir

Hi @galtmidas:

Thanks for your comments about the poor state of the bundled code. You are spot on.

My bad. I had always intended to make the full project avaiable in its own GitHub repo and to just use the code snippets zip file for code that was actually shown in the book. Inevitably the two code sets diverged and I did not pay sufficient attention to keeping them synced.

The good news is that I have cleaned up my master code base and have copied that into the code distribution, so the zip file will now (on the upcoming beta release, anyway) contain the full, working project. (I have dropped any earlier plans to make a separate GitHub distribution available.)

Apologies for not having done this sooner. I guess I just couldn’t quite see the best way forward in managing two different code sets. It’s now just one. And it should compile. :slight_smile:

Where Next?

Popular Pragmatic Bookshelf topics Top

JohnS
I can’t setup the Rails source code. This happens in a working directory containing multiple (postgres) Rails apps. With: ruby-3.0.0 s...
New
joepstender
The generated iex result below should list products instead of product for the metadata. (page 67) iex> product = %Product{} %Pento....
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
AndyDavis3416
@noelrappin Running the webpack dev server, I receive the following warning: ERROR in tsconfig.json TS18003: No inputs were found in c...
New
jgchristopher
“The ProductLive.Index template calls a helper function, live_component/3, that in turn calls on the modal component. ” Excerpt From: Br...
New
Charles
In general, the book isn’t yet updated for Phoenix version 1.6. On page 18 of the book, the authors indicate that an auto generated of ro...
New
s2k
Hi all, currently I wonder how the Tailwind colours work (or don’t work). For example, in app/views/layouts/application.html.erb I have...
New
jwandekoken
Book: Programming Phoenix LiveView, page 142 (157/378), file lib/pento_web/live/product_live/form_component.ex, in the function below: d...
New
mcpierce
@mfazio23 I’ve applied the changes from Chapter 5 of the book and everything builds correctly and runs. But, when I try to start a game,...
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

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1033 17470 383
New
ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
AstonJ
Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face: Perhaps if there’s enough peop...
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
“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco Ever wonder how authoring books compares to writing articles?...
New
gagan7995
API 4 Path: /user/following/ Method: GET Description: Returns the list of all names of people whom the user follows Response [ { ...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
New
PragmaticBookshelf
Author Spotlight: Karl Stolley @karlstolley Logic! Rhetoric! Prag! Wow, what a combination. In this spotlight, we sit down with Karl ...
New
PragmaticBookshelf
Author Spotlight: Tammy Coron @Paradox927 Gaming, and writing games in particular, is about passion, vision, experience, and immersio...
New

Sub Categories: