Hacker News new | ask | show | jobs
by michaelcampbell 5417 days ago
Are you just toggling between 1 and 0?

Why not v = 1 - v?