Re: [Discuss-gnuradio] build-gnuradio statistics

2013-05-28 Thread Marcus D. Leech
So, given that my website maintains raw access logs that are available 
to me, I've updated build-gnuradio to do a wget call to a non-actually-there
   .php so that I can grab some parameters that will show up in the raw 
logs, that I can process from time to time.  Easy peasy.


The exit() handler in Gnu Radio now asks you politely if you'd like to 
contribute to the stats, but it doesn't force it.





--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] build-gnuradio statistics

2013-05-28 Thread Marcus D. Leech

On 05/28/2013 12:44 PM, Martin Lülf wrote:

Hi,

I would solve this with a small PHP Script on the webserver (or 
whatever scripting language is available on the webserver). The script 
can evaluate the called URL including parameters.


So in the build gnuradio script you would call something like this
wget http://example.com/script.php?param1=5¶m2=pi




The Script on the webserver will now have access to param1 and param2 
and can store them in a Database, or whatever you would like to do and 
can return (echo) a few charakters (e.g. 1 ok, 0 malformed parameter).

Yes, I was thinking something through wget as well...



This way the build gnuradio script can then evaluate the content of 
the downloaded file to see if anything went wrong.


For this to work you only need HTTP access to the script webserver on 
the install PC. Many PCs are behind Firewalls that drop traffic on 
Port 25 if you try to use Email, but port 80 is almost always oppen.


I also agree with Jonathan, that sending back feedback should be a 
opt-in decision during the installation.


Yours
Martin

I'll have to think about this.  I don't want to add even more work to my 
workload, but I would like to understand what fraction of build-gnuradio

  invocations are failing, and why.




--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] build-gnuradio statistics

2013-05-28 Thread Martin Lülf

Hi,

I would solve this with a small PHP Script on the webserver (or whatever 
scripting language is available on the webserver). The script can 
evaluate the called URL including parameters.


So in the build gnuradio script you would call something like this
wget http://example.com/script.php?param1=5¶m2=pi

The Script on the webserver will now have access to param1 and param2 
and can store them in a Database, or whatever you would like to do and 
can return (echo) a few charakters (e.g. 1 ok, 0 malformed parameter).


This way the build gnuradio script can then evaluate the content of the 
downloaded file to see if anything went wrong.


For this to work you only need HTTP access to the script webserver on 
the install PC. Many PCs are behind Firewalls that drop traffic on Port 
25 if you try to use Email, but port 80 is almost always oppen.


I also agree with Jonathan, that sending back feedback should be a 
opt-in decision during the installation.


Yours
Martin

Am 28.05.2013 18:30, schrieb Johnathan Corgan:

On Tue, May 28, 2013 at 9:14 AM, Marcus D. Leech mailto:mle...@ripnet.com>> wrote:

I'd like some suggestions about automating uploading of this
one-liner of stats data to some website somewhere so that I can
review it.
   Maybe something we can turn on on the gnuradio.org
 website?


You could ask in the script if the user wants to send feedback via email
or not, with the default set to no.  Otherwise, any automated system
would likely be negatively perceived.

That said, I could see having an email processing bot on gnuradio.org
 turn received emails into a statistics page, said
bot being written by you of course :)

--
Johnathan Corgan
Corgan Labs - SDR Training and Development Services
http://corganlabs.com


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] build-gnuradio statistics

2013-05-28 Thread Marcus D. Leech

On 05/28/2013 12:30 PM, Johnathan Corgan wrote:
On Tue, May 28, 2013 at 9:14 AM, Marcus D. Leech > wrote:


I'd like some suggestions about automating uploading of this
one-liner of stats data to some website somewhere so that I can
review it.
  Maybe something we can turn on on the gnuradio.org
 website?


You could ask in the script if the user wants to send feedback via 
email or not, with the default set to no.  Otherwise, any automated 
system would likely be negatively perceived.


That said, I could see having an email processing bot on gnuradio.org 
 turn received emails into a statistics page, 
said bot being written by you of course :)


--
Johnathan Corgan
Corgan Labs - SDR Training and Development Services
http://corganlabs.com 
So--trade maint of statistics page for maint of build-gnuradio itself?  
It's a trap!  :)



--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] build-gnuradio statistics

2013-05-28 Thread Johnathan Corgan
On Tue, May 28, 2013 at 9:14 AM, Marcus D. Leech  wrote:


> I'd like some suggestions about automating uploading of this one-liner of
> stats data to some website somewhere so that I can review it.
>   Maybe something we can turn on on the gnuradio.org website?
>

You could ask in the script if the user wants to send feedback via email or
not, with the default set to no.  Otherwise, any automated system would
likely be negatively perceived.

That said, I could see having an email processing bot on gnuradio.org turn
received emails into a statistics page, said bot being written by you of
course :)

-- 
Johnathan Corgan
Corgan Labs - SDR Training and Development Services
http://corganlabs.com
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio