3,114 karma · joined June 12, 2012
The solution to a DOS like this is to ignored all password attempts after N per M time.
Honestly, you should have decided based on compensation, geography, etc. The jobs are similar. But you microptimized :-)
An interview needs a greatest common denominator. That is what an undergraduate CS test is.
Holy cow FB uses my private security tokens as a source of ads?
Why hasn't the FTC shut this scam down yet?
The fact is, 90% of advertising exists because the product is not worth buying in its merits. Word of mouth recommendations and independent research studies are where good jnformarion comes from. Targeting doesn't help that.
Without auditing, calling a server open source is meaningless.
(Kidding)
And every language has the IF construct.
And of you are flipping between two implementation so frequently, your actual problem is that you have no idea how your program works.
At best, this gimmick is for hacking out some temp code while debugging, and should not be submitted.
Of course, one should just use an IDE, or even vim, to commenting out code as needed.