Commit Graph
5637 Commits
Author SHA1 Message Date
Cody Boone Ferguson 02a4ed232e Improve change mark in guidelines and rules
Rather than have a literal vertical bar (|) for lines that indicate a
change from the last contest, it is now a CSS class which has a solid
black left border of 4 pixels. This not only makes it easier to see but
it fixes some formatting issues too (see below for tests).

This means that if a change mark is needed one can do:

    <p class="leftbar">
    ...
    </p>

A tip for vim users: in the .vimrc file add the following line
(temporarily or otherwise):

    abbr leftbar <p class="leftbar">

Then you only need to type:

    leftbar

and it will automatically add the proper block.

As for testing how this looks I have checked it with Safari with:

- an iPhone 14 Pro Max
- an iPhone 8 Plus
- a MacBook Pro 16 inch (both at full width and smallest width)
- an iPad Pro 11 inch 4th generation in both portrait and landscape
orientations

An important point that one needs to remember when using this CSS class
in lists is that one cannot do:

    <p class="leftbar">
    * foo
    </p>
    <p class="leftbar">
    * bar
    </p>

but rather do:

    * <p class="leftbar">foo</p>
    * <p class="leftbar">bar</p>
2024-07-08 09:05:38 -07:00
Landon Curt Noll c8ec2b0423 Merge pull request #2549 from xexyl/howe15-avgtime
Fix manifest for 2015/howe
2024-07-07 13:07:30 -07:00
Landon Curt Noll f3aa3c8112 fix output_award function in certain bin files
Repaired the output_award function in `bin/gen-years.sh`
and `bin/output-year-index.sh`.

Previous modifications to the output_award function made
is impossible to detect if output was empty.
Modifications also ran counter the Unix concept that a function
should ideally to one thing and one thing well.

Changed so that the code that called the output_award function
would decorate the award with bold markdown syntax.

Changed `bin/gen-years.sh` VERSION from "1.3.2 2024-05-19"
to "1.3.3 2024-07-07".

Changed `bin/output-year-index.sh` VERSION from "1.4.1 2024-04-28"
to "1.4.2 2024-07-07".

Ran `make www` to perform the above and test under macOS.
2024-07-07 12:56:17 -07:00
Cody Boone Ferguson 24e4b44fc6 Fix manifest for 2015/howe
The manifest entry_text for avgtime.sh is much better now and the
description by the author (which was missing) is now much better too (I
asked the author first if he wanted to provide something but he
suggested that 'you apply your wit "in a timely manner"'.
2024-07-07 12:25:18 -07:00
Landon Curt Noll 892f7daf41 fix thanks-for-help.html that was built by make www
Perhaps we need a test, run under `make test`, to look for
cases where 'foo.html' is older than 'foo.md` or where
`index.html` is older than `README.md`, etc. ???
2024-07-07 11:04:34 -07:00
Landon Curt Noll 439440c956 Merge pull request #2548 from xexyl/unob
Move 199[1-3]/ant and 2015/howe alt code
2024-07-07 10:59:28 -07:00
Cody Boone Ferguson 92139c55d7 Move 199[1-3]/ant and 2015/howe alt code
The unobfuscated code, which was put in deobfuscated/, has been turned
into alt code. In one case the already existing alt code was made alt2
and the unobfuscated code was alt. In the case of the ones with two C
files there, the one that did not require modification (to compile in
modern systems) were used as those are original.

In a few cases these changes suggested additional files: a test suite
Makefile for the alt code, a try.alt.sh script and maybe some other
things besides.

The bug status was updated for 2015/howe with a known bug: in particular
the test scripts do not work (at least not completely).

In the manifest all references (except for a file name that has not been
renamed - at least not yet) of 'deobfuscated' to 'unobfuscated': a minor
detail that might not matter much but it sounds ever so slightly better
(maybe). These other entries that had an entry_text change were
1995/garry and 2020/endoh2. Rebuilt .entry.json and index.html files for
this (and in the case of the moved code the index.html files also had to
be changed for that in addition to the Makefiles).
2024-07-07 09:53:56 -07:00
Landon Curt Noll 47ce113c6f Merge pull request #2547 from xexyl/submit-index
Remove FAQ 0.0 reference in /index.html
2024-07-07 09:20:03 -07:00
Landon Curt Noll d67f39d0ac Merge pull request #2546 from xexyl/chk-entry-git
Slight improvement to 7af7a8 (bin/chk-entry.sh)
2024-07-07 09:17:12 -07:00
Cody Boone Ferguson c9ca6b4150 Remove FAQ 0.0 reference in /index.html
It now is a nicer name and allows for us to reorder the FAQ. This was
only done as I saw it and it's a quick fix. More have to be fixed
another time.
2024-07-07 06:11:28 -07:00
Cody Boone Ferguson 7236475a50 Slight improvement to 7af7a8 (bin/chk-entry.sh)
Instead of using just git use "$GIT_TOOL" as the script already
establishes what git to use.

The comment I added also explains the rationale about this a bit, as it
might not seem immediately clear why it's useful over find(1).

And although it was already tested I forced what would have caused a
failure before, to happen, so that I could verify that this works as I
had originally imagined it: put a file in an entry directory that does
not belong there and then run the script again, to make sure it does not
detect any problem.

Of course with this change one still has to make sure to add valid files
to git but that always was how it was anyway.
2024-07-07 05:33:38 -07:00
Landon Curt Noll ed96c2288f rename test.yml to sanity check 2024-07-07 00:39:39 -07:00
Landon Curt Noll 2e2ae5f132 add notices to those who wish for a greater challenge
We add the following level-3 header to help people identify text
they may wish to skip if they wish for a greater challenge:

```
```

After that notice we add:

```
**If you want a greater challenge, don't read any further**:
just try to understand the program via the source.

If you get stuck, come back and read below for additional hints and information.
```

And sometimes follow with:

```
```

Or sometimes follow with:

```
```

Where the alt code impacts a "greater challenge", we add instead:

```
**If you want a greater challenge, don't read any further**:
just try to understand the program without looking at the Alternate code.

If you get stuck, come back and look at the Alternate code.
```

And where a given command impacts a "greater challenge", we add instead:

```
**If you want a greater challenge, don't read any further**:
just try to understand the program without running the command below.

If you get stuck, come back and run the following command:
```

Perform `make www` to perform the above and test under macOS.
2024-07-07 00:25:20 -07:00
Landon Curt Noll 7af7a80cca Use git ls-files to find files under git in bin/chk-entry.sh
Thanks to @xexyl for the suggestion.

Changed `bin/chk-entry.sh` VERSION from "1.1.7 2024-04-28"
to VERSION="1.1.8 2024-07-06".

Performed `make test` to test the above.
2024-07-06 21:22:56 -07:00
Landon Curt Noll 6aeb813c31 Merge pull request #2545 from xexyl/guidelines
Minor fixes in guidelines
2024-07-06 21:10:22 -07:00
Landon Curt Noll 97fc085887 Merge pull request #2544 from xexyl/overflow
Attempt to fix overflow problem in blockquotes
2024-07-06 21:03:46 -07:00
Cody Boone Ferguson 3571986e29 Minor format fixes in guidelines 2024-07-06 11:43:01 -07:00
Cody Boone Ferguson 5ecac8e59a Minor fixes in guidelines
Typo fix, minor rewording.
2024-07-06 11:37:13 -07:00
Cody Boone Ferguson d6b2429363 Remove '|' marker from old guideline
A guideline that was there in previous years still had the '|' marker
which is supposed to be only for changes. This has been removed.
2024-07-06 09:48:59 -07:00
Cody Boone Ferguson 98ec028499 Attempt to fix overflow problem in blockquotes
A problem was discovered in blockquotes for really long text, in
particular in the guidelines: 2305567963945518424753102147331756070. The
problem was that the number flowed outside the border. That should no
longer happen. Below is what should happen instead, though it's hard to
be sure how it will look in every case.

In Safari on a 16" MacBook Pro with Safari all across the screen it is
not a problem but shorter text will be in a smaller box (this means
the green box will vary in size depending on what is in it but this does
not seem to be a big problem).

With Safari in an old iPhone 8 Plus the box can go a bit further beyond
the screen width but text does not go beyond the boundary and one can
scroll left/right at need.

With Safari in an iPhone 14 Pro Max there is currently a cache issue but
earlier (when playing with different options) it seemed to fit and in
Simulator (in macOS) it looks good. However in Simulator earlier it was
fine even when the iPhone 14 Pro Max was not.

In responsive mode in Safari with a small width (400px) it is the same
result as the iPhone 8 Plus.

Finally with Safari in macOS with the window decreased in width it is
fine but it already was fine because it doesn't go to the size of a
phone (though it has helped fix problems with phones).

I have changed the font-style to normal (was italic) in blockquotes also
as this way italics can show up specially if requested.

The guidelines had some line breaks in the blockquotes that were
problematic; these have been removed as they are not necessary and it
did not look good either with smaller width screens.

More testing will likely be useful but it should be a lot better now.
2024-07-06 09:08:19 -07:00
Landon Curt Noll 0d49e5acda Merge pull request #2543 from xexyl/ant 2024-07-05 21:09:35 -07:00
Landon Curt Noll debbe2a687 Merge pull request #2542 from xexyl/guidelines 2024-07-05 21:04:00 -07:00
Cody Boone Ferguson a4fb0a8c8c Add deobfuscated versions of 199[1-3]/ant
Anthony/@SirWumpus kindly provided these files. The source code and
their Makefiles are in a deobfuscated/ subdirectory (for each of the
three entries) but running make alt
from the entry directory works. It uses the deobfuscated version's
Makefile but copies the compiled binary to the entry's directory to keep
things clean (deobfuscated code separate from the entry) to simplify
using the deobfuscated versions.

Entries that had a test suite Makefile have a new one for the
deobfuscated code and a try.alt.sh script was added to 1992/ant and
1993/ant but the entry_text is a bit different than the usual to
indicate that it's the deobfuscated version.

It might be that the way this is done should be reorganised some but
that can be decided on later.

The entries from 2004 and 2005 have not yet been added because some
decisions have to be made as those are the ones with a configure script.

The manifest was updated and the .entry.json and index.html files were
updated. It is not clear yet if the inventory_order is right but that
will be looked at in the next day or two.

Thank you Anthony!
2024-07-05 12:53:32 -07:00
Cody Boone Ferguson 95efa5ada6 Slight clarification added to guidelines 2024-07-05 05:56:23 -07:00
Landon Curt Noll a72cff909f test for initial make test workflow 2024-07-04 18:29:59 -07:00
Landon Curt Noll 96c113d225 complete All Done!!! All Done!!! -- Jessica Noll, Age 2 2024-07-04 13:53:10 -07:00
Landon Curt Noll a78c2df251 Merge pull request #2541 from xexyl/spoiler
Reword the recent deobfuscation changes
2024-07-04 13:44:45 -07:00
Landon Curt Noll 25ce7d75fb Merge pull request #2540 from xexyl/pending 2024-07-04 09:47:20 -07:00
Cody Boone Ferguson 1ac055fa85 Reword the recent deobfuscation changes
In most cases the word was changed to 'obfuscation' as it was about
obfuscation, not deobfuscation. In some cases like 1995/leo since the
file was (in 1995/leo) about a secret switch it was changed to
'secret.md' (and 'secret.html') but there were others like that as well.

One entry had the words 'spoiling the size rule' but this had been
changed to 'deobfuscating the size rule' which was obviously wrong.

In the latter YYYY/README.md files the judges had written after some
entries (brief summaries) '...

    ...We'll stop spouting spoilers now. Have fun exploring all the
    entries!

but that was changed to:

    ...We'll stop spouting deobfuscation information now. Have fun
    exploring all the entries!

which wasn't really about deobfuscation but just a brief summary of what
the entries did.

And in the most problematic case (at least for me :-), 2018/ferguson) I
had put a joke in:

    ... but it's the only Easter egg I won't spoil

but it was changed to 'won't deobfuscate' which not only is not what it
is but it spoilt the joke.

In some cases the word was changed back to 'SPOILER' (or similar) but in
most cases not. I believe it should be better now. There are some
caveats, however, as below.

Although make find_missing_links is okay I do not remember if this will
catch links that refer to '%%REPO_URL%%' or other pandoc tokens. This
means I might have to go back to some earlier years to verify links are
okay. That should not take that much time I hope.

It might also be that some wording can still be improved some but it is
hoped this will be discovered when checking links and looking over the
manifest (which obviously changed).
2024-07-04 09:03:45 -07:00
Cody Boone Ferguson a379c6296a Add link to status in status.html
Instead of just bold or italic it's now a link to that specific status.
2024-07-04 06:47:46 -07:00
Landon Curt Noll a379463919 add make test to top level Makefile 2024-07-03 11:50:09 -07:00
Landon Curt Noll d262ffcebc Merge pull request #2539 from xexyl/ioccc-status 2024-07-02 19:43:13 -07:00
Landon Curt Noll 3dcf8fa0c6 Merge pull request #2538 from xexyl/grothe2006
Restore 2006/grothe/olympic.txt
2024-07-02 16:39:35 -07:00
Cody Boone Ferguson f687c0b9a3 Remove tmp/ioccc-status.sh
This script was obsoleted ages ago but it was only moved to tmp/. It
will not be needed though, the man page was deleted and so it now is
deleted.
2024-07-02 14:57:12 -07:00
Cody Boone Ferguson 8578cb1f5f Restore 2006/grothe/olympic.txt
Updated manifest, rebuilt .entry.json and index.html.
2024-07-02 14:53:48 -07:00
Landon Curt Noll 54317f44b8 fix change to 2020/ferguson1/index.html that was missed 2024-07-02 11:21:06 -07:00
Landon Curt Noll 8d93e94b24 Merge pull request #2536 from xexyl/rules-guidelines
Fixes in rules, guidelines, additional FAQ
2024-07-02 11:16:47 -07:00
Cody Boone Ferguson 902d6a3f25 Format fixes in guidelines
With the exception of some code blocks they now look much nicer on a
smaller screen.
2024-07-02 05:54:01 -07:00
Cody Boone Ferguson b9ef640a61 Fixes in rules, guidelines, additional FAQ
The new FAQ is about how to report bugs in mkiocccentry tools. The rules
and guidelines link to this FAQ.

The rules and guidelines have been corrected and clarified in a number
of ways.
2024-07-02 05:24:44 -07:00
Landon Curt Noll 5b685077ff Merge pull request #2534 from xexyl/guidelines-tools 2024-07-01 15:50:42 -07:00
Landon Curt Noll c9ff8398de Merge pull request #2533 from xexyl/ferguson1-2020 2024-07-01 15:47:28 -07:00
Landon Curt Noll e646a89db1 Merge pull request #2532 from xexyl/typo-guidelines-rules 2024-07-01 15:45:27 -07:00
Cody Boone Ferguson c17f0b2525 Update guidelines - add new tools description
This is more for those who are interested in how they can run each step
of the mkiocccentry tool as well as how to make it easier to edit a
submission tarball.

Although it looks okay (the rendered html) a more thorough review will
have to be done, tomorrow if possible.
2024-07-01 15:22:21 -07:00
Cody Boone Ferguson 45c92b5fb1 Fix 2020/ferguson1/Makefile
The DATA variable had files that no longer existed (or in one case was
renamed).
2024-07-01 14:19:40 -07:00
Cody Boone Ferguson de5e7b16bc Typo fixes in inc/ and next/
A typo that was missed because I did not look at that part of the file
was 'quidelines' instead of 'guidelines'. This has been fixed in inc/
and next/.
2024-07-01 14:04:26 -07:00
Landon Curt Noll d8a84dd287 Merge pull request #2531 from xexyl/guidelines 2024-07-01 13:30:03 -07:00
Cody Boone Ferguson ed198f0510 Fixes in guidelines and rules
The guidelines had many fixes and where necessary updates (about new
tools for instance) plus some fun for people to discover.

The FAQ was slightly updated as well for the guidelines.
2024-07-01 13:15:24 -07:00
Landon Curt Noll 713dc27576 Merge pull request #2530 from xexyl/issues 2024-07-01 11:43:41 -07:00
Landon Curt Noll 52dca58cdc Merge pull request #2528 from xexyl/bug-report 2024-07-01 11:41:00 -07:00
Landon Curt Noll 6d94978dde Merge pull request #2527 from xexyl/panic 2024-07-01 11:39:55 -07:00