Y
Hacker News
new
|
ask
|
show
|
jobs
by
aphyr
5142 days ago
It's not hard. def merge(siblings) { sort_by(siblings) { |s| s.timestamp } }.last
Or, in Knockbox/Meangirls, strategies like LWW-set.
Until your clocks get out of sync.