News for hackers. Stuff that matters.
Re:A Silly Usecase for WebSockets (strobe warning) by cududa on Thursday February 24, 2022 @04:30AM (#30452698)
I appreciate the strobe warning! Not gonna open it so I have no idea what it is but congrats on whatever it is. Anyway have an up vote for the strobe warning
Re:A Silly Usecase for WebSockets (strobe warning) by sodimel on Thursday February 24, 2022 @05:31AM (#30453144)
Here's a (static, that don't flash) screenshot: https://up.l3m.in/file/1645698692.png

edit: and here's a (very slow, 2s transition) gif of what it renders to: https://up.l3m.in/file/1645698812-slow-strobe.gif

Re:A Silly Usecase for WebSockets (strobe warning) by cududa on Tuesday March 08, 2022 @04:37PM (#30607456)
Thanks!
Re:A Silly Usecase for WebSockets (strobe warning) by ASalazarMX on Thursday February 24, 2022 @01:32PM (#30458380)
Curiosity is such a wonderful trait.
Re:A Silly Usecase for WebSockets (strobe warning) by roveo on Thursday February 24, 2022 @04:40AM (#30452776)
It is a page with a schematic depiction of a floor lamp. "Click anywhere to turn the light on/off" is written below. When you click, the light turns on or off depending on the previous state, and background color changes accordingly between dark and light. The on/off state is the same for all visitors of the page, so, since this is on the front page of HN, it flickers quickly. Hence the strobe warning.
Re:A Silly Usecase for WebSockets (strobe warning) by Etheryte on Thursday February 24, 2022 @04:40AM (#30452779)
It's a webpage with a simple picture of a lamp and the text "40 people in the room, click anywhere to turn the light on/off". The page background alters between dark gray and white depending on whether the light is off and on. It's essentially a collective online light flickering exercise and it's about as strobe as you imagine that would be.
Re:A Silly Usecase for WebSockets (strobe warning) by Dylan16807 on Thursday February 24, 2022 @05:10AM (#30453004)
Though if you have a browser in dark mode it might only flicker between dark gray and slightly less dark gray.