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

-108
View File
@@ -1,108 +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 tweetable entry</title>
</head>
<body>
<h1>Most tweetable entry</h1>
<p>Sandro Maffiodo<br>
<a href="&#x6d;&#x61;&#x69;&#108;&#x74;&#111;&#58;&#115;&#109;&#97;&#x66;&#102;&#x65;&#114;&#64;&#x67;&#x6d;&#97;&#105;&#x6c;&#46;&#x63;&#x6f;&#x6d;">&#x73;&#x6d;&#97;&#102;&#x66;&#x65;&#x72;&#64;&#x67;&#x6d;&#97;&#105;&#x6c;&#46;&#99;&#111;&#109;</a><br>
<a href="http://www.assezeta.com/sandromaffiodo">http://www.assezeta.com/sandromaffiodo</a></p>
<h2>Judges' comments:</h2>
<h3>To build:</h3>
<pre><code>make
</code></pre>
<h3>To run:</h3>
<pre><code>./prog arg
</code></pre>
<h3>Try:</h3>
<pre><code>cat image.rgb | ./prog ' .,:;!$#@'
</code></pre>
<h3>Selected Judges Remarks:</h3>
<p>On the face of it :-) given what this program one might wonder what makes this winner special.
But when you realize the source is small enough to tweet on twitter you understand.</p>
<p>Who will be the first to tweet this source? How many re-tweets will such tweet get?
And how many people will really understand the tweet?</p>
<h2>Author&rsquo;s comments:</h2>
<h3>Remarks</h3>
<p>This program convert an image to an ASCII ART. The program reads a raw RGB image from <strong>stdin</strong> and print the ASCII ART to <strong>stdout</strong>.</p>
<p>The build process will raise some warnings about:</p>
<ul>
<li>declaration specifier missing, defaulting to &lsquo;int&rsquo;</li>
<li>implicitly declaring library function</li>
</ul>
<p>The program crash if run without parameters.</p>
<h3>Screen size</h3>
<p>If you have a terminal geometry than if different from the common 80x25 you can modify the <em>output width</em> by changing the value of the first variable:</p>
<pre><code>d=80
</code></pre>
<h3>Something to try</h3>
<p>Type this:</p>
<pre><code>cat image.rgb | ./prog " .:;Y0"
</code></pre>
<p>You can use your own image. Convert the image to a raw RGB image, using imagemagick it&rsquo;s very simple:</p>
<pre><code>convert -geometry 80x source.jpg image.rgb
</code></pre>
<p>This program require one parameter, or crash. The parameter of the program is the <em>convertion ramp</em>. You can use different ramps or create your own (for ex. using some letters of your name).
These are some ramps you can try:</p>
<pre><code>./prog " :1"
./prog " .:;Y0"
./prog " .:-=+*#%@"
./prog " .,:!-iots&amp;8%#@$"
./prog "$@B%8&amp;WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\|()1{}[]?-_+~&lt;&gt;i!lI;:,"^`'. "
</code></pre>
<h3>121 byte version</h3>
<p>An alternative version of this program is only 121bytes long:</p>
<pre><code>d=80,e,j;g(){j+=getchar();}main(){for(;;){j=0;g();if(j&lt;0)break;g(g());putchar(" .:#@"[j/3*5&gt;&gt;8]);if(!(++e%d))puts("");}}
</code></pre>
<p>This alternative version have a <strong>fixed ramp</strong>. It&rsquo;s smaller but it&rsquo;s not so fun to use&hellip;</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>