Commit Graph
2705 Commits
Author SHA1 Message Date
Cody Boone Ferguson 1cb070de20 Add missing ':' to Alternate code sections
This was done as:

    sgit -e 's/\(# Alternate code\)$/\1:/g' '*README.md'

The heading levels and other things to do with alternate code that are
being discussed have not been addressed here. That will come later. This
is, as noted, just adding the missing ':' where it was missing.

The command does NOT touch it when it is not prefixed with '# ' because
there are cases where normal lines end with 'Alternate code' (these will
be turned into links later on).
2023-10-25 06:00:36 -07:00
Cody Boone Ferguson ea2cad4fb8 Slight format fixes in 1990/baruch/README.md
This file is NOT finished. It should have been committed when making the
code look slightly more like the original code.
2023-10-25 05:56:25 -07:00
Cody Boone Ferguson 54ab56e0ed 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.
2023-10-25 05:53:18 -07:00
Cody Boone Ferguson cfca178b14 Improve test script (now scripts) for 1995/garry
Added alt test script to use alt code (though in this case it has no
real use other than to be complete). It makes sure to compile the alt
code before trying to use it, exiting if it fails.

The original test script now also makes sure to compile the program
before use, exiting if it fails.

I also fixed the thanks file with this: I didn't fix the main entry;
that already compiled. I had fixed the alt code which did not compile
(partly because I agreed with the judges that it looked like a rat
dumping core).

Why an alt test script instead of just adding an environmental variable
like I did with others? Because it felt like it'd be easier to type. It
might be that I end up doing this with the scripts I added a way to
specify the program, when I come across it, if it seems worth it (which
for some it might very well be worth it).
2023-10-25 05:33:37 -07:00
Cody Boone Ferguson 37c9908519 Fix typo in 2012/endoh2/find-font-table.rb 2023-10-25 05:26:17 -07:00
Cody Boone Ferguson 6f87b6be8f Restore 2012/grothe original code from archive 2023-10-25 05:24:23 -07:00
Cody Boone Ferguson a97374cfb0 Commit how-to-bugfix.md for renaming it 2023-10-25 05:21:08 -07:00
Cody Boone Ferguson 42ac9a45ad Rename how-to-bugfix.md to how-to-help.md
This is because it doesn't really say how to fix a bug (how could it
when the bugs can be all sorts of different things) but rather a
more general how to help with bugs and other things. It's not just bugs
but other issues with entries or even the website. Thus how-to-help.md
is a better name.
2023-10-25 05:01:54 -07:00
Cody Boone Ferguson 15524262a2 Make 1990/baruch look slightly more like original
That is to say I removed the 'int' from the variables and added to the
Makefile -Wno-implicit-int instead. The newline added by the judges is
still there, however.
2023-10-24 12:00:11 -07:00
Cody Boone Ferguson 5448ed10de Fix link to 1991/dds/README.md in bugs.md 2023-10-24 05:46:11 -07:00
Cody Boone Ferguson 07120c74b4 Slightly improve (I hope :-) ) bugs.md statuses
What this means is I changed the heading level from 2 to 3 of the STATUS
lines (under the entries) so that it shows that the status is for the
respective entries.

This was thought of when I was working on moving the bugs/(mis)features
of the entries of 1980s to bugs.md (as in making the README.md files
refer to the bugs.md but not include the details, just the status) and
noticed that it just didn't look quite right. Hopefully this improves it
just a bit.
2023-10-24 05:39:48 -07:00
Cody Boone Ferguson 3ab77383b3 Improve links in thanks-for-fixes.md
Rather than have the specific entries noted at the top (for Yusuke and
me) link to the README.md file of the entries, it seems better to me to
link to the entry in the file as that explains what was done which is
what is being honoured/appreciated.

I also added another section or two (both short). One has a joke in it.

Some of the entries had improvements in text of what had to be done to
fix them to work / what was wrong.
2023-10-24 05:28:28 -07:00
Cody Boone Ferguson 5fb33a9a91 Update FAQ about make diff_ rules + other fixes
I also fixed some other issues in the FAQ some to do with the entry
differences (from alt, orig and current) and some other things as well.
2023-10-24 04:39:33 -07:00
Landon Curt Noll 767f1aeb9d checkpoint milestone on manifest
All fields in both manifest.numbers and missing_manifest.numbers
have been filled in.  However the data entered needs to be reviewed.
Previous efforts made on a spreadsheet line by line basis.
What needs to happen next is to review at an entry by entry level.
Then a review at the overall manifest level (via full_manifest.numbers)
for overall consistency.

The 2015/burton/src.doc.rot13 was un-rot13ed to become
2015/burton/src.doc.txt.

Updated 2018/poikola and 2019/poikola .gitignore and make clobber
to address when the tex file is rendered.
2023-10-23 14:25:26 -07:00
Landon Curt Noll a49d1ae396 Merge pull request #1160 from xexyl/inabiaf-bugs-md-1980s
Move INABIAF to bugs.md in 1980s entries
2023-10-23 10:25:40 -07:00
Landon Curt Noll 00c9d60266 improve diff files
We now have 6 diff rules:

    diff_orig_prog
    diff_prog_orig
    diff_alt_prog
    diff_prog_alt
    diff_orig_alt
    diff_alt_orig

The FAQ for these diffs needs to be updated
as we have 6 types of diffs now.
2023-10-23 10:18:20 -07:00
Cody Boone Ferguson a5e93ac7fa Remove erroneous line in 1988/dale/README.md 2023-10-23 09:09:05 -07:00
Cody Boone Ferguson a480a0dee4 Move INABIAF to bugs.md in 1980s entries
Having to click on the links in each README.md file will have to be done
to verify the links work but it appears to be in the form of:

    /bugs.md#YYYYauthor-readmemd
2023-10-23 09:05:47 -07:00
Cody Boone Ferguson 1d73a43a1d Remove outdated INABIAF in 1987/lievaart
It was actually declared it was a bug (the entry no longer did the
invalid input check that it once did) and I fixed it so it no longer
needs to be documented at all.
2023-10-23 08:56:19 -07:00
Cody Boone Ferguson 1e102da7e8 Typo fix bugs.md 2023-10-23 08:51:07 -07:00
Cody Boone Ferguson 32c1f09e58 Try fixing link to 1984/laman in bugs.md 2023-10-23 08:49:33 -07:00
Cody Boone Ferguson b309aef89f Hopefully fix errors in mis(features)/bugs merger 2023-10-23 08:46:59 -07:00
Cody Boone Ferguson a330c77db4 Test new concept of (mis)features/bugs in README
To make sure that this looks okay before doing it for the rest of the
entries I am doing this test commit to make sure the link works okay and
the format looks okay. If any problems are found (which I expect) they
will be corrected and once things look okay the rest of the files will
be done as well.
2023-10-23 08:43:38 -07:00
Cody Boone Ferguson 5780089a03 Remove erroneous EOL \ in 1993/plummer/README.md 2023-10-23 08:38:47 -07:00
Landon Curt Noll 71f1463547 Rename diff Makefile commands
Renamed these Makefile rules:

    orig_prog_diff ==> diff_orig_prog
    alt_prog_diff ==> diff_alt_prog

Updated thanks-for-fixes.md and faq.md accordingly.
2023-10-22 17:26:22 -07:00
Landon Curt Noll 846dce2c31 checkpoint on manifest
Also change 2018/burton2/src.doc.rot13 to 2018/burton2/src.doc.txt
and address the "SPOILER WARNING" in the manifest.
2023-10-22 16:54:24 -07:00
Landon Curt Noll d4b8bd6611 Merge pull request #1156 from xexyl/2006-sloane-clang-defect-fix
Fix 2006/sloane for some versions of clang
2023-10-22 16:14:20 -07:00
Cody Boone Ferguson 47c92bf277 Further improve alt code of 2006/sloane
Formatting looks more like the original.

Also silence unused parameter that came about the fix for some versions
of clang.
2023-10-22 15:54:02 -07:00
Landon Curt Noll 50ffabd5d8 Merge pull request #1155 from xexyl/1993-vanb-fix-fix
Make my fix to 1993/vanb more like original
2023-10-22 14:48:28 -07:00
Cody Boone Ferguson 59de574ffb Fix 2006/sloane for some versions of clang
Unfortunately later versions of clang have an additional defect where
not only are the args of main() required to be specific types but there
can only be 0, 2 or 3 args. This program did not use the second arg so I
removed it originally but this will obviously not work for all systems
so I have brought the second arg back.

The unfortunate problem here is that the author used the letter Z for
the second arg and that's exactly what I have been using for the macro
for usleep() in alt code (Z for sleep of course). So here in order to
make it so that the entry looks as close to the original as possible I
have kept it as Z (changing the type to 'char **') and instead renamed
the Z macro to just S. S was selected as it can also stand for sleep but
also it's kind of (not quite but kind of) a backwards Z. Whether the
other entries should also be changed to be '-DS=...' is something to
consider for consistency but that can be decided another time. It
probably doesn't matter except that it does bother me as I don't like
inconsistent consistencies any more than I like consistent
inconsistencies or inconsistent consistencies.
2023-10-22 13:23:55 -07:00
Cody Boone Ferguson 19fdd5f944 Make my fix to 1993/vanb more like original
Now it's just a single line difference: main() itself that calls O5()
(which used to be main() via -DO5=main).

This was accomplished by using the -include stdio.h in the Makefile and
then removing (at the top of the file) the int O3. Instead main() (which
used to be O5() as noted and which had three args) has it as a char **.
Now since O3 was at file scope before it was 0 so rather than casting O3
in main() to an int the call to O5() just uses 0 in that place. The
moving the arg to main() is done simply because O5() (which again was
main()) also has 3 args.

Some versions of clang object to four args to main() but they allow 0,
2 or 3 so that's fine.
2023-10-22 13:02:57 -07:00
Landon Curt Noll 3ce5a603e9 Merge pull request #1154 from xexyl/2012-kang-alt-orig 2023-10-22 11:29:14 -07:00
Cody Boone Ferguson 4d71e0e65b Make current 2012/kang properly alt code
I was on the fence of whether it's a feature or bug that the program
deciphers 'fier' as '4' instead of proper 'vier' but to help with
preventing confusion to those who know German I ended up changing it.
This was thought okay but after more thought and also playing with it a
bit I have made that fix the alt version instead. It so happens that
(and I wondered about this at the time but did not have examples then)
by changing it to 'vier' it caused other number words to be wrong. Thus
the version that I'll call vier (even though it's zwei or if
alternatively if zero based eins :-) ) is now the alt version.

Added en.sh and de.sh scripts to count from 0 through 13 (reason below),
showing the word and number and then the result. One can choose whether
to use the alt version or not by passing in KANG=... to the script like:

    KANG=kang.alt ./de.sh

would run the vier version of kang (kang.alt).

As for why 13 it's to demonstrate two of the German umlauts, ö and ü (in
German you can add an 'e' or 'E' if you don't have the umlaut so it does
both to demonstrate how the program deals with it).

Makefile updated so one can run make alt.

.gitignore updated.

Now the program is how it was and how it should be and yet at the same
time one play with the vier versus fier.
2023-10-22 10:29:13 -07:00
Landon Curt Noll 26f2bafddd Merge pull request #1153 from xexyl/1985-sicherman-fmt 2023-10-22 09:11:52 -07:00
Cody Boone Ferguson 4ffebe9a1d Format fixes in 1985/sicherman/README.md 2023-10-22 08:58:57 -07:00
Cody Boone Ferguson a7e2f8001b Format fix in 1985/lycklama wrt original code 2023-10-22 08:55:16 -07:00
Cody Boone Ferguson 35570d4e90 Minor format fixes in 1984/mullender 2023-10-22 08:53:23 -07:00
Cody Boone Ferguson 02e6e9e37f Minor fix in 1984/laman
The judges noted that some new compilers dislike ... but that was a
very long time ago now so I added in parentheses 'in 1984' to be
explicit about it.
2023-10-22 08:50:59 -07:00
Cody Boone Ferguson ccfafbb2a2 Updates to 1984/decot wrt alt/orig code
Update formatting of the alt code (heading levels) and added subsections
for how to build and run (rather than having it all together).

Updated the historical remarks as well. It's important in this case to
refer to decot.orig.c and not decot.alt.c because the orig code is the
one that was submitted whereas the alt code is the modification the
judges made.
2023-10-22 08:34:32 -07:00
Cody Boone Ferguson c7fc0959b3 Updates to 2018/ferguson
Format changes in the README.md.

Update the test.sh and test-strings.txt files: modify the goodbye
message in the script (for fun) and add some fun strings for it to
search out.
2023-10-22 08:29:19 -07:00
Landon Curt Noll 2661548b08 Merge pull request #1147 from xexyl/1991-westley-thanks 2023-10-21 15:01:03 -07:00
Landon Curt Noll f8d44859dc Merge pull request #1146 from xexyl/1990-dg-thanks 2023-10-21 15:00:51 -07:00
Landon Curt Noll 243d51b614 Merge pull request #1145 from xexyl/1991-dds-lander-bas 2023-10-21 14:59:46 -07:00
Landon Curt Noll 924feb058b Merge pull request #1144 from xexyl/1991-dds-fix-clang 2023-10-21 14:57:56 -07:00
Landon Curt Noll 18ebac227f Merge pull request #1142 from xexyl/1991-dds-alt-improvement 2023-10-21 14:56:40 -07:00
Landon Curt Noll 18031f2d90 Merge pull request #1141 from xexyl/1990-scjones 2023-10-21 14:56:10 -07:00
Landon Curt Noll c2ab1dd499 Merge pull request #1140 from xexyl/1990-cmills 2023-10-21 14:55:32 -07:00
Cody Boone Ferguson 9b8f3d4e19 Update thanks file wrt 1991/westley/ttt.sh 2023-10-21 12:50:15 -07:00
Cody Boone Ferguson 86d9cd69f7 Update thanks for 1990/dg + format README.md
I had never put my name in the README.md file so this was not in the
thanks file either. This has been corrected.

Format fixed the README.md file.

Plus add -Wno-implicit-int to the CSILENCE in the Makefile.
2023-10-21 11:05:34 -07:00
Cody Boone Ferguson 9046857b91 Typo fix in 1991/dds/LANDER.BAS
Although one could get away with saying 'aboard' to mean 'getting on a
ship' ('I climbed aboard the ...') it's probably better to say 'board'
as the verbal form especially in the way it was and is worded (now 'You
board ...'). I believe I already did this change in 1990/dds/LANDER.BAS.
2023-10-21 10:47:53 -07:00