From 54ab56e0edbb45e30dae24a1f4b961107615ea43 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 25 Oct 2023 05:37:43 -0700 Subject: [PATCH] Fix 1995/vanschnitz/README.md about LEVEL For some reason when I tried it I had a problem with LEVEL being a certain amount but it must have been something else in the system at the time. Naturally modern systems are much more capable so it can accept a much higher level before it gets slower. Even the judges' statement of 15 causing a slow/bad time is not a problem so I reworded it to remind readers that this was back in 1995 and is no longer the case. --- 1995/vanschnitz/README.md | 12 +++++++----- thanks-for-fixes.md | 10 ++++++++-- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/1995/vanschnitz/README.md b/1995/vanschnitz/README.md index 871aa2558..679d8f4bf 100644 --- a/1995/vanschnitz/README.md +++ b/1995/vanschnitz/README.md @@ -31,16 +31,18 @@ make clobber all LEVEL=6 The authors provided a spoiler version of the program. Originally uuencoded we have decoded it for the wider audience in [spoiler.c](spoiler.c). The `uuencode`d blob is still available in their remarks below. They encourage you -to first try and figure it out without it. +to first try and figure out the program without the spoiler. ## Judges' remarks: -Warning: in the past, values of LEVEL>8 have been known to cause compilers (and -in one case a system) to crash during compilation. We tested it in 2023 on a -MacBook Pro with the M1 chip and found that LEVEL > 6 caused problems. +Back in 1995, values of `LEVEL>8` caused some compilers (and in one case a +system) to crash during compilation. In 2023 with modern systems this is not +really a problem. + +Back in 1995 we also suggested that for a bad/slow time to try `LEVEL=15` but +this is not a big deal in 2023 either. -For a bad/slow time try LEVEL=15. ## Authors' remarks: diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index 60a37d5a3..8ef91315f 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -1144,8 +1144,6 @@ easier to see the program do what it does in systems that are too fast ... if there is such a thing anyway :-) ). See the README.md for details on this. - - ## [1995/garry](1995/garry/garry.c) ([README.md](1995/garry/README.md])) Cody fixed the alt code so that it will compile with modern compilers. The @@ -1171,6 +1169,14 @@ which only allows `main()` to have 0, 2 or 3 args. This is done by a new function (`pain()` as it's annoying that clang is this way :-) ) that main() calls which has the four args. +## [1995/vanschnitz](1995/vanschnitz/vanschnitz.c) ([README.md](1995/vanschnitz/README.md)) + +Cody added the authors' spoiler as a C file as in 2023 we have decided that in +most cases all the code should be available for the wider audience, without +having to extract it. The exception is when the files are created by the entry +or the entry decrypts the text or whatever else. + + ## [1996/august](1996/august/august.c) ([README.md](1996/august/README.md])) Cody fixed a segfault in this program that prevented it from working right but