Hacker News new | ask | show | jobs
by vgel 1582 days ago
Curious about how concurrent edits work. In, say, Figma, two users can simultaneously each create a text box and type into it. In my naive understanding of how Hyperbeam works, the remote Chrome instance would be receiving two streams of input events. Would those streams be interleaved, resulting in typing going to the wrong text box for one user? Or is there a different approach?
1 comments

Yes, the streams would be interleaved.

I'll created an instance you can play around with here:

https://doovvlk32v0gmr9hrf3d9w84m.hyperbeam.com/-rlpzy3aQm6X...

Not sure if this is intentional, but anyone can watch this stream and the content is... sometimes questionable.
Thanks for pointing that out. I've shut down the stream for now. For those that want a demo, we're still hanging around in https://gg.hyperbeam.com/invite/w0c6n-Ko

You can fill out our form here to get an API key which will let you spawn your own instances: https://forms.gle/RSQhbFXbdrcqwqsc9