diff --git a/1995/heathbar/.winner.json b/1995/heathbar/.winner.json index 9383f9315..2cf3bbce1 100644 --- a/1995/heathbar/.winner.json +++ b/1995/heathbar/.winner.json @@ -42,6 +42,14 @@ "display_via_github" : true, "winners_text" : "original source" }, + { + "file_path" : "try.sh", + "inventory_order" : 100, + "OK_to_edit" : true, + "display_as" : "shellscript", + "display_via_github" : true, + "winners_text" : "how to run" + }, { "file_path" : "1995_heathbar.tar.bz2", "inventory_order" : 300, diff --git a/1995/heathbar/index.html b/1995/heathbar/index.html index 4b8fdc64c..c066b2616 100644 --- a/1995/heathbar/index.html +++ b/1995/heathbar/index.html @@ -126,7 +126,7 @@ href="/temp-test-ioccc/location.html#null">unknown

./heathbar num num

where num is a non-negative number.

Try:

-
./heathbar 4253 2281
+
./try.sh

Judges’ remarks:

The main reason we liked this entry was mainly because the main effect of the source was self documenting! :-)

@@ -183,6 +183,9 @@ href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/heathbar/Mak
  • heathbar.orig.c - original source
  • +
  • try.sh +- how to run
  • 1995_heathbar.tar.bz2 - download winning source
  • diff --git a/1995/savastio/.winner.json b/1995/savastio/.winner.json index 42bdae05b..c1f6d1288 100644 --- a/1995/savastio/.winner.json +++ b/1995/savastio/.winner.json @@ -41,6 +41,14 @@ "display_via_github" : true, "winners_text" : "original source" }, + { + "file_path" : "try.sh", + "inventory_order" : 100, + "OK_to_edit" : true, + "display_as" : "shellscript", + "display_via_github" : true, + "winners_text" : "how to run" + }, { "file_path" : "1995_savastio.tar.bz2", "inventory_order" : 300, diff --git a/1995/savastio/index.html b/1995/savastio/index.html index bdbd46993..50f7df61f 100644 --- a/1995/savastio/index.html +++ b/1995/savastio/index.html @@ -119,11 +119,18 @@ href="/temp-test-ioccc/location.html#null">unknown

    To build:

    make all
    +

    Bugs and (Mis)features:

    +

    The current status of this entry is:

    +
    STATUS: INABIAF - please **DO NOT** fix
    +

    For more detailed information see 1995 savastio in bugs.md.

    To use:

    -
    ./savastio
    -# enter a number such as 100
    +
    ./savastio
    +# enter a POSITIVE number such as 100
    +

    NOTE: if you specify a negative number it will get stuck, showing no +output. But what happens if you give a non-number?

    Try:

    -
    echo 42 | ./savastio
    +
    ./try.sh

    Judges’ remarks:

    I know an l when I see a 1.

    Author’s remarks:

    @@ -173,6 +180,9 @@ href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/savastio/Mak
  • savastio.orig.c - original source
  • +
  • try.sh +- how to run
  • 1995_savastio.tar.bz2 - download winning source
  • diff --git a/1995/schnitzi/.winner.json b/1995/schnitzi/.winner.json index 74c70f9fb..34e5336b0 100644 --- a/1995/schnitzi/.winner.json +++ b/1995/schnitzi/.winner.json @@ -41,6 +41,14 @@ "display_via_github" : true, "winners_text" : "original source" }, + { + "file_path" : "try.sh", + "inventory_order" : 100, + "OK_to_edit" : true, + "display_as" : "shellscript", + "display_via_github" : true, + "winners_text" : "how to run" + }, { "file_path" : "1995_schnitzi.tar.bz2", "inventory_order" : 300, diff --git a/1995/schnitzi/index.html b/1995/schnitzi/index.html index 23d4a2c17..3b8f2480a 100644 --- a/1995/schnitzi/index.html +++ b/1995/schnitzi/index.html @@ -122,9 +122,7 @@ href="/temp-test-ioccc/location.html#null">unknown

    To use:

    ./schnitzi num

    Try:

    -
    ./schnitzi 24
    -./schnitzi 18
    -./schnitzi 30
    +
    ./try.sh

    WARNING: the author warns to not use too high a number! If you wish to ignore the warning it is an exercise to determine how high is too high. :-)

    @@ -159,6 +157,9 @@ href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/schnitzi/Mak
  • schnitzi.orig.c - original source
  • +
  • try.sh +- how to run
  • 1995_schnitzi.tar.bz2 - download winning source
  • diff --git a/1995/vanschnitz/.winner.json b/1995/vanschnitz/.winner.json index 4cbdbfcf7..57eddd62c 100644 --- a/1995/vanschnitz/.winner.json +++ b/1995/vanschnitz/.winner.json @@ -50,6 +50,14 @@ "display_via_github" : true, "winners_text" : "original source" }, + { + "file_path" : "try.sh", + "inventory_order" : 100, + "OK_to_edit" : true, + "display_as" : "shellscript", + "display_via_github" : true, + "winners_text" : "how to run" + }, { "file_path" : "1995_vanschnitz.tar.bz2", "inventory_order" : 300, diff --git a/1995/vanschnitz/index.html b/1995/vanschnitz/index.html index 7e0a11e0c..59d7c80f9 100644 --- a/1995/vanschnitz/index.html +++ b/1995/vanschnitz/index.html @@ -133,8 +133,7 @@ href="/bugs.md#1995-vanschnitz">1995 vanschnitz in bugs.md.

    To use:

    ./vanschnitz

    Try:

    -
    make clobber all LEVEL=6
    -./vanschnitz
    +
    ./try.sh

    Alternate code:

    The authors provided a spoiler version of the program. Originally uuencoded we have decoded it for the wider audience in vanschnitz.orig.c - original source +

  • try.sh +- how to run
  • 1995_vanschnitz.tar.bz2 - download winning source
  • diff --git a/1996/august/index.html b/1996/august/index.html index ea654ba62..91bfa72f0 100644 --- a/1996/august/index.html +++ b/1996/august/index.html @@ -136,7 +136,7 @@ your compiler or use gcc.

    ./try.sh

    Judges’ remarks:

    This entry can feed on itself. If you C pre-process the source, you -compile the interpreter:

    +can compile the interpreter:

    make august.oc

    We can now compile the interpreter as follows:

    cat august.c august.oc | ./august > august.oo
    diff --git a/1996/dalbec/.winner.json b/1996/dalbec/.winner.json index d65367dd1..09c7ad8ac 100644 --- a/1996/dalbec/.winner.json +++ b/1996/dalbec/.winner.json @@ -41,6 +41,14 @@ "display_via_github" : true, "winners_text" : "original source" }, + { + "file_path" : "try.sh", + "inventory_order" : 100, + "OK_to_edit" : true, + "display_as" : "shellscript", + "display_via_github" : true, + "winners_text" : "how to run" + }, { "file_path" : "1996_dalbec.tar.bz2", "inventory_order" : 300, diff --git a/1996/dalbec/index.html b/1996/dalbec/index.html index 6a52ae223..b7657a1fd 100644 --- a/1996/dalbec/index.html +++ b/1996/dalbec/index.html @@ -121,7 +121,7 @@ Location: US

    To use:

    ./dalbec

    Try:

    -
    ./dalbec 3 | head -n 29
    +
    ./try.sh

    Why does the output end with 121?

    Judges’ remarks:

    The output is mis-leading … why does it also print 2047?

    @@ -185,6 +185,9 @@ href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1996/dalbec/Makef
  • dalbec.orig.c - original source
  • +
  • try.sh +- how to run
  • 1996_dalbec.tar.bz2 - download winning source
  • diff --git a/2000/rince/index.html b/2000/rince/index.html index a0138ca07..29fd14a98 100644 --- a/2000/rince/index.html +++ b/2000/rince/index.html @@ -128,12 +128,8 @@ rince in bugs.md.

    ./rince number number2

    If DISPLAY is not set the program will very likely crash or do something different.

    -

    This is supposed to happen. As is written in the The Jargon -File:

    -
    That's not a bug, that's a feature.

    Try:

    -
    ./try.sh
    +
    ./try.sh

    This will run the program several times with different parameters to show different types of things. See the author’s remarks for more details.

    @@ -145,7 +141,7 @@ through visual observation.

    Author’s remarks:

    How to use it

    The simplest way to run it is with no arguments. Just type:

    -
    ./rince
    +
    ./rince

    You will need to have access to X windows, although it doesn’t require desperately high resolution and there are no known limitations on colour depth.

    @@ -155,12 +151,12 @@ program has a built in time machine. Indeed the program knows the speed of light, which is used to ensure that we see the “live” pictures. Simply specify the fraction of a day to skip forward for each screen refresh. I suggest:

    -
    ./rince 0.01
    +
    ./rince 0.01

    To display the output (still guessing?) for a given date, specify two arguments. The first argument is as before and the second argument is a Julian day number (given as a fractional component). E.g.:

    -
    ./rince 0 2441193.6
    -./rince 0.01 2441193.6
    +
    ./rince 0 2441193.6
    +./rince 0.01 2441193.6

    A Julian day is defined to be the number of days since January 1st in the year -4712 (4713BC), starting at 12 noon GMT.

    Thus we can plot Galileo’s discoveries using the following three plots:

    -
    ./rince 0 $(./dmy2jd  7.8 1 1610)
    -./rince 0 $(./dmy2jd  8.8 1 1610)
    -./rince 0 $(./dmy2jd 10.8 1 1610)
    +
    ./rince 0 $(./dmy2jd  7.8 1 1610)
    +./rince 0 $(./dmy2jd  8.8 1 1610)
    +./rince 0 $(./dmy2jd 10.8 1 1610)

    However we can go one better by seeing what Galileo would have seen if it wasn’t cloudy on the 9th. Try:

    -
    ./rince 0 $(./dmy2jd 9.85 1 1610)
    +
    ./rince 0 $(./dmy2jd 9.85 1 1610)

    to see what he was missing out on. I wonder what he’d have made of that!

    Galileo discovered the fourth moon a few days later.

    diff --git a/2012/vik/index.html b/2012/vik/index.html index 3399acddf..576134224 100644 --- a/2012/vik/index.html +++ b/2012/vik/index.html @@ -175,16 +175,16 @@ resulting image.

    properties. Apart from being quite big and a little bit noisy, it appears that when embedded into another image and extracted, the bitmap data is also a valid brain$#@$ program. It +href="https://en.wikipedia.org/wiki/Brainfuck">brainfuck program. It is of course possible to get the bitmap data from the extracted image, -and run it through any of the previous winning brain$#@$ interpreters, +and run it through any of the previous winning brainfuck interpreters, but I thought it would be easier to include an interpreter in the program to avoid the hassle:

    ./vik e ioccc.png chocolate.png > encodedimg.png
     ./vik b encodedimg.png

    It is of course also possible to embed a brain$#@$ program as +href="https://en.wikipedia.org/wiki/Brainfuck">brainfuck program as a text file (as explained above) and decode it, e.g.:

    ./vik e ioccc.png .+[.+] > encodedimg.png
    @@ -221,16 +221,16 @@ will cause the program to crash.

    Extendability

    Since a lot of care was taken to keep the code simple, it turned out to be quite easy to extend functionality. I did include a small brain$#@$ after I +href="https://en.wikipedia.org/wiki/Brainfuck">brainfuck after I realized that the chocolate image had some interesting properties.

    But there is more functionality I added that didn’t fit within the size limits and could not remain included. For example, I added a method to format source code based on a PNG image. So the format of the program is actually done by the program itself.

    And to be honest, the chocolate image did not have a brain$#@$ program +href="https://en.wikipedia.org/wiki/Brainfuck">brainfuck program embedded to begin with. I added functionality to the program to embed a -brain$#@$ into a PNG image and used it to create the image provided with +brainfuck into a PNG image and used it to create the image provided with the entry.

    I also added a method to analyze PNG images, to print the size and format, as well as the scan line filters.

    diff --git a/2018/burton1/index.html b/2018/burton1/index.html index 4e7f56f3b..2d99c2035 100644 --- a/2018/burton1/index.html +++ b/2018/burton1/index.html @@ -297,10 +297,12 @@ environments.

    the operating system it was birthed within. C is often criticized as a difficult, inscrutable language, but as this contest demonstrates, this is in parody. Shell-gol is one of those instances where someone -preferred a different -language, and (ab)used the preprocessor to re-mold C into something -they found comfortable. Most of the rest of the system, especially in -the kernel, are models of clarity and efficient expression.

    +preferred +a different language, and (ab)used the preprocessor to re-mold C +into something they found comfortable. Most of the rest of the system, +especially in the kernel, are models of clarity and efficient +expression.

    TL;DR:

    So which version is the shortest, portable hex dump?

      diff --git a/tmp/manifest.csv b/tmp/manifest.csv index 41c7d3686..ecc3c60cf 100644 --- a/tmp/manifest.csv +++ b/tmp/manifest.csv @@ -1152,6 +1152,7 @@ 1995,heathbar,heathbar.c,20,true,c,true,winning source 1995,heathbar,Makefile,30,true,makefile,true,winner Makefile 1995,heathbar,heathbar.orig.c,50,false,c,true,original source +1995,heathbar,try.sh,100,true,shellscript,true,how to run 1995,heathbar,1995_heathbar.tar.bz2,300,false,tbz2,false,download winning source 1995,heathbar,README.md,4294967295,true,markdown,true,markdown source for index.html 1995,heathbar,.gitignore,4294967295,true,gitignore,true,list of files that should not be committed under git @@ -1181,6 +1182,7 @@ 1995,savastio,savastio.c,20,true,c,true,winning source 1995,savastio,Makefile,30,true,makefile,true,winner Makefile 1995,savastio,savastio.orig.c,50,true,c,true,original source +1995,savastio,try.sh,100,true,shellscript,true,how to run 1995,savastio,1995_savastio.tar.bz2,300,false,tbz2,false,download winning source 1995,savastio,README.md,4294967295,true,markdown,true,markdown source for index.html 1995,savastio,.gitignore,4294967295,true,gitignore,true,list of files that should not be committed under git @@ -1190,6 +1192,7 @@ 1995,schnitzi,schnitzi.c,20,true,c,true,winning source 1995,schnitzi,Makefile,30,true,makefile,true,winner Makefile 1995,schnitzi,schnitzi.orig.c,50,true,c,true,original source +1995,schnitzi,try.sh,100,true,shellscript,true,how to run 1995,schnitzi,1995_schnitzi.tar.bz2,300,false,tbz2,false,download winning source 1995,schnitzi,README.md,4294967295,true,markdown,true,markdown source for index.html 1995,schnitzi,.gitignore,4294967295,true,gitignore,true,list of files that should not be committed under git @@ -1209,6 +1212,7 @@ 1995,vanschnitz,Makefile,30,true,makefile,true,winner Makefile 1995,vanschnitz,vanschnitz.alt.c,40,true,c,true,alternative source 1995,vanschnitz,vanschnitz.orig.c,50,true,c,true,original source +1995,vanschnitz,try.sh,100,true,shellscript,true,how to run 1995,vanschnitz,1995_vanschnitz.tar.bz2,300,false,tbz2,false,download winning source 1995,vanschnitz,README.md,4294967295,true,markdown,true,markdown source for index.html 1995,vanschnitz,.gitignore,4294967295,true,gitignore,true,list of files that should not be committed under git @@ -1231,6 +1235,7 @@ 1996,dalbec,dalbec.c,20,true,c,true,winning source 1996,dalbec,Makefile,30,true,makefile,true,winner Makefile 1996,dalbec,dalbec.orig.c,50,false,c,true,original source +1996,dalbec,try.sh,100,true,shellscript,true,how to run 1996,dalbec,1996_dalbec.tar.bz2,300,false,tbz2,false,download winning source 1996,dalbec,README.md,4294967295,true,markdown,true,markdown source for index.html 1996,dalbec,.gitignore,4294967295,true,gitignore,true,list of files that should not be committed under git diff --git a/tmp/manifest.numbers b/tmp/manifest.numbers index 0141580ad..d0ab4ebee 100644 Binary files a/tmp/manifest.numbers and b/tmp/manifest.numbers differ diff --git a/tmp/path_list.found.txt b/tmp/path_list.found.txt index 434ace8a8..64b7c9ab6 100644 --- a/tmp/path_list.found.txt +++ b/tmp/path_list.found.txt @@ -1044,6 +1044,7 @@ 1995/heathbar/heathbar.c 1995/heathbar/heathbar.orig.c 1995/heathbar/index.html +1995/heathbar/try.sh 1995/leo/.gitignore 1995/leo/.path 1995/leo/.winner.json @@ -1069,6 +1070,7 @@ 1995/savastio/index.html 1995/savastio/savastio.c 1995/savastio/savastio.orig.c +1995/savastio/try.sh 1995/schnitzi/.gitignore 1995/schnitzi/.path 1995/schnitzi/.winner.json @@ -1077,6 +1079,7 @@ 1995/schnitzi/index.html 1995/schnitzi/schnitzi.c 1995/schnitzi/schnitzi.orig.c +1995/schnitzi/try.sh 1995/spinellis/.gitignore 1995/spinellis/.path 1995/spinellis/.winner.json @@ -1091,6 +1094,7 @@ 1995/vanschnitz/Makefile 1995/vanschnitz/README.md 1995/vanschnitz/index.html +1995/vanschnitz/try.sh 1995/vanschnitz/vanschnitz.alt.c 1995/vanschnitz/vanschnitz.c 1995/vanschnitz/vanschnitz.orig.c @@ -1114,6 +1118,7 @@ 1996/dalbec/dalbec.c 1996/dalbec/dalbec.orig.c 1996/dalbec/index.html +1996/dalbec/try.sh 1996/eldby/.gitignore 1996/eldby/.path 1996/eldby/.winner.json diff --git a/tmp/path_list.manifest.txt b/tmp/path_list.manifest.txt index eacc336fe..a3978b02b 100644 --- a/tmp/path_list.manifest.txt +++ b/tmp/path_list.manifest.txt @@ -1156,6 +1156,7 @@ 1995/heathbar/heathbar.c 1995/heathbar/heathbar.orig.c 1995/heathbar/index.html +1995/heathbar/try.sh 1995/leo/.gitignore 1995/leo/.path 1995/leo/.winner.json @@ -1185,6 +1186,7 @@ 1995/savastio/index.html 1995/savastio/savastio.c 1995/savastio/savastio.orig.c +1995/savastio/try.sh 1995/schnitzi/.gitignore 1995/schnitzi/.path 1995/schnitzi/.winner.json @@ -1194,6 +1196,7 @@ 1995/schnitzi/index.html 1995/schnitzi/schnitzi.c 1995/schnitzi/schnitzi.orig.c +1995/schnitzi/try.sh 1995/spinellis/.gitignore 1995/spinellis/.path 1995/spinellis/.winner.json @@ -1210,6 +1213,7 @@ 1995/vanschnitz/Makefile 1995/vanschnitz/README.md 1995/vanschnitz/index.html +1995/vanschnitz/try.sh 1995/vanschnitz/vanschnitz.alt.c 1995/vanschnitz/vanschnitz.c 1995/vanschnitz/vanschnitz.orig.c @@ -1235,6 +1239,7 @@ 1996/dalbec/dalbec.c 1996/dalbec/dalbec.orig.c 1996/dalbec/index.html +1996/dalbec/try.sh 1996/eldby/.gitignore 1996/eldby/.path 1996/eldby/.winner.json diff --git a/tmp/path_list.required.txt b/tmp/path_list.required.txt index 1fa56d912..1d0666be4 100644 --- a/tmp/path_list.required.txt +++ b/tmp/path_list.required.txt @@ -834,6 +834,7 @@ 1995/heathbar/README.md 1995/heathbar/heathbar.c 1995/heathbar/heathbar.orig.c +1995/heathbar/try.sh 1995/leo/.gitignore 1995/leo/.winner.json 1995/leo/Makefile @@ -853,12 +854,14 @@ 1995/savastio/README.md 1995/savastio/savastio.c 1995/savastio/savastio.orig.c +1995/savastio/try.sh 1995/schnitzi/.gitignore 1995/schnitzi/.winner.json 1995/schnitzi/Makefile 1995/schnitzi/README.md 1995/schnitzi/schnitzi.c 1995/schnitzi/schnitzi.orig.c +1995/schnitzi/try.sh 1995/spinellis/.gitignore 1995/spinellis/.winner.json 1995/spinellis/Makefile @@ -869,6 +872,7 @@ 1995/vanschnitz/.winner.json 1995/vanschnitz/Makefile 1995/vanschnitz/README.md +1995/vanschnitz/try.sh 1995/vanschnitz/vanschnitz.alt.c 1995/vanschnitz/vanschnitz.c 1995/vanschnitz/vanschnitz.orig.c @@ -888,6 +892,7 @@ 1996/dalbec/README.md 1996/dalbec/dalbec.c 1996/dalbec/dalbec.orig.c +1996/dalbec/try.sh 1996/eldby/.gitignore 1996/eldby/.winner.json 1996/eldby/Makefile