186 Commits
Author SHA1 Message Date
Landon Curt Noll d8425bb767 silence warnings under macOS for cc, clang and gcc
Used the following script to check for warnings
not silenced via ${CSILENCE}:

```sh
find ???? -mindepth 1 -maxdepth 1 -type d | while read dir; do
(cd "$dir"; echo =-=-= "$dir" =-=-= ; csilence -v 1 clobber all ; echo ; csilence -v 1 clobber alt)
done 2>&1 | less
```
2023-07-07 01:11:22 -07:00
Landon Curt Noll 2ba12ecc3c restore *.orig.c to each entry
Under each yyyy/dir there is a file of the form '*.orig.c'
containing the original source code, or as close as we can
get to the original source code.
2023-07-06 21:49:38 -07:00
Cody Boone Ferguson 96070ce50b Update 2019/duble/.gitignore 2023-06-03 07:47:32 -07:00
Cody Boone Ferguson e6abdec692 Fix command to find sockets in 2019/duble
The grep expression in particular was incorrect. This commit fixes the
problem. Note that it doesn't look for lower case letters as there are
legitimate dot files in the repo with lower case letters. Hopefully no
system will leave lower case file sockets lying about (though for all I
know it's the entry deciding it - didn't look into it).
2023-06-03 04:50:57 -07:00
Cody Boone Ferguson b5811cbfd2 Fix details about 2019/duble sockets
Of course the globs do not have a = at the end of the line; that's from
an aliased ls that shows different characters at EOL depending on the
file type.

I also explained how to delete these files assuming that glob pattern.

In the README.md this was done in the new INABIAF section which is where
it belonged in the first place.
2023-05-31 03:04:58 -07:00
Cody Boone Ferguson f36cceffb2 Add note about sockets lying about in 2019/duble
The entry appears to leave sockets lying about in the current working
directory. Although undesirable this is not a bug it's a feature.
Updated bugs.md and the README.md file as well as the Makefile.

A useful thing I thought of that might be good to look at for other
entries that show notes in the Makefile is that it might be good (and in
this entry I did do it) to have the note _after_ compilation as it will
be more likely seen. In the case of entries that might not compile with
clang (due to some defects in it) it will have to be done with either ||
or else printed before the compilation (for instance in some of these we
have to say that one should use make alt for clang).

This will be added to the todo.md in a future commit.
2023-05-31 02:42:45 -07:00
Landon Curt Noll f46e68740f Deprecate twitter
We further deprecate the use of twitter.

In cases such as historic guidelines and rules, we add
a note about using Mastodon.

In cases where a tweet URL was used, we replace with
an Internet Archive link because twitter has announced
that accounts that are not used for a period of time
will be deleted.

We add a few missing deprecated_twitter information
to the author.numbers and author.cvs files.

We remove references to twitter handles (after making
sure that both author.numbers and author.cvs has the
deprecated_twitter information).  When the "_README.md_"
files have their header information generated by
a tool, such deprecated_twitter data will not be present.
2023-05-24 16:50:01 -07:00
Landon Curt Noll 5927927e51 Add .id to all winning entries 2023-05-13 11:45:33 +10:00
Cody Boone Ferguson 4bf3f302cb 'comments' -> 'remarks' in all README.md files
As in

    sgit -e 's/\([Aa]uthor.*\)comments/\1remarks/g' -e 's/\([Jj]udge.*\)comments/\1remarks/g' '*README.md'
2023-04-10 11:01:39 -07:00
Cody Boone Ferguson c2939e9cb3 Fixes in 2019/duble/README.md
Format fixes.

Add warning that if the file is deleted it can lock any session
currently using the file where 'q' does not work and neither does
anything else.
2023-04-06 08:29:37 -07:00
Cody Boone Ferguson e09f677b37 Mass typo fix (all README.md and Makefiles)
As in

    sgit -e 's/the terms this license/the terms of this license/g' '*/Makefile' '*/README.md'
2023-04-02 09:27:13 -07:00
Cody Boone Ferguson e805f41d34 Mass fixes to headers in README.md files
There were many many README.md files with the wrong heading level for
different sections. These have been changed.

To help go through the changes it should be noted I used sgit and also
here is what is changed:

The 'Try', 'To build' and 'To run' lines have two '#'s. Some had one and
others had three.

An exception is that in 1984/anonymous/README.md for the alternative
code that had three '#'s. This is not consistent yet and it might be
that only two are desired. But for now that one at least has three.
2023-03-31 06:43:59 -07:00
Landon Curt Noll 350da723cc improve architecture and Optimization comments in Makefiles 2023-03-26 22:13:13 -07:00
Landon Curt Noll 1c35dc3b47 make everything true :-)
Add @${TRUE} as an action for the everything rule in Makefiles.
2023-03-26 20:47:04 -07:00
Landon Curt Noll e42d7484cd trim comments and update 133t hacker rulz in Makefiles 2023-03-26 20:24:16 -07:00
Landon Curt Noll 1b1dd2f2e4 put all README.md files under CC BY-SA 4.0 License
This will make is easier for others to share README.md
files while requiring them to attribute the file
when using it.
2023-03-26 02:58:27 -07:00
Landon Curt Noll 8cd2aa85c1 clean up and improve end of Makefile rules 2023-03-26 02:02:31 -07:00
Landon Curt Noll d04e6d8f03 remove X11_LIBDIR and X11_INCDIR setting from Makefiles
The X11_LIBDIR and X11_INCDIR values are now set in the
top level `var.mk` file.
2023-03-26 00:50:47 -07:00
Landon Curt Noll bbd18a20df improve Makefile headers
Simply the Makefile header.

Refer to the //www.ioccc.org/bugs.md URL (that will eventually exist).

Now using CC BY-SA 4.0 License to how you may share and adapt the
Makefile.
2023-03-25 23:51:14 -07:00
Landon Curt Noll a9e40a9182 fix Makefile and README.md for 2019/duble 2023-03-25 02:53:26 -07:00
Cody Boone Ferguson 3a4399bf8d Address 2019 entries
In at least one case some -D flags had to be added to the Makefile.

Typo fixes and formatting fixes in some README.md files.

For the simply amazing 2019/karns I added a demo.sh which does a cat on
the two files (prog.c and maze) and then sleeps for two seconds then
runs the program then sleeps for two seconds then resets the terminal
(so the colours are messed up). This was added to the README.md file.

Several .gitignore files were added.

I'm aware that the graphics editing one does not now work under macOS
but I'm not sure if this is all versions so I just noted that it doesn't
seem to work with recent versions of macOS as I don't have a way to test
before Ventura (the current version).
2023-03-08 09:00:28 -08:00
Landon Curt Noll 01c8abc117 add Try section to recently updated README.md files 2023-03-07 18:42:51 -08:00
Landon Curt Noll 82f79395e6 fix alt code in 2019/duble
Make check-os.sh executable and search for bash.
2023-03-07 17:30:38 -08:00
Cody Boone Ferguson cb0677de02 Delete remaining Makefile.orig files 2023-03-03 05:12:38 -08:00
Landon Curt Noll f615bba21e undo intermediate Makefile changes of 1996 to 2020
The commit 00ae59cd47 had a
mistake that introduces changes to Makefiles for 1996 thru 2020
that should not have been included.

This change reverses these intermediate changes until
the given year's Makefiles are ready.
2023-02-26 23:31:00 -08:00
Landon Curt Noll 00ae59cd47 fix 1995 Makefile comment line 2023-02-26 21:52:15 -08:00
Landon Curt Noll ab9b77b1c9 reverse bad commit 223b1a3f94
The commit 223b1a3f94 was a mistake,
so we reverse both commit 5f7cf0b60d
and commit 223b1a3f94 for now.
2023-02-26 17:21:30 -08:00
Landon Curt Noll 223b1a3f94 update 1992 Makefile variable set 2023-02-26 17:05:50 -08:00
Landon Curt Noll e86100b024 add initial .gitignore files per entry
chmod +x 2014/sinon/glock.sh 2014/sinon/hecate.sh
2023-02-21 14:16:46 -08:00
Landon Curt Noll d947bb024f fixed issue of make pluto echo 2023-02-12 22:26:59 -08:00
Landon Curt Noll bfa2a886c5 change SHELL value
Use:

```make
SHELL= bash
```

Do not specify a SHELL path.
2023-02-12 21:59:59 -08:00
Cody Boone Ferguson c7ab84305a Typo fixes in many Makefiles
In particular the following fixes were made:

    -MKFIFo= mkfifo
    +MKFIFO= mkfifo
    -ZIPGREp= zipgrep
    -ZIPINFo= zipinfo
    +ZIPGREP= zipgrep
    +ZIPINFO= zipinfo

If it's not immediately clear what the problem is the last letter of the
variable names were in lower case.
2023-02-10 08:20:02 -08:00
Cody Boone Ferguson 851e191519 Rename hint.txt and hint.text to README.md 2023-02-08 05:08:28 -08:00
Cody Boone Ferguson 77fb0f11a2 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).
2023-02-08 05:07:05 -08:00
Landon Curt Noll e170d8e709 Remove more comments with absolute www.ioccc.org link 2022-09-18 18:31:42 -07:00
Landon Curt Noll c0663537cb 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?).
2020-12-30 16:57:03 -08:00