59 ms·
Send it to the very fires of hell from whence it came. Or use 64 bits to store timestamps.
by blowski 4y ago
Send it to the very fires of hell from whence it came. Or use 64 bits to store timestamps.
- Dylan16807 4y agoWell, 64 bit timestamps also have that number...
- Tepix 4y agoWhich number? 2038? Because that's what you are replying to.
- Dylan16807 4y ago0x80000000, the number I asked what to do about, if it's neither in the past nor in the future (along with all other numbers between it and 0xFFFFFFFF). 0x80000000 is the number they said to send to hell "or" use 64 bits to store. But storing it in 64 bits still leaves you with the same number waiting for interpretation. (Possibly two numbers depending on sign extension settings.) So do you still need to send it to hell, or what happens differently?
- cercatrova 4y agoNit, whence already means "from where," saying from whence is saying "from from where"
- blowski 4y agohttps://www.worldwidewords.org/qa/qa-fro2.htm https://www.worldwidewords.org/qa/qa-fro2.htm > I will lift up mine eyes unto the hills, from whence cometh my help. (Psalm 121:1) If the idiom is correct enough for the King James Bible, it’s good enough for me as a Hacker News comment.
- cercatrova 4y agoIt's not good enough for me though, won't you think of your poor reader? /s
- samatman 4y agoJohnson's Dictionary called 'from whence' "A vi[c]ious mode of speech", so this is a very old argument!
- blowski 4y agoI normally try to irritate pedants, that criticise everything, by finding more not less mistakes, such as lots of prepositions to end my sentences with.
- cercatrova 4y agoAnother nit, there was never a mistake with ending sentences with prepositions, it comes from Latin where you can't do that but John Dryden in the 1600s wanted to bring that to English, but no one really cared. Ironic, isn't it? (I say this jokingly, I get your irritation with pedants, sometimes I feel the same way.)
- shakna 4y agoWith that argument coming from the 13th Century, I'd say that the democratic nature of English has killed it. So to be more pedantic, the 'from' is optional. Not required, but neither is it wrong.
- Tepix 4y ago64bit? Not so fast! We could just add a flag to signify "time after 2038" and "time before 1901". That would give us another 68 years into the future and the past. Doesn't that seeme like a great solution? /s
- fendy3002 4y agoHa, make it multiplicative, so each number is 68 years.
- xorcist 4y agoAh! The infamous 33 bit timestamps!
- kuschku 4y agoAhhh, the good old IPv4+ solution
- Dylan16807 4y agoHave you seen how ext4 stores timestamps? They borrowed 2 bits off the nanoseconds field to do basically that.
- mgaunard 4y agoPeople usually use 64-bit timestamps, but for higher resolution. For example, nanoseconds. That's about up to 2500 or so?