From 5c31c7ce42eb11f58cc0eb9cc31a37889e7b8750 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 24 Jul 2024 11:13:44 -0700 Subject: [PATCH] Fixes in 1994/horton The fixes include a manifest update wrt the alternate code. --- 1994/horton/.entry.json | 2 +- 1994/horton/README.md | 15 +++++++++------ 1994/horton/index.html | 16 +++++++++------- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/1994/horton/.entry.json b/1994/horton/.entry.json index 6d00c7329..a4003b942 100644 --- a/1994/horton/.entry.json +++ b/1994/horton/.entry.json @@ -31,7 +31,7 @@ "OK_to_edit" : true, "display_as" : "c", "display_via_github" : true, - "entry_text" : "alternate source code" + "entry_text" : "author provided unobfuscated and enhanced code" }, { "file_path" : "horton.orig.c", diff --git a/1994/horton/README.md b/1994/horton/README.md index 8fcd6c77f..6474c57f4 100644 --- a/1994/horton/README.md +++ b/1994/horton/README.md @@ -4,6 +4,9 @@ make all ``` +There is an unobfuscated and enhanced version provided by the author. See [Alternate +code](#alternate-code) below. + ## To use: @@ -23,8 +26,9 @@ ## Alternate code: -This confuses cb greatly. See [horton.alt.c](%%REPO_URL%%/1994/horton/horton.alt.c) for an unobfuscated/enhanced -version. +This confuses cb greatly. See +[horton.alt.c](%%REPO_URL%%/1994/horton/horton.alt.c) for an +unobfuscated and enhanced version. ### Alternate build: @@ -40,7 +44,7 @@ version. ./horton.alt A B C D ``` -Where A, B, C and D are numbers like with `horton`. +Where `A`, `B`, `C` and `D` are numbers, just like with `horton`. ### Alternate try: @@ -57,8 +61,7 @@ right character. And for extra credit, try to figure out which character is at the bottom of this hint file. :-) You might be interested in the author's article that they cite towards the end -of their remarks, included as PDF files for your convenience, the full -newsletter and a PDF file of just the pages cited. +of their remarks, included as a PDF file for your convenience. ## Author's remarks: @@ -79,7 +82,7 @@ If you get stuck, come back and read below for additional hints and information. ### What this entry does: As should be obvious from 20 feet away, the program is a cubic plotter. -It plots against certain artists, splattering their cubes with graphs +It plots against certain arguments, splattering their cubes with graphs of their cubic equations. Those dastardly arguments are mere coefficients, cogs in the wheels of the grand plot to overthrow the cubics! diff --git a/1994/horton/index.html b/1994/horton/index.html index 534fb5d49..92621940d 100644 --- a/1994/horton/index.html +++ b/1994/horton/index.html @@ -409,19 +409,22 @@ Location: US - United States of America

To build:

    make all
+

There is an unobfuscated and enhanced version provided by the author. See Alternate +code below.

To use:

    ./horton A B C D

A, B, C and D are numeric arguments.

Try:

    ./try.sh

Alternate code:

-

This confuses cb greatly. See horton.alt.c for an unobfuscated/enhanced -version.

+

This confuses cb greatly. See +horton.alt.c for an +unobfuscated and enhanced version.

Alternate build:

    make alt

Alternate use:

    ./horton.alt A B C D
-

Where A, B, C and D are numbers like with horton.

+

Where A, B, C and D are numbers, just like with horton.

Alternate try:

    ./try.alt.sh

Judges’ remarks:

@@ -429,8 +432,7 @@ version.

right character. And for extra credit, try to figure out which character is at the bottom of this hint file. :-)

You might be interested in the author’s article that they cite towards the end -of their remarks, included as PDF files for your convenience, the full -newsletter and a PDF file of just the pages cited.

+of their remarks, included as a PDF file for your convenience.

Author’s remarks:

Run it with any 4 numeric arguments, e.g. ./horton 3 2 1 0. Play with the numbers to get a pleasing result, or use it for your high school algebra @@ -441,7 +443,7 @@ just try to understand the program via the source.

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

What this entry does:

As should be obvious from 20 feet away, the program is a cubic plotter. -It plots against certain artists, splattering their cubes with graphs +It plots against certain arguments, splattering their cubes with graphs of their cubic equations. Those dastardly arguments are mere coefficients, cogs in the wheels of the grand plot to overthrow the cubics!

Oh, by the way, it uses a self-contained graphtab and frame buffer. @@ -503,7 +505,7 @@ It’s easily modified to graph any 96x160 bitmap on a dumb terminal.

  • horton.c - entry source code
  • Makefile - entry Makefile
  • -
  • horton.alt.c - alternate source code
  • +
  • horton.alt.c - author provided unobfuscated and enhanced code
  • horton.orig.c - original source code
  • gtface.c - gtface source code
  • try.alt.sh - script to try alternate code