By Developers, For Developers
| PDF Pg | Paper Pg | Type | Description | Fixed on | Comments |
|---|---|---|---|---|---|
| 54 | TYPO | The horizontal bracket showing the extent of group 1 is too wide: it should not include the final “(.*)” of the regular expression. | |||
| 54 | TYPO | The horizontal bracket showing the extent of group 2 is too wide: it should not include the trailing “*)”, which is actually the end of group 1. | |||
| 66 | TYPO | “if val > 127” in code fragment should be “if val > 255” | |||
| 67-68 | TYPO | The last “\\d{3}” in each RE\t should be “\\d{4}” (to capture the last four digits in each phone number). | |||
| 132 | ERROR | All implementations of Java in widespread use today will optimize repeated string concatenation, so that “abc”“def”“ghi” doesn’t allocate an unnecessary intermediate buffer. | |||
| 156 | TYPO | The description for the SQL type DECIMAL should be “…one that has a fixed number of digits…” | |||
| 128-129 | TYPO | The methods for storing integers as binary data are namend packVec() and unpackVec(), but the text relates to them as packIntVec() and unpackIntVec() respectively. | |||
| 166 | TYPO | The first paragraph of section 6.6 should end with “…who didn’t understand that data is for grepping”. | |||
| 49 | ERROR | The listing of the Regular Expressions search pattern contains an error - at least according to running the program on page 48 in python22 on windows. Here are my results: ’’ a b Xab aXb abX ab aXXXb a.b The error is that obviously “a?b” matches “aXb” when searching, as it should match the same as “b” or “ab”. The error propagates down page 49 in the 3rd paragraph. The last sentence reads: “or aXb (the a and the b aren’t adjacent).” Well, they’re not and they don’t have to be. The following paragraph on the other hand is perfect even though the description clashes with the faulty table and the description just provided. | |||
| 70 | TYPO | First paragraph reads: | |||
| 67 | SUGGEST | 2nd paragraph end with: There are other options, e.g. the pattern “<[^>]*>” which matches anything enclosed in <>-brackets, that is: start, end, and selfclosing tags. Ok, this solution does not use as much reg.exp. as figure 3.3, but whenever there are multiple solutions neither of these can be considered “the only one”. | |||
| 125 | TYPO | In the “Joe Asks” block it says: | |||
| 125 | TYPO | Near the bottom it says: Should be: | |||
| 150 | ERROR | The query “Find people in 904 or 905, but not both.” is incorrect. SELECT Person.FirstName, Person.LastName is a clumsy way of saying: “People not assigned to project 904” And the result is not the same as “Select people who are assigned to exactly one project” - which it should be, as stated in the text. The correct query is: The result is: which, of course, is not the result stated in the book. | |||
| 81 | TYPO | In “Joe Asks…” you mix up the counting in the last paragraph. Your writing “The third is mostly..” probably meant “The fourth is mostly..”. An explanation for the third bullet would be nice too. | |||
| 33 | ERROR | findhome.sh & it’s output is incorrect uid is the entire line | 2005-12-05 | ||
| 53-59 | ERROR | To the best of my knowledge, the domain component of an email address has to contain two segments, e.g. a@b.c is OK but a@b isn’t. Your RE matches a@b. If I’m right, the correct RE is more like: ([\\w.-]@([\\w (That includes your group 3 for matching the rest of the line.) Great book! | |||
| 139 | TYPO | You have included a CustId column in the Assigned table. I don’t think it is ever used from there, and it really shouldn’t be there because it is not normalized - you can get it from the Project table, based on the Projid. Also, this is very minor but your capitalization of Id fields is inconsistent. In a couple of places on that page CustId has the “I” capitalized, and in others it isn’t. In Empid and Projid the “i” is never capitalized. | |||
| 154 | ERROR | According to SQL standards, as I understand them, the statement near the bottom of the page that the condition CustId <> 1027 will match rows where CustId is NULL is wrong. Thus, the alternate query at the bottom of the page is not required. NULL does not compare to any value, using any comparison operator. Thus, NULL = 0, NULL <> 0, NULL < 0, and NULL > 0 all evaluate to false. | |||
| 23 | TYPO | Page 23 And also remove “WindowSize=1280,1024” in the [View]listing that follows this paragraph | |||
| 35 | TYPO | Near the bottom it says: Should be: | |||
| 104 | ERROR | In the first paragraph that starts on the page, “/project/*/author” will match only authors of tickets. It will NOT match authors of comments. To match authors of comments, “/project/*/*/author” works. To match authors of both tickets and comments, use “/project//author.” | |||
| 178 | SUGGEST | Base-64 Encoding The order of the characters for base64 is not arbitrary. The author wonders, why the list of characters doesn’t start with digits 0-9. This is because it is not really a number system like binary, decimal or hexa-decimal system, but simply the 6-bit value added to the ASCII-value of the letter ‘A’. So the “encoding characters” are exactly used as ni the ASCII standard. A simply base-64 conversion would be This leads to all characters being printable in the 7-bit ASCII-encoding. | |||
| 10 | TYPO | “And do the CMPND and AUTHOR lines..” | |||
| 10 | TYPO | The PDB URL has suffered from link rot. | |||
| 138 | ERROR | Under section “6.1 Simple Queries”. Warmest Regards | |||
| 2rand | 2rand | ERROR | +z$8frZdyL%68pSU/:>w<:E3.lG-!XIB | ||
| 33 | TYPO | Shell script at top and text at bottom mention using cut -f 5 to extract the fifth field, but as field numbers start from 1, the sixth field contains the user’s home directory. | |||
| 11 | ERROR | Trying to read the .mobi version using the Kindle for PC reader, it seems that all pages consisting of only source code show black boxes instead of words. I put a screenshot on (since hyperlinks aren’t allowed in this description): www dot flickr dot com slash photos slash 37513585@N00 slash 7896207608 Pages that don’t consist of only source code appear fine. I have never noticed this in any other Kindle book on the PC reader. |