The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Browse by Tags

All Tags » javascript » Python (RSS)
  • Re: A very good spambot protection...

    It's valid JavaScript and Python too.
    Posted to Forum by Exteris on 01-13-2008
  • Re: mozilla lightning wtf:)

    aikii: As modulo is an integer function, that's asking for problems. On python and ruby, this works fine. Javascript yields WTFed floats : 3.1%1 = 0.10000000000000009 , 5.4 = 0.40000000000000036 Funny that JavaScript's result is a "WTF", yet Python, which returns exactly the same thing, is "fine". But...
    Posted to Forum by iwpg on 03-19-2007
Page 1 of 1 (2 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems