user-pic

brian d foy

  • Website: www.theperlreview.com
  • About: I'm the author of Mastering Perl, and the co-author of Learning Perl (6th Edition), Intermediate Perl, Programming Perl (4th Edition) and Effective Perl Programming (2nd Edition).
  • Posted What's Freelancers? to brian d foy

    I didn't mean to go to the Freelancers.com site, but I saw a tweet about the paste command:

    I thought the tweet might have something to do with the ="http:…

  • Commented on I learn something about tell(), then abuse it.
    Ah yeah, I keep forgetting to use file handles as objects. I started Perl too early to immediately jump to those....
  • Commented on A comparison of memory use for primality modules
    I'm also curious what the range limitations are for each method. Sometimes a slow program that has a longer range is better than a speedy one that stops at 127. And, how long does it take for the last prime...
  • Posted I learn something about tell(), then abuse it. to brian d foy

    I learned a new thing today, or remembered a forgotten one. I can use tell to affect the file handle that $. uses.

    It all started very simply. I was going too far in my answer to ="http://stac…

  • Commented on Want PPW in 2014? So do I.
    I think this is a great way to discover things the community wants to do. However, if these sorts of things fail, I don't necessarily think that means people don't want it. We haven't developed the channels to reach all...
  • Commented on Are conference speakers compensated
    I'd rather hear a really good speaker than have a conference t-shirt. As I noted in my post, YAPC has gone far beyond it's grassroots beginnings (which was more like today's Foo-camps). That's one of the problems I alluded to...
  • Commented on Swiss Perl Workshop: Kickstarting Mastering Perl Course
    You don't have to go to the Swiss Perl Workshop to contribute. You can sponsor a student to go to my classes! I'm also sending out signed books as a reward. You don't have to attend to get that....
  • Commented on Attendees Meet and Greet
    I organized a newbie event at YAPC in Madison, and it was certainly low rent and designed to be that way. I cajoled a bunch of Perl's big names to have lunch with four YAPC newbies each. People signed up...
  • Commented on Sawyer X joins Perl::Dancer conference as trainer and speaker
    While Sawyer (and Peter Rabbitson) are in New York State, I'd like to entice them to come to New York City as well. :)...
  • Commented on How should conference speakers be compensated?
    I don't think that you were a jerk at all, but I don't think you addressed the dirty secret that all the grass-roots volunteerism and open source-ism is paid for corporate money coming from closed sourced software (mostly). I don't...
  • Commented on How should conference speakers be compensated?
    I look forward to your opinion on the whole thing, especially since I know you had things to say about it on that mailing list. But yes, I meant what I said. Maybe you have a different opinion....
  • Commented on Time::Moment vs DateTime
    This looks amazingly cool with a slightly friendlier interface! What are the functional differences to DateTime? Are there any incompatibilities? That's the first section I looked for in the docs....
  • Posted How should conference speakers be compensated? to brian d foy

    Curtis Poe, one of the top presenters in the world of Perl (and testing and ...) recently posted How Do Conference Speakers Get Compensated? in…

  • Commented on The 'right' name for your CPAN distribution
    PAUSE has some naming guidelines in On the naming of modules for choosing the actual module name. Maybe you can roll some of this into it (the PAUSE Github repo. :)...
  • Commented on Does anybody know Matthias Nutt?
    I say go for it. I can't say that Matthias won't be mad, but I'd assert that expensive lawsuits are improbable (an inexpensive cease and desist is more likely, but I don't know where you are). If it was already...
  • Commented on CPAN Workshop in Houston at cPanel
    I could and will do that, but that's exactly what Acme:: was supposed to do. Why are you paying attention to Acme modules?...
  • Posted CPAN Workshop in Houston at cPanel to brian d foy

    I'm giving my CPAN workshop at cPanel* in Houston on Thursday July 31 at 7pm. In this workshop, you can go from nothing to releasing a CPAN distribute in a couple of hours. We'll go through the entire process using an actual distribution you create and uploading to a live server. You may even get…

  • Commented on The ghost of CPAN Days past
    Ah, yes, that was a popular tutorial with many people uploading almost the same distro at the same time....
  • Commented on The ghost of CPAN Days past
    Game on....
  • Commented on Drinking the Data::Printer Kool-Aid
    When I get in those situations, I start building special methods into the class so I can control precisely how I get to see the data structure (as well as modify the method for special cases). Some modules (like some...
  • Commented on Swiss Perl Workshop 2014 with brian d foy
    And, while I'm in the area, if anyone would like me to stop by to teach a class, give a private talk, or do a little work, let me know!...
  • Posted European Perl Tour 2014, getting real to brian d foy

    Sawyer and I want to do the European Perl Tour, and we have to start making real plans and arrangements.

    Our idea is to travel to anywhere people want to hear us talk about Perl (or whatever) toward …

  • Commented on Let's delete 10,000 files from CPAN
    I specifically don't want to create a Trash Patrol to start taking actions for other people. Even in taking over namespaces, which doesn't affect the old author's directory, PAUSE admins are very cautious....
  • Posted Let's delete 10,000 files from CPAN to brian d foy

    This week, let's delete 10,000 (decimal) files from CPAN. Thanks to Ricardo, we're almost a tenth of the way there.

  • Commented on Carrying (mini)CPAN
    The cpan(1) command also has the -j option to load any config file you like. You can create a wrapper program on the memory stick so everything you need is right there. That program can even figure out where it...
  • Posted A smaller, faster, more agile Perl to brian d foy

    I've been working on a secret project lately, and I wasn't quite sure it was going work out. Most forks of Perl don't, but because they try to go bigger. I needed something that went smaller. Miniperl and microperl, both parts of the core distribution, weren't enough.

    It started with a cus…

  • Commented on Acme we are not just 500 Pound Anvils
    From Stackoverflow, How can I unbless an object in Perl?. :)...
  • Commented on New Perl content on O'Reilly Programming
    They don't segregate the topics by tool and I haven't been able to find such a feed. Maybe we can add tags. However, I suggest at least perusing all of the posts and not limiting yourself to a particular tool....
  • Commented on New Perl content on O'Reilly Programming
    I hope that means you're going to write more articles. :)...
  • Commented on Getting a progress report from a running program
    Steve Lembark had a really good presentation about this sort of idea. I think he gave it at a Frozen Perl, but that site has been hijacked it looks like: http://frozen-perl.org...
Subscribe to feed Recent Actions from brian d foy

  • Christian Hansen commented on Time::Moment vs DateTime

    I'm not sure what you are asking, if you think I didn't try to improve the performance of DateTime.pm, you think wrong (look at the changelog or ask Dave Rolsky).

    Time::Moment can never be "backwards" comparability with DateTime.pm due to DateTime.pm's design.

  • Dana Jacobsen commented on A comparison of memory use for primality modules

    Brian, that's really a different question. This started out as just a "how much memory is used just to load the module without doing anything" but then I figured I should call a single function. Then figured I may as well do a toy task.

    These aren't huge numbers, but from the Math::Prime::Util documentation:

    is_prime from 10^100 to 10^100 + 0.2M
        2.2s  Math::Prime::Util          (BPSW + 1 random M-R)
        2.7s  Math::Pari w/2.3.5         (BPSW)
       13.0s  Math::Primality            (BPSW)
       35.2s  Math::Pari                 (10 random M-R)
       38.6s  Math::Prime::Util w/…
  • Dana Jacobsen commented on A comparison of memory use for primality modules

    Perl 5.21.3 built on AIX 7.1 Power 7, 64-bit. Unfortunately building things on AIX is a PITA -- I gave up trying to get GMP, Math::Pari, or ExtUtils::CppGuess (used by Math::Prime::FastSieve) to work. Measuring memory use is non-obvious for fast-running tasks. I'll just do some times for the same 1-10M isprime to at least show the different architecture.

    132.1 Perl trial division mod 6
    291.7 Perl trial division
    9.8 Math::Prime::Util
    2.5 Math::Prime::Util with precalc
    6.7 Math::Prime::XS

    On this machine, Math::Prime::XS's simple trial divi…

  • Leon Timmermans commented on How should conference speakers be compensated?

    I think there are two kind of sponsored people.

    The first category are the Damians of our community. These are people whose attendance at any conference provides an immediate and obvious benefit every time you'd invite them.

    People like me and ribasushi are a different category. While I do think we both make a positive contribution to a conference, it's not anything near the value that someone like Damian would provide. Instead, I believe our crowdsourcing success is based on community goodwill. We do a lot of open source work that we aren't getting paid for. There are a lot …

  • Dana Jacobsen commented on A comparison of memory use for primality modules

    I had tried adding trial division with no better performance, but that last was the clue. For small sizes, when not using Montgomery math, I have trial division using unsigned ints. This almost halves the time on the AIX/Power7 machine -- down to 5.0s. As I expected, trial division is slower on x86_64. I'm interested in hearing how your tests went.

Subscribe to feed Responses to Comments from brian d foy

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.