fix standard headers and header spacing in winner README.md files
This commit is contained in:
1 parent
50837e452e
commit
fbd20cfdc2
319 files changed
+1601
-382
No files matched your search
@@ -11,6 +11,7 @@ Michael Birken\
|
||||
make alt
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
To see why we recommend the alternate version instead of the original version,
|
||||
@@ -23,7 +24,8 @@ see the [original code](#original-code) section.
|
||||
To see why we recommend the alternate version instead of the original version,
|
||||
see the [original code](#original-code) section.
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
This alternate version, which we recommend that you use in order to see what is
|
||||
happening with modern systems, and to not flash colours too quickly, which can
|
||||
@@ -51,6 +53,7 @@ If you wish to speed it up 200% you can use instead `-DZ=3750`. Doing this
|
||||
you might find the right value to your liking; use ctrl-c to terminate the
|
||||
program early.
|
||||
|
||||
|
||||
## Original code:
|
||||
|
||||
Should you wish to see the original without having to mess with the compiler
|
||||
@@ -70,6 +73,7 @@ BIRKEN=birken ./try.sh
|
||||
|
||||
PLEASE be careful if you are sensitive to flashing colours!
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
This program also wins the "Most amusing abuse of the iocccsize tool" award; although not the
|
||||
|
||||
@@ -3,19 +3,22 @@
|
||||
Adrian Cable\
|
||||
<adrian.cable@gmail.com>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./cable1 name group1 group2
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./cable1 obama republican democrat
|
||||
@@ -25,6 +28,7 @@ make
|
||||
./cable1 lincoln republican democrat
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Partisan may be defined as a strong supporter of a cause, party or person.
|
||||
@@ -86,6 +90,7 @@ End of important 2023 update to this historic note.
|
||||
|
||||
So how does a one line C source know so much? Hint: it doesn't.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Presidents of the United States of America!
|
||||
@@ -123,6 +128,7 @@ table?
|
||||
`clang` warns about a missing type specifier for `main()`, and that implicit
|
||||
function declarations are invalid in C99 (but still accepts them).
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -3,19 +3,22 @@
|
||||
Adrian Cable\
|
||||
<adrian.cable@gmail.com>\
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./cable2 file.bmp [color]
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
Here is an OCR example that shows all 94 supported ASCII characters:
|
||||
|
||||
@@ -57,12 +60,14 @@ And as an added IOCCC bonus: :-)
|
||||
./cable2 bonus.bmp
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
We can confirm that this is the first time the IOCCC has been used
|
||||
to peer-review a new research. We had quite a bit of fun with a sharpie and a
|
||||
scanner.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### OCR - Obfuscated Character Recognition of Handwritten Text
|
||||
@@ -158,6 +163,7 @@ and endianness conversion would make the source too large for IOCCC rule 2).
|
||||
incompatible pointer conversions - all just a fun consequence of the
|
||||
obfuscations.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -14,7 +14,7 @@ An alternate version that should compile in Windows/MS Visual Studio is
|
||||
available. See the [Alternate code](#alternate-code) section below.
|
||||
|
||||
|
||||
### Bugs and (Mis)features
|
||||
### Bugs and (Mis)features:
|
||||
|
||||
The current status of this entry is:
|
||||
|
||||
@@ -32,7 +32,7 @@ For more detailed information see [2013 cable3 in bugs.md](/bugs.md#2013-cable3)
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./runme
|
||||
|
||||
@@ -5,6 +5,7 @@ US\
|
||||
<j.david.lowe@gmail.com>\
|
||||
<https://github.com/dlowe>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
@@ -12,7 +13,7 @@ make
|
||||
```
|
||||
|
||||
|
||||
### Bugs and (Mis)features
|
||||
### Bugs and (Mis)features:
|
||||
|
||||
The current status of this entry is:
|
||||
|
||||
@@ -29,7 +30,8 @@ For more detailed information see [2013 dlowe in bugs.md](/bugs.md#2013-dlowe).
|
||||
./dlowe [numbers...]
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./dlowe 0 1 2 3 4 5 6 7
|
||||
@@ -186,6 +188,7 @@ write an obfuscated C sparkline utility! Vicent Martí created
|
||||
[this one](https://gist.github.com/vmg/1368661) years (!) ago. (My
|
||||
implementation is completely independent.)
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -5,19 +5,22 @@ Yusuke Endoh\
|
||||
<https://github.com/mame/>\
|
||||
Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./endoh1 [file.lazy]
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./endoh1 hello.lazy
|
||||
@@ -28,6 +31,7 @@ echo Hello | ./echo\
|
||||
|
||||
Be patient with the last one.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
We liked this entry because it can serve as a standalone program as well as an
|
||||
@@ -37,6 +41,7 @@ the program itself.
|
||||
This entry can be considered an abuse of the GCC's optimizer; it takes GCC about
|
||||
4x longer to compile it with -O3 than without, compared to clang's 2x.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Remarks
|
||||
@@ -218,7 +223,6 @@ ask you one question. Can you tell what `v
|
||||
s[]={0,0,s+6,s+2,s+4,s,s+3,s+5,s+1};` is? I found this by using SMT solver.
|
||||
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -5,12 +5,14 @@ Yusuke Endoh\
|
||||
<https://github.com/mame/>\
|
||||
Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
@@ -26,7 +28,8 @@ section to enjoy the entry. The [Makefile](Makefile) `check` rule will check if
|
||||
you have both and if either is not found it will report it and tell you where to
|
||||
download one or both before exiting.
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
cat jpeg.c
|
||||
@@ -34,7 +37,9 @@ cat jpeg.c
|
||||
|
||||
Next look at `jpeg.jpg` in an image viewer program.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
\
|
||||
This is a program which, when fed its own source, generates a program that
|
||||
almost is its whitespace inverse, which, in its order, generates a JPEG file
|
||||
@@ -45,6 +50,7 @@ program...)
|
||||
Don't pay attention to the OCR ~~behind the ruby curtain~~ --- it's a
|
||||
straightforward bitmap comparison.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Highlights
|
||||
@@ -96,6 +102,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
```
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -5,19 +5,22 @@ Yusuke Endoh\
|
||||
<https://github.com/mame/>\
|
||||
Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./endoh3
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
Trying this out will depend on how your system can play sounds. The author's
|
||||
remarks include some options for different operating systems.
|
||||
@@ -30,6 +33,7 @@ echo 'CDEFGABc' | ./endoh3 | ruby wavify.rb > cde.wav
|
||||
|
||||
There are also some other musical samples, twinkle.abc and menuet.abc.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
This program can toot out a tune that is small enough to posted to most social
|
||||
@@ -44,6 +48,7 @@ might be called today. We recommend that you pick a responsible social media
|
||||
platform to post the program's output on. Nevertheless the award of this entry
|
||||
will remain the same for historical purposes.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Remarks
|
||||
|
||||
@@ -5,12 +5,14 @@ Yusuke Endoh\
|
||||
<https://github.com/mame/>\
|
||||
Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
@@ -22,7 +24,8 @@ The second form is preferable as it will temporarily make the cursor invisible
|
||||
as recommended by the author. If no file is specified in `run.sh` command line
|
||||
it will feed to the program [endoh4.c](endoh4.c).
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./run.sh cube.txt
|
||||
@@ -38,12 +41,14 @@ For an example, if you are a football/soccer fan, try:
|
||||
./run.sh solids/archimedian-solid/a11-truncated-icosahedron.txt
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
This program is formatted as the net for a tetrahedron (hint: try feeding the
|
||||
program it's own source code like `./run.sh`). When it runs there is an
|
||||
animation for the computation to work out the convex hull.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Spec
|
||||
|
||||
+7
-2
@@ -4,6 +4,7 @@ Qiming Hou\
|
||||
<hqm03ster@gmail.com>\
|
||||
<http://www.houqiming.net>\
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
@@ -11,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Bugs and (Mis)features
|
||||
### Bugs and (Mis)features:
|
||||
|
||||
The current status of this entry is:
|
||||
|
||||
@@ -32,7 +33,8 @@ Follow the instructions in `stdout`, preferably with an auto-refreshing PPM
|
||||
image viewer ready. Refresh the image every time the output refreshes, all
|
||||
effects should be more or less recognizable when you see 16.
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./hou BIG
|
||||
@@ -58,6 +60,7 @@ of the invocations above:
|
||||
This program does not terminate by itself: you must kill `hou` (but not Qiming
|
||||
Hou :-) ) in order to end the program. This should not be fixed.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
You could consider that this program violates the source code size
|
||||
@@ -79,6 +82,7 @@ cc -Wall hou.c -o hou -lm
|
||||
but there is no need to do this as the Makefile takes care of it without even
|
||||
needing to create a temporary file.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Using hou
|
||||
@@ -244,6 +248,7 @@ There are a few other tweaks:
|
||||
* The decoder uses an O(n^2) algorithm to avoid the gigabytes-sized hash table
|
||||
frequently found in other PPM implementations.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -3,19 +3,22 @@
|
||||
Christopher Mills\
|
||||
<mrxo@sonic.net>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./mills
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
./mills &
|
||||
@@ -24,10 +27,12 @@ make
|
||||
While that is running, point your favorite browser at:
|
||||
[http://localhost:8224](http://localhost:8224).
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Who will be the first to post an image rendered during a leap-second?
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### The Program
|
||||
@@ -120,6 +125,7 @@ spherical symmetry of the source code. In addition, I have altered the word
|
||||
`-Dwin_port="sin_addr.s_addr=htonl(2130706433),R.sin_port"`) to protect against
|
||||
curious impressionable youth trying to learn about sockets on Internet.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -4,6 +4,7 @@ Don Yang\
|
||||
<omoikane@uguu.org>\
|
||||
<http://uguu.org/>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
@@ -13,6 +14,7 @@ make
|
||||
This will build a bunch of versions of the code. See the author's details for
|
||||
information on all of these builds.
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
@@ -20,7 +22,8 @@ information on all of these builds.
|
||||
./vertical_cat [files...] > [output]
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
To understand the various intermediate source files that are built, try:
|
||||
|
||||
@@ -55,6 +58,7 @@ NOTE: Use - for standard input. For example:
|
||||
./vertical_cat - -
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
There is more to cat than [mere cats](http://cheezburger.com/1680494336). Be
|
||||
@@ -78,6 +82,7 @@ preferred otherwise, the flying fish was returned to *swim with the fishes*. :-)
|
||||
No [cats](https://rationalwiki.org/wiki/Fun:Cat) were harmed in the process of
|
||||
judging this entry.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Overview
|
||||
@@ -281,6 +286,7 @@ stackable figure:
|
||||
* [Google images](http://google.co.jp/search?q=%E3%83%9F%E3%82%B5%E3%82%AB%E7%9B%9B%E3%82%8A&tbm=isch)
|
||||
* [Kotobukiya](http://main.kotobukiya.co.jp/figure/tsubucole_tmi_misakamori/)
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -3,19 +3,22 @@
|
||||
Yves-Marie Morgan\
|
||||
<yves-marie.morgan@parrot.com>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
echo "2013/10/03" | ./morgan1
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
echo "1985/10/28" | ./morgan1
|
||||
@@ -25,6 +28,7 @@ echo "1996/12/31" | ./morgan1
|
||||
|
||||
Try pressing the arrow keys when your focus is in the window.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
To verify the output, try echoing the date of an evening with a clear sky.
|
||||
@@ -33,6 +37,7 @@ 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.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Instructions
|
||||
@@ -110,6 +115,7 @@ To verify the display, you can look at one of this programs :
|
||||
* homeplanet : https://www.fourmilab.ch/homeplanet/
|
||||
* https://www.theplanetstoday.com
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -3,12 +3,14 @@
|
||||
Yves-Marie Morgan\
|
||||
<yves-marie.morgan@parrot.com>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
For the console version (ncurses):
|
||||
@@ -23,12 +25,14 @@ For the graphical version (X11):
|
||||
./morgan2 X
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
echo "Do or do not. There is no try."
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
The judges enjoyed playing the game almost to completion; if we remember
|
||||
@@ -36,6 +40,7 @@ correctly, we managed to place 59 or 60 dominoes. We wonder, what would be
|
||||
faster: to play the game to completion or to write an unobfuscated version of
|
||||
it?
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
This program is a domino game. The goal is to place dominoes on the 8x8 grid.
|
||||
@@ -140,6 +145,7 @@ morgan2.c:23:24: warning: adding 'int' to a string does not append to the string
|
||||
|
||||
**!!!!! HAVE FUN !!!!!**
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -3,25 +3,29 @@
|
||||
Arch D. Robison\
|
||||
<arch.d.robison@gmail.com>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./robison
|
||||
```
|
||||
|
||||
## Try:
|
||||
|
||||
### Try:
|
||||
|
||||
```sh
|
||||
echo '1*2*3*4*5*6*7*8*9%1000' | ./robison
|
||||
echo '100000000000000000000*(20*(1+(99477941840441*50)))/31664812345028528' | ./robison
|
||||
```
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
Of integers this prog does a lot,\
|
||||
@@ -36,6 +40,7 @@ when interactive one values more than throughput.
|
||||
With cut and paste and some time,\
|
||||
one can compute M(23209).
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
### Oh, The Strings You Can C!
|
||||
@@ -106,6 +111,7 @@ With a pound and define, mass production of vars!
|
||||
The moral is clear, for programmers out there:\
|
||||
With the C lib for strings, you can hack with a flair.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
Reference in new issue
Block a user