News for hackers. Stuff that matters.
Re:Show HN: Website changes design each time you blink by IgorPartola on Friday July 23, 2021 @10:18AM (#27930921)
Be careful with this one. If you see a house/apartment where lights are repeatedly being turned on/off that’s generally considered a signal that they are in distress and you might get first responders dispatched to you curtesy of a neighbor who saw this and called 911.

Also I honestly can’t think of a worst way to try to save money, especially after you factor in the power it might take to do the facial recognition. There would be a good chance that you actually lose money unless you are in a hanger full of Na lights.

Edit: 5 bulbs in a room that each consume 10 watts (fairly generous), people blink up to 20k times a day, an average blink is 100 ms. So that’s 2000 seconds of blink time or just about 33 minutes. 33*5*10 is 28 Watt-hours saved per day or about 0.84 kWh per month. At the rate of $0.20 per kWh you just saved $0.16 a month.

But wait you have latency to detect the blink so let’s cut that figure by 15%. And since we don’t know how long a blink will last (some are shorter) you also need to reduce the off time by one standard deviation of a blink so to be safe let’s make the off period after detection last only 60 ms. So now we are at $0.096 per month. And now we also need to run multiple cameras and facial detection which has to run continuously. Unless you can do that under 28*0.6=16.8 Wh per day you are losing money.

Re:Show HN: Website changes design each time you blink by DonHopkins on Friday July 23, 2021 @11:57AM (#27932142)
Maybe you could generate power by harnessing the wind generated by moving your eyelashes? Mount tiny little nano-windmills on each of them, with accelerometers, so you don't even need to use computer vision. Every time you blink it would generate just enough power to send a signal to your lightbulb.
Re:Show HN: Website changes design each time you blink by twobitshifter on Friday July 23, 2021 @01:18PM (#27933199)
Just glue a momentary push button under your eyelashes and connect it to a headlamp. No need for all this overengineering.
Re:Show HN: Website changes design each time you blink by sgt on Friday July 23, 2021 @02:09PM (#27933841)
Or knock down your roof so that the moonlight alone illuminates your area. In 20-30 generations you will evolve huge eyes perfectly adapted for this and save tons of generational wealth.
Re:Show HN: Website changes design each time you blink by sgtnoodle on Friday July 23, 2021 @02:35PM (#27934128)
Just wear night vision goggles and don't even bother with lights.
Re:Show HN: Website changes design each time you blink by seszett on Friday July 23, 2021 @10:37AM (#27931157)
> If you see a house/apartment where lights are repeatedly being turned on/off that’s generally considered a signal that they are in distress

I would assume that they just have kids.

Re:Show HN: Website changes design each time you blink by robertakarobin on Friday July 23, 2021 @11:18AM (#27931632)
> they are in distress

> they just have kids

Is there a difference?

Re:Show HN: Website changes design each time you blink by MattGaiser on Friday July 23, 2021 @12:08PM (#27932275)
I suspect it is more relevant for a time when you would have been more likely to have known your neighbours.
Re:Show HN: Website changes design each time you blink by ALittleLight on Friday July 23, 2021 @06:42PM (#27936450)
Unless I had established the blinking light code with my neighbors in advance, how would blinking lights inform me any more if I knew my neighbors or not? Unless they were blinking out S.O.S. it would not occur to me that it might be a sign of distress.
Re:Show HN: Website changes design each time you blink by Moodles on Friday July 23, 2021 @11:58AM (#27932156)
In what situation would you switch the lights on and off constantly to signal you need help? The only situation I can think of is that you're somehow too injured to make noise or move, but you're able to reach the light switch?
Re:Show HN: Website changes design each time you blink by crazygringo on Friday July 23, 2021 @12:19PM (#27932424)
I tried Googling it and can't find anything anywhere, neither as some official police recommendation, or even anyone talking about it as a commonly understood signal.

Only circumstance I can imagine is if someone is kidnapped and they flash lights in an SOS pattern? Seems pretty unlikely they'd be by a street-facing room in the first place though.

Re:Show HN: Website changes design each time you blink by Moodles on Friday July 23, 2021 @01:55PM (#27933680)
Right. But then you’re hoping the kidnapper doesn’t notice you? Which means they’re not there? Which means you could just shout. And how can you use the light switch if you’re (presumably) tied up anyway? Alexa?
Re:Show HN: Website changes design each time you blink by MattGaiser on Friday July 23, 2021 @12:07PM (#27932256)
Think elderly people who might have a lamp beside them in bed or who are stuck on the floor near a lamp, but wouldn't carry around a cell phone.

I haven't heard a lot about it, but anecdotally have heard of it outside of HN.

Re:Show HN: Website changes design each time you blink by IgorPartola on Friday July 23, 2021 @01:04PM (#27932989)
I have heard of it in the context of domestic violence when a person locks themselves in a room without a phone and is trying to signal to the outside world that they are in trouble.
Re:Show HN: Website changes design each time you blink by Moodles on Friday July 23, 2021 @02:00PM (#27933740)
Right. In the case they’re locked in a room without their phone and the domestic abuser doesn’t also notice them turning the light on and off, I guess it would be an ok strategy? But again, that seems pretty farfetched. I have heard of cases where they call 911 and “order a pizza” and the operator catches on though.
Re:Show HN: Website changes design each time you blink by munk-a on Friday July 23, 2021 @02:09PM (#27933833)
I think if they're in a locked room being noticed by the domestic abuser isn't a huge concern of theirs since they have a locked door between them and the abuser.
Re:Show HN: Website changes design each time you blink by Moodles on Friday July 23, 2021 @02:27PM (#27934032)
So why not make a lot of noise then?
Re:Show HN: Website changes design each time you blink by Moodles on Friday July 23, 2021 @01:59PM (#27933721)
Right. Even that’s a lamp, not a room light. It seems a little farfetched to me these days to be honest.
Re:Show HN: Website changes design each time you blink by cutemonster on Friday July 23, 2021 @12:59PM (#27932931)
> too injured to make noise or move, but you're able to reach the light switch?

Sounds more likely to me, than someone getting a webcam and writing a computer program that switches off the lights when eyelids closed because he he blinks! :-)

Especially if follows the international SOS code

Re:Show HN: Website changes design each time you blink by srmarm on Friday July 23, 2021 @10:43AM (#27931241)
I think it's intended as a joke / proof of concept!
Re:Show HN: Website changes design each time you blink by IgorPartola on Friday July 23, 2021 @10:46AM (#27931268)
Yeah I get that. But knowing the HN crowd I think it’s worth doing the math and pointing out how playing with this could result in unintended consequences.
Re:Show HN: Website changes design each time you blink by forgotmypw17 on Friday July 23, 2021 @11:09AM (#27931530)
I think the simplest fix for that would be to also track the eyes (and view range) of everyone else within a reasonable distance. My cat could do that in Perl in 5 minutes and 3 lines.
Re:Show HN: Website changes design each time you blink by vokep on Friday July 23, 2021 @03:52PM (#27934889)
Where can I get a cat like that?
Re:Show HN: Website changes design each time you blink by forgotmypw17 on Friday July 23, 2021 @06:42PM (#27936449)
You don't get Perl Cat, Perl Cat gets you
Re:Show HN: Website changes design each time you blink by the_mitsuhiko on Friday July 23, 2021 @12:21PM (#27932457)
I don’t think this is a thing. When you have kids extended periods of flashing lights are very common.
Re:Show HN: Website changes design each time you blink by bryanrasmussen on Friday July 23, 2021 @11:27AM (#27931754)
>Be careful with this one. If you see a house/apartment where lights are repeatedly being turned on/off that’s generally considered a signal that they are in distress

because of the supernatural events taking place inside!

Re:Show HN: Website changes design each time you blink by xwdv on Friday July 23, 2021 @11:07AM (#27931510)
Should you call 911 if you see a place with lights flash on and off repeatedly?
Re:Show HN: Website changes design each time you blink by IgorPartola on Friday July 23, 2021 @11:44AM (#27931994)
You know, I was taught this as a kid and the answer was yes. But now I cannot find a reference to this anywhere. It’s possible I am wrong.
Re:Show HN: Website changes design each time you blink by kube-system on Friday July 23, 2021 @12:18PM (#27932412)
I heard this as a kid too.

Thinking back, maybe I was just annoying my mom by playing with the light switch.

Re:Show HN: Website changes design each time you blink by voxic11 on Friday July 23, 2021 @11:16AM (#27931616)
Maybe if they are doing it in a SOS pattern.
Re:Show HN: Website changes design each time you blink by jxy on Friday July 23, 2021 @11:53AM (#27932102)
Cool, now you've found a real use for smart home lighting system.
Re:Show HN: Website changes design each time you blink by baby on Friday July 23, 2021 @12:06PM (#27932244)
Uh, no