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

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
jamis
The following is cross-posted from the original Ray Tracer Challenge forum, from a post by garfieldnate. I’m cross-posting it so that the...
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
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...
New
leba0495
Hello! Thanks for the great book. I was attempting the Trie (chap 17) exercises and for number 4 the solution provided for the autocorre...
New
leonW
I ran this command after installing the sample application: $ cards add do something --owner Brian And got a file not found error: Fil...
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
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
Keton
When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
New
ggerico
I got this error when executing the plot files on macOS Ventura 13.0.1 with Python 3.10.8 and matplotlib 3.6.1: programming_ML/code/03_...
New

Other popular topics Top

dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
Rainer
Not sure if following fits exactly this thread, or if we should have a hobby thread… For many years I’m designing and building model air...
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...
New
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
Fl4m3Ph03n1x
Background Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New

Sub Categories: