It appears that the entry name is 'Mile' but since it's compiled to be
'prog' the command invocations should refer to ./prog not ./mile. I kept
the other references to Mile as is.
I'm aware that this entry does not seem to work under macOS but it could
be that I've been working on this year too much and I need to finish up
(fortunately I have only one more entry to look at). But it might be
that it's simply not functional under macOS.
Typo fix.
Rename COMPILING -> COMPILING.md and HACKING -> HACKING.md. I have not
tested the formatting on either of these but they should be okay.
Updated the COMPILING (portability information) as I know it works under
Apple M1 chips too.
The Makefile now chmod +x makegif.sh as it's referred to in the
README.md.
Change word 'Depends' to 'Dependencies' in makegif.sh to read a bit
easier.
Make README.md a bit easier to read (as English is not Ilya's first
language).
Made the command Ilya suggests to make GIFs so that it makes use of the
command the judges suggested, noting that it's just an example.
Added middle name to my name to match my name as a winner.
Of course if Ilya objects to any of this (or any other entry of his) I'm
certainly okay with rolling back the changes (same with his other
entries) but I believe that this will make it a bit easier to try out
the entry.
The Makefile referenced a URL that no longer is valid (or less valid?).
The README.md referred to shakespeare.txt but the file (extracted from
the file downloaded from the curl invocation in the Makefile) is
Shakespeare.txt (in some places it was capitalised).
There were some formatting fixes in the README.md file too.
There is a .gitignore added but not in this commit - an upcoming commit.
It has the two files in that gzip file added but since it also had other
files I've kept it for a separate commit. A question of whether the
files should just be part of the entry is another to maybe consider but
for now it's not.
In the check_be.sh script the default expected prog_be to be in the path
but that's not likely so make it ./prog_be instead.
Updated README.md to change prog.be to be prog_be and also add a note
about it segfaulting without an argument at the judges' comments, close
to the top.
The Makefile also warns on the entry segfaulting on no argument. This
way the viewers can have a warning. I will look at doing this with other
entries that might segfault too but later on.
I also added some example invocations to highlight something Dave Burton
mentioned in his remarks. Of course if he's against this I have no
problem there but I think it enhances the README.
This is because it is macOS and it's indeed what OS I explained how to
get the entry to compile under. It might not matter much but since we're
making things consistent (this same change might need to be done
elsewhere) and as correct as possible this commit seems good.
In particular the following fixes were made:
-MKFIFo= mkfifo
+MKFIFO= mkfifo
-ZIPGREp= zipgrep
-ZIPINFo= zipinfo
+ZIPGREP= zipgrep
+ZIPINFO= zipinfo
If it's not immediately clear what the problem is the last letter of the
variable names were in lower case.
Depending on if it was the beginning of the sentence the EMail would
become 'Email' or 'email'.
Some references of 'Email' were changed to 'email' as well as those were
not in the beginning of a sentence.
A few places some consistency of capitalised email address (made lower
case) were changed to match other places of the same pattern.
Due to (at the time of publication of the 2020 winning entries) the
rename of '.markdown' to '.text' and earlier on not being sure of how to
get the correct footer in the files (except manually) some additional
files (.markdown) were added to these two entries. The .md files were
correct in that they have not only the correct footer but they also have
lists fixed (spaces between lines starting with '-').
As well in years.html some files referred to '.text' which no longer
exist either and others referred to '.markdown' files and still others
to '.text' files and those two extensions are wrong.
This commit deletes the following files:
deleted: 2020/ferguson1/bugs.markdown
deleted: 2020/ferguson1/gameplay.markdown
deleted: 2020/ferguson1/spoilers.markdown
deleted: 2020/ferguson1/terminals.markdown
deleted: 2020/ferguson1/troubleshooting.markdown
deleted: 2020/ferguson2/recode.markdown
which as I noted above were incorrect.
This commit is part of fixing years.html wrt missing files but since
they're all related to the same author in the same year (me in 2020) I
felt they belonged in a commit separate from the other fixes which are
more general.
Some lists were did not come out as lists due to no blank lines in the
markdown.
Put a few code things between ``s. In one case I was unclear on what it
should be but elsewhere in the document what I needed so all should be
good there.
Might have been one or two normal typos.
As luck would have it the only entries where this applied were my own.
The links/references to these files have been changed in the files.
An unfortunate problem is that in 2020/ferguson1 there are several
*.markdown files. I will have to go through these and figure out which
ones should be changed to .md and which ones can be removed. This can
happen later but in the meantime the references are to .md. I believe
the only difference is that the .md has the footer added by the judges.
This was a workaround with the fact that I wasn't sure (and still am not
entirely sure) the generation of the html files will work. It might be
that the .markdown files have the footer and the .md files do not but
this can be dealt with later anyway.
The following files were modified:
modified: 2012/MANIFEST
modified: 2012/hamano/README.md
modified: 2014/MANIFEST
modified: 2015/MANIFEST
modified: 2018/MANIFEST
modified: 2018/anderson/README.md
modified: 2018/ciura/README.md
modified: 2018/ferguson/FILES
modified: 2018/ferguson/weasel.1
modified: 2018/ferguson/weasel.man
modified: 2018/ferguson/weasel.spec
modified: 2019/MANIFEST
modified: 2019/karns/README.md
modified: 2020/MANIFEST
modified: 2020/ferguson2/README.md
modified: 2020/ferguson2/enigma.1
modified: 2020/ferguson2/recode.1
modified: years-spoiler.html
modified: years.html
but I am not clear on some of the changes here. For instance some of the
text changed were html anchors and I'm not sure of the implications of
it other than the fact that changing the filenames (see commits
77fb0f11a2 and
851e191519) would break the links. Whether
more needs to be done or not I do not know.
As per discussions on GitHub the index.html and hint.html files should
be deleted in favour of README.md files (from any
.text/.txt/.markdown/.md files which will be turned into README.md in an
upcoming commit).
Make changes to links impacted when we move 1988-2004 entries
from all of a year's winning entries in a single directory
to each winner being in their own sub-directory under the
given year directory.
In a number of cases, an absolute URL for www.ioccc.org
was replaced with a document root relative URL.
In some cases the absolute URL was removed.
Removed mirror request pages.
Specifically you should use only *PURE* vanilla extract and NOT
imitation vanilla!
I hope that I got the Enigma one updated properly as well. I know I used
the right key (I wisely kept that in a file) but because I have to use
the files from ferguson1/ it's possible I made a mistake (esp as I'm
quite tired).
Much like the ferguson1/ fixes in the previous commit I have fixed the
lists in the markdown files and the html files have been updated too.
I *believe* I got the chocolate-cake.html generated properly after
making a change of the chocolate-cake.text (because it's encrypted with
the Enigma and because the judges have their headers/footers I had to
take the generated file from ferguson1 - corrected - and then encrypt it
with the proper key).
Makefile now refers to *.text files rather than *.markdown.
There might be some other changes I forgot.
In particular the lists were mangled; I made sure that the html files
have the IOCCC headers/footers by using rdiscount to another file and
then yanking/pasting the generated lists in the one file into the target
files.
I also removed terminals.markdown which was a mistake I made when I sent
a patch (so I assume) to the judges.
Makefile now refers to *.text instead of *.markdown and no longer refers
to judges file as that was only part of the preview repo for winners.
There might have been other changes I have made but everything *appears*
to be okay now.
The 2020 winners are hinted it, but the source code is not there,
nor are the hints. Someone could look into the HTML and
see what was commented out, but that is not a problem because
WHO won is known and the name of their AWARD is known already.
Moreover a number of the winners have talked about what their
entirs do, so the commented out spoiler text is not a bit problem.
One will find HTML commented out with:
<!-- XXX remove when 2020 is ready
2020 links here
XXX remove when 2020 is ready -->
The "XXX remove when 2020 is ready" string is found at the
start and end comment blocks. Again, soneone could read
what was commented out, but that is OK since most of that
information is known or can be known. The following files
have such HTML comment blocks in them.
./winners.html
./years-spoiler.html
./years.html
In addition, ./all/summary.txt was modified to not
include the 2020 entries for the momemt.
The 2020 winner code AND write-ups are NOT part of this set.
p.s. The all/all.tar.bz2 does not contain the 2020 source code (yet?).