Errata

125: The number 1 is not a prime number! The version in the code repository (Nprimes) is correct. Thanks to Professor Karl Stroetmann for noticing this mistake.

132: The code that reports the locations of the letter “e” could be improved by incorporating the Oxford (also known as the Harvard or the serial) comma in its output. I’ll leave the implementation as an exercise for the reader. Thanks to Professor Karl Stroetmann for pointing out this detail.

182: It would have been a good idea to point out that the try-catch block creates its own local scope. This is a frequent source of confusion even for Julia programmers with some experience.

190: A typographical command leaked into the first line of Listing 7.1. It should just be

using Luxor

The code in the repository is OK. Thanks to Professor Karl Stroetmann for noticing the error.

191: In paragraph following the code listing, “1\times10” should be 1 × 10

216: I should have said that floatmin() returns the minimum positive normalized float of the requested type. Thanks to Professor Karl Stroetmann for pointing this out.

312: The sentence beginning “In the dice example” should read

In the dice example, there are five ways to get a sum of six, so the probability is 5/36.

332: The second line of the truth table is incorrect. It should say

true & missing missing

334: Listing 10-8 is missing the dateformat keyword argument mentioned in the following text. The function call should include

dateformat = "mm/dd/yy"

349: It would have been good to clarify that a SubDataFrame is a view, or reference into the parent DataFrame.

373: In the second listing mode = load... should be

model = load...
☞ Buy from: No StarchAmazonB&M  ☜ ☞ My main site ☜ ☞ Julia headquarters ☜ ☞ Julia links ☜