519
submitted 10 months ago by boem@lemmy.world to c/technology@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] HeartyBeast@kbin.social 11 points 10 months ago

I'm pretty sure I remember similar articles (minus the reference to 'Her') about ELIZA in the 1960/70s https://en.wikipedia.org/wiki/ELIZA

[-] Nougat@kbin.social 2 points 10 months ago* (last edited 10 months ago)

I ran an ELIZA program in BASIC on my Timex/Sinclair 2068 in 1984, which I had typed from the issue of the magazine Timex/Sinclair User that I bought from the grocery store with my allowance. Or maybe it was from a TRS-80 programs book I had checked out from the library, I forget.

[-] agent_flounder@lemmy.world 3 points 10 months ago
[-] Nougat@kbin.social 9 points 10 months ago

Now you've gone and made me think.

I'm actually pretty sure it was in a TRS-80 book from the library, and here's why.

The program in the book was all in upper case. The TS2068, however, had both upper and lower case for ad hoc text input. (Not for command-word inputs, those were single-button entries with a function key. "Print" was fn+p, for example. But I digress.)

Me, being the me that I am, typed everything in exactly as it was written in the book, case and all. I did this because this was TRS-80 BASIC, which was ever so slightly different from TS BASIC, and I knew I might have to debug some things to get the program to work. I wanted to start from "This is exactly what was written in the book."

I don't remember if anything actually needed to be fixed up, if it did it was nothing substantial. The program worked! ELIZA, as you may know, is a very simple "psychotherapist" type program. All of its responses are basically rewordings of the thing you just said.

I WENT TO THE STORE TODAY.
HOW DID IT MAKE YOU FEEL WHEN YOU WENT TO THE STORE TODAY?

That kind of thing.

My friend and I were chatting with it, saying things about poop and farts, goofing around, drinking Like Cola, like you do. Then something happened.

I don't remember what bit of toilet humor we'd tossed at it, but the response was incredible:

i am

In lower case. For a couple of kids raised Catholic, this was serious. And you know we'd both read The Planiverse more than once. We freaked the absolute fuck out. Our inputs now became very calculated, in an attempt to get this whatever it was to reveal itself once more, but to no avail.

After we'd calmed down, I got to thinking. "Heyyy ... anything the program spits out that isn't something we input has to be something from those zillion tedious lines I had to type in." I started poring through all the lines on the screen, and yes, found my typo, and fixed it. Which made me realize that we could add other words, as long as we put them in the grammatically appropriate array.

Of course we made it swear like a sailor.

[-] HeartyBeast@kbin.social 2 points 10 months ago

Yeh, pain in the bum to type in as you were storing lots of strings in arrays, ISTR

[-] Nougat@kbin.social 4 points 10 months ago

OMG the arrays. I forgot about the arrays.

this post was submitted on 27 Oct 2023
519 points (94.8% liked)

Technology

58123 readers
4437 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS