user-pic

Ben Bullock

  • Commented on Perl 5 Porters Mailing List Summary: January 11th-24th
    > Aaron Crane had reduced the problem in Perl #127323 (segfault with Storable) to a problem with JSON::XS or Cpanel::JSON::XS. This should be 127232. I've responded here: https://rt.perl.org/Ticket/Display.html?id=127232#txn-1386359 In short, there is no problem with JSON::XS or Cpanel::JSON::XS, this is...
  • Commented on Wish list: SVG to PNG converter
    Sorry to comment after a long delay. I made this module for some tasks I needed to do and released it on CPAN in case anyone found it useful: https://metacpan.org/release/Image-CairoSVG It does not cover all of the SVG specification, but...
  • Commented on Response to The Perl Jam 2
    The perl code he posts at 00:20:33 into the video isn’t correct: sub rubin { $arg1, $arg2 = @_; print "$arg1 $arg2\n"; } rubin (1, 2); just prints out ” 2” because he left out the () around $arg1, $arg2....
  • Commented on A marvellous source of color info
    There's a CPAN module which gives you most of that information: Convert::Color. Combine it with a module like Cairo and you could probably reproduce everything on that site....
  • Commented on search.cpan.org
    I like search.cpan.org because it's much faster than metacpan.org. Also some modules don't show up on metacpan.org, and it's often necessary to do "shift-reload" on metacpan.org to re-synch the pages....
  • Commented on git blame across the entire codebase
    28840 1.31% David Mitchell 13507 0.61% Dave Mitchell Is it two different people with a similar name or the same person under two different names?...
  • Commented on Detecting JSON/YAML/Perl/CSV/TSV/LTSV
    JSON::Parse looks interesting, bookmarked it for later. I don't know of any other validators like this for Perl. If you want to throw the first part of the JSON at it and see if just the chunk is correct...
  • Commented on Detecting JSON/YAML/Perl/CSV/TSV/LTSV
    Would "assert_valid_json" from JSON::Parse be any use? It validates JSON without creating Perl structures, so it's up to ten times faster than JSON::XS. For invalid JSON, it stops reading at the very first byte which isn't valid JSON, and returns...
  • Commented on The CPAN new dist a month contest
    I like these, but I wish we would have as many drives to fix open CPAN issues, especially in core or heavily-used modules. Neil, the author of the blog post, also started a CPAN adoption drive to get people...
  • Commented on Perl 5.19.x performance improvements
    I think this material is interesting and would be interested to hear more about it. Also, maybe you could link to the commits where the changes were added. I think some people would be interested....
  • Commented on On the relative readability of Perl and Python
    That said I will absolutely not concede that Python is easier to read than Python I don’t see how it can be....
  • Commented on Graphics::Potrace
    May I suggest indicating the github repostitory in your module? For example see this: http://cpansearch.perl.org/src/BKB/JSON-Parse-0.29/Makefile.PL In particular the META_MERGE does the work here. I don't know how to do that with Dist::Zilla but I am sure there is a way....
  • Commented on Graphics::Potrace
    May I suggest putting it on github or a similar service?...
  • Commented on A tour on perl-5.18.1 with c2ast, Marpa-powered C parser
    This is a nice demonstration. But ... Nevertheless, these are all good practices Debatable. POSIX doesn't allow me to have a typedef benbullock_t or a function called strike_me_with_a_hammer () in my program since it may clash with the future POSIX...
  • Commented on POD Web View
    That's dandy. The "URL" doesn't work at all for me. The "Upload file" doesn't work, although the drag and drop worked. Also, I noticed there were no problems with a very Unicode heavy pod file....
  • Commented on I try to use PDL::Stats, but Test failed.
    I got the same error. Because I prefer looking at the static version of cpantesters, I went to http://static.cpantesters.org/distro/P/PDL-Stats.html and noticed that the tests were all passing in the latest "developer release". Anyway, the bug seems to be fixed in...
  • Commented on A convention for Changes files
    OK thanks. I made a script, I don't know if it is any use to you but here it is: http://www.lemoda.net/perl/perl-retro-changes/index.cgi...
  • Commented on A convention for Changes files
    You sent me a Changes file for a module, with the dates of the release versions etc. How did you make the Changes file? I want to be able to generate my own retrospective Changes file....
  • Commented on Am I pandering to the smoke testers?
    Thank you for your hard work in setting up the CPAN tester's site, which I very much appreciate. My point was actually that my original query about not being able to search for the obscure XS errors quite possibly did...
  • Commented on Am I pandering to the smoke testers?
    Sorry, I should have added more links to that discussion. I brought up the issue of CPAN testers not being searchable using Google on the mailing list for CPAN testers a while ago using an example of a problem with...
  • Commented on Am I pandering to the smoke testers?
    First, are Nigel's boxes able to build XS modules without trouble? I have various test reports for one XS module and Nigel Horne seems to be able to build it. I'm not sure because there's no way I could...
  • Commented on Do your piece to fix TIOBE or stop talking about it
    So either fix it, or stop talking about it. I choose to stop talking about it....
  • Commented on Site Front Page
    Yes, why is this not enabled for the main page? It would have saved a lot of discussions....
  • Commented on Comparing Apples and Oranges - rubygems vs cpan part 1
    That link works for me but anyway nowadays it seems that https://pause.perl.org/pause/authenquery?ACTION=add_uri links you to http://search.cpan.org/dist/cpan-upload-http/...
  • Commented on Comparing Apples and Oranges - rubygems vs cpan part 1
    Something else that rubygems has, is a script included in rubygems for building and uploading, that could make life easier for new uploaders cpan-upload! I think it's mentioned on the PAUSE page somewhere, but it's easy to miss....
  • Commented on A couple of ideas for improving commenting/reviewing CPAN modules
    cpanratings is on github here: https://github.com/perlorg/perlweb/tree/master/lib/CPANRatings...
  • Commented on What's wrong with CPAN?
    I think it would be a big improvement to CPAN if there was some objective way to know whether one's modules were being downloaded or used. For example, it would be useful to know the pageviews of the various documentation...
  • Commented on PrePAN is Now on AWS
    Thanks, you are doing a great job....
  • Commented on Don't release experiments to CPAN
    I can't find a maturity flag: https://metacpan.org/module/CPAN::Meta::Spec There is "release_status": https://metacpan.org/module/CPAN::Meta::Spec#release_status...
  • Commented on Don't release experiments to CPAN
    Not many people are responding on PrePan at the moment, perhaps it would be nice if some people submitting their modules got a comment or two. One reason to upload "experiments" to CPAN is to get them tested by CPAN...
Subscribe to feed Recent Actions from Ben Bullock

  • shmem commented on Response to The Perl Jam 2

    If I was Perl, I would sue Netanel Rubin for slander.

  • shmem commented on Response to The Perl Jam 2

    Correction:

    while (<$x>) {
        say $_;
    }
    

    (after preview, I found that the diamond has to be entered as &lt;$x&gt; into the text box :-)

    Single argument open is fine; the real question is whether piped open via ARGV magic is appropriate at all - which is the only valid point of Netanel Rubin’s talk. Is that a bug or a feature?

  • shmem commented on Response to The Perl Jam 2

    Even the -dangerous - ARGV magic is covered in the docs. From perlop:

    Since the null filehandle uses the two argument form of “open” in perlfunc it interprets special characters, so if you have a script like this:

               while (<>) {
                   print;
               }
    

    and call it with “perl dangerous.pl ‘rm -rfv *|’”, it actually opens a pipe, executes the “rm” command and reads “rm“‘s output from that pipe. If you want all items in @ARGV to be interpreted as file names, you can use th…

  • mj41 commented on Response to The Perl Jam 2

    Yes, everybody should use static languages. For example Java.

    “… Going forward, developers should take this as an example of why it’s not safe to unserialize untrusted data. Unfortunately in the Java world, so much is built on the concept that this is okay, it’s going to take a long time to move away from that. …”

    http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-open…

  • Sawyer X commented on Perl 5 Porters Mailing List Summary: January 11th-24th

    Thanks for the correction, Ben. I've amended the blog post and I will issue a correction in the next summary!

Subscribe to feed Responses to Comments from Ben Bullock

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.