News for hackers. Stuff that matters.
Re:Nanosecond timestamp collisions are common by madsbuch on Friday July 21, 2023 @05:34AM (#36811832)
I am curios about this, and might be misunderstanding what you mean.

Can you layout a demo architecture where you use multiple keys like you propose?

Re:Nanosecond timestamp collisions are common by junon on Friday July 21, 2023 @05:37AM (#36811847)
There are many DBMSes that combine columns into a singular primary key. Performance tradeoffs vary, especially when it comes to indexing.
Re:Nanosecond timestamp collisions are common by e12e on Friday July 21, 2023 @07:41AM (#36812664)
Any pure relational database design will eschew surrogate keys - most real-world systems will (should) add them back - because a surprising number of good natural keys end up changing (names change, phone numbers change, emails change, twitter handles become irrelevant/disappear, location of birth may change subject to geographic regions changing size...).

And on top of all that, there are efficiency concerns.

That said, at least for join tables AFAIK - there aren't often a need for row IDs beyond the involved foreign keys - unless you need to add meta data from other relations/tables...

Re:Nanosecond timestamp collisions are common by TRiG_Ireland on Friday July 21, 2023 @08:24AM (#36812990)
> location of birth may change

My British passport says I was born in Birr; my Irish passport says I was born in Galway. These are both correct, because they are answering different questions. (I was born in the town of Ballinasloe in County Galway, but my mother's place of residence at the time of my birth was the town of Birr in County Offaly.)

Re:Nanosecond timestamp collisions are common by pc86 on Friday July 21, 2023 @04:01PM (#36818897)
So British place of birth means "mother's residence" and not place of birth?
Re:Nanosecond timestamp collisions are common by rvnx on Friday July 21, 2023 @05:43PM (#36820266)
Official guidances here: https://assets.publishing.service.gov.uk/government/uploads/...

Could maybe be just a mistake when doing the UK registration ? It's an easy fix if wanted.

Re:Nanosecond timestamp collisions are common by e12e on Friday July 21, 2023 @07:40PM (#36821520)
> Could maybe be just a mistake when doing the UK registration ? It's an easy fix if wanted.

Changes! lol

Re:Nanosecond timestamp collisions are common by TRiG_Ireland on Monday July 24, 2023 @05:21AM (#36845018)
That's my memory of it. My British passport is expired, and is probably somewhere in my parents' house. I don't actually know what it says on it. I do clearly remember that at least one British form of ID I had at one time recorded my mother's place of residence rather than my actual birth place. I thought it was the passport. Maybe I was wrong.