user-pic

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: http://bit.ly/1jFqKfj...
  • 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
    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://github.com/some/Repo Cloning git://github.com/some/Repo ... OK --> Working on git://github.com/some/Repo 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/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

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

    Have you tried doy's Reply? https://metacpan.org/pod/Reply

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

    On repl.it: 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…

  • https://openid.phys.ethz.ch/abe commented on I hate Dist::Zilla and missing Makefile.PL
    install/run/rpm-pack the module. Git copy is not suitable for this. Git copy is only for authoring (yes, and to submit patch).

    If you, as a user, need to install a git snapshot of a project hosted
    at GitHub, you can use https://undzilit4.me/ for that and you don't
    need to bother about all the plugins. It's not equivalent to "git
    clone", but you get what you want.

    btw, when packaging .deb files, Debian tools expect tarballs too. And if you try …
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.