tag:blogger.com,1999:blog-9112560338291574360.post1353539011053766379..comments2024-03-02T08:28:27.119+00:00Comments on LeoNerd's programming thoughts: Dear Perl users on Windows...LeoNerdhttp://www.blogger.com/profile/06161372680495361467noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-9112560338291574360.post-10740809388974175112015-02-14T06:56:09.789+00:002015-02-14T06:56:09.789+00:00The quality of your articles and contents is great...The quality of your articles and contents is great.<a href="http://www.vividsmoke.com/accessories/tank-systems/kanger-subtank-clearomizer.html" rel="nofollow">Kanger Subtank</a>Anonymoushttps://www.blogger.com/profile/13367868683316914505noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-60100283752301999792012-12-22T21:34:30.539+00:002012-12-22T21:34:30.539+00:00> And how precisely do you propose they test th...> And how precisely do you propose they test those?<br /><br />You test them on Windows by testing them on Windows. You can install Strawberry Perl onto Windows and test using that. If you don't have a copy of Windows, then you can download an evaluation copy from Microsoft's web site for free. The eval versions function for about 90 to 180 days depending on the product.<br /><br />For example, you can get Windows 7 at http://technet.microsoft.com/en-US/evalcenter/cc442495.aspx and Windows Server 2008 R2 at http://msdn.microsoft.com/en-US/evalcenter/ee175713.aspx.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-61505660009034792772012-08-29T13:54:49.812+01:002012-08-29T13:54:49.812+01:00Hi, since your post I've got myself a Windows ...Hi, since your post I've got myself a Windows VPS on which I run a smoker. Your Tickit modules 'hang' after the smoker tries to compile them. There is no way for me to test them succesfully other than issuing Ctrl+C in which case the smoker does not submit a bug report and continues with the next module from CPAN.<br /><br />So it might well be the *main* problem is something funny wrt how your modules are build on Windows. I'm not sure what the root cause is here. There are some other modules that have the same behaviour, but the vast majority simply tests.Michielhttps://www.blogger.com/profile/16019445059075914115noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-78332606841291151402012-08-21T23:20:07.452+01:002012-08-21T23:20:07.452+01:00I run (currently) Strawberry Perl 5.16.1 on Window...I run (currently) Strawberry Perl 5.16.1 on Windows 7 x64. I'm a casual Perl user and not a very talented developer - most of my programming is geared toward network related modules to get my job done. That said, we corresponded recently over my mistaken bug report for Socket which turned out to be a shortcoming in the C-compiler (MinGW gcc) shipped with the Strawberry distribution. This goes back as far as 5.10.x in Strawberry and up to the latest 5.16.1 release. The header (ws2tcpip.h) and library (libws2_32.a) don't provide all the required routines for IPv6 (in my case, inet_ntop() was tripping up) even though the routines are present in ws2_32.dll.<br /><br />Based on our discussion https://rt.cpan.org/Public/Bug/Display.html?id=78890 last week, I created a post that explains my workaround to get full IPv6 support with Strawberry Perl on Windows http://vinsworldcom.blogspot.com/2012/08/ipv6-in-perl-on-windows_20.html.<br /><br />That said, none of that really relates to your question about Windows testers. For me, I develop on Windows so I know my modules will work on Windows. I don't actually know many people - unless they're using my scripts - that use Perl on Windows. They tend more towards PowerShell now that that is an option.Vincehttps://www.blogger.com/profile/18136855206137771382noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-63767833401776192062012-07-22T19:12:24.994+01:002012-07-22T19:12:24.994+01:00This is the first I ever heard the phrase smoke te...This is the first I ever heard the phrase smoke testing despite using perl for decades. Seems to be quite a disconnect between the end users and the developers.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-2837107076831252862012-07-22T14:25:18.362+01:002012-07-22T14:25:18.362+01:00ActiveState builds all the CPAN modules for its pp...ActiveState builds all the CPAN modules for its ppm repositories.<br />You can consult the build log files for the various versions of Perl here:<br /><br /> http://ppm4.activestate.com/MSWin32-x86/<br /> <br />For example, the results for your modules are in (Perl 5.14 build 1400)<br /><br /> http://ppm4.activestate.com/MSWin32-x86/5.14/1400/P/PE/PEVANS/<br /> <br />A module without .ppd file was not compiled.<br />In the .d directory corresponding you will find the build log as a .txt file.<br />I don't know if it is as detailed as the report from CPAN::Reporter but it can give you some useful informations.<br /><br />I hope this helps.J-L Morelhttp://www.bribes.org/perlnoreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-78401546775059480712012-07-21T22:23:22.464+01:002012-07-21T22:23:22.464+01:00Has the CPAN testing infrastructure recovered from...Has the CPAN testing infrastructure recovered from the problems at the end of last year? cpantesters.org shows only a handful of page requests, pretty sure this used to be a much higher number at the same time last year, and there don't appear to be any results showing in the metabase log either since May:<br /><br /> http://metabase.cpantesters.org/tail/log.txt<br /><br />and http://www.cpantesters.org/recent.html doesn't have anything since September 2011 either.<br /><br />There have also been several comments about test results going missing, http://blog.cpantesters.org/diary/148 for example - so I'm wondering if perhaps there *are* smokers running tests, but they're not getting through for some reason?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-58232383746205703722012-07-18T14:52:17.125+01:002012-07-18T14:52:17.125+01:00See the link to the CPANTesters wiki; posted above...See the link to the CPANTesters wiki; posted above, and also in a comment below.LeoNerdhttps://www.blogger.com/profile/06161372680495361467noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-28849033609332127202012-07-18T14:51:39.771+01:002012-07-18T14:51:39.771+01:00> Could I suggest that authors also test their ...> Could I suggest that authors also test their <br />> own modules on Windows before publishing them?<br /><br />And how precisely do you propose they test those? Catch 22.<br /><br />Authors can't often know that modules don't work on Windows unless they are smoke-tested there. Yes there is a certain bootstrapping problem with the modules used for smoke testing initially, but once /a/ setup is working it should be nice and stable.LeoNerdhttps://www.blogger.com/profile/06161372680495361467noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-75299542009307384552012-07-18T14:50:26.639+01:002012-07-18T14:50:26.639+01:00The CPAN Testers wiki has the proper instructions ...The CPAN Testers wiki has the proper instructions on how to set up smoke testing:<br /><br />http://wiki.cpantesters.org/wiki/QuickStartLeoNerdhttps://www.blogger.com/profile/06161372680495361467noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-45650633540748192102012-07-18T11:11:03.205+01:002012-07-18T11:11:03.205+01:00Installing the CPAN::Reporter module is not enough...Installing the CPAN::Reporter module is not enough.<br />You have to enable its usage in CPAN.pm.<br />See <a href="http://wiki.cpantesters.org/wiki/QuickStart" rel="nofollow">the howto on the CPANTesters wiki</a>.Olivier Mengué (DOLMEN)https://metacpan.org/author/DOLMENnoreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-86763313142637399022012-07-17T20:43:52.060+01:002012-07-17T20:43:52.060+01:00It is due to lack of knowledge. Most perl users do...It is due to lack of knowledge. Most perl users do not know how to report test results back. For example, I have never seen an article or blog post about this.Vagn Jhttps://www.blogger.com/profile/14916225009142911655noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-64511718926281419582012-07-17T16:32:12.200+01:002012-07-17T16:32:12.200+01:00Unfortunately Smokers rely on modules which either...Unfortunately Smokers rely on modules which either don't pass 'make test' on Windows or don't work once they're installed. I do run a smoker on Windows from time to time, but invariably it hangs up somewhere. Could I suggest that authors also test their own modules on Windows before publishing them?Nigel Hornehttps://www.blogger.com/profile/00258000929418450448noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-35676629925237104722012-07-16T21:24:26.046+01:002012-07-16T21:24:26.046+01:00That would be great, finding bugs in two Open Sour...That would be great, finding bugs in two Open Source projects at the same time. Provided someone was there to help track down the problem.Brad Gilberthttps://www.blogger.com/profile/16194386450942224029noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-75722608114134585652012-07-16T19:18:18.887+01:002012-07-16T19:18:18.887+01:00I'm a Windows user, and something of a noob wi...I'm a Windows user, and something of a noob with Perl on Wnidows, though; I just installed CPAN::Reporter because of your blog post. Hope it will help some small bit over time. What else can I do?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-75274597863618828922012-07-11T11:10:14.628+01:002012-07-11T11:10:14.628+01:00perhaps ReactOS would be sufficient? its an open s...perhaps ReactOS would be sufficient? its an open source windows clone which boots and runs some things. though perhaps the smoking would find more reactos bugs than perlDeanhttp://fragfest.com.aunoreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-87628604462941564892012-07-11T10:58:12.246+01:002012-07-11T10:58:12.246+01:00Cool. More smokers are good. Lets see if it makes ...Cool. More smokers are good. Lets see if it makes any difference then :)LeoNerdhttps://www.blogger.com/profile/06161372680495361467noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-39592222331856659722012-07-11T09:37:31.854+01:002012-07-11T09:37:31.854+01:00I have to say i find myself annoyed because i set ...I have to say i find myself annoyed because i set up my Win32 smoker literally yesterday after telling you i would do that.Mithalduhttps://www.blogger.com/profile/17588249794659757763noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-33142147871270709882012-07-10T21:53:35.402+01:002012-07-10T21:53:35.402+01:00I work under win7
and I can run test for your mod...I work under win7 <br />and I can run test for your module as well,<br />as I see we talk about<br />https://metacpan.org/author/PEVANS <br />but only at home, because at work I have a proxy,<br />also, CPAN::Reporter sometimes work no very good (it seems to me),<br />good luck, I can setup module on cygwin and on win, I'll try itНиколай Мишинhttps://www.blogger.com/profile/02168558551212889081noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-25788336000177720212012-07-10T21:47:50.891+01:002012-07-10T21:47:50.891+01:00You know, mea maxima culpa. I'm going to set ...You know, mea maxima culpa. I'm going to set up a Strawberry smoke tester this week - I can't do a dedicated machine yet, but I can certainly run things at night. I just plain never thought of it.<br /><br />For what it's worth - yeah, we Windows Perl programmers do exist, and we do use CPAN. I never heard of CPAN::Reporter until right now, and never really thought about setting up testing - even though I love the smoke testers for my own CPAN modules.<br /><br />So consider me duly chastised.Michaelhttps://www.blogger.com/profile/16152219034171337111noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-28569626715743404192012-07-10T19:32:02.642+01:002012-07-10T19:32:02.642+01:00Yes; that's the main reason I dislike cpanm. I...Yes; that's the main reason I dislike cpanm. It doesn't feed back to developers any of that information.LeoNerdhttps://www.blogger.com/profile/06161372680495361467noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-79218048097038789282012-07-10T19:20:39.739+01:002012-07-10T19:20:39.739+01:00also maybe they don't use cpan/cpanp. AFAIK cp...also maybe they don't use cpan/cpanp. AFAIK cpanm doesn't have a way to hook into a reporter right?Anonymoushttps://www.blogger.com/profile/08185254298048097278noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-65863432692679886832012-07-10T19:05:42.242+01:002012-07-10T19:05:42.242+01:00It might be nice to show-case that too :)It might be nice to show-case that too :)phaylonhttps://www.blogger.com/profile/12032005649016985100noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-39757424519486659442012-07-10T18:29:49.327+01:002012-07-10T18:29:49.327+01:00The modern CPAN reporter uses HTTP to post its rep...The modern CPAN reporter uses HTTP to post its reports (see metabase). It takes all of ~3 minutes to install the required modules and configure them, as a one-off.LeoNerdhttps://www.blogger.com/profile/06161372680495361467noreply@blogger.comtag:blogger.com,1999:blog-9112560338291574360.post-92125597893672593462012-07-10T18:16:46.014+01:002012-07-10T18:16:46.014+01:00That could work, but still wouldn't be as imme...That could work, but still wouldn't be as immediate. I get that it would still be better than nothing though :) But a dedicated system would have the advantage that you wouldn't be dependent on a subgroup (reporters) of users of a specific module.<br /><br />And I think it can be quite hard (or at least it was in the past) to get a single user to report things via CPAN-Reporter. Does it still require the Email interface? Does one still need to be subscribed to a mailing list? Plus it contains (and rightfully so) a privacy warning that might put off corporate developers on their office machines.<br /><br />But, if an occasional CPAN-Reporter user would help, you might want to add that more prominently to the post :) Additionally, you could add a Win32 note to those modules' POD that would mostly benefit from this. Many users are often in the mindset of "trying out modules and finding one that works." If they read in a Win32 section that it might not work since you can't really test it on Win32, and point them to CPAN::Reporter (and the bugtracker), they might be more inclined to help out.phaylonhttps://www.blogger.com/profile/12032005649016985100noreply@blogger.com