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 numwhere num is a non-negative number.
./heathbar 4253 2281./try.shThe 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/Makmake allThe current status of this entry is:
+STATUS: INABIAF - please **DO NOT** fix
+For more detailed information see 1995 savastio in bugs.md.
./savastio
-# enter a number such as 100./savastio
+# enter a POSITIVE number such as 100NOTE: if you specify a negative number it will get stuck, showing no +output. But what happens if you give a non-number?
echo 42 | ./savastio./try.shI know an l when I see a 1.
./schnitzi num./schnitzi 24
-./schnitzi 18
-./schnitzi 30./try.shWARNING: 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./vanschnitzmake clobber all LEVEL=6
-./vanschnitz./try.shThe 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.shThis entry can feed on itself. If you C pre-process the source, you -compile the interpreter:
+can compile the interpreter:make august.ocWe can now compile the interpreter as follows:
cat august.c august.oc | ./august > august.oo./dalbec./dalbec 3 | head -n 29./try.shWhy does the output end with 121?
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./rince number number2If 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.sh./try.shThis 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.The simplest way to run it is with no arguments. Just type:
-./rince./rinceYou 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.01To 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.6A Julian day is defined to be the number of days since January 1st in
the year Thus we can plot Galileo’s discoveries using the following three
plots: However we can go one better by seeing what Galileo would have seen
if it wasn’t cloudy on the 9th. Try: 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.-4712 (4713BC), starting at 12 noon GMT.
./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)./rince 0 $(./dmy2jd 9.85 1 1610)./rince 0 $(./dmy2jd 9.85 1 1610)
./vik e ioccc.png chocolate.png > encodedimg.png
./vik b encodedimg.pngIt 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