16

<<---First clue

<---Previous clue


As you sit at the computer that you used to solve the last puzzle, a popup window opens. It appears to be a Stack Overflow question, with a very generic name: Why isn't my code working?

As you look closer, however, you notice several things - the URL has been blocked out, along with the name and avatar of the OP. The question score is at -18. Based upon this information, you assume that it must be your next Clue.

!(function(fivetimesthree){
va one = parsent('5D0', Math.og2(65536));
var two = fivetiesthree * 101 - 1;
var  three = Date.parshe('1/1/1970 0:00:01.489 GMT+0');
var four = one + two - three;
et first_two = String.fromCharCode(one, two);
cnst last = eval(`'\\u0${three.toString(16)}'`) + JSON.parse(JSON.stringify(our.toString(16)).replace(/"/,'"\\u0'));
console.lo([last, first_two].reerse().join(''));
})(5*3);

Next clue--->

Scimonster
  • 680
  • 4
  • 22

3 Answers3

8

Partial answer

There are many coding errors, mostly due to a missing or superfluous letter.
Here is a list of those I found so far.
var
parseint
log
fivetimesthree
parshe
let
const
four
log
reverse
Which gives : r i l m h l o f g v
5D0 might also be a superfluous letter.
Also strongly suggested by OP that the extra space between var and three is a superfluous char.
From @Marius : "There is also a zero missing in 0:00:01" which could possibly be relevant.

stack reader
  • 9,830
  • 1
  • 27
  • 77
  • There is another g missing in console.log – Techidiot Dec 19 '16 at 09:54
  • 1
    @Techidiot wow my bad. log is up there but I highlighted the wrong letter lol! – stack reader Dec 19 '16 at 10:01
  • 1
    Actually, there were 2 typos with log so not you mistake :) – Techidiot Dec 19 '16 at 10:05
  • @Techidiot yeah, just found out the math.og2 one while searching for more. – stack reader Dec 19 '16 at 10:06
  • This means the letter 'l' is missing twice. – CinCout Dec 19 '16 at 10:06
  • I see a zig zag forming in the typos :) Not sure if its relevant. – Techidiot Dec 19 '16 at 10:08
  • There is also a zero missing in 0:00:01, not that it parses properly if I added, but just saying. – Marius Dec 19 '16 at 10:26
  • 3
    The D in 5D0 is not an error. The ! at the start probably is one. The code calculates the values 1488, 1514, 1489 and 1513 which get interpreted as (unicode) characters and printed. If the program were working it would print the hebrew letters ATBS. Not sure how that helps with the typing errors. – w l Dec 19 '16 at 11:11
  • You correctly identified most of the mistakes in the code, but Gareth actually solved the puzzle, so the checkmark goes to him. The D and 0 are both incorrect BTW. – Scimonster Dec 19 '16 at 17:35
8

The

"wrong" letters I have found (NB these are the same ones as listed by stack reader, plus the extra space, but as it happens I found them independently)

when transformed by

A->Z, B->Y, ..., Z->A,

yield the phrase

"iron solute".

Why that transformation? Because

if you fix the bugs in the code, what it puts in the console log is "Atbash" in Hebrew letters.

At Scimonster's request, here is the code with the bugs taken out:

!(function(fivetimesthree){
var one = parseInt('5D0', Math.log2(65536));
var two = fivetimesthree * 101 - 1;
var three = Date.parse('1/1/1970 0:00:01.489 GMT+0');
var four = one + two - three;
let first_two = String.fromCharCode(one, two);
const last = eval(`'\\u0${three.toString(16)}'`) + JSON.parse(JSON.stringify(four.toString(16)).replace(/"/,'"\\u0'));
console.log([last, first_two].reverse().join(''));
})(5*3);

On my browser, this actually still doesn't work and I have to fix up the date to something like this:

var three = Date.parse('1970-01-01 00:00:01.489+0000');

at which point I get the following in the console:

אתבש

Gareth McCaughan
  • 119,120
  • 7
  • 313
  • 454
4

The letters found by stackreader and wl give
rilm h0lofgvATBS
, which is

an anagram for 'BfSAlgoriThm lv0', which might mean 'Breadth-first-search algorithm level zero', that is the root of a search tree.

So the solution of this clue is probably

root

elias
  • 9,612
  • 3
  • 35
  • 59