Cheating for an application

merlyn on 2004-08-13T14:07:41

OK, this frosts me. There's a Perl job posting that wants the applicant to solve a problem:

Given a string of arbitrary length, write a perl program that will print out the palindrome(s) of longest length in the string. Assume there are no special characters, so "!c aba c!" would be considered a palindrome; also, in "abcbb", "bcb" would be considered a palindrome. Assume the string is coming in via STDIN.
This is actually a nice clever problem. I'm sure MJD could solve this while typing one-handed during a television commercial break, but I know that I had to think for at least five or ten minutes before getting a decent solution.

However, as if to completely spit in the face of this challenge, a Perl Monastery monk known only as BUU has decided to post the question openly, without any reference to the job posting. And as a result, got a lot of clever solutions, more clever than his first attempt.

It took another clever monk to figure out what was going on. Thank goodness for the eyes of Limbic~Region.

Look, I know times may be desparate and all, but to resort to cheating... that really frosts me.


I can imagine...

phillup on 2004-08-13T15:22:50

I can imagine a person looking at the job advertisement and deciding that they won't apply because of the location (or some other reason).

Yet, they may wonder how they would stack up. So, they work on a solution to the problem... and, with that in hand... trot off to one of the places they hang out (regularly from the looks of it) and ask others to participate in the "competition".

I can imagine many, many reasons for not mentioning the source of the original problem. (One being the issue at the forefront is coming up with the best solution to *this* problem... not where the problem came from.)

I can imagine actually submitting a resume, and a solution... and *then* wondering how I stack up. And asking others for their solutions so I can compare them.

I can imagine your scenario being correct.

I can also imagine the damage done to someone's reputation if you are not correct.

What I can not imagine, is my Perl super powers being so great that I can devine the truth from the data shown. (I'm only at Level 7 on the Perl Medic scale.)

How *do* you do it?

Re:I can imagine...

merlyn on 2004-08-13T15:53:23

I'm not saying that I have the only possible explanation for the events, given the apparent facts. I hope it's clear as to what parts of my statements are facts, and what parts are conclusions I've drawn. If you draw a different conclusion, that's entirely your choice. I would hope that you're an independent thinker.

Re:I can imagine...

phillup on 2004-08-13T17:41:32

If you draw a different conclusion, that's entirely your choice.

Sadly, I didn't.

And that got *me* "frosted". So, I went upstairs and got another cup of coffee.

Then, I remembered that once or twice in my life I've been wrong. (did I say "life"? ;-))

With that in mind, I would have use a sniper rifle instead of a shot gun. But I would still pull the trigger.

So, I would have simply sent an email to the company alerting them to the thread and let them decide on what to do should any of the submissions be similar.

That way, if none were... no other damage would have occurred.

But, that is just me.

(And... being me, I can assure you that the email would not be nearly as effective as coming from you. ;-))

Innocent bystanders

brian_d_foy on 2004-08-13T15:26:37

This sounds like those exploits to get around the images that contain the magic word that websites want you to type in, so I blogged the story over at O'Reilly.

Re:Innocent bystanders

japhy on 2004-08-13T21:28:05

I don't think buu crossed any terrible lines, like some people are accusing him of doing. That aside, I'm curious what exactly you meant in your O'Reilly post when you wrote:

A poster calling himself only "BUU"

I'm curious why it matters what his perlmonks nickname is. I call myself only "japhy"; what's the big deal? It sounds like you're trying to create a sinister atmosphere.

Re:Innocent bystanders

merlyn on 2004-08-13T22:02:58

I believe the operative word there is only. We all know who "japhy" there is. It's you. We've met you. You make no secret of your alias. But BUU is only BUU... an anonymous poster.

Re:Innocent bystanders

brian_d_foy on 2004-08-14T04:30:45

I only say that because I have no other way to identify him. You should notice that I also try to attribute quotes and code to real names in my other blogs. I tend to that here either too, if I know who people are or can find out their name.

I don't mind the use of handles or nicknames, but I think people should own up to who they are. I certainly put my real name with my posts.

Note why L~R knew about it

fizbin on 2004-08-13T16:56:39

The reason Limbic~Region knew that this was a job posting is that BUU had been talking about that job posting and pointing people to the puzzle in the chatterbox. (I missed that conversation, but was there later yesterday when L~R referred to it and so had already seen the job posting myself)

I don't know what exactly it adds to things, but if a cheat at all, BUU was being an incompetent cheat by first telling people in the chatterbox about the job posting, and then saying he was going to make a SoPW post about it.

Just like the real world

delegatrix on 2004-08-21T12:14:08

I don't think this is a big deal. The guy posted his own attempt at an answer, too. If I couldn't consult with colleages (or the CookBook), I'd have a much harder time at work. In interviews, I actually ask prospective employees what sites they like to use as resources. If the goal is to see how people think, don't give them a take home test.

Re:Just like the real world

KLB on 2004-09-24T22:05:32

Indeed, this is not "cheating" even if he intended to use the posted solutions to apply for the job. If you don't know how to come up with the best solution yourself, from an employer's standpoint, knowing where to get it is 99.44% as good. Nobody would object to someone Googling to see if there was a script out there to solve the problem. Well, thanks to that thread, Googling will now find many solutions.