Replies to message #5,612

  • 🔎 If you see an alert for analytics.usips.org, this is a self-hosted system I am running as a test. It is GDPR compliant and collects no invasive information.
Nigger Caviar

Programming thread

I just feel like the obvious answer to the problem is usually the best. Its basic math. Even numbers divided by two, do not have a remainder. Its...
y a t s

Programming thread

Simple, concise, and well reasoned. Kudos. Just for an autistic level of clarity, C# doesn't do truthy/falsy ints, so it would be return number &...
Rusty Metal Skull Gun

Programming thread

All C compilers will optimize foo % 2 to foo & 1. I'd be surprised if Python doesn't do the same. Same with foo /= 2 to foo >>= 1.
Back
Top Bottom