user-pic

Aristotle

  • Commented on Can you provide an x/y Point class in other languages?
    Thanks for giving me a vain motivation to finally finish designing and write Object::Properties, which I’ll be releasing to CPAN shortly. :-) package Point { use Object::Properties '+x' => \&_check, '+y' => \&_check; use overload '""' => \&Str, fallback =>...
  • Posted Serializers for Perl: when to use what to Aristotle

    This is a moderately edited (primarily rearranged) version of a comment on the Perl 5 issue…

  • Commented on A survery of gettext and I18N resources
    Well, what exactly might make you think Maketext’s design would have gotten better?...
  • Commented on CPAN Cleaning Day 2457027: Changes and README
    kentnl++ just turned my README wishlist (/ IRC kvetching) into code: Dist::Zilla::Plugin::Readme::Brief. An example of its output is the plugin’s own README....
  • Commented on Speaker for the dead
    Ah,Old code should not die, but instead be placed in suspended animation for youngsters to point and laugh.… a kindred spirit....
  • Posted Is Perl dead? to Aristotle

    Or just deader than Ruby?

    (Does this constitute a Ruby-o-meter++? Can it increment in reverse?)

  • Posted Speaker for the dead to Aristotle

    I just retired one of my modules. I want to make a note here of the preservational ritual I followed, to invite others to consider doing the same:

  • Commented on Git-Like Menus
    One tweak though: Yes I forgot. definitely cleverer than mine Too clever, when I look at it again; excuse my moment of fogginess. Obviously it should be my $saved_premenu = $premenu; { $premenu->() if $premenu; $premenu = $saved_premenu; Then the...
  • Commented on A small puzzle for you
    I believe it takes linear time in the length of the inputs, while they take order (n log n).That would be nice if this were C, but it’s Perl. So the algorithm may be linear, but due to huge amounts...
  • Commented on A small puzzle for you
    my ( $i, %index ) = 0; $index{ $_ } //= $i++ for @a, @b, @c; for ( \( @a, @b, @c ) ) { my @rearranged; @rearranged[ @index{ @$_ } ] = @$_; $#rearranged = keys %index; @$_ =...
  • Commented on Git-Like Menus
    Comments later maybe. Some long lines cut off, copy-paste to read it. Only functional difference: help is not optional. func mini_menu ($prompt, ArrayRef $choices, CodeRef :$premenu, :$delim = ',') { state %keynames = ( ' ' => 'SPACE', "\n" =>...
  • Posted Buftabline – forget Vim tabs, now you can have buffer tabs to Aristotle

    I just released Buftabline, a Vim plugin that takes over the tabline and renders the buffer…

  • Commented on We are all Perl's ambassadors...
    I wonder how many My guess is few. Every single one of these cases is lamentable, so the fact that there are relatively few is no great solace, but I do not see signs of an epidemic of chasing novices...
  • Posted Tonight’s folly to Aristotle

    I just realised that since the addition of /r, you can now write s!!!regex. Or s!!!regexp if you prefer.

  • Commented on Test::More has lots of crazy new development that's breaking my modules
    CPAN Testers isn’t about assigning blame. It’s about finding bugs. But the PASS/FAIL stats get shown as PASS/FAIL in Business::ISBN, not in Test::More. You could still make a strained argument that they do belong to Business::ISBN, but they clearly aren’t...
  • Commented on Install Net::SSLeay without root
    Does the install target have any rules of its own? Because if it’s just there to depend on all and install_sw, you can just say make all install_sw yourself instead of editing the Makefile…...
  • Commented on Try rakudobrew and play with concurrency
    But lets not call it before it happens... :) The way I understand these results is “here is proof positive that it can”: a plausible promise. There are still seasons’ worth of low-hanging fruit ahead, anywhere you look, so the...
  • Commented on Citations In the Humanities (Update)
    What does this have to do with Perl? It’s written by a guy who does Perl. :-) Which is what this site is about: people who do Perl....
  • Commented on Try rakudobrew and play with concurrency
    To be fair, I think that's only the case for micro-benchmarks that compare Perl 6 **built-in** features with the equivalent features provided by bloated/unoptimized/neglected Perl 5 **modules**. For example, Perl 6's built-in Rat type vs Perl 5's Math::BigRat. No, actually,...
  • Commented on Try rakudobrew and play with concurrency
    That's quite a surprising assertion – what's it based on? It used to be true some while ago – and some of the basis for that still applies: Perl is still faster than CPython and PHP. It beat the pants...
  • Commented on Try rakudobrew and play with concurrency
    Lately you make a lot of comments you'll go to hell for. :-)...
  • Posted Bring your dirty YAPC::EU 2013 money to YAPC::EU 2014 to Aristotle

    Nicholas Clark:

    ="http://www.nntp.perl.org/group/perl.perl5.porters/;msgid=20131003134406.GJ4940%40plum.flirble.or…
  • Commented on Dynamic Web-Based Student Management (thesis abstract)
    The last comment you thanked was actually comment spam. You will recognise these by the fact that the link entered in the link field of the comment form points to a product or company page rather than some personal homepage...
  • Posted The perversity of traditional Perl 5 dereferencing syntax to Aristotle

    I wrote this article almost a year ago as part of an omnibus reply to a bunch of different posts from a perl5-porters thread. I never finished all parts of the reply and thus never sent this part either, but in contrast to the other parts of this stillborn mail, I think this one is worth reading.…

  • Posted To the tune of… to Aristotle

    Buddy Burden:

    Yes, we had multiple keynotes [at…

  • Commented on Changes to Test::Builder/More/Simple incoming
    So what is the future of Test::* now? (Maybe a separate entry about that?)...
  • Commented on mop problem 5 - Role and C3 searching is not always necessary
    Multiple inheritance is bad, yes. But, why? Can you explain? (I don’t mean to me. Just think about it.) Once you have done that, think about how roles work – or if you don’t know, find out. Then consider: can...
  • Commented on Deprecated not depreciated
    First of all, pay attention to the usage examples in the very definition you quoted: “he deprecates the value of children’s television”“the pound is expected to depreciate against the dollar” “To depreciate” is intransitive; “to deprecate” is transitive. Depreciating is...
  • Commented on "Functional core & Imperative shell" : OO design, and isolated tests without mocks
    Other than an unreliable external service, why mock anything up? Ovid, I linked you Gary Bernhardt’s Test Isolation Is About Avoiding Mocks in your own comments already – you really ought to read it. The (here deliberately over-summarised) punchline is...
  • Commented on Sick of being mocked by unit tests
    One of the better articles I’ve read in this back&forth: Gary Bernhardt: Test Isolation Is About Avoiding Mocks...
Subscribe to feed Recent Actions from Aristotle

  • Buddy Burden commented on Git-Like Menus

    Aristotle,

    Comments later maybe. Some long lines cut off, copy-paste to read it. Only functional difference: help is not optional.

    Nice! :-) A couple of minor glitches, but I can easily see what you were trying to do. I certainly can't deny it's shorter and a bit more concise than my version. I'll make a few comments, and hopefully you'll not take anything as criticism of your help, which is much appreciated.

    1) Moving the outer my into an inner state is definitely the right call. One tweak though: you have to change it …

  • Ron Savage commented on A survery of gettext and I18N resources

    Admittedly, the change log is not impressive, but as an optimist I was just hoping things were, err, better....

  • Ron Savage commented on A survery of gettext and I18N resources

    Thanx for the correction. I did not check the code. I just copied that remark from a page I read yesterday.

  • Ovid commented on Can you provide an x/y Point class in other languages?

    brian, your point about the default value is well taken. Thanks.

    For the Java comments, I'll leave that to Damian, but I'll add this: I've sat in those Java classes and it's a bloody nightmare with students either trying to juggle tons of new concepts at once, or cargo-culting everything and hoping they pick it up later. And there is a point where verbosity matters. I was working in COBOL on a 150 line procedure that was hard to unravel, but after I cleaned it up, I only got it down to 80 lines, as opposed to 10 lines of …

  • brian d foy commented on Can you provide an x/y Point class in other languages?

    I think Damian makes the mistake most people do when criticizing a language. They conflate the language itself with the stupid libraries and idiotic ecosystem. It's not the syntax and design of the language that makes it so and I've seen some really talented programmers make Java do some amazing things. They just go around all the other shit though.

    Consider that a lot of the criticism of Perl is CPAN. It's not what you can do with the language that's to blame for what other people did with it.

    But, remember mjd's Why I Like Jav…

Subscribe to feed Responses to Comments from Aristotle

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 run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.