Remove hint.html and index.html

As per discussions on GitHub the index.html and hint.html files should
be deleted in favour of README.md files (from any
.text/.txt/.markdown/.md files which will be turned into README.md in an
upcoming commit).
This commit is contained in:
Cody Boone Ferguson committed 2023-02-08 05:07:05 -08:00
1 parent ee8a36310f
commit 77fb0f11a2
143 files changed
-28606

No files matched your search

-121
View File
@@ -1,121 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="mkd2html 2.1.5a DL=DISCOUNT">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<link rel="stylesheet"
type="text/css"
href="../hint.css">
<title>Most partisan 1-liner</title>
</head>
<body>
<h1>Most partisan 1-liner</h1>
<p>Adrian Cable<br>
<a href="&#x6d;&#97;&#105;&#x6c;&#116;&#x6f;&#x3a;&#97;&#100;&#114;&#x69;&#97;&#x6e;&#x2e;&#99;&#97;&#98;&#x6c;&#101;&#x40;&#x67;&#x6d;&#x61;&#x69;&#108;&#x2e;&#99;&#111;&#x6d;">&#97;&#x64;&#114;&#105;&#x61;&#110;&#46;&#99;&#x61;&#98;&#x6c;&#x65;&#x40;&#x67;&#109;&#97;&#x69;&#108;&#x2e;&#99;&#111;&#109;</a></p>
<h2>Judges' comments:</h2>
<h3>To build:</h3>
<pre><code>make cable1
</code></pre>
<h3>To run:</h3>
<pre><code>./cable1 name group1 group2
</code></pre>
<h3>Try:</h3>
<pre><code>./cable1 obama republican democrat
./cable1 nixon republican democrat
./cable1 bush republican democrat
./cable1 kennedy republican democrat
./cable1 lincoln republican democrat
</code></pre>
<h3>Selected Judges Remarks:</h3>
<p>Partisan may be defined as a strong supporter of a cause, party or person.
We need not limit ourselves to the two major political parties in the US today.</p>
<p>Let us consider:</p>
<pre><code>./cable1 Cooper Mac PC
</code></pre>
<p>Simon works for Apple, so would would expect Mac. :-)
Landon is a long time Mac user:</p>
<pre><code>./cable1 Noll Mac PC
</code></pre>
<p>That works too!. Now Leo brings PCs to the IOCCC judging for cross-platform
testing:</p>
<pre><code>./cable1 Broukhis Mac PC
</code></pre>
<p>We can test other people. The late Steve Jobs:</p>
<pre><code>./cable1 Jobs Mac PC
</code></pre>
<p>That works! How about Bill?</p>
<pre><code>./cable1 Gates Mac PC
</code></pre>
<p>A PC guy as expected. What about that other Steve?</p>
<pre><code>./cable1 Ballmer Mac PC
</code></pre>
<p>Humm .. maybe there is a hidden reason he is leaving the late Micro$oft? :-)
Why late? See <a href="https://twitter.com/landonnoll/status/401582967123742720">this tweet</a>.</p>
<p>So how does a one line C source know so much? Hint: it doesn&rsquo;t.</p>
<h2>Author&rsquo;s comments:</h2>
<h1>Presidents of the United States of America!</h1>
<p>Politics is full of memorable one-liners. Without wishing to misunderestimate the taste of the judges, nor prejudge the past, the author hopes you enjoy this contribution to the genre.</p>
<p>This one-line C program accepts as a first command-line argument the last name of any of the last 31 US Presidents (from Franklin Pierce onwards), in lower case, and prints out their political affiliation.</p>
<p>Use &ldquo;republican&rdquo; as the 2nd command-line argument, and &ldquo;democrat&rdquo; as the 3rd (or equivalent strings of your choice).</p>
<h2>Why is this entry obfuscated/interesting?</h2>
<ul>
<li>The program looks up the name supplied on the command line against a list of Presidents' names, and matches names to political affiliations using a look-up table. But where in the source is the list of names, and where is the look-up table?</li>
</ul>
<h2>Notes</h2>
<ul>
<li>For Theodore Roosevelt, use: ./cable1 roosevelt republican democrat</li>
<li>But, for Franklin D Roosevelt, use: ./cable1 fdr republican democrat</li>
<li>This program needs a little endian CPU to work properly.</li>
</ul>
<h2>Compiler warnings</h2>
<p>clang warns about a missing type specifier for main, and that implicit function declarations are invalid in C99 (but still accepts them).</p>
<hr />
<TABLE><TR>
<TD><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" /></a></TD>
<TD><P>&copy; Copyright 1984-2015,
<A HREF="/judges.html">Leo Broukhis, Simon Cooper, Landon Curt Noll</A>
- All rights reserved<BR>
This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.</P></TD>
<TD>&nbsp;<!--<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>--></TD>
</TR></TABLE>
</body>
</html>