Re: [plug] Switch Off #NoBrownout

2015-04-26 Thread Daniel Escasa
Sabi ni tukayo noong Mon, Apr 27, 2015 at 11:47 AM:

> does this help us?
>
>
> http://www.rappler.com/thewrap/daily-news-highlights-april-27-2015-edition/ph-power-plants-now-required-to-report-power-outages-real-time
>

Not sure. The data from WESM will reflect the reduction in supply anyways,
but that'll happen when the gencos' plants go down, 10 days from the
reported reduction. The ERC should then alert the public about the
projected shortfall so we can all shut down non-essential appliances,
postpone e.g., ironing, machine-washing, etc.


  *Daniel Escasa*
Technologist. Writer and Editor. Shakespearean actor
  

  
  "When I was a kid I used to pray every night for a new bicycle. Then I
realised that the Lord doesn't work that way so I stole one and asked Him
to fo...

In necessariis unitas, in dubiis libertas, in omnibus caritas.
If we choose being kind over being right, we will be right every time.
 Get a signature like this:

Click
here!

_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Re: [plug] Switch Off #NoBrownout

2015-04-26 Thread Danny Ching
does this help us?

http://www.rappler.com/thewrap/daily-news-highlights-april-27-2015-edition/ph-power-plants-now-required-to-report-power-outages-real-time

On Wed, Apr 8, 2015 at 12:57 AM Roberto Verzola  wrote:

> Perfect, Danny. I'll wait for the details (url, login details, etc.)
>
> Anybody with the skills for making an app for smart phones? The idea
> would be simply to download the image from a list of servers. There
> must be a way for the app to update its list, and either a round-robin
> or a randomized access to servers to avoid overloading.
>
> Danny, others have also offered to host, which would lighten the load to
> each participating server. My idea is to have a master server but there
> might be a better way of doing this.
>
> Obet
>
>
> On Mon, 06 Apr 2015 10:43:13 +
> Danny Ching  wrote:
>
> > I'll set up my server so you can use a script to upload. Once we
> > settle on a method (perhaps good old ftp) I'll post a link where the
> > latest graph can be downloaded and mirrored.
> > On Mon, Apr 6, 2015 at 6:38 PM Roberto Verzola 
> > wrote:
> >
> > > After you get the data, you are welcome to do what you want with
> > > it. We want the graph to appear on as many sites as possible rather
> > > than just one, so that we don't overload any server.
> > > _
> > > Philippine Linux Users' Group (PLUG) Mailing List
> > > http://lists.linux.org.ph/mailman/listinfo/plug
> > > Searchable Archives: http://archives.free.net.ph
> > >
>
> _
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>
_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Re: [plug] Switch Off #NoBrownout

2015-04-07 Thread Roberto Verzola
Perfect, Danny. I'll wait for the details (url, login details, etc.)

Anybody with the skills for making an app for smart phones? The idea
would be simply to download the image from a list of servers. There
must be a way for the app to update its list, and either a round-robin
or a randomized access to servers to avoid overloading. 

Danny, others have also offered to host, which would lighten the load to
each participating server. My idea is to have a master server but there
might be a better way of doing this.

Obet


On Mon, 06 Apr 2015 10:43:13 +
Danny Ching  wrote:

> I'll set up my server so you can use a script to upload. Once we
> settle on a method (perhaps good old ftp) I'll post a link where the
> latest graph can be downloaded and mirrored.
> On Mon, Apr 6, 2015 at 6:38 PM Roberto Verzola 
> wrote:
> 
> > After you get the data, you are welcome to do what you want with
> > it. We want the graph to appear on as many sites as possible rather
> > than just one, so that we don't overload any server.
> > _
> > Philippine Linux Users' Group (PLUG) Mailing List
> > http://lists.linux.org.ph/mailman/listinfo/plug
> > Searchable Archives: http://archives.free.net.ph
> >

_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph


Re: [plug] Switch Off #NoBrownout

2015-04-06 Thread Roberto Verzola
I've used ftp, http get and post, but not rsync. But I can read man
pages and try it, if that's what will work.

Obet


On Mon, 6 Apr 2015 20:33:38 +0800
strong  wrote:

> how about rsync? :)
> 
> On Mon, Apr 6, 2015 at 6:43 PM, Danny Ching 
> wrote:
> 
> > I'll set up my server so you can use a script to upload. Once we
> > settle on a method (perhaps good old ftp) I'll post a link where
> > the latest graph can be downloaded and mirrored.
> > On Mon, Apr 6, 2015 at 6:38 PM Roberto Verzola 
> > wrote:
> >
> >> After you get the data, you are welcome to do what you want with
> >> it. We want the graph to appear on as many sites as possible
> >> rather than just one, so that we don't overload any server.
> >> _
> >> Philippine Linux Users' Group (PLUG) Mailing List
> >> http://lists.linux.org.ph/mailman/listinfo/plug
> >> Searchable Archives: http://archives.free.net.ph
> >>
> >
> > _
> > Philippine Linux Users' Group (PLUG) Mailing List
> > http://lists.linux.org.ph/mailman/listinfo/plug
> > Searchable Archives: http://archives.free.net.ph
> >

_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph


Re: [plug] Switch Off #NoBrownout

2015-04-06 Thread strong
how about rsync? :)

On Mon, Apr 6, 2015 at 6:43 PM, Danny Ching  wrote:

> I'll set up my server so you can use a script to upload. Once we settle on
> a method (perhaps good old ftp) I'll post a link where the latest graph can
> be downloaded and mirrored.
> On Mon, Apr 6, 2015 at 6:38 PM Roberto Verzola 
> wrote:
>
>> After you get the data, you are welcome to do what you want with it. We
>> want the graph to appear on as many sites as possible rather than just
>> one, so that we don't overload any server.
>> _
>> Philippine Linux Users' Group (PLUG) Mailing List
>> http://lists.linux.org.ph/mailman/listinfo/plug
>> Searchable Archives: http://archives.free.net.ph
>>
>
> _
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>
_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Re: [plug] Switch Off #NoBrownout

2015-04-06 Thread Danny Ching
I'll set up my server so you can use a script to upload. Once we settle on
a method (perhaps good old ftp) I'll post a link where the latest graph can
be downloaded and mirrored.
On Mon, Apr 6, 2015 at 6:38 PM Roberto Verzola  wrote:

> After you get the data, you are welcome to do what you want with it. We
> want the graph to appear on as many sites as possible rather than just
> one, so that we don't overload any server.
> _
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>
_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Re: [plug] Switch Off #NoBrownout

2015-04-06 Thread Roberto Verzola
After you get the data, you are welcome to do what you want with it. We
want the graph to appear on as many sites as possible rather than just
one, so that we don't overload any server.
_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph


Re: [plug] Switch Off #NoBrownout

2015-04-05 Thread hard wyrd
What about pushing the image to github, and a static github url (eg.
nobrownout.github.io) ?

Just an idea though.

On Mon, Apr 6, 2015 at 12:53 PM, Roberto Verzola 
wrote:

> It was Mr. fooler who did the bash script very quickly hehe. But I'm
> not really a bash-ful person so I took the ideas and did it in python.
> That took longer.
>
> There problem is I only have regular Internet access, dynamic
> addressing etc.
>
> I do have a Wordpress blog and there's an FB page for the campaign
> Switch Off #NoBrownout. You have to tell me what to do next. I have
> a .png file sitting on my harddisk. How do I get it to your server? A
> long time ago, I did a python program using http POST. I've forgotten
> how, but I could learn it again, if that's what it would take.
>
> Obet
>
> On Mon, 06 Apr 2015 04:17:44 +
> Danny Ching  wrote:
>
> > Wow. You guys are fast!
> >
> > I can wget the file every hour. What do you think? Can you send me a
> > fixed link?
> > On Mon, Apr 6, 2015 at 12:00 PM Roberto Verzola 
> > wrote:
> >
> > > I can now generate a .png file once every hour. Danny, how do I go
> > > about sending it to your server?
> > >
> > > I'd like to take this opportunity to thank all who have extended
> > > their support and encouragement, including code suggestions.
> > >
> > > Special thanks to Mr. fooler, to took the trouble to write a bash
> > > script, which worked ok. (Send me private mail if you want to know
> > > the details.) I used some ideas from the script, but I had to add
> > > lots of other code. Since I am much more comfortable with python,
> > > that's what I eventually used.
> > >
> > > I also had to make a choice between gnuplot and matplotlib. Mr.
> > > fooler's gnuplot script worked nicely and gave me ideas. But when I
> > > needed to make changes, I was getting all kinds of problems. (This
> > > is my first try to use plotting software in this fashion.) So I also
> > > tried matplotlib. I was initially stuck with problems in both, but I
> > > finally made a breakthrough in matplotlib, so that's what I ended up
> > > using. This was probably more about problems with me than with the
> > > programs themselves. I would have preferred gnuplot because it is
> > > faster and smaller. Maybe, if I were not so pressed for time, I
> > > could go back and make things work in gnuplot too.
> > >
> > > So in the end, I used wget and matplotlib with python tying
> > > everything together.
> > >
> > > I'm still trying to work out how to use python to upload a .png file
> > > and accompanying caption to an fb page. Any suggestions would be
> > > welcome.
> > >
> > > If you want to see the graph, please check the Switch Off
> > > #NoBrownout page on FB.
> > >
> > > By the way, my piece about the whole campaign was published
> > > yesterday, Easter Sunday, at the Talk of the Town Section of the
> > > Phil Daily Inquirer (Apr. 5, 2015). (Google Brownout-Free Summer
> > > via Bayanihan)
> > >
> > > Greetings to all,
> > >
> > > Obet
> > > _
> > > Philippine Linux Users' Group (PLUG) Mailing List
> > > http://lists.linux.org.ph/mailman/listinfo/plug
> > > Searchable Archives: http://archives.free.net.ph
> > >
>
> _
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>



-- 
-- Romar Micabalo (aka 'hardwyrd')
SysAdmin / Consultant / Linux & FOSS Evangelist
http://www.about.me/rmr.micabalo
-
"Penguin, penguin, and more penguin !"
_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Re: [plug] Switch Off #NoBrownout

2015-04-05 Thread Roberto Verzola
Thanks Ben. Let's do that. People have also told me an app would be
useful. THen they can just download the screen to on their phone. 

On Mon, 6 Apr 2015 12:35:14 +0800 Ben Adrian Sarmiento
 wrote:

> I am interested on implementing this as an App Engine app by which any
> traffic issues would be non-existent. Let me know the details, I can
> also sponsor the costs.
> 
> Thank you,
> On Apr 6, 2015 12:17 PM, "Danny Ching"  wrote:
> 
> > Wow. You guys are fast!
> >
> > I can wget the file every hour. What do you think? Can you send me
> > a fixed link?
> > On Mon, Apr 6, 2015 at 12:00 PM Roberto Verzola
> >  wrote:
> >
> >> I can now generate a .png file once every hour. Danny, how do I go
> >> about sending it to your server?
> >>
> >> I'd like to take this opportunity to thank all who have extended
> >> their support and encouragement, including code suggestions.
> >>
> >> Special thanks to Mr. fooler, to took the trouble to write a bash
> >> script, which worked ok. (Send me private mail if you want to know
> >> the details.) I used some ideas from the script, but I had to add
> >> lots of other code. Since I am much more comfortable with python,
> >> that's what I eventually used.
> >>
> >> I also had to make a choice between gnuplot and matplotlib. Mr.
> >> fooler's gnuplot script worked nicely and gave me ideas. But when I
> >> needed to make changes, I was getting all kinds of problems. (This
> >> is my first try to use plotting software in this fashion.) So I
> >> also tried matplotlib. I was initially stuck with problems in
> >> both, but I finally made a breakthrough in matplotlib, so that's
> >> what I ended up using. This was probably more about problems with
> >> me than with the programs themselves. I would have preferred
> >> gnuplot because it is faster and smaller. Maybe, if I were not so
> >> pressed for time, I could go back and make things work in gnuplot
> >> too.
> >>
> >> So in the end, I used wget and matplotlib with python tying
> >> everything together.
> >>
> >> I'm still trying to work out how to use python to upload a .png
> >> file and accompanying caption to an fb page. Any suggestions would
> >> be welcome.
> >>
> >> If you want to see the graph, please check the Switch Off
> >> #NoBrownout page on FB.
> >>
> >> By the way, my piece about the whole campaign was published
> >> yesterday, Easter Sunday, at the Talk of the Town Section of the
> >> Phil Daily Inquirer (Apr. 5, 2015). (Google Brownout-Free Summer
> >> via Bayanihan)
> >>
> >> Greetings to all,
> >>
> >> Obet
> >> _
> >> Philippine Linux Users' Group (PLUG) Mailing List
> >> http://lists.linux.org.ph/mailman/listinfo/plug
> >> Searchable Archives: http://archives.free.net.ph
> >>
> >
> > _
> > Philippine Linux Users' Group (PLUG) Mailing List
> > http://lists.linux.org.ph/mailman/listinfo/plug
> > Searchable Archives: http://archives.free.net.ph
> >

_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph


Re: [plug] Switch Off #NoBrownout

2015-04-05 Thread Roberto Verzola
It was Mr. fooler who did the bash script very quickly hehe. But I'm
not really a bash-ful person so I took the ideas and did it in python.
That took longer.

There problem is I only have regular Internet access, dynamic
addressing etc. 

I do have a Wordpress blog and there's an FB page for the campaign
Switch Off #NoBrownout. You have to tell me what to do next. I have
a .png file sitting on my harddisk. How do I get it to your server? A
long time ago, I did a python program using http POST. I've forgotten
how, but I could learn it again, if that's what it would take.

Obet

On Mon, 06 Apr 2015 04:17:44 +
Danny Ching  wrote:

> Wow. You guys are fast!
> 
> I can wget the file every hour. What do you think? Can you send me a
> fixed link?
> On Mon, Apr 6, 2015 at 12:00 PM Roberto Verzola 
> wrote:
> 
> > I can now generate a .png file once every hour. Danny, how do I go
> > about sending it to your server?
> >
> > I'd like to take this opportunity to thank all who have extended
> > their support and encouragement, including code suggestions.
> >
> > Special thanks to Mr. fooler, to took the trouble to write a bash
> > script, which worked ok. (Send me private mail if you want to know
> > the details.) I used some ideas from the script, but I had to add
> > lots of other code. Since I am much more comfortable with python,
> > that's what I eventually used.
> >
> > I also had to make a choice between gnuplot and matplotlib. Mr.
> > fooler's gnuplot script worked nicely and gave me ideas. But when I
> > needed to make changes, I was getting all kinds of problems. (This
> > is my first try to use plotting software in this fashion.) So I also
> > tried matplotlib. I was initially stuck with problems in both, but I
> > finally made a breakthrough in matplotlib, so that's what I ended up
> > using. This was probably more about problems with me than with the
> > programs themselves. I would have preferred gnuplot because it is
> > faster and smaller. Maybe, if I were not so pressed for time, I
> > could go back and make things work in gnuplot too.
> >
> > So in the end, I used wget and matplotlib with python tying
> > everything together.
> >
> > I'm still trying to work out how to use python to upload a .png file
> > and accompanying caption to an fb page. Any suggestions would be
> > welcome.
> >
> > If you want to see the graph, please check the Switch Off
> > #NoBrownout page on FB.
> >
> > By the way, my piece about the whole campaign was published
> > yesterday, Easter Sunday, at the Talk of the Town Section of the
> > Phil Daily Inquirer (Apr. 5, 2015). (Google Brownout-Free Summer
> > via Bayanihan)
> >
> > Greetings to all,
> >
> > Obet
> > _
> > Philippine Linux Users' Group (PLUG) Mailing List
> > http://lists.linux.org.ph/mailman/listinfo/plug
> > Searchable Archives: http://archives.free.net.ph
> >

_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph


Re: [plug] Switch Off #NoBrownout

2015-04-05 Thread Ben Adrian Sarmiento
I am interested on implementing this as an App Engine app by which any
traffic issues would be non-existent. Let me know the details, I can also
sponsor the costs.

Thank you,
On Apr 6, 2015 12:17 PM, "Danny Ching"  wrote:

> Wow. You guys are fast!
>
> I can wget the file every hour. What do you think? Can you send me a fixed
> link?
> On Mon, Apr 6, 2015 at 12:00 PM Roberto Verzola 
> wrote:
>
>> I can now generate a .png file once every hour. Danny, how do I go
>> about sending it to your server?
>>
>> I'd like to take this opportunity to thank all who have extended their
>> support and encouragement, including code suggestions.
>>
>> Special thanks to Mr. fooler, to took the trouble to write a bash
>> script, which worked ok. (Send me private mail if you want to know
>> the details.) I used some ideas from the script, but I had to add lots
>> of other code. Since I am much more comfortable with python, that's
>> what I eventually used.
>>
>> I also had to make a choice between gnuplot and matplotlib. Mr.
>> fooler's gnuplot script worked nicely and gave me ideas. But when I
>> needed to make changes, I was getting all kinds of problems. (This is
>> my first try to use plotting software in this fashion.) So I also
>> tried matplotlib. I was initially stuck with problems in both, but I
>> finally made a breakthrough in matplotlib, so that's what I ended up
>> using. This was probably more about problems with me than with the
>> programs themselves. I would have preferred gnuplot because it is
>> faster and smaller. Maybe, if I were not so pressed for time, I could
>> go back and make things work in gnuplot too.
>>
>> So in the end, I used wget and matplotlib with python tying everything
>> together.
>>
>> I'm still trying to work out how to use python to upload a .png file
>> and accompanying caption to an fb page. Any suggestions would be
>> welcome.
>>
>> If you want to see the graph, please check the Switch Off #NoBrownout
>> page on FB.
>>
>> By the way, my piece about the whole campaign was published yesterday,
>> Easter Sunday, at the Talk of the Town Section of the Phil Daily
>> Inquirer (Apr. 5, 2015). (Google Brownout-Free Summer via Bayanihan)
>>
>> Greetings to all,
>>
>> Obet
>> _
>> Philippine Linux Users' Group (PLUG) Mailing List
>> http://lists.linux.org.ph/mailman/listinfo/plug
>> Searchable Archives: http://archives.free.net.ph
>>
>
> _
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>
_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Re: [plug] Switch Off #NoBrownout

2015-04-05 Thread Danny Ching
Wow. You guys are fast!

I can wget the file every hour. What do you think? Can you send me a fixed
link?
On Mon, Apr 6, 2015 at 12:00 PM Roberto Verzola  wrote:

> I can now generate a .png file once every hour. Danny, how do I go
> about sending it to your server?
>
> I'd like to take this opportunity to thank all who have extended their
> support and encouragement, including code suggestions.
>
> Special thanks to Mr. fooler, to took the trouble to write a bash
> script, which worked ok. (Send me private mail if you want to know
> the details.) I used some ideas from the script, but I had to add lots
> of other code. Since I am much more comfortable with python, that's
> what I eventually used.
>
> I also had to make a choice between gnuplot and matplotlib. Mr.
> fooler's gnuplot script worked nicely and gave me ideas. But when I
> needed to make changes, I was getting all kinds of problems. (This is
> my first try to use plotting software in this fashion.) So I also
> tried matplotlib. I was initially stuck with problems in both, but I
> finally made a breakthrough in matplotlib, so that's what I ended up
> using. This was probably more about problems with me than with the
> programs themselves. I would have preferred gnuplot because it is
> faster and smaller. Maybe, if I were not so pressed for time, I could
> go back and make things work in gnuplot too.
>
> So in the end, I used wget and matplotlib with python tying everything
> together.
>
> I'm still trying to work out how to use python to upload a .png file
> and accompanying caption to an fb page. Any suggestions would be
> welcome.
>
> If you want to see the graph, please check the Switch Off #NoBrownout
> page on FB.
>
> By the way, my piece about the whole campaign was published yesterday,
> Easter Sunday, at the Talk of the Town Section of the Phil Daily
> Inquirer (Apr. 5, 2015). (Google Brownout-Free Summer via Bayanihan)
>
> Greetings to all,
>
> Obet
> _
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>
_
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph