418 Commits
Author SHA1 Message Date
Cody Boone Ferguson a836f887eb Fix 2004/vik2 for Linux
Unfortunately this fix required heavy modification to the original file
and inclusion of a file that was once generated by the Makefile but now
it works for both macOS and Linux. It unfortunately will generate a lot
of warnings in Linux (or at least some - in Rocky Linux and Fedora Linux
it generates a lot of warnings about GCC extensions and with clang it
also generates warning(s?) about reserved keywords for a total of 45131
(!!) warnings) but still it now works with Linux and macOS (clean
compilation).

See the thanks-for-fixes.md file for example warnings and what this fix
entailed.
2023-07-06 04:10:25 -07:00
Landon Curt Noll 04ffb70221 fix .gitignore for 2004/gavin
Add fs.tar and sort.
2023-07-05 16:35:20 -07:00
Landon Curt Noll fc13877334 update 2004/vik2 with possible cat death rule
See: https://en.wikipedia.org/wiki/Curiosity_killed_the_cat :-)
2023-07-05 16:26:47 -07:00
Landon Curt Noll 96ee60ec14 update CSILENCE for 2004/vik2 2023-07-05 15:15:55 -07:00
Cody Boone Ferguson 61de38e6f0 Fix 2004/burley
There were two things that had to change with my previous fix (getting
it to compile), one in code and one in the Makefile.

Instead of doing ',1' after the calls to longjmp() do ',0'. The way it
originally was is in binary expressions but since the function returns
void I made the result be 0 rather than 1 and along with the other
change it works (though maybe it would work with 1 anyway but it seems
not to be necessary and I don't feel like testing it now).

The Makefile change is that it won't work right with the optimiser
enabled so that was disabled.

I removed this entry from bugs.md (which was listed twice by accident -
and some other things were too) and updated it in the
thanks-for-fixes.md file as well.
2023-07-04 08:41:12 -07:00
Landon Curt Noll 97cba5c334 fix .gitignore for 2004/gavin 2023-07-02 18:35:07 -07:00
Landon Curt Noll ac41f07a83 move fix thanks a file, update top level html links, rename CONTRIBUTING.md
The fix thank you's have been moved from `README.md` to
`thanks-for-fixes.md`.

**WARNING**: Some mistakes may have been made in doing this.
We presume later changes by others will correct any issues.

The `CONTRIBUTING.md` was renamed `how-to-enter.md`.

A 3rd line of links was added to top level html such as
`contact.html`, `index.html`, `judges.html`, `winners.html`,
and `years.html`.

Improved blank line use in a number (but not all) `README.md` files.
2023-06-06 16:59:53 -07:00
Cody Boone Ferguson 7dbb9fc2fe Change 'tri-graphs' to 'trigraphs' - it's one word
The is a file excluded from this commit that has had the change because
there are other changes but the file is incomplete. That file will be
committed when the fixes are complete which will happen at a later date.
2023-06-05 05:52:57 -07:00
Cody Boone Ferguson 2646be77d1 Minor fixes in 2004/gavin
Reword / clarify a point and a typo fix in README.md.

Format fix in gavin.md.
2023-06-03 04:48:26 -07:00
Cody Boone Ferguson 316e83b905 Fix fix on 2004/gavin/fs.tar
The tarball, whilst in a subdirectory, did not extract into a
subdirectory so that if one did tar xvf img/fs.tar it would still
overwrite the files. As well make clobber would wipe the files out. This
does mean one will have to update the tarball if they are to use it but
one presumes that they would know how to do this.

Note that kernel is still under img/ but it's not part of the tarball
and it's supposed to be outside a tarball too.
2023-05-19 05:22:26 -07:00
Cody Boone Ferguson 0571930501 Fix 2004/gavin/{kernel,fs.tar} commit
Landon pointed out some issues that I missed (thank you Landon .. I was
very tired and I hope that I got everything this time) in commit
4b0a2cb64a:

0.  The make clobber rule removes the git files 2004/gavin/kernel and
    2004/gavin/fs.tar.

1.  The 2004/gavin/fs.tar file contains the file "README.md" which, when
    untarred, will overwrite the git file 2004/gavin/README.md.

2.  The 2004/gavin/fs.tar file contains the file "gavin.c" which, when
    untarred, will overwrite the git file 2004/gavin/gavin.c.

3.  The 2004/gavin/fs.tar file is a tar file that could be related with
    just checking in the 3 files "prim", "sh" and "vi".

and I discovered another issue too namely that the tarball had the wrong
version of gavin.c in it as well (prior to the fix for clang).

Now the tarball is in the img/ subdirectory and the tarball contents (is
that tar ? :-) ) looks like:

    $ tar ft img/fs.tar
    fs/
    fs/gavin.c
    fs/vi
    fs/README.md
    fs/sh
    fs/prim

I added to the todo.md file that this file should be verified to match
the contents of 2004/gavin and I gave a command to do to test this - at
the end of working on this entry or maybe better yet right before this
repo is to be folded back into the winner repo.

Updated .gitignore so that the files that are in img/fs.tar are not
added to the repo. The tarball is not meant to be extracted anyway but
rather copied to a disk for usage of the entry. It will be extracted to
verify that the contents match that of the entry itself (2004/gavin
directory).
2023-05-19 02:58:41 -07:00
Cody Boone Ferguson 4b0a2cb64a Add kernel and fs.tar to 2004/gavin
The files were supplied by Yusuke Endoh. Thank you Yusuke!

I also made some typo fixes in the README.md file.
2023-05-18 11:19:39 -07:00
Cody Boone Ferguson 9fc85551aa Actually add 2004/arachnid/arachnid.alt.c
Forgetfully I forgot :-) to add the source file so it only worked with
my local copy. The README.md file was modified and the Makefile was
updated but the source code was not added so using make alt would only
result in an error. This fixes that blunder.
2023-05-14 02:44:40 -07:00
Cody Boone Ferguson 969bb6a3a7 Add alt code for 2004/arachnid for h/j/k/l keys
Now vi users can more easily enjoy this entry without getting
frustrated! Obviously that includes myself. Use j/k/l/h keys instead.
There's some circular fun in the README.md about this based on what the
judges' originally wrote (that made me laugh out loud because it's
true - I did get lost quite easily though I did solve it ...
eventually).
2023-05-13 11:02:40 -07:00
Cody Boone Ferguson 96f47b36f7 Fix 2004/arachnid compile
After changing arachnid.info to arachnid.txt the compilation failed.
2023-05-13 10:41:41 -07:00
Cody Boone Ferguson d235b565df Fix consistency of award titles
This was done quite easily with a bit of thought. I generated a script
that could be modified in vim if necessary (as it turned out to be
though some of it could have been generated too but I did not think of
everything at once and it is a hack).

This is how I generated it:

    echo '#!/bin/bash' > bin/check_awards.sh ; ( while read -r g ; do echo grep "$g"; done < <(sed -e 's,_,/,g' -e 's/"/\\"/g' tmp/year-auth-prize.csv | awk -F, '{print grep "\x22" $2 "\x22" " " $1 "/" "README.md"}' ); ) >> bin/check_awards.sh

Then I I modified the file (again this was a hack to make it easier and
quicker and better for being tired too) in vim to make the grep use -Hc
so I could pipe it to 'grep :0'. This found the files without the right
award. So the final command was:

    sh bin/check_awards.sh |grep :0

though I did have to edit some files several times.

For reference the script has been added to the repo too but with +x
permissions.

This change also required updating the CSV file in tmp/.
2023-05-13 07:02:07 -07:00
Landon Curt Noll 5927927e51 Add .id to all winning entries 2023-05-13 11:45:33 +10:00
Landon Curt Noll c69445d067 Add .top and .year files
This will be used by tools that will build the web site
and tools that form JSON files (such as `.winner.json').
2023-05-12 20:10:38 +10:00
Cody Boone Ferguson 0e3acd6739 sgit -e 's/[[:space:]]$//g' '*Makefile'
At the request of Landon all Makefiles have had trailing spaces removed.
The request also included README.md files but this is more complicated
as some lines have to end in spaces in order to force line breaks. For
Makefiles it's fine though. Tested the Makefiles by doing 'make clobber
all everything' from the root directory and all appears to be fine. This
testing is important because depending on how this process (removal of
trailing spaces) was done it could break the Makefiles; for instance
trying something like:

    sgit -e 's/\s.*$//g' '*Makefile'

would rather break the Makefiles. This makes sense to anyone who knows
my script (and obviously sed :-) ) as long as they're not also tired but
I AM tired and so it was the first thing I tried (without thinking of
course ... though I had first thought of the correct way :-) ).

But what happens to the universes (yes I at least want to believe in the
multiverse theory and I hope it's true :-) ) when trailing spaces are
removed? :-)

As it turns out the only Makefiles touched were:

	modified:   1987/wall/Makefile
	modified:   1992/adrian/Makefile
	modified:   1994/ldb/Makefile
	modified:   2000/anderson/Makefile
	modified:   2001/anonymous/Makefile
	modified:   2001/bellard/Makefile
	modified:   2004/kopczynski/Makefile
	modified:   2015/howe/spoiler/Makefile
	modified:   2019/karns/Makefile

and most of them were my fault.
2023-05-11 02:28:26 -07:00
Cody Boone Ferguson 7dca6604f3 Add year link to title in 2004/README.md
That is link to years.html#2004. This seems like a worthy thing to do
and I will do it for the rest of the years too as I edit the year
README.md files. I probably (:-) ) won't bother repeating this comment
to save time and length of git log.
2023-04-30 04:28:12 -07:00
Cody Boone Ferguson 58d81d7a2e Format + link fix 2004/README.md 2023-04-30 04:14:29 -07:00
Cody Boone Ferguson ca56f68cb4 Format fixes (+ add links) in 2004/vik2/README.md 2023-04-27 06:51:25 -07:00
Cody Boone Ferguson 4d1c601010 Add question to try section in 2004/kopczynski 2023-04-27 05:58:43 -07:00
Cody Boone Ferguson ea12d56f72 Format fix author info in 2004/vik1/README.md 2023-04-27 03:26:31 -07:00
Cody Boone Ferguson 84f959a4fb Format fix author info in 2004/kopczynski 2023-04-26 09:07:46 -07:00
Cody Boone Ferguson 21bfe76a65 Format fix author info in 2004/burley/README.md 2023-04-26 09:05:52 -07:00
Cody Boone Ferguson 0255ba30f8 Format fix author info in 2004/arachnid/README.md 2023-04-26 09:05:03 -07:00
Cody Boone Ferguson ae6332e94c Format fix author info in 2004/sds/README.md 2023-04-26 09:03:02 -07:00
Cody Boone Ferguson 50c600e39c Format fix author info in 2004/newbern 2023-04-26 09:01:07 -07:00
Cody Boone Ferguson d80df32056 Fix author format in 2004/hoyle/README.md 2023-04-26 08:59:33 -07:00
Cody Boone Ferguson 52009027e1 Format author info in 2004/omoikane/README.md
This was not done by mistake.
2023-04-26 08:58:13 -07:00
Cody Boone Ferguson 77ad92bf5f Format fix author info in 2004/vik1/README.md 2023-04-26 08:56:36 -07:00
Cody Boone Ferguson c8117361b7 Add link to video for 2004/vik1
From the author.
2023-04-26 08:46:54 -07:00
Cody Boone Ferguson 941426e730 Format fix 2004/vik1/README.md
I discovered a way to what must be considered cheating though it's
probably just a feature. I referred to this in the try section,
challenging people to find out how. Of course 'cheat' is subjective
here.
2023-04-26 08:42:05 -07:00
Cody Boone Ferguson adf7a28017 Remove address from 2004/sds/README.md
Left the country in of course.
2023-04-26 08:25:42 -07:00
Cody Boone Ferguson c2e62e4a03 Format fixes in 2004/schnitzi + .gitignore update
The reason the top level .gitignore is updated is because this entry
will create vi swap files and it seems that the glob belongs with the
others.

For instance after running this entry numerous times over numerous days:

    $ ls -1 .s*|wc -l
    52

I was not aware of them until it started getting to .su like .sux and
others.

I've noted this fact in the README.md file as well, explaining to those
who don't know how they're named, how to find them (or what they're
called).
2023-04-26 08:23:15 -07:00
Cody Boone Ferguson 0f22ba90f7 Format fix 2004/omoikane/README.md 2023-04-26 05:28:50 -07:00
Cody Boone Ferguson 1e7f12181d Format fix 2004/newbern/README.md 2023-04-26 05:16:35 -07:00
Cody Boone Ferguson b969a2c05d Format fix 2004/jdalbec/README>md + update todo.md
The todo.md file fix a format issue but I also added this entry to the
file: I'm just too tired right now to bother doing it.
2023-04-26 05:11:50 -07:00
Cody Boone Ferguson 09b8244f2f Fix 2004/gavin/Makefile and bugs.md (stray item)
When renaming the gavin_install.txt to gavin.md I forgot to update the
Makefile.

In bugs.md there was a stray item for 2004/gavin in the wrong year (yank
paste error almost certainly).
2023-04-26 04:43:27 -07:00
Cody Boone Ferguson cfc8c6a412 Fix 2004/kopczynski and format fix README.md
The fix is that we cannot pass -ON to the compiler. With -ON it enters
an infinite loop as the variable l goes up, not down.

Format fix README.md.

Add kopczynski-a to show what happens when it's not a number.
2023-04-26 04:38:26 -07:00
Cody Boone Ferguson f3cf06eb85 Fix 2004/hibachi/README.md
In order for connecting to the webserver one needs to start it from the
build subdirectory.

Format fix README.md.

Added links(1) :-) to the README.md.

Fix country in winners.csv.
2023-04-25 06:03:54 -07:00
Cody Boone Ferguson 60e9d4210f Format fix 2004/hoyle/README.md 2023-04-25 05:07:38 -07:00
Cody Boone Ferguson 44c998d340 Add alt code to 2004/gavare
On the author's web page for the entry
(https://gavare.se/ioccc/ioccc_gavare.c.html) they provided an
unobfuscated version of the code. The code has been added to the repo
and Makefile as well.

To compile use:

     make alt

and use gavare.r3 as you would use gavare.
2023-04-25 02:51:11 -07:00
Cody Boone Ferguson b25b8d1acd Format fix 2004/gavin/README.md
Also renamed gavin_install.txt to gavin.md and updated formatting.

chmod +x prim (even though it won't work in some modern platforms - at
least if it wasn't corrupted at some point it might in some; it's a
32-bit ELF LSB).
2023-04-24 10:41:29 -07:00
Cody Boone Ferguson 2d56d6128a Format and URL fix 2004/gavare
Format fix README.md.

Add humour heading (as 'humor' as the author spelt it wrong :-) :-) )
instead of what was a '<humor>..</humor>'. This due this is not valid
html (guess why! :-) ) and so would not show up right in GitHub (or in
any other html document). Using a '### ...' seemed better than escaping
the <>s.

Dead link. Found new one via the Internet Wayback Machine.
2023-04-24 10:06:18 -07:00
Cody Boone Ferguson 5f6de61a08 Format fix 2004/burley/README.md 2023-04-24 09:56:42 -07:00
Cody Boone Ferguson 9df839dc37 Format and link fix 2004/arachnid
Fix format of README.md file. I wanted to say that the author is a
sociopath :-) for using 'w', 'a', 's' and 'd' but that's not right in
the README.md (the judges put something amusing there about it anyway)
so I'm doing it here instead. :-) Okay he's not really but the
navigation is difficult to vi users as the judges point out. Still a
very fun game and I didn't get lost!

Fix dead link via Internet Wayback Machine.

Renamed arachnid.info to arachnid.txt. I hope this helps with rendering
later on so that browsers can also view it. There are other entries
where it might have been good to consider this but I did not think of it
at the time.
2023-04-24 09:34:14 -07:00
Cody Boone Ferguson ff1ac6cecb Fix 2004/anonymous/README.md
Format fixes are obvious but I also added links to the wonderful Tolkien
related things like tehta (no that's not a typo), tengwa(r)? and
everything else in the file.

Also added link to the author of the font it's based on as well as their
page on the font. Fixed name of author as well.

Fixed some typos.

Moved the 'BTW' in judges' remarks to below the 'p.s.'.

Fixed URL. I'm not sure on this one because the author wished to be
anonymous (a real shame!) but left a URL anyway. Had to use the Internet
Wayback Machine. Also fixed in winners.{html,csv}.
2023-04-24 08:48:04 -07:00
Cody Boone Ferguson 66231b2150 Remove 'America' (A) from 'USA' :-)
This to make the country code consistent with mkiocccentry (and I guess
international standard country codes).

This affects many README.md files and (for one line) winners.csv.
2023-04-22 04:21:38 -07:00