South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
Alright, I'll bite. Why?![]()
client wants customised alerts based on load shedding status in their area
I see there's a python script which pulls data from the json feeds on myeskom @
https://github.com/daffster/mypowerstats
will take a further look into that.
var random = new Random();
while(true)
{
Thread.Sleep(random.Next());
SendAlert("Lights out!");
}
You are better off doing something like this:
Code:var random = new Random(); while(true) { Thread.Sleep(random.Next()); SendAlert("Lights out!"); }
It'll be way more accurate.
I'm getting a 5 and it's stage 4 currently.
Hence he said -1 at the end.I'm getting a 5 and it's stage 4 currently.