News for hackers. Stuff that matters.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by tlrobinson on Thursday November 15, 2007 @03:13AM (#80091)
Does anyone know of any other job puzzles like this? The only ones I've seen are Facebook and Meebo:

http://www.facebook.com/jobs_puzzles/

http://blog.meebo.com/jobs#web

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by marcus on Thursday November 15, 2007 @09:41AM (#80190)
http://www.itasoftware.com/careers/puzzles07.html Has a couple of very nice puzzles.

http://www.icfpcontest.org/ And ICFP contests are always fun

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by altay on Thursday November 15, 2007 @01:57AM (#80053)
any other douglas adams fans in the house? =)
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by rglullis on Thursday November 15, 2007 @02:19AM (#80061)
Maybe I shouldn't have read so much Douglas Adams and got a little more focused on learning Javascript. The idea that I still haven't got past the first step pisses me off.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by jamiequint on Thursday November 15, 2007 @02:33AM (#80069)
If you don't like JS, curl should be your friend :D
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by tlrobinson on Thursday November 15, 2007 @03:08AM (#80088)
For the first step, yes... but that's just the first step...

And actually, I couldn't get curl to work... I'm guessing I wasn't setting the referrer or user agent right or something.

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by veritas on Thursday November 15, 2007 @12:05PM (#80251)
Erm... this maybe a silly question, but how far are we supposed to take this?

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by davidmathers on Friday November 16, 2007 @06:46PM (#80837)
You're supposed to construct the most powerful computer that has ever existed. Use it to help you create an even more powerful computer. Then let it compute for 10+ million years, while protecting it from outside interferences.

Obviously.

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by amichail on Wednesday November 14, 2007 @10:07PM (#79969)
This must be the first startup I have seen that is "passionate" about what they are trying to do!
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by tlrobinson on Thursday November 15, 2007 @01:54AM (#80050)
Meebo and Facebook have puzzles too.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by llimllib on Thursday November 15, 2007 @12:22AM (#80007)
< 15 minutes to solve. (I think. I come up with an answer string, but don't see anywhere that it would conceivably go?)

Firebug rocks.

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by rglullis on Thursday November 15, 2007 @12:52AM (#80013)
Is this supposed to be an all Javascript puzzle? I am passing the current time, and the damn thing still complains about the wrong token.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by llimllib on Thursday November 15, 2007 @01:06AM (#80021)
passing the time worked for me
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by rglullis on Thursday November 15, 2007 @01:18AM (#80028)
WTF?

 function solvePuzzle() {
     var t = new Date()
 
    var time = t.getTime();
    
    var params ="";
    params += 'pos=solvepuzzle';
    params += "&";
    params += 'auth=' + time.toString();

   
	new Ajax.Request('/weebly/publicBackend.php', {parameters:params,  onSuccess:handlerSolvePuzzle, onFailure:function() { alert('Transmition error. Please try again.'); }});

  }

 solvePuzzle();
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by altay on Thursday November 15, 2007 @01:27AM (#80033)
getTime() gives you milliseconds. you want seconds.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by rglullis on Thursday November 15, 2007 @01:34AM (#80038)
Danke sehr...

But still not enough.

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by altay on Thursday November 15, 2007 @02:29AM (#80067)
ummm... well, how might one convert milliseconds to seconds? here are a few ideas:

- write a screenscraper to get the answer from here: http://www.google.com/search?hl=en&q=1000+milliseconds+t...

- or perhaps hook your function up to the search API to get the answer that way (not sure if you can access the calculator through the API, though)

- or maybe just divide by 1000.

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by tlrobinson on Thursday November 15, 2007 @02:18AM (#80059)
Why so verbose? Am I the only one who likes concise code?

'pos=solvepuzzle&auth='+(new Date()).getTime()

edit: yes, that's milliseconds

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by rglullis on Thursday November 15, 2007 @02:20AM (#80063)
Did it work?

I broke down so that I could change the string more easily.

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by brett on Thursday November 15, 2007 @01:25AM (#80032)
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by rglullis on Thursday November 15, 2007 @01:34AM (#80037)
Isn't that what I am doing by using getTime() ?
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by ed on Thursday November 15, 2007 @03:23AM (#80094)
You need seconds. Also make sure your system clock is accurate and that you're in Weebly's time zone.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by rglullis on Thursday November 15, 2007 @12:35PM (#80261)
I got back to it now. Still not working...

 - Divided by 1000. 
 - Changed the clock to Pacific time
 - rounded using either parseInt, Math.round and Mouth.ceil

All failed.

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by veritas on Thursday November 15, 2007 @12:42PM (#80266)
Dude... you're trying too hard on a trivial area.

You only have to be close by 60 seconds give or take, so just hard code in the timestamp: http://www.unixtimestamp.com/

It's a pain in the ass to change every minute, but it works and you'll get on with the rest of it.

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by rglullis on Thursday November 15, 2007 @01:50PM (#80307)
Nope. Still not working.

I changed the timezone in my computer, calculated time differences. Everything. What is getting on me is precisely the fact that this is supposed to be so trivial.

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by drusenko on Thursday November 15, 2007 @05:17PM (#80391)
I think unix time is set in UTC, not PST. that might help.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by tlrobinson on Thursday November 15, 2007 @02:52AM (#80082)
If it looked something like this you're not done:

YWxlcnGZvbGxvd2luZzogQoJ1zZWNyZXQgY29kZSB1zZWNyZXQgGZvbGxvd2luZzogY29pczYioyK==

Re:Creative Hiring: Solve the puzzle in this jobs page and g... by llimllib on Thursday November 15, 2007 @07:51AM (#80156)
No, I got to the DNA
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by drusenko on Thursday November 15, 2007 @02:43AM (#80078)
you're about half way there...
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by croby on Thursday November 15, 2007 @04:52PM (#80380)
fun! thanks for distraction at work :)
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by jaed on Wednesday November 14, 2007 @10:41PM (#79974)
Uhmmm...check the source code.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by juanpablo on Wednesday November 14, 2007 @11:01PM (#79977)
duh
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by insertcoin on Wednesday November 14, 2007 @11:24PM (#79985)
that's pretty pathetic. At least bury the 'puzzle' in a css or js file so that it's not the first thing you see.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by brett on Wednesday November 14, 2007 @11:36PM (#79990)
I'm kind of confused about what the three of you are talking about. Yes, the clue to the puzzle is in the source code; I think that's where they were going with "embedded". "an hour" might be an extreme upper bound, but it's not like getting from the page source to the answer was instantly obvious or trivial. "pathetic" is definitely way over the top.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by drusenko on Thursday November 15, 2007 @02:42AM (#80077)
it's not really meant to be a hard puzzle, per se (that would be pointless and a waste of time). it's just intended not to be really really easy, and useful enough for us to say "this could be a good candidate" based on getting the correct answer.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by ed on Thursday November 15, 2007 @03:41AM (#80098)
Well the problem with this puzzle wasn't its level of difficulty, just that it was awkward to complete. It seemed more like a test of my Firebug abilities than anything else.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by drusenko on Thursday November 15, 2007 @03:48AM (#80100)
the fact that you're using firebug, know some basic concepts, can debug javascript and can formulate your own POST requests puts you above quite a few of the applicants we've seen.
Re:Creative Hiring: Solve the puzzle in this jobs page and g... by mkull on Thursday November 15, 2007 @12:51AM (#80012)
you failed the puzzle