4 ms·
From a favourite Reddit thread: - Why in the hell would a date value-- particularly one that's an offset-- be signed? - - How were you planning on indicating
by dredmorbius 7y ago
From a favourite Reddit thread:
- Why in the hell would a date value-- particularly one that's an offset-- be signed?
- - How were you planning on indicating dates prior to 1970-01-01?
- - - What date before 1970? We just all assume those do not exist.
- - - - "Now you've made me feel old." "How old are you?" "Let me put it this way: when I was born, time didn't exist."
https://old.reddit.com/r/programming/comments/2b4kpg/conspiracy_and_an_offbyone_error/cj2p2dk/ https://old.reddit.com/r/programming/comments/2b4kpg/conspir...
The full context is ... kind of fun:
https://old.reddit.com/r/programming/comments/2b4kpg/conspiracy_and_an_offbyone_error/cj1z7x1/?context=3 https://old.reddit.com/r/programming/comments/2b4kpg/conspir...
- unlinked_dll 7y agoWell if we bite the bullet and use a 512 bit unsigned int we can represent time zero as the Big Bang and we should be good until the heat death of the universe, based on my napkin math. But I'm no physicist or kernel contributor so unsure of the implications.
- war1025 7y agoWhat happens when we revise the moment of the Big Bang? Maybe need signed 1024 bit just in case.
- unlinked_dll 7y agoMight as well just make it signed at that point. We'll never need more than kilibit to represent time.
- mekster 7y agoNo way. Do we know exactly when big bang was or that a second has always been a second since then? We don't want time implementations based on some definition of big bang version 1.1.3 and all other versions as physicians change the definition of time since big bang.
- apodysophilia 7y agoIf the big rip theory is correct, then 64 bits will suffice.
- Izkata 7y agoHuh, just realized - time ends at pi-o'clock.
- skrebbel 7y agoThis is how I usually compute pi.
- throwaway2048 7y agoInstead we now assume dates past 2038 don't exist...
- dredmorbius 7y agoTime is an illusion. Lunchtime doubly so.