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

telemachus
Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks” While running the smoke tests in Chapter 2, I get these...
New
johnp
Hi Brian, Looks like the api for tinydb has changed a little. Noticed while working on chapter 7 that the .purge() call to the db throws...
New
sdmoralesma
Title: Web Development with Clojure, Third Edition - migrations/create not working: p159 When I execute the command: user=> (create-...
New
lirux
Hi Jamis, I think there’s an issue with a test on chapter 6. I own the ebook, version P1.0 Feb. 2019. This test doesn’t pass for me: ...
New
mikecargal
Title: Hands-on Rust: question about get_component (page 295) (feel free to respond. “You dug you’re own hole… good luck”) I have somet...
New
AleksandrKudashkin
On the page xv there is an instruction to run bin/setup from the main folder. I downloaded the source code today (12/03/21) and can’t see...
New
rmurray10127
Title: Intuitive Python: docker run… denied error (page 2) Attempted to run the docker command in both CLI and Powershell PS C:\Users\r...
New
adamwoolhether
When trying to generate the protobuf .go file, I receive this error: Unknown flag: --go_opt libprotoc 3.12.3 MacOS 11.3.1 Googling ...
New
brunogirin
When installing Cards as an editable package, I get the following error: ERROR: File “setup.py” not found. Directory cannot be installe...
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

Other popular topics Top

malloryerik
Any thoughts on Svelte? Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
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
New
AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
Margaret
Hello content creators! Happy new year. What tech topics do you think will be the focus of 2021? My vote for one topic is ethics in tech...
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
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
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
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

Sub Categories: