News for hackers. Stuff that matters.
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22 by kenjackson on Saturday January 01, 2022 @12:43PM (#29760682)
Honestly that seems like a cop out.
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22 by marcosdumay on Saturday January 01, 2022 @03:42PM (#29762506)
The usual habit of typing ids as integral numbers is incorrect, they are not numbers. But the problems it causes are well known and dealt with by what is broadly known as good practices.

Is it better this way?

(You can see the problems clashing with each other if you search for discussions about defaulting ids to 32 or 64 bits. So they are not completely solved, the practices are just good enough that things don't usually break on practice.)

At the end of the day, all you have on a computer is a bitfield to mess around. You will always have to deal with encoding at some point.

Re:Microsoft Exchange stops passing mail due to bug on 1/1/22 by Spivak on Saturday January 01, 2022 @01:16PM (#29761003)
I mean strings are numbers if you want to be that reductive. The “on-disk” representation of the thing is independent of its real type and properties.

So sure, store a date in an “integer” but if you try to treat it like one instead of a bitfield you’ve made an error and if your storage isn’t wide enough to hold all dates that’s gonna be a PITA later.