ColonelThirtyTwo

joined 5 months ago
[–] [email protected] 7 points 1 month ago

To put it into perspective, the fine was 0.8% of that net income.

[–] [email protected] 5 points 2 months ago

I use a keepass vault thrown in a syncthing directory but like literally any file sync will do. If you get conflicts, KeePassXC can merge them

[–] [email protected] 9 points 3 months ago (1 children)

Misinformation wants to be free

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago) (1 children)

My point is that SQL works with and returns data as a flat table, which is ill fitting for most websites, which involve many parent-child object relationships. It requires extra queries to fetch one-to-many relationships and postprocessing of the result set to match the parents to the children.

I'm just sad that in the decades that SQL has been around, there hasn't been anything else to replace it. Most NoSQL databases throw out the good (ACID, transactions, indexes) with the bad.

[–] [email protected] 2 points 3 months ago (3 children)

The fact that you'd need to keep this structure in SQL and make sure it's consistent and updated kinda proves my point.

It's also not really relevant to my example, which involves a single level parent-child relationship of completely different models (posts and tags).

[–] [email protected] 19 points 3 months ago (13 children)

SQL blows for hierarchical data though.

Want to fetch a page of posts AND their tags in normalized SQL? Either do a left join and repeat all the post values for every tag or do two round-trip queries and manually join them in code.

If you have the tags in a JSON blob on the post object, you just fetch and decide that.

[–] [email protected] 6 points 3 months ago

They're still rambling about Hilary; they'll still ramble about Biden.