Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Percentage of MS Windows Perl Users

by thechartist (Monk)
on Feb 19, 2020 at 13:54 UTC ( #11113153=note: print w/replies, xml ) Need Help??


in reply to Re: Percentage of MS Windows Perl Users
in thread Percentage of MS Windows Perl Users

The statistician George Box is often quoted as saying: "All models are flawed, but some models are useful". I'm well aware that the assumption regarding testers being representative of the broader userbase isn't exactly correct. But I'm curious if the estimate is off by a little bit, or a lot.

Based on the types of questions seen on various forums, there could be many more Windows users than the testing logs would suggest. And if that is the case, I'd like to devote some time to testing on Windows.

  • Comment on Re^2: Percentage of MS Windows Perl Users

Replies are listed 'Best First'.
Re^3: Percentage of MS Windows Perl Users
by marto (Cardinal) on Feb 19, 2020 at 16:45 UTC

    Just to get you started, a list of dists with failures on the Windows platform in cpantesters within the last month.

    #!/usr/bin/perl use strict; use warnings; use feature 'say'; use DateTime; use Mojo::UserAgent; # http://api.cpantesters.org/docs/?url=/v3#!/Summary/v3_summary_all my $url = 'http://api.cpantesters.org/v3/summary'; # just an example, the last month my $date = DateTime->now->add( months => -1 )->iso8601.'Z'; my $osname = 'mswin32'; my $grade = 'fail'; my $ua = Mojo::UserAgent->new; my $res = $ua->get( "$url?osname=$osname&grade=$grade&since=$date" )-> +res->json; say "$osname $grade since $date"; foreach my $fail ( @{$res} ){ say "$fail->{dist} failed on $fail->{perl}"; }

    Displays:

    mswin32 fail since 2020-01-19T16:45:05Z Config-Registry failed on 5.20.1 ExtUtils-MakeMaker failed on 5.22.1 Config-Registry failed on 5.18.2 Config-Registry failed on 5.18.2 CBOR-Free failed on 5.18.2 MySQL-ORM failed on 5.18.2 MySQL-ORM failed on 5.12.2 Metabolomics-Fragment-Annotation failed on 5.18.2 MySQL-ORM failed on 5.20.1 Config-Registry failed on 5.12.2 Class-Refresh failed on 5.18.2 .....

      Many thanks! I greatly appreciate that help!

        No problem, at least it narrows the field somewhat, gives you some distributions to focus on fixing ;)

Re^3: Percentage of MS Windows Perl Users
by marto (Cardinal) on Feb 19, 2020 at 14:01 UTC

    I don't think there is going to be a method to determine the number of users accurately. Anyone running cpan/cpanm can configure their client to report the installation status (pass/fail) to cpantesters. If you care enough and have the means you could setup an automatic smoker to do this without manual intervention.

      I would greatly appreciate knowing how to get cpanm to report install pass/fails.

      a windows user

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11113153]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2020-10-29 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (270 votes). Check out past polls.

    Notices?