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

-129
View File
@@ -1,129 +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>Smallest large system simulator</title>
</head>
<body>
<h1>Smallest large system simulator</h1>
<p>Yves-Marie Morgan<br>
<a href="&#x6d;&#97;&#105;&#x6c;&#116;&#x6f;&#x3a;&#121;&#118;&#101;&#x73;&#45;&#x6d;&#x61;&#114;&#105;&#101;&#x2e;&#109;&#x6f;&#x72;&#x67;&#x61;&#x6e;&#64;&#x70;&#97;&#114;&#x72;&#111;&#x74;&#46;&#99;&#x6f;&#109;">&#121;&#118;&#x65;&#115;&#x2d;&#x6d;&#x61;&#x72;&#105;&#101;&#x2e;&#109;&#x6f;&#114;&#103;&#97;&#110;&#x40;&#112;&#x61;&#114;&#x72;&#x6f;&#116;&#46;&#99;&#x6f;&#x6d;</a></p>
<h2>Judges' comments:</h2>
<h3>To build:</h3>
<pre><code>make morgan1
</code></pre>
<h3>To run:</h3>
<pre><code>echo "2013/10/03" | ./morgan1
</code></pre>
<h3>Try:</h3>
<pre><code>echo "1985/10/28" | ./morgan1
echo "1996/12/31" | ./morgan1
</code></pre>
<p>Try pressing the arrow keys when your focus is in the window.</p>
<h3>Selected Judges Remarks:</h3>
<p>To verify the output, try echoing the date of an evening with a clear sky.
Use binoculars and/or telescope as needed. In some cases you may need
to wait for a better time of the evening. In a few cases, such as
the South Pole in the summer, you may need to move to a different
observing site.</p>
<h2>Author&rsquo;s comments:</h2>
<h1>Instructions</h1>
<p>It displays the position of the 8 planets of the solar system around the sun.
The date given in the command line is in the format YYYY/MM/DD (year, month and
day). The direction keys can be used to move in time :
Left : go back 1 day.
Right : go forward 1 day.
Down : go back 20 days.
Up : go forward 20 days.</p>
<p>It handles correctly all leap years and the switch between julian calendar and
gregorian calendar (10 days missing between 1582/10/04 and 1582/10/15).</p>
<p>The scale is logarithmic to be able to display the 8 planets without having
Mercury, Venus, Earth and Mars squizzed around the sun.</p>
<p>The size is not proportinal either.</p>
<h1>Bonus</h1>
<p>It also displays the position of 2 famous comets during their last approach :
- The first one arround the third IOCCC.
- The second one between the thirteenth and fourteenth IOCCC.</p>
<h1>Limitations</h1>
<ul>
<li>ASCII character set is assumed.</li>
<li>a c99 compiler is required (for some math.h functions).</li>
<li>The position should be correct for years between (-1000; +3000)</li>
<li>The approximations done in the formula are OK for displaying the
position around the sun but not for other applications like ephemeride or
sky view from Earth (angles may be off by 1 or 2 degrees sometimes).</li>
</ul>
<h1>Obfuscation</h1>
<ul>
<li>Reuse of 1 letter variables.</li>
<li>Only the main function with some for loops.</li>
<li>Constants for orbital elements encoded in a string.</li>
<li>Hexadecimal and decimal values used inconsitentely.</li>
<li>Comparisons order are not consitent.</li>
<li>A lot of stuff is done in the different parts of the for loop.</li>
</ul>
<h1>Compilation warnings</h1>
<p>with gcc 4.7.2 on Linux Ubuntu 12.10 :
* prog.c:38:3: warning: suggest parentheses around ‘&amp;&amp;’ within ‘||’ [-Wparentheses]
* prog.c:40:34: warning: value computed is not used [-Wunused-value]
* prog.c:56:6: warning: suggest parentheses around ‘&amp;&amp;’ within ‘||’ [-Wparentheses]
* prog.c:58:50: warning: value computed is not used [-Wunused-value]
* prog.c:61:5: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses]</p>
<p>with clang 3.1 on Linux Ubuntu 12.10 :
* prog.c:38:49: warning: &lsquo;&amp;&amp;&rsquo; within &lsquo;||&rsquo; [-Wlogical-op-parentheses]
* prog.c:38:27: warning: &lsquo;&amp;&amp;&rsquo; within &lsquo;||&rsquo; [-Wlogical-op-parentheses]
* prog.c:55:13: warning: &lsquo;&amp;&amp;&rsquo; within &lsquo;||&rsquo; [-Wlogical-op-parentheses]
* prog.c:56:14: warning: &lsquo;&amp;&amp;&rsquo; within &lsquo;||&rsquo; [-Wlogical-op-parentheses]</p>
<p>Due to most parentheses and braces removed when unecessary.</p>
<p>To verify the display, you can look at one of this programs :
* xephem : http://www.clearskyinstitute.com/xephem/
* homeplanet : http://www.fourmilab.ch/homeplanet/
* http://www.theplanetstoday.com/</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>