add rules, guidelines, fix HTML code, move compressed tarball in inventory

By changing the _inventory_order_ of the compressed tarball from
**100000** to **1415926535**, the compressed tarball will land at
the top of the secondary file list and remain still easy to find.

Updated the `manifest.numbers` spreadsheet and rebuilt
the `.entry.json` files.

Added `next/` directory to hold the next IOCCC rules and guidelines.
Added `next/README.md` that `bin/gen-top-html.sh` uses to form
the `next/index.html` file.

Added _Rules and Guidelines_ link to the sidenav bar to link to the
`next/index.html` file.

Added _IOCCC Rules_ as `next/rules.md` that `bin/gen-top-html.sh`
uses to form the `next/rules.html` file.

Added _IOCCC Guidelines_ as `next/guidelines.md` that `bin/gen-top-html.sh`
uses to form the `next/guidelines.html` file.

Changed `bin/gen-top-html.sh` VERSION from "1.2.4 2024-04-13"
to "1.3 2024-04-14".

Prevent `pandoc(1)` from interpreting the commented out language
of a markdown code block as a code class.  So a markdown such as:

````
``` <!---sh-->
...
```
````

that produced HTML of the form:

```html
<pre class="&lt;!---sh--&gt;"><code>...</code></pre>
```

will now produce HTML of the form:

```html
<pre><code>...</code></pre>
```

NOTE: Before when the language of a markdown code block
was not commented, the HTML produced by `pandoc(1)` was
oddly indented with extra whitespace on the first line
of the code block.  While commenting out the language
of the code block removed some of the odd intending,
it left a weird class in the HTML pre block that
surrounded the HTML code block.  This hack prevents
`pandoc(1)` from assigning a class to the HTML pre block.

Changed `in/md2html.sh` VERSION from "1.2.1 2024-04-13"
to "1.3 2024-04-14".

Added `make gen_sitemap` to end of both `make www` and `make
quick_www` in top level Makefile.

Ram `make www` to test under macOS and to perform the above.

**IMPORTANT NOTE**: The current `next/rules.md` and `next/guidelines.md`
are simply the 2020 IOCCC Rules and Guidelines converted into
markdown form.  There are **NOT** the Rules and Guidelines that
will be used the IOCCC MOCK, nor the next IOCCC.

TODO: Improve the `bin/gen-status.sh` tool to modify the top of the
      `next/rules.md` and `next/guidelines.md` files to keep them
      in sync with the _contest_status_ as found in `status.json`.

TODO: Improve the look and feel of the `next/rules.md` and
      `next/guidelines.md` markdown files.
This commit is contained in:
Landon Curt Noll committed 2024-04-14 16:54:24 -07:00
1 parent a672335d2d
commit 518a6336d0
734 files changed
+7919 -4119

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@
},
{
"file_path" : "1995_cdua.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+8 -7
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -144,7 +145,7 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></l
<p>We recommend that you try the alternate version first so you can see what this
entry looked like back in 1995 (with a configurable speed). See the <a href="#original-code">original
code</a> section below for the original entry.</p>
<pre class="&lt;!---sh--&gt;"><code> make alt</code></pre>
<pre><code> make alt</code></pre>
<p>The alternate version uses <code>usleep(3)</code> with <code>SLEEP</code> (defined in the Makefile,
default <code>3000</code>) microseconds to make it easier to see the maze being solved in
real time. You can redefine <code>SLEEP</code> at compile time to reconfigure it in case
@@ -155,13 +156,13 @@ making it 100000 (which is actually fun :-) ).</p>
<pre><code> STATUS: INABIAF - please **DO NOT** fix</code></pre>
<p>For more detailed information see <a href="../../bugs.html#1995_cdua">1995 cdua bugs</a>.</p>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./cdua.alt</code></pre>
<pre><code> ./cdua.alt</code></pre>
<h2 id="try">Try:</h2>
<pre class="&lt;!---sh--&gt;"><code> make SLEEP=1500 clobber alt
<pre><code> make SLEEP=1500 clobber alt
./cdua.alt # press enter and watch it go much faster!</code></pre>
<p>You might also like to try:</p>
<pre class="&lt;!---sh--&gt;"><code> make SLEEP=65000 clobber alt
<pre><code> make SLEEP=65000 clobber alt
./cdua.alt # press enter and watch it go much slower!</code></pre>
<p>Do you see anything strange in this version when <code>SLEEP</code> is a high value like
@@ -174,9 +175,9 @@ actually see it being solved in real time rather than have it go by in a flash.<
<p>If you wish to use the original version, for instance if you wish to see how
fast your computer is :-) or use both to see the difference, you can do so.</p>
<h3 id="original-build">Original build:</h3>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<h3 id="original-use">Original use:</h3>
<pre class="&lt;!---sh--&gt;"><code> ./cdua</code></pre>
<pre><code> ./cdua</code></pre>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>This could be used as the basis of an a-maze-ing screen exerciser.</p>
<h2 id="authors-remarks">Author’s remarks:</h2>
@@ -211,10 +212,10 @@ statement to solve the maze.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/cdua/Makefile">Makefile</a> - entry Makefile</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/cdua/cdua.alt.c">cdua.alt.c</a> - alternative source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/cdua/cdua.orig.c">cdua.orig.c</a> - original source</li>
<li><a href="1995_cdua.tar.bz2">1995_cdua.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_cdua.tar.bz2">1995_cdua.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/cdua/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/cdua/.entry.json">.entry.json</a> - description of entry in JSON</li>
+1 -1
View File
@@ -51,7 +51,7 @@
},
{
"file_path" : "1995_dodsond1.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+6 -5
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -141,11 +142,11 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./dodsond1 &lt; text_file</code></pre>
<pre><code> ./dodsond1 &lt; text_file</code></pre>
<h2 id="try">Try:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./dodsond1 &lt; README.md</code></pre>
<pre><code> ./dodsond1 &lt; README.md</code></pre>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>You might consider giving the following input:</p>
<pre><code> ... a male (who) gets very, very frustrated sitting in a chair all
@@ -153,7 +154,7 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
giraffes.
-- Adjunct Professor Newt Gingrich, Reinhardt College, 1/7/95</code></pre>
<p>… which can be done like:</p>
<pre class="&lt;!---c--&gt;"><code> ./try.sh</code></pre>
<pre><code> ./try.sh</code></pre>
<h2 id="authors-remarks">Author’s remarks:</h2>
<p>Istha ogrampra akesta Englishwa extta aswa inputwa andwa
anslatestra itwa intowa Igpa Atinla.</p>
@@ -192,10 +193,10 @@ code being inside the <code>()</code>’s of one of the 6 <code>orfa</code> loop
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/dodsond1/dodsond1.orig.c">dodsond1.orig.c</a> - original source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/dodsond1/try.sh">try.sh</a> - how to run</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/dodsond1/try.this.txt">try.this.txt</a> - sample input</li>
<li><a href="1995_dodsond1.tar.bz2">1995_dodsond1.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_dodsond1.tar.bz2">1995_dodsond1.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/dodsond1/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/dodsond1/.entry.json">.entry.json</a> - description of entry in JSON</li>
+1 -1
View File
@@ -35,7 +35,7 @@
},
{
"file_path" : "1995_dodsond2.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+4 -3
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -141,9 +142,9 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./dodsond2</code></pre>
<pre><code> ./dodsond2</code></pre>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>An amazing entry!</p>
<p>The official chef enjoyed solving the maze, which she did on the first
@@ -181,10 +182,10 @@ in an unknown labyrinth, areas which you have not visited cannot be seen.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/dodsond2/dodsond2.c">dodsond2.c</a> - entry source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/dodsond2/Makefile">Makefile</a> - entry Makefile</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/dodsond2/dodsond2.orig.c">dodsond2.orig.c</a> - original source</li>
<li><a href="1995_dodsond2.tar.bz2">1995_dodsond2.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_dodsond2.tar.bz2">1995_dodsond2.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/dodsond2/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/dodsond2/.entry.json">.entry.json</a> - description of entry in JSON</li>
+1 -1
View File
@@ -59,7 +59,7 @@
},
{
"file_path" : "1995_esde.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+5 -4
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -141,12 +142,12 @@ Location: <a href="../../location.html#PL">PL</a> - <em>Republic of Poland</em>
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./esde data-file word</code></pre>
<pre><code> ./esde data-file word</code></pre>
<p>where data-file contains lines of &lt; 255 chars in length.</p>
<h2 id="try">Try:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./try.sh</code></pre>
<pre><code> ./try.sh</code></pre>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>When reading the source be careful to distinguish between variable
names and library functions.</p>
@@ -206,10 +207,10 @@ in each line).</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/esde/esde.data2">esde.data2</a> - example file argument</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/esde/esde.data">esde.data</a> - example file argument</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/esde/try.sh">try.sh</a> - how to run</li>
<li><a href="1995_esde.tar.bz2">1995_esde.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_esde.tar.bz2">1995_esde.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/esde/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/esde/.entry.json">.entry.json</a> - description of entry in JSON</li>
+1 -1
View File
@@ -75,7 +75,7 @@
},
{
"file_path" : "1995_garry.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+11 -10
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -141,22 +142,22 @@ Location: <a href="../../location.html#DE">DE</a> - <em>Federal Republic of Germ
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./garry &lt;input_file &gt;output_file</code></pre>
<pre><code> ./garry &lt;input_file &gt;output_file</code></pre>
<h2 id="try">Try:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./try.sh</code></pre>
<pre><code> ./try.sh</code></pre>
<h2 id="alternate-code">Alternate code:</h2>
<p>While it may not have been the intention of the author, the
judges noted that the C pre-processed version (with the <code>#include</code>s
left intact) looked very much like a rat “dropping core”. See
<a href="garry.alt.c">garry.alt.c</a> and judge for yourself!</p>
<h3 id="alternate-build">Alternate build:</h3>
<pre class="&lt;!---sh--&gt;"><code> make alt</code></pre>
<pre><code> make alt</code></pre>
<h3 id="alternate-use">Alternate use:</h3>
<pre class="&lt;!---sh--&gt;"><code> ./garry.alt &lt;input_file &gt;output_file</code></pre>
<pre><code> ./garry.alt &lt;input_file &gt;output_file</code></pre>
<h3 id="alternate-try">Alternate try:</h3>
<pre class="&lt;!---sh--&gt;"><code> ./try.alt.sh</code></pre>
<pre><code> ./try.alt.sh</code></pre>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>The author was kind enough to provide a less obfuscated version of
the source called <a href="garry.fmt.c">garry.fmt.c</a>.</p>
@@ -166,9 +167,9 @@ incorporating the ability to create binary from escaped data in the
environment variables.</p>
<p>The calling syntax is pretty simple, just use it with <code>stdio</code>-redirection
or inside pipelines, e.g.:</p>
<pre class="&lt;!---sh--&gt;"><code> ./garry &lt;file_to_convert &gt;converted_file</code></pre>
<pre><code> ./garry &lt;file_to_convert &gt;converted_file</code></pre>
<p>or</p>
<pre class="&lt;!---sh--&gt;"><code> cat all_my_files/* | ./garry | lp</code></pre>
<pre><code> cat all_my_files/* | ./garry | lp</code></pre>
<p>The syntax of the conversion of the input file is as follows: To include the
value of an environment variable in the output file, place the name of the
variable between <code>$</code>-signs in the input, e.g.:</p>
@@ -177,7 +178,7 @@ variable between <code>$</code>-signs in the input, e.g.:</p>
<p>Unknown Env-variables or malformed expressions are ignored and kept intact.</p>
<p>Additionally, the filter replaces escaped octal values in the environment
variables by their binary representation, e.g.:</p>
<pre class="&lt;!---sh--&gt;"><code> $ TEST=&quot;\110\145\154\154\157&quot;
<pre><code> $ TEST=&quot;\110\145\154\154\157&quot;
$ export TEST
$ echo &#39;$TEST$&#39; | ./garry
Hello</code></pre>
@@ -212,10 +213,10 @@ variables by their binary representation, e.g.:</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/garry/try.alt.sh">try.alt.sh</a> - how to run alternative code</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/garry/try.sh">try.sh</a> - how to run</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/garry/garry.fmt.c">garry.fmt.c</a> - defocused source code</li>
<li><a href="1995_garry.tar.bz2">1995_garry.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_garry.tar.bz2">1995_garry.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/garry/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/garry/.entry.json">.entry.json</a> - description of entry in JSON</li>
+1 -1
View File
@@ -44,7 +44,7 @@
},
{
"file_path" : "1995_heathbar.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+5 -4
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -144,12 +145,12 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></l
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./heathbar num num</code></pre>
<pre><code> ./heathbar num num</code></pre>
<p>where num is a non-negative number.</p>
<h2 id="try">Try:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./try.sh</code></pre>
<pre><code> ./try.sh</code></pre>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>The main reason we liked this entry was mainly because the main
effect of the source was self documenting! :-)</p>
@@ -209,10 +210,10 @@ diligent effort to write especially clear code gets me extra points!</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/heathbar/Makefile">Makefile</a> - entry Makefile</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/heathbar/heathbar.orig.c">heathbar.orig.c</a> - original source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/heathbar/try.sh">try.sh</a> - how to run</li>
<li><a href="1995_heathbar.tar.bz2">1995_heathbar.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_heathbar.tar.bz2">1995_heathbar.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/heathbar/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/heathbar/.entry.json">.entry.json</a> - description of entry in JSON</li>
+1
View File
@@ -86,6 +86,7 @@
<div class="sidenav">
<a href="../news.html">IOCCC News</a>
<a href="../status.html">Contest status</a>
<a href="../next/index.html">Rules and Guidelines</a>
<a href="../faq.html#submit">How to enter the IOCCC</a>
<a href="../faq.html">FAQ</a>
</div>
+1 -1
View File
@@ -51,7 +51,7 @@
},
{
"file_path" : "1995_leo.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+11 -10
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -141,16 +142,16 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<h3 id="bugs-and-misfeatures">Bugs and (Mis)features:</h3>
<p>The current status of this entry is:</p>
<pre><code> STATUS: known bug - please help us fix</code></pre>
<p>For more detailed information see <a href="../../bugs.html#1995_leo">1995 leo bugs</a>.</p>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./leo [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]</code></pre>
<pre><code> ./leo [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]</code></pre>
<p>See the author’s information below on these details.</p>
<h2 id="try">Try:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./try.sh</code></pre>
<pre><code> ./try.sh</code></pre>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>Press return after each image is drawn.</p>
<p>The variable names are element-ary. If you find this confusing,
@@ -163,7 +164,7 @@ the secret switches that the author doesn’t divulge ! (All switches are single
characters on the command line - anything that’s not a number is a candidate.)</p>
<h2 id="authors-remarks">Author’s remarks:</h2>
<p>The usage is:</p>
<pre class="&lt;!---sh--&gt;"><code> ./leo [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]</code></pre>
<pre><code> ./leo [ deep ] [ right ] [ Variable ] [ cycle [ freq ] ]</code></pre>
<p>where the first three are literal words, <code>cycle</code> is a positive integer (0 is
ignored), and <code>freq</code> is an integer (default = 0) that’s supposed to be in the
range <code>0..100</code> (bigger values are allowed, however). Invalid parameters and
@@ -173,7 +174,7 @@ equivalent to <code>./leo 0 0 0 1 Variable 70 right</code>, etc.</p>
<p>If <code>Variable</code> is used, <code>cycle</code> is almost ignored (see below) but has
to be present if you want to enter <code>freq</code> (and you usually do).</p>
<p>Some options to try (besides the obvious):</p>
<pre class="&lt;!---sh--&gt;"><code> ./leo 1 | cat - /dev/tty | gs -</code></pre>
<pre><code> ./leo 1 | cat - /dev/tty | gs -</code></pre>
<p>This draws the basic pattern I invented in high school:</p>
<p>You take a big sheet of “arithmetic” paper and draw a line
of length 1 (between 2 crossings) at the center of the sheet:</p>
@@ -253,11 +254,11 @@ the opening for step 1 is not a single line but a cross:</p>
<pre><code> \./
/ \</code></pre>
<p>To watch it repeatedly (as a screen saver), use:</p>
<pre class="&lt;!---sh--&gt;"><code> ./leo 2 | cat - /dev/tty | gs -</code></pre>
<pre><code> ./leo 2 | cat - /dev/tty | gs -</code></pre>
<p>The command line:</p>
<pre class="&lt;!---sh--&gt;"><code> ./leo Variable 1 | cat - /dev/tty | gs -</code></pre>
<pre><code> ./leo Variable 1 | cat - /dev/tty | gs -</code></pre>
<p>draws the same as above. Try:</p>
<pre class="&lt;!---sh--&gt;"><code> ./leo Variable 1 1 | cat - /dev/tty | gs -</code></pre>
<pre><code> ./leo Variable 1 1 | cat - /dev/tty | gs -</code></pre>
<p>What happened to the picture? Increase <code>freq</code> and watch the changes.</p>
<p>If <code>cycle</code> is more than 1, the program loops, allowing the user to
enjoy randomly changing patterns (the delay is 3 seconds),
@@ -272,7 +273,7 @@ if you want to pipe the output to a printer.</p>
<p>If <code>Variable</code> is used, the actual value of <code>cycle</code> doesn’t matter,
as far as it is &gt; 1. To figure out what difference
<code>cycle</code> makes when <code>Variable</code> is not used, try</p>
<pre class="&lt;!---sh--&gt;"><code> ./leo Variable 37 80 | cat - /dev/tty | gs -</code></pre>
<pre><code> ./leo Variable 37 80 | cat - /dev/tty | gs -</code></pre>
<p>and other values of <code>cycle</code>; smaller values usually require
smaller values of <code>freq</code> for the patterns to be non-trivial.</p>
<p>The options <code>deep</code> and <code>right</code> make the patterns to be drawn in different
@@ -323,10 +324,10 @@ even want to explain what it does. You’ve been warned!</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/leo/leo.orig.c">leo.orig.c</a> - original source</li>
<li><a href="spoiler1.html">spoiler1.html</a> - spoiler document</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/leo/try.sh">try.sh</a> - how to run</li>
<li><a href="1995_leo.tar.bz2">1995_leo.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_leo.tar.bz2">1995_leo.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/leo/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/leo/.entry.json">.entry.json</a> - description of entry in JSON</li>
+1
View File
@@ -83,6 +83,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
+1 -1
View File
@@ -36,7 +36,7 @@
},
{
"file_path" : "1995_makarios.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+4 -3
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -144,9 +145,9 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></l
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./makarios</code></pre>
<pre><code> ./makarios</code></pre>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>The judges were impressed that such a small program could do so much!
Can you figure out how it does it?</p>
@@ -180,10 +181,10 @@ of prime palindromes (palindromic in base 8, of course).</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/makarios/makarios.c">makarios.c</a> - entry source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/makarios/Makefile">Makefile</a> - entry Makefile</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/makarios/makarios.orig.c">makarios.orig.c</a> - original source</li>
<li><a href="1995_makarios.tar.bz2">1995_makarios.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_makarios.tar.bz2">1995_makarios.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/makarios/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/makarios/.entry.json">.entry.json</a> - description of entry in JSON</li>
+1 -1
View File
@@ -43,7 +43,7 @@
},
{
"file_path" : "1995_savastio.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+5 -4
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -141,18 +142,18 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></l
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<h3 id="bugs-and-misfeatures">Bugs and (Mis)features:</h3>
<p>The current status of this entry is:</p>
<pre><code> STATUS: INABIAF - please **DO NOT** fix</code></pre>
<p>For more detailed information see <a href="../../bugs.html#1995_savastio">1995 savastio bugs</a>.</p>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./savastio
<pre><code> ./savastio
# enter a POSITIVE number such as 100</code></pre>
<p>NOTE: if you specify a negative number it will get stuck, showing no output. But
what happens if you give a non-number?</p>
<h2 id="try">Try:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./try.sh</code></pre>
<pre><code> ./try.sh</code></pre>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>I know an l when I see a 1.</p>
<h2 id="authors-remarks">Author’s remarks:</h2>
@@ -205,10 +206,10 @@ time management studies and the factorial arts.</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/savastio/Makefile">Makefile</a> - entry Makefile</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/savastio/savastio.orig.c">savastio.orig.c</a> - original source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/savastio/try.sh">try.sh</a> - how to run</li>
<li><a href="1995_savastio.tar.bz2">1995_savastio.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_savastio.tar.bz2">1995_savastio.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/savastio/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/savastio/.entry.json">.entry.json</a> - description of entry in JSON</li>
+1 -1
View File
@@ -43,7 +43,7 @@
},
{
"file_path" : "1995_schnitzi.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+5 -4
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -141,11 +142,11 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></l
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./schnitzi num</code></pre>
<pre><code> ./schnitzi num</code></pre>
<h2 id="try">Try:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./try.sh</code></pre>
<pre><code> ./try.sh</code></pre>
<p>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. :-)</p>
<h2 id="judges-remarks">Judges’ remarks:</h2>
@@ -182,10 +183,10 @@ amounts to doing a fork bomb on your machine!</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/schnitzi/Makefile">Makefile</a> - entry Makefile</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/schnitzi/schnitzi.orig.c">schnitzi.orig.c</a> - original source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/schnitzi/try.sh">try.sh</a> - how to run</li>
<li><a href="1995_schnitzi.tar.bz2">1995_schnitzi.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_schnitzi.tar.bz2">1995_schnitzi.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/schnitzi/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/schnitzi/.entry.json">.entry.json</a> - description of entry in JSON</li>
+1 -1
View File
@@ -35,7 +35,7 @@
},
{
"file_path" : "1995_spinellis.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+4 -3
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -141,9 +142,9 @@ Location: <a href="../../location.html#GR">GR</a> - <em>Hellenic Republic</em> (
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./spinellis &lt; spinellis.c</code></pre>
<pre><code> ./spinellis &lt; spinellis.c</code></pre>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>While the code does not abuse the rules, its output surely does!</p>
<p>P.S. Does the source have any spelling errors?</p>
@@ -182,10 +183,10 @@ the rules?</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/spinellis/spinellis.c">spinellis.c</a> - entry source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/spinellis/Makefile">Makefile</a> - entry Makefile</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/spinellis/spinellis.orig.c">spinellis.orig.c</a> - original source</li>
<li><a href="1995_spinellis.tar.bz2">1995_spinellis.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_spinellis.tar.bz2">1995_spinellis.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/spinellis/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/spinellis/.entry.json">.entry.json</a> - description of entry in JSON</li>
+1 -1
View File
@@ -52,7 +52,7 @@
},
{
"file_path" : "1995_vanschnitz.tar.bz2",
"inventory_order" : 100000,
"inventory_order" : 1415926535,
"OK_to_edit" : false,
"display_as" : "tbz2",
"display_via_github" : false,
+8 -7
View File
@@ -88,6 +88,7 @@
<div class="sidenav">
<a href="../../news.html">IOCCC News</a>
<a href="../../status.html">Contest status</a>
<a href="../../next/index.html">Rules and Guidelines</a>
<a href="../../faq.html#submit">How to enter the IOCCC</a>
<a href="../../faq.html">FAQ</a>
</div>
@@ -144,7 +145,7 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></l
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<pre class="&lt;!---sh--&gt;"><code> make all</code></pre>
<pre><code> make all</code></pre>
<p>The authors provided a spoiler version, originally uuencoded but uudecoded by us
in 2023. See <a href="#alternate-code">Alternate code</a> below.</p>
<h3 id="bugs-and-misfeatures">Bugs and (Mis)features:</h3>
@@ -152,16 +153,16 @@ in 2023. See <a href="#alternate-code">Alternate code</a> below.</p>
<pre><code> STATUS: missing file - please provide it</code></pre>
<p>For more detailed information see <a href="../../bugs.html#1995_vanschnitz">1995 vanschnitz bugs</a>.</p>
<h2 id="to-use">To use:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./vanschnitz</code></pre>
<pre><code> ./vanschnitz</code></pre>
<h2 id="try">Try:</h2>
<pre class="&lt;!---sh--&gt;"><code> ./try.sh</code></pre>
<pre><code> ./try.sh</code></pre>
<h2 id="alternate-code">Alternate code:</h2>
<p>The authors provided a spoiler version of the program. Originally uuencoded we
have decoded it for the wider audience in <a href="vanschnitz.alt.c">vanschnitz.alt.c</a>. The
<code>uuencode</code>d blob is still available in their remarks below. They encourage you
to first try and figure out the program without the spoiler.</p>
<h3 id="alternate-build">Alternate build:</h3>
<pre class="&lt;!---sh--&gt;"><code> make alt</code></pre>
<pre><code> make alt</code></pre>
<h3 id="alternate-use">Alternate use:</h3>
<p>Use <code>vanschnitz.alt</code> as you would <code>vanschnitz</code> above.</p>
<h2 id="judges-remarks">Judges’ remarks:</h2>
@@ -187,7 +188,7 @@ for. This is done by defining the symbol <code>n</code> on the compile
line. For instance, to cause the compiler to solve the Towers
of Hanoi problem with four disks, you would compile the program
like this:</p>
<pre class="&lt;!---sh--&gt;"><code> gcc hanoi.c -o hanoi -Dn=4</code></pre>
<pre><code> gcc hanoi.c -o hanoi -Dn=4</code></pre>
<p>A default value of <code>5</code> will be used for <code>n</code> if you do not define
it on the command line. The value of <code>n</code> cannot be greater than
fifteen (the compiler we used to test has a limit on the <code>#include</code>
@@ -208,7 +209,7 @@ ANSI C feature in which adjacent character strings are
concatenated; a version that does not use this feature has been
included for people who can only run K&amp;R). A good way to see
the resulting program (on a Unix system) is to do the command</p>
<pre class="&lt;!---sh--&gt;"><code> gcc hanoi.c -E -Dn=5 | grep -v \# | grep -v ^\$</code></pre>
<pre><code> gcc hanoi.c -E -Dn=5 | grep -v \# | grep -v ^\$</code></pre>
<p>For an odd number of disks, the program will provide a
solution wherein the disks end up on peg 2; for an even
number of disks, they will end on peg 3. This should
@@ -321,10 +322,10 @@ to try to decipher the program without it…</p>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/vanschnitz/vanschnitz.alt.c">vanschnitz.alt.c</a> - alternative source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/vanschnitz/vanschnitz.orig.c">vanschnitz.orig.c</a> - original source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/vanschnitz/try.sh">try.sh</a> - how to run</li>
<li><a href="1995_vanschnitz.tar.bz2">1995_vanschnitz.tar.bz2</a> - download entry tarball</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="1995_vanschnitz.tar.bz2">1995_vanschnitz.tar.bz2</a> - download entry tarball</li>
<li><a href="index.html">index.html</a> - this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/vanschnitz/README.md">README.md</a> - markdown source for this web page</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/vanschnitz/.entry.json">.entry.json</a> - description of entry in JSON</li>