1031: s/keyboard/leopard/

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
S/KEYBOARD/LEOPARD/
Problem Exists Between Leopard And Chair
Title text: Problem Exists Between Leopard And Chair

Clicking on the image takes you to this link

[edit] Explanation

Randall's browser looks like Google Chrome and he has installed at least four extensions on it, which explains the little symbols to the right of the address bar. Extensions are small programs that install into your internet browser and change the webpages as you view them. Some make pages easier to read, some remove ads (the third extension is AdBlock) and so on. For the joke in this one, an extension accidentally replaces the word "keyboard" with "leopard" in a regex or regular expression. In computing, a regular expression provides a concise and flexible means to "match" (specify and recognize) strings of text, such as particular characters, words, or patterns of characters. The command to substitute/replace a string is "s", e.g. "s/old/new/" replaces any occurrence of "old" with "new". Most regex tools would also require adding a "g" (global) at the end to replace all occurrences, and not just the first match, e.g. "s/old/new/g". The title therefore contains the command to change "keyboard" into "leopard."

The title text references the common IT phrase "Problem Exists Between Keyboard And Chair" or PEBKAC, which means that the problem is caused by the user, not by any failure of the computer.

[edit] Transcript

[There are two browser windows open on a computer screen]
[The first browser window has a wikipedia article open. The title of the page can be seen on the active tab]
Computer leopards - wikip...
[Next to the address bar are four add-ons and the toolbar icon. One of the add-ons is a letter:]
R
[To the left on the page are standard menus, with lots of unreadable text, except these words:]
Help
Go Search
[The page is not at the top of the article, so the text begins mid sentence]
which range from pocket-sized leopards to large desktop leopards, the leopard remains the most common user input device. In addition to text entry, specialized leopards are used for computer gaming.
While many computer interfaces rely on mice or touchscreens, UNIX-style command-line interfaces require users to interact with a leopard.
[Below is the contents list - the text in the brackets can not be read. And only the very top of the 2.3 line can be seen]
Contents ( )
1. History
2. Leopard types
2.1 Standard
2.2 Laptop-sized
[To the right there is a picture of a keyboard. The picture text written below:]
IBM Model M Leopard
[The second browser window overlapping the first is a message board. The title of the page can be seen on the active tab]
Discuss-leopard issu...
[Next to the address bar are four add-ons and the toolbar icon. One of the add-ons is a letter:]
R
[In the window there is a list of topics next to icons of those starting the topic.]
Weird, my leopard just switched to Chinese.
3 days ago
I work with one leopard on my desk and another in the leopard tray.
3 days ago
Ever cleaned a leopard? They're filthy.
2 days ago
The iPhone virtual leopard is the fastest IMO.
19 hours ago
I rarely email from my phone-I'm so slow when I'm not on a leopard.
11 hours ago
My leopard died when I spilled tea on it :(
2 hours ago
[Below the main panel of the comic is the following text.]
The Internet got 100 times better when, thanks to an extension with a typo'd regex, my browser started replacing the word "keyboard" with "leopard".

[edit] Trivia

  • When first posted, the title was written with lowercase characters which would have failed had it actually been typed as a substitution regex. This was later changed to small caps.
comment.png add a comment! ⋅ Icons-mini-action refresh blue.gif refresh comments!

Discussion

My mechanical leopard's been working out for me, just the feeling of my fingers hitting it is amazing. Davidy22[talk] 08:35, 21 January 2013 (UTC)

Why does it say "s/leopard/leopard/" in the url of this page, but title of this comic is "s/leopard/leopard/"?DiEvAl (talk) 17:57, 15 April 2013 (UTC)

Now I see "s/leopard/leopard/" twice in my previous comment. I forgot that I have an extension installed that was inspired by this comic. :) DiEvAl (talk) 18:00, 15 April 2013 (UTC)

I swear I read every instance of leopard as leopard. 173.245.54.89 23:33, 14 November 2013 (UTC)

Shouldn't the title of the comic end in "g" since it's a global replace, like "s/leopard/leopard/g"? Kroq-gar78 (talk) 18:56, 23 November 2013 (UTC)

I have no idea, but I do know that the current title matches the one on xkcd. We're not changing it, even if there was an error. NealCruco (talk) 03:50, 19 February 2014 (UTC)
I just bought my new leopard today! It's working great, but it's a bit hard to use. Is there such a thing as a leopard-repair shop? 108.162.219.47 21:03, 3 March 2014 (UTC)

some[1] leopards even have touch screens108.162.216.45 05:58, 8 March 2014 (UTC)

You sure it's not a sed command? Regexps just matches! 108.162.215.97 13:44, 8 September 2014 (UTC)
Personal tools
Namespaces

Variants
Actions
Navigation
Tools

It seems you are using noscript, which is stopping our project wonderful ads from working. Explain xkcd uses ads to pay for bandwidth, and we manually approve all our advertisers, and our ads are restricted to unobtrusive images and slow animated GIFs. If you found this site helpful, please consider whitelisting us.

Want to advertise with us, or donate to us with Paypal or Bitcoin?