Just realized that on 22-11–22, 22:11:22 I had exactly 212 HN karma points - surely the Universe is trying to say something…
22-11-22 22:11:22
31–40 of 40 posts
Re: 22-11-22 22:11:22
#32Unix time 1666666666 happened last month, on October 25th 02:57:46 UTC. A closer "round" number will be 1670000000, happening next month on December 2nd 16:53:20 UTC. But for 1700000000 we'll have to wait until next year, November 14th 22:13:20 2023 UTC.
1666666666 was special, though. A beast of a number, no, three beasts of a number.
I've noticed good times like that getting fewer and farther between.
Re: 22-11-22 22:11:22
#33Earlier quoted context omitted.
or 11-11-11 11:11:11 or 01-01-01 10:10:10 Interview question: write a program to list them all!
> write a program to list them all! Me: Is it OK if it doesn't print until it's done? Interviewer: Uh, sure, why not? Me: while(1){} Me: Finished. This produces the exact desired output of the program you specified. Interviewer: GTFO.
Interestingly in Haskell the only pure program of type variable “a” where a means any type at all is the one that never quits:
myProg: a
myProg = myProg
Which amounts to the same thing: it can do anything - produce any type - but it takes literally forever.Re: 22-11-22 22:11:22
#34Re: 22-11-22 22:11:22
#35Re: 22-11-22 22:11:22
#36Re: 22-11-22 22:11:22
#37happy 22-11-22 everyone, can't wait to wait for 23-11-23
Re: 22-11-22 22:11:22
#38Earlier quoted context omitted.
or 11-11-11 11:11:11 or 01-01-01 10:10:10 Interview question: write a program to list them all!
Sounds like a great Code Golf contest. ruby -e 'require"date";a=DateTime.new(0,1,1,0,0,0);(0..4e9).each{|d|b=(a+Rational(d,86400));c=b.strftime("%y%m%d%H%M%S");puts b.strftime("%y-%m-%d %H:%M:%S")if c==c.reverse}' About the most inefficient anyone could make it, but I think it works!
0..2e9|%{date(date 0).AddSeconds($_)-f 'yy-MM-dd HH:mm:ss'}|?{$_-match'(.)(.)-(.)(.)-(.)(.) \6\5:\4\3:\2\1'}Re: 22-11-22 22:11:22
#39I still regret missing Michael Scott's 05-05-05 party. It only happens once every billion years.