News for hackers. Stuff that matters.
Re:Stop building databases by ozim on Friday December 01, 2023 @05:55PM (#38493718)
I can change A to B on my own, you can change A to C on your own.

At some point we have to communicate which change is correct.

It does not have to be synchronous and it might be via commit message - but still change alone is not enough for conflict resolution.

If you edit word document and someone then changes something there is no commit message but might be comment on document, email or im.

Re:Stop building databases by __MatrixMan__ on Friday December 01, 2023 @10:52PM (#38495723)
Unison has a neat approach to this problem: References are hashes of the abstract syntax tree, the only way to write a "collision" is to write an identical function--which isn't actually a collision at all.
Re:Stop building databases by zubairq on Saturday December 02, 2023 @04:17AM (#38497274)
Good point. I do the same in my own system and use Hashes of the source code, so there are no collisions. Slowly this technique will become mainstream I predict.