From 5b647d7af1d0ae42535d0b9c7b425d3dd3df8aaa Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sat, 25 May 2024 09:15:19 -0700 Subject: [PATCH 01/10] Remove outdated bug status in 1996/august I fixed the problem of it not working with some compilers/systems ages ago but the README.md file still had: STATUS: doesn't work with some compilers - please provide alternative code or fix for more compilers Rebuilt index.html. --- 1996/august/README.md | 11 ----------- 1996/august/index.html | 4 ---- 2 files changed, 15 deletions(-) diff --git a/1996/august/README.md b/1996/august/README.md index 54b91b789..0b341fc1f 100644 --- a/1996/august/README.md +++ b/1996/august/README.md @@ -5,17 +5,6 @@ ``` -### Bugs and (Mis)features: - -The current status of this entry is: - -``` - STATUS: doesn't work with some compilers - please provide alternative code or fix for more compilers -``` - -For more detailed information see [1996/august in bugs.html](../../bugs.html#1996_august). - - ## To use: ``` diff --git a/1996/august/index.html b/1996/august/index.html index 0d9b7185b..d335c74df 100644 --- a/1996/august/index.html +++ b/1996/august/index.html @@ -397,10 +397,6 @@ Location: SE - Kingdom of Sweden (

To build:

    make all
-

Bugs and (Mis)features:

-

The current status of this entry is:

-
    STATUS: doesn't work with some compilers - please provide alternative code or fix for more compilers
-

For more detailed information see 1996/august in bugs.html.

To use:

    cat august.c test.oc | ./august > test.oo
     ./august < test.oo
From e146d54d874bf521b8f5f9d813c5571117b72a44 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sat, 25 May 2024 09:17:09 -0700 Subject: [PATCH 02/10] Fix format in 2020/kurdyukov4/README.md Rebuilt index.html. --- 2020/kurdyukov4/README.md | 2 +- 2020/kurdyukov4/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/2020/kurdyukov4/README.md b/2020/kurdyukov4/README.md index 8fc86240c..d74f0f688 100644 --- a/2020/kurdyukov4/README.md +++ b/2020/kurdyukov4/README.md @@ -62,7 +62,7 @@ Example: Try using the same random seed and varying the context size. BTW: what on Middle-earth is `lámatyávë`? It's Quenya, one of the languages of -the Elves in Tolkien's Legendarium. It means sound taste (plural is lámatyáver) +the Elves in Tolkien's Legendarium. It means sound taste (plural is `lámatyáver`) and it refers to phonaesthesia - in other words, it refers to the pleasure of sound and form of words. It's discussed in [Morgoth's Ring](https://en.wikipedia.org/wiki/Morgoth%27s_Ring), volume X of [History of diff --git a/2020/kurdyukov4/index.html b/2020/kurdyukov4/index.html index 4d698d2e8..f8e165b4f 100644 --- a/2020/kurdyukov4/index.html +++ b/2020/kurdyukov4/index.html @@ -426,7 +426,7 @@ Example:


Try using the same random seed and varying the context size.

BTW: what on Middle-earth is lámatyávë? It’s Quenya, one of the languages of -the Elves in Tolkien’s Legendarium. It means sound taste (plural is lámatyáver) +the Elves in Tolkien’s Legendarium. It means sound taste (plural is lámatyáver) and it refers to phonaesthesia - in other words, it refers to the pleasure of sound and form of words. It’s discussed in Morgoth’s Ring, volume X of History of From d893c590e38082d7a691a95d9bd3b16703ec2b0d Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sat, 25 May 2024 09:18:14 -0700 Subject: [PATCH 03/10] Minor fixes and improvements in thanks file For each year it now shows which IOCCC it was. In other words for 1984 the link title is now: 1984 - The 1st IOCCC and 1985 is: 1985 - The 2nd IOCCC and 1986 is: 1986 - The 3rd IOCCC and so on up to 2020 which is: 2020 - The 27th IOCCC This helps it stand out better and it shows which contest it was. There were a few other fixes. This edit does NOT check further years from yesterday's commit 2647827d94a48d89cd70c5dfb387d32fb9127bec and it is possible I won't do more years until another day (though I started 1996 but nothing needed to be fixed, I think). Other minor fixes in formatting were also made. Rebuilt thanks-for-help.html. --- thanks-for-help.html | 92 +++++++++++++++++++++++--------------------- thanks-for-help.md | 92 +++++++++++++++++++++++--------------------- 2 files changed, 96 insertions(+), 88 deletions(-) diff --git a/thanks-for-help.html b/thanks-for-help.html index 38e237d1c..ba14dafc5 100644 --- a/thanks-for-help.html +++ b/thanks-for-help.html @@ -401,7 +401,7 @@ on an IOCCC entry by entry basis.

  • Did we neglect to credit you?
  • -

    1984

    +

    1984 - The 1st IOCCC

    Winning entry: 1984/anonymous

    @@ -507,7 +507,7 @@ copy of it as to what it should have been at the time, in the fabulous -

    1985

    +

    1985 - The 2nd IOCCC

    Winning entry: 1984/applin

    @@ -652,7 +652,7 @@ should they object to main() having only one arg.

    Cody also added the try.sh and try.alt.sh scripts.

    -

    1986

    +

    1986 - The 3rd IOCCC

    Winning entry: 1986/applin

    @@ -811,7 +811,7 @@ work with gcc - but it still required -traditional-cpp

    There might have been other changes as well.

    Winning entry: 1987/biggar

    @@ -899,7 +899,7 @@ instead as it does look more symmetrical now.

    Cody also added to the Makefile -include stdio.h in the nowadays very unlikely(?) but nevertheless suggested case that putchar(3) is not available.

    Winning entry: 1988/dale

    @@ -1025,7 +1025,7 @@ entry as seeing the code with the result at once is far more beautiful.

    Cody also changed the ints to be float as that’s what they are printed as: not strictly necessary but nonetheless more correct, even if not warned against.

    Winning entry: 1989/fubar

    @@ -1232,7 +1232,7 @@ output.

    The compile.sh script allows one to specify the compiler with the CC environmental variable; see the index.html for details.

    Winning entry: 1990/baruch

    @@ -1393,7 +1393,7 @@ deemed a problem to be fixed.

    original code.

    Cody also added the try.sh script.

    Winning entry: 1991/ant

    @@ -1590,7 +1590,7 @@ is based on the author’s remarks, a version that supposedly (:-) ) always wins

    Cody also fixed the make clobber rule where a file was left lying about when it should have been removed.

    Winning entry: 1992/adrian

    @@ -1653,7 +1653,7 @@ generated.

    Cody fixed this to compile with modern systems. Note that in 1996 a bug fix was applied to the code, provided as the alt code as that version is not obfuscated. Thus Cody’s fix applies to the original entry. The problems were that malloc.h -is not the correct header file now (at least in some systems?) and a non-void +is not the correct header file now (at least in some systems) and a non-void (implicit int) function returning without a value. That function was changed to return void.

    Cody also added the try.sh and @@ -1833,7 +1833,7 @@ world or just the args (2). And not that we need the help or anything for this :-) but we encourage you to try the original without two args :-)

    Winning entry: 1993/ant

    @@ -1950,7 +1950,7 @@ work).

    this code. Other code is also described there.

    Cody also added the try.sh script.

    Winning entry: 1994/dodsond2

    @@ -2112,7 +2112,7 @@ that will look fine on terminals not set to 80 columns and the try.alt.sh script to automate the play along the lines of the try.sh script.

    Winning entry: 1995/cdua

    @@ -2197,14 +2197,15 @@ extract it. The exception is when the files are created by the entry or the entry decrypts the text or something like that.

    Cody also added the try.sh script.

    Winning entry: 1996/august

    Winning entry source code: august.c

    Cody fixed a segfault in this program that prevented it from working right and -also fixed an infinite loop in the try commands.

    +also fixed an infinite loop in the try commands. This infinite loop prevented it +from working with some systems or compilers which we noted a long time ago.

    The problem with the infinite loop is that the file august.oc had to have lines starting with # removed and it was not being done. After this is done with say sed(1) (like sed -i'' '/^#/d' august.oc which has been added to @@ -2227,18 +2228,16 @@ but he missed that Yusuke added a’…’ after the result which made him think the fix was wrong.

    Cody also made the recommended change of the author to make it so that each number is printed on a line by itself rather than having a long string of -numbers on the same line. This was not put in an alternate version but perhaps -it should be.

    +numbers on the same line.

    Cody also added the try.sh script.

    Winning entry: 1996/eldby

    Winning entry source code: eldby.c

    Cody provided an alternate version which uses -usleep() in between writing the output to make it easier to see what is going -on with faster systems and importantly also for those who are sensitive to text -flashing by rapidly (it affects him too but he also thinks it moves too fast -nowadays anyway). We recommend that you try the alternate version first due to +usleep() in between writing the output to make it easier to see what it looked +like back in 1996 with modern systems and importantly also for those who are sensitive to text +flashing by rapidly. We recommend that you try the alternate version first due to these reasons.

    Winning entry: 1996/gandalf

    @@ -2317,7 +2316,7 @@ clocks, both with the fixed version and the original (alt) version.

    Also, to fix any potential problem with displaying in GitHub the scripts provided by the author, Cody added ‘.sh’ to the clock[1-3].sh scripts.

    Winning entry: 1998/banks

    @@ -2536,7 +2535,7 @@ program had return 1).

    Cody also added the try.sh script to try out a few commands that we recommended.

    Winning entry: 2000/anderson

    @@ -2678,7 +2677,7 @@ the main code and the alt code respectively.

    And although the scripts do chmod +x on the source code (see the index.html for details) the source code is now executable by default.

    Winning entry: 2001/anonymous

    @@ -2901,7 +2900,7 @@ that we, the IOCCC judges, suggested, as well as some additional ones that he thought would be fun. He also provided the sort and punch card versions, described in the index.html, based on the author’s remarks.

    Winning entry: 2004/anonymous

    @@ -3121,7 +3120,7 @@ which used to be generated by the Makefile via cc -E.

    vik2.possible.cat.death.c!) __FILE__ just to make it a bit easier to compile.

    Winning entry: 2005/aidan

    @@ -3317,7 +3316,7 @@ find it’ but the source code file name is not always the same as the executabl with the appropriate extension so this might be called a bug fix as well though if one runs it from another directory, specifying the directory, it’ll not catch it.

    Winning entry: 2006/birken

    @@ -3454,7 +3453,7 @@ have been a problem in Linux with the old ints but this is no longe toledo3.alt.c, based on the author’s remarks. We’re not able to test this.

    Winning entry: 2011/akari

    @@ -3573,7 +3572,7 @@ and text then stdout needs to be set to binary mode.

    sphere-tracing.pdf in case the link eventually dies.

    Winning entry: 2012/blakely

    @@ -3729,7 +3728,7 @@ look at the program source with tab space of 4 characters so Cody added the command to do this in vim for those who use it, in the judges’ remarks, to make it easier for those who do not know how, and to make it more obvious to try it.

    Winning entry: 2013/birken

    @@ -3907,7 +3906,7 @@ implicitly (Linux doesn’t seem to but macOS does).

    Cody added the try.sh script.

    Winning entry: 2014/birken

    @@ -4040,7 +4039,7 @@ should they want to. It also checks that both of these two tools exist and are executable and it pipes it through less as it’s longer than a page worth of output.

    Winning entry: 2015/burton

    @@ -4166,7 +4165,7 @@ files from compiling properly, trying instead to compile already compiled code.< (Linux seems to not but macOS does).

    He also added the try.sh script.

    Winning entry: 2018/anderson

    @@ -4309,7 +4308,7 @@ configuration).

    if the user wants to see some of the spoilers and only show them if they type y or Y.

    Winning entry: 2019/adamovsky

    @@ -4468,7 +4467,7 @@ slightly updating the sample_input.txt (removed trailing newlines as it resulted in diff showing differences when it shouldn’t) and adding the ioccc.txt file.

    Winning entry: 2020/burton

    @@ -4609,13 +4608,17 @@ more jumbled but we know of others too.

    Cody added the try.sh script.

    Cody also added from 2019/mills the text file -Shakespeare.txt as we are considering to -have each entry have a tarball with the entry by itself.

    -

    Also, to explain the confusing to most people award, Cody gave a quick -translation of lámatyávë, which comes from History of Middle-earth [HoMe], -volume X, Morgoth’s Ring, which he also has (and which is part of the 12 volume -set by the late Christopher Tolkien, son and literary executor and heir to -J.R.R. Tolkien).

    +Shakespeare.txt as we now provide a tarball +of each entry by itself.

    +

    Also, as a fellow Tolkienist, to explain the confusing (to most people) award +title, Cody gave a quick translation of lámatyávë, which comes from Morgoth’s +Ring, volume X of the 12 +volume History of +Middle-earth (known +to us Tolkienists as HoMe), which he naturally :-) has, by the late and great +Christopher Tolkien, son +and literary executor and heir to J.R.R. +Tolkien.

    Winning entry: 2020/otterness

    Winning entry source code: prog.c

    @@ -4719,7 +4722,7 @@ although some might not make as much sense unless one looks into the entry.

    changes, fixes and many important improvements that we wish to especially thank.

    Authors

    -

    A good number of the wining entries of the +

    A good number of the winning entries of the IOCCC tested, identified and helped correct and/or improve the write-ups of fellow IOCCC entries for the year that they won. The list of those entries is too long to mention: nevertheless the IOCCC @@ -4762,7 +4765,8 @@ inconsistent award titles in the README files and CSV file (that he generated from the SQL file).

    Additionally Cody greatly improved the manifest of the winning entries and checked that the generated html files, index.html and otherwise, look well and -presentable.

    +presentable and suggested a CSS rule for <img> to make images more responsive +on smaller screens.

    THANK YOU VERY MUCH for your extensive efforts in helping improve the IOCCC presentation of past IOCCC entries and fixing almost all past entries for modern systems!

    diff --git a/thanks-for-help.md b/thanks-for-help.md index 26178c7bd..5a3d49af2 100644 --- a/thanks-for-help.md +++ b/thanks-for-help.md @@ -30,7 +30,7 @@ on an IOCCC entry by entry basis.
    -# [1984](1984/index.html) +# [1984 - The 1st IOCCC](1984/index.html)
    @@ -173,7 +173,7 @@ Repo](https://github.com/dspinellis/unix-history-repo/tree/Research-Release).
    -# [1985](1985/index.html) +# [1985 - The 2nd IOCCC](1985/index.html)
    @@ -371,7 +371,7 @@ Cody also added the [try.sh](%%REPO_URL%%/1985/sicherman/try.sh) and
    -# [1986](1986/index.html) +# [1986 - The 3rd IOCCC](1986/index.html)
    @@ -624,7 +624,7 @@ There might have been other changes as well.
    -# [1987](1987/index.html) +# [1987 - The 4th IOCCC](1987/index.html)
    @@ -747,7 +747,7 @@ unlikely(?) but nevertheless suggested case that `putchar(3)` is not available.
    -# [1988](1988/index.html) +# [1988 - The 5th IOCCC](1988/index.html)
    @@ -929,7 +929,7 @@ not strictly necessary but nonetheless more correct, even if not warned against.
    -# [1989](1989/index.html) +# [1989 - The 6th IOCCC](1989/index.html)
    @@ -1208,7 +1208,7 @@ environmental variable; see the index.html for details.
    -# [1990](1990/index.html) +# [1990 - The 7th IOCCC](1990/index.html)
    @@ -1444,7 +1444,7 @@ Cody also added the [try.sh](%%REPO_URL%%/1990/westley/try.sh) script.
    -# [1991](1991/index.html) +# [1991 - The 8th IOCCC](1991/index.html)
    @@ -1734,7 +1734,7 @@ should have been removed.
    -# [1992](1992/index.html) +# [1992 - The 9th IOCCC](1992/index.html)
    @@ -1827,7 +1827,7 @@ generated. [Cody](#cody) fixed this to compile with modern systems. Note that in 1996 a bug fix was applied to the code, provided as the alt code as that version is not obfuscated. Thus Cody's fix applies to the original entry. The problems were that `malloc.h` -is not the correct header file now (at least in some systems?) and a non-void +is not the correct header file now (at least in some systems) and a non-void (implicit `int`) function returning without a value. That function was changed to return `void`. @@ -2068,7 +2068,7 @@ encourage you to try the original without two args :-)
    -# [1993](1993/index.html) +# [1993 - The 10th IOCCC](1993/index.html)
    @@ -2240,7 +2240,7 @@ Cody also added the [try.sh](%%REPO_URL%%/1993/vanb/try.sh) script.
    -# [1994](1994/index.html) +# [1994 - The 11th IOCCC](1994/index.html)
    @@ -2451,7 +2451,7 @@ along the lines of the [try.sh](%%REPO_URL%%/1994/westley/try.sh) script.
    -# [1995](1995/index.html) +# [1995 - The 12th IOCCC](1995/index.html)
    @@ -2573,7 +2573,7 @@ Cody also added the [try.sh](%%REPO_URL%%/1995/vanschnitz/try.sh) script.
    -# [1996](1996/index.html) +# [1996 - The 13th IOCCC](1996/index.html)
    @@ -2583,7 +2583,8 @@ Cody also added the [try.sh](%%REPO_URL%%/1995/vanschnitz/try.sh) script.
    [Cody](#cody) fixed a segfault in this program that prevented it from working right and -also fixed an infinite loop in the try commands. +also fixed an infinite loop in the try commands. This infinite loop prevented it +from working with some systems or compilers which we noted a long time ago. The problem with the infinite loop is that the file `august.oc` had to have lines starting with `#` removed and it was not being done. After this is done @@ -2612,8 +2613,7 @@ the fix was wrong. Cody also made the recommended change of the author to make it so that each number is printed on a line by itself rather than having a long string of -numbers on the same line. This was not put in an alternate version but perhaps -it should be. +numbers on the same line. Cody also added the [try.sh](%%REPO_URL%%/1996/dalbec/try.sh) script. @@ -2624,10 +2624,9 @@ Cody also added the [try.sh](%%REPO_URL%%/1996/dalbec/try.sh) script.
    [Cody](#cody) provided an [alternate version](%%REPO_URL%%/1996/eldby/eldby.alt.c) which uses -`usleep()` in between writing the output to make it easier to see what is going -on with faster systems and importantly also for those who are sensitive to text -flashing by rapidly (it affects him too but he also thinks it moves too fast -nowadays anyway). We recommend that you try the alternate version first due to +`usleep()` in between writing the output to make it easier to see what it looked +like back in 1996 with modern systems and importantly also for those who are sensitive to text +flashing by rapidly. We recommend that you try the alternate version first due to these reasons. @@ -2738,7 +2737,7 @@ provided by the author, Cody added '.sh' to the `clock[1-3].sh` scripts.
    -# [1998](1998/index.html) +# [1998 - The 14th IOCCC](1998/index.html)
    @@ -3046,7 +3045,7 @@ commands that we recommended.
    -# [2000](2000/index.html) +# [2000 - The 15th IOCCC](2000/index.html)
    @@ -3249,7 +3248,7 @@ details) the source code is now executable by default.
    -# [2001](2001/index.html) +# [2001 - The 16th IOCCC](2001/index.html)
    @@ -3576,7 +3575,7 @@ described in the index.html, based on the author's remarks.
    -# [2004](2004/index.html) +# [2004 - The 17th IOCCC](2004/index.html)
    @@ -3867,7 +3866,7 @@ just to make it a bit easier to compile.
    -# [2005](2005/index.html) +# [2005 - The 18th IOCCC](2005/index.html)
    @@ -4154,7 +4153,7 @@ if one runs it from another directory, specifying the directory, it'll not catch
    -# [2006](2006/index.html) +# [2006 - The 19th IOCCC](2006/index.html)
    @@ -4351,7 +4350,7 @@ We're not able to test this.
    -# [2011](2011/index.html) +# [2011 - The 20th IOCCC](2011/index.html)
    @@ -4523,7 +4522,7 @@ eventually dies.
    -# [2012](2012/index.html) +# [2012 - The 21st IOCCC](2012/index.html)
    @@ -4739,7 +4738,7 @@ it easier for those who do not know how, and to make it more obvious to try it.
    -# [2013](2013/index.html) +# [2013 - The 22nd IOCCC](2013/index.html)
    @@ -4995,7 +4994,7 @@ Cody also added the [try.sh](%%REPO_URL%%/2013/morgan1/try.sh) script.
    -# [2014](2014/index.html) +# [2014 - The 23rd IOCCC](2014/index.html)
    @@ -5177,7 +5176,7 @@ output.
    -# [2015](2015/index.html) +# [2015 - The 24th IOCCC](2015/index.html)
    @@ -5363,7 +5362,7 @@ He also added the [try.sh](%%REPO_URL%%/2015/yang/try.sh) script.
    -# [2018](2018/index.html) +# [2018 - The 25th IOCCC](2018/index.html)
    @@ -5565,7 +5564,7 @@ if the user wants to see some of the spoilers and only show them if they type
    -# [2019](2019/index.html) +# [2019 - The 26th IOCCC](2019/index.html)
    @@ -5787,7 +5786,7 @@ shouldn't) and adding the [ioccc.txt](2019/yang/ioccc.txt) file.
    -# [2020](2020/index.html) +# [2020 - The 27th IOCCC](2020/index.html)
    @@ -5989,14 +5988,18 @@ more jumbled but we know of others too. [Cody](#cody) added the [try.sh](%%REPO_URL%%/2020/kurdyukov4/try.sh) script. Cody also added from [2019/mills](2019/mills/index.html) the text file -[Shakespeare.txt](2020/kurdyukov4/Shakespeare.txt) as we are considering to -have each entry have a tarball with the entry by itself. +[Shakespeare.txt](2020/kurdyukov4/Shakespeare.txt) as we now provide a tarball +of each entry by itself. -Also, to explain the confusing to most people award, Cody gave a quick -translation of `lámatyávë`, which comes from History of Middle-earth [HoMe], -volume X, Morgoth's Ring, which he also has (and which is part of the 12 volume -set by the late Christopher Tolkien, son and literary executor and heir to -J.R.R. Tolkien). +Also, as a fellow Tolkienist, to explain the confusing (to most people) award +title, Cody gave a quick translation of `lámatyávë`, which comes from [Morgoth's +Ring](https://en.wikipedia.org/wiki/Morgoth%27s_Ring), volume X of the 12 +volume [History of +Middle-earth](https://en.wikipedia.org/wiki/The_History_of_Middle-earth) (known +to us Tolkienists as `HoMe`), which he naturally :-) has, by the late and great +[Christopher Tolkien](https://en.wikipedia.org/wiki/Christopher_Tolkien), son +and literary executor and heir to [J.R.R. +Tolkien](https://www.tolkienestate.com/life/biography/).
    @@ -6145,7 +6148,7 @@ wish to **especially thank**. ### Authors
    -A good number of the [wining entries of the +A good number of the [winning entries of the IOCCC](authors.html) tested, identified and helped correct and/or improve the write-ups of fellow IOCCC entries for the year that they won. The list of those entries is too long to mention: nevertheless the [IOCCC @@ -6193,7 +6196,8 @@ from the SQL file). Additionally Cody greatly improved the manifest of the winning entries and checked that the generated html files, index.html and otherwise, look well and -presentable. +presentable and suggested a CSS rule for `` to make images more responsive +on smaller screens. **THANK YOU VERY MUCH** for your extensive efforts in helping improve the IOCCC presentation of past IOCCC entries and fixing almost all past entries for modern From 02394637111ba4624111d95412764771deb7796c Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sun, 26 May 2024 07:33:38 -0700 Subject: [PATCH 04/10] Improve bin/gen-authors.sh, rebuild authors.html Now the is for text is not in italic so that only the letter is in italics and the word is in a code block but the 'is for' is in normal text. This looks nicer and makes the letter and the word stand out better. --- authors.html | 52 +++++++++++++++++++++++----------------------- bin/gen-authors.sh | 52 +++++++++++++++++++++++----------------------- 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/authors.html b/authors.html index 3ad1f310d..b5fac48ff 100644 --- a/authors.html +++ b/authors.html @@ -408,7 +408,7 @@ Jump to authors sorted by: [
    -

    a is for atoi

    +

    a is for atoi


    @@ -643,7 +643,7 @@ author_handle:
    -

    b is for break

    +

    b is for break


    @@ -1056,7 +1056,7 @@ author_handle:
    -

    c is for const

    +

    c is for const


    @@ -1181,7 +1181,7 @@ author_handle:
    -

    d is for do

    +

    d is for do


    @@ -1438,7 +1438,7 @@ author_handle:
    -

    e is for else

    +

    e is for else


    @@ -1528,7 +1528,7 @@ author_handle:
    -

    f is for float

    +

    f is for float


    @@ -1662,7 +1662,7 @@ author_handle:
    -

    g is for getc

    +

    g is for getc


    @@ -1802,7 +1802,7 @@ author_handle:
    -

    h is for hypot

    +

    h is for hypot


    @@ -2112,7 +2112,7 @@ author_handle:
    -

    i is for int

    +

    i is for int


    @@ -2134,7 +2134,7 @@ author_handle:
    -

    j is for jmp_buf

    +

    j is for jmp_buf


    @@ -2190,7 +2190,7 @@ author_handle:
    -

    k is for killchar

    +

    k is for killchar


    @@ -2350,7 +2350,7 @@ author_handle:
    -

    l is for long

    +

    l is for long


    @@ -2533,7 +2533,7 @@ author_handle:
    -

    m is for malloc

    +

    m is for malloc


    @@ -2792,7 +2792,7 @@ author_handle:
    -

    n is for nullptr

    +

    n is for nullptr


    @@ -2863,7 +2863,7 @@ author_handle:
    -

    o is for open

    +

    o is for open


    @@ -2940,7 +2940,7 @@ author_handle:
    -

    p is for printf

    +

    p is for printf


    @@ -3082,13 +3082,13 @@ author_handle:
    -

    q is for qsort

    +

    q is for qsort


    -

    r is for return

    +

    r is for return


    @@ -3249,7 +3249,7 @@ author_handle:
    -

    s is for switch

    +

    s is for switch


    @@ -3551,7 +3551,7 @@ author_handle:
    -

    t is for true

    +

    t is for true


    @@ -3666,13 +3666,13 @@ author_handle:
    -

    u is for union

    +

    u is for union


    -

    v is for volatile

    +

    v is for volatile


    @@ -3731,7 +3731,7 @@ author_handle:
    -

    w is for while

    +

    w is for while


    @@ -3860,13 +3860,13 @@ author_handle:
    -

    x is for xor

    +

    x is for xor


    -

    y is for y0

    +

    y is for y0


    @@ -3899,7 +3899,7 @@ author_handle:
    -

    z is for zlib

    +

    z is for zlib


    diff --git a/bin/gen-authors.sh b/bin/gen-authors.sh index 2dfb74985..b2cd4d8ca 100755 --- a/bin/gen-authors.sh +++ b/bin/gen-authors.sh @@ -114,32 +114,32 @@ export EXIT_CODE="0" # unset IS_FOR declare -Ag IS_FOR -IS_FOR[a]="a is for atoi" -IS_FOR[b]="b is for break" -IS_FOR[c]="c is for const" -IS_FOR[d]="d is for do" -IS_FOR[e]="e is for else" -IS_FOR[f]="f is for float" -IS_FOR[g]="g is for getc" -IS_FOR[h]="h is for hypot" -IS_FOR[i]="i is for int" -IS_FOR[j]="j is for jmp_buf" -IS_FOR[k]="k is for killchar" -IS_FOR[l]="l is for long" -IS_FOR[m]="m is for malloc" -IS_FOR[n]="n is for nullptr" -IS_FOR[o]="o is for open" -IS_FOR[p]="p is for printf" -IS_FOR[q]="q is for qsort" -IS_FOR[r]="r is for return" -IS_FOR[s]="s is for switch" -IS_FOR[t]="t is for true" -IS_FOR[u]="u is for union" -IS_FOR[v]="v is for volatile" -IS_FOR[w]="w is for while" -IS_FOR[x]="x is for xor" -IS_FOR[y]="y is for y0" -IS_FOR[z]="z is for zlib" +IS_FOR[a]="a is for atoi" +IS_FOR[b]="b is for break" +IS_FOR[c]="c is for const" +IS_FOR[d]="d is for do" +IS_FOR[e]="e is for else" +IS_FOR[f]="f is for float" +IS_FOR[g]="g is for getc" +IS_FOR[h]="h is for hypot" +IS_FOR[i]="i is for int" +IS_FOR[j]="j is for jmp_buf" +IS_FOR[k]="k is for killchar" +IS_FOR[l]="l is for long" +IS_FOR[m]="m is for malloc" +IS_FOR[n]="n is for nullptr" +IS_FOR[o]="o is for open" +IS_FOR[p]="p is for printf" +IS_FOR[q]="q is for qsort" +IS_FOR[r]="r is for return" +IS_FOR[s]="s is for switch" +IS_FOR[t]="t is for true" +IS_FOR[u]="u is for union" +IS_FOR[v]="v is for volatile" +IS_FOR[w]="w is for while" +IS_FOR[x]="x is for xor" +IS_FOR[y]="y is for y0" +IS_FOR[z]="z is for zlib" # clear options we will add to tools # From 743e21d7fb5dc170bfe91e5607441d0590aa21af Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sun, 26 May 2024 16:29:09 -0700 Subject: [PATCH 05/10] Add FAQ 6.14 + minor updates to others The new one is how to set tabstop (for viewing code) in vi(m). Add to the mastodon FAQ a note that there is an app but it does not have push notifications for posts by people you follow. Minor typo fixes elsewhere. --- faq.html | 24 ++++++++++++++++++++---- faq.md | 32 ++++++++++++++++++++++++++++---- 2 files changed, 48 insertions(+), 8 deletions(-) diff --git a/faq.html b/faq.html index abf6e87dd..4f1f1940a 100644 --- a/faq.html +++ b/faq.html @@ -463,6 +463,7 @@ other inconsistencies with the original entry?
  • 6.11 - Am I allowed to use IOCCC content?
  • 6.12 - What is Mastodon and why does IOCCC use it?
  • 6.13 - How may I find my author handle?
  • +
  • 6.14 - How do I set certain tabstops for viewing source code in vi(m)?
  • The IOCCC FAQ

    @@ -737,11 +738,11 @@ See also CommonMark Spec.

    One day (1984 March 23 to be exact), Larry Bassel and I (Landon Curt -Noll) were working for National Semiconductor’s Genix porting group, we +Noll) were working for National Semiconductor’s Genix porting group, and we were both in our offices trying to fix some very broken code.

    Larry had been trying to fix a bug in the classic Bourne shell (C code #defined -to death to sort of look like Algol) and I had been working on the finger -program from early BSD (a bug ridden finger implementation to be sure).

    +to death to sort of look like Algol) and I had been working on the finger(1) +program from early BSD (a bug ridden finger implementation to be sure).

    We happened to both wander (at the same time) out to the hallway in Building 7C to clear our heads.

    We began to compare notes: ‘You won’t believe the code I am trying to fix’.

    @@ -795,7 +796,7 @@ and the tradition continues as the longest running contest on the Internet.

    Some years, such as 1997, 1999, 2002-2003, 2007-2010, 2016-2017, 2021-2023, no IOCCC was held.

    While we try to hold the IOCCC every year, sometime the other demands on the IOCCC judges -so not permit us to hold a new IOCCC.

    +do not permit us to hold a new IOCCC.

    The pause during the 2021-2023 period was due to the IOCCC judges developing tools to make is much more likely for the IOCCC to be held in a yearly basis later on.

    @@ -2908,6 +2909,10 @@ and topics like science, technology, fosstodon.org folk made the IOCCC feel welcome.

    While using Mastodon is free, the IOCCC judges are pleased to support the Fosstodon Hub.

    +

    If you have a phone or tablet there is also an official app that you can get +from the App Store or whatever equivalent your device has. Please note that the +app does not at this time seem to give push notifications when someone you +follow posts something so you will have to check the IOCCC feed manually.

    FAQ 6.13: How may I find my author handle?

    @@ -2932,6 +2937,17 @@ and/or correct IOCCC author information.

    See FAQ 6.6 for information about the contents of these JSON file and how they are used.

    See FAQ 6.9 for more information on terms such as author, entry, and submission.

    +
    +
    +

    FAQ 6.14: How do I set certain tabstops for viewing source code in vi(m)?

    +
    +
    +

    Sometimes an author will state that for best viewing purposes you should have +your tabstop set at say 4 or 8. If you use vim or vi or vim in no compatible +mode you can do this easily: make sure you’re in command mode (in most cases you +can hit ESC to do this) and then type the command:

    +
        :set tabstop=4
    +

    where 4 is the value you wish to set the tabstop to.


    Jump to: top