Joined November 2012
·
Achievements
139 Karma
0 Total ProTip Views
Forked 20
Have an established project that's been forked at least 20 times
Cub
Have at least one original jQuery or Prototype open source repo
Philanthropist
Truly improve developer quality of life by sharing at least 50 individual open source projects
Raven
Have at least one original repo where some form of shell script is the dominant language
Komodo Dragon
Have at least one original repo where Java is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Altruist
Increase developer well-being by sharing at least 20 open source projects
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Python 3
Have at least three original repos where Python is the dominant language
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
T-Rex
Have at least one original repo where C is the dominant language
Desert Locust 3
Have at least three original repos where Erlang is the dominant language
Desert Locust
Have at least one original repo where Erlang is the dominant language
The idiomatic way to do this without parseInt is to use
|0
. This is also the approach adopted by the asm.js spec. The effect is the same as~~
. For example,'1387037027228'|0 === -237409380
.The
~
operator is called bitwise not.~123 === -124
as this is two's complement arithmetic. The sign does change, but that's not the only thing that changes. The unary - operator performs negation. http://www.ecma-international.org/ecma-262/5.1/#sec-11.4.8