Piotr Roszatycki

  • About: I blog about Perl.
  • Commented on On prototyping in public ... the long version
    I advocated your project last weekend at Polish Perl Workshop in Poznań. It was just a lighning talk about mop and extending it's traits:
  • 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):

  • 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
    Yeah, and prove -l -I../Other-Repo/lib -I../Something-More-Repo/lib -I../And/Another/Broken/Because/Of/Dist/Zilla/Repo but it is pure nonsense and gives me a lot of unnecessary work because all I want is $ cpanm git:// Cloning git:// ... OK --> Working on git:// Configuring /sdcard/home/tmp/uOEfC3nBE4 ... N/A...
  • 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/ 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

  • Olaf Alders commented on I hate Dist::Zilla and missing Makefile.PL

    I have to echo what Jim Keenan said about the tone of this post. It really is about _how you say it_. This stuff hangs around not only on disk but in human memory. I've seen people who are technically proficient get passed over for job interviews because they don't play well with others online. You're not just putting a message out to the world in general, but to people who could possibly be future co-workers, employers, managers etc. We all have bad days, but "there's more than one way to say it", so it's not a bad strategy to choose your words and your tone wisely.

  • Zak B. Elep commented on A repl site for a lot of languages

    Have you tried doy's Reply?

  • Steven Haryanto commented on A repl site for a lot of languages

    On strange selection of languages. Lots of esoteric and "weird" languages but no Perl, Tcl, or several other more mainstream languages. At least, there should be Python 2 *and* Python 3.

    But cool site, nevertheless.

    IIRC, a web-based REPL for Perl 6 was once online. The Pugs-based one as well as Rakudo/Parrot one.

  • Toby Inkster commented on Python's decorators in Perl

    Attributes are isa-scoped. So you can define them in package X, and then use them not only in X, but also in any package that inherits from X. (The gotcha is to make sure you declare inheritance at compile-time rather than run-time.)

  • Aristotle commented on On prototyping in public ... the long version
    You have looked at the guts of Perl 5 right?

    Oh I won’t call it well written, believe me. :-) I’ve tried to patch it at times, succeeded with trivial stuff outside the interpreter guts, and I’ve read others’ patches. I don’t have a firm grasp of it but I do have a sense of what it’s like to work with. It’s not as terrible as its reputation, and there are some really clever bits (that I mostly wish weren’t necessary…), but it’s no kind of beauty. Kinda like Perl-the-language (but with its coherence more corrupted by time), come to think o…

Subscribe to feed Responses to Comments from Piotr Roszatycki

About 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.