Fixing some blank posts

Oliver Brown
— This upcoming video may not be available to view yet.

My blog has been through a lot. At some point I may try and make a coherent timeline, if only for my own benefit.

Content has been migrated from platform to platform, and format to format. Some of it got broken along the way. This resulted in some of the posts just being blank. I finally went back and found them all and manually reinstated the content.

I doubt this will be of any interest to anyone except me or people who know me, but it may be nostalgic for anyone else who was doing web development in 2005.

Personally, my writing style from back then makes me uncomfortable, and it is not helped by the fact I’ve left some of my spelling errors intact.

Date Post
2005-04-14 It’s-a me!
2005-04-15 Reborn progress
2005-04-19 Exams soon…
2005-04-22 Should Galaxia use Ajax?
2005-04-22 Upcoming features for XHTML friends
2005-04-25 Silly .htaccess
2005-04-28 Agregating me in XHTML Friends
2005-05-08 Objects
2005-05-09 XHTML Friends is now about people
2005-05-09 Things you notice
2005-05-25 Gary Lineker in bad taste?
2005-05-18 Odd PHP problem
2005-06-05 Proof of the existence of Albinaaaaaaaghs
2006-05-05 Explaining the Matrix

Added Wayback Machine links

Oliver Brown
— This upcoming video may not be available to view yet.

After realising that I’ve been blogging for nearly 19 years, and that I have lot of old content with many broken links, I decided to add support for Wayback Machine links.

The Wayback Machine (part of the Internet Archive) archives web pages for posterity, and importantly, tries to archive many versions over time.

At the bottom of each my posts is now a section that links to the archived version of the page, as of the date of the post. This will attempt to show the latest archived version of the page before that date.

In practice many pages did not get archived, or the archived version may not contain the exact content on the day I wrote the post, but it is better than nothing.

To keep this service alive (along with other activities of the Internet Archive), please consider donating.

Migrated another site from WordPress to Hugo and Azure Static Web Apps

Oliver Brown
— This upcoming video may not be available to view yet.

Some time ago I migrated my blog from WordPress (hosted on WordPress.com) to Hugo (hosted on Azure Static Web Apps). Over the past week I did the same for my wife’s blog.

The process went well. The Hugo site has pretty good docs for migrating to Hugo from various other platforms. The exact steps I took were:

  1. Export content from Wordpress.
  2. Generate Hugo content from the export using blog2md.
  3. Upload to GitHub.
  4. Create an Azure Static Web app (which as detailed before creates a build pipeline and deploys to an autogenerated Azure domain).
  5. Browse the site and fix any broken content.
  6. Add any custom functionality desired to the theme files.
  7. Update the domain to point at the Azure instance.

The new blog is available at www.luliriisi.me.uk (the original is still available at luliriisi.wordpress.com).

Sharing themes

That “custom functionality” is of course optional, and a potential rabbit hole depending on your exact needs. In the case of my wife’s blog, because she is a hand-knitting pattern designer I added some templating for sharing her patterns easily.

And, because the core theme is shared with this blog (and Games with Gravitas), that functionality is also available here - which is why I can easily add one of her patterns to this post.

GNU Terry Pratchett

Oliver Brown
— This upcoming video may not be available to view yet.

The phrase “GNU Terry Pratchett” originates from one of the Discworld novels, “Going Postal,” where it is used as a code or message passed between characters to remember the deceased.

Specifically, there is a communication system known as “the clacks”, and there part of the way that system works involves additional metadata messages being sent (known as “the overhead”).

I only recently discovered that people have been embedding that message in all sorts of things as a way to memorialize Terry. One of the places they do this in the headers of websites.

So, you will now see an additional header in all the HTTP responses on this site:

X-Clacks-Overhead: GNU Terry Pratchett

Star Trek episode title word miscellany

Oliver Brown
— This upcoming video may not be available to view yet.

After investigating Star Trek episode titles with interesting characters, lets look at ones with interesting words.

Numbers

I already included this as a side note in the previous post, but many episodes have numbers as words, with each series having at least one.

Title Series Episode
The Galileo Seven TOS 1x13
One of Our Planets Is Missing TAS 1x03
Angel One TNG 1x15
One Little Ship DS9 6x14
One VOY 4x25
Thirty Days VOY 5x09
One Small Step VOY 6x08
The Haunting of Deck Twelve VOY 6x25
Friendship One VOY 7x21
Shuttlepod One ENT 1x16
Two Days and Two Nights ENT 1x25
First Flight ENT 2x24
Babel One ENT 4x12

Ordinals

Title Series Episode
First Contact TNG 4x15
The Nth Degree TNG 4x19
The First Duty TNG 5x19
Second Chances TNG 6x24
Second Sight DS9 2x09
Second Skin DS9 3x05
The Seventh ENT 2x07
First Flight ENT 2x24

Non-English words

This is probably the collection that caused me the most difficulty in deciding what should be included.

I settled on:

  • Actual words (no 11:59 or E²)
  • Real word languages
  • Not proper nouns (especially names of characters)

Considering all that, there are in fact only two non-English languages used in the titles of Star Trek episodes:

French

Title Series Episode
The Menagerie TOS 1x15
Ménage à Troi TNG 3x24
Vis à Vis VOY 4x20

Latin

Title Series Episode
Sub Rosa TNG 7x14
Dramatis Personae DS9 1x18
Inter Arma Enim Silent Leges DS9 7x16
Non Sequitur VOY 2x05
Terra Nova ENT 1x06
Vox Sola ENT 1x22
Terra Prime ENT 4x21

Honorable mentions

One Klingon word, and one Vulcan word that is only probably a proper noun.

Title Series Episode
Looking for par’Mach in All the Wrong Places DS9 5x03
Kir’Shara ENT 4x09

Character names

Who has the privilege of being named in an episode title? Again, there are surprising edge cases so I’ve split it up into several groups.

  • Q appears in the most titles.
  • Two titles mention two characters: Datalore and Ménage à Troi (which I assumed, in the spirit of the episode, is a reference to both Deanna Troi and Lwaxana Troi).

Direct character references

Definite direct references to characters in Star Trek.

Title Series Episode Character
Mudd’s Women TOS 1x03 Harry Mudd
Charlie X TOS 1x07 Charles Evans
Miri TOS 1x11 Miri
I, Mudd TOS 2x12 Harry Mudd
Elaan of Troyius TOS 2x02 Elaan
Spock’s Brain TOS 3x06 Spock
Plato’s Stepchildren TOS 3x12 Plato
Mudd’s Passion TAS 1x10 Harry Mudd
Bem TAS 2x02 Bem
Hide and Q TNG 1x11 Q
Elementary, Dear Data TNG 2x03 Data
The Outrageous Okona TNG 2x04 Thadiun Okona
Q Who? TNG 2x16 Q
Deja Q TNG 3x13 Q
Sarek TNG 3x23 Sarek
Ménage à Troi TNG 3x24 Deanna Troi
Ménage à Troi TNG 3x24 Lwaxana Troi
Data’s Day TNG 4x11 Data
Darmok TNG 5x02 Darmok
Ensign Ro TNG 5x03 Ro Laren
True Q TNG 6x06 Q
A Fistful of Datas TNG 6x08 Data
Aquiel TNG 6x13 Aquiel Uhnari
Dax DS9 1x08 Dax
Melora DS9 2x06 Melora Pazlar
The House of Quark DS9 3x03 Quark
Shakaar DS9 3x24 Shakaar Edon
Our Man Bashir DS9 4x10 Julian Bashir
Sons of Mogh DS9 4x15 Mogh
Caretaker VOY 1x01 The Caretaker
Jetrel VOY 1x15 Ma’Bor Jetrel
Tuvix VOY 2x24 Tuvix
The Q and the Grey VOY 3x11 Q
One VOY 4x25 One
Alice VOY 6x05 Alice
Rajiin ENT 3x04 Rajiin

Other characters

References to people, either fictional or real that were not actually characters in Star Trek.

Title Series Episode Character
The Galileo Seven TOS 1x13 Galileo Galilei
The Mark of Gideon TOS 3x17 Gideon
Requiem for Methuselah TOS 3x21 Methuselah
The Icarus Factor TNG 2x14 Icarus
Daedalus ENT 4x10 Daedalus

Indirect

Indirect references to characters that are awkward in some way.

Title Series Episode Character
Datalore TNG 1x14 Data
Datalore TNG 1x14 Lore
Qpid TNG 4x20 Q
Q-Less DS9 1x07 Q
Tinker Tenor Doctor Spy VOY 6x04 The Doctor

Accidental

Character names that are not intended to be references to Star Trek characters. Mainly The Doctor from Voyager, but also Q2 which was the script name for the member of the Q Continuum in the TNG episode Deja Q.

Title Series Episode Character
We’ll Always Have Paris TNG 1x24 Thomas Paris
Doctor Bashir, I Presume DS9 5x16 The Doctor
Q2 VOY 7x19 Q2
Dear Doctor ENT 1x13 The Doctor
Doctor’s Orders ENT 3x16 The Doctor

One

There is one special character name that is clearly not intended to be a reference, but comes up a lot - One from Voyager.

Title Series Episode Character
One of Our Planets Is Missing TAS 1x03 One
Where No One Has Gone Before TNG 1x06 One
Angel One TNG 1x15 One
One Little Ship DS9 6x14 One
One Small Step VOY 6x08 One
Friendship One VOY 7x21 One
Shuttlepod One ENT 1x16 One
Babel One ENT 4x12 One

Q

And finally, the letter Q appears a few times while clearly not being a reference to Q.

Title Series Episode Character
The Squire of Gothos TOS 1x18 Q
Requiem for Methuselah TOS 3x21 Q
Time Squared TNG 2x13 Q
Quality of Life TNG 6x09 Q
Aquiel TNG 6x13 Q
Rules of Acquisition DS9 2x07 Q
The Maquis DS9 2x19 Q
The House of Quark DS9 3x03 Q
Equilibrium DS9 3x04 Q
The Quickening DS9 4x24 Q
Inquisition DS9 6x18 Q
Non Sequitur VOY 2x05 Q
Equinox VOY 5x26 Q
Q2 VOY 7x19 Q
Acquisition ENT 1x19 Q

Just the character

One bonus list considering all the above - titles that are just a character name.

Title Series Episode Character
Miri TOS 1x11 Miri
Bem TAS 2x02 Bem
Sarek TNG 3x23 Sarek
Darmok TNG 5x02 Darmok
Aquiel TNG 6x13 Aquiel
Dax DS9 1x08 Dax
Melora DS9 2x06 Melora Pazlar
Shakaar DS9 3x24 Shakaar Edon
Caretaker VOY 1x01 The Caretaker
Jetrel VOY 1x15 Jetrel
Tuvix VOY 2x24 Tuvix
One VOY 4x25 One
Alice VOY 6x05 Alice
Q2 VOY 7x19 Q
Rajiin ENT 3x04 Rajiin
Daedalus ENT 4x10 Daedalus

Sortable Discworld audiobook release date list

Oliver Brown
— This upcoming video may not be available to view yet.
As an Amazon Associate I earn from qualifying purchases. See here for more information.

New audio versions of all* of the Discworld books are being produced. I’ve made a few posts tracking the release dates. Since then I’ve updated the blog to support nice sortable tables.

So here are the the books listed on Audible as of 21st May, 2023 in a single table (now with primary narrator). All columns should be usefully sortable.

If you don’t already have an Audible membership, you can get a 30-day free trial (UK).

New Discworld audiobook release dates

Title Series Release date Narrator
Hogfather Death 20 2021-12-09 Sian Clifford
Equal Rites Witches 3 2022-04-28 Indira Varma
Wyrd Sisters Witches 6 2022-04-28 Indira Varma
Witches Abroad Witches 12 2022-04-28 Indira Varma
Lords and Ladies Witches 14 2022-04-28 Indira Varma
Maskerade Witches 18 2022-04-28 Indira Varma
Carpe Jugulum Witches 23 2022-04-28 Indira Varma
Small Gods Standalone 13 2022-04-28 Andy Serkis
The Colour of Magic Wizards 1 2022-07-07 Colin Morgan
The Light Fantastic Wizards 2 2022-07-07 Colin Morgan
Sourcery Wizards 5 2022-07-07 Colin Morgan
Eric Wizards 9 2022-07-07 Colin Morgan
Interesting Times Wizards 17 2022-07-07 Colin Morgan
The Last Continent Wizards 22 2022-07-07 Colin Morgan
Unseen Academicals Wizards 37 2022-07-07 Colin Morgan
The Amazing Maurice and His Educated Rodents Standalone 28 2022-10-06 Ariyon Bakare
Mort Death 4 2022-10-27 Sian Clifford
Reaper Man Death 11 2022-10-27 Sian Clifford
Soul Music Death 16 2022-10-27 Sian Clifford
Thief of Time Death 26 2022-10-27 Sian Clifford
Pyramids Standalone 7 2023-03-30 Alfred Enoch
The Truth Standalone 25 2023-02-23 Mathew Baynton
Monstrous Regiment Standalone 31 2023-02-23 Katherine Parkinson
Going Postal Moist von Lipwig 33 2023-02-23 Richard Coyle
Making Money Moist von Lipwig 36 2023-02-23 Richard Coyle
Raising Steam Moist von Lipwig 40 2023-02-23 Richard Coyle
Moving Pictures Standalone 10 2023-05-18 Jason Isaacs
Guards! Guards! The Watch 8 2023-05-25 Jon Culshaw
Men at Arms The Watch 15 2023-05-25 Jon Culshaw
Feet of Clay The Watch 19 2023-05-25 Jon Culshaw
Jingo The Watch 21 2023-05-25 Jon Culshaw
The Fifth Elephant The Watch 24 2023-05-25 Jon Culshaw
Night Watch The Watch 29 2023-05-25 Jon Culshaw
Thud! The Watch 34 2023-05-25 Jon Culshaw
Snuff The Watch 39 2023-05-25 Jon Culshaw
The Wee Free Men Tiffany Aching 30 2023-06-15 Indira Varma
A Hat Full of Sky Tiffany Aching 32 2023-06-15 Indira Varma
Wintersmith Tiffany Aching 35 2023-06-15 Indira Varma
I Shall Wear Midnight Tiffany Aching 38 2023-06-15 Indira Varma
The Sheperd's Crown Tiffany Aching 41 2023-06-15 Indira Varma

* There are 41 Discworld books. The website says “40 magnificent new recordings”. The one that seems to be missing is “The Last Hero”.

Star Trek episode title character miscellany

Oliver Brown
— This upcoming video may not be available to view yet.

While doing other more systematic investigations of Star Trek episode titles, I made notes of interesting things I spotted.

Here are some collections of episode titles with interesting characters.

Q puns

Most episodes featuring Q had a pun in the title:

Title Series Episode
Hide and Q TNG 1x11
Q Who? TNG 2x16
Deja Q TNG 3x13
Qpid TNG 4x20
True Q TNG 6x06
Q-Less DS9 1x07
The Q and the Grey VOY 3x11
Q2 VOY 7x19
See the ones that did not
Title Series Episode
Encounter at Farpoint TNG 1x01
Tapestry TNG 6x15
All Good Things… TNG 7x25
Death Wish VOY 2x18

Interestingly, Q has so far made a further appearance in Lower Decks and nine in Star Trek Picard, and none of them had puns in the title.

Digits

Title Series Episode
11001001 TNG 1x16
The Siege of AR-558 DS9 7x08
The 37’s VOY 2x01
11:59 VOY 5x23
Q2 VOY 7x19
ENT 4x05
Cold Station 12 ENT 3x21
See titles containing numbers as words

Numbers

Title Series Episode
The Galileo Seven TOS 1x13
One of Our Planets Is Missing TAS 1x03
Angel One TNG 1x15
First Contact TNG 4x15
The Nth Degree TNG 4x19
The First Duty TNG 5x19
Second Chances TNG 6x24
Second Sight DS9 2x09
Second Skin DS9 3x05
One Little Ship DS9 6x14
One VOY 4x25
Thirty Days VOY 5x09
One Small Step VOY 6x08
The Haunting of Deck Twelve VOY 6x25
Friendship One VOY 7x21
Shuttlepod One ENT 1x16
Two Days and Two Nights ENT 1x25
The Seventh ENT 2x07
First Flight ENT 2x24
Babel One ENT 4x12

Punctuation and other interesting characters

Containing '

There are so many titles with apostrophes I decided to break it down by use:

Possessive

Title Series Episode
Mudd’s Women TOS 1x03
Friday’s Child TOS 1x03
Spock’s Brain TOS 3x06
Plato’s Stepchildren TOS 3x12
Mudd’s Passion TAS 1x10
How Sharper Than a Serpent’s Tooth TAS 2x05
Yesterday’s Enterprise TNG 3x15
Captain’s Holiday TNG 3x19
Data’s Day TNG 4x11
Devil’s Due TNG 4x13
Galaxy’s Child TNG 4x16
The Mind’s Eye TNG 4x24
Time’s Arrow TNG 5x26
Journey’s End TNG 7x20
In Purgatory’s Shadow DS9 5x14
By Inferno’s Light DS9 5x15
Time’s Orphan DS9 6x24
The Emperor’s New Cloak DS9 7x12
Future’s End VOY 3x08
Dragon’s Teeth VOY 6x07
Child’s Play VOY 6x19
Doctor’s Orders ENT 3x16

Part of an alien word

Title Series Episode
The Jem’Hadar DS9 2x26
Looking for par’Mach in All the Wrong Places DS9 5x03
Shadows of P’Jem ENT 1x15
Kir’Shara ENT 4x09

Contraction

Title Series Episode
We’ll Always Have Paris TNG 1x24
It’s Only a Paper Moon DS9 7x10

Clarifying a plural

Title Series Episode
The 37’s VOY 2x01
See the full list in order
Title Series Episode
Mudd’s Women TOS 1x03
Friday’s Child TOS 1x03
Spock’s Brain TOS 3x06
Plato’s Stepchildren TOS 3x12
Mudd’s Passion TAS 1x10
How Sharper Than a Serpent’s Tooth TAS 2x05
We’ll Always Have Paris TNG 1x24
Yesterday’s Enterprise TNG 3x15
Captain’s Holiday TNG 3x19
Data’s Day TNG 4x11
Devil’s Due TNG 4x13
Galaxy’s Child TNG 4x16
The Mind’s Eye TNG 4x24
Time’s Arrow TNG 5x26
Journey’s End TNG 7x20
The Jem’Hadar DS9 2x26
Looking for par’Mach in All the Wrong Places DS9 5x03
In Purgatory’s Shadow DS9 5x14
By Inferno’s Light DS9 5x15
Time’s Orphan DS9 6x24
It’s Only a Paper Moon DS9 7x10
The Emperor’s New Cloak DS9 7x12
The 37’s VOY 2x01
Future’s End VOY 3x08
Dragon’s Teeth VOY 6x07
Child’s Play VOY 6x19
Shadows of P’Jem ENT 1x15
Doctor’s Orders ENT 3x16
Kir’Shara ENT 4x09

Containing -

Several episode titles contain a hyphen. One episode contains two. The producers and/or writers probably intended an em dash or similar but were likely limited to hyphens for technical reasons.

Title Series Episode
Operation -‌- Annihilate! TOS 1x29
The Magicks of Megas-Tu TAS 1x08
The Counter-Clock Incident TAS 2x06
Q-Less DS9 1x07
Trials and Tribble-ations DS9 5x06
The Siege of AR-558 DS9 7x08
Badda-Bing, Badda-Bang DS9 7x15

Containing ,

Several episode titles contain commas. One had the option to include two with an Oxford comma.

Title Series Episode
Mirror, Mirror TOS 2x10
I, Mudd TOS 2x12
More Tribbles, More Troubles TAS 1x05
Elementary, Dear Data TNG 2x03
I, Borg TNG 5x23
Doctor Bashir, I Presume DS9 5x16
Treachery, Faith and the Great River DS9 7x06
Badda-Bing, Badda-Bang DS9 7x15
Author, Author VOY 7x20
In a Mirror, Darkly ENT 4x18

Containing ?

Title Series Episode
What Are Little Girls Made Of? TOS 1x09
Who Mourns for Adonais? TOS 1x04
Is There in Truth No Beauty? TOS 3x07
Q Who? TNG 2x16
Who Watches the Watchers? TNG 3x04
Who Mourns for Morn? DS9 6x12

Containing

Title Series Episode
All Good Things… TNG 7x25
Let He Who Is Without Sin… DS9 5x07
When It Rains… DS9 7x21
These Are the Voyages… ENT 4x22

Containing :

Title Series Episode
Assignment: Earth TOS 2x26
Course: Oblivion VOY 5x18
11:59 VOY 5x23

Containing !

Title Series Episode
Operation -‌- Annihilate! TOS 1x29
Bride of Chaotica! VOY 5x12

Containing à (and é)

There are a pair of episodes with accented characters (which have recently been joined by Võx from Picard).

Title Series Episode
Ménage à Troi TNG 3x24
Vis à Vis VOY 4x20

Containing ²

Title Series Episode
ENT 3x21

An aside for the titles of Picard

Oliver Brown
— This upcoming video may not be available to view yet.
Star Trek Picard logo

Star Trek Picard season three has just completed. It was not perfect but was probably the best live action Star Trek since Enterprise.

In honor of this, here is a quick analysis of the episode titles.

I’m not including Picard in the main analysis for consistency for now. There is also a small chance there may be more episodes (or possibly something else #StarTrekLegacy).

Title length

Picard does not challenge for overall shortest or longest title.

Shortest

Title Length Episode
Võx 3 letters 3x09

Like other series, it has several single word titles:

Title Length Episode
Remembrance 11 letters 1x01
Nepenthe 8 letters 1x07
Penance 7 letters 2x02
Assimilation 12 letters 2x03
Watcher 7 letters 2x04
Monsters 8 letters 2x07
Mercy 5 letters 2x08
Farewell 8 letters 2x10
Disengage 9 letters 3x02
Imposters 9 letters 3x05
Dominion 8 letters 3x07
Surrender 9 letters 3x08
Võx 3 letters 3x09

Longest

Title Length Episode
The End is the Beginning 24 letters 1x03
Title Length Episode
The End is the Beginning 5 words 1x03
Fly me to the Moon 5 words 2x05

Single word titles

The overall single word title stats are very similar to Enterprise.

Series Enterprise Picard
Total 42 13
Percentage 44.68 % 44.83 %
Shortest 2 3
Longest 12 12
Average 7.79 8
See comparison with other series'
Series TOS TAS TNG DS9 VOY ENT PIC
Total 5 3 50 42 77 42 13
Percentage 6.33 % 13.64 % 29.76 % 24.71 % 48.13 % 44.68 % 44.83 %
Shortest 4 3 4 3 2 2 3
Longest 13 10 16 12 14 12 12
Average 7.6 7.33 7.92 8.1 7.81 7.79 8

When split by season there is a lot variation though. I expect this to be true of most Star Trek series after Enterprise - the seasons are generally shorter and the serial nature means there are more likely to be patterns within seasons that don’t hold between them.

Season 1 2 3
Total 2 6 5
Percentage 22.22 % 60.00 % 50.00 %
Shortest 8 5 3
Longest 11 12 9
Average 9.5 7.83 7.6

Ionic episodes

Two new “ion” titles (but no “ions”):

Title Length Episode
Assimilation 12 letters 2x03
Dominion 8 letters 3x07

Image copyright © Paramount Global and used under fair use.

Similar Star Trek episode titles

Oliver Brown
— This upcoming video may not be available to view yet.

With nearly 700 episodes, there were bound to be some that are similar to each other. But which are most similar? And what do we mean by similar?

Summary

Before I go into the more technical analysis, I shall begin with some headlines.

Not technically part of this analysis but there are two Star Trek movies that share a title with an episode (if you ignore the “Star Trek” part of the title):

Title Series Episode Title
First Contact TNG 4x15 Star Trek: First Contact
Nemesis VOY 4x04 Star Trek Nemesis

There are three pairs of titles that differ by only one character. Two of them are just a final “s” as part of a plural:

Title Series Episode Title Series Episode
The Survivor TAS 1x06 The Survivors TNG 3x03
Facets DS9 3x25 Faces VOY 1x14
Demon VOY 4x24 Demons ENT 4x20

There are three pairs of titles that differ only by a leading “the”:

Title Series Episode Title Series Episode
The Eye of the Beholder TAS 1x15 Eye of the Beholder TNG 7x18
The Emissary TNG 2x20 Emissary DS9 1x01
The Muse DS9 4x21 Muse VOY 6x22

One of the more significant lines in Star Trek has both its variations appear as titles:

Title Series Episode Title Series Episode
Where No Man Has Gone Before TOS 1x01 Where No One Has Gone Before TNG 1x06

There is also a TNG episode that is specifically a sequel of sorts to an earlier episode with a similar title:

Title Series Episode Title Series Episode
The Naked Time TOS 1x06 The Naked Now TNG 1x03

A pair of episodes with weirdly similar titles, but in a way that isn’t easy to define:

Title Series Episode Title Series Episode
Beyond the Farthest Star TAS 1x01 Far Beyond the Stars DS9 6x13

There is an interesting prefix that appears three times in TNG, and only in TNG:

Title Series Episode
A Matter of Honor TNG 2x08
A Matter of Perspective TNG 3x14
A Matter of Time TNG 5x09

Four incidents worthy of naming:

Title Series Episode
The Terratin Incident TAS 1x11
The Counter-Clock Incident TAS 2x06
The Enterprise Incident TOS 3x04
The Andorian Incident ENT 1x07

Technical details

Below I present the top 10 pairs of similar episodes, with four different measures of similarity:

  • Levenshtein distance - Informally, the number of single character edits needed to change one title into another.
  • Prefix - The number of characters at the start of the titles that are in common (ignoring case).
  • Suffix - The number of characters at the end of the titles that are in common (ignoring case).
  • Contains - If one title is contained entirely within another (possibly at the start or end), then the length of the contained title (0 otherwise).

Additionally each one is presented with an absolute version, and another normalized to the length of the longest title.

Most similar titles

Levenshtein (absolute)

Title Series Episode Distance Title Series Episode
The Survivor TAS 1x06 1 The Survivors TNG 3x03
Facets DS9 3x25 1 Faces VOY 1x14
Demon VOY 4x24 1 Demons ENT 4x20
The Cage TOS 0x01 2 The Game TNG 5x06
The Cage TOS 0x01 2 The Chase TNG 6x20
Wink of an Eye TOS 3x13 2 Blink of an Eye VOY 6x12
The Loss TNG 4x10 2 The Host TNG 4x23
The Chase TNG 6x20 2 The Chute VOY 3x03
Masks TNG 7x17 2 Oasis ENT 1x20
Genesis TNG 7x19 2 Nemesis VOY 4x04

Levenshtein (normalized)

Title Series Episode Similarity Title Series Episode
The Survivor TAS 1x06 92.3% The Survivors TNG 3x03
Where No Man Has Gone Before TOS 1x01 89.3% Where No One Has Gone Before TNG 1x06
Wink of an Eye TOS 3x13 86.7% Blink of an Eye VOY 6x12
Facets DS9 3x25 83.3% Faces VOY 1x14
Demon VOY 4x24 83.3% Demons ENT 4x20
The Eye of the Beholder TAS 1x15 82.6% Eye of the Beholder TNG 7x18
Inquisition DS9 6x18 81.8% Acquisition ENT 1x19
Profit and Loss DS9 2x17 80.0% Profit and Lace DS9 6x23
The Cage TOS 0x01 77.8% The Chase TNG 6x20
The Chase TNG 6x20 77.8% The Chute VOY 3x03

Prefix (absolute)

Title Series Episode Similarity Title Series Episode
Who Mourns for Adonais? TOS 1x04 15 Who Mourns for Morn? DS9 6x12
The Alternative Factor TOS 1x20 12 The Alternate DS9 2x12
The Survivor TAS 1x06 12 The Survivors TNG 3x03
Once Upon a Planet TAS 1x09 12 Once Upon a Time VOY 5x05
A Matter of Honor TNG 2x08 12 A Matter of Perspective TNG 3x14
A Matter of Honor TNG 2x08 12 A Matter of Time TNG 5x09
A Matter of Perspective TNG 3x14 12 A Matter of Time TNG 5x09
Profit and Loss DS9 2x17 12 Profit and Lace DS9 6x23
Eye of the Beholder TNG 7x18 11 Eye of the Needle VOY 1x07
The Naked Time TOS 1x06 10 The Naked Now TNG 1x03

Prefix (normalized)

Title Series Episode Similarity Title Series Episode
The Survivor TAS 1x06 92.3% The Survivors TNG 3x03
Demon VOY 4x24 83.3% Demons ENT 4x20
Profit and Loss DS9 2x17 80.0% Profit and Lace DS9 6x23
Remember Me TNG 4x05 72.7% Remember VOY 3x06
The Naked Time TOS 1x06 71.4% The Naked Now TNG 1x03
A Matter of Honor TNG 2x08 70.6% A Matter of Time TNG 5x09
Starship Mine TNG 6x18 69.2% Starship Down DS9 4x07
Once Upon a Planet TAS 1x09 66.7% Once Upon a Time VOY 5x05
The Child TNG 2x01 66.7% The Chase TNG 6x20
The Child TNG 2x01 66.7% The Chute VOY 3x03

Suffix (absolute)

Title Series Episode Similarity Title Series Episode
The Eye of the Beholder TAS 1x15 19 Eye of the Beholder TNG 7x18
In the Hands of the Prophets DS9 1x20 17 Tears of the Prophets DS9 6x26
Where No Man Has Gone Before TOS 1x01 16 Where No One Has Gone Before TNG 1x06
Wink of an Eye TOS 3x13 13 Blink of an Eye VOY 6x12
Ship in a Bottle TNG 6x12 12 Message in a Bottle VOY 4x14
The Ensigns of Command TNG 3x02 11 Chain of Command TNG 6x10
Rules of Acquisition DS9 2x07 11 Acquisition ENT 1x19
The Terratin Incident TAS 1x11 10 The Andorian Incident ENT 1x07
Conspiracy TNG 1x25 10 The Voyager Conspiracy VOY 6x09
Once More Unto the Breach DS9 7x07 10 The Breach ENT 2x21

Suffix (normalized)

Title Series Episode Similarity Title Series Episode
Wink of an Eye TOS 3x13 86.7% Blink of an Eye VOY 6x12
The Eye of the Beholder TAS 1x15 82.6% Eye of the Beholder TNG 7x18
Inquisition DS9 6x18 81.8% Acquisition ENT 1x19
Emergence TNG 7x23 70.0% Divergence ENT 4x16
Code of Honor TNG 1x04 69.2% Day of Honor VOY 4x03
Obsession TOS 2x18 66.7% Accession DS9 4x17
Angel One TNG 1x15 66.7% Babel One ENT 4x12
The Emissary TNG 2x20 66.7% Emissary DS9 1x01
Friday’s Child TOS 1x03 64.3% Galaxy’s Child TNG 4x16
Heart of Glory TNG 1x20 64.3% Blaze of Glory DS9 5x23

Contains (absolute)

Title Series Episode Similarity Title Series Episode
The Eye of the Beholder TAS 1x15 19 Eye of the Beholder TNG 7x18
The Survivor TAS 1x06 12 The Survivors TNG 3x03
Rules of Acquisition DS9 2x07 11 Acquisition ENT 1x19
Conspiracy TNG 1x25 10 The Voyager Conspiracy VOY 6x09
Once More Unto the Breach DS9 7x07 10 The Breach ENT 2x21
The Enemy Within TOS 1x04 9 The Enemy TNG 3x07
And the Children Shall Lead TOS 2x05 9 The Child TNG 2x01
The Cloud Minders TOS 3x19 9 The Cloud VOY 1x06
The Enemy TNG 3x07 9 Face of the Enemy TNG 6x14
The Siege DS9 2x03 9 The Siege of AR-558 DS9 7x08

Contains (normalized)

Title Series Episode Similarity Title Series Episode
The Survivor TAS 1x06 92.3% The Survivors TNG 3x03
Demon VOY 4x24 83.3% Demons ENT 4x20
The Eye of the Beholder TAS 1x15 82.6% Eye of the Beholder TNG 7x18
Remember Me TNG 4x05 72.7% Remember VOY 3x06
The Emissary TNG 2x20 66.7% Emissary DS9 1x01
The Ship DS9 5x02 66.7% The Shipment ENT 3x07
Paradise DS9 2x14 61.5% Paradise Lost DS9 4x12
One VOY 4x25 60.0% Drone VOY 5x02
The Enemy Within TOS 1x04 56.2% The Enemy TNG 3x07
Shattered Mirror DS9 4x20 56.2% Shattered VOY 7x11

Most similar titles without leading “the”

Levenshtein (absolute)

Title Series Episode Distance Title Series Episode
The Eye of the Beholder TAS 1x15 0 Eye of the Beholder TNG 7x18
The Emissary TNG 2x20 0 Emissary DS9 1x01
The Muse DS9 4x21 0 Muse VOY 6x22
The Survivor TAS 1x06 1 The Survivors TNG 3x03
Haven TNG 1x05 1 The Raven VOY 4x06
Facets DS9 3x25 1 Faces VOY 1x14
Demon VOY 4x24 1 Demons ENT 4x20
Night VOY 5x01 1 The Fight VOY 5x19
The Cage TOS 0x01 2 The Game TNG 5x06
The Cage TOS 0x01 2 The Chase TNG 6x20

Levenshtein (normalized)

Title Series Episode Similarity Title Series Episode
The Eye of the Beholder TAS 1x15 100.0% Eye of the Beholder TNG 7x18
The Emissary TNG 2x20 100.0% Emissary DS9 1x01
The Muse DS9 4x21 100.0% Muse VOY 6x22
Where No Man Has Gone Before TOS 1x01 89.3% Where No One Has Gone Before TNG 1x06
The Survivor TAS 1x06 88.9% The Survivors TNG 3x03
Wink of an Eye TOS 3x13 86.7% Blink of an Eye VOY 6x12
Facets DS9 3x25 83.3% Faces VOY 1x14
Demon VOY 4x24 83.3% Demons ENT 4x20
Inquisition DS9 6x18 81.8% Acquisition ENT 1x19
Haven TNG 1x05 80.0% The Raven VOY 4x06

Prefix (absolute)

Title Series Episode Similarity Title Series Episode
The Eye of the Beholder TAS 1x15 19 Eye of the Beholder TNG 7x18
Who Mourns for Adonais? TOS 1x04 15 Who Mourns for Morn? DS9 6x12
Once Upon a Planet TAS 1x09 12 Once Upon a Time VOY 5x05
A Matter of Honor TNG 2x08 12 A Matter of Perspective TNG 3x14
A Matter of Honor TNG 2x08 12 A Matter of Time TNG 5x09
A Matter of Perspective TNG 3x14 12 A Matter of Time TNG 5x09
Profit and Loss DS9 2x17 12 Profit and Lace DS9 6x23
The Eye of the Beholder TAS 1x15 11 Eye of the Needle VOY 1x07
Eye of the Beholder TNG 7x18 11 Eye of the Needle VOY 1x07
Return to Tomorrow TOS 2x22 10 Return to Grace DS9 4x14

Prefix (normalized)

Title Series Episode Similarity Title Series Episode
The Eye of the Beholder TAS 1x15 100.0% Eye of the Beholder TNG 7x18
The Emissary TNG 2x20 100.0% Emissary DS9 1x01
The Muse DS9 4x21 100.0% Muse VOY 6x22
The Survivor TAS 1x06 88.9% The Survivors TNG 3x03
Demon VOY 4x24 83.3% Demons ENT 4x20
Profit and Loss DS9 2x17 80.0% Profit and Lace DS9 6x23
Remember Me TNG 4x05 72.7% Remember VOY 3x06
The Hunted TNG 3x11 71.4% Hunters VOY 4x15
A Matter of Honor TNG 2x08 70.6% A Matter of Time TNG 5x09
Starship Mine TNG 6x18 69.2% Starship Down DS9 4x07

Suffix (absolute)

Title Series Episode Similarity Title Series Episode
The Eye of the Beholder TAS 1x15 19 Eye of the Beholder TNG 7x18
In the Hands of the Prophets DS9 1x20 17 Tears of the Prophets DS9 6x26
Where No Man Has Gone Before TOS 1x01 16 Where No One Has Gone Before TNG 1x06
Wink of an Eye TOS 3x13 13 Blink of an Eye VOY 6x12
Ship in a Bottle TNG 6x12 12 Message in a Bottle VOY 4x14
The Ensigns of Command TNG 3x02 11 Chain of Command TNG 6x10
Rules of Acquisition DS9 2x07 11 Acquisition ENT 1x19
The Terratin Incident TAS 1x11 10 The Andorian Incident ENT 1x07
Conspiracy TNG 1x25 10 The Voyager Conspiracy VOY 6x09
Friday’s Child TOS 1x03 9 Galaxy’s Child TNG 4x16

Suffix (normalized)

Title Series Episode Similarity Title Series Episode
The Eye of the Beholder TAS 1x15 100.0% Eye of the Beholder TNG 7x18
The Emissary TNG 2x20 100.0% Emissary DS9 1x01
The Muse DS9 4x21 100.0% Muse VOY 6x22
Wink of an Eye TOS 3x13 86.7% Blink of an Eye VOY 6x12
Inquisition DS9 6x18 81.8% Acquisition ENT 1x19
Haven TNG 1x05 80.0% The Raven VOY 4x06
Night VOY 5x01 80.0% The Fight VOY 5x19
Descent TNG 6x26 71.4% The Ascent DS9 5x09
Emergence TNG 7x23 70.0% Divergence ENT 4x16
Code of Honor TNG 1x04 69.2% Day of Honor VOY 4x03

Contains (absolute)

Title Series Episode Similarity Title Series Episode
The Eye of the Beholder TAS 1x15 19 Eye of the Beholder TNG 7x18
Rules of Acquisition DS9 2x07 11 Acquisition ENT 1x19
Assignment: Earth TOS 2x26 10 The Assignment DS9 5x05
Conspiracy TNG 1x25 10 The Voyager Conspiracy VOY 6x09
Shattered Mirror DS9 4x20 9 Shattered VOY 7x11
This Side of Paradise TOS 1x25 8 Paradise DS9 2x14
The Paradise Syndrome TOS 2x03 8 Paradise DS9 2x14
The Survivor TAS 1x06 8 The Survivors TNG 3x03
The Emissary TNG 2x20 8 Emissary DS9 1x01
Remember Me TNG 4x05 8 Remember VOY 3x06

Contains (normalized)

Title Series Episode Similarity Title Series Episode
The Eye of the Beholder TAS 1x15 100.0% Eye of the Beholder TNG 7x18
The Emissary TNG 2x20 100.0% Emissary DS9 1x01
The Muse DS9 4x21 100.0% Muse VOY 6x22
The Survivor TAS 1x06 88.9% The Survivors TNG 3x03
Demon VOY 4x24 83.3% Demons ENT 4x20
Remember Me TNG 4x05 72.7% Remember VOY 3x06
Paradise DS9 2x14 61.5% Paradise Lost DS9 4x12
One VOY 4x25 60.0% Drone VOY 5x02
Assignment: Earth TOS 2x26 58.8% The Assignment DS9 5x05
The Game TNG 5x06 57.1% Endgame VOY 7x25

Elo rating for unfair games

Oliver Brown
— This upcoming video may not be available to view yet.

In my previous post, I described an extension to Elo that could handle multiple players. The next restriction to overcome is that Elo assumed players of equal skill have an equal chance of winning.

In most games, players don’t actually have an equal chance of winning a single game. Chess overcomes this by having a match consist of several individual games with players switching who goes first. This is a good solution for two player games but gets awkward for multiplayer games. It is also inconvenient if having a multi-game match is undesirable for any reason.

Adjusted rating

Elo is fundamentally designed to handle players of different skill levels and produce a probability of them winning. The approach is therefore to determine an adjusted rating for someone such that the probability of winning is as desired.

The formula to work out an Elo expected score is:

E = 1 1 + 10 R 400

In our case we have an expected score (the win probability) and want to work out a rating difference, so we can just rearrange to get:

R = 400 × log 10 1 E - 1

We then subtract this adjustment from the player’s actual rating to get their effective rating to use in the rest of the Elo calculations.

The reason we subtract it is that for players A and B, the rating difference is calculated as RB - RA which is the opposite way round to what we want.

Here are the rating adjustments for some sample win probabilities:

Win probability Rating adjustment
0.01 -798
0.10 -382
0.25 -191
0.49 -7
0.50 0
0.51 +7
0.75 +191
0.90 +382
0.99 +798

If you try to calculate the adjustment for a win probability of 0 or 1, you get -∞ and +∞ respectively.

This means, for example, if you beat someone of an equal rating at a game you only have a 10% chance of winning, it’s the same as beating someone rated 382 points higher at a fair game.

Putting it all together

After explaining the theory of how to expand an Elo rating to support all the variations in Tic-tac-toe Collection, it’s time to put it into practice.

While writing this I’ve also been working on an implementation.

As well as adding it to Tic-tac-toe Collection, I’m planning on creating some kind of site and/or app just to work out Elo ratings for various results (and hopefully even to maintain ratings for players in any kind of competition you might want to run).