From 09ff59ee8533b0c88803fb9a8b77591b53f03001 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Fri, 8 Aug 2025 02:57:17 -0700 Subject: [PATCH] Various typos in 2024/ The following files (not all of these files were checked yet) were modified (when mentioning README.md I also rebuilt the index.html file): 2024/burton/README.md 2024/endoh1/README.md 2024/endoh1/try.sh --- 2024/burton/README.md | 10 +++++----- 2024/burton/index.html | 10 +++++----- 2024/endoh1/README.md | 6 +++--- 2024/endoh1/index.html | 6 +++--- 2024/endoh1/try.sh | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/2024/burton/README.md b/2024/burton/README.md index ff1c7263a..8915c0602 100644 --- a/2024/burton/README.md +++ b/2024/burton/README.md @@ -64,7 +64,7 @@ This assistant prompts "? ", and the input expected is the guessed word followed by the first letters of the color revealed for that guess: ``` - $ prog dict + $ ./prog dict ? terns ybbbb loath ? loath gbbyy @@ -109,7 +109,7 @@ The example session (Wordle 228) below demonstrates this: ``` # do NOT do this - $ prog dict + $ ./prog dict ? terns bbbby shoal ? shoal gggbb @@ -118,7 +118,7 @@ The example session (Wordle 228) below demonstrates this: xyzzy <<-- no candidate words match # do THIS instead - $ prog dict + $ ./prog dict ? terns bbbby shoal ? shoal gggbb @@ -129,8 +129,8 @@ The example session (Wordle 228) below demonstrates this: shock ``` -In the guess word `shook`, there are 2 o's, but only one shown valid in -the puzzle. If you mark the leftmost o as black (as according to the +In the guess word `shook`, there are 2 'o's, but only one shown valid in +the puzzle. If you mark the leftmost 'o' as black (as according to the Wordle game), this program cannot find the winning word (`shock`), producing the error word `xyzzy`. diff --git a/2024/burton/index.html b/2024/burton/index.html index 737562c5e..936cad62c 100644 --- a/2024/burton/index.html +++ b/2024/burton/index.html @@ -510,7 +510,7 @@ or crate (see the extra.html that accompan The letters will turn yellow, black, black, black, black. This assistant prompts “?”, and the input expected is the guessed word followed by the first letters of the color revealed for that guess:

-
    $ prog dict
+
    $ ./prog dict
     ? terns ybbbb
     loath
     ? loath gbbyy
@@ -542,7 +542,7 @@ and one of them is marked black and the other non-black,
 this program MUST have the black letter marked yellow.
 The example session (Wordle 228) below demonstrates this:

    # do NOT do this
-    $ prog dict
+    $ ./prog dict
     ? terns bbbby
     shoal
     ? shoal gggbb
@@ -551,7 +551,7 @@ The example session (Wordle 228) below demonstrates this:

xyzzy <<-- no candidate words match # do THIS instead - $ prog dict + $ ./prog dict ? terns bbbby shoal ? shoal gggbb @@ -560,8 +560,8 @@ The example session (Wordle 228) below demonstrates this:

shock ? shock ggggg shock
-

In the guess word shook, there are 2 o’s, but only one shown valid in -the puzzle. If you mark the leftmost o as black (as according to the +

In the guess word shook, there are 2 ‘o’s, but only one shown valid in +the puzzle. If you mark the leftmost ’o’ as black (as according to the Wordle game), this program cannot find the winning word (shock), producing the error word xyzzy.

The included simulator gen produces the required transformation of b -> y.

diff --git a/2024/endoh1/README.md b/2024/endoh1/README.md index 39c2a65cc..3d3d3144c 100644 --- a/2024/endoh1/README.md +++ b/2024/endoh1/README.md @@ -28,10 +28,10 @@ When you `make all` you see what looks like a C program, `rt.c`. However if you try to compile `rt.c`, you will fail: even if you try to define the symbols `X`, `Y`, `W`, and `H`. -Well, the propose of the C program, `rt.c` is to generate the red, green, and blue colors of +Well, the purpose of the C program, `rt.c` is to generate the red, green, and blue colors of a single pixel, in the C Preprocessor!!! -For the patient, a image may be rendered a slow pixel at a time. +For the patient, an image may be rendered a slow pixel at a time. Think of this as digital [Pointillism](https://en.wikipedia.org/wiki/Pointillism). :-) For the truly impatient who wishes to get right to the point without trying to dot around @@ -78,7 +78,7 @@ example for `SIZE` values of 8, 32, 128, and then 512. The optimal `RESERVE` will depend on your hardware, operating system, a C compiler. Making `RESERVE` too small (i.e., too negative) may slow -down the result. We recommend that experiment various values pf `RESERVE` +down the result. We recommend that experiment various values of `RESERVE` with moderate `SIZE` of **32** in order to try to find an optimal `JOBS` value before attempting to try a larger size such as **512** and beyond. diff --git a/2024/endoh1/index.html b/2024/endoh1/index.html index bba08e8be..76a45b403 100644 --- a/2024/endoh1/index.html +++ b/2024/endoh1/index.html @@ -487,9 +487,9 @@ YouTube show for this entry:

When you make all you see what looks like a C program, rt.c. However if you try to compile rt.c, you will fail: even if you try to define the symbols X, Y, W, and H.

-

Well, the propose of the C program, rt.c is to generate the red, green, and blue colors of +

Well, the purpose of the C program, rt.c is to generate the red, green, and blue colors of a single pixel, in the C Preprocessor!!!

-

For the patient, a image may be rendered a slow pixel at a time. +

For the patient, an image may be rendered a slow pixel at a time. Think of this as digital Pointillism. :-)

For the truly impatient who wishes to get right to the point without trying to dot around waiting for the try.sh to finish, you may view these images:

@@ -525,7 +525,7 @@ such as the operating system, daemons, terminal window, etc. You can even example for SIZE values of 8, 32, 128, and then 512.

The optimal RESERVE will depend on your hardware, operating system, a C compiler. Making RESERVE too small (i.e., too negative) may slow -down the result. We recommend that experiment various values pf RESERVE +down the result. We recommend that experiment various values of RESERVE with moderate SIZE of 32 in order to try to find an optimal JOBS value before attempting to try a larger size such as 512 and beyond.

diff --git a/2024/endoh1/try.sh b/2024/endoh1/try.sh index 6a0d724e1..1d80c72ef 100755 --- a/2024/endoh1/try.sh +++ b/2024/endoh1/try.sh @@ -27,7 +27,7 @@ ${MAKE} -j 2 prog.c >/dev/null 2>&1 < /dev/null status="$?" if [[ $status -ne 0 ]]; then JOBS="1" - echo "NOTE: make dues not support -j 2, so make out.ppm will only use a single CPU job." 1>&2 + echo "NOTE: make does not support -j 2, so make out.ppm will only use a single CPU job." 1>&2 else # determine how parallel we want to make