user-pic

Randal L. Schwartz

  • Posted detecting "too heavy" views in Template Toolkit to Randal L. Schwartz

    $client is doing a lot of heavy lifting (perhaps accidentally) in some Catalyst-driven Template Toolkit code. Apparently, it's far too easy to pass a DBIx::Class object into the stash, and then trigger things that end up hitting the database... from the view. That wouldn't be horrible, except…

  • Commented on Spewing Sentences
    For the underlying technology for this, check out the original spew code and how I made it Inline compatible....
  • Commented on Perl::Critic for the Camel
    Hey, I still have that. It's basically my full "Perl Best Practices" talk, but I have annotations on a few dozen of the pages about how I'd do it instead....
  • Commented on JQuery and Moose
    John Resig is a big Perl user, which surprised me nicely when I was interviewing him for FLOSS Weekly....
  • Commented on Interview with Jeffrey Thalhammer
    We also interviewed Jeffrey about Pinto for FLOSS Weekly at http://twit.tv/show/floss-weekly/246...
  • Commented on Recent work on ZMQ::LibZMQ3 and CZMQ
    Thank you thank you. I'm a big fan of 0MQ, and am very happy I can get to it from Perl!...
  • Commented on Looking for Tom Phoenix, author of Term-ReadPassword
    That's still his current address, but he's even slow responding to me... give him a bit of time. :)...
  • Commented on Preventing Collisions with Perl cron jobs
    From 12 years ago, but it still works great: the Highlander solution....
  • Posted Mail::Audit and presuming a bit too much to Randal L. Schwartz

    I was tweaking my procmailrc today. My procmailrc recognizes a number of common pattern-based spam items and logs those into logs that I rotate on a regular basis. Anything else gets fed into a Mail::Audit-based "Sortmail" script. As I was testing a minor tweak, I noticed that the logfile for…

  • Commented on Ward Cunningham on Perl: fast to develop, fast to run, insightful
    For those who don't recognize the name, Ward invented the Wiki (written as a massive Perl4 program), and has also contributed to what is now being called Extreme Programming....
  • Commented on Perl Has No Static Code Analysis Tools?
    Anyone a Wikipedia editor? By definition, everyone is. :)...
  • Commented on SSH Can Do That? Productivity Tips for Working with Remote Servers
    Better than corkscrew, I highly recommend "socat" as my new favorite tool, completely replacing uses of "netcat" for me. You wouldn't believe the sideways connections I've set up with socat. I have many ssh recipes involving that. And yes, I...
  • Commented on Perl to the rescue: case study of deleting a large directory
    OpenBSD vs FreeBSD: FreeBSD has the pf firewall (albeit a ported version, and a little downrev). That's something I wasn't going to give up. But FreeBSD also has ZFS, including boot from ZFS in the latest releases. After playing with...
  • Commented on A compelling reason for Perl6
    No, jQuery is for far more than a CMS. If you can get tight integration with jQuery and serverside, you can write much stronger apps that blur the distinction between server and client computations, moving them up or down as...
  • Posted A compelling reason for Perl6 to Randal L. Schwartz

    Had a great chat with the Thousand Oaks PerlMongers last night, as an ongoing series of conversations I've been having recently about finding a compelling reason for Perl6.

    I was inspired by Larry's Onion talk to continue thinking about the relation of Perl5 and Perl6 (and frankly, me and …

  • Posted comp.lang.perl.announce was stalled, now fixed to Randal L. Schwartz

    The NNTP injection host that I use to feed comp.lang.perl.announce had moved, and for some reason I had hardwired the old IP address into my posting script. Once I got that sorted out, it looks like it'll be business as usual for CLPA once again.

  • Commented on Perl to the rescue: case study of deleting a large directory
    I'll never actually know how many files were there. But consider that the average dirent was probably 20 chars plus a 4-char inode number... that'd put it in the 100 million range. Perhaps off by a few orders of magnitude,...
  • Posted Perl to the rescue: case study of deleting a large directory to Randal L. Schwartz

    When I moved from OpenBSD to FreeBSD a year ago, I also had to move the email being handled by my server. As things were a bit different, I added a "Just-in-case" MailDir for one of my users so that no matter what else happened to the rest of their procmailrc, they'd have a backup copy.

    F…

  • Posted Perl's "readability" to Randal L. Schwartz

    You know, when I look at Russian Cyrillic, or Greek letters, it looks like squiggles. I've never studied it, so I have no means to relate it to sounds, let alone meanings.

    So, when people say, "I can't read Perl", it only tells me they haven't studied it.

    And if people choose to be…

  • Commented on Not A Post
    A Mime is a terrible thing to waste....
  • Commented on Perl "Certification" - still Snake Oil
    Trish, thanks for that clarification. I admit, I have a short fuse about this subject, and didn't research this much further than "OMG, Perl Certification!". It's good to know that at least the people involved are not looking at it...
  • Commented on Perl "Certification" - still Snake Oil
    If it's just a piece of paper you need, Stonehenge has worked in the past with the training departments of our clients to produce whatever sort of meaningless thingy at Kinko's that they seemed to need. But what matters to...
  • Commented on Perl "Certification" - still Snake Oil
    "The cert would allow me to have my company pay for it is all." That is exactly the behavior I'm arguing against. If your company is giving you training only if there's a "certificate" at the end, they're hopelessly confused....
  • Posted Perl "Certification" - still Snake Oil to Randal L. Schwartz

    I think "certification" for most software is snake oil.

    And, despite the participation of fellow Perl trainer Peter Scott (whom I have the highest respect for), and my primary publisher O'Reilly (whom I also have the highest respect for) in a new "Perl Certification" program, I sti…

  • Commented on qw() in list context deprecated
    And that's the weird part. In 5.6 or so, you *had* to have these parens. It's just returning to the old syntax. Oh well!...
  • Commented on qw() in list context deprecated
    Everything old is new again. Permitting "for qw(foo bar) { ... }" was new in 5.8, as I recall. Prior to that, you *had* to write "for (qw(foo bar)) { ... }". I think we're just heading back there. But...
  • Posted Learning Perl Master Course (video) now available to Randal L. Schwartz

    The Learning Perl book ("Llama book") is the best-selling intro-to-Perl book available. For most of the 90's and the early 200x's, teaching the classroom course based on the book (which was based on the previous course, which was based on the previous book...) had been my primary living.

    M…

  • Posted PDX.pm videos to Randal L. Schwartz

    When I'm in town during a Portland Perl Mongers meeting, I livestream the event with UStream, and record the presentations if the speakers permit it. Last night, I taped Michael Schwern talking about Test::Builder2 and

  • Commented on Reduce in Perl
    In Smalltalk, reduce is spelled "inject: ... into: [ ... ]", and thus avoids the nasty question "what if we have too few elements to do any operation in the first place?", which reduce always has to answer....
  • Posted Just another Perl blogger, to Randal L. Schwartz

    Inspired by some conversations at YAPC NA 2010, I'm abandoning my use.perl.org blog, and starting here. I've never used Movable Type before, so this might take some adjustment.

    This blog will be primarily about Perl-ish things in my awareness. I have quite a few other publishing realms, …

Subscribe to feed Recent Actions from Randal L. Schwartz

  • Duncan commented on Perl::Critic for the Camel

    brian,

    I enjoyed your book on Effective Programming, I even persuaded a couple of local libraries to stock it. I've got a copy of the latest Camel book here, but I've only dipped into it. Surprisingly, the bit I've read is the bit where you laud the format command to the skies. I suspect that was cut and pasted from the previous edition without proof-reading.

    I've never achieved any particular pre-eminence, but I can be reasonably confident that I've worked on more development projects than you. It's one of the few certainties that come from getting old.

    Much of what …

  • brian d foy commented on Perl::Critic for the Camel

    No, I really do like formats. For things I've done, they make things very easy. If you don't like them, that's fine. Everything was read and proofread for the new Camel. I remember the week I spent working on those chapters.

    I wasn't trying to be patronizing, but I bet I've worked with many more publishers than you, and I bet I've worked in more deadly situations than you. So, since we don't know each other, let's not fight about who's dick is bigger. :)

    I've pointed you toward what Damian and Randal have said. If you think I'm a twit, that's fine, but the advice I'm passing …

  • valle.lukas commented on Perl::Critic for the Camel
  • kustodian commented on SSH Can Do That? Productivity Tips for Working with Remote Servers

    Great article, so many useful tips for.

    One small suggestion. I wouldn't recommend enabling ForwardAgent in your .ssh/config, since that could be a security risk if you connect to a malicious host. I would suggest that you use ssh -A when you need it, or enable ForwardAgent just for specific hosts.

  • Smylers commented on SSH Can Do That? Productivity Tips for Working with Remote Servers
    enable ForwardAgent just for specific hosts

    Good point. Thanks for suggesting this.

Subscribe to feed Responses to Comments from Randal L. Schwartz

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.