Comment On Mainframe Humor and FirstName.length()ism

Steven Rockarts was working on an old mainframe system and couldn't seem to figure out how to purge an already running job. He fired up the help function and found himself bursting out in laughter after seeing the CD and CDA commands. Note that a certain level of immaturity may enhance your help-screen experience ... [expand full text]
« PrevPage 1 | Page 2Next »

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:18 • by christoofar
I used to see all sorts of doco WTFs on MVS's TSO facility
screens.  IBM Redbooks can sometimes be fun reads... all the
freaky terms IBMers use to describe some of the most mundane and simple
concepts.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:25 • by Charles Nadolski
35497 in reply to 35495
heh, at least windows-console doesn't have one-liners like the unix
command fsck.  I mean seriously, what were they thinking?



*sigh* I can also remember in the 7th grade when we would take math
textbooks and look for sexual innuendo.  The geometry section was
especially humorous.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:26 • by travisowens

The 5 letter rule would work IF you assume every short name is shorthand for a fell name... ex:


Joe = Joseph


Eve = Evelynn


Tim=Timothy


 


Of course this is just absurd, and totally ignores the fact that in some countries that their first name can be 2 or 3 letters!


This is a fine example of ignorant American coding at it's best!

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:33 • by Grimoire
Take a look at the validation code:



  if (theForm.firstname.value == "")
{
alert("Please enter a value for the \"First Name\" field.");
theForm.firstname.focus();
return (false);
}

if (theForm.firstname.value.length < 5)
{
alert("Please enter at least 5 characters in the \"First Name\" field.");
theForm.firstname.focus();
return (false);
}

if (theForm.firstname.value.length > 40)
{
alert("Please enter at most 40 characters in the \"First Name\" field.");
theForm.firstname.focus();
return (false);
}

Hopefully, you don't happen to have a really long name either, although
40 characters for a first name sounds reasonable.  But what gets
me, is that they check for no entry AND a small entry.  It isn't
like they didn't know how to check for a non-entry, they intentionally
won't let you enter a short name.  None of the other fields have
this check either, including the phone number.  It will allow you
to enter 0, or 911 as your number, no problem.  Nice!

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:33 • by Adonoman
35500 in reply to 35498

Even a good 'American' name like Adam is too short, and I can't think of a long version of that.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:37 • by Grimoire
35502 in reply to 35498
travisowens:
The 5 letter rule would work IF you assume every short name is shorthand for a fell name...


You mean like "Mark", or "Sven", or "Karl"?


PS: I think you mean a full name, and not a fell name.  "Hi, my name is Beelzebub, what's yours?  :)


Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:38 • by Anonymous
35503 in reply to 35499
My name is Luc and I have a problem ;-)

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:41 • by christoofar
35504 in reply to 35498
Ok... the 5 letter rule wouldn't work for:



Max  (not always 'Maximillian')

Amy (uhm... ?)

Jack

Hank

Paul



you get my drift



Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:45 • by rogthefrog
35505 in reply to 35498
travisowens:

The 5 letter rule would work IF you assume every short name is shorthand for a fell name... ex:


Joe = Joseph


Eve = Evelynn


Tim=Timothy


 


Of course this is just absurd, and totally ignores the fact that in some countries that their first name can be 2 or 3 letters!


This is a fine example of ignorant American coding at it's best!



Wrong.


Alan, Paul, John, Mark, Slim, Jack, etc.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:46 • by ThinkingInBinary
35506 in reply to 35499
Grimoire:
But what gets
me, is that they check for no entry AND a small entry.




They do this so they can show a different error message depending on
whether you forgot the field or tried to fill in just a first initial.



I think they check the length so you are forced to enter a name, not an
initial.  (It begs the question, though, of why not check for a
name 2 or more characters?)

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:49 • by JThelen
35507 in reply to 35504
Ultimately, I think we can all agree that not only is the fact that
people with short names, or those who use shortened versions of their
names are pretty much screwed by the name entry thing. 



As has been pointed out, the form validation code for that field is a
SEVERE wtf, seeing as it not only checks for the short name, as seen,
but it also checks for no name entry.  So.. this all leads to the
really fun part:  Figure out who was dumb enough to put a minimum
length on the first name field.   My bet is on some goober
that assumed since he had a long name, everyone else does too, or that
all short names are somehow derived from a longer name, when there's
plenty of them that are just short.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:51 • by Rank Amateur
35508 in reply to 35505
rogthefrog:
travisowens:

The 5 letter rule would work IF you assume every short name is shorthand for a fell name... ex:


Joe = Joseph


Eve = Evelynn


Tim=Timothy


 


Of course this is just absurd, and totally ignores the fact that in some countries that their first name can be 2 or 3 letters!


This is a fine example of ignorant American coding at it's best!



Wrong.


Alan, Paul, John, Mark, Slim, Jack, etc.



Ruth, Dirk, Hal, June, May.... Oh, and there's no American named Mary.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:53 • by romeogresta
if (theForm.firstname.value == "")
{
alert("Please enter a value for the \"First Name\" field.");
theForm.firstname.focus();
return (false);
}

Just too stupid. Just put 5 spaces (" ") and it's ok. You can use the spaces at the end of your name if it's short.

Better (and elegant) validation code:

if (theForm.firstname.value.search(/\S+/) == -1)
{
alert("Please enter a value for the \"First Name\" field.");
theForm.firstname.focus();
return (false);
}

Big WTF at all.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 14:56 • by rogthefrog
35510 in reply to 35509
romeogresta:
if (theForm.firstname.value == "")
{
alert("Please enter a value for the \"First Name\" field.");
theForm.firstname.focus();
return (false);
}

Just too stupid. Just put 5 spaces (" ") and it's ok. You can use the spaces at the end of your name if it's short.

Better (and elegant) validation code:

if (theForm.firstname.value.search(/\S+/) == -1)
{
alert("Please enter a value for the \"First Name\" field.");
theForm.firstname.focus();
return (false);
}

Big WTF at all.


You forgot


if (theForm.firstname.value == "alex")


{


  alert("What a pretty name!");


  return true;


}

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 15:03 • by JThelen
35511 in reply to 35499
Grimoire:
Hopefully, you don't happen to have a really long name either, although
40 characters for a first name sounds reasonable.  But what gets
me, is that they check for no entry AND a small entry.  It isn't
like they didn't know how to check for a non-entry, they intentionally
won't let you enter a short name.  None of the other fields have
this check either, including the phone number.  It will allow you
to enter 0, or 911 as your number, no problem.  Nice!




Also, in addition to the lack of a emergency number check for the phone
number field, it will allow you to enter in pretty much any type of
character, and up to 40 of them at that!



 if (theForm.PHONE_1.value == "")
{
alert("Please enter a value for the \"PHONE_1\" field.");
theForm.PHONE_1.focus();
return (false);
}

if (theForm.PHONE_1.value.length > 40)
{
alert("Please enter at most 40 characters in the \"PHONE_1\" field.");
theForm.PHONE_1.focus();
return (false);
}



On top of that, it only does character validation for the first name.. so Alexander 1234567890 with a

Phone # of ABCDEF appears to be perfectly valid.



Re: Mainframe Humor and FirstName.length()ism

2005-06-03 15:21 • by Rex Ruther
Also notice that valid characters for the first name include tab, new line, carraige return, and form feed.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 15:41 • by Otac0n
35518 in reply to 35516

Anonymous:
Also notice that valid characters for the first name include tab, new line, carraige return, and form feed.


Thats because some of us have names like "John\n\tAdam\n\tGietzen" (me)

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 15:42 • by loneprogrammer
35519 in reply to 35495
Heh heh, he said dump.



Re: Mainframe Humor and FirstName.length()ism

2005-06-03 16:07 • by Brian
35521 in reply to 35519
Not to mention that fields not marked required are actually required, Job Title, and Company.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 16:08 • by UncleMidriff
35522 in reply to 35519

As a person with a short first name (Adam), I am greatly offended by the today's second WTF. ;)


What I wanna know is how in the fuck they came up with the number 5!  I mean, "John Smith," ubiquity's own name, has a first name with less than 5 characters for crying out loud!  Son of a bitch!

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 17:07 • by AJR
35525 in reply to 35498
travisowens:

This is a fine example of ignorant American coding at it's best!





Nah, that would require things like requiring phone numbers, zip codes,
etc. to match the US format while apparently allowing international
contacts.





Another WTF in it is the error messages: what does a message like
"Please select one of the "D2" options." mean to a user? (The
"D2" options are not question 2 on the form...)

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 17:21 • by memprime
What's great is that you can send an empty form by filling it in with spaces.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 17:21 • by OneFactor
35527 in reply to 35508

How about we sell a product to enlarge someone's first name...


Alex = Alexander
Greg = Gregory
Alan = Allen
Paul = Paulus
Mark = Marek (Slovakian translation of Mark)
Slim = Salim
Jack = Jacko
Ruth = Ruthie
Dirk = Derek
Hal = Halle
June = Juniper
John = Johann
May = May Lee
Mary = Maria
Anne = Annie


Or maybe they can do like in Catholic countries...


Mary Jane, Mary Lou, Mary Beth, Mary Anne, Jean Paul, Jean Marc, Jean Luc...


Selling enlargement products should prove popular on the internet... [:P]

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 17:36 • by tag
35529 in reply to 35497
Charles Nadolski:
heh, at least windows-console doesn't have one-liners like the unix
command fsck.  I mean seriously, what were they thinking?




fsck is just an abbreviation of filesystem check.  I don't get what you're saying.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 17:41 • by mizhi
35530 in reply to 35498
travisowens:

This is a fine example of ignorant American coding at it's best!





I would just say ignorant coding.  Remember, idiots can, and do,
exist elsewhere on this planet.  And I'll bet some of them have
been given a loaded compiler to inflict on us.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 17:45 • by Esther
35531 in reply to 35495
christoofar:
I used to see all sorts of doco WTFs on MVS's TSO facility
screens.  IBM Redbooks can sometimes be fun reads... all the
freaky terms IBMers use to describe some of the most mundane and simple
concepts.




I can attest to the unusual terms in IBM and Lotus redbooks, but the
strangest corporate lingo by far is EDS. My former boss used to work
for them, and he says they were required to call presentations
"presentos", documents "docos", etc. I guess they thought adding an o
at the end of a word would make it fun and cool to use...

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 17:46 • by rogthefrog
35532 in reply to 35529

tag:
Charles Nadolski:
heh, at least windows-console doesn't have one-liners like the unix command fsck.  I mean seriously, what were they thinking?


fsck is just an abbreviation of filesystem check.  I don't get what you're saying.


I have written a program that tests whether a file can be restored after having been deleted. It's called file undelete check. How should I abbreviate the command-line version?

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 17:47 • by rogthefrog
35533 in reply to 35531

Anonymous:
christoofar:
I used to see all sorts of doco WTFs on MVS's TSO facility screens.  IBM Redbooks can sometimes be fun reads... all the freaky terms IBMers use to describe some of the most mundane and simple concepts.


I can attest to the unusual terms in IBM and Lotus redbooks, but the strangest corporate lingo by far is EDS. My former boss used to work for them, and he says they were required to call presentations "presentos", documents "docos", etc. I guess they thought adding an o at the end of a word would make it fun and cool to use...


They're either psychos or sickos.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 18:00 • by Anonymous
The 2nd WTF became so much worse when I went to Aivea and discovered
that they are a software development company.  They do web
services if you're interested after seeing that form. 



From the about Aivea page:



"Aivea Corporation is
a Portland, Oregon based software company offering E-Business
Software Solutions and Software Consulting Services to U.S.
clients and select international clients. 
Aivea maintains offices
in Oregon, Australia and India. Services include software
development of E-Business Solutions,
Document and Content Management systems, Web Services,
E-Commerce, Business Intelligence solutions and Real-time
Embedded Systems
for small to mid-sized companies."

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 18:22 • by your name
35536 in reply to 35526
memprime:
What's great is that you can send an empty form by filling it in with spaces.


Or even better, you can send whatever you want by turning javascript off - there's no server side validation.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 18:57 • by Razzie
35539 in reply to 35536
Ok its late and I'm kinda drunk, but I don't get the first one :)

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 19:00 • by johnus
35540 in reply to 35536

the coolest part about this WTF?


the screenshot is of "RUMBA".  I used to work at Wall Data on that application (before they were mis-managed, bought by NetManage, disassembled piece by piece, etc, etc)


note that the WTF isn't IN rumba though.. rumba is just a mainframe (and other) terminal emulator...  not that RUMBA didn't have its WTF's, though.

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 19:01 • by Maurits
35542 in reply to 35536
Anonymous:
memprime:
What's great is that you can send an empty form by filling it in with spaces.


Or even better, you can send whatever you want by turning javascript off - there's no server side validation.




Or consider this favelet (doesn't require disabling BLOCKED SCRIPT)
BLOCKED SCRIPT
var forms = document.getElementsByTagName("form"); for (var i = 0; i
< forms.length; i++) { forms[i].onsubmit = "return true;"; } void(0);

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 19:03 • by Maurits
35543 in reply to 35542
Heh... s/BLOCKED SCRIPT/j a v a s c r i p t/;

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 19:12 • by Rank Amateur

You know, @&^$% these required fields! Why the *$^!(% should I be *required* to given my $%^#! first name anyway? And if I want to enter my name as “&*^%^#”


or “!”


or “ ”


or “!#AeSrdtD[@j2F/i$Gy1H~u%Jri5tQ8oK^L&Wp*LV9XM)Cp0(+Bo_lN\-j+ZhQ`g{7\X|d}Ps4”]O’a:IzU;>x=Y?cTv/bR<3n,E”


or ALT-228,


then they should #+?&$~% let me! Who’s the %&$#{> is the customer here anyway? !&{#>% their database of contacts! If they don’t know how to address me as a result, then it’s my own &*$%# fault!


And you guys talking about fscking –watch your *#@/+ mouth!


--RA

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 19:23 • by Schol-R-LEA
35545 in reply to 35495
And let's not even bring up the assumption that the first name is the
personal name, and the last name the surname. It is probably too much
to hope for that they did a better job in Japan, China, Israel, Saudi
Arabia, etc. than they did in their native land...

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 19:27 • by Schol-R-LEA
35546 in reply to 35545
Potty humor never gets old, does it?

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 19:49 • by Bustaz Kool
35547 in reply to 35529

tag:
fsck is just an abbreviation of filesystem check.  I don't get what you're saying.


Are you a Turtle?

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 19:50 • by David W
35548 in reply to 35546

Two comments ...


One is that the validation routine doesn't even trim the input to remove padding - so it will allow "alex " as a valid input. Bad, bad code !!


Secondly, speaking of dumps, I remember back in my old VAX days how it was possible to abbreviate every command to four letters (e.g. delete could be dele, create could be crea and so on). Of course, this meant the analyze command was abbreviated to anal and I always felt a bit uncomfortable when someone would come by and look at my VT terminal as I was typing a bunch of anal commands ...

Re: Mainframe Humor and FirstName.length()ism

2005-06-03 20:03 • by Bo
35549 in reply to 35498
travisowens:

This is a fine example of ignorant American coding at it's best!



 


You can diss the coder, but don't assume the coder is American.  How do you know it wasn't outsourced to India?  "Bo" is an American name.

Re: Mainframe Humor and FirstName.length()ism

2005-06-04 00:11 • by Schol-R-LEA
35554 in reply to 35547
Are you a Turtle?




Yuo bet your sweet a... oh, nevermind, I'm not supposed to have beer these days anyway.

I don't get the mainframe joke

2005-06-04 00:46 • by diGriz
Is it, because I worked for seven years with such a thingie, or is it,
because you need a certain American background to understand it?



The descriptions of CD and CDA sound okay. Would someone please explain the WTF?

Re: Mainframe Humor and FirstName.length()ism

2005-06-04 06:26 • by joost
35559 in reply to 35529
tag:
Charles Nadolski:
heh, at least windows-console doesn't have one-liners like the unix
command fsck.  I mean seriously, what were they thinking?




fsck is just an abbreviation of filesystem check.  I don't get what you're saying.




why the fsck not?

Re: Mainframe Humor and FirstName.length()ism

2005-06-04 06:56 • by Chris Brien
35560 in reply to 35532
rogthefrog:

tag:
Charles Nadolski:
heh, at least windows-console doesn't have one-liners like the unix command fsck.  I mean seriously, what were they thinking?


fsck is just an abbreviation of filesystem check.  I don't get what you're saying.


I have written a program that tests whether a file can be restored after having been deleted. It's called file undelete check. How should I abbreviate the command-line version?



Sounds about right. Add to that a program called "Program to Help if you Ever Wipe something you didnt mean to".
# rm reallyimportantfile.txt
removed 'reallyimportantfile.txt'
# fuck
'reallyimportantfile.txt' can be recovered
# phew
'reallyimportantfile.txt' recovered.

Re: I don't get the mainframe joke

2005-06-04 07:23 • by AJR
35561 in reply to 35555
diGriz:
Is it, because I worked for seven years with such a thingie, or is it,
because you need a certain American background to understand it?



The descriptions of CD and CDA sound okay. Would someone please explain the WTF?


The phrase "take a dump" is english slang meaning "to do a shit". 
It's not so much a WTF, as a "giggle at the poor choice of words" :-)

Re: Mainframe Humor and FirstName.length()ism

2005-06-04 11:35 • by Forgotten Nitpicker
35562 in reply to 35504
christoofar:
Ok... the 5 letter rule wouldn't work for:



...


Jack
...



you get my drift




Aha!  Gotcha!  "Jack" is sometimes short for "John", so all they have to do is use... ah... nevermind

Re: Mainframe Humor and FirstName.length()ism

2005-06-04 14:29 • by rsynnott
35565 in reply to 35495
I seem to remember hearing that the Acorn ARM had an assembler directive "SEX", which was cut out early on in its development.

Re: Mainframe Humor and FirstName.length()ism

2005-06-04 17:57 • by Zatanix
35567 in reply to 35565
rsynnott:
I seem to remember hearing that the Acorn ARM
had an assembler directive "SEX", which was cut out early on in its
development.




Why do they allways remove the good stuff? :(



Luckily a google-search showed me that not all designers has been
possessed by christians. (or even worse : marketing people)

The SEX mnemonic has been used to mean for example:



Sign EXtend

SEt X register



and there is a processor with ORL and ANL instructions (logical or/and) :).

(If i had one of those i'ld just stay up all night every night writing sexy code. Coderz pr0n at it's best!)



 

Re: Mainframe Humor and FirstName.length()ism

2005-06-04 22:20 • by bat
Looks like they've been shamed into
taking the validation code out.  Now, you can even send an empty
message and the code will let it pass.  Talk about throwing the
baby out with the nappy!




Other stupidities on this remarkably stupid site:




  • The entire page uses tables for layout, in a design that would
    work perfectly well with CSS, and weigh in at about a third of the
    size.  Given the slashdotting they must be getting now from Daily
    WTF, I bet they're sorry they're stuck in 1994!

  • The hard-coded list of countries is never a good idea.  An
    easy test: where's Myanmar?  Yes, I know it's trendy to still call
    it Burma, but the Myanmar government, corrupt and evil or not, is
    entitled to at least have an option.

  • There are also a bunch of weird extra options.  Western
    Sahara?  Is that a country or a region?  Christmas Islands
    [sic] is actually part of Australia; I'm not sure what most of the
    people there would prefer, so maybe it's better to have it as an
    option, but it seems a little inconsistent.

  • The available list of states covers (a) the USA and (b)
    Canada.  A bit disappointing if you're from Australia or South
    Africa, or any other country with states and/or provinces.  And
    no, "None" is not a synonym for "New South Wales", sorry.

  • What's a Zip?  It's a fastening device or a file format.  If you mean "Postal
    Code", say so.  If you need to cater for people who've only ever
    heard the widespread american term, say "Postal Code/ZIP", and note the
    capitalisation as used by the USPS.

  • Someone else mentioned that the relationship between the
    "Required Fields" markers and reality is tenuous at best.  I can't
    check that now, of course.

  • And finally: "How did you hear about us?" needs an extra option:
    "Widely and fairly ridiculed on DailyWTF.com".  How could they
    miss that out?


Losers.

Re: Mainframe Humor and FirstName.length()ism

2005-06-04 22:30 • by DWalker
35570 in reply to 35506
I had a classmate whose first name was U.   Just the letter U.  He wasn't American, not that that matters.
« PrevPage 1 | Page 2Next »

Add Comment