But… why does it lag? Shouldn’t this be trivial enough to be instant?
Show HN: I saw this mind-blowing experiment, so I made a simple version of it
71–80 of 140 posts
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#72More like this: - https://twitter.com/steveruizok/status/1727625036159234555 - https://twitter.com/_nonfigurativ_/status/172732259457002734... - https://twitter.com/wesbos/status/1727755227766350031 - https://twitter.com/wesbos/status/1727722358465523721
I had some fun doing some SQL joins with this: https://twitter.com/burcs/status/1728081692273823863
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#73The available API's on the web are very questionable. Feross has a web security lecture series on youtube where he showed off the following abomination. Enter at own risk. https://theannoyingsite.com/
uBlock Origin has prevented the following page from loading: https://theannoyingsite.com/ Because of the following filter: ||theannoyingsite.com^$document Found in: uBlock filters – Badware risks
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#74made something similar 14 years ago... https://youtu.be/bEwsuWNxdno domain isn't mine anymore...
What API allowed that back then?
Tcp and window.screenTop and screenLeft should get you there right? Hmm, yeah, 2008 is a long time ago though..
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#75I'm wondering about practical application of this demo...
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#76Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#77That's a fun use of LocalStorage. I used the same LocalStorage sharing technique to update the target window when the setting had been changed on a separate browser window. Just listen for the storage.onChanged event for the update.
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#78That's a great demo! I'd be curious to see how this would work with multiple monitors. Also, thank you for voluntarily acknowledging that you were directly inspired by somebody else and giving them credit - the software industry could use more people like you.
Make your stuff from zero, like the rest of us!
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#79Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#80Earlier quoted context omitted.
Probably because of websocket network lag and also, in my anecdotal experience, window position updates are sometimes strangely jittery
Why is it over a websocket? Can't it just share local data?
You can use Broadcast Channels as well as Service Workers, even WebRTC would use a loopback interface!