convert spoiler language and towards deobfuscation language

This commit is contained in:
Landon Curt Noll committed 2024-06-30 23:07:18 -07:00
1 parent 50a2a6293c
commit 4d6009b58f
98 files changed
+195 -358

No files matched your search

+2 -1
View File
@@ -227,7 +227,8 @@ This allows for a convenient test suite:
PATH=. eprog < test.in | diff - test.out
```
### Spoilers:
### Deobfuscation:
If you do not want to puzzle out how it works, see [spoilers.html](spoilers.html).
+1 -1
View File
@@ -528,7 +528,7 @@ To stifle these complaints:</p>
This allows for a convenient test suite:</p>
<pre><code> ln -sf prog eprog
PATH=. eprog &lt; test.in | diff - test.out</code></pre>
<h3 id="spoilers">Spoilers:</h3>
<h3 id="deobfuscation">Deobfuscation:</h3>
<p>If you do not want to puzzle out how it works, see <a href="spoilers.html">spoilers.html</a>.</p>
<!--
+1 -1
View File
@@ -201,7 +201,7 @@ Those techniques are about the use of 64 bit integers in order to do SIMD work,
in a portable way without ever using any SSE/AVX or other non-portable compiler
inline functions! The irony though, is that when compiling the program on modern
X86 architectures indeed SSE/AVX is used for the long longs. Following is some
"Spoiler" information, So if you want to play tough, stop reading at this point.
deobfuscation information, So if you want to play tough, stop reading at this point.
### Portable SIMD programming:
+1 -1
View File
@@ -526,7 +526,7 @@ code more magical and efficient, at the same time.</p>
in a portable way without ever using any SSE/AVX or other non-portable compiler
inline functions! The irony though, is that when compiling the program on modern
X86 architectures indeed SSE/AVX is used for the long longs. Following is some
“Spoiler” information, So if you want to play tough, stop reading at this point.</p>
deobfuscation information, So if you want to play tough, stop reading at this point.</p>
<h3 id="portable-simd-programming">Portable SIMD programming:</h3>
<p>So how is this done? Quite simply by using the whole <code>long long</code> arithmetic’s
capability. I think the C99 standard assures us that <code>long long</code> has at least 64
+1 -1
View File
@@ -62,7 +62,7 @@ terminal supports bold.
Hint 2: Do `wc -c prog.c`. This is very long one-liner.
Spoiler: Open the source with an editor like `vim` or `emacs`.
Deobfuscation hint: Open the source with an editor like `vim` or `emacs`.
<!--
+1 -1
View File
@@ -431,7 +431,7 @@ Location: <a href="../../location.html#JP">JP</a> - <em>Japan</em></li>
<p>Hint 1: Do <code>less prog.c</code>. You will see an <strong>emphasized</strong> string if your
terminal supports bold.</p>
<p>Hint 2: Do <code>wc -c prog.c</code>. This is very long one-liner.</p>
<p>Spoiler: Open the source with an editor like <code>vim</code> or <code>emacs</code>.</p>
<p>Deobfuscation hint: Open the source with an editor like <code>vim</code> or <code>emacs</code>.</p>
<!--
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.
+1 -1
View File
@@ -64,7 +64,7 @@ the source code from all angles..
* Find `main()` function.
### Spoiler
### Deobfuscation
This program is a joke PDP-11 emulator. ("ll-dpd" is embedded in the code.
Read it upside down.)
+1 -1
View File
@@ -438,7 +438,7 @@ the same reason. But I believe it is reasonably portable.</li>
the source code from all angles..</li>
<li>Find <code>main()</code> function.</li>
</ul>
<h3 id="spoiler">Spoiler</h3>
<h3 id="deobfuscation">Deobfuscation</h3>
<p>This program is a joke PDP-11 emulator. (“ll-dpd” is embedded in the code.
Read it upside down.)</p>
<p>You got it? This program is supposed to be used in this way:</p>
+1 -1
View File
@@ -380,7 +380,7 @@ to be.
### Examine the algorithm
Spoilers ahead. Duh!
Deobfuscation information ahead. Duh!
Pseudocode, with comments matching those in the C source:
+1 -1
View File
@@ -666,7 +666,7 @@ as <code>(256 + 128 + 4 + 2) * 512</code> minimizes the character count. That’
judges get when they don’t like programs that are longer than they need
to be.</p>
<h3 id="examine-the-algorithm">Examine the algorithm</h3>
<p>Spoilers ahead. Duh!</p>
<p>Deobfuscation information ahead. Duh!</p>
<p>Pseudocode, with comments matching those in the C source:</p>
<pre><code> /* run */
if (non-NULL and nonempty argv[1]) {