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 Pragmatic Bookshelf topics Top

Razor54672
The answer to 3rd Problem of Chapter 5 (Making Choices) of “Practical Programming, Third Edition” seems incorrect in the given answer ke...
New
jeffmcompsci
Title: Design and Build Great Web APIs - typo “https://company-atk.herokuapp.com/2258ie4t68jv” (page 19, third bullet in URL list) Typo:...
New
edruder
I thought that there might be interest in using the book with Rails 6.1 and Ruby 2.7.2. I’ll note what I needed to do differently here. ...
New
herminiotorres
Hi @Margaret , On page VII the book tells us the example and snippets will be all using Elixir version 1.11 But on page 3 almost the en...
New
AndyDavis3416
@noelrappin Running the webpack dev server, I receive the following warning: ERROR in tsconfig.json TS18003: No inputs were found in c...
New
fynn
This is as much a suggestion as a question, as a note for others. Locally the SGP30 wasn’t available, so I ordered a SGP40. On page 53, ...
New
New
Keton
When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
New
New
roadbike
From page 13: On Python 3.7, you can install the libraries with pip by running these commands inside a Python venv using Visual Studio ...
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’...
1020 16979 374
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
PragmaticBookshelf
Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
PragmaticBookshelf
Author Spotlight Erin Dees @undees Welcome to our new author spotlight! We had the pleasure of chatting with Erin Dees, co-author of ...
New
PragmaticBookshelf
Author Spotlight: Karl Stolley @karlstolley Logic! Rhetoric! Prag! Wow, what a combination. In this spotlight, we sit down with Karl ...
New
DevotionGeo
I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New
PragmaticBookshelf
Author Spotlight: Bruce Tate @redrapids Programming languages always emerge out of need, and if that’s not always true, they’re defin...
New