completed mods related to pr #145

The tarballs were updated.

Removed reference to the previous mod from `thanks-for-help.md`.

Updated the `2012/omoikane/index.html` page.

Updated sitemap.
This commit is contained in:
Landon Curt Noll committed 2025-05-15 21:15:56 -07:00
1 parent 457d6318fc
commit 51f4d86ed9
6 files changed
+32 -70

No files matched your search

BIN
View File
Binary file not shown.
Binary file not shown.
+11 -13
View File
@@ -447,9 +447,7 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
<h2 id="to-build">To build:</h2>
<pre><code> make</code></pre>
<p>There is an alternate version that will read from the compiled file itself, in
case you don’t have a <code>/dev/urandom</code> file. There is also a version that should
theoretically work with Windows which distinguishes binary and text. See
<a href="#alternate-code">alternate code</a> below.</p>
case you don’t have a <code>/dev/urandom</code> file.</p>
<h2 id="to-use">To use:</h2>
<pre><code> ./nyaruko [seed.txt] &lt; original.bin &gt; output.c
bash output.c &gt; key.c
@@ -470,20 +468,14 @@ perl parts of the script.</p>
<p>The alternate version will, if no file is specified, read in the compiled binary
itself rather than trying to open <code>/dev/urandom</code>, which is the default for the
original entry. This is useful if your system does not have a <code>/dev/urandom</code>
file and you do not want to specify an extra file. The second alternate version
is like the first except it also should theoretically work with Windows, setting
binary mode on <code>stdin</code> and <code>stdout</code>.</p>
file and you do not want to specify an extra file.</p>
<h3 id="alternate-build">Alternate build:</h3>
<p>For the first version:</p>
<pre><code> make alt</code></pre>
<p>For the second version:</p>
<pre><code> make alt2</code></pre>
<h3 id="alternate-use">Alternate use:</h3>
<p>Use <code>nyaruko.alt</code> or <code>nyaruko.alt2</code> as you would <code>nyaruko</code> above.</p>
<p>Use <code>nyaruko.alt</code> as you would <code>nyaruko</code> above.</p>
<h3 id="alternate-try">Alternate try:</h3>
<p>For the first alternate version:</p>
<pre><code> ./try.alt.sh</code></pre>
<p>We have no way to test the second version, sorry (tm Canada 🇨🇦 :-) )!</p>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>The judges have nothing to add that has not already been written about in the
<a href="obfuscation.html">obfuscation.html</a> (requires JavaScript) file! :-)</p>
@@ -565,7 +557,13 @@ combinations:</p>
<li>tcc 0.9.25 on JSLinux</li>
</ul>
<p>Note that on MingW, <code>stdin</code> and <code>stdout</code> are not opened in binary mode by
default, this means <code>Nyaruko</code> may not faithfully encode files on MingW.</p>
default, this means <code>Nyaruko</code> may not faithfully reproduce files on MingW.
As a workaround, a <code>binmode_main.h</code> is included, so it’s possible to produce
an encoder that’s binary-clean like this:</p>
<pre><code> x86_64-w64-mingw32-gcc -include binmode_main.h nyaruko.c -o nyaruko.exe</code></pre>
<p>The C code produced by the encoder will need to be compiled with the same
<code>-include binmode_main.h</code> hack if you want its output to faithfully reproduce
the original binary input.</p>
<h3 id="notice-to-those-who-wish-for-a-greater-challenge">NOTICE to those who wish for a greater challenge:</h3>
<p><strong>If you want a greater challenge, don’t read any further</strong>:
just try to understand the program via the source.</p>
@@ -600,12 +598,12 @@ JavaScript.</p>
<h2 id="primary-files">Primary files</h2>
<ul>
<li><a href="https://github.com/ioccc-src/winner/blob/master/2012/omoikane/Makefile">Makefile</a> - entry Makefile</li>
<li><a href="https://github.com/ioccc-src/winner/blob/master/2012/omoikane/omoikane.alt2.c">omoikane.alt2.c</a> - second alternate source code</li>
<li><a href="https://github.com/ioccc-src/winner/blob/master/2012/omoikane/omoikane.alt.c">omoikane.alt.c</a> - alternate source code</li>
<li><a href="https://github.com/ioccc-src/winner/blob/master/2012/omoikane/omoikane.orig.c">omoikane.orig.c</a> - original source code</li>
<li><a href="https://github.com/ioccc-src/winner/blob/master/2012/omoikane/omoikane.c">omoikane.c</a> - entry source code</li>
<li><a href="https://github.com/ioccc-src/winner/blob/master/2012/omoikane/try.alt.sh">try.alt.sh</a> - script to try alternate code</li>
<li><a href="https://github.com/ioccc-src/winner/blob/master/2012/omoikane/try.sh">try.sh</a> - script to try entry</li>
<li><a href="https://github.com/ioccc-src/winner/blob/master/2012/omoikane/binmode_main.h">binmode_main.h</a> - Preprocessor hack to set binary mode</li>
<li><a href="obfuscation.html">obfuscation.html</a> - JavaScript page with full recording of development</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
+21 -21
View File
@@ -1086,7 +1086,7 @@
</url>
<url>
<loc>https://www.ioccc.org/1989/1989.tar.bz2</loc>
<lastmod>2025-04-16T20:59:19+00:00</lastmod>
<lastmod>2025-05-13T23:35:04+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/1989/fubar/1989_fubar.tar.bz2</loc>
@@ -1330,7 +1330,7 @@
</url>
<url>
<loc>https://www.ioccc.org/1989/tromp/1989_tromp.tar.bz2</loc>
<lastmod>2025-04-16T20:59:19+00:00</lastmod>
<lastmod>2025-05-13T23:34:37+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/1989/tromp/index.html</loc>
@@ -5770,11 +5770,11 @@
</url>
<url>
<loc>https://www.ioccc.org/2004/arachnid/arachnid.alt.c</loc>
<lastmod>2025-01-10T06:06:38+00:00</lastmod>
<lastmod>2025-05-15T19:18:07+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2004/arachnid/arachnid.c</loc>
<lastmod>2025-01-10T06:06:38+00:00</lastmod>
<lastmod>2025-05-15T19:18:07+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2004/arachnid/arachnid.orig.c</loc>
@@ -5790,7 +5790,7 @@
</url>
<url>
<loc>https://www.ioccc.org/2004/arachnid/Makefile</loc>
<lastmod>2025-01-10T06:06:38+00:00</lastmod>
<lastmod>2025-05-15T19:18:07+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2004/arachnid/README.md</loc>
@@ -8642,7 +8642,7 @@
</url>
<url>
<loc>https://www.ioccc.org/2012/2012.tar.bz2</loc>
<lastmod>2025-04-16T20:59:19+00:00</lastmod>
<lastmod>2025-05-16T04:08:57+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2012/blakely/2012_blakely.tar.bz2</loc>
@@ -9134,27 +9134,27 @@
</url>
<url>
<loc>https://www.ioccc.org/2012/omoikane/2012_omoikane.tar.bz2</loc>
<lastmod>2025-04-16T20:59:19+00:00</lastmod>
<lastmod>2025-05-16T04:08:42+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2012/omoikane/binmode_main.h</loc>
<lastmod>2025-05-16T03:59:13+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2012/omoikane/index.html</loc>
<lastmod>2025-03-02T21:52:38+00:00</lastmod>
<lastmod>2025-05-16T04:02:31+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2012/omoikane/Makefile</loc>
<lastmod>2025-01-10T06:06:39+00:00</lastmod>
<lastmod>2025-05-16T03:59:13+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2012/omoikane/obfuscation.html</loc>
<lastmod>2025-01-10T06:06:39+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2012/omoikane/omoikane.alt2.c</loc>
<lastmod>2025-01-10T06:06:39+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2012/omoikane/omoikane.alt.c</loc>
<lastmod>2025-01-10T06:06:39+00:00</lastmod>
<lastmod>2025-05-16T03:59:13+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2012/omoikane/omoikane.c</loc>
@@ -9166,7 +9166,7 @@
</url>
<url>
<loc>https://www.ioccc.org/2012/omoikane/README.md</loc>
<lastmod>2025-03-02T21:47:45+00:00</lastmod>
<lastmod>2025-05-16T03:59:13+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/2012/omoikane/try.alt.sh</loc>
@@ -15226,7 +15226,7 @@
</url>
<url>
<loc>https://www.ioccc.org/bin/cvt-submission.sh</loc>
<lastmod>2025-05-13T21:27:13+00:00</lastmod>
<lastmod>2025-05-15T20:06:07+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/bin/entry2csv.sh</loc>
@@ -15438,11 +15438,11 @@
</url>
<url>
<loc>https://www.ioccc.org/faq.html</loc>
<lastmod>2025-04-16T20:59:19+00:00</lastmod>
<lastmod>2025-05-16T03:58:56+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/faq.md</loc>
<lastmod>2025-04-16T20:59:19+00:00</lastmod>
<lastmod>2025-05-16T03:58:56+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/inc/index.html</loc>
@@ -15598,7 +15598,7 @@
</url>
<url>
<loc>https://www.ioccc.org/status.html</loc>
<lastmod>2025-05-13T23:30:11+00:00</lastmod>
<lastmod>2025-05-16T04:11:41+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/status.json</loc>
@@ -15610,11 +15610,11 @@
</url>
<url>
<loc>https://www.ioccc.org/thanks-for-help.html</loc>
<lastmod>2025-05-13T23:23:19+00:00</lastmod>
<lastmod>2025-05-16T04:11:40+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/thanks-for-help.md</loc>
<lastmod>2025-05-13T23:23:05+00:00</lastmod>
<lastmod>2025-05-16T04:11:08+00:00</lastmod>
</url>
<url>
<loc>https://www.ioccc.org/var.mk</loc>
-15
View File
@@ -4066,21 +4066,6 @@ this!</p>
</div>
<p><a href="#cody">Cody</a> added the <a href="https://github.com/ioccc-src/winner/blob/master/2012/konno/try.sh">try.sh</a> script.</p>
<p>Jump to: <a href="#">top</a></p>
<div id="2012_omoikane">
<h2 id="winning-entry-2012omoikane">Winning entry: <a href="2012/omoikane/index.html">2012/omoikane</a></h2>
<h3 id="winning-entry-source-code-omoikane.c-1">Winning entry source code: <a href="https://github.com/ioccc-src/winner/blob/master/2012/omoikane//omoikane.c">omoikane.c</a></h3>
</div>
<p><a href="#cody">Cody</a> added the <a href="2012/omoikane/index.html#alternate-code">alternate
versions</a> which will, if no arg is
specified, read in the program itself, rather than <code>/dev/urandom</code>. This is
mostly useful for those without a <code>/dev/urandom</code> device file, which the author
pointed out as being a problem, but which is the default for the entry . The
second alternate version is like the first except that it also sets binary mode
on <code>stdin</code> and <code>stdout</code> which should theoretically make it work in Windows. This
comes from the author’s remarks.</p>
<p>Cody also added the <a href="https://github.com/ioccc-src/winner/blob/master/2012/omoikane/try.sh">try.sh</a> and
<a href="https://github.com/ioccc-src/winner/blob/master/2012/omoikane/try.alt.sh">try.alt.sh</a> scripts.</p>
<p>Jump to: <a href="#">top</a></p>
<div id="2012_tromp">
<h2 id="winning-entry-2012tromp">Winning entry: <a href="2012/tromp/index.html">2012/tromp</a></h2>
<h3 id="winning-entry-source-code-tromp.c-1">Winning entry source code: <a href="https://github.com/ioccc-src/winner/blob/master/2012/tromp//tromp.c">tromp.c</a></h3>
-21
View File
@@ -5407,27 +5407,6 @@ Jump to: [top](#)
Jump to: [top](#)
<div id="2012_omoikane">
## Winning entry: [2012/omoikane](2012/omoikane/index.html)
### Winning entry source code: [omoikane.c](%%REPO_URL%%/2012/omoikane//omoikane.c)
</div>
[Cody](#cody) added the [alternate
versions](2012/omoikane/index.html#alternate-code) which will, if no arg is
specified, read in the program itself, rather than `/dev/urandom`. This is
mostly useful for those without a `/dev/urandom` device file, which the author
pointed out as being a problem, but which is the default for the entry . The
second alternate version is like the first except that it also sets binary mode
on `stdin` and `stdout` which should theoretically make it work in Windows. This
comes from the author's remarks.
Cody also added the [try.sh](%%REPO_URL%%/2012/omoikane/try.sh) and
[try.alt.sh](%%REPO_URL%%/2012/omoikane/try.alt.sh) scripts.
Jump to: [top](#)
<div id="2012_tromp">
## Winning entry: [2012/tromp](2012/tromp/index.html)
### Winning entry source code: [tromp.c](%%REPO_URL%%/2012/tromp//tromp.c)