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

1 783 2

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:

Popular Prag Prog topics Top

jimmykiang
This test is broken right out of the box… — FAIL: TestAgent (7.82s) agent_test.go:77: Error Trace: agent_test.go:77 agent_test.go:...
4 1547 7
New
mikecargal
Title: Hands-On Rust (Chap 8 (Adding a Heads Up Display) It looks like ​.with_simple_console_no_bg​(SCREEN_WIDTH*2, SCREEN_HEIGHT*2...
9 2012 5
New
brian-m-ops
#book-python-testing-with-pytest-second-edition Hi. Thanks for writing the book. I am just learning so this might just of been an issue ...
4 1175 3
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, ...
0 1285 2
New
jskubick
I found an issue in Chapter 7 regarding android:backgroundTint vs app:backgroundTint. How to replicate: load chapter-7 from zipfile i...
0 3474 3
New
digitalbias
Title: Build a Weather Station with Elixir and Nerves: Problem connecting to Postgres with Grafana on (page 64) If you follow the defau...
0 1928 4
New
dsmith42
Hey there, I’m enjoying this book and have learned a few things alredayd. However, in Chapter 4 I believe we are meant to see the “>...
0 1902 3
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...
0 2609 9
New
creminology
Skimming ahead, much of the following is explained in Chapter 3, but new readers (like me!) will hit a roadblock in Chapter 2 with their ...
6 1109 5
New
dtonhofer
@parrt In the context of Chapter 4.3, the grammar Java.g4, meant to parse Java 6 compilation units, no longer passes ANTLR (currently 4....
0 1003 3
New

Other popular topics Top

AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
15 7818 19
New
foxtrottwist
Here’s our thread for the Keyboardio Atreus. It is a mechanical keyboard based on and a slight update of the original Atreus (Keyboardio ...
9 3083 6
New
Exadra37
I am a Linux user since 2012, more or less, and I always use Ubuntu on my computers, and my last 2 laptops have been used Thinkpads, wher...
64 2918 29
New
AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
160 3626 49
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...
110 3689 43
New
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
10 4904 6
New
AstonJ
If you are experiencing Rails console using 100% CPU on your dev machine, then updating your development and test gems might fix the issu...
3 3436 3
New
OvermindDL1
Woooooooo! This is such a huge release for it, and 2 years incoming! In short, the library is now using an updated hyper backend (not j...
20 2656 6
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
19 2841 10
New
First poster: bot
Large Language Models like ChatGPT say The Darnedest Things. The Errors They MakeWhy We Need to Document Them, and What We Have Decided ...
0 2595 0
New

Latest in PragProg

View all threads ❯