Change references of 'alt code' to 'alternate code'
This was done by:
sgit -e 's/alt code/alternate code/g' . ; git co tmp/OLD_manifest
as well as updating the tmp/manifest.numbers spreadsheet and exporting
to the CSV file (though that would not strictly be necessary).
The way this works means that the update manifest script does not need
to be run as it sgit(1) touched the .entry.json files (any that needed
to be updated) and so would any index.html files. An example for both
.entry.json and index.html files being modified due to manifest is
2012/kang.
Numerous Makefiles were updated, any try scripts that had 'alt code'
instead of 'alternate code' and README.md/index.html files (unrelated to
the manifest as 'alt code' was used in other places too) and obviously
the manifest.numbers spreadsheet.
However to be safe I will do a run of the manifest script in a bit even
though it should not be necessary. If no commits are made it means all
is good and if any commits are made for the manifest it means that I
did not think of something (or else I made another change after this).
This commit is contained in:
1 parent
bb6c0d0bb6
commit
ffdb219ceb
81 files changed
+4483
-4483
No files matched your search
+46
-46
@@ -567,7 +567,7 @@ that Cody added. See the <a href="1985/lycklama/index.html">index.html</a> for d
|
||||
<h2 id="winning-entry-1985shapiro">Winning entry: <a href="1985/shapiro/index.html">1985/shapiro</a></h2>
|
||||
<h3 id="winning-entry-source-code-shapiro.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1985/shapiro/shapiro.c">shapiro.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1985/shapiro/shapiro.alt.c">alt code</a>
|
||||
<p><a href="#cody">Cody</a> added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1985/shapiro/shapiro.alt.c">alternate code</a>
|
||||
which allows one to resize the maze and he also added the
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1985/shapiro/try.alt.sh">try.alt.sh</a> script that randomly selects
|
||||
sizes (five times) and then compiles and runs it. After the five runs it prompts
|
||||
@@ -715,7 +715,7 @@ As the third arg was an <code>int</code> the code had to be modified.</p>
|
||||
see how odd this problem was and what Cody did to fix it, if nothing else but
|
||||
for entertainment!</p>
|
||||
<p>Also, after all warnings but one that could not be silenced were disabled, Cody
|
||||
changed the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1986/marshall/marshall.alt.c">alt code</a> (which was not
|
||||
changed the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1986/marshall/marshall.alt.c">alternate code</a> (which was not
|
||||
the same as the original - see above for details or try <code>make diff_orig_alt</code> in
|
||||
the directory) slightly so that it was possible to silence it. In particular:</p>
|
||||
<pre><code> P ( a ) char a ; { a ; while( a > " B "</code></pre>
|
||||
@@ -977,7 +977,7 @@ found in the index.html file.</p>
|
||||
<h2 id="winning-entry-1988litmaath">Winning entry: <a href="1988/litmaath/index.html">1988/litmaath</a></h2>
|
||||
<h3 id="winning-entry-source-code-litmaath.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1988/litmaath/litmaath.c">litmaath.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1988/litmaath/litmaath.alt.c">alt code</a>
|
||||
<p><a href="#cody">Cody</a> added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1988/litmaath/litmaath.alt.c">alternate code</a>
|
||||
which is code that we suggested at the time of publication, in the remarks, to
|
||||
help understand the entry, and for fun.</p>
|
||||
<div id="1988_phillipps">
|
||||
@@ -1076,7 +1076,7 @@ most certainly do have a personality and they can be very sociable.</p>
|
||||
<p>Whilst he was at it, Cody made it so that one need not run the alt script or alt
|
||||
code directly, to match that of the main entry. As we simulate the functionality
|
||||
anyway, and since one may still run the code or the script (for the original
|
||||
entry and the alt code) anyway, it works out well.</p>
|
||||
entry and the alternate code) anyway, it works out well.</p>
|
||||
<div id="1989_jar.2">
|
||||
<h2 id="winning-entry-1989jar.2">Winning entry: <a href="1989/jar.2/index.html">1989/jar.2</a></h2>
|
||||
<h3 id="winning-entry-source-code-jar.2.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1989/jar.2/jar.2.c">jar.2.c</a></h3>
|
||||
@@ -1122,7 +1122,7 @@ and starts over, doing it four times, to help with hopefully allowing different
|
||||
output.</p>
|
||||
<p>Cody also provided an <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1989/ovdluhe/ovdluhe.alt.c">alternate version</a> based on
|
||||
the author’s remarks and the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1989/ovdluhe/try.alt.sh">try.alt.sh</a> script that
|
||||
uses the alt code, allowing one to configure the alt build. See the index.html
|
||||
uses the alternate code, allowing one to configure the alt build. See the index.html
|
||||
for details. The fix described above was fixed in this version too, after it was
|
||||
discovered and fixed.</p>
|
||||
<div id="1989_paul">
|
||||
@@ -1312,7 +1312,7 @@ a typo here) from invalid input but which now works.</p>
|
||||
<h2 id="winning-entry-1990pjr">Winning entry: <a href="1990/pjr/index.html">1990/pjr</a></h2>
|
||||
<h3 id="winning-entry-source-code-pjr.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/pjr/pjr.c">pjr.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/pjr/pjr.alt.c">alt code</a> which was suggested by the judges
|
||||
<p><a href="#cody">Cody</a> added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/pjr/pjr.alt.c">alternate code</a> which was suggested by the judges
|
||||
in the case that your compiler cannot compile <code>X=g()...</code> but it actually does
|
||||
something else and is recommended by the author as well.</p>
|
||||
<div id="1990_scjones">
|
||||
@@ -1395,7 +1395,7 @@ often be the same (this in particular was done for <code>clang</code>).</p>
|
||||
<p>He also fixed the code to not enter an infinite loop if arg is a number not > 0
|
||||
and to not crash if no arg is specified. This was done during a time it was
|
||||
deemed a problem to be fixed.</p>
|
||||
<p>NOTE: the alt code did NOT have arg checks added as it is actually a copy of the
|
||||
<p>NOTE: the alternate code did NOT have arg checks added as it is actually a copy of the
|
||||
original code.</p>
|
||||
<p>Cody also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1990/westley/try.sh">try.sh</a> script.</p>
|
||||
<div id="1991">
|
||||
@@ -1405,7 +1405,7 @@ original code.</p>
|
||||
<h2 id="winning-entry-1991ant">Winning entry: <a href="1991/ant/index.html">1991/ant</a></h2>
|
||||
<h3 id="winning-entry-source-code-ant.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1991/ant/ant.c">ant.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> added <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1991/ant/ant.alt.c">alt code</a> that will be a bit easier to use for
|
||||
<p><a href="#cody">Cody</a> added <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1991/ant/ant.alt.c">alternate code</a> that will be a bit easier to use for
|
||||
those familiar with vim in the following ways (we don’t want vi users to also
|
||||
not be able to use it or exit it, now do we ? :-) ):</p>
|
||||
<ul>
|
||||
@@ -1535,7 +1535,7 @@ might still get some warnings there.</p>
|
||||
<p>The key to the string is that it rotates the character by <code>+1</code>. This was not
|
||||
immediately clear until reading the author’s remarks so there was an alt version
|
||||
that was something of a kludge, running <code>make a</code> instead, but after the proper
|
||||
fix was implemented the alt code was removed.</p>
|
||||
fix was implemented the alternate code was removed.</p>
|
||||
<p>Cody also fixed a typo in <code>LANDER.BAS</code> and made it so that if a file could not be
|
||||
opened for reading or a file could not be opened for writing it would not crash.
|
||||
The definition of whether that should be a bug to fix or a feature to not fix
|
||||
@@ -1657,14 +1657,14 @@ generated.</p>
|
||||
<h3 id="winning-entry-source-code-albert.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/albert/albert.c">albert.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> fixed this to compile with modern systems. Note that in 1996 a bug fix was
|
||||
applied to the code, provided as the alt code as that version is not obfuscated.
|
||||
applied to the code, provided as the alternate code as that version is not obfuscated.
|
||||
Thus Cody’s fix applies to the original entry. The problems were that <code>malloc.h</code>
|
||||
is not the correct header file now (at least in some systems) and a non-void
|
||||
(implicit <code>int</code>) function returning without a value. That function was changed to
|
||||
return <code>void</code>.</p>
|
||||
<p>Cody also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/albert/try.sh">try.sh</a> and
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/albert/try.alt.sh">try.alt.sh</a> scripts that correspond to the entry and
|
||||
the alt code.</p>
|
||||
the alternate code.</p>
|
||||
<div id="1992_ant">
|
||||
<h2 id="winning-entry-1992ant">Winning entry: <a href="1992/ant/index.html">1992/ant</a></h2>
|
||||
<h3 id="winning-entry-source-code-ant.c-1">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/ant/ant.c">ant.c</a></h3>
|
||||
@@ -1698,11 +1698,11 @@ commands that we suggested and some additional ones that he provide for some fun
|
||||
<h2 id="winning-entry-1992buzzard.2">Winning entry: <a href="1992/buzzard.2/index.html">1992/buzzard.2</a></h2>
|
||||
<h3 id="winning-entry-source-code-buzzard.2.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/buzzard.2/buzzard.2.c">buzzard.2.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> fixed the alt code to compile. The problem was it assumed that
|
||||
<p><a href="#cody">Cody</a> fixed the alternate code to compile. The problem was it assumed that
|
||||
<code>exit(3)</code> returns a value, not <code>void</code>. This was fixed with a <code>,0</code>.</p>
|
||||
<p>Cody also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/buzzard.2/try.sh">try.sh</a> and
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/buzzard.2/try.alt.sh">try.alt.sh</a> scripts that correspond to the entry
|
||||
and its alt code.</p>
|
||||
and its alternate code.</p>
|
||||
<div id="1992_gson">
|
||||
<h2 id="winning-entry-1992gson">Winning entry: <a href="1992/gson/index.html">1992/gson</a></h2>
|
||||
<h3 id="winning-entry-source-code-gson.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/gson/gson.c">gson.c</a></h3>
|
||||
@@ -1740,7 +1740,7 @@ made it a macro in the Makefile <code>Z</code> (which can be redefined with <cod
|
||||
version</a> and it is recommended one use the alt
|
||||
version first. See the index.html file to see how to reconfigure it.</p>
|
||||
<p>Cody also made the fixed version (the code relied on <code>exit(3)</code> returning to use
|
||||
in binary expressions) (and alt code from it) more like the original by renaming
|
||||
in binary expressions) (and alternate code from it) more like the original by renaming
|
||||
the <code>ext</code> macro to be <code>exit</code> which uses the comma operator. He made it so the
|
||||
line lengths match the original code, at least as best as possible (if not
|
||||
perfectly), including start and end columns, often (if not all) with the same
|
||||
@@ -1821,7 +1821,7 @@ resizing the terminal after running it should not mess up the display either,
|
||||
unless of course it becomes too small.</p>
|
||||
<p>Cody added the scripts <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/westley/whereami.sh">whereami.sh</a> and
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/westley/whereami.alt.sh">whereami.alt.sh</a> which correspond to the entry and
|
||||
the alt code but first check that the number of columns is at least 80 and if
|
||||
the alternate code but first check that the number of columns is at least 80 and if
|
||||
not it is an error.</p>
|
||||
<p>Cody added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1992/westley/try.sh">try.sh</a> script that shows the different
|
||||
cities that the author recommended one try as well as the one recommended by the
|
||||
@@ -1947,7 +1947,7 @@ variable (an int) at the top of the file, instead making it a <code>char ** in</
|
||||
arg (as it was 0 at file scope already this is perfectly fine and it means
|
||||
there’s no need to cast it to an int in the function call though that would also
|
||||
work).</p>
|
||||
<p>Cody also added the alt code, provided by the author, which is:</p>
|
||||
<p>Cody also added the alternate code, provided by the author, which is:</p>
|
||||
<pre><code> ... a version of the program before it got formatted into the VIII,
|
||||
augmented with comments showing where each state begins. N1 and N2 are
|
||||
notes.</code></pre>
|
||||
@@ -1995,7 +1995,7 @@ was considered a bug to fix). With the use of the C pre-processor macro and
|
||||
inclusion of <code>stdlib.h</code> in the Makefile the layout of the source is exactly the
|
||||
same column width and no additional lines were added. This was done during one
|
||||
of the times where this was changed to bug to fix status, for better or worse.</p>
|
||||
<p>Cody also fixed the Makefile which was causing alt code to be compiled when it
|
||||
<p>Cody also fixed the Makefile which was causing alternate code to be compiled when it
|
||||
shouldn’t be.</p>
|
||||
<p>Cody also added the scripts <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/horton/try.sh">try.sh</a> and
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/horton/try.alt.sh">try.alt.sh</a>.</p>
|
||||
@@ -2076,7 +2076,7 @@ check <a href="bugs.html#1994_shapiro">1994/shapiro in bugs.html</a>.</p>
|
||||
<h3 id="winning-entry-source-code-1994tvr">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/tvr/tvr.c">1994/tvr</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> added the try scripts, four total, colour and black and white
|
||||
pairs for the original entry and the alt code. These scripts are
|
||||
pairs for the original entry and the alternate code. These scripts are
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/tvr/try.color.sh">try.color.sh</a> (color to match the author’s
|
||||
remarks), <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/tvr/try.bw.sh">try.bw.sh</a>,
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1994/tvr/try.alt.color.sh">try.alt.color.sh</a> and
|
||||
@@ -2090,7 +2090,7 @@ fgets(3)?</a> for why this was done.
|
||||
In this case the newline had
|
||||
to be terminated but it was a pretty straightforward fix. <code>gets()</code> was defined
|
||||
to use <code>fgets()</code> and the inclusion of <code>stdio.h</code> had to be added but to make it
|
||||
more like the original entry this was done in the Makefile. The alt code was
|
||||
more like the original entry this was done in the Makefile. The alternate code was
|
||||
also changed to use <code>fgets(3)</code>.</p>
|
||||
<div id="1994_weisberg">
|
||||
<h2 id="winning-entry-1994weisberg">Winning entry: <a href="1994/weisberg/index.html">1994/weisberg</a></h2>
|
||||
@@ -2151,7 +2151,7 @@ provided which is input we suggested one try with the entry.</p>
|
||||
<h2 id="winning-entry-1995garry">Winning entry: <a href="1995/garry/index.html">1995/garry</a></h2>
|
||||
<h3 id="winning-entry-source-code-garry.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/garry/garry.c">garry.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> fixed the alt code so that it will compile with modern compilers. The
|
||||
<p><a href="#cody">Cody</a> fixed the alternate code so that it will compile with modern compilers. The
|
||||
problem was a missing <code>int</code> for the <code>f</code> variable. He felt it was even more
|
||||
important that it works because the layout does indeed look to him like a rat is
|
||||
dropping core :-), something that the judges suggested.</p>
|
||||
@@ -2159,7 +2159,7 @@ dropping core :-), something that the judges suggested.</p>
|
||||
to to make sure the program is compiled before trying to use it as well as
|
||||
adding a few enhancements. For the alt version he also added the
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1995/garry/try.alt.sh">try.alt.sh</a> script to use the alt version, though the
|
||||
alt version is not as important as alt code in other entries. In order to get
|
||||
alt version is not as important as alternate code in other entries. In order to get
|
||||
the paging to work right for the <code>garry.data</code> file leading blank lines had to be
|
||||
added.</p>
|
||||
<div id="1995_heathbar">
|
||||
@@ -2395,7 +2395,7 @@ pootify scripts.</p>
|
||||
<h2 id="winning-entry-1998dloweneil">Winning entry: <a href="1998/dloweneil/index.html">1998/dloweneil</a></h2>
|
||||
<h3 id="winning-entry-source-code-dloweneil.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1998/dloweneil/dloweneil.c">dloweneil.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> added <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1998/dloweneil/dloweneil.alt.c">alt code</a> which has vi(m) movement
|
||||
<p><a href="#cody">Cody</a> added <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1998/dloweneil/dloweneil.alt.c">alternate code</a> which has vi(m) movement
|
||||
(in addition to the other keys except for dropping it’s not <code>d</code> but <code>j</code> or
|
||||
space) keys as well as allowing one to quit the game.</p>
|
||||
<div id="1998_dorssel">
|
||||
@@ -2647,7 +2647,7 @@ game.</p>
|
||||
<a href="https://www.libsdl.org">SDL</a> version works independent from the curses version
|
||||
(using the same code). See below for an interesting problem that occurred that
|
||||
had to be resolved for SDL1.</p>
|
||||
<p>Cody also added <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/thadgavin/thadgavin.alt.c">alt code</a> to allow
|
||||
<p>Cody also added <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/thadgavin/thadgavin.alt.c">alternate code</a> to allow
|
||||
one to slow down the code to get a better idea of what the program looked like
|
||||
back in 2000, with modern systems. This code also, at least for the curses mode, allows
|
||||
one to quit at any time by pressing ‘q’. Note that this alternate version only
|
||||
@@ -2679,10 +2679,10 @@ changed. As was noted in the log at the time:</p>
|
||||
<h2 id="winning-entry-2000tomx">Winning entry: <a href="2000/tomx/index.html">2000/tomx</a></h2>
|
||||
<h3 id="winning-entry-source-code-tomx.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/tomx//tomx.c">tomx.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/tomx/tomx.alt.c">alt code</a> based on the
|
||||
<p><a href="#cody">Cody</a> added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/tomx/tomx.alt.c">alternate code</a> based on the
|
||||
author’s remarks with a fix for modern systems and he also added the two
|
||||
scripts, <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/tomx/try.sh">try.sh</a> and <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/tomx/try.alt.sh">try.alt.sh</a> for
|
||||
the main code and the alt code respectively.</p>
|
||||
the main code and the alternate code respectively.</p>
|
||||
<p>And although the scripts do <code>chmod +x</code> on the source code (see the index.html for
|
||||
details) the source code is now executable by default.</p>
|
||||
<div id="2001">
|
||||
@@ -2827,7 +2827,7 @@ the ANSI escape codes. This works with both Linux and macOS.</p>
|
||||
etc.) after exiting even if you don’t press ‘q’, if you crash or if you kill the
|
||||
program prematurely. This was done by adding an explicit call to <code>e()</code> at the
|
||||
end of <code>main()</code>.</p>
|
||||
<p>Cody also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2001/ctk/ctk.alt.c">alt code</a> that adds
|
||||
<p>Cody also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2001/ctk/ctk.alt.c">alternate code</a> that adds
|
||||
vi(m) movement keys.</p>
|
||||
<div id="2001_dgbeards">
|
||||
<h2 id="winning-entry-2001dgbeards">Winning entry: <a href="2001/dgbeards/index.html">2001/dgbeards</a></h2>
|
||||
@@ -2978,7 +2978,7 @@ entry</a>.</li>
|
||||
<h2 id="winning-entry-2004gavin">Winning entry: <a href="2004/gavin/index.html">2004/gavin</a></h2>
|
||||
<h3 id="winning-entry-source-code-gavin.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/gavin//gavin.c">gavin.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> provided the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/gavin/gavin.alt.c">alt code</a> for
|
||||
<p><a href="#cody">Cody</a> provided the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/gavin/gavin.alt.c">alternate code</a> for
|
||||
those who want to use QEMU. The most important part of this is the macro <code>K</code> has
|
||||
to be defined as <code>1</code>, not <code>0</code>.</p>
|
||||
<p><a href="#yusuke">Yusuke</a> provided the <code>kernel</code> and <code>fs.tar</code> files which can be used if
|
||||
@@ -3025,7 +3025,7 @@ this ended up with a number of errors like:</p>
|
||||
<p>and various other problems. However there does seem to be a problem at least
|
||||
with some <code>gcc</code> versions in macOS but this appears to be due to errors in
|
||||
<code>/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/cdefs.h</code>.</p>
|
||||
<p>Cody also added <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/jdalbec/jdalbec.alt.c">alt code</a> which allows
|
||||
<p>Cody also added <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/jdalbec/jdalbec.alt.c">alternate code</a> which allows
|
||||
one to control how many numbers after the <code>:</code> to print before printing a
|
||||
newline, so that one can see the output a bit better (though for lines that have
|
||||
a lot of numbers this will be harder to see).</p>
|
||||
@@ -3140,13 +3140,13 @@ just to make it a bit easier to compile.</p>
|
||||
<p><a href="#cody">Cody</a> fixed the test script, described by the author in their remarks, to refer
|
||||
to the proper compiled program (it’s hardcoded). This had never been done and so
|
||||
the script did not even work (at least modernly?).</p>
|
||||
<p>He also added the <a href="2005/aidan/index.html#alternate-code">alt code</a> based on the
|
||||
<p>He also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/aidan/aidan.alt.c">alternate code</a> based on the
|
||||
author’s remarks which is a different approach than the one used and which
|
||||
(according to the author) ‘is slower (particularly in worst-case or nearly so
|
||||
scenarios), inelegant, and not a good starting place for sudoku generation.’</p>
|
||||
<p>Cody added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/aidan/try.sh">try.sh</a> and
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/aidan/try.alt.sh">try.alt.sh</a> scripts that correspond to the entry and
|
||||
alt code respectively.</p>
|
||||
alternate code respectively.</p>
|
||||
<p>Cody added the <code>make test</code> and <code>make test-n0</code> rules for easier use of the test
|
||||
suite.</p>
|
||||
<div id="2005_anon">
|
||||
@@ -3158,7 +3158,7 @@ not work and end up causing a bus error. Instead of <code>stty sane</code> it us
|
||||
<p>The author noted that one can define <code>NO_STTY</code> to not use <code>stty(1)</code> at all
|
||||
(either to prevent having to hit enter or to turn echo off/on) which is
|
||||
explained in the index.html.</p>
|
||||
<p>Cody added the <a href="2005/anon/index.html#alternate-code">alt code</a> with vi(m) like
|
||||
<p>Cody added the <a href="2005/anon/index.html#alternate-code">alternate code</a> with vi(m) like
|
||||
movements.</p>
|
||||
<div id="2005_boutines">
|
||||
<h2 id="winning-entry-2005boutines">Winning entry: <a href="2005/boutines/index.html">2005/boutines</a></h2>
|
||||
@@ -3257,7 +3257,7 @@ also show correct output though.</p>
|
||||
<p><a href="#cody">Cody</a> fixed this so that the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/mynx/source/configure">configure</a> script (which is not
|
||||
needed but part of the entry) would work with compilers that have by default
|
||||
<code>-Werror</code> like <code>clang</code> in macOS.</p>
|
||||
<p>Cody also added the alt code which does scan for https. Futile, maybe, based on
|
||||
<p>Cody also added the alternate code which does scan for https. Futile, maybe, based on
|
||||
how https is set up, in which case just enjoy it for what it was. But there
|
||||
might be some command line that will let it work that way or perhaps someone
|
||||
wants to add the necessary code.</p>
|
||||
@@ -3393,7 +3393,7 @@ some versions do allow only one arg. This was done at first because it’s not
|
||||
used but Cody discovered that later versions of <code>clang</code> have an additional defect
|
||||
where it does not allow only one arg so the second arg to <code>main()</code> was added
|
||||
back.</p>
|
||||
<p>This was an unfortunate problem for the alt code as he has been using Z for alt
|
||||
<p>This was an unfortunate problem for the alternate code as he has been using Z for alt
|
||||
code <code>usleep()</code> (for sleep) but in this case unfortunately the original entry
|
||||
used <code>Z</code> in <code>main()</code> (though unused) so to make it more like the original Cody
|
||||
renamed the macro <code>Z</code> for <code>usleep()</code> to <code>S</code> instead which can stand for sleep
|
||||
@@ -3414,7 +3414,7 @@ bug to fix.</p>
|
||||
<h2 id="winning-entry-2006sykes1">Winning entry: <a href="2006/sykes1/index.html">2006/sykes1</a></h2>
|
||||
<h3 id="winning-entry-source-code-sykes1.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2006/sykes1//sykes1.c">sykes1.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> provided the <a href="2006/sykes1/index.html#alternate-code">alt code</a> based on the
|
||||
<p><a href="#cody">Cody</a> provided the <a href="2006/sykes1/index.html#alternate-code">alternate code</a> based on the
|
||||
author’s remarks.</p>
|
||||
<p>Cody also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2006/sykes1/try.sh">try.sh</a> script.</p>
|
||||
<p>Cody also provided the <a href="2006/sykes1/bedlam-cubes.pdf">bedlam-cubes.pdf</a> file,
|
||||
@@ -3443,7 +3443,7 @@ entry to show the clock update in real time.</p>
|
||||
macOS - it did not seem to be a problem under Linux, at least not fedora. The
|
||||
problem was wrong variable types - implicit <code>int</code>s instead of <code>FILE *</code>s. It now
|
||||
works with both macOS and Linux.</p>
|
||||
<p>Cody also added the (untested) alt code that is based on the author’s remarks to
|
||||
<p>Cody also added the (untested) alternate code that is based on the author’s remarks to
|
||||
port this to systems that have the non-standard <code>kbhit()</code> and <code>getch()</code> (not the
|
||||
one from curses) which is typically (always?) in <code>conio.h</code>.</p>
|
||||
<p>The author, <a href="authors.html#Oscar_Toledo">Oscar Toledo G.</a>, later went back over
|
||||
@@ -3576,7 +3576,7 @@ header files). To build try the alt rule of the Makefile.</p>
|
||||
<h3 id="winning-entry-source-code-zucker.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2011/zucker//zucker.c">zucker.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2011/zucker/try.sh">try.sh</a> script.</p>
|
||||
<p>Cody also added <a href="2011/zucker/index.html#alternate-code">alt code</a> that should work on
|
||||
<p>Cody also added <a href="2011/zucker/index.html#alternate-code">alternate code</a> that should work on
|
||||
Windows, based on the author’s remarks that if the system distinguishes binary
|
||||
and text then <code>stdout</code> needs to be set to binary mode.</p>
|
||||
<p>Cody also added the PDF file
|
||||
@@ -3613,7 +3613,7 @@ one to easily do this with variable names rather than redefining <code>CDEFINE</
|
||||
and the colour version added by the author, <a href="#yusuke">Yusuke</a>, at the request of
|
||||
the judges.</p>
|
||||
<p>Cody also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2012/endoh1/try.alt.sh">try.alt.sh</a> script that compiles
|
||||
the alt code in two ways, one with setting the gravity factor to <code>I</code> and another
|
||||
the alternate code in two ways, one with setting the gravity factor to <code>I</code> and another
|
||||
with the default, and which is run on the source file and each of the text files
|
||||
supplied by the author. This code has an alarm set at 10 seconds so that one
|
||||
need not hit ctrl-c/intr in between .. say to make it more fluid :-)</p>
|
||||
@@ -3669,7 +3669,7 @@ title and stylesheet) and other formatting changes.</p>
|
||||
<h2 id="winning-entry-2012kang">Winning entry: <a href="2012/kang/index.html">2012/kang</a></h2>
|
||||
<h3 id="winning-entry-source-code-kang.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2012/kang//kang.c">kang.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> added alt code that fixes a problem where in German ‘v’ sounds like ‘f’
|
||||
<p><a href="#cody">Cody</a> added alternate code that fixes a problem where in German ‘v’ sounds like ‘f’
|
||||
which the program has as ‘f’: with the original version it would translate
|
||||
‘fier’ to ‘4’ when the word is ‘vier’. But see below.</p>
|
||||
<p>Originally this was updated in the original code but it was noticed that this
|
||||
@@ -3755,7 +3755,7 @@ done, based on the author’s recommendations, except that Cody made it
|
||||
configurable at compile time. The Makefile was modified in such a way as to make
|
||||
it very easy to redefine it at compile time.</p>
|
||||
<p>Cody also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/birken/try.sh">try.sh</a> script for the entry and the
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/birken/try.alt.sh">try.alt.sh</a> script for the alt code.</p>
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/birken/try.alt.sh">try.alt.sh</a> script for the alternate code.</p>
|
||||
<div id="2013_cable1">
|
||||
<h2 id="winning-entry-2013cable1">Winning entry: <a href="2013/cable1/index.html">2013/cable1</a></h2>
|
||||
<h3 id="winning-entry-source-code-cable1.c">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2013/cable1//cable1.c">cable1.c</a></h3>
|
||||
@@ -3934,7 +3934,7 @@ redefine the port and timing constant.</p>
|
||||
<h2 id="winning-entry-2014deak">Winning entry: <a href="2014/deak/index.html">2014/deak</a></h2>
|
||||
<h3 id="winning-entry-source-code-prog.c-1">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2014/deak//prog.c">prog.c</a></h3>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> added <a href="2014/deak/index.html#alternate-code">alt code</a> that lets
|
||||
<p><a href="#cody">Cody</a> added <a href="2014/deak/index.html#alternate-code">alternate code</a> that lets
|
||||
one (via the Makefile) reconfigure the coordinates but instead of being a
|
||||
modified version of the entry it is the version the author provided which would
|
||||
be what the program would look like if, as the author put it:</p>
|
||||
@@ -3946,7 +3946,7 @@ application source code is intentionally kept to a bare minimum.</p>
|
||||
<p>This alt version did not originally compile because a value was left off the
|
||||
<code>return</code> statement (this might have been fixed in the index.html file too) so
|
||||
that was fixed and it also has <code>#include <stdio.h></code> for <code>putchar(3)</code>. The
|
||||
<code>#ifndef..#define..#endif</code> was not part of the original alt code, of course.</p>
|
||||
<code>#ifndef..#define..#endif</code> was not part of the original alternate code, of course.</p>
|
||||
<p>Cody also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2014/deak/try.alt.sh">try.alt.sh</a> script.</p>
|
||||
<div id="2014_endoh1">
|
||||
<h2 id="winning-entry-2014endoh1">Winning entry: <a href="2014/endoh1/index.html">2014/endoh1</a></h2>
|
||||
@@ -4087,7 +4087,7 @@ add a <code>./</code> to the commands in the man page/index.html.</p>
|
||||
</div>
|
||||
<p><a href="#cody">Cody</a> improved the Makefile so that one can easily change the dimensions
|
||||
at compilation time via <code>make(1)</code>.</p>
|
||||
<p>Cody also added alt code that is based on the author’s remarks, suggesting that
|
||||
<p>Cody also added alternate code that is based on the author’s remarks, suggesting that
|
||||
one change the value of <code>q</code> to a different number, in order to see a bug that
|
||||
they avoided.</p>
|
||||
<div id="2015_duble">
|
||||
@@ -4201,7 +4201,7 @@ object to 1 arg but it is entirely possible that this changes so a second arg
|
||||
(that’s not needed and is unused) has been added just in case.</p>
|
||||
<p>Cody also added explicit linking of libm (<code>-lm</code>) for systems that do not do this
|
||||
(Linux doesn’t seem to but macOS does).</p>
|
||||
<p>Cody also added <a href="2018/bellard/index.html#alternate-code">alt code</a> that should
|
||||
<p>Cody also added <a href="2018/bellard/index.html#alternate-code">alternate code</a> that should
|
||||
work for Windows, based on the author’s remarks. The same thing with the number
|
||||
of args to <code>main()</code> that was done in the original entry was done with this
|
||||
version as well.</p>
|
||||
@@ -4354,7 +4354,7 @@ browsers/GitHub.</p>
|
||||
mean that they will produce any output, though, as they provide expect all
|
||||
letters and that makes it harder to form perfect pangrams. On the subject of
|
||||
German umlauts and Eszett (ß) see the <a href="bugs.html#2019-ciura">entry in bugs.html</a>.</p>
|
||||
<p>Cody also fixed the Makefile so that the alt code would be built when running
|
||||
<p>Cody also fixed the Makefile so that the alternate code would be built when running
|
||||
<code>make alt</code>.</p>
|
||||
<p>Cody converted the PS file linked to by the author to a PDF,
|
||||
<a href="2019/ciura/fasc5c.pdf">fasc5c.pdf</a>, and added it to the
|
||||
@@ -4535,7 +4535,7 @@ knows it so he might be called unusual (and he argues, with pride, eccentric :-)
|
||||
) :-)</p>
|
||||
<p>Cody also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh3/run_clock.alt.sh">run_clock.alt.sh</a> script
|
||||
which is analogous to the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/endoh3/run_clock.sh">run_clock.sh</a> but for the
|
||||
alt code provided by the author, Yusuke.</p>
|
||||
alternate code provided by the author, Yusuke.</p>
|
||||
<div id="2020_ferguson1">
|
||||
<h2 id="winning-entry-2020ferguson1">Winning entry: <a href="2020/ferguson1/index.html">2020/ferguson1</a></h2>
|
||||
<h3 id="winning-entry-source-code-prog.c-56">Winning entry source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1//prog.c">prog.c</a></h3>
|
||||
@@ -4556,7 +4556,7 @@ layered chocolate fudge cake recipe</a> :-)</p>
|
||||
<p><a href="#cody">Cody</a>, with intentional irony here :-), fixed formatting, links and typos in
|
||||
various files.</p>
|
||||
<p>He also added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson2/try.sh">try.sh</a> script.</p>
|
||||
<p>He also added the <a href="2020/ferguson2/index.html#alternate-code">alt code</a> and the
|
||||
<p>He also added the <a href="2020/ferguson2/index.html#alternate-code">alternate code</a> and the
|
||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson2/try.alt.sh">try.alt.sh</a> script.</p>
|
||||
<p>The try scripts involved the addition of a text file,
|
||||
<a href="2020/ferguson2/key.txt">key.txt</a> which has the key of the file the judges
|
||||
|
||||
Reference in new issue
Block a user