user-pic

blog.urth.org

  • Commented on Why I try to avoid Perl's punctuation variables
    We've been using subroutine signatures for a while at $WORK and it's a huge improvement. I really wish I could use them with my CPAN code too....
  • Commented on Test2/Test::Builder Update from the QAH
    Aristotle said: Thus the claim that Test modules would have to be written specifically against Test2, in order to be able to work with other Test2-based modules, is simply factually incorrect. That wasn't what I was trying to claim. Maybe...
  • Commented on Test2/Test::Builder Update from the QAH
    Leon Timmermans said: For the end-users, a split is clearly the less risky option, and there doesn't seem to be any direct advantage to them in keeping the ecosystems unified. I think the advantage for end users is that they...
  • Commented on Test2/Test::Builder Update from the QAH
    Several people have suggested making Test2 opt-in, but I don't see how that could possibly achieve anything of value. I work on two test modules that will greatly benefit from Test2. These are Test::Class::Moose (TCM) and TAP::Formatter::TeamCity (TeamCity). Neither of...
  • Commented on Private Moose Attributes
    has _request => ( is => 'ro', isa => 'Catalyst::Request', init_arg => 'request', predicate => '_has_request', );...
  • Commented on Automatic testing of your reverse dependencies with Test::BrewBuild
    I wrote a module, Test::DependentModules, that also tests reverse deps. It might be nice to use that instead of re-rolling this if your implementation is doing the same thing....
  • Commented on Help needed updating Gedcom::Date
    Oop, sorry, if you know the day you want 'yMMMD', I believe....
  • Commented on Help needed updating Gedcom::Date
    I think if you use DateTime->format_cldr() and get the format from $locale->format_for('y') and ->format_for('yM') that should do the trick....
  • Commented on A Date with CPAN, Part 1: State of the Union
    Also don't forget locale support, which is also quite useful for any app that has to support a wide variety of users....
  • Commented on A Date with CPAN, Part 1: State of the Union
    I can live without support for arbitrary timezones. I’m willing to be satisfied with two timezones: UTC, and whatever timezone I happen to be in. If you think about it, this is exactly what’s built into Perl itself: gmtime and...
  • Commented on Grants for applications (vs. Perl infrastructure)?
    I think the main requirement has to be that the software available under an open source license. I'd also be very skeptical of a grant that was aiming to bootstrap a business by building some sort of "open core" software....
  • Commented on Uploading a new package
    I'd suggest emailing modules@perl.org or Andreas Koenig, per http://pause.perl.org/pause/query?ACTION=pause_04about The Perl blogs site makes a poor bug reporting tool....
  • Commented on RFC: Limiting grant duration
    This sounds very reasonable. You might also consider limiting the proposed duration to something like 2 months per $1,000 dollars of grant money....
  • Commented on Djet
    What is this for? Why would we want to use it? What are the use cases?...
  • Commented on My CPAN Cleaning, Day 2457025.500000
    For the ubergit, maybe git got is what you're looking for? I haven't used it myself....
  • Commented on Spam on CPAN
    I filed a bug against the module's issue tracker. I don't think the author *intended* this to be spam, but it doesn't seem to serve much of a purpose....
  • Commented on Creating an MMORPG in Perl
    Yes, please keep blogging about this....
  • Commented on Classify your RT tickets on CPAN Day!
    This list could use a little curation. SVK has been long dead. Math-Pari is completely insane, though I guess some people still use it. Personally, I stay far aware and use the GMP bindings instead. As for Tk, I guess...
  • Commented on Are conference speakers compensated
    [Side note: Please link nouns like "compensation for conference speakers" rather than "wrote" ;)] Sawyer, this is all very interesting and worth reading, but I think you totally misunderstood what the "dirty secret" was in brian's post. It wasn't anything...
  • Commented on Are Abilities Roles?
    Doh, I missed that init_arg bit. Nonetheless, my point about whether you'd instantiate the base class stands. If the answer is no, there's no point in having it be a class at all....
  • Commented on Are Abilities Roles?
    What is the purpose of making Ability a class in this design? If you never plan to instantiate it, then it should be role. Also, with your current design I could write Strength->new( name => 'Wisdom' ). That makes no...
  • Commented on I hate Dist::Zilla and missing Makefile.PL
    Why do you need a Makefile.PL or Build.PL in a repo? If it's a pure Perl module you can do everything you need to simply by running prove. For my XS modules I always do add a minimal Makefile.PL or...
Subscribe to feed Recent Actions from blog.urth.org

  • Aristotle commented on Test2/Test::Builder Update from the QAH
    The 'explicit opt-in' approach works only until people start porting existing extensions on CPAN, which a number of Test:: authors have expressed an interest in, and then users would see far, far weirder breakages than what we're currently doing is likely to cause

    Just so this statement is not left unchallenged, let me be on record that in verbatim form this argument is nonsense; although it may be meant as a shorthand summary of a longer argument which does make sense.

  • Aristotle commented on Test2/Test::Builder Update from the QAH
    For TCM to work with Test2, every single module you use to output tests must also use Test2.

    This, however, I will call unqualified nonsense. Let me demonstrate to you why:

    1. Test::More will not be changing at all. Yet it will be able to coöperate with Test2-based modules just fine, by using a Test::Builder whose guts have been swapped for a Test2 wrapper.
    2. If it were true, that would mean that Test2 could not be released as part of Test::Builder without a simultaneous re-release every single test module on CPAN, ported to Test2. Otherwise CPAN …
  • Aristotle commented on Test2/Test::Builder Update from the QAH
    Maybe I don't understand what you and Leon wanted to happen.

    Yes, sorry, I’ll be publishing a long-form, detailed version of the proposal very soon. I’ve realised the proposal is (either largely or entirely) non-understood – the abridged version I presented on the fly at that table was insufficient. (I had hoped but failed to have it out there sufficiently early before the QAH that people could digest it in detail.)

    My point was simply that Test2-using tools will not cooperate with code that uses the existing pre-Test2 Test::Builder.
  • Chad 'Exodist' Granum commented on Test2/Test::Builder Update from the QAH

    One of the initial options discussed as early as last year was this:

    Test2 and Test::Builder remain separate. Tools pick one a build with it. To use both together you load a shim such as Test2::Legacy, which replaces Test::Builder with the alternative guts.

    This was the alternative being discussed in the Test2 meeting on day 1 of the 2016 hackathon. We decided it was not the right plan. My main reason for opposing this plan is that nothing stops people from updating old modules to use Test2, and also auto-loading the shim to insure they do not break things that depend on them…

  • Ovid commented on Why I try to avoid Perl's punctuation variables

    Abigail: I had to read your example a couple of times to understand it, which means that I rest my case.

    
    my $placeholders  = join ', ' => ('?') x @ids;
    my $query = <<"END_SQL";
        SELECT  foo, bar, baz
          FROM  SomeTable
         WHERE  id IN ( $placeholders )
    END_SQL
    

    I'm sorry, but I think my version is much easier to understand.

Subscribe to feed Responses to Comments from blog.urth.org

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.