WEBVTT
Kind: captions
Language: en

00:00:00.179 --> 00:00:06.750
When we talk about the 90s web, we hear about
gifs, animated text, or the tables.

00:00:06.750 --> 00:00:08.970
So many tables.

00:00:08.970 --> 00:00:13.860
But we don't hear so much about the guestbook,
perhaps the most underappreciated progenitor

00:00:13.860 --> 00:00:16.550
of modern social media.

00:00:16.550 --> 00:00:19.930
Why is that?

00:00:19.930 --> 00:00:25.573
[chiptune music and guitar hit as intro]

00:00:25.573 --> 00:00:29.150
Greetings, and welcome to another thrilling
episode of Veronica Explains!

00:00:29.150 --> 00:00:30.730
I'm Veronica!

00:00:30.730 --> 00:00:35.270
And today I'd like to talk about guestbooks,
one of the earliest examples of interactive

00:00:35.270 --> 00:00:38.079
media on the world wide web.

00:00:38.079 --> 00:00:44.539
As previously defined in my "Word of the Week"
podcast, guestbooks in real life are a type

00:00:44.539 --> 00:00:50.100
of "ledger" in which visitors to a particular
establishment leave comments for the owners,

00:00:50.100 --> 00:00:53.230
as well as for future visitors.

00:00:53.230 --> 00:01:01.640
In the earlier days of the web, web based "guestbooks" were simply a cyberspace extension to this concept- you'd leave a message

00:01:01.640 --> 00:01:06.930
in someone's "guestbook", and it acted like
a "wall" of messages.

00:01:06.930 --> 00:01:10.049
Or a "feed", if you will.

00:01:10.049 --> 00:01:15.229
On the early web, guestbooks were used by
visitors to a website, ostensibly to share

00:01:15.229 --> 00:01:21.189
opinions about that website with the website
owner, or "webmaster" for short.

00:01:21.189 --> 00:01:27.299
Quite often, messages left on these guestbooks
were public facing, meaning anyone visiting

00:01:27.299 --> 00:01:32.200
the website could see the comments left by
other visitors to your website.

00:01:32.200 --> 00:01:34.970
It was a quaint little Internet back then,

00:01:34.970 --> 00:01:40.351
and it's hard to imagine in today's social-media-addled world, where often "the comments" are

00:01:40.351 --> 00:01:45.950
a shorthand for "terrible experiences we subject
ourselves to in exchange for fleeting moments

00:01:45.950 --> 00:01:48.870
of positive human interaction".

00:01:48.870 --> 00:01:55.280
But back then, we freely chose to implement
these guestbooks, and generally welcomed the

00:01:55.280 --> 00:01:58.390
comments from random visitors.

00:01:58.390 --> 00:02:03.530
If you weren't online in the 90s, it's important
to remember that this wasn't the era of constant

00:02:03.530 --> 00:02:04.530
connectivity.

00:02:04.530 --> 00:02:13.470
At that point, the web just wasn't an ever present part of our
lives, even for those who were extremely internet

00:02:13.470 --> 00:02:14.470
savvy.

00:02:14.470 --> 00:02:19.220
"Going online" was still an activity that
required sacrifice.

00:02:19.220 --> 00:02:24.810
Your online time was fleeting - you were tying
up the phone line after all.

00:02:24.810 --> 00:02:29.830
If you want me to cover more fun from the
early web like webrings, ancient scripting,

00:02:29.830 --> 00:02:35.350
and the quirks of early HTML, place a comment
in the comment bin!

00:02:35.350 --> 00:02:39.790
Anyway, this wasn't the era of big analytics.

00:02:39.790 --> 00:02:44.530
We implemented things like hit counters and
guestbooks because we wanted to know if folks

00:02:44.530 --> 00:02:46.990
liked our websites.

00:02:46.990 --> 00:02:52.250
But beyond the intended purpose of general
visitor comments, guestbooks gave us a chance

00:02:52.250 --> 00:02:54.830
to leave messages for each other.

00:02:54.830 --> 00:03:01.220
Much like the mighty BBS, which rose to prominence
in the preceding decade, guestbooks gave us

00:03:01.220 --> 00:03:05.310
90s teens a place on the web to chat asynchronously.

00:03:05.310 --> 00:03:13.530
Unlike chatrooms, in which we actively participated
in direct discussion with the randos we called

00:03:13.530 --> 00:03:20.030
"internet friends" or "buddies", the guestbook
gave us a way to leave a *public* message

00:03:20.030 --> 00:03:23.930
for a friend who wasn't online *right now*.

00:03:23.930 --> 00:03:28.430
In message systems that are a bit more private,
like email, the message that you leave for

00:03:28.430 --> 00:03:32.680
a friend isn't exactly designed for everyone
to read.

00:03:32.680 --> 00:03:38.849
And while public message boards like forums,
BBSes, or newsgroups were nothing new by the

00:03:38.849 --> 00:03:43.740
1990s, it was still somewhat technically challenging
to access them.

00:03:43.740 --> 00:03:49.440
Guestbooks, on the other hand, were usable
by *anyone* who could work a web browser.

00:03:49.440 --> 00:03:54.690
This meant the messages left on them were
*extremely* public.

00:03:54.690 --> 00:04:00.720
You took time to craft them, and if you owned
the website, you spent time curating the messages

00:04:00.720 --> 00:04:03.010
you'd leave publicly available.

00:04:03.010 --> 00:04:10.840
In short, the guestbook culture in the 1990s
help lay the path for the social media which

00:04:10.840 --> 00:04:15.079
rose to prominence in the following decade.

00:04:15.079 --> 00:04:21.690
It's an important, yet surprisingly un-celebrated
step toward the level of connectedness that

00:04:21.690 --> 00:04:24.870
we take for granted today.

00:04:24.870 --> 00:04:30.540
Guestbooks taught a generation of web users
about the facework of image crafting.

00:04:30.540 --> 00:04:34.360
The progenitor of today's "influencer culture".

00:04:34.360 --> 00:04:39.370
Now, of course, it's unfair to paint this
as a utopia.

00:04:39.370 --> 00:04:44.360
You can imagine that with unchecked, public
facing comment sections, there was a lot of

00:04:44.360 --> 00:04:47.699
cyberbullying happening.

00:04:47.699 --> 00:04:53.410
And unlike a forum, or an email chain, or
a modern comments section, guestbooks were

00:04:53.410 --> 00:04:59.539
mostly linear posts, with no simple way to
reply to a sender... short of visiting their

00:04:59.539 --> 00:05:02.410
own guestbook and leaving them a message.

00:05:02.410 --> 00:05:07.289
You can imagine this led to some... drama.

00:05:07.289 --> 00:05:15.250
As a teen in the 90s, I absolutely made and
lost friends over stupid guestbook wars.

00:05:15.250 --> 00:05:19.759
And we certainly devised schemes to take down
websites by taking advantage of every security

00:05:19.759 --> 00:05:24.030
loophole we could find in those guestbook
scripts.

00:05:24.030 --> 00:05:30.220
But as a goofy, unathletic, uncoordinated
computer nerd in the 90s, all of that drama

00:05:30.220 --> 00:05:36.430
was just the price of admission to a world
where I could connect with others of my kind.

00:05:36.430 --> 00:05:42.680
My guestbook "wall" was a public testament
to my friends, both online and off.

00:05:42.680 --> 00:05:50.330
I don't know about you, but that affirmation
was vital during the cruelest years of teenagedom.

00:05:50.330 --> 00:05:53.699
Anyway, enough about the nostalgia.

00:05:53.699 --> 00:05:55.650
How did they work?

00:05:55.650 --> 00:06:00.259
Guestbooks were most implemented in the form
of scripts that would run on your web server.

00:06:00.259 --> 00:06:06.630
Back in the 90s, the nerdiest of web nerds
would often set up a "free" website through

00:06:06.630 --> 00:06:15.641
a provider such as Tripod, Angelfire, or the
venerable GeoCities, where every GIF meant every GIF.

00:06:16.230 --> 00:06:22.630
A lot of ISPs also gave you space to plant
an HTML flag, where you could upload files

00:06:22.630 --> 00:06:26.440
and your ISP would serve them to the web at
large.

00:06:26.440 --> 00:06:31.010
And while home servers weren't out of the
question, in my experience, most users with

00:06:31.010 --> 00:06:36.479
websites during the mid-to-late-90s were hosting
them through one of these providers, or perhaps

00:06:36.479 --> 00:06:40.153
an educational institution such as a college
or a high school.

00:06:40.501 --> 00:06:46.146
Anyway, the guestbook itself was just another script
hosted on the server.

00:06:46.146 --> 00:06:51.540
And while there were "guestbook services" that
helped you set one up, in my experience, most

00:06:51.540 --> 00:06:57.449
of us were just stealing scripts from some
lousy website and pasting them into our cgi-bins

00:06:57.449 --> 00:06:59.370
with reckless abandon.

00:06:59.370 --> 00:07:04.752
The programming language for these scripts
varied- ASP, PHP, and I've even heard of some

00:07:04.752 --> 00:07:06.910
JavaScript implementations.

00:07:06.910 --> 00:07:13.570
But it sounds like the most popular language
for these is Perl, the often forgotten language

00:07:13.570 --> 00:07:18.190
which dominated discourse in the early days
of the web.

00:07:18.190 --> 00:07:21.070
Perl isn't my first language, or my fifth.

00:07:21.070 --> 00:07:25.270
In fact, I barely ever used it as a kid.

00:07:25.270 --> 00:07:29.810
Most of the time, I was just copying code
from someone else back then.

00:07:29.810 --> 00:07:37.479
But, to be honest, that's how so many of us got our first taste of programming, and that's not nothing.

00:07:37.479 --> 00:07:44.659
Anywho, while a few guestbook implementations
used a database as a backend - yes, even Microsoft

00:07:44.659 --> 00:07:53.650
Access - most of the ones I was working with
just edited the static HTML file itself.

00:07:53.650 --> 00:08:01.199
That's right- you type in the form, and it
modifies the dot-HTML file itself.

00:08:01.199 --> 00:08:03.870
That was... always secure.

00:08:03.870 --> 00:08:10.180
You know, in a very real way, we're coming full
circle now, with static site generators as the

00:08:10.180 --> 00:08:16.740
next "chic" iteration of this classic, "no
SQL found here" design.

00:08:16.740 --> 00:08:23.349
So now, here's the magic question- can we set one of
these up today?

00:08:23.349 --> 00:08:27.810
Of course, we could just go ahead and set
up the same sort of thing using any modern

00:08:27.810 --> 00:08:32.090
server-side language like PHP, Python, or
Ruby.

00:08:32.090 --> 00:08:34.040
But I wonder...

00:08:34.040 --> 00:08:40.750
...how hard it would be to simply drop a Perl
script from the good-old days onto a modern

00:08:40.750 --> 00:08:41.750
website?

00:08:41.750 --> 00:08:46.680
Now, it should go without saying, but I’m
going to say it anyway: I am NOT suggesting

00:08:46.680 --> 00:08:48.190
you do this.

00:08:48.190 --> 00:08:52.500
It's probably a bad idea for a lot of reasons.

00:08:52.500 --> 00:08:57.480
But, lets have some fun bringing old code
to life!

00:08:57.480 --> 00:09:02.640
To start with, I spun up a Debian server,
and then installed vanilla Apache on it.

00:09:02.640 --> 00:09:07.780
I'm not going to go into how to install Apache,
since there's already like a thousand videos

00:09:07.780 --> 00:09:09.700
on the topic on YouTube.

00:09:09.700 --> 00:09:15.100
I started by making a directory in /var/www
for my cgi-bin.

00:09:15.100 --> 00:09:23.460
I then changed the owner to www-data, as that's
the user Debian uses for Apache.

00:09:23.460 --> 00:09:31.120
I then set up a virtualhost for my fake website,
and added an Exec CGI option, making sure

00:09:31.120 --> 00:09:32.790
perl scripts could be handled.

00:09:32.790 --> 00:09:37.100
I made a little mistake here, which you'll
see in a minute.

00:09:37.100 --> 00:09:44.821
After all that, I restarted Apache, and tested
if perl was working by dumping in a simple test script.

00:09:45.000 --> 00:09:46.855
[buzzer sound] It did not.

00:09:47.149 --> 00:09:52.810
I realized I hadn't yet enabled the cgi modules,
and that might have been missing, so I went

00:09:52.810 --> 00:09:54.140
ahead and enabled them.

00:09:54.140 --> 00:09:56.230
But things still weren't working.

00:09:56.230 --> 00:10:00.700
I poked around a bit at my virtualhost, and
realized I didn't alias the cgi-bin.

00:10:00.700 --> 00:10:03.510
Ooops.

00:10:03.510 --> 00:10:06.060
I fixed that up, and then I  restarted Apache.

00:10:06.060 --> 00:10:12.079
Now, when I visited the website, I got an
"internal server error", which was a different

00:10:12.079 --> 00:10:14.779
error than I was getting before.

00:10:14.779 --> 00:10:19.180
So I checked the logs, I can see it can't
execute the script.

00:10:19.180 --> 00:10:24.160
So then I made sure it was executable, but
that didn't fix the issue.

00:10:24.160 --> 00:10:29.829
On a whim, I decided I should make sure there's
a content type header- I don't have to add

00:10:29.829 --> 00:10:36.480
that to the top of most of my modern web scripts,
but I'm no perl genius, clearly.

00:10:36.480 --> 00:10:38.700
Anyway, that did it.

00:10:38.700 --> 00:10:44.620
And so ends the "Veronica learns just enough
Perl to be dangerous" portion of todays video!

00:10:44.620 --> 00:10:50.450
On a tip from a fellow Mastodon user, I checked
out "scriptarchive.com".

00:10:50.450 --> 00:11:00.510
Here, to my astonishment, I found Matt's Script
Archive, which is, in a word, interesting.

00:11:00.510 --> 00:11:06.549
Definitely worth checking out if you're interested
in how we used web technology back in the 1990s.

00:11:06.810 --> 00:11:13.020
Anyway, on this "not at all dangerous" website,
Matt has a guestbook listed, so I grabbed

00:11:13.020 --> 00:11:15.930
the files and got to work.

00:11:15.930 --> 00:11:19.820
There are four primary files we'll use today.

00:11:19.820 --> 00:11:25.350
`guestbook.pl`, which is the perl script doing
the work on the server.

00:11:25.350 --> 00:11:31.890
`addguest.html`, which is the form visitors
will fill out to add to the guestbook.

00:11:31.890 --> 00:11:39.890
`guestbook.html`, which is the guestbook html
that gets edited here, containing the user

00:11:39.890 --> 00:11:40.890
entries.

00:11:40.890 --> 00:11:42.110
Oh, that's cute.

00:11:42.110 --> 00:11:45.620
And hopefully not at all too dangerous for YouTube.

00:11:45.620 --> 00:11:53.400
And lastly, `guestlog.html`, a short log of all entries
made.

00:11:53.400 --> 00:12:00.410
As you can imagine, `guestbook.pl` went into
the cgi-bin folder, while the html files went

00:12:00.410 --> 00:12:03.380
into the html folder.

00:12:03.380 --> 00:12:08.627
Inside guestbook.pl, there are five variables,
and you'll need to set them.

00:12:08.627 --> 00:12:14.455
Not you! [stammering]
 
I shouldn't have said you'll... I set them. You don't have to.

00:12:15.336 --> 00:12:23.140
Anyway, guestbookurl, and cgiurl are for modifying
your urls.

00:12:23.140 --> 00:12:30.410
Guestbookreal and guestlog tell the perl script
where those files are in your directory.

00:12:30.410 --> 00:12:35.621
There's also `date_command` which defines
a shell command which returns a date, for

00:12:35.621 --> 00:12:38.190
use by the script.

00:12:38.190 --> 00:12:44.709
After making the modifications, I gave it
a try, and... it errored out. [buzzer sound]

00:12:44.709 --> 00:12:49.700
Looks like the html links aren't dynamically set within
the perl script.

00:12:49.700 --> 00:12:51.560
Because of course they aren't.

00:12:51.560 --> 00:12:57.900
I fixed that up... but then it errored out. [wind noises from FF6]

00:12:57.900 --> 00:13:03.370
Taking a look at the file permissions in the
cgi-bin, I can see that I failed to make guestbook.pl

00:13:03.370 --> 00:13:05.320
executable.

00:13:05.320 --> 00:13:07.270
Oopsie.

00:13:07.270 --> 00:13:09.630
Making it executable was the trick!

00:13:09.630 --> 00:13:14.000
Now I can see my entry and make another one!

00:13:14.000 --> 00:13:20.329
Of course, and I'm just gonna say this again, I can imagine this has a ton of
security implications.

00:13:20.329 --> 00:13:26.600
For starters, the guestbook perl file is simply
editing the html file and inserting whatever

00:13:26.600 --> 00:13:28.750
you type into it.

00:13:28.750 --> 00:13:35.810
A well formed malicious string could probably
inject some scary code in here or something.

00:13:35.810 --> 00:13:41.130
Luckily, it has some strings in here to prevent
html.

00:13:41.130 --> 00:13:47.880
My brief playing with it seems to have indicated
it does... something to strip out the html.

00:13:47.880 --> 00:13:52.500
I also disabled the logging and the email
linking, because honestly, I don't need any

00:13:52.500 --> 00:13:55.940
of you getting spammed just for trying it
out.

00:13:55.940 --> 00:14:00.199
And try it out you should, because it seems
fun!

00:14:00.199 --> 00:14:04.550
You can check out my guestbook at gb.donttrythis.net.

00:14:04.550 --> 00:14:13.800
Anyway, I shared this on Mastodon and I got
a ton of fun and exciting and nostalgic posts

00:14:13.800 --> 00:14:15.290
on it.

00:14:15.290 --> 00:14:17.589
It was incredible.

00:14:17.589 --> 00:14:24.350
That said, I did have to make one minor modification
to the Matt's Script Archive file- I added

00:14:24.350 --> 00:14:30.009
a variable for a "math quiz" to help root
out the spammers, because, like all things

00:14:30.009 --> 00:14:36.660
on the modern internet, it only takes a couple
of minutes before the spam comments show up.

00:14:36.660 --> 00:14:39.589
And show up they did.

00:14:39.589 --> 00:14:40.759
Ugh.

00:14:40.759 --> 00:14:45.970
I've attempted to "solve" this the same sort
of way we did back-in-the-day: I inserted

00:14:45.970 --> 00:14:52.600
an if/then into the works that'll pump out
an error if you answer the question wrong.

00:14:52.600 --> 00:14:57.730
Then I defined the answer along with the other
variables, and explained the problem in the

00:14:57.730 --> 00:15:02.130
HTML page in a wordy way that only a human
would understand.

00:15:02.130 --> 00:15:09.350
It's kinda like a low-resource mid-90s version of
a captcha, and we used to do this sort of

00:15:09.350 --> 00:15:12.980
thing to prevent bots from posting on our
pages.

00:15:12.980 --> 00:15:15.618
It's reasonably effective!
 
[child shouting] "1, 2, 3, 4!"

00:15:15.618 --> 00:15:21.320
[punk music in background]
So, do I pine for the intentional-ity that
comes from the early web?

00:15:21.320 --> 00:15:22.780
Absolutely.

00:15:22.780 --> 00:15:26.500
I'd be lying if I pretended that I don't.

00:15:26.500 --> 00:15:32.250
The web wasn't the ever-present dominating
force that it is today.

00:15:32.250 --> 00:15:40.600
The "information superhighway" wasn't really
"the road" just yet- it was "the destination" in itself.

00:15:41.451 --> 00:15:45.000
I don't think it's all bad today.

00:15:45.000 --> 00:15:49.589
I mean, modern social media has lowered the
barriers to entry, and that's helped keep

00:15:49.589 --> 00:15:52.130
folks around the world connected together.

00:15:52.130 --> 00:15:55.566
And I don't think that's a bad thing.

00:15:55.566 --> 00:16:02.480
That said, I absolutely think it's fair to criticize the juggernauts
that rose in the decades that followed the

00:16:02.480 --> 00:16:03.680
birth of the web.

00:16:03.680 --> 00:16:10.459
And I think that the guestbook era contains
a lot of great examples of a self hosted,

00:16:10.459 --> 00:16:18.038
intentionally moderated, deliberate alternative
to algorithm-driven gigantic social media platforms.

00:16:18.449 --> 00:16:20.769
It certainly wasn't utopia.

00:16:20.769 --> 00:16:29.430
But it was exciting, and for me at least,
self hosted "smaller web" projects like PeerTube

00:16:29.430 --> 00:16:33.370
and Mastodon, represent a spiritual successor
to that excitement.

00:16:33.370 --> 00:16:38.391
I just think we should give guestbooks more
credit for helping lay the groundwork, for

00:16:38.391 --> 00:16:41.660
better or worse, that led to our modern era.

