user-pic

Mike Friedman

  • Commented on Another strike against AUTOLOAD
    You might be able to do this more easily if you switched to Redis::Client (shameless plug.) No AUTOLOAD, and easier to extend....
  • Commented on Alien::Base - progress and problems
    Joel, I just want to say that I really appreciate your work on Alien::Base. I think it’s going to be one of the most important tools on CPAN in the near future and I’m glad someone has the brains to...
  • Commented on CPAN In The Sky With Diamonds
    Very nice!...
  • Commented on Is there a list of CERT advisories keyed to fixed Perl versions?
    Some of those CERT recommendations do list Perl::Critic modules under "Automated Detection." (This one, for example.) It would be pretty awesome to have a single policy bundle for all those recommendations, though. I'm feeling an itch in my coding fingers......
  • Posted Building Your First App with MongoDB and Perl at MongoDB Boston to Mike Friedman

    I'll be speaking on October 24th at MongoDB Boston 2012, taking place at the lovely Marriot Courtyard Tremont/Downtown.

  • Commented on A little “state” idiom
    Cool trick....
  • Posted MongoDB drops support for Perl 5.8. to Mike Friedman

    One of my many rules of software engineering, born of more than a decade seeing things done the Wrong Way, is that serialization must occur only at the extreme edges of your program. At all other points you should, if possible, deal only with structured data. The lack of it in one crucial area of…

  • Commented on Alien::Base Beta Release!
    Awesome! I’m really glad to hear that this is available. The CPAN toolchain has been missing this functionality for too long....
  • Commented on Beginning Perl (Wrox) is now released
    Congratulations, Ovid!...
  • Commented on Subroutine Signatures - my Plan (v.1)
    I think native subroutine signatures are a great idea, but I'm concerned about the effect of replacing the prototypes with a different feature, even if it's controlled by a lexical pragma, That means the thing after your sub name has...
  • Commented on Fast datetimes in MongoDB
    Time::Piece is definitely a possibility. The only difficult part is that the code that deserializes the returned datetime data from MongoDB is all written in C, so adding support for other date/time modules takes a bit of work. But if...
  • Posted Fast datetimes in MongoDB to Mike Friedman

    One of the most common complaints about the Perl MongoDB driver is that it tries to be a little too clever. In the current production release of MongoDB.pm (version 0.46.2 as of this writing), all datetime values retrieved by a query are automatically instantiated as DateTime objects.

    The…
  • Commented on Creating Your Own Perl
    This is very cool. I've been doing a similar kind of thing where I hacked up a custom Devel::Declare class to give me a custom class { ... } keyword that set up all my preferred syntax within the block....
  • Commented on Writing transactional functions
    What I mean is, instead of this: return [200, "File $path needs to be deleted", undef, {undo_actions=>[ [untrash=>{path=>$path}], ]}]; You could do something like this: return [200, "File $path needs to be deleted", undef, { undo_action => sub { $self->untrash(...
  • Commented on Writing transactional functions
    Have you thought about returning a function which is composed from all the undo steps, rather than a list of undo functions and arguments?...
  • Posted MongoDB 0.46.1 Released to Mike Friedman
    I'm happy to announce that version 0.46.1 of the Perl MongoDB driver has been released to CPAN! It should make its way to your local mirror soon. This release has mostly minor bugfixes and some housekeeping, but more and better stuff is coming down the line. I've written a detailed post about the…
  • Commented on Slides for my YAPC::Europe 2012 Keynote
    Thanks for putting these up....
  • Commented on Where is Florian Ragwitz?
    I was able to get in touch with him on IRC thanks to some helpful tips from BPO readers. :) Thanks to everyone who replied....
  • Commented on Building Scalable, Distributed Job Queues with Redis and Redis::Client
    Drat. Now I'll actually have to write something. :)...
  • Commented on Trying Marpa to parse CSS
    Really nice example. I've never seen an asterisk referred to as a "splash" before, but I like it. :)...
  • Commented on Go Lamers Bus Lines To YAPC
    I heard that this is how all the PHP programmers will get to YAPC....
  • Commented on Updates to CPAN module reviews
    These are really great. Thanks for your hard work on them....
  • Posted Two new Pod::Weaver plugins to Mike Friedman

    After falling in love with Pod::Weaver, I've released two new Pod::Weaver plugins which you may find useful for assembling boilerplate POD sections in your distributions.

    The first is

  • Commented on No YAPC::Cuba
    People may be afraid of the US, but if they are, it's their own problem for being ignorant of what American policy towards Cuba actually is. There's a lot to debate about the value of that policy, but the tragedy...
  • Posted Falling in love with Pod::Weaver to Mike Friedman

    I've been working on Redis::Client for a while now. It's not ready for production use yet, and there's a lot of work yet to be done, but it's much better than anything else on CPAN right now for talking to

  • Commented on Perl Has No Static Code Analysis Tools?
    I started an article for Perl::Critic (amusingly it has just been a redirect to Static Code Analysis before.) I'll leave it to others to ensure that it's notable enough. :)...
  • Commented on Confessions of a Dist::Zilla newbie
    Great post! I've just started using Dist::Zilla myself, and I've successfully pushed a couple releases to CPAN with it. I couldn't get the git stuff working either, but I didn't try very hard. Emacs magit-mode makes it really easy to...
  • Commented on What do we, Perl programmers, want?
    I want peace on Earth and good will towards men. And a Winnebago....
  • Commented on Asynchronous MySQL Queries in Perl Using DBD::mysql and AnyEvent
    This is very cool!...
  • Posted Announcing namespace::sweep to Mike Friedman

    A question recently appeared on Stack Overflow about using namespace::autoclean in conjunction with operator overloading.

    It turns out that you can't, because namespace::autoclean, in addition to cleaning up symbols for imported sub…

Subscribe to feed Recent Actions from Mike Friedman

  • Duncan White commented on Beginning Perl (Wrox) is now released

    Ovid, really liked the book (actually still going through it), it's nicely written, but there are loads of typos, especially wrt code indentation (?was there a space/tab confusion that running the whole book thru 'expand' could have fixed?).

    Most seriously, you've made a serious logical error pp300-306 ("grepping for primes"), where your prime caching is broken. I've submitted an errata report via wrox, but noone's got back to me yet (a week or so later!). Have they passed it onto you yet?

    The core of the logical error was:

    my @primes = grep { ( exists $is…

  • Ovid commented on Beginning Perl (Wrox) is now released

    Duncan, thanks for the report. It looks like I'm going to have to try and write something up to fix that for the errata. Damn!

  • brian d foy commented on Another strike against AUTOLOAD

    I don't see this as a strike against AUTOLOAD but a consequence of using a dynamic language. You could have the same "method doesn't exist yet" problem without AUTOLOAD. The problem I see is that Smalltalk's omniscience has invaded Moose, but that design doesn't really work when you can't know everything. It's why my Perl class browser project ultimately failed.

    I don't dispute that this is mystifying to new Perl users, but I don't see that as a problem. Power and pro-level tools tend to mystify new users, but when they become experienced users, they have a lot of, well, power.

  • Pedro Melo commented on Another strike against AUTOLOAD

    Actually, what you found was a bug in Redis, congrats! :)

    Redis.pm must keep track of the current database to deal properly with reconnect. I should have the time to patch this in soon, but if you really need it, you can send me a pull request, I'll cut a release immediately.

    Bye,

  • Ovid commented on Another strike against AUTOLOAD

    Nathan, see perldoc mro.

Subscribe to feed Responses to Comments from Mike Friedman

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.