I am very happy to see that today’s date is a palindrome. The digits read the same forward and backwards. This leads to a number of interesting questions.
An easy question is, when is the next date that is a palindrome?
How much more challenging question is, what percentage of all dates are palindromes?
Tomorrow (if you use little endian dates) is 22/02/2022.
To make your challenge even more challenging would be to include all the possible ways of formatting a date!
I just discovered your blog and website about two hours ago, via links on an old stackoverflow post!
https://stackoverflow.com/questions/4753055/perlin-noise-generation-for-terrain/12627930#12627930
Your post about palindrome dates reminded me of a recent previous palindrome day (12/11/21). I was working on a tool for visualizing Simplex Noise, and realized I had made a “visual palindrome” gif. If you are curious, here is the link:
https://jvm-gaming.org/t/apropos-palindrome-day-12-22-21/70622
I would be very much honored if you had any comments about the github project. https://github.com/philfrei/SiVi
Hi Phil. I love your project. And here I thought I knew the noise function forward and backward. 😉