Hacking The Planet! with Notcurses: Difference between revisions
No edit summary |
|||
| Line 8: | Line 8: | ||
==Errata in the First Edition== | ==Errata in the First Edition== | ||
'''All known issues have been corrected in the currently-available book''' | |||
* The very first day it was available for purchase (2020-04-02), all copies were printed with a large grey "DRAFT" watermark on each page. This has been corrected. If you have such a copy, and would like to exchange it for one without this flaw, email me and we'll work it out. | * The very first day it was available for purchase (2020-04-02), all copies were printed with a large grey "DRAFT" watermark on each page. This has been corrected. If you have such a copy, and would like to exchange it for one without this flaw, email me and we'll work it out. | ||
* The Tetris case study takes a lock in the wrong place. <tt>Tetris::Ticker()</tt> ought read: | |||
<pre> | |||
do{ | |||
mtx_.lock(); | |||
ms = msdelay_; | |||
</pre> | |||
rather than | |||
<pre> | |||
mtx_.lock(); | |||
do{ | |||
ms = msdelay_; | |||
</pre> | |||