Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: