News for hackers. Stuff that matters.
Re:A recruiter sent me a message in code. I fixed it by TamDenholm on Friday December 30, 2016 @12:39PM (#13285719)
This feels to me like when you're a teenager and your parents try to be cool around your friends but it only makes you more embarrassed and want nothing to do with them.
Re:A recruiter sent me a message in code. I fixed it by dcsommer on Friday December 30, 2016 @01:14PM (#13285986)
There's a great German word for this exact feeling: fremdschämen.
Re:A recruiter sent me a message in code. I fixed it by mastermindxs on Friday December 30, 2016 @02:20PM (#13286584)
Is that pronounced "friend shaming"?
Re:A recruiter sent me a message in code. I fixed it by kafkaesq on Friday December 30, 2016 @06:22PM (#13288388)
ˈfʀɛmtˌʃɛːmən, or if you will: "FREMT-shay-men". (You need to gurgle a bit, or at least hint at gurgling, when doing the 'R', now).

However you pronounce it -- I find it hard to have any kind of empathy at all for recruiters (internal or external), and hence, can't quite imagine myself "feeling a sense of shame for them in their place" (per the generic translation).

Re:A recruiter sent me a message in code. I fixed it by superplussed on Saturday December 31, 2016 @04:31AM (#13290322)
I don't see an 'R' in there?
Re:A recruiter sent me a message in code. I fixed it by dcsommer on Friday December 30, 2016 @02:37PM (#13286729)
Fremd actually means foreign, referring to the external source of the shame (schämen).
Re:A recruiter sent me a message in code. I fixed it by amorphid on Friday December 30, 2016 @12:53PM (#13285810)
When I was a recruiter learning to code, I posted a personal's ad written in SQL on Craigslist. Ended up going out on a date with a DBA :) She was a falconer, and we took her hawk out to hunt crows.
Re:A recruiter sent me a message in code. I fixed it by qwertyuiop924 on Friday December 30, 2016 @01:10PM (#13285954)
Wow. It is hard to do that in a way that doesn't come off like... this thing.
Re:A recruiter sent me a message in code. I fixed it by amorphid on Friday December 30, 2016 @01:36PM (#13286152)
In grad school I took a class on creativity from Mihaly Csikszentmihalyi[1]. He described a creative idea as something that stands apart from other ideas in the same basket.

Think of a large pile of plain ol' red bricks. Now show that pile ask 100 people who know nothing about bricks the question "what can yo do with this pile of bricks?" If 99 people say "build a worker computer by <brick-to-computer-process>", and 1 person says "build a house", then "build a house" is the most creative answer in that sample.

Writing a SQL ad that was basically just a simple query using SELECT, FROM, WHERE. If 100 SQL writers wrote an ad, I don't think mine would have been all that creative, using the definition mentioned above. But as the only SQL-flavored ad in the personals section, it stood out as creative :)

[1] https://www.amazon.com/Creativity-Flow-Psychology-Discovery-...

Re:A recruiter sent me a message in code. I fixed it by qwertyuiop924 on Friday December 30, 2016 @03:30PM (#13287160)
Yes. However, there is a difference between creative and good: Most recruiter emails don't look like what OP got. But that doesn't make that one good.

Yours seems to have been good.

Re:A recruiter sent me a message in code. I fixed it by Mathnerd314 on Friday December 30, 2016 @01:20PM (#13286034)
Clearly you shared some common interests. Was there a second date?
Re:A recruiter sent me a message in code. I fixed it by amorphid on Friday December 30, 2016 @01:23PM (#13286060)
No, we were pretty different. But I did introduce her to my former boss. Don't know if they hit it off or not.
Re:A recruiter sent me a message in code. I fixed it by hekker on Friday December 30, 2016 @01:04PM (#13285914)
Strong story.
Re:A recruiter sent me a message in code. I fixed it by GFK_of_xmaspast on Friday December 30, 2016 @03:24PM (#13287128)
What did those crows ever do to you.
Re:A recruiter sent me a message in code. I fixed it by bryanrasmussen on Friday December 30, 2016 @03:38PM (#13287231)
Probably not willingly sacrifice themselves to the falcon I would guess.
Re:A recruiter sent me a message in code. I fixed it by andrewvijay on Friday December 30, 2016 @01:47PM (#13286244)
Heckin wow
Re:A recruiter sent me a message in code. I fixed it by bryanrasmussen on Friday December 30, 2016 @03:56PM (#13287368)
jokes on the coder, that's actually written in recscript, a little known scripting language with a sort of C like syntax targeting Microsoft's old ActiveScripting framework.

The Document object is one of the 7 special objects available in the language (others: Resource [every other special object is an instance of Resource], Sheet, Calendar, Sound, Presentation, Database, Browser). Since there isn't any use of the Create Document statement before usage I'm guessing this is after version 2.14 of the language in which Create was dropped as unnecessary (a bit of syntactical sugar).

Anyway Document instantiates a Microsoft Word object and saves it to recscript Documents folder automatically, all text inside of it is indexed, so you can also do stuff like Resources.find("you’fe killing me! Contact me because I desire this");

By the way the recscript code editor which provided an advanced code execution environment to develop in (something like JsFiddle only years prior) also supported open and close parenthesis.

IIRC the open and close parenthesis had special semantic meaning in the language.

Re:A recruiter sent me a message in code. I fixed it by foota on Friday December 30, 2016 @10:11PM (#13289223)
Wow, really? I wasn't able to find any reference to this online.
Re:A recruiter sent me a message in code. I fixed it by qwertyuiop924 on Thursday January 05, 2017 @10:48AM (#13328033)
...Poe's Law strikes again.
Re:A recruiter sent me a message in code. I fixed it by AdeptusAquinas on Friday December 30, 2016 @12:57PM (#13285843)
Spelling mistake on line 43 of the revised code: 'and' should be 'an'. That's just sloppy.

I am working with a french developer right now (English second language) who is really good, but peppers his code with minor grammatical or spelling errors. He is slowly driving me insane and doesn't know it :D

Re:A recruiter sent me a message in code. I fixed it by riebschlager on Friday December 30, 2016 @01:01PM (#13285882)
Fixed!

Man. Having my code looked at by HN (even if it's a joke) feels like one of those dreams where you show up to school in your underwear.

Re:A recruiter sent me a message in code. I fixed it by qwertyuiop924 on Friday December 30, 2016 @01:12PM (#13285972)
I'm barely a developer, and I'm in highschool.

I'm so used to getting told I'm an idiot that I don't even react anymore.

Re:A recruiter sent me a message in code. I fixed it by sqeaky on Friday December 30, 2016 @01:23PM (#13286054)
The secret is that we are all idiots. Some just refuse to recognize it and act like jerks because of it. None of us actually "know" most of what we know.

It's unprofessional to start calling names. It's generally uncouth to even start the argument unless you have really strong evidence and can back off when that proves insufficient. Don't be bothered when they don't have the evidence to back it up, but when they do have the evidence fix whatever caused them say it and keep some evidence.

Re:A recruiter sent me a message in code. I fixed it by qwertyuiop924 on Friday December 30, 2016 @03:27PM (#13287148)
Exactly.

My rule is that if someone calls me out on being wrong, I'll argue, and do my best to support my point. If they provide a better argument, than I'll concede.

Because if you can't admit you're wrong, you'll never learn anything.

Re:A recruiter sent me a message in code. I fixed it by KirinDave on Friday December 30, 2016 @12:54PM (#13285820)
I think the nested while loops are trying to capture the logic that they won't leave you alone without trying at least twice.

Sadly the do-while loop structure is largely lost on modern developers.

Re:A recruiter sent me a message in code. I fixed it by tyingq on Friday December 30, 2016 @12:48PM (#13285773)
Tried fixing it so it would run, and the hardest bit was recognizing that the double-quotes weren't actually double-quotes, but rather these two characters: “ ”
Re:A recruiter sent me a message in code. I fixed it by shortstuffsushi on Friday December 30, 2016 @12:53PM (#13285809)
I may have asked this here before, or perhaps elsewhere... but why do these characters exist? "Smart" quotes end up breaking things for me so frequently, I've never actually wanted them in any case I can think of. Same goes for en/em dashes. I literally spent a day and a half trying to track down an issue less than a month ago, only to realize as I got to the point of inspecting bytes that I wasn't looking at a regular dash (and incidentally that the SDK I was interacting with doesn't support extended characters).
Re:A recruiter sent me a message in code. I fixed it by robin_reala on Friday December 30, 2016 @01:04PM (#13285908)
Non-‘smart’ quotes (aka typewriter quotes) exist only because space on typewriter keyboards was limited. If we should get rid of any double-quotes then it would be " which has no semantic meaning (unlike “ and ” which open and close a quotation, and ″ which among other things is the unit mark for inches).
Re:A recruiter sent me a message in code. I fixed it by AnimalMuppet on Friday December 30, 2016 @01:16PM (#13286005)
" has semantic meaning in code, whereas “ and ” have semantic meaning in text. If you're a coder, you want " and only ". You especially don't want "helpful" software that thinks you should want text quotes, and tries to fix them for you.
Re:A recruiter sent me a message in code. I fixed it by tyingq on Friday December 30, 2016 @01:01PM (#13285880)
I don't agree with the premise, but here it is: http://smartquotesjs.com/
Re:A recruiter sent me a message in code. I fixed it by shortstuffsushi on Saturday December 31, 2016 @02:42PM (#13292757)
shudder
Re:A recruiter sent me a message in code. I fixed it by 50CNT on Friday December 30, 2016 @01:23PM (#13286059)
Example in a similar vein, was trying to split Chinese characters by ',', but they were separated by ','.
Re:A recruiter sent me a message in code. I fixed it by greydius on Friday December 30, 2016 @03:42PM (#13287262)
They exist to mess with people that copy/paste code from the internet.
Re:A recruiter sent me a message in code. I fixed it by shortstuffsushi on Saturday December 31, 2016 @02:42PM (#13292749)
Or from any "smart" editor like Outlook.
Re:A recruiter sent me a message in code. I fixed it by Tempest1981 on Friday December 30, 2016 @12:52PM (#13285794)
Smartquotes... some word processors do that automatically.

http://smartquotesjs.com

Re:A recruiter sent me a message in code. I fixed it by throwaway2016a on Friday December 30, 2016 @12:54PM (#13285817)
More annoyingly, Skype does it. Nothing is worse than when I just want to send a small snippet of code to a colleague and Skype changes all my quotes.
Re:A recruiter sent me a message in code. I fixed it by gizmodo59 on Friday December 30, 2016 @04:23PM (#13287585)
Do something like this in skype: {code} printf("Hello World!"); {code}
Re:A recruiter sent me a message in code. I fixed it by throwaway2016a on Friday December 30, 2016 @12:53PM (#13285806)
More accurate title would be "I code reviewed it"... I don't see a working fixed script anywhere.

Edit: I stand corrected. For some reason I thought that was the only file in the repo. It's been a long week but I have no excuse.

Re:A recruiter sent me a message in code. I fixed it by kevan on Friday December 30, 2016 @12:56PM (#13285838)
There's more than just a readme in the repo:

https://github.com/riebschlager/linkedin-recruiter-email/blo...

Re:A recruiter sent me a message in code. I fixed it by benders_game on Friday December 30, 2016 @12:58PM (#13285851)
It's there. Look at "recruiter-email.js" in the repo.
Re:A recruiter sent me a message in code. I fixed it by praptak on Friday December 30, 2016 @12:39PM (#13285721)
"Clever" messages in code were clever back in... actually they never were.
Re:A recruiter sent me a message in code. I fixed it by mysterydip on Friday December 30, 2016 @12:54PM (#13285814)
That might be part of the use case, though: removes non-techy people from the use of code, and removes techy-people-who-dont-need-me because it's a lame attempt to be clever, helping to narrow the recruiter's net to people more willing to work with them.
Re:A recruiter sent me a message in code. I fixed it by qwertyuiop924 on Friday December 30, 2016 @01:09PM (#13285942)
Sheesh. If you've got it, don't be afraid to show it. But do so cleanly. Not with something like this

And if you don't have it, than don't bother trying: you're trying to hire those who do: doing this doesn't make you look smart.

Also, use \<newline> to keep your code at 80 columns. I actually don't care if it's exactly 80, but excessively long lines are a pain to read.

Re:A recruiter sent me a message in code. I fixed it by quinnftw on Friday December 30, 2016 @01:05PM (#13285916)
You would think someone that works at LinkedIn, a company that likely employees hundreds (thousand(s)?), of engineers would have this proof read before sending it off to potential applicants. This is a real turn off.
Re:A recruiter sent me a message in code. I fixed it by riebschlager on Friday December 30, 2016 @01:08PM (#13285931)
To be clear, this was a recruiter ON LinkedIn, not a recruiter FROM LinkedIn.
Re:A recruiter sent me a message in code. I fixed it by quinnftw on Friday December 30, 2016 @01:09PM (#13285937)
OH! Haha my mistake, that wording is naturally ambiguous.
Re:A recruiter sent me a message in code. I fixed it by vinayan3 on Friday December 30, 2016 @01:38PM (#13286170)
It could be the code was sloppy on purpose to illicit a response from you.
Re:A recruiter sent me a message in code. I fixed it by riebschlager on Friday December 30, 2016 @01:40PM (#13286187)
That's a good point. Maybe this was a test. Maybe he'll write me another message saying, "Well done, you passed. You may now have this entry-level developer position that is completely wrong for you and matches none of your skills or interests."
Re:A recruiter sent me a message in code. I fixed it by taurath on Friday December 30, 2016 @01:42PM (#13286203)
When does someone make RecruiterEmail EnterpriseEdition?
Re:A recruiter sent me a message in code. I fixed it by MichaelBurge on Friday December 30, 2016 @01:32PM (#13286113)
Google docs will capitalize keywords in your code if you don't disable it. I haven't tried it, but I imagine they ruin your indentation too.
Re:A recruiter sent me a message in code. I fixed it by dabber on Friday December 30, 2016 @01:41PM (#13286192)
If any one wants a bunch of emails from curious HNers the domain the script addresses the email to is unclaimed.

supertechcoderhirepeople.com

Re:A recruiter sent me a message in code. I fixed it by TheCapn on Friday December 30, 2016 @01:31PM (#13286112)
Didn't he miss a closing brace with the While-While-If structure and only ending with two closing braces?
Re:A recruiter sent me a message in code. I fixed it by Fjolsvith on Friday December 30, 2016 @01:51PM (#13286280)
Yes, I noticed that too.
Re:A recruiter sent me a message in code. I fixed it by gshulegaard on Friday December 30, 2016 @12:48PM (#13285768)
Just curious, but why does capital "If" make you think of Python?
Re:A recruiter sent me a message in code. I fixed it by riebschlager on Friday December 30, 2016 @12:50PM (#13285782)
Hmm. I said the snake case made me think of Python. The capital "If" just made me think "Microsoft Outlook really insists that you capitalize things."

Edit: Oh! I just re-read that sentence. Yeah, I can see why you thought that. I'll fix it. :)

Re:A recruiter sent me a message in code. I fixed it by deckar01 on Friday December 30, 2016 @01:44PM (#13286219)
I believe `If` is Visual Basic syntax. ;)
Re:A recruiter sent me a message in code. I fixed it by andrewvijay on Friday December 30, 2016 @01:46PM (#13286238)
They better recruit him
Re:A recruiter sent me a message in code. I fixed it by mrkabuki on Friday December 30, 2016 @02:04PM (#13286406)
What a shit piece of code. Recruiters should stop trying to be cool
Re:A recruiter sent me a message in code. I fixed it by akhilcacharya on Friday December 30, 2016 @11:32PM (#13289496)
"How do you do my fellow developer"