The High-Security Interview, The PHP Candidate, and Overqualified

« Return to Article
  • trtrwtf 2011-10-18 11:23
    TRWTF: "Before bringing people in for an interview, we give them a simple questionnaire about PHP"

    What, if they know anything about PHP, they fail?
  • Ralph 2011-10-18 11:23
    I was FIRST in my class.
  • Johnny B Coder 2011-10-18 11:24
    FRIST!

    I had a job interview like the the last one once. An hour of psych questions, and a 5 min interview with the technical lead. Didnt get the SQL DBA job supposedly because I wasnt technically qualified. Wierd since I had been teaching the Microsoft SQL Server admin classes for several years.

    Always wondered what my psych scores were....
  • The MAZZTer 2011-10-18 11:35
    I can think of a specific case where that crazy PHP "fix" would actually work:

    If you have whitespace at the end of a PHP file and you include it as a header, the whitespace will be sent as content, thus preventing you from sending more headers in your main PHP file after including the file. Removing the whitespace from the end of the file would fix it (IIRC).

    In any case it's clear the interviewee doesn't quite understand what's going on. He figured out how to fix it in a specific case, possibly by accident, but he clearly doesn't know what it means or why it happens.
  • Mo 2011-10-18 11:43
    Any interview where you don't get to blow someone is a waste of time.
  • BobB 2011-10-18 11:45
    For my current job, I didn't need a psych test, yay? However, I remember in between jobs I interviewed at a local gas station chain to be a clerk (sales associate/pump overlord/whatever). Everyone was required to take a 60 min fill in the circles test where they basically asked the same 10 questions about, "You wouldn't steal from us, right?" worded many different ways in many different scenarios. The last few were 'fill in here what you would do in X scenario above', stuff like, "A worker has stolen paperclips from the office area! They don't like they are returning them, when you confront them about it, how will you go about convincing them to return the company's paperclips!?"

    Just once I want to take one of these stupid things and respond with something like, "First I would try to convince my fellow employee that stealing is wrong, even if it is 2 pennies worth of paperclips that have been mangled beyond any functional use, and that he should return them to their proper places immediately. If my fellow coworker does not agree with me and argues that the equipment is indeed his as no one else will get functional use of them, I would call upon the powers of the Norse and materialize my trusty claymore into my hands so that I can slay the enemy of my company, who was thoughtful enough to provide me with this minimum wage job! Afterwards, I will move decap'd employee to cold storage so that I can take him out with the trash later. Wouldn't want to miss tending to any customers because I had to return company paperclips, right?"
  • 'Murruhkan 2011-10-18 11:49
    TRWTF is PHP, amirite? /s
  • Daverino 2011-10-18 11:51
    I want more explanation on the first one, since I am not familiar with PHP. The text is written like it came from someone with experience writing instructions for the lowest common denominator. I've written somewhat similar bits of instruction, because it can be a lot easier to give an action (Hold the delete key) than to explain a concept (there must not be any white space at the end of the file).
  • D: BANANA 2011-10-18 11:52
    The MAZZTer:
    I can think of a specific case where that crazy PHP "fix" would actually work:

    If you have whitespace at the end of a PHP file and you include it as a header, the whitespace will be sent as content, thus preventing you from sending more headers in your main PHP file after including the file. Removing the whitespace from the end of the file would fix it (IIRC).

    In any case it's clear the interviewee doesn't quite understand what's going on. He figured out how to fix it in a specific case, possibly by accident, but he clearly doesn't know what it means or why it happens.
    Still, you could just select to the end instead of holding delete. Heck, as long as I push space for more than 15 seconds, that won't work at all!
  • My Name Is Missing 2011-10-18 11:53
    Sometimes I think it is worthwhile to take a interview just for the laughs.
  • trtrwtf 2011-10-18 11:55
    BobB:
    For my current job, I didn't need a psych test, yay? However, I remember in between jobs I interviewed at a local gas station chain to be a clerk (sales associate/pump overlord/whatever). Everyone was required to take a 60 min fill in the circles test where they basically asked the same 10 questions about, "You wouldn't steal from us, right?" worded many different ways in many different scenarios. The last few were 'fill in here what you would do in X scenario above', stuff like, "A worker has stolen paperclips from the office area! They don't like they are returning them, when you confront them about it, how will you go about convincing them to return the company's paperclips!?"

    Just once I want to take one of these stupid things and respond with something like, "First I would try to convince my fellow employee that stealing is wrong, even if it is 2 pennies worth of paperclips that have been mangled beyond any functional use, and that he should return them to their proper places immediately. If my fellow coworker does not agree with me and argues that the equipment is indeed his as no one else will get functional use of them, I would call upon the powers of the Norse and materialize my trusty claymore into my hands so that I can slay the enemy of my company, who was thoughtful enough to provide me with this minimum wage job! Afterwards, I will move decap'd employee to cold storage so that I can take him out with the trash later. Wouldn't want to miss tending to any customers because I had to return company paperclips, right?"


    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?
  • notromda 2011-10-18 11:57
    I had a lot to say in this comment, but following the instructions about the end of files has caused this post to cut
  • BobB 2011-10-18 11:59
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    Not to get sidetracked either, but seeing as how this was a fictional response to a fictional situation, I didn't feel it warranted research into the armaments of that particular group of people. I apologize if you are indeed Norse and I have offended you and/or your people. But please, by all means, continue being anal, it appears you're having fun. :)
  • notromda 2011-10-18 12:00
    notromda:
    I had a lot to say in this comment, but following the instructions about the end of files has caused this post to cut
    BTW, the delete key on a mac is what most people call backspace...
  • SeySayux 2011-10-18 12:04
    Daverino:
    I want more explanation on the first one, since I am not familiar with PHP. The text is written like it came from someone with experience writing instructions for the lowest common denominator. I've written somewhat similar bits of instruction, because it can be a lot easier to give an action (Hold the delete key) than to explain a concept (there must not be any white space at the end of the file).

    1. Open the file
    2. Press GG/?>(Enter)NlvGGda>(Esc):wq
  • Machtyn 2011-10-18 12:10
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    I'm not sure about anything you wrote, but I am sure that you're a nerd!
    -says the geek
  • some guy 2011-10-18 12:11
    Daverino:
    I want more explanation on the first one, since I am not familiar with PHP. The text is written like it came from someone with experience writing instructions for the lowest common denominator. I've written somewhat similar bits of instruction, because it can be a lot easier to give an action (Hold the delete key) than to explain a concept (there must not be any white space at the end of the file).


    My guess is that he did indeed google the answer, and more or less just copy/pasted said answer.
  • Martijn 2011-10-18 12:20
    I suspect Dave stepped through a time portal. dBase, the low pay, floppies, and smoking in the office. I think he ended up somewhere around 1990.
  • trtrwtf 2011-10-18 12:20
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    I apologize if you are indeed Norse and I have offended you and/or your people.


    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?
  • C-Octothorpe 2011-10-18 12:21
    I once had an interview like the second one. After the rediculous math questions (this guy had a math fetish), his tirade of how Entity Framework and linq to sql really just output sql text and nothing else, and that his entirely string-based "data access" layer used, *GASP*, string interning, I was ready to walk away... I remember asking him (quite sarcastically) if he'd ever heard of sql injection vulnerabilities. Apparently because of my security background, he wanted to hire me.

    The guy was a total jerkoff (very condescending, etc.), and I think he sensed that I didn't want the job because he kept me there for ~4 hours talking about how profitable the company was, blah blah blah.

    The funny thing was that, other than math/algo questions, he didn't even TOUCH .Net, which was funny considering it was for a senior .net role.
  • yetihehe 2011-10-18 12:23
    some guy:
    Daverino:
    I want more explanation on the first one, since I am not familiar with PHP. The text is written like it came from someone with experience writing instructions for the lowest common denominator. I've written somewhat similar bits of instruction, because it can be a lot easier to give an action (Hold the delete key) than to explain a concept (there must not be any white space at the end of the file).


    My guess is that he did indeed google the answer, and more or less just copy/pasted said answer.


    My guess is that this weeds out those without clue about php. If someone knows anything, he will just say that those instructions are wrong or will do it the right way.
  • C-Octothorpe 2011-10-18 12:25
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    Not to get sidetracked either, but seeing as how this was a fictional response to a fictional situation, I didn't feel it warranted research into the armaments of that particular group of people. I apologize if you are indeed Norse and I have offended you and/or your people. But please, by all means, continue being anal, it appears you're having fun. :)
    You must be new here.

    Pedantry is a favourite passtime of many trolls and visitors here.
  • Eric 2011-10-18 12:28
    SeySayux:

    1. Open the file
    2. Press GG/?>(Enter)NlvGGda>(Esc):wq


    For all I know, this could be lauching the missiles if typed in Emacs, so be careful what advice you dispense...
  • BobB 2011-10-18 12:29
    trtrwtf:

    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?


    I'm in Oklahoma, US. I got a whole raiding party full of Apache braves. Bring it!
  • neminem 2011-10-18 12:29
    C-Octothorpe:
    Pedantry is a favourite passtime of many trolls and visitors here.

    Pastime. (You did that on purpose, I'm assuming, to prove your point?)
  • Martijn 2011-10-18 12:35
    trtrwtf:
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    I apologize if you are indeed Norse and I have offended you and/or your people.


    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?

    Oh no! Not sysadmins!
  • C-Octothorpe 2011-10-18 12:35
    neminem:
    C-Octothorpe:
    Pedantry is a favourite passtime of many trolls and visitors here.

    Pastime. (You did that on purpose, I'm assuming, to prove your point?)
    Tell me, when you saw that mispelling, did your eye twitch a little?
    Dance puppets! DANCE!!! HAHAHA
  • RichP 2011-10-18 12:40
    /**** Updated instructions to fix bug found by MAZZTER ****/

    s/For at least 15 seconds/For at least 30 seconds/

  • Zuy Incognito 2011-10-18 12:45
    C-Octothorpe:
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?
    Not to get sidetracked either, but seeing as how this was a fictional response to a fictional situation, I didn't feel it warranted research into the armaments of that particular group of people. I apologize if you are indeed Norse and I have offended you and/or your people. But please, by all means, continue being anal, it appears you're having fun. :)
    You must be new here.

    Pederasty is a favourite passtime of many trolls and visitors here.
    That's why I hooked up! With your baby boy!
  • trtrwtf 2011-10-18 12:46
    BobB:
    trtrwtf:

    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?


    I'm in Oklahoma, US. I got a whole raiding party full of Apache braves. Bring it!


    Okay, damn, I'm going to have to look into shipping options for the longboats. I'll get back to you on the extracting vengeance in blood bit. Are you busy, um, first week of November?
  • amischiefr 2011-10-18 12:50
    Dear Tony,

    I'm still waiting for a call back as to whether or not I got the job.

    Sincerely,
    PHP Guru
  • Dereleased-work 2011-10-18 12:57
    Quick overview of the first one for the PHP clueless (You lucky bastards you):

    As you probably know, an HTTP Message looks like:
    Headers: And Values\r\n
    More-Headers: Are Awesome\r\n
    \r\n
    Body
    Obviously, then, once you start sending the body to the client, the time to send headers has come and gone, so if you try to send any headers, PHP generates an error and appends it to the body letting you know all about how you totally cannot send anymore headers.

    Actual information if you're still curious:

    Things that may dump headers:
    1) session_start()
    2) setcookie()
    3) header()
    4) a function or functions I don't know the name of

    Reasons why we might already have sent headers and be in the body of the message:
    1) PHP raised an error, which was flushed immediately, before a header-generating function was called
    2) Somewhere in the file (or include chain), some output was present and therefore sent to the buffer (could be an error, whitespace in a file, actual expected output happening at unexpected times because you don't understand your include chain, etc)
    3) I bet there's at least one more way

    Ways to keep this from going all splody:
    0) Any time you want to dump headers, use headers_sent() to check if you can still send headers. If not, just set yourself on fire.
    1) Use Output Buffering (write all output to a buffer and only flush when done or at a defined point); this can be invoked at run time or defined as auto-on
    2) Just remove the final closing PHP tag in a file; it's valid, and it saves you whitespace woes
    3) MAKE SURE YOUR UTF-* FILES DO NOT HAVE BYTE ORDER MARKS. This will drive you insane if you're unaware of what a BOM is, because most text editors simply won't render it, but stupid PHP will treat it as 2 bytes of whitespace and start flushing your output immediately.
    4) Other things I'm probably forgetting

    So, the answer the person gave basically covers the single situation of having whitespace after the final closing tag in a PHP file, which would itself only matter if it were part of the include chain and not a single file running alone. In reality, of course, while this can be an issue, you are much more likely to be encountering something even dumber, like an error being raised before your call to session_start().
  • Zuy Incognito 2011-10-18 12:57
    Mo:
    Any interview where you don't get to blow someone is a waste of time.
    Even then, it's a waste of a potential income if you don't get it on tape.

    Do you know what people would pay to see nerds get blown? It's something you're never gonna see anywhere else. Supply/Demand and all that jizz.
  • Coyne 2011-10-18 13:02
    Yes, there are a lot of things you wouldn't want to mention in that guy's presence.

    Furbies, for example: We all know what a bunch of little spies they are!

  • Pete 2011-10-18 13:34
    Looks like vi to me...
  • Abso 2011-10-18 13:40
    Pete:
    Looks like vi to me...

    Six what?
  • frits 2011-10-18 13:45
    BobB:
    trtrwtf:

    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?


    I'm in Oklahoma, US. I got a whole raiding party full of Apache braves. Bring it!

    Former Marine infantryman here. You guys may want consider going home before you find out the modern definition of claymore.
  • dohpaz42 2011-10-18 13:51
    Dereleased-work:
    Quick overview of the first one for the PHP clueless (You lucky bastards you):

    As you probably know, an HTTP Message looks like:
    Headers: And Values\r\n
    More-Headers: Are Awesome\r\n
    \r\n
    Body
    Obviously, then, once you start sending the body to the client, the time to send headers has come and gone, so if you try to send any headers, PHP generates an error and appends it to the body letting you know all about how you totally cannot send anymore headers.

    Actual information if you're still curious:

    Things that may dump headers:....


    tl;dr, the *REAL* answer is (somewhere right before the offending line):

    ob_clean();


    Problem solved! kthxbai!
  • trtrwtf 2011-10-18 13:57
    Dereleased-work:

    Obviously, then, once you start sending the body to the client...


    I usually find it's more efficient to send the head to the client. Saves on shipping, and it's typically more identifiable.
  • bleh 2011-10-18 14:06
    SeySayux:
    Daverino:
    I want more explanation on the first one, since I am not familiar with PHP. The text is written like it came from someone with experience writing instructions for the lowest common denominator. I've written somewhat similar bits of instruction, because it can be a lot easier to give an action (Hold the delete key) than to explain a concept (there must not be any white space at the end of the file).

    1. Open the file
    2. Press GG/?>(Enter)NlvGGda>(Esc):wq


    Think you meant:
    G$/?>(enter)NlvG$da(esc):x
  • no laughing matter 2011-10-18 14:07
    Zuy Incognito:
    C-Octothorpe:
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?
    Not to get sidetracked either, but seeing as how this was a fictional response to a fictional situation, I didn't feel it warranted research into the armaments of that particular group of people. I apologize if you are indeed Norse and I have offended you and/or your people. But please, by all means, continue being anal, it appears you're having fun. :)
    You must be new here.

    Pederasty is a favourite passtime of many trolls and visitors here.
    That's why I hooked up! With your baby boy!

    No f(r)ictions on being anal with a claymore?

    I am disappointed!
  • boog 2011-10-18 14:08
    frits:
    Former Marine infantryman here.

    That's highley unlikely.
  • Bronie 2011-10-18 14:10
    SeySayux:

    1. Open the file
    2. Press GG/?>(Enter)NlvGGda>(Esc):wq


    And how adding GG/?>
    NlvGGda>:wq to file will help?
  • boog 2011-10-18 14:10
    As he pulled a cigarette out and lit it, he muttered "hope you don't mind if I smoke."
    Of course not - after all, as I told the last guy, I was just leaving.
    </what-dave-should-have-said-instead-of-wasting-the-next-two-hours-listening-to-this-douche>
  • a visitor 2011-10-18 14:15
    That is not funny! My son was a troll and it is no laughing matter :(
  • Bob 2011-10-18 14:23
    a visitor:
    That is not funny! My son was a troll and it is no laughing matter :(


    Are you making fun of my gigantic retarded autistic son with the bad back? Bitch.
  • Zuy Incognito 2011-10-18 14:26
    no laughing matter:
    Zuy Incognito:
    C-Octothorpe:
    You must be new here. Pederasty is a favourite passtime of many trolls and visitors here.
    That's why I hooked up! With your baby boy!
    No f(r)ictions on being anal with a Queermore?
    I am disappointed!

    Attack Carrier: Ahhh! Someone want to play!
    Peppy: Incoming enemy from the rear!

    Disappointed the product works as advertised?

    Read the bottle, it says: "Queermore: No blood, just buds! Nine out of ten queers can't be wrong!"

    Did you really expect 9/10 queers to not know their lube?
  • Jean 2011-10-18 14:28
    The answers to the PHP question must have been ripped off the Wordpress documentation.

  • Call Center 2011-10-18 14:29
    trtrwtf:
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    I apologize if you are indeed Norse and I have offended you and/or your people.


    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?


    Forget India, we're outsourcing our call center to Scandinavia!
  • Hortical 2011-10-18 14:30
    trtrwtf:
    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's in your wallet?
    Lame, I know.
  • PHPeed all over my server 2011-10-18 14:34
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.



    Now that I understand the cause, I can honestly say the real WTF here is PHP! Even MAKE has simpler white-space rules than this! Why can't PHP interpreter handle that? Is it every PHP version?
  • Nagesh 2011-10-18 14:34
    C-Octothorpe:
    I once had an interview like the second one. After the rediculous math questions (this guy had a math fetish), his tirade of how Entity Framework and linq to sql really just output sql text and nothing else, and that his entirely string-based "data access" layer used, *GASP*, string interning, I was ready to walk away... I remember asking him (quite sarcastically) if he'd ever heard of sql injection vulnerabilities. Apparently because of my security background, he wanted to hire me.

    The guy was a total jerkoff (very condescending, etc.), and I think he sensed that I didn't want the job because he kept me there for ~4 hours talking about how profitable the company was, blah blah blah.

    The funny thing was that, other than math/algo questions, he didn't even TOUCH .Net, which was funny considering it was for a senior .net role.



    Securite background. Hah!!
  • no laughing matter 2011-10-18 14:34
    a visitor:
    That is not funny! My son was a troll and it is no laughing matter :(

    No i am not!

    Why does everyone think we are related?

    Is it because they kept the f***ing in the family they believe the whole world does also?
  • Bobby Tables 2011-10-18 14:37
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.


    Wow, that's pretty bad. Not only did he rip from documentation, he ripped from crappy documentation. "For at least 15 seconds", really?

    Anyway, the answer to that question is to check if there is any echos before the "header" call. PHP errors can also echo to the screen, so check for those too. White space before the <?php can cause the error, but I didn't think white space after the ?> mattered.
  • Bobby Tables 2011-10-18 14:38
    trtrwtf:
    TRWTF: "Before bringing people in for an interview, we give them a simple questionnaire about PHP"

    What, if they know anything about PHP, they fail?

    If it's a PHP job, yeah. If you don't know PHP I can't hire you to do PHP.
  • Anon 2011-10-18 14:41
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    Not to get sidetracked either, but seeing as how this was a fictional response to a fictional situation, I didn't feel it warranted research into the armaments of that particular group of people. I apologize if you are indeed Norse and I have offended you and/or your people. But please, by all means, continue being anal, it appears you're having fun. :)


    I'd agree with you, but considering that bloody awful Thor movie was just out and you didn't see him wielding a claymore, did you? No, he's got a big fucking hammer! So, no excuse. If you're going Norse, you've got to go hammer or battle axe. Everybody knows that, you shouldn't need to look it up.
  • Nagesh 2011-10-18 14:43
    boog:
    frits:
    Former Marine infantryman here.

    That's highley unlikely.


    infantree is lieing out of his teeth.
  • Bronie 2011-10-18 14:45
    Nagesh:
    boog:
    frits:
    Former Marine infantryman here.

    That's highley unlikely.


    infancy is lieing out of his teeth.


    FTFY
  • Trollface.jpg 2011-10-18 14:46
    a visitor:
    That is not funny! My son was a troll and it is no laughing matter :(


    Problem?

    /trollface
  • C-Octothorpe 2011-10-18 14:58
    Nagesh:
    C-Octothorpe:
    I once had an interview like the second one. After the rediculous math questions (this guy had a math fetish), his tirade of how Entity Framework and linq to sql really just output sql text and nothing else, and that his entirely string-based "data access" layer used, *GASP*, string interning, I was ready to walk away... I remember asking him (quite sarcastically) if he'd ever heard of sql injection vulnerabilities. Apparently because of my security background, he wanted to hire me.

    The guy was a total jerkoff (very condescending, etc.), and I think he sensed that I didn't want the job because he kept me there for ~4 hours talking about how profitable the company was, blah blah blah.

    The funny thing was that, other than math/algo questions, he didn't even TOUCH .Net, which was funny considering it was for a senior .net role.



    Securite background. Hah!!
    How did you spell security wrong when you quoted my fucking post with the CORRECT SPELLING!!!

    Godammit, you're a fucking retarded fake Indian. DIE DIE DIE!!!

    </hangry-rant>
  • C-Octothorpe 2011-10-18 15:00
    Bobby Tables:
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.


    Wow, that's pretty bad. Not only did he rip from documentation, he ripped from crappy documentation. "For at least 15 seconds", really?

    Anyway, the answer to that question is to hit yourself in the head repeatedly with a hammer until you forget everything about PHP then go and learn a real web development platform.
    FTFM
  • Nagesh 2011-10-18 15:02
    C-Octothorpe:
    Nagesh:
    C-Octothorpe:
    I once had an interview like the second one. After the rediculous math questions (this guy had a math fetish), his tirade of how Entity Framework and linq to sql really just output sql text and nothing else, and that his entirely string-based "data access" layer used, *GASP*, string interning, I was ready to walk away... I remember asking him (quite sarcastically) if he'd ever heard of sql injection vulnerabilities. Apparently because of my security background, he wanted to hire me.

    The guy was a total jerkoff (very condescending, etc.), and I think he sensed that I didn't want the job because he kept me there for ~4 hours talking about how profitable the company was, blah blah blah.

    The funny thing was that, other than math/algo questions, he didn't even TOUCH .Net, which was funny considering it was for a senior .net role.



    Securite background. Hah!!
    How did you spell security wrong when you quoted my fucking post with the CORRECT SPELLING!!!

    Godammit, you're a fucking retarded fake Indian. DIE DIE DIE!!!

    </hangry-rant>


    I am not a fukking fake retarded Indian. I am really Bob's adopted Indian son. Please to being more sensitive, dickwad.
  • Coyne 2011-10-18 15:02
    PHPeed all over my server:
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.



    Now that I understand the cause, I can honestly say the real WTF here is PHP! Even MAKE has simpler white-space rules than this! Why can't PHP interpreter handle that? Is it every PHP version?


    PHP is designed to be integrated into an HTML document. By default, the entire document is HTML; the PHP portion has to be specifically marked and extends from the <?php start tag and ends at the ?> tag. (Properly: There can be multiple pairs of tags and anything not between the tags is HTML.)

    If there's a blank before the starting tag then that is a significant blank that is part of the HTML document and has to be copied to the web client as-is. That, in turn, requires the HTTP headers to be sent (before the blank can be sent) and so the opportunity to override the headers is gone.

    So it's really not a matter of PHP handling of white space, because the blank before the tag is not PHP; it's part of the HTML document.
  • C-Octothorpe 2011-10-18 15:04
    Nagesh:
    Please to being more sensitive, dickwad.
    That's highley unlikely.
  • Zolcos 2011-10-18 15:15
    PHPeed all over my server:
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.
    Now that I understand the cause, I can honestly say the real WTF here is PHP! Even MAKE has simpler white-space rules than this! Why can't PHP interpreter handle that? Is it every PHP version?

    You have to send headers before content. This restriction is integral to HTTP
  • THE Zuy-Guy (You Know You Love Me) 2011-10-18 15:16
    Nagesh:
    I am not a fukking fake retarded Indian. I am really Bob's adopted Indian son. Please to being more sensitive, dickwad.
    Weren't we all a dickwad at some point? Think about it.
  • C-Octothorpe 2011-10-18 15:21
    THE Zuy-Guy (You Know You Love Me):
    Nagesh:
    I am not a fukking fake retarded Indian. I am really Bob's adopted Indian son. Please to being more sensitive, dickwad.
    Weren't we all a dickwad at some point? Think about it.
    True, but most of us have moved on.
  • Jim Barrows 2011-10-18 15:29
    trtrwtf:
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    I apologize if you are indeed Norse and I have offended you and/or your people.


    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?

    Finnish huh? and you're sending guys in HORNED helmets? Shenanigans!
    You're really an American whose seen too much Hollywood aren't you?
  • trtrwtf 2011-10-18 15:33
    Jim Barrows:
    trtrwtf:
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    I apologize if you are indeed Norse and I have offended you and/or your people.


    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?

    Finnish huh? and you're sending guys in HORNED helmets? Shenanigans!
    You're really an American whose seen too much Hollywood aren't you?


    Oh, damn. I've been caught. Never thought anyone would figure that one out.
  • andres 2011-10-18 15:41
    trtrwtf:
    BobB:
    For my current job, I didn't need a psych test, yay? However, I remember in between jobs I interviewed at a local gas station chain to be a clerk (sales associate/pump overlord/whatever). Everyone was required to take a 60 min fill in the circles test where they basically asked the same 10 questions about, "You wouldn't steal from us, right?" worded many different ways in many different scenarios. The last few were 'fill in here what you would do in X scenario above', stuff like, "A worker has stolen paperclips from the office area! They don't like they are returning them, when you confront them about it, how will you go about convincing them to return the company's paperclips!?"

    Just once I want to take one of these stupid things and respond with something like, "First I would try to convince my fellow employee that stealing is wrong, even if it is 2 pennies worth of paperclips that have been mangled beyond any functional use, and that he should return them to their proper places immediately. If my fellow coworker does not agree with me and argues that the equipment is indeed his as no one else will get functional use of them, I would call upon the powers of the Norse and materialize my trusty claymore into my hands so that I can slay the enemy of my company, who was thoughtful enough to provide me with this minimum wage job! Afterwards, I will move decap'd employee to cold storage so that I can take him out with the trash later. Wouldn't want to miss tending to any customers because I had to return company paperclips, right?"


    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    It was for job at gas station, not curator of the Smithsonian.
  • THE Zuy-Guy (You Know You Love Me) 2011-10-18 15:45
    C-Octothorpe:
    THE Zuy-Guy (You Know You Love Me):
    Nagesh:
    Please to being more sensitive, dickwad.
    Weren't we all a dickwad at some point? Think about it.
    True, but most of us have moved on.
    Precisely, my good chum. We were all dickwads at some point, and now we produce our own (or consume, whatever way you lean).
    I'm not here to judge, just to point and laugh.
    This is why no form of sex should ever be illegal. What greater impoverishment is there to my very purpose for existing then to prohibit my fuckery?
    Well, other people's fuckery, too. This isn't about just me.
    Which leads me to my next point: endangered species. What's the deal? Why do the national parks have to keep retrieving their bald eagles? Do we not fancy ourselves a progressive society? Shouldn't we be reaching for ever-higher highs? And what are we reaching for now higher high than fucking something... not just to death... but to extinction?

    Nothing. Not a thing. Just food for some homeless children. I've got something they can chew on.

    Thank you for your time, loyal reader. !tuo, naM-enuZ

    P.S. Did you know that having sex with a virgin can cure a man of AIDS? That's the word on the street, anyway. If the lamestream media would stop oppressing independent voices, we could get the word out and put an end to this epidemic once and for all!!!
  • THE Zuy-Guy (You Know You Love Me) 2011-10-18 15:51
    @P.S. - Now the export tubes of the technologically focused are sure to be unsafe - occupied, even! Vehemently occupied!
  • congnor 2011-10-18 15:59
    trtrwtf:
    Jim Barrows:
    trtrwtf:
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    I apologize if you are indeed Norse and I have offended you and/or your people.


    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?

    Finnish huh? and you're sending guys in HORNED helmets? Shenanigans!
    You're really an American whose seen too much Hollywood aren't you?


    Oh, damn. I've been caught. Never thought anyone would figure that one out.


    Well, tdwtf is the home of nerds, geeks, pedants and sons of trollfuckers. Let this be a lesson and don't wave your intelligence around here next time.
  • trtrwtf 2011-10-18 16:01
    congnor:
    trtrwtf:
    Jim Barrows:
    trtrwtf:
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    I apologize if you are indeed Norse and I have offended you and/or your people.


    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?

    Finnish huh? and you're sending guys in HORNED helmets? Shenanigans!
    You're really an American whose seen too much Hollywood aren't you?


    Oh, damn. I've been caught. Never thought anyone would figure that one out.


    Well, tdwtf is the home of nerds, geeks, pedants and sons of trollfuckers. Let this be a lesson and don't wave your intelligence around here next time.


    I'll never make that mistake again.
    Matterhorn!
  • Marius 2011-10-18 16:03
    Well, the answer to that "headers already sent" can be more complex.

    The scripts may have been previously saved with an editor that introduces the UTF BOM (Byte Order Marker). When you open the file in Notepad, it would automatically detect the two bytes and won't show them but alas, they're still there in the file.

    PHP currently treats all files as ascii or files encoded in the whatever code page user has so the BOM is considered html content.

    Another possibility is that those characters that forced the headers to be sent were actually in some script file that had a class inside - in the current script, maybe a class function was called, which caused the class to be auto load which was loaded when the class contained in the script was called at the line where the error was reported.

    Another possibility is that the php was recently upgraded and some dumb guy left error reporting on and since some things can get deprecated, new warnings can show up... so somewhere in some script a warning/error got triggered.
  • frits 2011-10-18 16:04
    Nagesh:
    boog:
    frits:
    Former Marine infantryman here.

    That's highley unlikely.


    infantree is lieing out of his teeth.

    That doesn't even make sense. What happened to clever Nagesh?
  • congnor 2011-10-18 16:05
    trtrwtf:
    congnor:
    trtrwtf:
    Jim Barrows:
    trtrwtf:
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    I apologize if you are indeed Norse and I have offended you and/or your people.


    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?

    Finnish huh? and you're sending guys in HORNED helmets? Shenanigans!
    You're really an American whose seen too much Hollywood aren't you?


    Oh, damn. I've been caught. Never thought anyone would figure that one out.


    Well, tdwtf is the home of nerds, geeks, pedants and sons of trollfuckers. Let this be a lesson and don't wave your intelligence around here next time.


    I'll never make that mistake again.
    Matterhorn!


    YOU DID IT AGAIN!!!
    Matterhorn is a mountain in europe but you are clearly commenting on a virtual mountain of incompetence built on the corpses of stupid programmers.

    Anyway, coffee?
  • Nagesh 2011-10-18 16:20
    congnor:
    trtrwtf:
    congnor:
    trtrwtf:
    Jim Barrows:
    trtrwtf:
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    I apologize if you are indeed Norse and I have offended you and/or your people.


    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?

    Finnish huh? and you're sending guys in HORNED helmets? Shenanigans!
    You're really an American whose seen too much Hollywood aren't you?


    Oh, damn. I've been caught. Never thought anyone would figure that one out.


    Well, tdwtf is the home of nerds, geeks, pedants and sons of trollfuckers. Let this be a lesson and don't wave your intelligence around here next time.


    I'll never make that mistake again.
    Matterhorn!


    YOU DID IT AGAIN!!!
    Matterhorn is a mountain in europe but you are clearly commenting on a virtual mountain of incompetence built on the corpses of stupid programmers.

    Anyway, coffee?

    In Hyderabad, matterhorn also refer to explicit action with family members.
  • C-Octothorpe 2011-10-18 16:26
    frits:
    Nagesh:
    boog:
    frits:
    Former Marine infantryman here.

    That's highley unlikely.


    infantree is lieing out of his teeth.

    That doesn't even make sense. What happened to clever Nagesh?
    You're telling me Nagesh (or any of his unregistered sock puppets) was once clever? Highly unlikely...
  • THE Zuy-Guy (You Know You Love Me) 2011-10-18 16:26
    congnor:
    trtrwtf:
    I'll never make that mistake again.
    Matterhorn!
    YOU DID IT AGAIN!!!
    Matterhorn is a mountain in europe but you are clearly commenting on a virtual mountain of incompetence built on the corpses of stupid programmers.

    Anyway, coffee?
    Where? And I'm not referring to which restaurant/store
    I find coffee does a much better job of making me feel fresh and purged than just water, saline and a stick to comp down on. So long as I'm not just drinking it like a square...

    Did you think he might not be talking about the mountain, but instead the grave matter ofhishorn?Which, if your eye-socket looks purdy enough, becomes a truly grave matter. He's warning you of the fury he's about to unleash by shouting it.Like when my toddler is babbling to much and I shout "Swoltzenass!"
  • trtrwtf 2011-10-18 16:29
    congnor:
    trtrwtf:
    congnor:
    trtrwtf:
    Jim Barrows:
    trtrwtf:
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    I apologize if you are indeed Norse and I have offended you and/or your people.


    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?

    Finnish huh? and you're sending guys in HORNED helmets? Shenanigans!
    You're really an American whose seen too much Hollywood aren't you?


    Oh, damn. I've been caught. Never thought anyone would figure that one out.


    Well, tdwtf is the home of nerds, geeks, pedants and sons of trollfuckers. Let this be a lesson and don't wave your intelligence around here next time.


    I'll never make that mistake again.
    Matterhorn!


    YOU DID IT AGAIN!!!
    Matterhorn is a mountain in europe but you are clearly commenting on a virtual mountain of incompetence built on the corpses of stupid programmers.


    Criminy, you're good.


    Anyway, coffee?


    Please. Cream, two sugars. Thanks.
  • congnor 2011-10-18 16:29
    (...load of bullshit...)
    Nagesh:
    congnor:

    Anyway, coffee?

    In Hyderabad, matterhorn also refer to coffee drinking with family members.


    Well it's all ok then?
  • boog 2011-10-18 16:30
    frits:
    Nagesh:
    boog:
    frits:
    Former Marine infantryman here.

    That's highley unlikely.


    infantree is lieing out of his teeth.

    That doesn't even make sense. What happened to clever Nagesh?
    In Hyderabad, all Nageshen are clever.
  • frits 2011-10-18 16:35
    boog:
    frits:
    Nagesh:
    boog:
    frits:
    Former Marine infantryman here.

    That's highley unlikely.


    infantree is lieing out of his teeth.

    That doesn't even make sense. What happened to clever Nagesh?
    In Hyderabad, all Nageshen are clever.

    Cool. I'm pretty happy that "In Hyderabad..." is becoming a meme. ;)
  • Nagesh 2011-10-18 16:39
    C-Octothorpe:
    frits:
    Nagesh:
    boog:
    frits:
    Former Marine infantryman here.

    That's highley unlikely.


    infantree is lieing out of his teeth.

    That doesn't even make sense. What happened to clever Nagesh?
    You're telling me Nagesh (or any of his unregistered sock puppets) was once clever? Highly unlikely...


    I am thinking that upon one time, the dodge that is having been used by Nagesh was quite deep and subtle and clever. He is having thought of a persona which is allowing him to make arch comments about coding and about racism of certain American programmers also.

    And it is also by the way that I am not now Nagesh's sock puppet, but he is mine, for I am the hand and he is the sock.
  • boog 2011-10-18 16:46
    frits:
    boog:
    frits:
    What happened to clever Nagesh?
    In Hyderabad, all Nageshen are clever.

    Cool. I'm pretty happy that "In Hyderabad..." is becoming a meme. ;)
    Yeah, I just hope it doesn't get overused or repetitive. That would never happen on this site, would it?
  • Иagɘsн 2011-10-18 16:47
    Nagesh:
    infantree is lieing out of his teeth.

    Why do you purposely mispell English wordings? Everybody knows Indians receive a perfectly serviceable, if a little archaic, English education. Your behaviour makes me want to do the needful and put Bhut Jolokia on Q-Tip and insert it in an uncomfortable place.
  • Blue 2011-10-18 16:53
    Johnny B Coder:
    FRIST!

    I had a job interview like the the last one once. An hour of psych questions, and a 5 min interview with the technical lead. Didnt get the SQL DBA job supposedly because I wasnt technically qualified. Wierd since I had been teaching the Microsoft SQL Server admin classes for several years.

    Always wondered what my psych scores were....
    No offence, but "He who can does, he who can't teaches". Some of the worst people I've worked with come from highly academic backgrounds, and insist that the whole world actually works according to a book - and when it doesn't it's because we're doing it wrong. Theory is all beaut and fine, and it's good to have something to aim at, but the reality is that theory is closer to a guide than any hard and fast rules - and if it's not, you have a problem
  • Smitty 2011-10-18 16:54
    The MAZZTer:
    I can think of a specific case where that crazy PHP "fix" would actually work:

    If you have whitespace at the end of a PHP file and you include it as a header, the whitespace will be sent as content, thus preventing you from sending more headers in your main PHP file after including the file. Removing the whitespace from the end of the file would fix it (IIRC).

    In any case it's clear the interviewee doesn't quite understand what's going on. He figured out how to fix it in a specific case, possibly by accident, but he clearly doesn't know what it means or why it happens.
    Uhm, he clearly googled it - it is the most common probelem, according to google....
  • Homer J 2011-10-18 17:14
    BobB:
    For my current job, I didn't need a psych test, yay? However, I remember in between jobs I interviewed at a local gas station chain to be a clerk (sales associate/pump overlord/whatever). Everyone was required to take a 60 min fill in the circles test where they basically asked the same 10 questions about, "You wouldn't steal from us, right?" worded many different ways in many different scenarios. The last few were 'fill in here what you would do in X scenario above', stuff like, "A worker has stolen paperclips from the office area! They don't like they are returning them, when you confront them about it, how will you go about convincing them to return the company's paperclips!?"

    Just once I want to take one of these stupid things and respond with something like, "First I would try to convince my fellow employee that stealing is wrong, even if it is 2 pennies worth of paperclips that have been mangled beyond any functional use, and that he should return them to their proper places immediately. If my fellow coworker does not agree with me and argues that the equipment is indeed his as no one else will get functional use of them, I would call upon the powers of the Norse and materialize my trusty claymore into my hands so that I can slay the enemy of my company, who was thoughtful enough to provide me with this minimum wage job! Afterwards, I will move decap'd employee to cold storage so that I can take him out with the trash later. Wouldn't want to miss tending to any customers because I had to return company paperclips, right?"
    Since we're going off topic anyways (I see someoene's restarting a thread about you and your claymores...):
    I once went for a job driving public buses. At interview, there were all sorts of situation questions, where the normal answer seemed to be "contact depot via radio". Eventually, the following exchange occured:
    Interviewer: "Suppose you are in the city at stop W1 across from the railway station, doing a 153 on the down, and a truck collects your off-side (driver's side) mirror, what would you do?"
    Me: "Call depot and report that the vehicle has been involved in an accident, and is missing 1 off-side mirror"
    Interviewer: "I happen to be the despatcher, and I advise that you should proceed on route with caution to stop 9 Port Road, where a service van will be waiting for you"
    Me: "But I'm missing my driving mirror...which renders the vehicle un-roadworthy"
    Interviewer: "The law allows an unroadworthy vehicle to be driven a minimum distance required to repair it - the company's view is that the closest place we can repair it is stop 9" (though I didn't think of it at the time, there was a depot closer...and that depot could have actually sent out their mechanics)
    Me: "But I don't believe it's safe to drive a Heavy Vehicle with no mirror - it's how I see what's coming as I pull away from the kerb"
    Interviewer: "What would you do in a car if you lost a mirror?"
    Me: "That's different - a car is smaller, and allows far better views simply by looking over your shoulder"
    Interviewer: "The company would expect that you continue as directed to the nearest service point - this would mean sticking your head out the window to check for traffic"
    Me: "You're joking!?! You expect me to stick my head out a window where a truck has just passed close enough to take the mirror off?"
    <short pause>
    Interviewer: "Silly as it sounds, that's what we'd expect"

    Interestingly I got the job, and thankfully I never lost an offside mirror (although several nearside ones).

    What a lovely story - I love stories!
  • Mr.'; Drop Database -- 2011-10-18 17:16
    TRWTF is the programmers who put the closing ?> at the end of the file at all. PHP makes it optional for a reason!
  • Friedrich 2011-10-18 17:18
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.

    Or perhaps the interviewee in the story later got a job with WordPress...
  • boog 2011-10-18 17:18
    Blue:
    Johnny B Coder:
    Didnt get the SQL DBA job supposedly because I wasnt technically qualified. Wierd since I had been teaching the Microsoft SQL Server admin classes for several years.
    No offence, but "He who can does, he who can't teaches". Some of the worst people I've worked with come from highly academic backgrounds, and insist that the whole world actually works according to a book...
    Really? Because some of the worst people I've worked with come from academic backgrounds that are completely unrelated to software development or computers or using-their-brains-for-any-kind-of-thought-making (that's not to say that all such people made for crappy developers). I often wonder why the fuck (or how) these people are doing my job.

    At least the "academic-programmers" get my jokes... well, some of them.
  • PSU 2011-10-18 17:19
    Nah...it's the relative minor.
  • Joel 2011-10-18 17:21
    Bobby Tables:
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.


    Wow, that's pretty bad. Not only did he rip from documentation, he ripped from crappy documentation. "For at least 15 seconds", really?

    Anyway, the answer to that question is to check if there is any echos before the "header" call. PHP errors can also echo to the screen, so check for those too. White space before the <?php can cause the error, but I didn't think white space after the ?> mattered.
    I'm no PHP expert (in fact I steer as far around it as possible, most times), but I suspect if multiple files are being included then space AFTER the ?> in one file, equates to space BEFORE the <?php in another....
    I assume the ; got in there by mistake....
  • Matt Westwood 2011-10-18 17:26
    BobB:
    For my current job, I didn't need a psych test, yay? However, I remember in between jobs I interviewed at a local gas station chain to be a clerk (sales associate/pump overlord/whatever). Everyone was required to take a 60 min fill in the circles test where they basically asked the same 10 questions about, "You wouldn't steal from us, right?" worded many different ways in many different scenarios. The last few were 'fill in here what you would do in X scenario above', stuff like, "A worker has stolen paperclips from the office area! They don't like they are returning them, when you confront them about it, how will you go about convincing them to return the company's paperclips!?"

    Just once I want to take one of these stupid things and respond with something like, "First I would try to convince my fellow employee that stealing is wrong, even if it is 2 pennies worth of paperclips that have been mangled beyond any functional use, and that he should return them to their proper places immediately. If my fellow coworker does not agree with me and argues that the equipment is indeed his as no one else will get functional use of them, I would call upon the powers of the Norse and materialize my trusty claymore into my hands so that I can slay the enemy of my company, who was thoughtful enough to provide me with this minimum wage job! Afterwards, I will move decap'd employee to cold storage so that I can take him out with the trash later. Wouldn't want to miss tending to any customers because I had to return company paperclips, right?"


    This has to be one of the stupidest questions in the world. What the fucking fucky shitty fuck-fuck would anybody WANT to steal any fucking fucking paper clips in the fucking FIRST PLACE?

    If (a) an employee feels the need to steal paper clips, there's something seriously wrong with him, and (b) if the employer is actually *upset* about the fact that an employee has pocketed a few paper clips from off the desk, then I'd ring up the local loony bin and call for the men in white coats to haul them off in fucking straitjackets. I mean, jesus fucking horticultural cobolwriting christ.
  • Matt Westwood 2011-10-18 17:30
    trtrwtf:
    BobB:
    For my current job, I didn't need a psych test, yay? However, I remember in between jobs I interviewed at a local gas station chain to be a clerk (sales associate/pump overlord/whatever). Everyone was required to take a 60 min fill in the circles test where they basically asked the same 10 questions about, "You wouldn't steal from us, right?" worded many different ways in many different scenarios. The last few were 'fill in here what you would do in X scenario above', stuff like, "A worker has stolen paperclips from the office area! They don't like they are returning them, when you confront them about it, how will you go about convincing them to return the company's paperclips!?"

    Just once I want to take one of these stupid things and respond with something like, "First I would try to convince my fellow employee that stealing is wrong, even if it is 2 pennies worth of paperclips that have been mangled beyond any functional use, and that he should return them to their proper places immediately. If my fellow coworker does not agree with me and argues that the equipment is indeed his as no one else will get functional use of them, I would call upon the powers of the Norse and materialize my trusty claymore into my hands so that I can slay the enemy of my company, who was thoughtful enough to provide me with this minimum wage job! Afterwards, I will move decap'd employee to cold storage so that I can take him out with the trash later. Wouldn't want to miss tending to any customers because I had to return company paperclips, right?"


    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    Because many of the inhabitants of the North of Scotland are descendants of the Norse. You can tell them by the fact that they are over 6 foot and have seriously red hair. You don't want to say "Fanta pants" in their vicinity.

    Check out the name of the most northerly part of Scotland - it's called "Sutherland". South of what? Go see if you can find an atlas which has north west Europe on it and see what I mean.
  • Matt Westwood 2011-10-18 17:33
    BobB:
    trtrwtf:

    Actually, I just checked my passports, and one of them does say I'm Finnish. I'm just dispatching a longboat full of large beardy guys in horned helmets to exact vengeance in blood for the offense you've given. What's your location?


    I'm in Oklahoma, US. I got a whole raiding party full of Apache braves. Bring it!


    Can I come? My Tomcat will take them all on.
  • Matt Westwood 2011-10-18 17:42
    frits:
    boog:
    frits:
    Nagesh:
    boog:
    frits:
    Former Marine infantryman here.

    That's highley unlikely.


    infantree is lieing out of his teeth.

    That doesn't even make sense. What happened to clever Nagesh?
    In Hyderabad, all Nageshen are clever.

    Cool. I'm pretty happy that "In Hyderabad..." is becoming a meme. ;)


    But don't drink the hyd(e)ra, it's bad.
  • Matt Westwood 2011-10-18 17:45
    boog:
    frits:
    boog:
    frits:
    What happened to clever Nagesh?
    In Hyderabad, all Nageshen are clever.

    Cool. I'm pretty happy that "In Hyderabad..." is becoming a meme. ;)
    Yeah, I just hope it doesn't get overused or repetitive. That would never happen on this site, would it?


    That's not funny: My son was overused and repetitive, and let me assure you, it was no laughing matter. I saw your one line reply referring to Paula Bean and it's not big or clever so fuck off. You're too young and stupid to be using the internet, so get off my lawn!
    - Bent Glugstork.
  • method1 2011-10-18 18:11
    BobB:

    I'm in Oklahoma, US. I got a whole raiding party full of Apache braves. Bring it!

    Paleface speak with forked tongue. Which version of Apache are they? And are you sure they're on your side? They sided with the British in the war of Independence because they said they'd let them keep their ancestral lands apparently
  • the real trtrwtf 2011-10-18 18:56
    Matt Westwood:
    trtrwtf:
    BobB:
    For my current job, I didn't need a psych test, yay? However, I remember in between jobs I interviewed at a local gas station chain to be a clerk (sales associate/pump overlord/whatever). Everyone was required to take a 60 min fill in the circles test where they basically asked the same 10 questions about, "You wouldn't steal from us, right?" worded many different ways in many different scenarios. The last few were 'fill in here what you would do in X scenario above', stuff like, "A worker has stolen paperclips from the office area! They don't like they are returning them, when you confront them about it, how will you go about convincing them to return the company's paperclips!?"

    Just once I want to take one of these stupid things and respond with something like, "First I would try to convince my fellow employee that stealing is wrong, even if it is 2 pennies worth of paperclips that have been mangled beyond any functional use, and that he should return them to their proper places immediately. If my fellow coworker does not agree with me and argues that the equipment is indeed his as no one else will get functional use of them, I would call upon the powers of the Norse and materialize my trusty claymore into my hands so that I can slay the enemy of my company, who was thoughtful enough to provide me with this minimum wage job! Afterwards, I will move decap'd employee to cold storage so that I can take him out with the trash later. Wouldn't want to miss tending to any customers because I had to return company paperclips, right?"


    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    Because many of the inhabitants of the North of Scotland are descendants of the Norse. You can tell them by the fact that they are over 6 foot and have seriously red hair. You don't want to say "Fanta pants" in their vicinity.

    Check out the name of the most northerly part of Scotland - it's called "Sutherland". South of what? Go see if you can find an atlas which has north west Europe on it and see what I mean.


    Oh, don't even try. It was a foolish gamer-boy slip, let it go. The Norse raids on Scotland preceded the use of the Claymore by hundreds of years, and the directionality is all wrong. This is like drawing on your Spanish heritage and reaching for your atlatl.

  • Anonymous 2011-10-18 19:13
    That is why it is standard practise to omit the closing tag in files like this.
  • havokk 2011-10-18 20:08
    BobB:
    I'm in Oklahoma, US. I got a whole raiding party full of Apache braves. Bring it!


    I'm not sure what a raiding party of web servers looks like, so I'm going with €50 on the Vikings.

    Especially since they are armed with claymore mines…
  • Scarlet Manuka 2011-10-18 21:32
    Matt Westwood:
    Can I come? My Tomcat will take them all on.
    Gytha Ogg, I presume?
  • nonpartisan 2011-10-18 22:57
    Иagɘsн:
    Nagesh:
    infantree is lieing out of his teeth.

    Why do you purposely mispell English wordings? Everybody knows Indians receive a perfectly serviceable, if a little archaic, English education. Your behaviour makes me want to do the needful and put Bhut Jolokia on Q-Tip and insert it in an uncomfortable place.


    'course, no one noticed the OTHER misspelling in that paragraph . . . it was also seen in page 1 of the comments . . .
  • Mr Keith 2011-10-19 00:08
    " As it turned out, the papers were a psych-analysis composed of multiple choice answers and silly questions."

    Myers-Briggs? INTP
  • B-dogg 2011-10-19 01:35
    I heard you like memes in your memes, so I put memes in your memes so you can meme while you meme. Pray I don't meme your memes any further.

    - Meme Vader
  • B-dogg 2011-10-19 01:36
    Matt Westwood:
    boog:
    frits:
    boog:
    frits:
    What happened to clever Nagesh?
    In Hyderabad, all Nageshen are clever.

    Cool. I'm pretty happy that "In Hyderabad..." is becoming a meme. ;)
    Yeah, I just hope it doesn't get overused or repetitive. That would never happen on this site, would it?


    That's not funny: My son was overused and repetitive, and let me assure you, it was no laughing matter. I saw your one line reply referring to Paula Bean and it's not big or clever so fuck off. You're too young and stupid to be using the internet, so get off my lawn!
    - Bent Glugstork.


    I heard you like memes in your memes, so I put memes in your memes so you can meme while you meme. Pray I don't meme your memes any further.

    - Meme Vader
  • Matt Westwood 2011-10-19 02:24
    Scarlet Manuka:
    Matt Westwood:
    Can I come? My Tomcat will take them all on.
    Gytha Ogg, I presume?

    Aaaaaaa --- wizards's staff has a knob on the eeeeend ...
  • Chrulle 2011-10-19 04:32
    I am Norse and you have indeed offended me and my people. I immediately rose up in a blood rage and called upon the gods to help me avenge this slight. Loki gave me a Claymore. :(
  • Haha 2011-10-19 05:01
    BobB:
    I got a whole raiding party full of Apache braves. Bring it!


    You don't have to be brave to run Apache.
    MS servers ... that takes cojones!
  • hartmut 2011-10-19 05:11
    Even better: just make sure there *isn't* a ?> at the end of the code in a header file ... that's actually considered as best practice in PHP land these days ...
  • Ru 2011-10-19 05:20
    Matt Westwood:

    Because many of the inhabitants of the North of Scotland are descendants of the Norse. You can tell them by the fact that they are over 6 foot and have seriously red hair. You don't want to say "Fanta pants" in their vicinity.

    Check out the name of the most northerly part of Scotland - it's called "Sutherland". South of what? Go see if you can find an atlas which has north west Europe on it and see what I mean.


    They're more Irish than Scandinavian, and that's where the red hair comes from. Scotland, named after the Scotii, the Roman name for a bunch of Irish pirates and raiders.

    And red hair? Odd stereotype, that one... bit like the horned helmets. What hair colour is usually associated with Scandinavian nations? Hint: its the colour Vikings generally had, and it wasn't red.
  • Bob 2011-10-19 05:30
    Ru:
    Matt Westwood:

    Because many of the inhabitants of the North of Scotland are descendants of the Norse. You can tell them by the fact that they are over 6 foot and have seriously red hair. You don't want to say "Fanta pants" in their vicinity.

    Check out the name of the most northerly part of Scotland - it's called "Sutherland". South of what? Go see if you can find an atlas which has north west Europe on it and see what I mean.


    They're more Irish than Scandinavian, and that's where the red hair comes from. Scotland, named after the Scotii, the Roman name for a bunch of Irish pirates and raiders.

    And red hair? Odd stereotype, that one... bit like the horned helmets. What hair colour is usually associated with Scandinavian nations? Hint: its the colour Vikings generally had, and it wasn't red.


    Please show a little sensitivity. I had a son who had red hair, and I can assure you, it's no laughing matter. It was incurable, and we had to euthanase him before he turned into one of the Weasley brothers.
  • geoffrey 2011-10-19 06:03
    Matt Westwood:
    BobB:
    For my current job, I didn't need a psych test, yay? However, I remember in between jobs I interviewed at a local gas station chain to be a clerk (sales associate/pump overlord/whatever). Everyone was required to take a 60 min fill in the circles test where they basically asked the same 10 questions about, "You wouldn't steal from us, right?" worded many different ways in many different scenarios. The last few were 'fill in here what you would do in X scenario above', stuff like, "A worker has stolen paperclips from the office area! They don't like they are returning them, when you confront them about it, how will you go about convincing them to return the company's paperclips!?"

    Just once I want to take one of these stupid things and respond with something like, "First I would try to convince my fellow employee that stealing is wrong, even if it is 2 pennies worth of paperclips that have been mangled beyond any functional use, and that he should return them to their proper places immediately. If my fellow coworker does not agree with me and argues that the equipment is indeed his as no one else will get functional use of them, I would call upon the powers of the Norse and materialize my trusty claymore into my hands so that I can slay the enemy of my company, who was thoughtful enough to provide me with this minimum wage job! Afterwards, I will move decap'd employee to cold storage so that I can take him out with the trash later. Wouldn't want to miss tending to any customers because I had to return company paperclips, right?"


    This has to be one of the stupidest questions in the world. What the fucking fucky shitty fuck-fuck would anybody WANT to steal any fucking fucking paper clips in the fucking FIRST PLACE?

    If (a) an employee feels the need to steal paper clips, there's something seriously wrong with him, and (b) if the employer is actually *upset* about the fact that an employee has pocketed a few paper clips from off the desk, then I'd ring up the local loony bin and call for the men in white coats to haul them off in fucking straitjackets. I mean, jesus fucking horticultural cobolwriting christ.


    Jumping on the denigrate COBOL bandwagon I see. What is it with programmers these days that they feel they have to insult all the founding languages in order to show off?
  • dkf 2011-10-19 06:13
    Matt Westwood:
    I mean, jesus fucking horticultural cobolwriting christ.
    I like that expletive; it's inventive and offensive (to some) in a good combination.
  • no laughing matter 2011-10-19 07:15
    Zuy Incognito:
    Read the news, it says: "Queer Moore"

    So Gordon Moore is gay? Well that explains a lot.

    Especially his ridiculous theory that they size of our assholes doubles every two years.

    If that were true, why did we felt a need to go multigore about seven years ago?
  • Overqualified 2011-10-19 07:23
    I went for an interview at a multi-national, for twice the money that I was on.
    The first part was an IBM IQ test. When the secretary, who had escorted me from the foyer, came in after 20 minutes to see if I was OK she was surprised that I had finished, as most candidates had got nowhere near at the end of the allotted hour. I had to sit for the remaining 40 minutes and a further 20 minutes whilst she checked the results, and a further 20 minutes whilst the IT Manager checked the results.
    I was eventually shown into the IT Manager’s office, and before I had a chance to sit down he announced that I had “scored higher than anyone else on site on the test and would be bored. Goodbye.” I was then escorted off-site by the secretary and a security guard.
    I think that he may have felt a little threatened. But I could have been quite happily bored for a while on twice the pay!
  • L. 2011-10-19 07:48
    Zolcos:
    PHPeed all over my server:
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.
    Now that I understand the cause, I can honestly say the real WTF here is PHP! Even MAKE has simpler white-space rules than this! Why can't PHP interpreter handle that? Is it every PHP version?

    You have to send headers before content. This restriction is integral to HTTP


    Meh .. let the ignorants flame at will, it's all they got ;)

    Funny to see how so many people bash PHP .. what other languages do you advise that you think are flawless.?
  • trtrwtf 2011-10-19 07:52
    L.:
    Zolcos:
    PHPeed all over my server:
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.
    Now that I understand the cause, I can honestly say the real WTF here is PHP! Even MAKE has simpler white-space rules than this! Why can't PHP interpreter handle that? Is it every PHP version?

    You have to send headers before content. This restriction is integral to HTTP


    Meh .. let the ignorants flame at will, it's all they got ;)

    Funny to see how so many people bash PHP .. what other languages do you advise that you think are flawless.?


    There's a large range between "flawless" and "made of flaw", and there are many languages occupying that space. PHP is not one of them.
  • Nagesh 2011-10-19 08:47
    L.:
    Zolcos:
    PHPeed all over my server:
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.
    Now that I understand the cause, I can honestly say the real WTF here is PHP! Even MAKE has simpler white-space rules than this! Why can't PHP interpreter handle that? Is it every PHP version?

    You have to send headers before content. This restriction is integral to HTTP


    Meh .. let the ignorants flame at will, it's all they got ;)

    Funny to see how so many people bash PHP .. what other languages do you advise that you think are flawless.?

    Java is being best language to be defined so far. Working on Java 1.4 certification at present, and it is looking to be evan betar.
  • cappeca 2011-10-19 09:57
    I call shinenigans on the third one. The guy is butthurt because they made him do a personality test, and he has personality disorder. "Gimme the technical PLZ GIMME TEH TECHNICAL!"
  • L. 2011-10-19 10:08
    trtrwtf:
    L.:
    Zolcos:
    PHPeed all over my server:
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.
    Now that I understand the cause, I can honestly say the real WTF here is PHP! Even MAKE has simpler white-space rules than this! Why can't PHP interpreter handle that? Is it every PHP version?

    You have to send headers before content. This restriction is integral to HTTP


    Meh .. let the ignorants flame at will, it's all they got ;)

    Funny to see how so many people bash PHP .. what other languages do you advise that you think are flawless.?


    There's a large range between "flawless" and "made of flaw", and there are many languages occupying that space. PHP is not one of them.


    Well .. I sure hope this is the feeling I'll have when I take the time to focus on something else... at this point I can just confirm that PHP has quite a few flaws one should know about.

    On the other hand, PHP is still much better than anything VB and below (and that does include an awful lot of horrible stuff).

    Simply stating that PHP is made of flaw because it's not as good as C/Java/Python does look like a bit of a stretch though. (and don't tell me about microsoft stuff, that stuff simply does not compute - since it requires a failOS to run).
  • Dinnerplate 2011-10-19 10:29
    trtrwtf:
    BobB:
    For my current job, I didn't need a psych test, yay? However, I remember in between jobs I interviewed at a local gas station chain to be a clerk (sales associate/pump overlord/whatever). Everyone was required to take a 60 min fill in the circles test where they basically asked the same 10 questions about, "You wouldn't steal from us, right?" worded many different ways in many different scenarios. The last few were 'fill in here what you would do in X scenario above', stuff like, "A worker has stolen paperclips from the office area! They don't like they are returning them, when you confront them about it, how will you go about convincing them to return the company's paperclips!?"

    Just once I want to take one of these stupid things and respond with something like, "First I would try to convince my fellow employee that stealing is wrong, even if it is 2 pennies worth of paperclips that have been mangled beyond any functional use, and that he should return them to their proper places immediately. If my fellow coworker does not agree with me and argues that the equipment is indeed his as no one else will get functional use of them, I would call upon the powers of the Norse and materialize my trusty claymore into my hands so that I can slay the enemy of my company, who was thoughtful enough to provide me with this minimum wage job! Afterwards, I will move decap'd employee to cold storage so that I can take him out with the trash later. Wouldn't want to miss tending to any customers because I had to return company paperclips, right?"


    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?

    I'm pretty sure that he meant Mjolnir, Thor's hammer.
  • Peter 2011-10-19 10:51
    Homer J:
    ...doing a 153 on the down...
    I've no idea what that means. Is it the sort of thing that Zunesis keeps going on about?
  • Nagesh 2011-10-19 12:11
    Nagesh (fake):
    Java is being best language to be defined so far. Working on Java 1.4 certification at present, and it is looking to be evan betar.


    Welcome to 2011

  • Jay 2011-10-19 13:34
    BobB:
    trtrwtf:

    Not to get sidetracked, but what do claymores (" a large sword used in the late Medieval and early modern periods... used in the constant clan warfare and border fights with the English from circa 1400 to 1700") have to do with the Norse ("the Scandinavian population of the period from the late 8th century to the 11th century")?


    Not to get sidetracked either, but seeing as how this was a fictional response to a fictional situation, I didn't feel it warranted research into the armaments of that particular group of people. I apologize if you are indeed Norse and I have offended you and/or your people. But please, by all means, continue being anal, it appears you're having fun. :)


    This type of humor is totally inappropriate. My ancestors were Norse, and I assure you that it wasn't funny at all.
  • no laughing matter 2011-10-19 13:36
    Nagesh:
    Nagesh (fake):
    Java is being best language to be defined so far. Working on Java 1.4 certification at present, and it is looking to be evan betar.


    Welcome to 2011


    YHBT. YHL. HAND.
  • THE Zuy-Guy (You Know You Love Me) 2011-10-19 13:38
    Peter:
    Homer J:
    ...doing a 153 on a down syndrome...
    I've no idea what that means. Is it the sort of thing that Zunesis keeps going on about?
    I've never referred to it that way, but I like the use of code numbers. Now I don't have to list off [actor body part]-[action]-[recipient body part], I can just say [153]! Awesome!
    I took my [1] and [2]'ed it in his [3] so hard he came blood!
  • Jay 2011-10-19 13:41
    Bobby Tables:
    Wow, that's pretty bad. Not only did he rip from documentation, he ripped from crappy documentation.


    One of my college professors once commented that if you are going to cheat, you should copy from the smart kid, and not from your friends who are as dumb as you are.
  • Jay 2011-10-19 13:46
    boog:
    frits:
    boog:
    frits:
    What happened to clever Nagesh?
    In Hyderabad, all Nageshen are clever.

    Cool. I'm pretty happy that "In Hyderabad..." is becoming a meme. ;)
    Yeah, I just hope it doesn't get overused or repetitive. That would never happen on this site, would it?


    I have overused your meme. Pray I do not overuse it any further.

    Oh, wait, tautology ...
  • Jay 2011-10-19 13:50
    havokk:
    BobB:
    I'm in Oklahoma, US. I got a whole raiding party full of Apache braves. Bring it!


    I'm not sure what a raiding party of web servers looks like, so I'm going with €50 on the Vikings.

    Especially since they are armed with claymore mines…


    I think he means that his web server uses a Redundant Array of Independent Disks. I'm not sure what the "braves" part means, maybe a mis-spelling of his brand of CD duplicator.
  • Matt Westwood 2011-10-19 14:35
    geoffrey:
    Matt Westwood:
    BobB:
    For my current job, I didn't need a psych test, yay? However, I remember in between jobs I interviewed at a local gas station chain to be a clerk (sales associate/pump overlord/whatever). Everyone was required to take a 60 min fill in the circles test where they basically asked the same 10 questions about, "You wouldn't steal from us, right?" worded many different ways in many different scenarios. The last few were 'fill in here what you would do in X scenario above', stuff like, "A worker has stolen paperclips from the office area! They don't like they are returning them, when you confront them about it, how will you go about convincing them to return the company's paperclips!?"

    Just once I want to take one of these stupid things and respond with something like, "First I would try to convince my fellow employee that stealing is wrong, even if it is 2 pennies worth of paperclips that have been mangled beyond any functional use, and that he should return them to their proper places immediately. If my fellow coworker does not agree with me and argues that the equipment is indeed his as no one else will get functional use of them, I would call upon the powers of the Norse and materialize my trusty claymore into my hands so that I can slay the enemy of my company, who was thoughtful enough to provide me with this minimum wage job! Afterwards, I will move decap'd employee to cold storage so that I can take him out with the trash later. Wouldn't want to miss tending to any customers because I had to return company paperclips, right?"


    This has to be one of the stupidest questions in the world. What the fucking fucky shitty fuck-fuck would anybody WANT to steal any fucking fucking paper clips in the fucking FIRST PLACE?

    If (a) an employee feels the need to steal paper clips, there's something seriously wrong with him, and (b) if the employer is actually *upset* about the fact that an employee has pocketed a few paper clips from off the desk, then I'd ring up the local loony bin and call for the men in white coats to haul them off in fucking straitjackets. I mean, jesus fucking horticultural cobolwriting christ.


    Jumping on the denigrate COBOL bandwagon I see. What is it with programmers these days that they feel they have to insult all the founding languages in order to show off?


    I'm allowed to, heckface, I used to have to write in it.
  • foo 2011-10-19 21:08
    Overqualified:
    I went for an interview at a multi-national, for twice the money that I was on.
    The first part was an IBM IQ test. When the secretary, who had escorted me from the foyer, came in after 20 minutes to see if I was OK she was surprised that I had finished, as most candidates had got nowhere near at the end of the allotted hour. I had to sit for the remaining 40 minutes and a further 20 minutes whilst she checked the results, and a further 20 minutes whilst the IT Manager checked the results.
    I was eventually shown into the IT Manager’s office, and before I had a chance to sit down he announced that I had “scored higher than anyone else on site on the test and would be bored. Goodbye.” I was then escorted off-site by the secretary and a security guard.
    I think that he may have felt a little threatened. But I could have been quite happily bored for a while on twice the pay!

    They were actually accusing you of cheating on the test without speaking it out so you couldn't sue them.
  • Matt Westwood 2011-10-20 03:55
    foo:
    Overqualified:
    I went for an interview at a multi-national, for twice the money that I was on.
    The first part was an IBM IQ test. When the secretary, who had escorted me from the foyer, came in after 20 minutes to see if I was OK she was surprised that I had finished, as most candidates had got nowhere near at the end of the allotted hour. I had to sit for the remaining 40 minutes and a further 20 minutes whilst she checked the results, and a further 20 minutes whilst the IT Manager checked the results.
    I was eventually shown into the IT Manager’s office, and before I had a chance to sit down he announced that I had “scored higher than anyone else on site on the test and would be bored. Goodbye.” I was then escorted off-site by the secretary and a security guard.
    I think that he may have felt a little threatened. But I could have been quite happily bored for a while on twice the pay!

    They were actually accusing you of cheating on the test without speaking it out so you couldn't sue them.


    The real WTF there: How is it possible to cheat on an IQ test?
  • Viper-7 2011-10-20 04:08
    #1 is exactly why I rarely bother to visit thedailywtf anymore, and when I do it usually disappoints..

    TRWTF - You didn't hire him. Clearly he had a better understanding of PHP, and/or superior debugging skills to yourself. His answer was an entirely valid first step - the solution to a common occurrence of that error message.

    Posts that make it onto the site, where the only WTF is that the person posting the article is clueless, make the entire site look quite dumb.
  • no laughing matter 2011-10-20 07:55
    Matt Westwood:

    The real WTF there: How is it possible to cheat on an IQ test?

    The son of my friend Bob cheated on an IQ test once and i can assure you ...

    Honestly, if you can't find at least three different options to cheat on an IQ test within a minute then your IQ value is dangerously close to room temperature.

    In degrees Celsius.

    I'll give you a starter:
    Reducing a lower test result than your actual IQ value can also be considered cheating.

    The other options may involve "gadgets". An iQ-value, so to say.
  • ochrist 2011-10-20 08:55
    Jay:


    This type of humor is totally inappropriate. My ancestors were Norse, and I assure you that it wasn't funny at all.


    I'm surprised nobody remembered that the inventor of PHP is actually Danish (http://en.wikipedia.org/wiki/Rasmus_Lerdorf), although he might be more of Greelandic origin than viking ditto.
  • DavidTC 2011-10-20 11:48
    TRWTF is that no one noticed that #1 _won't work_. At least not if you follow the instructions exactly.

    What they have described removes the whitespace at the end of the file 'mentioned in the error'. The problem is, there are two files mentioned in those sort of the error message. They look like:

    Cannot modify header information - headers already sent by (output started at header.php:153) in file.php on line 68

    Now, you can say 'Well, it should be obvious that you should open header.php', you are correct...but I suspect that you are operating with a bit more knowledge than the sort of people who need to be told to 'open the file notepad and hold delete'. The file most obviously mentioned is file.php, and deleting whitespace in that won't solve anything.

    I suspect what happened here is that these were very basic instructions for a specific program (Wordpress was suggested.), and someone munged them to refer to 'the file mentioned in the error message' instead of a specific file. Without any realization that there would, in fact be two files mentioned.

    So we have someone with at least some googling skilled at solving problems and applying information, but sadly they appear to have no PHP knowledge at all.

    For one thing, actual PHP programmers don't spend any time making sure they don't have whitespace at the end of a header file...they just don't put the ?> marker at the end of the file, so it never goes back into 'HTML output mode'. For another thing, it could just as easily be whitespace at the start of the file, or an _actual coding mistake_ that tried to send headers after some html had been sent out on purpose.
  • Matt Westwood 2011-10-20 11:52
    no laughing matter:
    Matt Westwood:

    The real WTF there: How is it possible to cheat on an IQ test?

    The son of my friend Bob cheated on an IQ test once and i can assure you ...

    Honestly, if you can't find at least three different options to cheat on an IQ test within a minute then your IQ value is dangerously close to room temperature.

    In degrees Celsius.

    I'll give you a starter:
    Reducing a lower test result than your actual IQ value can also be considered cheating.

    The other options may involve "gadgets". An iQ-value, so to say.


    Nope, sorry, can't understand this post, in particular the sentence: "Reducing a lower test result than your actual IQ value can also be considered cheating." To "reduce" is to "make smaller". "Making a lower test result smaller than your actual IQ .." No, sorry, I'm bewildered.

    Inability to make yourself understood by (presumably) using words you don't actually know what they mean is a sign of seriously subhuman intelligence. In fact your dad may be right by calling you a retard. Now fuck off like a good boy.
  • foo 2011-10-20 14:03
    Matt Westwood:
    no laughing matter:
    Matt Westwood:

    The real WTF there: How is it possible to cheat on an IQ test?

    The son of my friend Bob cheated on an IQ test once and i can assure you ...

    Honestly, if you can't find at least three different options to cheat on an IQ test within a minute then your IQ value is dangerously close to room temperature.

    In degrees Celsius.

    I'll give you a starter:
    Reducing a lower test result than your actual IQ value can also be considered cheating.

    The other options may involve "gadgets". An iQ-value, so to say.


    Nope, sorry, can't understand this post, in particular the sentence: "Reducing a lower test result than your actual IQ value can also be considered cheating." To "reduce" is to "make smaller". "Making a lower test result smaller than your actual IQ .." No, sorry, I'm bewildered.

    Inability to make yourself understood by (presumably) using words you don't actually know what they mean is a sign of seriously subhuman intelligence. In fact your dad may be right by calling you a retard. Now fuck off like a good boy.

    OTOH, being able to parse a slighly erroneous sentence is also a sign of intelligence. Failing that, humans will soon be overtaken by computers WRT fault-tolerant input.
  • foo 2011-10-20 14:04
    Viper-7:
    #1 is exactly why I rarely bother to visit thedailywtf anymore, and when I do it usually disappoints..

    TRWTF - You didn't hire him. Clearly he had a better understanding of PHP, and/or superior debugging skills to yourself. His answer was an entirely valid first step - the solution to a common occurrence of that error message.

    I for one prefer programmers who can use their editor and don't need a braindead six-step procedure for a trivial task.
  • Jazonnneeee 2011-10-20 16:26
    +1 for /s, it made me feel so 1996!

    Captcha: "Commoveo" - Requesting help from Italian movers? "Hey Luigi! Commmoveo this couch to my nuova casa!"
  • nobody 2011-10-20 16:56
    PHPeed all over my server:
    Jean:
    The answers to the PHP question must have been ripped off the Wordpress documentation.



    Now that I understand the cause, I can honestly say the real WTF here is PHP! Even MAKE has simpler white-space rules than this! Why can't PHP interpreter handle that? Is it every PHP version?


    Then you don't actually understand the cause.
  • nobody 2011-10-20 17:47
    Matt Westwood:
    foo:
    They were actually accusing you of cheating on the test without speaking it out so you couldn't sue them.


    The real WTF there: How is it possible to cheat on an IQ test?

    The same way you cheat on any test.
  • rtmroger 2011-10-20 23:06
    Welcome to RTM, that started from manufacturing commercial and domestic cooling tools and refrigeration spare parts 10 years ago. Today, our product lines have expanded to include not just top-quality HVAC/R products , but also unparalleled automotive A/C tools. Most of our products approved “CE “, “ROHS” and ”UL” certification.
    NINGBO SPARK INC. is a manufacturing and exporting supplier for clients all around with one-stop solution of the HVAC/R products, covering Refrigerants,Refrigeration spare parts,Air-Conditioning Accessories, and Ventilation products, etc.
  • no laughing matter 2011-10-21 10:12
    Matt Westwood:

    Nope, sorry, can't understand this post, in particular the sentence: "Reducing a lower test result than your actual IQ value can also be considered cheating." To "reduce" is to "make smaller". "Making a lower test result smaller than your actual IQ .." No, sorry, I'm bewildered.

    You are just drawing assumptions out of thin air. Especially the assumption that a high IQ as test result has positive/desired consequences for you. What if a high IQ results in an obligation to take over a task you don't want?

    Producing a low test result can give you an option to escape that obligation without having to openly admit you don't like the task.

    Matt Westwood:

    Inability to make yourself understood by (presumably) using words you don't actually know what they mean is a sign of seriously subhuman intelligence. In fact your dad may be right by calling you a retard.

    Subtle, but also a little forced.

    Matt Westwood:

    Now fuck off like a good boy.

    No wonder this site attracts zuneses!
  • Reinier 2011-10-22 11:52
    The MAZZTer:

    In any case it's clear the interviewee doesn't quite understand what's going on. He figured out how to fix it in a specific case, possibly by accident, but he clearly doesn't know what it means or why it happens.


    I think he knew exactly the answer they were looking for, he just (in typical geek style) doesn't know how to explain it.
  • MrBob 2011-10-27 19:33
    C-Octothorpe:

    The funny thing was that, other than math/algo questions, he didn't even TOUCH .Net, which was funny considering it was for a senior .net role.


    That's often a good clue that they have no idea about the topic, which is why they are looking to hire someone who does. The ~4 talk about things he does know show that he's an egoist.
  • codepunk 2011-12-13 19:30
    2. "Open that file in a notepad."

    Instant interview fail, coder does not use VI.