News for hackers. Stuff that matters.
Re:A faster way to calculate the day-of-the-week by rackp on Thursday August 20, 2026 @04:46AM (#49372026)
Speaking of calculating the day of the week, I remember seeing someone on TV about twenty years ago who could correctly tell you the day of the week for any given date. I doubt they were doing such complex calculations, so they might have had a special method. If I recall correctly, it was a young boy with savant syndrome, so he might have simply memorized an incredible number of patterns...
Re:A faster way to calculate the day-of-the-week by mnw21cam on Thursday August 20, 2026 @08:08AM (#49373494)
See the Doomsday algorithm, discussed elsewhere on this thread. https://en.wikipedia.org/wiki/Doomsday_rule
Re:A faster way to calculate the day-of-the-week by unfunco on Thursday August 20, 2026 @04:51AM (#49372065)
There was this[0] famous answer on University Challenge, but it's a pretty simple calculation.

[0]: https://www.youtube.com/watch?v=-dh7COSiB7g

Re:A faster way to calculate the day-of-the-week by marysol5 on Thursday August 20, 2026 @05:16AM (#49372238)