News for hackers. Stuff that matters.
Re:A smart plug to monitor your router and automatically res... by dkopi on Saturday March 12, 2016 @04:58AM (#11272193)
This is one of those ingenious inventions that make you ask: "Where have you been all of my life". Perfect for coffee shops, or when the router's in a room that you can't access without waking anyone up.

Of course in an ideal world, wireless routers would be smart enough to reset themselves, without having to add another $60 to their price. But we are only in 2016.

Re:A smart plug to monitor your router and automatically res... by RGamma on Saturday March 12, 2016 @08:44AM (#11272817)
No, in an ideal world companies would stop making cheap, untested consumer shit that degrades after a few weeks uptime (looking at you, TP-Link). Luckily products unlike these exist, but not many might know about them, so this is a completely unnecessary product (hilariously overpriced as well) profitting from the ignorance of end users...
Re:A smart plug to monitor your router and automatically res... by fpoling on Saturday March 12, 2016 @08:59AM (#11272879)
I second both the observation about TP-Link and the existence of products that have no market in an ideal world. And TP-link really cannot have excuse as OpenWRT on their hardware is more stable, so by producing custom software they wasting money.
Re:A smart plug to monitor your router and automatically res... by chris_wot on Saturday March 12, 2016 @10:55AM (#11273266)
Isn't this just an example of the halting problem? As in, you can't prove that a program won't ever halt.
Re:A smart plug to monitor your router and automatically res... by icebraining on Saturday March 12, 2016 @01:55PM (#11273963)
The halting problem doesn't say that you can never prove that any given program won't ever halt, just that some programs (written in a Turing-complete language) are undecidable. You can write a program which can be proven will or won't ever halt.

But the typical solution to this particular problem is to correctly employ a watchdog[1] that will restart your program if it halts. In fact, this wifi-monitoring plug is serving as a watchdog itself.

[1] https://en.wikipedia.org/wiki/Watchdog_timer

Re:A smart plug to monitor your router and automatically res... by veddan on Saturday March 12, 2016 @01:46PM (#11273928)
For many programs it's easy to decide whether they halt or not.

  int main(void) { for (;;); }
Re:A smart plug to monitor your router and automatically res... by qb45 on Saturday March 12, 2016 @02:51PM (#11274231)
> Isn't this just an example of the halting problem? As in, you can't prove that a program won't ever halt.

Not really, the HP is about writing a program which automatically proves halting/not-halting for every possible program you feed into it.

Re:A smart plug to monitor your router and automatically res... by collyw on Saturday March 12, 2016 @10:29AM (#11273166)
Even decent brands need a reset every so often.