Files
ioccc/2020/endoh3
Landon Curt Noll f07fec3a98 fix tar-year.sh, removed use of .tar.tstamp files
Eliminated the need for the `.tar.tstamp` files.  It became intractable
to produce a tarball that was byte-for-byte identical to a tarball
on another platform.  We further simplified the process used by the
`bin/tar-year.sh` tool to no longer need `.tar.tstamp` files.
Removed `.tar.tstamp` files and updated the manifest.
Sorry (tm Canada 🇨🇦) for the "flip-flop".

The `bin/tar-year.sh` tool now uses a similar algorithm to how
`bin/tar-entry.sh` determines if a compressed tarball needs to be
rebuilt.

Changed `bin/tar-entry.sh` VERSION from "1.3.3 2024-03-27"
to "1.3.4 2024-03-27".

Changed `bin/tar-year.sh` VERSION from "1.1.3 2024-03-27"
to "1.2 2024-03-27".

Performed `make www` and `make form_entry_tarball`
and `make form_year_tarball` to complete the above
actions and test these changes under macOS.

TODO: Test the `bin/tar-year.sh` tool under Linux.

TODO: Address issues with building the top level `ioccc.tar.bz2`
      and the `bin/tar-all.sh` tool and the `make form_all_tarball` rule.

NOTE: The `bin/tar-all.sh` tool and the `make form_all_tarball` rule
and the `make tar` should **NOT** be used at this time.
2024-03-27 16:49:11 -07:00
..
…
2024-03-20 00:19:52 -07:00

To build:

make

An alternate version of this program exists. See Alternate code below.

To use:

./prog

Try:

./run_clock
# And watch closely for 15-20 seconds

Alternate code:

An alternate version of this entry, prog.alt.c, is provided. This alternate code uses Unicode letters.

Alternate build:

make alt

Alternate use:

Use prog.alt as you would prog above.

Alternate try:

./run_clock.alt
# And watch closely for 15-20 seconds

Judges' remarks:

You may be tempted to use a mirror. Resist the temptation! Try figuring out how the clock hands are drawn. Can you change the program to make it draw a familiar (non-mirrored) clock face? Can you add the second hand?

When using the run_clock.sh shell script, your perception of time might depend on what time it is.

Author's remarks:

Prepare a mirror!

make clock

Note: You need to recompile it each run.