user-pic

fmtyew.tk

  • Commented on Converting glob patterns to efficient regexes in Perl and JavaScript
    Confirming no exponential backtracking with all the JS implementations: $ d8 V8 version 6.0.0 (candidate) $ jjs -version nashorn 9-internal $ js --version JavaScript-C55.0a1 $ rhino Rhino 1.7 release 3 2017 02 13 $ seed --version Seed 3.8.1 $ perl...
  • Commented on REST API with Mojolicious
    This code falls short of REST; it is merely a (heavily coupled) HTTP and JSON API....
  • Commented on Christmas Came, Bah Humbug
    > you’re going to pick Javascript and node.js Reads like wishful thinking and rationalisation. Betting your business on Node is more risky than you realise. In case you subscribe to the theory of hipster programmer migration passed around on conference...
  • Commented on Обнаружен ботнет, который исправляет уязвимости в зараженных им маршрутизаторах и сообщает об этом администратору
    I assume you are referring to Wifatch....
  • Commented on cperl-5.22.1 released
    perlbrew needs to remove some strings and regexes concerning the dist tarball name in order to support differently named Perl variants, as of now the string "perl" is hardcoded all over. Run perlbrew download https://github.com/perl11/cperl/archive/cperl-5.22.1.tar.gz and start debugging from there....
  • Commented on Using Unicode in Emacs for Perl 6
    If you use X, there is a better solution: the Compose key. Since it is a basic X feature, it works in any place where you type text, not just Emacs. You get a huge number of predefined shortcuts, so...
  • Commented on What should be in a CPAN distro README?
    READMEs were small documents that you could inspect before you committed to the full download It is still so. "Download" expanded to "checking out the repo", "sinking time into it for further investigation", though. I agree the full documentation replicated...
  • Commented on Using Minion with a REST API
    When you want to change the semantics of a resource, its type changes, so coin a new link relation for it. You can link to resources of both old and new type for a transitional period in parallel, and mark...
  • Commented on Using Minion with a REST API
    That's not REST. I immediately noticed several huge code/design smells:Authentication is tunnelled through the body. Remedy: use a standard authentication scheme that works with HTTP headers or TLS. Status is tunnelled through the body. Remedy: return the appropriate 4xx header...
  • Commented on Stop Putting AUTO_INCREMENT IDs in URLs
    I don't like that french-bread example counter-measure. It still leaks information and only adds the requirement of human imagination to guess and find out neighbouring pages. Best practice: use random IDs instead of autoincrement. In PostgreSQL, you should use uuid_generate_v4()....
Subscribe to feed Recent Actions from fmtyew.tk

  • Aaron Baugher commented on Using Unicode in Emacs for Perl 6

    Very nice, thanks. I just mapped my caps-lock key to be the Compose key with:

    setxkbmap -option compose:caps

    and also put it in the keyboard section of my xorg.conf for future runs of X:

    Option "XkbOptions" "compose:caps"

  • JT Smith commented on Christmas Came, Bah Humbug

    @fmtyew.tk, I mostly don't disagree with what you said except for one thing. You're comparing Perl 5 to JavaScript. I have no intention of leaving Perl 5. But the point of this discussion is that Javacript seems to have more to offer than Perl 6, especially from a business perspective. I hope that Perl 6 gets there, but without discussion it likely won't.

  • Tom M commented on Christmas Came, Bah Humbug
    the average JS programmer produces worse results than the average programmer from any other dynamic language (e.g. Ruby or Perl)

    But there are many more JS programmers around. I expect the ratio in Perl was similar a decade ago.

    I don't disagree with your list of points about NPM and related ecosystem, but many of those apply just as much to Perl modules. I would suggest that comparing Catalyst to Express is bizarre, though - the latter is closer to something like Web::Simple.

    We have reviews, yes - not many of them, and lots of politics in the ones …

  • lichtkind commented on Christmas Came, Bah Humbug

    Dear JT,

    I think you missed the point. Perl 6 is here so that there will be Perl jobs even in 30-40 Years.

  • Sachin commented on Using Minion with a REST API

    Thanks good example.

    comments:
    You used modern Perl with the latest version of Perl(v5.20) and also used the subroutine signature. Two suggestions:
    1. To make code consistent in style, please use subroutine signatures in under anynonymous subroutine as well.
    2. Since you are using modern perl, it would be nice if you use Try::Tiny instead of eval block.

Subscribe to feed Responses to Comments from fmtyew.tk

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.