Re: Unintended consequences

2006-05-28 Thread Ricardo SIGNES
* Adam Kennedy [EMAIL PROTECTED] [2006-05-27T23:48:43]
 The questions that are being asked are for the user's benefit. That is 
 NOT being a freeloader. Freeloading is taken something from the user and 
 providing nothing in return.

She's providing her free code in return.

-- 
rjbs


signature.asc
Description: Digital signature


Re: Unintended consequences

2006-05-28 Thread chromatic
On Sunday 28 May 2006 13:48, Michael G Schwern wrote:

 More importantly, the statistics gathered would help an author to determine
 who, if anyone, is using their module and on what platforms and guide their
 development.  What versions of Perl does one have to support?  What
 platforms?  Do I have to worry about Windows98?  VMS?  Old Sun boxes?  Old
 versions of Perl?  Is anyone using the module at all, should any effort be
 put into maintaining it?

Don't forget the all-important Is there any way these POD tests could 
possibly fail on another platform?

-- c


Re: Unintended consequences

2006-05-28 Thread Michael G Schwern

On 5/28/06, Ricardo SIGNES [EMAIL PROTECTED] wrote:


* Adam Kennedy [EMAIL PROTECTED] [2006-05-27T23:48:43]
 The questions that are being asked are for the user's benefit. That is
 NOT being a freeloader. Freeloading is taken something from the user and
 providing nothing in return.

She's providing her free code in return.



More importantly, the statistics gathered would help an author to determine
who, if anyone, is using their module and on what platforms and guide their
development.  What versions of Perl does one have to support?  What
platforms?  Do I have to worry about Windows98?  VMS?  Old Sun boxes?  Old
versions of Perl?  Is anyone using the module at all, should any effort be
put into maintaining it?


Re: Unintended consequences

2006-05-27 Thread Adam Kennedy

demerphq wrote:

On 5/26/06, Ovid [EMAIL PROTECTED] wrote:

- Original Message 
 From: Adam Kennedy [EMAIL PROTECTED]

 Andy Lester wrote:
  Here's an example of why I'm not real excited about CPANTS:
 
  http://community.livejournal.com/perl/120747.html

 Ironically, posted by someone that also makes all her modules phone 
home

 at install time.


Huh? Can you post an example?  The logical spot for having the module 
phone home would be in the Makefile.PL.  I also glanced at some 
tests, but didn't see anything there, either.


Look at the Build.PL not the Makefile.PL.

And its voluntary so im not sure why Adam thinks its bad.


I tell you what, I'm going to add the same code to all 100+ of my 
modules. And what if then Audrey and Ovid and Miyagawa and a hundred 
others did.


For an application with 50 dependencies, that's 50 x 20 second pauses, 
or you get to sit there hitting no constantly.


She's acting as a freeloader on the system.

She's taking 20 seconds from every person, recursively, that installs 
any of her modules for no purpose other than her own.


And it's fairly innocent, as long as it is only her and they are modules 
almost nobody uses.


But if more people started doing it, and they were modules in more use, 
then it gets annoying very very quickly.


And that's quite a bit different to some centralised implementation 
embedded in CPAN.pm that asks once and remembers.


Adam K


Re: Unintended consequences

2006-05-27 Thread Michael G Schwern

On 5/27/06, Adam Kennedy [EMAIL PROTECTED] wrote:


I tell you what, I'm going to add the same code to all 100+ of my
modules. And what if then Audrey and Ovid and Miyagawa and a hundred
others did.

For an application with 50 dependencies, that's 50 x 20 second pauses,
or you get to sit there hitting no constantly.

She's acting as a freeloader on the system.



If she's a freeloader then Andy Lester is a freeloader.

By your logic you must complain about any module which asks the user any
question because they cause the installation to pause and you have to take
action.  Most of those don't even have the courtesy to time out!  Let's
apply your logic to WWW::Mechanize.  It asks not one but TWO questions!
What if every module on CPAN decided they wanted to prompt the user if they
should run a certain group of tests?  Or install an extra program?  Think of
the poor enter key!

Have we gone after Andy?  No, that would be silly.

Furthermore, she's properly using Module::Build-y_n() which, like
ExtUtils::MakeMaker's prompt(), will just accept the default if it figures
the system is not attached to a TTY.  And if you really don't want to hear
about it you can switch off all interaction with PERL_MM_USE_DEFAULT=0 like
any other module.  She has even provided an extra environment variable for
her own modules.

I'm not saying the system couldn't be improved, it could, but her prompting
is better than most other's.


But if more people started doing it, and they were modules in more use,

then it gets annoying very very quickly.

And that's quite a bit different to some centralised implementation
embedded in CPAN.pm that asks once and remembers.



If lots of people start doing it, yes, we should start looking at putting
the process into the CPAN shell or Module::Build or something.  But I do not
think that its up to a single author to worry about the consequences of what
happens if everyone starts doing their technique.  If that were so, nobody
would get any customization done.

If you wanted a way forward from this, a Module::Build::PhoneHome would be
nice with its own environment variable, independent of PERL_MM_USE_DEFAULT,
to switch it off.  Then people can just use it and it will do the right
thing, whatever that turns out to be.


Re: Unintended consequences

2006-05-27 Thread Philippe BooK Bruhat
Le samedi 27 mai 2006 à 11:50, Michael G Schwern écrivait:
 
 If you wanted a way forward from this, a Module::Build::PhoneHome would be
 nice with its own environment variable, independent of PERL_MM_USE_DEFAULT,
 to switch it off.  Then people can just use it and it will do the right
 thing, whatever that turns out to be.

But then, why phone home ? Just like CPAN testers information is
centralised in a mailing-list where everyone can use it and build up
stuff like http://cpantesters.perl.org/, that information could be
collected by a mailing-list.

Léon Brocard started something like that 3 years ago. What happened to it?
http://use.perl.org/~acme/journal/10623

-- 
 Philippe BooK Bruhat

 Fantasy is a nice vacation but Reality is where you spend your life.
(Moral from Groo The Wanderer #44 (Epic))


Re: Unintended consequences

2006-05-27 Thread Adam Kennedy


The questions that are being asked are for the user's benefit. That is 
NOT being a freeloader. Freeloading is taken something from the user and 
providing nothing in return.


If an installer asks a question in order to install the module or run 
the testing, it is acting for the user's benefit.


The reason phone home in general, and this type of question 
specifically, is freeloading is that it is not acting in a positive way 
for the user. The same would be true if I introduced Google text ads you 
had to watch during the module install. Even with a Skip this text ad 
option, it's still taking from the user.


But now she is at least doing it relative sanely (as opposed to earlier) 
and since she doesn't have any particularly popular modules, and as long 
as she's the ONLY one doing this sort of thing, it's still fairly innocent.


And so I haven't been chasing her about it.

I'm done venting now.

Adam K

Michael G Schwern wrote:

On 5/27/06, *Adam Kennedy* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

I tell you what, I'm going to add the same code to all 100+ of my
modules. And what if then Audrey and Ovid and Miyagawa and a hundred
others did.

For an application with 50 dependencies, that's 50 x 20 second pauses,
or you get to sit there hitting no constantly.

She's acting as a freeloader on the system.


If she's a freeloader then Andy Lester is a freeloader.

By your logic you must complain about any module which asks the user any 
question because they cause the installation to pause and you have to 
take action.  Most of those don't even have the courtesy to time out!  
Let's apply your logic to WWW::Mechanize.  It asks not one but TWO 
questions!  What if every module on CPAN decided they wanted to prompt 
the user if they should run a certain group of tests?  Or install an 
extra program?  Think of the poor enter key!


Have we gone after Andy?  No, that would be silly.

Furthermore, she's properly using Module::Build-y_n() which, like 
ExtUtils::MakeMaker's prompt(), will just accept the default if it 
figures the system is not attached to a TTY.  And if you really don't 
want to hear about it you can switch off all interaction with 
PERL_MM_USE_DEFAULT=0 like any other module.  She has even provided an 
extra environment variable for her own modules.


I'm not saying the system couldn't be improved, it could, but her 
prompting is better than most other's.



But if more people started doing it, and they were modules in more use,
then it gets annoying very very quickly.

And that's quite a bit different to some centralised implementation
embedded in CPAN.pm that asks once and remembers.


If lots of people start doing it, yes, we should start looking at 
putting the process into the CPAN shell or Module::Build or something.  
But I do not think that its up to a single author to worry about the 
consequences of what happens if everyone starts doing their technique.  
If that were so, nobody would get any customization done.


If you wanted a way forward from this, a Module::Build::PhoneHome would 
be nice with its own environment variable, independent of 
PERL_MM_USE_DEFAULT, to switch it off.  Then people can just use it and 
it will do the right thing, whatever that turns out to be.




Re: Unintended consequences

2006-05-26 Thread Adam Kennedy

Andy Lester wrote:

Here's an example of why I'm not real excited about CPANTS:

http://community.livejournal.com/perl/120747.html


Ironically, posted by someone that also makes all her modules phone home 
at install time.


Adam K


Re: Unintended consequences

2006-05-26 Thread Pete Krawczyk
Subject: Re: Unintended consequences
From: Ovid [EMAIL PROTECTED]
Date: Fri, 26 May 2006 09:44:32 -0700 (PDT)
 
} From: Adam Kennedy [EMAIL PROTECTED]
} 
} Ironically, posted by someone that also makes all her modules phone home
} at install time.
}
}Huh? Can you post an example?  The logical spot for having the module
}phone home would be in the Makefile.PL.  I also glanced at some tests,
}but didn't see anything there, either.
 
Look in the Build.PL, which Makefile.PL also calls.
  
http://search.cpan.org/src/NICOLAW/WWW-Dilbert-1.19/Build.PL for example.
  
-Pete K
--
Pete Krawczyk
  perl at bsod dot net



Re: Unintended consequences

2006-05-26 Thread demerphq

On 5/26/06, Ovid [EMAIL PROTECTED] wrote:

- Original Message 
 From: Adam Kennedy [EMAIL PROTECTED]

 Andy Lester wrote:
  Here's an example of why I'm not real excited about CPANTS:
 
  http://community.livejournal.com/perl/120747.html

 Ironically, posted by someone that also makes all her modules phone home
 at install time.


Huh? Can you post an example?  The logical spot for having the module phone 
home would be in the Makefile.PL.  I also glanced at some tests, but didn't see 
anything there, either.


Look at the Build.PL not the Makefile.PL.

And its voluntary so im not sure why Adam thinks its bad.

Yves


--
perl -Mre=debug -e /just|another|perl|hacker/


Re: Unintended consequences

2006-05-26 Thread Ovid
- Original Message 
 From: Adam Kennedy [EMAIL PROTECTED]

 Andy Lester wrote:
  Here's an example of why I'm not real excited about CPANTS:
 
  http://community.livejournal.com/perl/120747.html

 Ironically, posted by someone that also makes all her modules phone home 
 at install time.


Huh? Can you post an example?  The logical spot for having the module phone 
home would be in the Makefile.PL.  I also glanced at some tests, but didn't 
see anything there, either.

Cheers,
Ovid
 
-- If this message is a response to a question on a mailing list, please send 
follow up questions to the list.
 
Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/







Re: Unintended consequences

2006-05-26 Thread Michael G Schwern

On 5/26/06, Adam Kennedy [EMAIL PROTECTED] wrote:


Andy Lester wrote:
 Here's an example of why I'm not real excited about CPANTS:

 http://community.livejournal.com/perl/120747.html

Ironically, posted by someone that also makes all her modules phone home
at install time.



Let's be clear, it asks for permission first.


Re: Unintended consequences

2006-05-23 Thread David H. Adler
On Mon, May 22, 2006 at 09:45:31PM -0500, Andy Lester wrote:
 Here's an example of why I'm not real excited about CPANTS:
 
 http://community.livejournal.com/perl/120747.html

You mean the fact that there's a perl community on LJ? :-)

dha

-- 
David H. Adler - [EMAIL PROTECTED] - http://www.panix.com/~dha/
perl -e 'print Just another P$0-r-l hacker'


Re: Unintended consequences

2006-05-22 Thread Steve Peters
On Mon, May 22, 2006 at 09:45:31PM -0500, Andy Lester wrote:
 Here's an example of why I'm not real excited about CPANTS:
 
 http://community.livejournal.com/perl/120747.html
 

I prefer Acme::Raise_my_kwalitee 
http://search.cpan.org/dist/Acme-Raise_my_kwalitee as my anti-CPANTs 
example.

Steve Peters
[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Unintended consequences

2006-05-22 Thread Andy Lester

Here's an example of why I'm not real excited about CPANTS:

http://community.livejournal.com/perl/120747.html

xoa
--
Andy Lester = [EMAIL PROTECTED] = www.petdance.com = AIM:petdance