News for hackers. Stuff that matters.
Re:Ask HN: What do you do with your Raspberry Pi? by Fredej on Tuesday June 25, 2019 @03:29AM (#20271895)
Could something like this be used for synchronization in such a scenario? https://ncase.me/fireflies/
Re:Ask HN: What do you do with your Raspberry Pi? by Calamity on Tuesday June 25, 2019 @05:38AM (#20272482)
I think the problem here is not that the clocks are out of sync, but rather that the actual clock frequencies are voltage-controlled.

With the firefly analogy, it's like having one firefly flashing at 1.73513x (random number) faster than it's neighbor - can't easily have them persistently synchronized.

Re:Ask HN: What do you do with your Raspberry Pi? by peteforde on Tuesday June 25, 2019 @12:51PM (#20276143)
Yes - exactly this.
Re:Ask HN: What do you do with your Raspberry Pi? by peteforde on Tuesday June 25, 2019 @03:36AM (#20271921)
Thank you for sharing this! I love it. It's beautiful.

Unfortunately, I also have literally no idea what you're proposing. I would like to, though.

Re:Ask HN: What do you do with your Raspberry Pi? by terramex on Tuesday June 25, 2019 @05:03AM (#20272308)
It is visualisation of simple technique to synchronise many clocks without central authority, algorithm is explained on left side of website. You need to turn on 'Nudge thy neighbour" and then wait for fireflies to sync.
Re:Ask HN: What do you do with your Raspberry Pi? by peteforde on Tuesday June 25, 2019 @01:03PM (#20276333)
Cool idea, but not applicable to our scenario. People would step in and there would be a 3-2-1 count and then step out. There was no flash to sync against. And even if there was, if the devices are all running at different speeds, the sync is moot.