But… why does it lag? Shouldn’t this be trivial enough to be instant?
I wonder if it would be more instant if they used postMessage api instead of going over network.
Show HN: I saw this mind-blowing experiment, so I made a simple version of it
91–100 of 140 posts
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#92Really great. The web is really going forward
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#93The 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/
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#94IIRC you don't even need the sockets. One can simply use message channels between the windows. If a window opens child window, iirc it has special access over it (I say special, because usually different tabs/windows are isolated from one another) which might make a local-only version easy to implement too.
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#95But… why does it lag? Shouldn’t this be trivial enough to be instant?
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#96Earlier quoted context omitted.
What, thieves? Make your stuff from zero, like the rest of us!
Pretty sure this is tongue-in-cheek, given the commenter (pretty high profile dev who creates a lot of cool stuff and does not shy away from using other open source code!) :)
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#97The 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/
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#98But… why does it lag? Shouldn’t this be trivial enough to be instant?
I wonder if it would be more instant if they used postMessage api instead of going over network.
https://developer.mozilla.org/en-US/docs/Web/API/BroadcastCh...
Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#99Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it
#100I'm old enough to remember a bunch of demos using window position/dimensions from back in the day. I remember one with a physics simulation. I can't remember if it was liquid or just a bunch of solids, but you could drop things from one window to the other. IIRC you don't even need the sockets. One can simply use message channels between the windows. If a window opens child window, iirc it has special access over it…