move fix thanks a file, update top level html links, rename CONTRIBUTING.md
The fix thank you's have been moved from `README.md` to `thanks-for-fixes.md`. **WARNING**: Some mistakes may have been made in doing this. We presume later changes by others will correct any issues. The `CONTRIBUTING.md` was renamed `how-to-enter.md`. A 3rd line of links was added to top level html such as `contact.html`, `index.html`, `judges.html`, `winners.html`, and `years.html`. Improved blank line use in a number (but not all) `README.md` files.
This commit is contained in:
1 parent
23f7ac0a49
commit
ac41f07a83
92 files changed
+1326
-761
No files matched your search
@@ -22,9 +22,6 @@ Or you can build this entry without the `halfdelay()` call by:
|
||||
make chaos_nohalf
|
||||
```
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) added a call to
|
||||
`endwin()` to restore terminal sanity (echo etc.) when exiting the program.
|
||||
Thank you Cody for your assistance!
|
||||
|
||||
## To run:
|
||||
|
||||
@@ -33,6 +30,7 @@ Thank you Cody for your assistance!
|
||||
./chaos
|
||||
```
|
||||
|
||||
|
||||
## Judge's Comments:
|
||||
|
||||
This is the author's first IOCCC entry. We thought the entry was
|
||||
@@ -86,6 +84,7 @@ in front, some reflected from the rear) looks really odd. And it
|
||||
sometimes hangs. So just don't fly through objects. You'll be
|
||||
happier.
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -7,12 +7,14 @@ Atlanta, GA 30309
|
||||
US
|
||||
<http://computronium.org/ioccc.html>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make all
|
||||
```
|
||||
|
||||
|
||||
## To run:
|
||||
|
||||
```sh
|
||||
@@ -20,6 +22,7 @@ make all
|
||||
make sort
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
@@ -33,12 +36,6 @@ echo 324 >> data
|
||||
./sort < data
|
||||
```
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed invalid data
|
||||
types which prevented this entry from working, causing a segfault. This showed
|
||||
itself in two parts which required two fixes, one for linux and further changes
|
||||
for macOS. He also fixed a segfault (after printing garbage) when the arg
|
||||
specified evaluated to 0. Thank you Cody for your assistance!
|
||||
|
||||
### INABIAF - it's not a bug it's a feature :-)
|
||||
|
||||
NOTE: the larger the number given to the program the longer the output becomes
|
||||
@@ -49,7 +46,7 @@ lines!
|
||||
## Judges' remarks:
|
||||
|
||||
This is a beautiful program. How can a program with no conditional (except for
|
||||
the fixes for modern systems made by Cody) behavior at all have output which
|
||||
the fixes for modern systems) behavior at all have output which
|
||||
depends on anything?
|
||||
|
||||
For hints on deciphering this, see below past the Author's Comments;
|
||||
@@ -122,6 +119,7 @@ other functions all the time. Or, almost all the time.
|
||||
|
||||
So how does `h` get set, and what to?
|
||||
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
@@ -7,27 +7,13 @@ D-71384 Weinstadt
|
||||
Germany
|
||||
<http://www.schweikhardt.net>
|
||||
|
||||
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make all
|
||||
```
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this for modern
|
||||
systems (it did not work at all). He also made it so that if a file fails to
|
||||
open it does not return but rather skips the reading of the file. Doing this
|
||||
lets the entry work right.
|
||||
|
||||
What was wrong? The call to `freopen()` was incorrect with the second arg (the
|
||||
mode) being instead `5+__FILE__`. It now is `"r"`. There was also a call to
|
||||
`fopen()` that was wrong where the mode was instead `44+__FILE__`. Interestingly
|
||||
enough though this did not seem to be an issue though I cannot explain why. He
|
||||
notes that it works fine with `clang` as well as `gcc` (which is what is used
|
||||
but in macOS - see below for alternate code - `gcc` is clang).
|
||||
|
||||
Additionally Cody provided an alternate version for macOS. See below for the
|
||||
alternate version. Thank you Cody for your assistance!
|
||||
|
||||
|
||||
## To run:
|
||||
|
||||
@@ -37,14 +23,13 @@ alternate version. Thank you Cody for your assistance!
|
||||
|
||||
### Alternate code:
|
||||
|
||||
As noted above [Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) made an
|
||||
alternate version that works with macOS but there are some important notes as
|
||||
As noted above the alternate version works with macOS but there are some important notes as
|
||||
well as a description of how it works (spoilers for the original version as
|
||||
well).
|
||||
|
||||
Cody said that at least with his MacBook Pro Max with the M1 chip some header
|
||||
files report an unsupported architecture and unsupported compiler (error,
|
||||
warning). However the defines are still found okay.
|
||||
An MacBook Pro Max with the M1 chip some header files report an
|
||||
unsupported architecture and unsupported compiler (error, warning).
|
||||
However the defines are still found okay.
|
||||
|
||||
For this alternate version you will need the command line tools which you can
|
||||
install like:
|
||||
@@ -103,6 +88,7 @@ gcc invocation anyway. Anyone who uses egcs and has no plain gcc
|
||||
will need to frob the source anyway and can be expected to do the
|
||||
right thing with `${CC}`. So use gcc.
|
||||
|
||||
|
||||
## Author's remarks
|
||||
|
||||
Important! This program, if it compiles at all, is mis-compiled by many
|
||||
@@ -303,6 +289,7 @@ does what it should.
|
||||
From the goals: "To stress C compilers with unusual code."
|
||||
That describes exactly my modest attempts...
|
||||
|
||||
|
||||
## 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