force use of pandoc version >= 3.1.12.2
The `bin/pandoc-wrapper.sh` tool will verify that the ssytem has a recent enough version of `pandoc(1)`. We explain why we insist on `pandoc(1)`. version >= 3.1.12.2 in comments where the $PANDOC_MIN_VERSION is set. Added `--wrap=preserve` as a default argument to `pandoc(1)`. While this change will impact every HTML file generated, we believe this will improve the ability of someone to look at the generated HTML and correlate with the original markdown. Changed `bin/pandoc-wrapper.sh` VERSION from "1.4.2 2024-03-17" to "1.4.3 2024-03-18". Performed `make www` to achieve all of the above and to generate HTML using the new `--wrap=preserve` `pandoc(1)` mode.
This commit is contained in:
1 parent
9eb7a54e9f
commit
b0b212acb1
402 files changed
+37061
-55132
No files matched your search
+51
-78
@@ -129,9 +129,9 @@
|
||||
|
||||
<h2 id="author"><a name="author"></a>Author:</h2>
|
||||
<ul>
|
||||
<li>Name: <a href="../../authors.html#Vincent_Weaver">Vincent
|
||||
Weaver</a><br> Location: <a href="../../location.html#US">US</a> -
|
||||
<em>United States of America</em> (<em>United States</em>) <br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Vincent_Weaver">Vincent Weaver</a><br>
|
||||
Location: <a href="../../location.html#US">US</a> - <em>United States of America</em> (<em>United States</em>)
|
||||
<br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -140,18 +140,17 @@ Weaver</a><br> Location: <a href="../../location.html#US">US</a> -
|
||||
<!-- 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>
|
||||
<p>Before building, make sure that you have the OpenGL development
|
||||
libraries installed.</p>
|
||||
<p>Before building, make sure that you have the OpenGL development libraries
|
||||
installed.</p>
|
||||
<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">make</span></span></code></pre></div>
|
||||
<h2 id="to-use">To use:</h2>
|
||||
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./vince</span></span></code></pre></div>
|
||||
<h2 id="try">Try:</h2>
|
||||
<p>When running this in the program’s window try hitting space a few
|
||||
times and see what happens!</p>
|
||||
<p>When running this in the program’s window try hitting space a few times and see
|
||||
what happens!</p>
|
||||
<h2 id="alternate-code">Alternate code:</h2>
|
||||
<p>The <a href="vince.alt.c">vince.alt.c</a> code of the submission will
|
||||
run on SGI IRIX and also has the recursive <code>CPP</code> macro (which
|
||||
sneaked in accidentally) removed.</p>
|
||||
<p>The <a href="vince.alt.c">vince.alt.c</a> code of the submission will run on SGI IRIX and
|
||||
also has the recursive <code>CPP</code> macro (which sneaked in accidentally) removed.</p>
|
||||
<h3 id="alternate-build">Alternate build:</h3>
|
||||
<p>To compile this alternate version:</p>
|
||||
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="fu">make</span> alt</span></code></pre></div>
|
||||
@@ -160,113 +159,87 @@ sneaked in accidentally) removed.</p>
|
||||
<h3 id="alternate-try">Alternate try:</h3>
|
||||
<p>Try it just like <code>vince</code> as above.</p>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>This beauteous entry makes use of visual <code>{}</code>s and
|
||||
whitespace to instruct the <a href="https://www.opengl.org">OpenGL</a>
|
||||
development libraries to create beauteous visuals. Even hitting the
|
||||
space bar while the program runs produces a “spacey” effect! :-)</p>
|
||||
<p>NOTE: when hitting space bar make sure that the program window is in
|
||||
focus!</p>
|
||||
<p>Challenge: Try modifying the texture to something of your own
|
||||
design.</p>
|
||||
<p>This beauteous entry makes use of visual <code>{}</code>s and whitespace to instruct the
|
||||
<a href="https://www.opengl.org">OpenGL</a> development libraries to create beauteous
|
||||
visuals. Even hitting the space bar while the program runs produces a “spacey”
|
||||
effect! :-)</p>
|
||||
<p>NOTE: when hitting space bar make sure that the program window is in focus!</p>
|
||||
<p>Challenge: Try modifying the texture to something of your own design.</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
<h3 id="abuse-of-rules">ABUSE OF RULES</h3>
|
||||
<ul>
|
||||
<li><p>The executable needs to read in its own source code in order to
|
||||
run. As long as the source is in the same directory as the executable it
|
||||
should be able to find it…</p></li>
|
||||
<li><p>The executable needs to read in its own source code in order to run. As
|
||||
long as the source is in the same directory as the executable it should be
|
||||
able to find it…</p></li>
|
||||
<li><p>The program requires the OpenGL library.</p></li>
|
||||
<li><p>The program abuses severely the whitespace and <code>{ } ;</code>
|
||||
exceptions in the file size limits.</p></li>
|
||||
<li><p>The program abuses severely the whitespace and <code>{ } ;</code> exceptions in the
|
||||
file size limits.</p></li>
|
||||
</ul>
|
||||
<h3 id="requirements">Requirements</h3>
|
||||
<ul>
|
||||
<li><p>OpenGL. It works (slowly) with Mesa.</p></li>
|
||||
<li><p>16bpp graphics capability (but might work at other
|
||||
depths)</p></li>
|
||||
<li><p>The original source needs to be in the same directory as the
|
||||
executable, and the source’s name should be the same as the executable
|
||||
but with <code>.c</code> on the end.</p></li>
|
||||
<li><p>16bpp graphics capability (but might work at other depths)</p></li>
|
||||
<li><p>The original source needs to be in the same directory as the executable,
|
||||
and the source’s name should be the same as the executable but with <code>.c</code> on the
|
||||
end.</p></li>
|
||||
</ul>
|
||||
<h3 id="background">Background</h3>
|
||||
<p>I was annoyed after the last IOCCC because I slaved away on a clever
|
||||
text based game only to find all of the game entries used X11. X11 isn’t
|
||||
standard C!</p>
|
||||
<p>So to one up them, I decided to use OpenGL. It’s standard, and most
|
||||
Unix-like systems these days have either accelerated graphics or else
|
||||
software rendering.</p>
|
||||
<p>I was annoyed after the last IOCCC because I slaved away on a clever text
|
||||
based game only to find all of the game entries used X11. X11 isn’t standard
|
||||
C!</p>
|
||||
<p>So to one up them, I decided to use OpenGL. It’s standard, and most Unix-like
|
||||
systems these days have either accelerated graphics or else software
|
||||
rendering.</p>
|
||||
<h3 id="obfuscation">Obfuscation</h3>
|
||||
<p>It was a challenge getting the source code below the 2k limit. OpenGL
|
||||
has way too many ‘<code>GRATUITOUSLY_LONG_CONSTANTS</code>’ and
|
||||
‘<code>glLongStudlyFunctionNames();</code>’.</p>
|
||||
<p>Therefore, much of the obfuscation comes secondary to just reducing
|
||||
the code size to fit under the limit while still having some semblance
|
||||
of a demo.</p>
|
||||
<p>It was a challenge getting the source code below the 2k limit. OpenGL has way
|
||||
too many ‘<code>GRATUITOUSLY_LONG_CONSTANTS</code>’ and ‘<code>glLongStudlyFunctionNames();</code>’.</p>
|
||||
<p>Therefore, much of the obfuscation comes secondary to just reducing the code
|
||||
size to fit under the limit while still having some semblance of a demo.</p>
|
||||
<p>There are some interesting abuses scattered about.</p>
|
||||
<h3 id="usage">Usage</h3>
|
||||
<p>Try hitting the space bar when the program is running.</p>
|
||||
<h3 id="for-fun">For Fun</h3>
|
||||
<p>Try modifying the texture to your own custom design…</p>
|
||||
<h3 id="thanks">Thanks</h3>
|
||||
<p>Many thanks to John Clemens for testing this on various machines for
|
||||
me.</p>
|
||||
<p>Many thanks to John Clemens for testing this on various machines for me.</p>
|
||||
<h3 id="errors-you-can-get">Errors you can get</h3>
|
||||
<ul>
|
||||
<li>0 = no error.</li>
|
||||
<li>1 = <a
|
||||
href="https://en.wikipedia.org/wiki/X_Window_System_protocols_and_architecture">X</a>
|
||||
<li>1 =
|
||||
<a href="https://en.wikipedia.org/wiki/X_Window_System_protocols_and_architecture">X</a>
|
||||
problem.</li>
|
||||
<li>2 = can’t open <a
|
||||
href="https://en.wikipedia.org/wiki/GLX">GLX</a>.</li>
|
||||
<li>2 = can’t open <a href="https://en.wikipedia.org/wiki/GLX">GLX</a>.</li>
|
||||
<li>3 = can’t open 16bpp visual.</li>
|
||||
<li>4 = can’t open source file.</li>
|
||||
</ul>
|
||||
<h2 id="copyright-and-cc-by-sa-4.0-license">Copyright and CC BY-SA 4.0
|
||||
License:</h2>
|
||||
<p>This file is Copyright (c) 2023 by Landon Curt Noll. All Rights
|
||||
Reserved. You are free to share and adapt this file under the terms of
|
||||
this license:</p>
|
||||
<h2 id="copyright-and-cc-by-sa-4.0-license">Copyright and CC BY-SA 4.0 License:</h2>
|
||||
<p>This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
You are free to share and adapt this file under the terms of this license:</p>
|
||||
<pre><code>Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</code></pre>
|
||||
<p>For more information, see:
|
||||
https://creativecommons.org/licenses/by-sa/4.0/</p>
|
||||
<p>For more information, see: https://creativecommons.org/licenses/by-sa/4.0/</p>
|
||||
|
||||
<!-- END: this line ends content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
|
||||
<!-- START: this line starts content for HTML phase 22 by: bin/output-index-inventory.sh via bin/md2html.sh -->
|
||||
|
||||
<!-- START: this line starts content generated by: bin/output-index-inventory.sh -->
|
||||
|
||||
<h1 id="inventory-for-2005vince"><a name="inventory"></a>Inventory for
|
||||
2005/vince</h1>
|
||||
<h1 id="inventory-for-2005vince"><a name="inventory"></a>Inventory for 2005/vince</h1>
|
||||
<p><a href="#top">Jump to top</a></p>
|
||||
<h2 id="primary-files">Primary files</h2>
|
||||
<ul>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/vince.c">vince.c</a>
|
||||
- entry source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/Makefile">Makefile</a>
|
||||
- entry Makefile</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/vince.alt.c">vince.alt.c</a>
|
||||
- alternative source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/vince.orig.c">vince.orig.c</a>
|
||||
- original source</li>
|
||||
<li><a href="2005_vince.tar.bz2">2005_vince.tar.bz2</a> - download entry
|
||||
source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/vince.c">vince.c</a> - entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/Makefile">Makefile</a> - entry Makefile</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/vince.alt.c">vince.alt.c</a> - alternative source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/vince.orig.c">vince.orig.c</a> - original source</li>
|
||||
<li><a href="2005_vince.tar.bz2">2005_vince.tar.bz2</a> - download entry source</li>
|
||||
</ul>
|
||||
<h2 id="secondary-files">Secondary files</h2>
|
||||
<ul>
|
||||
<li><a href="index.html">index.html</a> - entry home page</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/.entry.json">.entry.json</a>
|
||||
- description of entry in JSON</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/.gitignore">.gitignore</a>
|
||||
- list of files that should not be committed under git</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/.entry.json">.entry.json</a> - description of entry in JSON</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
|
||||
<li><a href=".path">.path</a> - directory path from top directory</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/README.md">README.md</a>
|
||||
- markdown source for index.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/vince/README.md">README.md</a> - markdown source for index.html</li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
|
||||
|
||||
Reference in new issue
Block a user