Add preview of 1984-2019

The 2020 winners are hinted it, but the source code is not there,
nor are the hints. Someone could look into the HTML and
see what was commented out, but that is not a problem because
WHO won is known and the name of their AWARD is known already.
Moreover a number of the winners have talked about what their
entirs do, so the commented out spoiler text is not a bit problem.

One will find HTML commented out with:

    <!-- XXX remove when 2020 is ready
    2020 links here
    XXX remove when 2020 is ready -->

The "XXX remove when 2020 is ready" string is found at the
start and end comment blocks.  Again, soneone could read
what was commented out, but that is OK since most of that
information is known or can be known.  The following files
have such HTML comment blocks in them.

    ./winners.html
    ./years-spoiler.html
    ./years.html

In addition, ./all/summary.txt was modified to not
include the 2020 entries for the momemt.

The 2020 winner code AND write-ups are NOT part of this set.

p.s. The all/all.tar.bz2 does not contain the 2020 source code (yet?).
This commit is contained in:
Landon Curt Noll committed 2020-12-30 16:57:03 -08:00
1 parent 28efc67f5d
commit c0663537cb
1683 files changed
+220064

No files matched your search

+208
View File
@@ -0,0 +1,208 @@
#!/usr/bin/env make
#
# 2014 makefile
#
# This work by Landon Curt Noll, Simon Cooper, and Leonid A. Broukhis
# is licensed under:
#
# Creative Commons Attribution-ShareAlike 3.0 Unported License.
#
# See: http://creativecommons.org/licenses/by-sa/3.0/
################
# tool locations
################
#
SHELL= /bin/bash
CP= cp
CPP= cpp
GUNZIP= gunzip
LD= ld
MAKE= make
RM= rm
SED= sed
TAR= tar
TRUE= true
# Set X11_LIBDIR to the directory where the X11 library resides
#
X11_LIBDIR= /usr/X11R6/lib
# Set X11_INCLUDEDIR to the directory where the X11 include files reside
#
X11_INCDIR= /usr/X11R6/include
# Compiler warnings
#
#CWARN=
CWARN= -Wall
#CWARN= -Wall -pedantic
# compiler standard
#
#CSTD=
#CSTD= -ansi
CSTD= -std=c11
# compiler bit architecture
#
# Some entries require 32-bitness:
# ARCH= -m32
#
# Some entries require 64-bitess:
# ARCH= -m64
#
# By default we assume nothing:
#
ARCH=
# optimization
#
# Most compiles will safely use -O2. Some can use only -O1 or -O.
# A few compilers have broken optimizers or this entry make break
# under those buggy optimizers and thus you may not want anything.
#
#OPT=
#OPT= -O
#OPT= -O1
OPT= -O2
#OPT= -O3
# Libraries needed to build
#
LIBS=
# default flags for ANSI C compilation
#
CFLAGS= ${CWARN} ${CSTD} ${ARCH} ${OPT} -Wno-empty-body -funsigned-char
# ANSI compiler
#
# Set CC to the name of your ANSI compiler.
#
# Some entries seem to need gcc. If you have gcc, set
# both CC and MAY_NEED_GCC to gcc.
#
# If you do not have gcc, set CC to the name of your ANSI compiler, and
# set MAY_NEED_GCC to either ${CC} (and hope for the best) or to just :
# to disable such programs.
#
CC= cc
#CC=clang
MAY_NEED_GCC= gcc
##############################
# Special flags for this entry
##############################
#
ENTRY= prog main
DATA=
ALT_OBJ=
ALT_ENTRY=
#################
# build the entry
#################
#
all: ${ENTRY} ${DATA}
@${TRUE}
main: main.c
${CC} ${CFLAGS} $< -o $@ ${LIBS}
main.c: prog
./prog > $@
prog: prog.c
${CC} ${CFLAGS} $< -o $@ ${LIBS}
# alternative executable
#
alt: ${ALT_ENTRY}
@${TRUE}
# data files
#
data: ${DATA}
@${TRUE}
###############
# utility rules
###############
#
everything: all alt
clean:
${RM} -f ${ENTRY}.o ${ALT_OBJ} main.o
clobber: clean
${RM} -f ${ENTRY} ${ALT_ENTRY} main.c main
nuke: clobber
@${TRUE}
dist_clean: nuke
@${TRUE}
install:
@echo "Surely we are joking Dr. Science!"
@${TRUE}
# backwards compatibility
#
build: all
@${TRUE}
##################
# 133t hacker rulz
##################
#
love:
@echo 'not war?'
@${TRUE}
haste:
$(MAKE) waste
@${TRUE}
waste:
@echo 'haste'
@${TRUE}
easter_egg:
@echo you expected to sometimes mis-understand this $${RANDOM} magic
@echo chongo '<was here>' "/\\oo/\\"
@echo Readers shall not be disallowed from failong to be unable to not partly misunderstand this partocular final echo.
# Understand the history of the Homebrew Computer Club
# as well as the West Coast Computer Faire and
# you might be confused different. :-)
#
supernova: nuke
@-if [ -r .code_anal ]; then \
${RM} -f .code_anal_v4; \
else \
echo "We are not expected to understand that"; \
fi
@${TRUE}
deep_magic:
@-if [ -r .code_anal ]; then \
ccode_analysis --deep_magic 2ed3582ec5c094a093fea2a6bcb9f19439892873c9cc45ed1ceaafe08b7d52e1b2c7cd524be3b0b2 --FNV1a_hash 512-bit "${ENTRY}"; \
else \
echo "You are holding it wrong!"; \
fi
@${TRUE}
magic: deep_magic
@-if [ -r .code_anal ]; then \
ccode_analysis --mode 391581 --level 216193 --FNV1a_hash 512-bit "${ENTRY}"; \
else \
echo "These aren't the primes you're looking for Pauline!"; \
fi
@${TRUE}
+82
View File
@@ -0,0 +1,82 @@
<!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 square (YODA award)</title>
</head>
<body>
<h1>Most square (YODA award)</h1>
<p>Yusuke Endoh<br>
<a href="&#109;&#97;&#105;&#108;&#116;&#x6f;&#x3a;&#109;&#x61;&#109;&#101;&#x40;&#114;&#x75;&#98;&#121;&#x2d;&#108;&#x61;&#x6e;&#x67;&#x2e;&#111;&#x72;&#x67;">&#109;&#x61;&#109;&#x65;&#x40;&#x72;&#117;&#x62;&#x79;&#45;&#x6c;&#97;&#x6e;&#x67;&#46;&#x6f;&#x72;&#x67;</a><br>
<a href="https://github.com/mame/">https://github.com/mame/</a></p>
<h2>Judges' comments:</h2>
<h3>To build:</h3>
<pre><code>make
</code></pre>
<h3>To run:</h3>
<pre><code>./prog &gt; foo.c
</code></pre>
<h3>Try:</h3>
<pre><code>./prog &gt; main.c
make main
./main Hello
</code></pre>
<h3>Selected Judges Remarks:</h3>
<p>Big terminals with tiny fonts have their uses in certain cases.
One of them is:</p>
<pre><code>./prog &lt; prog.c &gt; treacle.c
make treacle
# or instead of make: cc -Wno-empty-body -funsigned-char treacle.c -o treacle
./treacle
</code></pre>
<p>When using a smart phone to read the output, you may need to
step back to see the bigger picture because that picture is worth
more than 1000 words.</p>
<h2>Author&rsquo;s comments:</h2>
<h3>Remarks</h3>
<p>You may want to use a large display with a very small-font terminal.</p>
<h3>Spoiler</h3>
<p>Decompress <code>src.zip</code> if you need explanation.</p>
<hr />
<!--
(c) Copyright 1984-2015, [Leo Broukhis, Simon Cooper, Landon Curt Noll][judges] - All rights reserved
This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][cc].
[judges]: http://www.ioccc.org/judges.html
[cc]: http://creativecommons.org/licenses/by-sa/3.0/
-->
<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>
+54
View File
@@ -0,0 +1,54 @@
# Most square (YODA award)
Yusuke Endoh
<mame@ruby-lang.org>
<https://github.com/mame/>
## Judges' comments:
### To build:
make
### To run:
./prog > foo.c
### Try:
./prog > main.c
make main
./main Hello
### Selected Judges Remarks:
Big terminals with tiny fonts have their uses in certain cases.
One of them is:
./prog < prog.c > treacle.c
make treacle
# or instead of make: cc -Wno-empty-body -funsigned-char treacle.c -o treacle
./treacle
When using a smart phone to read the output, you may need to
step back to see the bigger picture because that picture is worth
more than 1000 words.
## Author's comments:
### Remarks
You may want to use a large display with a very small-font terminal.
### Spoiler
Decompress `src.zip` if you need explanation.
--------------------------------------------------------------------------------
<!--
(c) Copyright 1984-2015, [Leo Broukhis, Simon Cooper, Landon Curt Noll][judges] - All rights reserved
This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][cc].
[judges]: http://www.ioccc.org/judges.html
[cc]: http://creativecommons.org/licenses/by-sa/3.0/
-->
+58
View File
@@ -0,0 +1,58 @@
#include<stdio.h>/*IOCCC2014 2014 2014 IOCCC2014IOCCC2014IOCCC201*/
char*s="\"nsu{AntynCnuq}Bnu{ sEot ln>b )+c^g+@`+]_osk{;j@bkg&c<'^o\
r'Q] bh'l vQ^k g&c: %n|\
N]_o ptj9 lwg+ )d:b kg$\
c8#^ #g+)d8`a%g+) d8`_ g&;bh'oq Q^)g +&kcNlyMc+)d 8`a\
`g+@ u)|d8ak=bl}( Q^og (O{MK6lM L(rR pOpM866OsRlm N(q\
Q]## OsR#M_(lQoOa N9$m vOwwRor~ }(cN mkM: q(Q]%_(uU]}_ {8b\
%mRh #S^`#mOaaD%/ RI4$ 4SNH$%N4 RlMG /2MJ 24O3NF(tQ?1l N*N\
+Q]l mq9l8b$^#h$# .d,d xv#mSOPm R8`/ lM;b h&^/lM:k8b%& Q^-\
h%c9 .#,/&N$McPc% -d8, $c8``7:b %^h% :79b $^%$7ON8r%Qr h$Q\
On%q N%O~ M$qN$OMp RmPQ O%rQ $rQ\
MkQN 77O# dj#Nkd$7 O%d8 ``(r RmM\
:(luN](%mRMmO%lNRmO_loa8%%O< b(lQ h'lQ O^ln ;b'%N&O^6sN#M9slltwzh&TmS$'\
%R#ON$oNS&pRM7O$'%S#ON$oNS&p SMd9 ``(t pkO9 $:nk8b#^%}kx#O%lMtpk#OQOP:#\
mR8`}(qQ O<b\
'7M{N^kh 'Q]\
7sN' M8q;k'N_7vN'nSM8 'nR; $%M' TamS&7O#d#7O &d8`z9b$ ^h$\
rQ]6 yN$_$$pQaM8m{px$ TmSt 6O#N sM$nRmUd#7Os d77sNOsd 8`j\
=nk; |8k9 b1g( Q^)$c:%] k*Q]g$9%_h*]+wnS _+sTaa:&%{R\
M<%{ S{O_ &<#w kP8#a;'( 0d:`184>b)^15)OM :23h)QN<'/M\
=b(^'h(Q]0h# c_kah%0d9`b'/O(Q^(/SlM90%M(/ RM;& $c&kckQ, -$c\
.&kccMcOP$&d 9g(=``6:69j=b5g(Q^3(2lNUO<b4 'Q^s ;b&^%%pQ M8k\
$7O#cQ]0(2(Q]'2O 3'Q]'_3a N_1' 5OMaMch&T$mR#nRMPmSk U$7\
O#d8_a%%mS]l_%mR mS]$]h$9 j_la _$6N]g$9j_laaaN:`g'< ``7\
oM:6%N9b%g$Q ^6%N8b%g #Q^l peoqemtemw#jQ7#QO$jQ O7$Q Ok#\
$7OMQ]k_#$7O ckQaOrON epne luelue`lpeoqempepneu e`kf _a`\
lf)) *+,**,*)-)/),0).0(6/2+667,(& $##\
#;=@ D*0;#include<stdio.h>@intYH[ 9`%\
.],*s,*c,d,t;`;'main(`-9n,ch ar*v []){ for(s=c= H+3`XI;\
(*++s=Q[d++]););for(;n>1&&(* ++s= v[1] [tgANs=H ;d=*c++\
%93, d-9; ){in tYv=*s,g []={ n+v, v-n,n*_\
,#^_ ,,<v ,n?v /n:0`,#% `,,v >>n, v==n}ay\
>t=0 ;d<4&&d>=2*! !n&& (c-=d/3*2_KK3+*c++,t||v!=98+d);) t+=v++/6-16\
?0:v /2%3-1cq*d-1 4;t> 0_t$<3_z(105<*c_X'=t*21aq@-106;n =d>76?s--,g\
[d-7 7]:d>55?H_1) 21]= n,*_@_8( 9?*++s_4&12>d_C`f3]+=21-d*2\
:d<3 4?t:_Zadat57 <d?p utchar(n ),v:6<a](g+99]=a{d2#:`xa6,n\
;}re turnY_.",*p, b,d[ 9338 ],*q,x,*r=d; int main(){;for(
p=q= 5000+0+d;*s; s++) if(* s>32)*p++=*s -89?*s:32;for(p=
1152 +q;( b=*p++);){for(d[17]= 10;x =*p++,b<
92&& 34<b --;*r++=x)if(x==9*9) for( ;*q;x=34
)*r++=*q++;for(p-=b<92;b-->4 *23;r++) *r=r[36- x];}puts (d);
return(0);}/*IOCCC2014IOCCC2 014IOCCC 2014IOCC C2014IOC CC*/
Binary file not shown.