Live data from Hacker News

Looking for a job at Google? We’re hiring coders with 3xp3r13nc3 1n l337

google.com

1–6 of 6 posts

Re: Looking for a job at Google? We’re hiring coders with 3xp3r13nc3 1n l337

#4
That is surprisingly easy to read, as long as I just sort of scan it and don't focus too much on the individual letters, but if I actually pay attention closely, I trip over the substitutions. Interesting to see the effects of different subconscious cognitive strategies at work.

Re: Looking for a job at Google? We’re hiring coders with 3xp3r13nc3 1n l337

#6
var sample = [['50f7w4r3', 'software'], ['3n61n33r5', 'engineers'], ['h4v3', 'have']];

var mapping = sample.reduce((mapping, word) => { var leet = word[0], en = word[1]; var letters = leet.split(''); letters.forEach((letter, i) => { mapping[letter] = en[i]; }); return mapping }, {} )

var divs = [].slice.call(document.body.querySelectorAll('div'));

divs.forEach(div => { div.addEventListener('click', function(ev){ ev.stopPropagation(); div.textContent = div.textContent.split('').map(c => { var result = ''; if (c in mapping) { return mapping[c] } else { return c } }) .join('') }) })