315 Commits
Author SHA1 Message Date
Cody Boone Ferguson b6faa73902 Format fix 1996/rcm/README.md
I feel positively awful but I also felt I had to add a link to the emacs
tarball that was referenced in the README.md file. No matter how much it
goes against my DNA it felt like it should be at least linked to since
it was part of the author's testing procedure. Call me crazy but I just
prefer not having CTS, I already have a good OS and I'd like a good
editor too. :-)
2023-04-18 11:13:05 -07:00
Cody Boone Ferguson c9ce688238 Address the fixed / unfixed 1996/westley situation
When I first fixed this it was because the scripts segfaulted and at
least one showed an environmental variable both of which caused some
usability issues. But I started to wonder if maybe the fixed code should
be the alt version. To do this I made a change to the scripts so one can
tell the script which version to use. I was having a problem in figuring
out how to explain it (owing to the fact I've been awake once again
since stupid o'clock and without good sleep) but before I answered that
I decided to test out the new feature to the script and the output made
me decide to at least for now (discussion can be had) keep the fix the
westley.c and the unfixed original code the alt code. This particularly
shows up in the third script where the output is hard to tell what is
part of the program and what is not. The unfixed version looks like:

    $ WESTLEY=./westley.alt ./clock3
    TERM=xterm-256color
    ./clock3: line 12: 15498 Segmentation fault: 11  ${WESTLEY} "123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_\`abcdefghijkl" "/\$%&'()*+,-./\$%&'()*+,-." " ||" "
    ..3..6..9..12 Hours

     ----.----10---.----20---.----30---.----40---.----50---.---- Minutes
    "

which has a " by itself on the last line that should not be there. Then
there's the other problematic output. It should just look like:

    ..3..6..9..12 Hours

     ----.----10---.----20---.----30---.----40---.----50---.---- Minutes
2023-04-18 10:20:23 -07:00
Cody Boone Ferguson fa87b511bf URL and format fix 1996/schweikh3/README.md 2023-04-18 09:29:01 -07:00
Cody Boone Ferguson 2f04c16b00 URL and format fix 1996/schweikh2/README.md 2023-04-18 09:28:04 -07:00
Cody Boone Ferguson 231ab04074 URL / format fix 1996/schweikh1/README.md 2023-04-18 09:27:01 -07:00
Cody Boone Ferguson c88811c1bf Update and fixes in 1996/jonth
I note that this entry does not work in macOS even with XQuartz. The
invocation recommended caused a crash but I came up with an invocation
that made it go further along - but still also crash. I wrote in bugs.md
details about it as well as giving a workaround in macOS (involves
another system with X11 forwarding - no not xhost). There is some C
pre-processed code in bugs.md in case this helps.

The URL of the author is dead and the Internet Wayback Machine was of no
help so it was removed from winners.csv and winners.html as well. It was
added as a missing link in bugs.md. It was not in the earlier entry from
1993 (they won twice) so I did not put it there.

Format fixes in README.md.
2023-04-18 05:08:22 -07:00
Cody Boone Ferguson 5b25b77c9b Add colon to 'To run' lines
Or else add an ostomy :-).

Some README.md files have severe ulcerative colitis and will need a
colectomies but others are missing colons. These will be discovered and
fixed in time. In the meantime I've restored some functionality for
these poor README.md files by giving them an ostomy.
2023-04-14 06:37:31 -07:00
Cody Boone Ferguson 02c80e7fc1 Check rest of formatting in 1996/eldby 2023-04-14 06:32:24 -07:00
Cody Boone Ferguson 5ada26dc45 Format fix 1996/eldby/README.md 2023-04-14 06:30:00 -07:00
Cody Boone Ferguson 9e323d8392 Remove colon at end of award in README.md files
As in

    sgit -e '1s/:$//g' '*README.md'
2023-04-11 08:43:41 -07:00
Cody Boone Ferguson 4bf3f302cb 'comments' -> 'remarks' in all README.md files
As in

    sgit -e 's/\([Aa]uthor.*\)comments/\1remarks/g' -e 's/\([Jj]udge.*\)comments/\1remarks/g' '*README.md'
2023-04-10 11:01:39 -07:00
Cody Boone Ferguson 2b0864e4df Reword thank you in 1996/westley 2023-04-07 11:15:33 -07:00
Cody Boone Ferguson e09f677b37 Mass typo fix (all README.md and Makefiles)
As in

    sgit -e 's/the terms this license/the terms of this license/g' '*/Makefile' '*/README.md'
2023-04-02 09:27:13 -07:00
Cody Boone Ferguson e805f41d34 Mass fixes to headers in README.md files
There were many many README.md files with the wrong heading level for
different sections. These have been changed.

To help go through the changes it should be noted I used sgit and also
here is what is changed:

The 'Try', 'To build' and 'To run' lines have two '#'s. Some had one and
others had three.

An exception is that in 1984/anonymous/README.md for the alternative
code that had three '#'s. This is not consistent yet and it might be
that only two are desired. But for now that one at least has three.
2023-03-31 06:43:59 -07:00
Landon Curt Noll 350da723cc improve architecture and Optimization comments in Makefiles 2023-03-26 22:13:13 -07:00
Landon Curt Noll 1ce40b273d fix alt rules in Makefiles
For Makefiles that have alt related rules, moved
the related rules under the alt rule section.

In some cases where there is no alt code,
removed alt rules and/or targets.
2023-03-26 21:48:48 -07:00
Landon Curt Noll 1c35dc3b47 make everything true :-)
Add @${TRUE} as an action for the everything rule in Makefiles.
2023-03-26 20:47:04 -07:00
Landon Curt Noll e42d7484cd trim comments and update 133t hacker rulz in Makefiles 2023-03-26 20:24:16 -07:00
Landon Curt Noll 1b1dd2f2e4 put all README.md files under CC BY-SA 4.0 License
This will make is easier for others to share README.md
files while requiring them to attribute the file
when using it.
2023-03-26 02:58:27 -07:00
Landon Curt Noll ea1806abdb change Makefiles to look under X11_INCDIR and X11_INCDIR/X11 2023-03-26 02:22:49 -07:00
Landon Curt Noll 5fc2d72dd1 change use of ${HOMEBREW_PREFIX} with ${SDL2_CONFIG} 2023-03-26 02:19:18 -07:00
Landon Curt Noll 8cd2aa85c1 clean up and improve end of Makefile rules 2023-03-26 02:02:31 -07:00
Landon Curt Noll d04e6d8f03 remove X11_LIBDIR and X11_INCDIR setting from Makefiles
The X11_LIBDIR and X11_INCDIR values are now set in the
top level `var.mk` file.
2023-03-26 00:50:47 -07:00
Landon Curt Noll bbd18a20df improve Makefile headers
Simply the Makefile header.

Refer to the //www.ioccc.org/bugs.md URL (that will eventually exist).

Now using CC BY-SA 4.0 License to how you may share and adapt the
Makefile.
2023-03-25 23:51:14 -07:00
Landon Curt Noll c522203115 restore DATA values in Makefile for 1996/westley
Restore to prevent make clobber from removing files.
2023-03-21 15:20:02 -07:00
Landon Curt Noll f9748a1b15 improve README.md and Makefile for 1996/westley
Add "Alternate code" section to README.md.

Improve CSILENCE in Makefile.
2023-03-21 15:16:32 -07:00
Landon Curt Noll 1be6766fb4 fix targets of 1996/westley 2023-03-21 14:59:39 -07:00
Cody Boone Ferguson 8870040156 1996 fixes and updates
Update the README.md files - at least with those not in a previous
commit. The updates mostly include formatting (make them markdown) but
probably also typos here and there. More probably has to be done with
these files.

The 1996/august/.gitignore was updated as well with a file that is
generated by one of the suggested commands.
2023-03-20 09:01:46 -07:00
Cody Boone Ferguson 2d6d05e053 Minor fixes to 1996/schweikh1
The author noted in the Makefile that for Solaris the compiler flag
-I/usr/include should be included so I have added that.

As well I updated the README.md - formatting fixes (possibly typos as
well but no longer sure).
2023-03-20 08:58:13 -07:00
Cody Boone Ferguson 4614d2a4bb Fix Westley's entries (dead link, .gitignore)
The main link was dead but looking at the Internet Wayback Machine I
found that he changed domains and it's still valid. One entry had a
different URL but with a quick check I could not determine that it had
anything to do with him so I changed it to his own domain (which I
verified is his).

The 2001/westley/.gitignore was also updated as it has other source
files that are generated by the commands in the try section.
2023-03-20 08:52:19 -07:00
Cody Boone Ferguson cf2ec74b17 Fix 1996/westley
It always segfaulted (though with the correct input it still showed the
right results) and when argc == 1 it showed an environmental variable.

The body of the for loop can now be empty (or so it appears). I put the
original in westley.alt.c because it has some interesting techniques in
which he wrote about (which I preserved in the README.md file). I also
put in the original code because I'm not entirely sure if the for loop
really can be empty in all cases. Certainly it can be in the scripts
provided but I don't know if there is a valid invocation that would need
it (but in any case it would always segfault with that loop body).

Updated 1996/westley/.gitignore (added westley.alt) and the Makefile so
that make alt will build westley.alt.

Formatting fixes in README.md.
2023-03-20 08:42:46 -07:00
Cody Boone Ferguson 674a05e15e Further fix 1996/dalbec
I made the recommended change by the author so that each number is on a
line by itself rather than one long line. I changed the try section to
stop at the output that was the output noted by the judges. This was
possible with the change of making it a newline rather than a space
after each number.

I had originally proposed the change in commit
9b6b5a0376 but I did not implement it
because the output of the command versus what the try section included
was misleading (maybe that was correct :-) ) and when looking at Yusuke
Endoh's output I missed that it continued after the number (he had '...'
but I missed it in the long line of output). I linked to his analysis as
well. Thank you Yusuke for confirming it is correct output!
2023-03-20 05:47:21 -07:00
Cody Boone Ferguson 2ce08b66b4 More updates to bugs.md + related files
Some entries were added to the bugs.md file.

As well some README.md files were updated wrt the bugs some of which
might have been better in an earlier commit.
2023-03-19 08:51:06 -07:00
Landon Curt Noll 94ece1f48d Merge pull request #88 from xexyl/readmes
README.md and Makefile files from various years
2023-03-18 23:07:17 -07:00
Landon Curt Noll 6b325f6eaf Merge pull request #81 from xexyl/typos
Fix typos, formatting and thank yous (add links)
2023-03-18 22:59:31 -07:00
Landon Curt Noll ccc31f5ba2 improve fix of 1996/dalbec C code and Makefile 2023-03-18 21:50:38 -07:00
Landon Curt Noll 9b6b5a0376 fix on macOS, compile of 1996/dalbec 2023-03-18 21:47:12 -07:00
Cody Boone Ferguson c91b3c5565 README.md and Makefile files from various years
These are mostly just formatting fixes but there might be some typos
here and there.

These years have not been checked thoroughly but I made fixes and want
them in for when I do work on them.

As far as the Makefiles go: notes were added that correspond to the
notes in the README.md files which is why I have put them in the same
commit.
2023-03-18 11:31:15 -07:00
Cody Boone Ferguson fa682003eb Fix typos, formatting and thank yous (add links)
In some files changed the formatting was fixed to be a proper markdown
file.

There were some typos including that some README.md files that linked to
/winners.html#Cody_Boone_Ferguson actually linked to the non-existent
file /years which obviously would not work.

I also added links to the rest of the places I have fixed entries (but
see below) and I did the same for Yusuke Endoh's fixes.

As well apparently one entry I thought he fixed to compile under modern
systems does not seem to so that entry will have to be revisited another
time. That entry was 1993/jonth.

Those are the main changes here if not all of them.
2023-03-18 05:16:31 -07:00
Cody Boone Ferguson fd809c23f2 Fix 1996/gandalf
As I love the theme and layout I kept the code that can no longer
compile in just commented out.

Fun fact: did you know that the original name of Gandalf was Bladorthin?
He was not the only character who originally had different names in The
Hobbit. In fact the original name of Thorin was Gandalf! (... I know the
former is true and I'm almost certain the latter is true but it's been a
long time since I've read it in The History of the Hobbit).
2023-03-17 11:38:05 -07:00
Landon Curt Noll e78febe55a remove Historical Makefile NOTEs from years 1984 thru 1998 2023-02-28 23:36:45 -08:00
Landon Curt Noll d0ddf3d2de remove Historical Makefile NOTE from 1984 to 1998 year Makefiles 2023-02-28 23:33:21 -08:00
Landon Curt Noll b2105f43e9 fix may vs. might README/Makefile issues in years 1984 thru 1998 2023-02-28 21:49:25 -08:00
Landon Curt Noll 5e228ea44d fix 1996 Makefiles 2023-02-27 01:44:19 -08:00
Landon Curt Noll f615bba21e undo intermediate Makefile changes of 1996 to 2020
The commit 00ae59cd47 had a
mistake that introduces changes to Makefiles for 1996 thru 2020
that should not have been included.

This change reverses these intermediate changes until
the given year's Makefiles are ready.
2023-02-26 23:31:00 -08:00
Landon Curt Noll 00ae59cd47 fix 1995 Makefile comment line 2023-02-26 21:52:15 -08:00
Landon Curt Noll ab9b77b1c9 reverse bad commit 223b1a3f94
The commit 223b1a3f94 was a mistake,
so we reverse both commit 5f7cf0b60d
and commit 223b1a3f94 for now.
2023-02-26 17:21:30 -08:00
Landon Curt Noll 223b1a3f94 update 1992 Makefile variable set 2023-02-26 17:05:50 -08:00
Cody Boone Ferguson 3a59f521ff Rename */guidelines to */guidelines.txt 2023-02-23 04:43:06 -08:00
Cody Boone Ferguson aa77adb0c3 Rename */rules to */rules.txt 2023-02-23 04:42:16 -08:00