user-pic

Piotr Roszatycki

  • About: I blog about Perl.
  • Commented on Python's decorators in Perl
    It is true: I could use attributes. Even if some of attribute names are already restricted (lvalue, method, locked, shared and unique). But I'm not sure if attributes are lexicaly scoped? I don't want to define "bold" or "div_id" attribute...
  • Posted Python's decorators in Perl to Piotr Roszatycki

    Python's decorator is some syntax sugar for wrapping functions by another functions:

    def bold(func):
        def wrapper(str):
            return '<b>' + func(str) + '</b>'
        return wrapper
    
    

    def div_id(id):
    def decorator(func):
    d…

  • Commented on A repl site for a lot of languages
    Is it possible to compile Perl to LLVM? I see that this site is powered by Emscripted. It would be exciting to run Perl code on Javascript runtime....
  • Commented on I hate Dist::Zilla and missing Makefile.PL
    That's why I love your tools. They simply do work and are *user* friendly....
  • Commented on I hate Dist::Zilla and missing Makefile.PL
    I don't hate people who use Dist::Zilla and makes me impossible or just harder to use theirs repos with cpanm command. I wrote some note about frustration because of tool itself and some repos without Makefile.PL All I please (politely)...
  • Commented on I hate Dist::Zilla and missing Makefile.PL
    Source package and source repository? I don't see much differences as far as modern installers works both with tarballs and repos in the same way....
  • Commented on I hate Dist::Zilla and missing Makefile.PL
    Why should I set up any environment and change @INC? I've got git and cpanminus and local::lib and it should be enough. I don't want any build infrastructure. All I want is to *install* the package from the latest source...
  • Commented on I hate Dist::Zilla and missing Makefile.PL
    `prove -lb' is not enough if I want to test *MY* package against fixed module from Git repo. Waiting for original author and is release before I can go with *MY* tests is real pain in the ass. I see...
  • Commented on I hate Dist::Zilla and missing Makefile.PL
    I see Dist:Zilla is the worst threat to collaboration on Perl packages....
  • Posted I hate Dist::Zilla and missing Makefile.PL to Piotr Roszatycki

    It is f* annoying to clone the repository with only dist.ini and missing Makefile.PL or Build.PL.

    It is more annoying to run dzil build and see

    Required plugin bundle [@YETANOTHER] isn't installed.
    

    I don’t want to install 300 more packages only because …

  • Commented on Plack server with threads
    Oh, perhaps Perl on Windows XP/7 on VirtualBox sucks because native Windows 8 works without harm. No errors, no missing requests. Everything was fine....
  • Commented on Plack server with threads
    Sometimes I get errors like Thread 88 terminated abnormally: failed to set socket to nonblocking mode:An operation was attempted on something that is not a socket. at C:/strawberry/perl/site/lib/Thrall/Server.pm line 113. and a few requests are failed. Perl on Windows still...
  • Posted Plack server with threads to Piotr Roszatycki

    There was no non-single threaded Plack server for Windows. It is because current implementations use preforking which is completly broken on this system. But wait, Perl already has threads which works better on Windows.

    So I wrote Thrall: mu…

Subscribe to feed Recent Actions from Piotr Roszatycki

Subscribe to feed Responses to Comments from Piotr Roszatycki

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.