By Developers, For Developers
PDF Pg | Paper Pg | Type | Description | Fixed on | Comments |
---|---|---|---|---|---|
Page | SUGGEST | In general I find the code samples hards to follow. It is not made clear where the line endings are and it is also not made clear whether one is at the command line or inside the Docker instance. Specifically this block of code I could be getting this wrong but …. if I start a docker/scala-native session with then run the next command I get this Usage: mkdir [OPTIONS] DIRECTORY… Create DIRECTORY \t-m MODE\tMode So if I run it a the Mac cli I get I have tried other combinations such as and “mkdir /my_code > docker run -it -p 8080:8080 -v/my_code:/root/my_code scala-native > ~/book-code” but get the same result | 2019-09-09 | ||
12 | TYPO | “All the code in this book been tested with Scala Native 0.3.8,” | 2019-09-09 | ||
19 | SUGGEST | “You should also see a 4.2MB file at target/scala-2.11/hello-minimal-out” This has been already described in the previous paragraph and thus should be changed. | 2019-09-09 | ||
30 | SUGGEST | “but we’ll use disk files” -> “but we’ll also use disk files” | 2019-09-09 | ||
33 | TYPO | “to scan a multiple items from the line” -> “to scan multiple items from the line” | 2019-09-09 | ||
35 | TYPO | “to be able isolate” -> “to be able to isolate” | 2019-09-09 | ||
38 | OK | `````` | 2019-09-10 | I like that stylistically, but I think it creates a logic issue - since we are using `count` in the if clause's predicate, we cannot declare it afterward, inside the block. | |
41 | TYPO | “whereas Scala Native took 30 seconds” Final dot is missing | 2019-09-09 | ||
66 | TYPO | “Scala Naive provides helper methods” -> “Scala Native provides helper methods” | 2019-09-09 | ||
66 | TYPO | “a different size than what it is nominally expecting from the function defintion” -> Typo on definition | 2019-09-09 | ||
67 | TYPO | “as well as multiple entires” -> “as well as multiple entries” | 2019-09-09 | ||
145 | TYPO | “Although most Scala ExecutionContexts use some kind of thread poll” | 2019-09-09 | ||
176 | TYPO | " to refer to to control mechanism" -> " to refer to the control mechanism" | 2019-09-09 | ||
217 | SUGGEST | I would mention the SQLite C library in the section “Other Integrations” | 2019-09-10 | Good catch! I've also added a shout-out to your sqlite4s library :-) | |
27 | TYPO | > We aren’t passing any arguments yet, so we don’t have any additional arguments or placeholders in the format string. > Second, the string itself now looks like this: c“hello, world\ The discussed code (p26) does have the arguments and the string is different: | |||
22 | TYPO | There’s this: > If you look in your build directory at target/scala-2.11, you’ll see a 4.2MB executable file called hello-minimal-out. And the next paragraph reads this: > You should also see a 4.2MB file at target/scala-2.11/hello-minimal-out. That’s the same file. I had to re-read it a couple of times to see if I’m missing or misreading something. | |||
xvi | TYPO | There is a closing parenthesis missing on the line: def main(args:Array[String]:Unit = { | |||
114 | SUGGEST | In LibUVServer/async_tcp/main.scala listing: the meaning of these two lines is not obvious at first: Only tip is page 113 is a reference to “tcp handle’s inner Ptr[Byte]”. | |||
114 | ERROR | in main.scala listing client_state_ptr is set twice, NB: both functions have its own “client_state_ptr” variable, I would have preferred distinct names, | |||
6 | TYPO | It says that hexadecimal address consists of 16 characters, but actually it has 14 characters |