this post was submitted on 22 Nov 2023
1028 points (95.8% liked)
Memes
51937 readers
658 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How about 0xYYYMDD or 0xYYYYMDD if you need years after 4095 for some reason.
Today is 0x7e7b16
Congrats, you made it even less practical. Why not make it binary if that's the goal?
Nah. With binary, you can lose one hex digit AND the max year would be 2047 (11 bits year, 4 bits month, 5 bits day). What's not to like about hex anyway?
Wouldn't it just start over when it hit the max? Kinda like Ghandi being so peaceful he becomes a genocidal nutcase in Civilization?
Yes, although isn't that an urban legend? Pretty sure I read that it was.