user-pic

James

  • Commented on Perl Web Application
    Nice. I see it isn't too tied to Apache/mod_perl (you can run it with cgi handlers), have you tried running it with one of the CGI PSGI adapters or in one of the Plack Web Servers like Starman or Starlet?...
  • Commented on Recursive deferred promises
    Since you're already working with AnyEvent, this functionality can be achieved with Condvars....
  • Commented on How do we know when a CORE module is deprecated?
    So, presuming CGI.pm gets removed, does that mean Plack/PSGI gets added? toby: CGI::PSGI->new($env) returns a CGI::PSGI object that isa CGI...
  • Commented on Whats wrong with the Perl Community?
    There does seem to be a fashion lately of Perl Famous people racing to be the most critical of Perl 5....
  • Commented on Alien::Base Perl Foundation Grant Report Oct
    use if $^O eq ‘openbsd’, OpenBSD::PkgConfig;...
  • Commented on A concise forking idiom in pure Perl
    For Proc::Fork Why not do localise $_ to the first argument? For fork calls I find 3 functions helpful: # imported from elsewhere sub kid() { defined && not int } sub parent() { defined && int } sub pid()...
  • Commented on Why you shouldn't write short code examples in Perl
    @ary = do { my %s; grep { not $s{$_}++ } @ary }; You can name subroutines s, y, m and q, you just have to either call them as methods or with a package qualifier....
  • Commented on Your own Task::BeLike::$AUTHOR::Favorited
    Do you have to encourage them?...
  • Commented on Skype is borking Foswiki on a stick
    Skype uses whatever it can get its hands on to do its dirty work....
  • Commented on A brief introduction to Prima
    Any chance of AnyEvent::Impl::Prima or IO::Async::Loop::Prima from the author?...
  • Commented on Subroutine Signatures - my Plan (v.1)
    I don't see the point of this (other than to look like other languages). If we need subroutine signatures, why not make it an attribute :signature(%whatever, ...) in Attribute::SubSignatures or whatever and have that package autoloaded on feature=signature....
  • Commented on Fast datetimes in MongoDB
    Why DateTime::Tiny and not something core like Time::Piece?...
  • Commented on I had to remove perl from mosh
    Yeah it is sad, but more like definition 3 with a bit of definition 2, not definition 1....
  • Commented on The Perl April Fools' Gag That Could Have Been
    As a joke it definitely cuts too close to the quick, with the pace of Perl 5 major version releases these days....
  • Commented on rjbs advises to avoid given/when
    using for / when instead of given / when removes at least one of the problems....
  • Commented on Perl dropped and Go adopted due to concurrency issues in baconbird
    RE: STFL, is just a curses user and Curses has similar problems with blocking. Wouldn't a POE::Wheel::Curses-like workaround of checking if STDIN has data to be read and running $stfl->run(0) if it does, $stfl->run(-1) otherwise, work?...
  • Commented on Mojolicious + Bootstrap = Awesome
    How are you building less files? Do you rely on the client side less.js or is CSS::LESSp able to compile it?...
  • Commented on Welcome to Perl Node Interface
    This seems very much like Sprog, from http://sprog.sourceforge.net/index.html...
  • Commented on Discontinuing support for Firefox 3.0
    No 3.6? 3.5 (and 4.0) has been EOLed by Mozilla, but 3.6 hasn't been, last I checked....
  • Commented on MovableType is the Ugly Duckling of CMS'
    Keep on keeping it classy, brian d foy. Byrne, Timothy, I guess even the Melody fork isn't Modern Perl-y enough. No Moose, Catalyst or 5.12 requirements....
  • Commented on How about a YAPC::Africa in Tunisia?
    Sounds more like a YAPC::Africa::North, much less accessible to those below the Sahara....
  • Commented on Phenona Perl platform on the cloud
    Stackato, now with extra Python. Haha. "The first end-to-end enterprise cloud platform for Python and Perl applications" "Rely on the industry-proven ActivePython and ActivePerl - you choose the version" "Automatically provision application environments with your choice of languages, frameworks (such...
  • Commented on Phenona Perl platform on the cloud
    So now it will cost more, be updated less, support Python and Ruby first, then Perl?...
  • Commented on Ten million dollars to DotCloud, but still no Perl support
    dotcloud probably are waiting on another platform to support before adding Perl, so that their icons still line up....
  • Commented on Ten million dollars to DotCloud, but still no Perl support
    Isn't Phenona (http://www.phenona.com/ ) supposed to be the Perl Heroku?...
  • Commented on What's new in WebGUI 8.0 #1 - PSGI/Plack
    While you /can/ run WebGUI under CGI now, wouldn't the fact that you're using Moose (instead of something more lightweight like Mouse) mean that startup times would be prohibitive for that option?...
  • Commented on perl5.10, give back our $_
    Not sure if the whole 'lexical $_' thing was thought out completely beyond 'seems like a good idea', including the part about 'our $_' restoring global $_ (so if you want to localise the value passed to 'given' so it...
  • Commented on AnyEvent and Dancer: CondVars
    Scratch the last part of my previous comment, Dancer doesn't officially support delayed responses yet, so something like Coro seems to be the way to do it. Perhaps they'll allow routes to return coderefs instead of stringifying them when they...
  • Commented on AnyEvent and Dancer: CondVars
    Yes, it definitely seems the wrong approach, if you really want to wait on condvars, looks at the Coro server, Corona (where you have access to Coro::rouse_cb and Coro::rouse_wait which do what you want in your first example, but only...
  • Commented on Heretical Perl: Writing Catalyst Apps with no ORM
    Back when I was an MSSQL jockey, this was taught in some places as best practice, unfortunately the stored procs were in T-SQL, not in one of many PL/* languages (including Perl) that PgSQL sports. While it may be billed...
Subscribe to feed Recent Actions from James

  • tempire commented on Whats wrong with the Perl Community?

    Your presumption about other languages is incorrect; the issue is not about chosen language, it's about humans.

    http://rubydramas.com/

  • rjbs.manxome.org commented on How do we know when a CORE module is deprecated?

    Nope.

  • Steven Haryanto commented on How do we know when a CORE module is deprecated?
    CGI.pm is an important piece of Perl history and must be preserved.

    An attempt at sarcasm. Epic fail, apparently :)

  • Matt S Trout (mst) commented on How do we know when a CORE module is deprecated?

    Petdance, anybody else who happened to be in #perl for the whole conversation will have seen:

    wasanzy asked for help

    Shells suggested something that's a really bad idea

    apeiron corrected this

    Shells, apeiron and I discussed it until Shells understood why it was a bad idea

    We and various other channel members helped wasanzy find a good solution to their problem

    As such, I'm reasonably confident that people wanting help writing good perl will not have been put off by the conversation.

    We would vigorously oppose anybody suggesting that the…

  • rlauer commented on Perl Web Application

    I assume you are talking about Bedrock...no...we've strictly been using it with Apache, but would that sounds like a very good idea. We've never considered performance an issue - CPUs have just kept up and any performance issues these days seem to be mitigated (at least in our environment) by load balancing.

    The code is available for download, so anyone that wants to get ambitious can have some fun.

Subscribe to feed Responses to Comments from James

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.