Lurker News
Hey HN, this site always drags me back to visit it everyday. So for that Happy New year !

Comments (258) 159 threads

Show all comments

Showing thread 15 of 159

benatkin1 reply#
The days are getting longer in the northern hemisphere and shorter in the southern hemisphere. And the start of the ISO 8601 dates is changing!

I also monitor the changes of the hexadecimal unix timestamps. The next time the first of 8 hex digits changes is in 2029.

    from datetime import datetime
    '{:02X}'.format(int(datetime.now().timestamp()))
    datetime.fromtimestamp(0x70000000)
And this spits out the year in Python: 3**2**2*5**2
_kb1 reply#
Even better, all of these are also 2025:

(20+25)²
(∑n)² and ∑n³ for n 1..9

benatkin#
Nice. A unique year indeed, since the last one was 1936, 89 years ago. It's obvious to me now - that's 2025-(45*2-1) and I can picture a row and a column at the edges of a grid being removed, wth one cell being shared between the row and column. I think maybe at some point I saw that. 1600 and 2500 are more obvious, and 2050 is the midpoint between them linearly.

The others in Python:

    sum(range(1, 10))**2
    sum(n**3 for n in range(1, 10))