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).
  • Commented on System Thinking
    If you want to post anything to /r/perl, know that Reddit has some sort of filter on dev.to. If you message the mods we can approve the link. No idea why this is a thing, but it is in other...
  • Commented on I just discovered Dev.to
    Note that Reddit filters out dev.to links that people submit, so if you have problems with that in /r/perl, contact the mods....
  • Commented on ChatGPT for Perl Learning
    Reading might not be how younger generations consume info, but that's not the problem here. It has nothing to do with age or place in time. People have always looked for shortcuts and for ways to avoid learning. New technology...
  • Commented on ChatGPT for Perl Learning
    I don't think we've had a hard time pumping out docs and examples. The bibliography of Perl books, including The Perl Cookbook, is long. If someone wants to learn Perl, everything they need is in some book....
  • Commented on Ordering Your Tests
    Test::Manifest uses this feature to take the test order from a separate file (t/test_manifest)...
  • Commented on Assert Your Environment
    This is brilliant and I must now delay everything I was going to do today to integrate it into everything. Seriously. This would have solved some problems from last week....
  • Commented on Outstanding GitHub Items
    I had this problem a couple years ago. I was horrified that there were issues in my repos that I'd never seen because I thought I was good at responding to them even if I didn't have a fix. But,...
  • Commented on Scalar Context: Lists Versus Arrays
    There's also the perlfaq4 answer to "What is the difference between a list and an array?" https://perldoc.perl.org/perlfaq4#What-is-the-difference-between-a-list-and-an-array?...
  • Commented on Installing wxPerl for Strawberry Perl v5.32.0, or: Future of wxPerl?
    I've had this class of problem on macOS too. Raku's configure script would find a mix of tools from gcc and clang. Ah, I actually found the link: https://stackoverflow.com/questions/34781571/why-does-moarvm-complain-about-built-for-archive-which-is-not-the-architecture/35094347#35094347...
  • Commented on Proposal for Perl Foundation Memberships
    What vital activities do you think TPF is funding? Conferences mostly raise their own money and TPF is a pass through. TPF is almost completely absent (or present in name only) for most things that keep working. Before you think...
  • Commented on Reimagining perl5-porters email list for 2021 and beyond
    There are a few other solution issues aside from the functional aspects. If you look at p5p, a small number of people dominate conversations. It's not that they are more active, but they reply more and push their agenda more....
  • Commented on Subject Verb Object notation; declarative Perl without the framework
    Generally, I try to hide all such technical details. A method can decide to do it's work any way it likes, including calling different packages. However, when you subvert all of that to make resolution specific, you now have to...
  • Commented on I failed to pause before blogging
    The PAUSE code to discover which packages you use is very simple because it doesn't want to run code. It does a static search for "package IDENTIFIER". Although this won't help in your case, but that's why you sometimes see...
  • Commented on Perl dying? Well now I don't care
    I have many enhancements to Pod. You don't need to add anything to the basic Pod to get what you want because you can always write your own translator to get it. I think that's a better way to go....
  • Commented on Bill & Ted's Bogus Journey
    I used to do something similar, but now I pay more attention to whatever CI system I'm using. I'll print a bunch of diagnostic stuff in the setup/install phase....
  • Commented on Perl7 is a fork of values
    In that video, Bryan Cantrill makes points that don't support the ones you make here. He says that values need to adapt to people and the times, and the people leave when their values aren't represented. His through line is...
  • Commented on Perl 7 Thoughts
    It's a bit worse than that. Since v5.30 (and v5.26, but not v5.28) mandates the escape of the left brace in a pattern, your v5.32/v7 code has to comply with that. I recently updated my Object::Iterate module to use :prototype....
  • Commented on To-Study Plan: a beginning to OO in Perl
    Before you jump in Moose and friends, I suggest you try it with straight Perl OO first. You can learn the bare metal approach so when you jump into another framework, you appreciate what it's doing for you. Damian Conway's...
  • Commented on PDL: Episode VI - a New Book
    I'd love to write a PDL book. It's definitely on my list of interesting ideas. However, good books take quite a bit of time and effort. It's not a matter of simply writing. Most of the pain is in sequencing—what's...
  • Commented on Making YAML.pm, YAML::Syck and YAML::XS safer by default
    Data::Dumper and Storable have the same problem....
  • Commented on Communication at the 36c3 Perl and Raku Assembly
    These are basically my talking points too. I'd recommend that anyone who wants to do similar advocacy also come up with a good answer to five things you hate about your language: you don't really know something that you only...
  • Commented on A Static Archive of use.perl.org
    See https://noc.perl.org for contact details for perl.org infrastructure....
  • Commented on New Role Of Roles In Raku
    This is very good news! I had reported this in StackOverflow (https://stackoverflow.com/q/41791602/2766176) and was sad that it never got that much attention....
  • Commented on A Static Archive of use.perl.org
    This is very cool, and gets that off my to-do list for this week. Now I'm going back to read some of my journals to see if I had anything interesting to say. So far it seems that most things...
  • Commented on Perl Marketing Four Elements
    The four elements of marketing are often enumerated as Product, Price, Place, and Promotion. But you should also think about the other side. What does the customer want, why do they want it, and how do they want to receive...
  • Commented on Would you like to get one user instead of the top of TIBOE?
    Tim Bunce debunked the way they position their rankings: https://blog.timbunce.org/2008/04/20/tiobe-or-not-tiobe-an-update/...
  • Commented on Whither Stratopan?
    The project as a business is dead. It was a hard sell. Jeffrey stopped working on it long ago. There's still Pinto–the open source version of the same idea. If this is something you still want to pursue, I may...
  • Posted We don't need no stinkin' hosting to brian d foy
  • Commented on Which edges cases could perl shed to make it easier to parse?
    Kurila wants to do new things. That's not what I'm proposing. I'm not interested in making a new language. Anyone can still use Perl just as it is. I like the language I have now, but there are parts of...
  • Posted Nordic Perl Workshop 2018 Highlights to brian d foy

    mojo_logo.png

    • Mojolicious has a new logo. New shirts, stickers, and other swag coming soon.
Subscribe to feed Recent Actions from brian d foy

  • Randal L. Schwartz commented on ChatGPT for Perl Learning

    Here's what bing chat (itself a cousin of ChatGPT) had to say about your opening paragraph, and I agree:

    Using ChatGPT to generate Perl code can be a useful strategy for some people. It can help generate decent Perl code if given good instructions. However, it's important to note that it may make some mistakes and the generated code should be reviewed for accuracy and correctness. Ultimately, whether this is a good strategy for learning Perl depends on the individual's learning style and goals.

  • Dimitrios Kechagias commented on ChatGPT for Perl Learning

    If you don't already know what you are doing, ChatGPT can be very misleading. It's designed to be the world's greatest bullshitter after all.

    > ChatGPT, can you give me a regular expression that matches a repeating pattern of two characters that are different from each other?

    > Certainly! The regular expression that matches a repeating pattern of two characters that are different from each other is:

    (\w)\1

    Explanation:
    (\w) matches any word character and captures it as the first group.
    \1 matches the exact same character as the one captured in the…

  • vkavalov commented on ChatGPT for Perl Learning

    Perl is like the sharp guy in the back office who can solve any problem fast and efficiently. Doesn't care about the "fashion du jour" - just what works and is efficient. And then are the "me too"s, who spent their time sensing the daily winds and making sure they are sexier than the next one. And that's how they win the hearts and minds of the most young and superficial minds. But every now and then there is a "fashion" that is the real thing and somehow perl made a few bad bets.

  • Christian Damen commented on Time::Moment vs DateTime

    Gonna migrate our PERL5 applications from DateTime => Time::Moment. Thanks for all the efforts.

  • lichtkind commented on System Thinking

    Thank you brian, but I was not yet brave enough to jump into reddit.

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 with a graphic design donated by Six Apart, Ltd.