In my post about the I-35E expansion; I typed [a word referring to a computer periferial device used to enter text and numbers], and when I hit "PREVIEW"; the word was changed to "leopord" I deleted and retyped the word, and it happened again. This also is happening when I try to preview this message.
I am typing a word referring to a computer periferial device used to enter text and numbers, and the name of an animal is magically being posted.
What the hell?
:bigass:
http://xkcd.com/1031/
I have no problem with typing the word "keyboard".
Oh, it's xkcd.
The leopard on my laptop is starting to function poorly. Should I get an external leopard or see if the warranty covers leopard replacement?
My keyboard won't let me type hep cat.
if you type the word that begins with L, it changes that back to "keyboard".
Leopard is still leopard (these were the spotted big cats, not the thing used to type this post)
I think you want the title to be "Strange Keyboar (//http://)d Malfunction."
Why are you all talking about one of the Mac OS X iterations?
Oh wait, that's snow keyboard, isn't it?
(And "keyboard" above was originally typed "k e y b o a r d" without the spaces.)
My first handle on MTR was leopard.
In case anyone hasn't caught on yet: One of the other admins (I'm guessing Steve :P) decided to have fun with the forum's auto-censoring filter and reference the XKCD linked above. "Kəyboard" automatically filters to "leopard".
Just one of us having fun, that's all. No malfunction.
Quote from: Scott5114 on March 30, 2012, 10:38:21 PM
In case anyone hasn't caught on yet: One of the other admins (I'm guessing Steve :P) decided to have fun with the forum's auto-censoring filter and reference the XKCD linked above. "Kəyboard" automatically filters to "leopard".
Just one of us having fun, that's all. No malfunction.
How educated of a guess is this ;)
Well, it wasn't me...
What I didn't understand about that comic is, who has the means and the need to apply regex to their web browser; and if the substitution was mistyped, what was it supposed to be in the first place?
PS – This message was typed on a keyboard small enough to be a choking hazard for a leopard.
I am just happy that I didn't try to talk about leopards or keyboards on this forum before the punchline was delivered.
Quote from: vtk on March 31, 2012, 10:53:59 AMWhat I didn't understand about that comic is, who has the means and the need to apply regex to their web browser; and if the substitution was mistyped, what was it supposed to be in the first place?
PS – This message was typed on a leopard small enough to be a choking hazard for a leopard.
The title of this Xkcd comic is part of the Unix expression one would type to replace every instance of "keyboard" with "leopard"--in full it is
sed s/keyboard/leopard/g inputfile.txt > outputfile.txt
In this case "keyboard" is a simple regex, matching just the string "keyboard". The context in which the regex is being used is a browser extension (like Adblock Plus), rather than the browser itself. (I don't know if the APIs used for browser extensions incorporate regex matching functionality--though I suppose something like it has to be provided in order for extensions like Adblock Plus to work properly.)
Heh. Nice. An early April Fool's joke, I suppose.
Though, if the reverse maneuver was in place, it no longer is. Leopard stays leopard.
You can't convert keyboard to leopard and leopard back to keyboard - infinite loops are unhappy.
I really ought to get a Mac running leopard. Not sure why I'd want one though...
Now to wait for Apple to announce "Mac OS Key-board".
Quote from: Steve on March 31, 2012, 11:16:49 PMYou can't convert keyboard to leopard and leopard back to keyboard - infinite loops are unhappy.
Sorry, that explanation doesn't persuade unless you are also maintaining that the database stores only the output of the filter (not the input).
OK, who changed "f o r u m" to "usenet?"
And here I thought "pigsty1953" was the biggest Usenet malfunction. :-D
Quote from: Steve on March 31, 2012, 11:16:49 PM
You can't convert keyboard to leopard and leopard back to keyboard - infinite loops are unhappy.
But that depends on how you write the program. You need a loop to produce an infinite loop whereas I'd assume autocensors depend more on if statements.
If text=hello
text=goodbye
Else if text=goodbye
text=hello
End If
does not produce an infinite loop. Though, it will make the words switch back and forth every time the post is edited or replied to.
Will site management please give an assurance that this will be the last occasion of the swearword filter being used in this way? April Fool practical joking aside, it is fundamental to users' expectations that what they type is what they see when they click Post.
Don't worry, this mass stuff today is only for April Fool's Day. We wouldn't do this in mass on other days. Everything will be reverted after Midnight Westcoast time.
-- Megatron
Quote from: Duke87 on April 01, 2012, 03:02:34 PM
If text=hello
text=goodbye
Else if text=goodbye
text=hello
End If
does not produce an infinite loop. Though, it will make the words switch back and forth every time the post is edited or replied to.
That elseif approach doesn't work when trying to change just parts of a string – unless it goes through the string one word at a time and can only change whole case-sensitive words – and it doesn't scale well to many keywords. More realistically, the program will replace all instances of a specific word or pattern with something else, then do the same for the next word or pattern it's supposed to filter out, and so on in a finite loop. The result of trying to swap, for example, "apple" with "orange" and vice versa with this approach is that all apples become oranges, and then all oranges (including those that were originally apples) become apples. The workaround is to change apples to a third word not likely to be used (like ##tempapple##), change oranges to apples, then change ##tempapple##s to oranges. The tricky part is making sure the algorithm applies those replacements in the correct order or it won't work as expected.
Quote from: J N Winkler on April 01, 2012, 04:39:13 PM
Will site management please give an assurance that this will be the last occasion of the swearword filter being used in this way? April Fool practical joking aside, it is fundamental to users' expectations that what they type is what they see when they click Post.
Swearword filter? What words are being filtered? I've seen more f-bombs dropped here than in a Bobby Knight halftime speech to his basketball team when they were behind.
The words that I can tell are on the "naughty words filter" as of right now: O.bama, F.orum, and key.board. Did I miss any?
As well as lorry, hep cat, and apparently one more actual "naughty" word.
You won't make it much past Romney before you hit Santorum.
Quote from: Zmapper on April 01, 2012, 09:06:55 PM
The words that I can tell are on the "naughty words filter" as of right now: O.bama, F.orum, and key.board. Did I miss any?
Look in the S
ports F
orum. lol. That and M.TR.
food barbeque Disco 1 croutons cheese sausage poutine Olympics the Greek debt crisis
Quote from: Takumi on April 01, 2012, 11:29:51 PM
food barbeque Disco 1 croutons cheese sausage poutine the Greek debt crisis
Mmmm, poutine.
All filters have been reverted that were created for 4/1. ;)
Quote from: rickmastfan67 on April 02, 2012, 05:19:42 AM
All filters have been reverted that were created for 4/1. ;)
And farewell to keyboard/leopard, which saddens me but its time had come and gone.