andrew

joined 5 months ago
[–] andrew@lemmy.stuart.fun 7 points 1 year ago (1 children)

There were 12 of these angry dogs, though. Not one trusting dog in a cinder pit. I don't know if Noem would have been able to handle it even with a gun.

[–] andrew@lemmy.stuart.fun 4 points 1 year ago

Yeah, this is pretty textbook selection bias.

[–] andrew@lemmy.stuart.fun 5 points 1 year ago

In this economy I'm going to settle for a used threeskin in the next year or two.

[–] andrew@lemmy.stuart.fun 23 points 1 year ago

Huuuge... Tracts of land.

[–] andrew@lemmy.stuart.fun 2 points 1 year ago* (last edited 1 year ago)

The real primary benefit of storing your relationships in a separate place is that it becomes a point of entry for scans or alterations instead of scanning all entries of one of the larger entity types. For example, "how many users have favorited movie X" is a query on one smaller table (and likely much better optimized on modern processor architectures) vs across all favorites of all users. And "movie x2 is deleted so let's remove all references to it" is again a single table to alter.

Another benefit regardless of language is normalization. You can keep your entities distinct, and can operate on only one of either. This matters a lot more the more relationships you have between instances of both entities. You could get away with your json array containing IDs of movies rather than storing the joins separately, but that still loses for efficiency when compared to a third relationship table.

The biggest win for design is normalization. Store entities separately and updates or scans will require significantly less rewriting. And there are degrees of it, each with benefits and trade-offs.

[–] andrew@lemmy.stuart.fun 2 points 1 year ago

The other related advantage is being able to update data about a given B once, instead of everywhere it occurs as a child in A.

[–] andrew@lemmy.stuart.fun 29 points 1 year ago (2 children)

Do hot dogs need genders?

[–] andrew@lemmy.stuart.fun 24 points 1 year ago (1 children)

Judging by the stars I'm pretty sure it was night time.

[–] andrew@lemmy.stuart.fun 53 points 1 year ago (4 children)

Well, when you're a star, they let you do it. You can do anything.

[–] andrew@lemmy.stuart.fun 7 points 1 year ago

We got a bill for 5k for a 3 mile ambulance ride and ibuprofen at the ER when my youngest had a febrile seizure.

[–] andrew@lemmy.stuart.fun 5 points 1 year ago (1 children)
[–] andrew@lemmy.stuart.fun 16 points 1 year ago (2 children)

Is it really that surprising though?

view more: ‹ prev next ›