user-pic

Michael G Schwern

  • Website: schwern.net
  • About: Ya know, the guy who tells you to write tests and not use MakeMaker.
  • Commented on Testing with AppVeyor
    AppVeyor is so confusing, this is the best docs for Perl I've yet seen. Thank you! Finally, Windows CI Testing!...
  • Commented on Improved autobox-ing. I'm loving it :o)
    As a point of information, you mentioned Method::Signatures for code that doesn't need speed optimizing implying that the signatures would slow things down. Method::Signatures has little overhead itself. With the exception of the type checks, all code is inlined. The...
  • Posted Blog moved to blog.schwern.net to Schwern

    My blog has moved to blog.schwern.net.

  • Commented on Discoverable tests and creating testing standards
    I add this to my WriteMakefile. test => { TESTS => 't/*.t t/*/*.t t/*/*/*.t', },...
  • Commented on Discoverable tests and creating testing standards
    I like the naming convention, I try to do that on my projects. Usually I go with one test file per method, especially in untested code methods to too much, so testing Foo::Bar->thing would be t/Foo/Bar/thing.t. I've tried the can_ok...
  • Commented on Musing on Perl::Critic config
    A good start would be to add an include/overlay directive to allow overlaying one policy file over another. I agree the configuration choices are dizzying. I want to say I've never had a problem with them, but I think I...
  • Commented on How Not To Highlight Women In Perl
    I understand your sentiment, but I don't think the pot needs to be stirred any further. We've got buckets of negativity already, it's not going to solve the problem or attract a different sort of user to Perl. Work on...
  • Commented on So apparently this is creepy
    I wrote up a full explanation in my own blog about why this is viewed as creepy, even if you had no intention....
  • Posted How Not To Highlight Women In Perl to Schwern

    Here's the short version: gender anonymity is protection, and in a male-dominated community many women prioritize safety. A machine parsible list of female CPAN authors threatens their anonymity even if they're not on it.

    Here's the even shorter version: highlig…

  • Posted Further Reading For The YAPC::NA 2012 Keynote to Schwern

    This is a placeholder post to house links to further reading from my YAPC::NA 2012 keynote.

  • Commented on I was called "fucking asshole"
    Oh! schmorp is Marc. I honestly just caught on, I really didn't want to look too closely at the flame war. Wow, that makes this some sort of perfect storm of awfulness. schmorp/Marc, this is not a technical issue. Whether...
  • Commented on I was called "fucking asshole"
    I'm sorry that you encountered Marc and that you got treated rudely for having what should have been a perfectly reasonable conversation with him. He has a dislike of rt.cpan.org and is unwilling to do a very simple thing (bugtracker,...
  • Commented on Test::Builder2 vs CPAN and How You Can Help
    OIC what's going on now with the Log event. That will work, but the better way to handle that is to put in an early_handler which modifies Log events as they go by....
  • Commented on Test::Builder2 vs CPAN and How You Can Help
    (Github for some reason isn't accepting comments on that change) _print_comment is gone from TB2, that was likely the TB1 vs TB2 change which broke things. Work at done_testing time is better done by adding an EventHandler for the TestEnd...
  • Posted Test::Builder2 vs CPAN and How You Can Help to Schwern

    Test::Builder2 is now down to two issues.

    1. The problem of using Mouse
    2. The problem of backwards compatibility

    The former is complicated, but suffice it to say TB2 cannot rely on Mouse or Moose or Moo. It's being solved by writing an OO compiler, something which…

  • Commented on The unexpected case of -Mblib
    Ahh, I didn't fully understand the impact of compiling on what you were measuring. Sorry for the confusion....
  • Commented on The unexpected case of -Mblib
    What I think you're seeing is the impact of File::Spec and Cwd, and it would be a huge win to see their impact reduced perhaps by making them load modules on demand... but something doesn't ring true about your module...
  • Commented on A Real Developer Challenge
    This is actually a terrible way to interview people. From a position of power (you're the one with the money), you pretend to ask someone a question, while actually wanting them to dispute your question. I've thought about just...
  • Commented on True + True == 2
    I fall for things like this all the time, because my default mode of operation is not to be fastidious. (As an aside, I'm unable to come up with a positive antonym for fastidious). If I can assume that the...
  • Commented on A Real Developer Challenge
    I am very proud of that solution....
  • Commented on A Real Developer Challenge
    I don't think that's just a European thing, I find myself doing that just about everywhere. I'd hypothesize this is another consequence of the myth we have in our heads about what developers do, how developers think and what developers...
  • Commented on True + True == 2
    You're right, it's likely deliberate that it didn't short circuit so the user sees the result of both checks. I'll amend the patch....
  • Posted A Real Developer Challenge to Schwern

    Spotify is having a coding challenge to find "top-notch talent to join our NYC team". The challenge is to solve the most algorithmic puzzles in four hours... alone. "You may not cooperate with…

  • Posted True + True == 2 to Schwern

    I've seen lots of new Perl programmers confuse 1 and true before, usually something like this:

    do_something if boolean_function() == 1;
    

    This is not only redundant, but it's also brittle and redundant. In Perl, it's very easy for a boolean func…

  • Commented on Announcing Module::UseFrom
    Joel asked for my commentary, so here it is. Pro: Using Devel::Declare to get around the problems of loading a module dynamically is a very clever solution… Con: …but it severely restricts the utility of the module. It can only...
  • Posted Help Test::Builder 1.5 to Schwern

    To keep myself focused on getting a feature complete Test::Builder 1.5 out this month, I've been writing down non-critical tasks rather than doing them myself. Refactorings, documentation and interface fixups. They're helpfully categorized:

  • Commented on The End Of 5.6 Is Nigh!
    Thanks for the heads up. I'll try, but I'm not getting paid by Oracle to sweep up after them being seven years out of date. If someone knows somebody at Oracle who wants to change that, I'm all ears for...
  • Commented on The End Of 5.6 Is Nigh!
    @Peter Wow, thanks for the offer! I likely will. I hope you're up on your threads voodoo! If it gets bad, there will likely be a separate minimum for threads support....
  • Posted The End Of 5.6 Is Nigh! to Schwern

    It's that time again! Time when I hammer the last few nails in the coffin of a version of Perl. A few years back, I killed 5.004 and 5.005 in a stroke by uping the minimum version of Test::More, upon which 80% of CPAN relies, from 5.004 to 5.6.0. In a few months I'll be doing it again.

  • Commented on How (not) To Load a Module or Bad Interfaces Make Good People Do Bad Things
    Running under taint would avoid the whole threat described in this post. Taint mode just tells you if your inputs have been checked. It does not tell you that your check is secure. While it will help to use...
Subscribe to feed Recent Actions from Michael G Schwern

Subscribe to feed Responses to Comments from Michael G Schwern

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.