Live data from Hacker News

Show HN: I saw this mind-blowing experiment, so I made a simple version of it

github.com

131–140 of 140 posts

Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it

#131

> The original work by Bjorn Staal https://twitter.com/_nonfigurativ_/status/172732259457002734 used localStorage, but I found sockets more fun, because if tweaked a bit, this can be shared with friends. Anyone have a link to what this was? The tweet is gone.

He gives the link on GitHub but here it is (video) https://www.linkedin.com/feed/update/urn:li:activity:7133171...

Thanks

Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it

#132
post #67
post #30

The 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

It’s not malware, I promise. Just super annoying :)

Source code: https://github.com/feross/TheAnnoyingSite.

Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it

#133
This is cool. It reminds me of a research team I worked in a few years back that had built something like this for mobile devices. It used a camera overhead to provide info about device positions, allowing all the devices to act as a single screen on a surface [0].

[0] http://www.huddlelamp.org/#tech-video

Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it

#134
post #84

You can use a BroadcastChannel to send messages between the Windows directly. This should reduce latency when working locally.

Yes exactly, using web socket is kind of over-engineering. See: https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_C...

Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it

#135
post #85

Earlier quoted context omitted.

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!) :)

Aw I thought it would be obvious :( Thanks for clarifying, of course nobody makes anything without being inspired from something that already existed, at least to a degree. I guess it's hard to accurately convey sarcasm online, thanks again!

It was immediately obvious.

Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it

#137
post #31

Does this work on Wayland?

Tested on Sway with both Firefox and Chromium. Resizing works (no surprise) but the position doesn't work. window.screenX/Y always return 0.

Good. Websites have no business knowing anything of the world outside the viewport.

Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it

#138
post #53

Earlier quoted context omitted.

You likely have `privacy.resistFingerprinting` set to true.

as everyone should! people forget lesson from recent past. i don't know when google strong armed w3c to include this back... but we had this since ie4 days and then disabled everywhere since it was abused left and right for click jacking attacks.

> as everyone should!

Not until Mozilla stops telling websites that I want a light color scheme if I turn it on. privacy.resistFingerprinting does too many things and you shouldn't need to use that sledgehammer to prevent the browser from leaking information that no website should know.

Re: Show HN: I saw this mind-blowing experiment, so I made a simple version of it

#140
post #139

None of these screen properties should be available to websites.

Width and height definitely need to be. I can't imagine why absolute position were ever needed.

Viewport width/height: yes since thats unavoidable, window width/height: no, screen width/height: hell no.
Post reply on HN