user-pic

Flavio Poletti

  • Commented on Pure-Perl XML
    @Joel thanks!...
  • Commented on Pure-Perl XML
    @Joel: I agree too, Mojolicious is not the kind of "installing half of CPAN" thing that sometimes makes me look for alternatives. WRT my community experience, there are always two ends in a communication and they can be both wrong,...
  • Commented on Pure-Perl XML
    @Joel not sure what you mean with your comment. My goal is the equivalent operation of a fat-packing; in such cases, having a module that has less dependencies (especially when they are guaranteed) is easier to include than one with...
  • Commented on Pure-Perl XML
    @Joel thanks for the hint. Mojo::Dom seems fine for projects where I use Mojolicious, but for standalone-ness I'd probably look into DOM::Tiny which is derived from it. I'd be interested in any discussion about "practicality" vs "correctness" as the comment...
  • Posted Pure-Perl XML to polettix

    In the past I sometimes used XML::Tiny and I found it perfect for the job. Agreed, I had to struggle only with very little and under-control XML, so I knew I could do without a full-fledged XML Parser.

  • Posted teepee to polettix

    I know this is probably the worst time of the year to blog about something different than Perl 6... but I had this article under construction since about one month, and some Christmas vacations helped to give it the final touches! I hope someone will…

  • Commented on Logging wide characters with Log4perl
    You might want to update the link to the "Test::Builder's Unicode issue" article - it's currently broken. Thanks for the good advices!...
  • Posted Changes, nags and git hooks to polettix

    I use Dist::Zilla with a few plugins, including NextRelease and Git::Check. I was always nagged by the fact that committing actually left the

  • Commented on A general profile photo that looks in the camera
    That's a good advice... also considering that I see my image is already cached in the PerlWeekly repository/website, so my photo change on Gravatar is of little help probably......
  • Posted A general profile photo that looks in the camera to polettix

    After looking at today's issue of Perl Weekly, I remembered of a nice advice by MJD that basically boils down to: make faces look…

  • Posted Wrapper...l to polettix

    I published a new article about Perl in my blog. It's about wrapperl, a wrapper for Perl customized invocation. Find the article here and happy reading!

  • Posted Deployable to polettix

    I just wrote about a program I crafted some time ago... in Perl. Happy reading if you're interested into producing smarter tarballs! The article is here.

  • Commented on blog change... again...
    @fluca1978 I'm actually not doing the switch because of any issue with blogs.perl.org - I love the site and I think that the people behind it are amazing. I only wanted something supporting a less "online" workflow and the additional...
  • Commented on Parse::RecDescent and number of elements read on the fly
    @Jeffrey too bad that posts in group discussions get deleted eventually. Did you copy your full considerations somewhere else?...
  • Posted blog change... again... to polettix

    It seems that I'll never really be happy with blogging.

  • Posted system(), run()... roll_your_own() to polettix

    I'm working on a program that is thin wrapper around the execution of many other programs (mainly shells scripts) in Linux. The initial - and working! - choice was to use system():

    my $code = system {$program} $program;
    

    but it showed some limit…

  • Commented on Graphics::Potrace
    @Ben: actually it's already at https://github.com/polettix/Graphics-Potrace - thanks for asking!...
  • Posted Graphics::Potrace to polettix

    A few months ago I released Graphics::Potrace, that provides Perl bindings to the potrace library. So, if you want to convert rasters into vectors from Perl... you know where to go.

  • Commented on origami envelopes
    @Toby: thanks for the hint, even tough I don't know exactly where I can use it to enhance the program. BTW, 140/99 is a nice approximation but the aspect ratio for A4 paper is exactly the square root of 2....
  • Posted origami envelopes to polettix

    I've always been fond of origami, and in some periods I also had time to fold some as a hobby. Alas, this is not the case any more... most of the times.

    I'm also proud to produce my greeting cards for birthdays and occasions, when I remember to actually make one (which happens seldom... bu…

  • Commented on Why my()?
    I thought that in school they teached how to behave as well. Trying to bend this blogging platform to show only "approved" (by who?) Perl content does not seem to show particular skills in this sense, lest the bad habit...
  • Commented on Haven't Blogged in a While...
    Seems interesting! Is it feasible/easy to set up a system with subcommands a-la git? I would suggest to write the examples with fully expanded keywords (field instead of fld, method instead of mth, ...), it might save you a few...
  • Commented on Parse::RecDescent and number of elements read on the fly
    In this particular case, the possibility to produce a self-contained Pure-Perl module was important in order to have a single script with all the needed stuff inside. Anyway, in my complete and total ignorance of Marpa I would be curious...
  • Posted Parse::RecDescent and number of elements read on the fly to polettix

    I recently had to develop a small parser for some coworkers and I turned to Parse::RecDescent for handling it. The grammar was not particularly difficult to address, but it had some fields that behave like arrays whose number of elements…

  • Commented on When the speed of light is too slow
    I suspect that other factors kick in in addition to speed of light, e.g. latency in intermediate network elements. This is something that might be difficult to factor out even if you're geographically closer, although you're going to have savings...
  • Posted Logging in Dancer to polettix

    I don't remember whether I blogged about Dancer::Logger::Log4perl or not, but a recent post by

  • Commented on Sets operations
    @Gabor: sort relies upon temporary files for its operation, in order to be able to work on big files without going out of memory. And of course relying upon it is one of the major assumptions of the program, unless...
  • Posted Sets operations to polettix

    To help some coworkers I whipped up a program to perform set operations in Perl. It's quite basic but it's been pretty effective so far and it's on github.

    Sets are assumed to be files where each line is a different element. It is assumed …

  • Commented on Alien::Base is almost ready
    I was dubious about integrating relevant C code stuff from Potrace, but now it seems that I can just wait a few days and try to set up an Alien::Potrace library instead!...
  • Commented on Dist::Zilla, Pod::Weaver and bin
    @Jakub: interesting idea - e.g. for adding docs to non-Perl stuff - I'll try it, thanks!...
Subscribe to feed Recent Actions from Flavio Poletti

  • Joel Berger commented on Pure-Perl XML

    It really is too bad that people don't realize how small the Mojolicious namespace (the web framework) is even relative to the Mojo namespace (the web toolkit), which is pretty tiny itself.

  • Joel Berger commented on Pure-Perl XML

    When fat packing is the goal then yes you may indeed be right. More often the complaint is simply "why would I want to pull in a web framework when I want to parse xml?" to which my answer is "why not".

    To your other point. I'm sorry to hear that you weren't happy with your experience with asking a question. Like all communities we have our up and down days. I hope you'll try is again sometime if you need help, I personally as well as the community as a whole, have been trying to make sure the community id's welcoming.

  • Joel Berger commented on Pure-Perl XML

    And those typos are what I get for trying to comment from my phone :p

  • David Cantrell commented on Pure-Perl XML

    I should point out that I wrote XML::Tiny with the explicit aim of annoying and trolling the hell out of people who take the religion of XML far too damned seriously.

    It worked.

  • Joel Berger commented on Pure-Perl XML

    > I really can't see it as a general purpose library of functions, I didn't see it advertised as such anywhere

    While this has always been a goal of the Mojo namespace, perhaps we haven't been clear/loud enough about it. We have made several changes in our documentation to reflect this, most prominently and explicitly in our official mission statement seen here at http://mojolicious.org/perldoc/Mojolicious/Guides/Contributing#Mission-statement but also sprinkled elsewhere.

Subscribe to feed Responses to Comments from Flavio Poletti

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 hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.