jhaungs

jhaungs

Regular Expressions Machinery: Confusing/inconsistent diagram and text (pages 10, 11)

In the diagram, the transition images across the top and down the right are: heads then heads, but the text says “accept state … if we first get a tails, then another tails.”

Also, the use of two images in each Coin in the alphabet is confusing, as a coin has only one face at a time.

Most Liked

jhaungs

jhaungs

Hi Staffan,

Happy to spot things like this. Your book is excellent; I’m really enjoying it.

I had another one, more a refinement than an error. I’ve been a programmer for 50+ years, so I was around when ASCII was invented. Your description of the “pillow” character on page 34 (of the PDF) is not precise. ASCII is generally considered to be 0-127. The “upper” ASCII plane (where the pillow is at 164) is considered “Extended ASCII” as it requires an 8th bit. There were many names for this extended plane over the years, but to call it unqualified ASCII is imprecise and confused me at first. I’m sensitive to confusion, because if it confuses me, it’ll confuse others. A better way to describe it would be as Extended ASCII, or even better, as Unicode, where it was introduced in 1993.

But honestly, as writers and editors like to say, “kill your darlings.” You could throw this side note away; it has only minor historical curiosity as the currency idea experienced only sporadic adoption, but more importantly, the side note adds nothing to the discussion of the pillow designating the empty set.

Jim

Popular Prag Prog topics Top

yulkin
your book suggests to use Image.toByteData() to convert image to bytes, however I get the following error: "the getter ‘toByteData’ isn’t...
New
swlaschin
The book has the same “Problem space/Solution space” diagram on page 18 as is on page 17. The correct Problem/Solution space diagrams ar...
New
patoncrispy
I’m new to Rust and am using this book to learn more as well as to feed my interest in game dev. I’ve just finished the flappy dragon exa...
New
Charles
In general, the book isn’t yet updated for Phoenix version 1.6. On page 18 of the book, the authors indicate that an auto generated of ro...
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
brunogirin
When trying to run tox in parallel as explained on page 151, I got the following error: tox: error: argument -p/–parallel: expected one...
New
New
oaklandgit
Hi, I completed chapter 6 but am getting the following error when running: thread 'main' panicked at 'Failed to load texture: IoError(O...
New
dsmith42
Hey there, I’m enjoying this book and have learned a few things alredayd. However, in Chapter 4 I believe we are meant to see the “>...
New
Keton
When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
New

Other popular topics Top

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1016 16843 372
New
AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
AstonJ
Or looking forward to? :nerd_face:
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
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
New
Margaret
Hello content creators! Happy new year. What tech topics do you think will be the focus of 2021? My vote for one topic is ethics in tech...
New
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
husaindevelop
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New

Latest in PragProg

View all threads ❯