News for hackers. Stuff that matters.
Re:The Birth and Death of JavaScript [video] by bsder on Thursday April 17, 2014 @07:09PM (#7607096)
Always give the base to parseInt in Javascript.

Always. The moment you don't, all kinds of bugs follow.

I have to go cry now at the number of times this has bitten me.

Re:The Birth and Death of JavaScript [video] by ajanuary on Friday April 18, 2014 @04:43AM (#7608480)
Not just javascript, a whole bunch of language's parseInt implementation will interpret the base from a leading zero etc.
Re:The Birth and Death of JavaScript [video] by TazeTSchnitzel on Thursday April 17, 2014 @08:41PM (#7607391)
Are there any other problems aside from octal?