diff --git a/thanks-for-help.html b/thanks-for-help.html index ba14dafc5..8d8652472 100644 --- a/thanks-for-help.html +++ b/thanks-for-help.html @@ -2280,20 +2280,21 @@ error due to the redefinition of main but the -I optio working /usr/include/rrno.h is found first, which shouldn’t cause any problems on other systems (the other file is gcc-lib/sparc-sun-solaris2.5/2.7.2/include/errno.h). Thus Cody also added this to -the Makefile despite the fact that very few probably use Solaris nowadays.

+the Makefile for the (likely?) few who still use Solaris.

Winning entry: 1996/schweikh2

Winning entry source code: schweikh2.c

-

Cody added the try.sh script with a few commands to try -along with a shorter version of something the author suggested one try (it is -suggested that one try the longer version too but it will run in an infinite -loop so having it in a script is less desired).

+

Cody added the try.sh script with +a few commands to try along with a shorter version of something the author +suggested one try (at the end of the script it prompts if you wish to run the +author’s idea, with a sleep and echo in between to help one distinguish the +output better, with the warning that it is an infinite loop).

Winning entry: 1996/schweikh3

Source code: schweikh3.c

-

Cody updated the Makefile so that if it fails to compile it will try he +

Cody updated the Makefile so that if it fails to compile it will try the method suggested for SunOS rather than having to update the Makefile manually or running a more complicated command: now one can just run make.

@@ -2305,13 +2306,13 @@ variables. Although the scripts showed correct output, it somewhat lessened the usability because they segfaulted and showed (an) environmental variable, interspersed with the output of the program. With the fix they no longer have this problem. If argc < 5 (argv[4] is referenced) it will not do anything -and it will not segfault either - this was caused by the body of the for() loop +and it will not segfault either - this was caused by the body of the for() loop which is now empty (it doesn’t appear to be needed at all at least modernly). Note that you should check the westley.alt.c file when reading the author’s comments. To see how to use the original, see the index.html file.

-

Cody also added the two scripts, try.sh and -try.alt.sh to automate showing the different +

Cody also added the try.sh and +try.alt.sh scripts to automate showing the different clocks, both with the fixed version and the original (alt) version.

Also, to fix any potential problem with displaying in GitHub the scripts provided by the author, Cody added ‘.sh’ to the clock[1-3].sh scripts.

@@ -2320,11 +2321,11 @@ provided by the author, Cody added ‘.sh’ to the clock[1-3].sh s

Winning entry: 1998/banks

-

Winning entry source code: /banks.c

+

Winning entry source code: banks.c

-

Cody improved the Makefile to allow for easier redefining the control +

Cody improved the Makefile to allow for easier redefining the control keys and time step that the author set up.

-

Cody also set up the Makefile to have an alt build (using the same code) for those +

Cody also set up the Makefile to have an alt build (using the same code) for those who do not have a page up or page down key and added the keysym.h header file as a reference for other keys one can use if they wish to modify the controls. One can certainly do this even if @@ -2385,7 +2386,7 @@ program, a local pootifier of web pages and a CGI pootifier. See -

Winning entry: c1998/dloweneil

+

Winning entry: 1998/dloweneil

Winning entry source code: dloweneil.c

Cody added alt code which has vi(m) movement @@ -2397,7 +2398,7 @@ space) keys as well as allowing one to quit the game.

Cody added the try.sh script.

-

Winning entry: 1998/fanf.html

+

Winning entry: 1998/fanf

Winning entry source code: fanf.c

Cody fixed this to compile. The problem was the intermediate steps to get to the @@ -2434,7 +2435,7 @@ doing:

Cody also added the try.sh script to help users try the commands that we recommended as well as some added by him.

-

Winning entry: index.html

+

Winning entry: 1998/schweikh1

Winning entry source code: 1998/schweikh1

Cody fixed this for modern systems (it did not work at all) and added an @@ -2499,7 +2500,8 @@ question.

Winning entry: 1998/schweikh3

Winning entry source code: schweikh3.c

-

Cody added the alternate code which allows one +

Cody added the alternate +code which allows one to reconfigure the size constant in the rare case that the author wrote about occurs.

Cody made main() have two args out of an abundance of caution as some versions @@ -2523,7 +2525,7 @@ for more details.

information for the entry. It has not been added to any JSON file.

Winning entry: 1998/tomtorfs

-

Winning entry source code: /tomtorfs.c](https://github.com/ioccc-src/temp-test-ioccc/blob/master/1998/tomtorfs/tomtorfs.c)

+

Winning entry source code: tomtorfs.c

Cody fixed the assumption that EOF is -1 (the author noted that it assumes it is -1 and it’s indeed a valid concern as the standard only guarantees that @@ -4508,8 +4510,7 @@ funny error when running it:

    /bin/bash: ./run_clock.sh: /usr/bin/end: bad interpreter: No such file or directory

though this was only noticed later on after it was fixed.

What was wrong? A typo in the shebang which had /usr/bin/end instead of -/usr/bin/env. Anyone who knows Cody would know that he’d zoom in on that quite -quick.

+/usr/bin/env.

Also if clock did not exist and one tried to run the script it would make an invalid clock.c which meant it could not compile so it now runs make clock first.

@@ -4539,10 +4540,6 @@ fixed typos and formatting and he also fixed some issues that occurred when files were renamed to .html from .markdown.

Most importantly he also added some corrections to the vital Double layered chocolate fudge cake recipe :-)

-

Yes the irony here is as rich as the chocolate cake: the question is do you know -how rich it is? If not and you like chocolate I (that is Cody :-) ) highly -recommend you give it a go! :-) You’re welcome to ask me questions if you wish -and I encourage you to do so as the cake is quite picky!

Winning entry: 2020/ferguson2

Winning entry source code: prog.c

diff --git a/thanks-for-help.md b/thanks-for-help.md index 5a3d49af2..6e3df04ae 100644 --- a/thanks-for-help.md +++ b/thanks-for-help.md @@ -2688,7 +2688,7 @@ error due to the redefinition of `main` but the `-I` option makes sure the working `/usr/include/rrno.h` is found first, which shouldn't cause any problems on other systems (the other file is `gcc-lib/sparc-sun-solaris2.5/2.7.2/include/errno.h`). Thus Cody also added this to -the Makefile despite the fact that very few probably use Solaris nowadays. +the Makefile for the (likely?) few who still use Solaris.
@@ -2696,10 +2696,11 @@ the Makefile despite the fact that very few probably use Solaris nowadays. ### Winning entry source code: [schweikh2.c](%%REPO_URL%%/1996/schweikh2/schweikh2.c)
-[Cody](#cody) added the [try.sh](%%REPO_URL%%/1996/schweikh2/try.sh) script with a few commands to try -along with a shorter version of something the author suggested one try (it is -suggested that one try the longer version too but it will run in an infinite -loop so having it in a script is less desired). +[Cody](#cody) added the [try.sh](%%REPO_URL%%/1996/schweikh2/try.sh) script with +a few commands to try along with a shorter version of something the author +suggested one try (at the end of the script it prompts if you wish to run the +author's idea, with a `sleep` and `echo` in between to help one distinguish the +output better, with the warning that it is an infinite loop).
@@ -2707,7 +2708,7 @@ loop so having it in a script is less desired). ## Source code: [schweikh3.c](%%REPO_URL%%/1996/schweikh3/schweikh3.c)
-[Cody](#cody) updated the Makefile so that if it fails to compile it will try he +[Cody](#cody) updated the Makefile so that if it fails to compile it will try the method suggested for SunOS rather than having to update the Makefile manually or running a more complicated command: now one can just run `make`. @@ -2722,14 +2723,14 @@ variables. Although the scripts showed correct output, it somewhat lessened the usability because they segfaulted and showed (an) environmental variable, interspersed with the output of the program. With the fix they no longer have this problem. If `argc < 5` (`argv[4]` is referenced) it will not do anything -and it will not segfault either - this was caused by the body of the for() loop +and it will not segfault either - this was caused by the body of the `for()` loop which is now empty (it doesn't appear to be needed at all at least modernly). Note that you should check the [westley.alt.c](%%REPO_URL%%/1996/westley/westley.alt.c) file when reading the author's comments. To see how to use the original, see the index.html file. -Cody also added the two scripts, [try.sh](%%REPO_URL%%/1996/westley/try.sh) and -[try.alt.sh](%%REPO_URL%%/1996/westley/try.alt.sh) to automate showing the different +Cody also added the [try.sh](%%REPO_URL%%/1996/westley/try.sh) and +[try.alt.sh](%%REPO_URL%%/1996/westley/try.alt.sh) scripts to automate showing the different clocks, both with the fixed version and the original (alt) version. Also, to fix any potential problem with displaying in GitHub the scripts @@ -2743,13 +2744,13 @@ provided by the author, Cody added '.sh' to the `clock[1-3].sh` scripts.
## Winning entry: [1998/banks](1998/banks/index.html) -### Winning entry source code: [/banks.c](%%REPO_URL%%/1998/banks/banks.c) +### Winning entry source code: [banks.c](%%REPO_URL%%/1998/banks/banks.c)
-[Cody](#cody) improved the Makefile to allow for easier redefining the control +[Cody](#cody) improved the `Makefile` to allow for easier redefining the control keys and time step that the author set up. -Cody also set up the Makefile to have an alt build (using the same code) for those +Cody also set up the `Makefile` to have an alt build (using the same code) for those who do not have a page up or page down key and added the [keysym.h](%%REPO_URL%%/1998/banks/keysym.h) header file as a reference for other keys one can use if they wish to modify the controls. One can certainly do this even if @@ -2832,7 +2833,7 @@ pootify scripts.
-## Winning entry: [c1998/dloweneil](1998/dloweneil/index.html) +## Winning entry: [1998/dloweneil](1998/dloweneil/index.html) ### Winning entry source code: [dloweneil.c](%%REPO_URL%%/1998/dloweneil/dloweneil.c)
@@ -2850,7 +2851,7 @@ space) keys as well as allowing one to quit the game.
-## Winning entry: [1998/fanf.html](1998/fanf/index.html) +## Winning entry: [1998/fanf](1998/fanf/index.html) ### Winning entry source code: [fanf.c](%%REPO_URL%%/1998/fanf/fanf.c)
@@ -2902,7 +2903,7 @@ commands that we recommended as well as some added by him.
-## Winning entry: [index.html](1998/schweikh1/index.html) +## Winning entry: [1998/schweikh1](1998/schweikh1/index.html) ### Winning entry source code: [1998/schweikh1](%%REPO_URL%%/1998/schweikh1/schweikh1.c)
@@ -2993,7 +2994,8 @@ Cody also added the [try.sh](%%REPO_URL%%/1998/schweikh2/try.sh) script. ### Winning entry source code: [schweikh3.c](%%REPO_URL%%/1998/schweikh3/schweikh3.c)
-[Cody](#cody) added the [alternate code](1998/schweikh3/index.html#alternate-code) which allows one +[Cody](#cody) added the [alternate +code](%%REPO_URL%%/1998/schweikh3/schweikh3.alt.c) which allows one to reconfigure the size constant in the rare case that the author wrote about occurs. @@ -3028,7 +3030,7 @@ information for the entry. It has not been added to any JSON file.
## Winning entry: [1998/tomtorfs](1998/tomtorfs/index.html) -### Winning entry source code: /tomtorfs.c](%%REPO_URL%%/1998/tomtorfs/tomtorfs.c) +### Winning entry source code: [tomtorfs.c](%%REPO_URL%%/1998/tomtorfs/tomtorfs.c)
[Cody](#cody) fixed the assumption that `EOF` is `-1` (the author noted that it assumes @@ -5851,8 +5853,7 @@ If run from within vim a different error message occurred: though this was only noticed later on after it was fixed. What was wrong? A typo in the shebang which had `/usr/bin/end` instead of -`/usr/bin/env`. Anyone who knows Cody would know that he'd zoom in on that quite -quick. +`/usr/bin/env`. Also if `clock` did not exist and one tried to run the script it would make an invalid `clock.c` which meant it could not compile so it now runs `make clock` @@ -5891,10 +5892,6 @@ files were renamed to `.html` from `.markdown`. Most importantly he also added some corrections to the vital [Double layered chocolate fudge cake recipe](2020/ferguson1/chocolate-cake.html) :-) -Yes the irony here is as rich as the chocolate cake: the question is do you know -how rich it is? If not and you like chocolate I (that is Cody :-) ) highly -recommend you give it a go! :-) You're welcome to ask me questions if you wish -and I encourage you to do so as the cake is quite picky!