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
+32
-51
@@ -129,12 +129,12 @@
|
||||
|
||||
<h2 id="authors"><a name="author"></a>Authors:</h2>
|
||||
<ul>
|
||||
<li>Name: <a href="../../authors.html#Heather_Downs">Heather
|
||||
Downs</a><br> Location: <a href="../../location.html#ZZ">ZZ</a> -
|
||||
<em>Unknown location</em> <br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Selene_Makarios">Selene
|
||||
Makarios</a><br> Location: <a href="../../location.html#ZZ">ZZ</a> -
|
||||
<em>Unknown location</em> <br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Heather_Downs">Heather Downs</a><br>
|
||||
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
|
||||
<br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Selene_Makarios">Selene Makarios</a><br>
|
||||
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
|
||||
<br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -155,8 +155,8 @@ effect of the source was self documenting! :-)</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
<p>Run this program with two non-negative integer arguments
|
||||
(e.g. <code>./heathbar 1234 999</code>).</p>
|
||||
<p>My goal was to create the fastest possible C program. To that end, I
|
||||
made three critical observations:</p>
|
||||
<p>My goal was to create the fastest possible C program. To that
|
||||
end, I made three critical observations:</p>
|
||||
<ol type="1">
|
||||
<li>If there’s one thing computers are good at, it’s math.</li>
|
||||
<li>Simple operations take less time than complicated ones.</li>
|
||||
@@ -167,67 +167,48 @@ performed addition. From #2, I reasoned that it ought to directly
|
||||
manipulate the bits, rather than wasting time dealing with bloated,
|
||||
high-level, fuzzy-logic, artificial-intelligence, neural-net,
|
||||
client-server, object-oriented abstractions like the C language “+”
|
||||
operator. And it was obvious from #3 that the program should resemble,
|
||||
as closely as possible, a long sequence of the familiar word
|
||||
<code>main</code> repeated over and over, so the computer would be
|
||||
comfortable running the program and wouldn’t get distracted dealing with
|
||||
unfamiliar variable names.</p>
|
||||
operator. And it was obvious from #3 that the program should
|
||||
resemble, as closely as possible, a long sequence of the familiar
|
||||
word <code>main</code> repeated over and over, so the computer would be
|
||||
comfortable running the program and wouldn’t get distracted dealing
|
||||
with unfamiliar variable names.</p>
|
||||
<p>Also, I’ve looked at some past winning entries of your contest, and
|
||||
if you don’t mind a little constructive criticism, some of them are
|
||||
kind-of hard to figure out. I didn’t want my program to fall into the
|
||||
same trap, so I went out of my way to write self-documenting code.
|
||||
Anyone who so much as glances at my program will immediately see that it
|
||||
adds two 16-bit unsigned integers by streaming their bits through a
|
||||
simulated cascade of hardware adders. I hope my diligent effort to write
|
||||
especially clear code gets me extra points!</p>
|
||||
kind-of hard to figure out. I didn’t want my program to fall into
|
||||
the same trap, so I went out of my way to write self-documenting
|
||||
code. Anyone who so much as glances at my program will immediately
|
||||
see that it adds two 16-bit unsigned integers by streaming their
|
||||
bits through a simulated cascade of hardware adders. I hope my
|
||||
diligent effort to write especially clear code gets me extra points!</p>
|
||||
<p>P.S. What does “obfuscated” mean?</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>
|
||||
<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-1995heathbar"><a name="inventory"></a>Inventory
|
||||
for 1995/heathbar</h1>
|
||||
<h1 id="inventory-for-1995heathbar"><a name="inventory"></a>Inventory for 1995/heathbar</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/1995/heathbar/heathbar.c">heathbar.c</a>
|
||||
- entry source</li>
|
||||
<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 source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/heathbar/heathbar.c">heathbar.c</a> - entry source</li>
|
||||
<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 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/1995/heathbar/.entry.json">.entry.json</a>
|
||||
- description of entry in JSON</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/heathbar/.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/1995/heathbar/.entry.json">.entry.json</a> - description of entry in JSON</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/heathbar/.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/1995/heathbar/README.md">README.md</a>
|
||||
- markdown source for index.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/heathbar/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