user-pic

Zoffix Znet

  • Commented on Perl 6: The S/// Operator
    Yes. It just takes more adverbs than Perl 5's s/// and is used differently than Perl 6's s///...
  • Posted Perl 6: The S/// Operator to Zoffix Znet

    Coming from a Perl 5 background, my first experience with Perl 6's non-destructive substitution operator S/// looked something like this:

    (artist's impression)
    ="http://blogs.perl.…

  • Posted Extra-Typical Perl 6 to Zoffix Znet

    Have you ever grabbed an Int and thought, "Boy! I sure would enjoy having an .even method on it!" Before you beg the core developers on IRC to add it to Perl 6, let's…

  • Commented on Perl 6: Comb It!
    CIVash suggested on IRC that instead of .comb with :match, you can just use .match method: 'moo=meow ping=pong'.match(/(\w+) '=' (\w+)/, :g)...
  • Commented on A pumpking is born
    Congratulations!...
  • Commented on A pumpking is born
    Congratulations!...
  • Posted Perl 6: Comb It! to Zoffix Znet

    In Perl 5, I always appreciated the convenience of constructs like these two:

    my @things = $text =~ /thing/g;
    my %things = $text =~ /(key)...(value)/g;
    

    You take some nice, predictable text, pop a regex next to it, and BOOM! You get a nice list …

  • Commented on Perl 6 Types: Made for Humans
    Of course! Custom operators are just subs. If you can use a subset in a signature of the sub, same applies to an operator....
  • Commented on Perl 6 Is Slower Than My Fat Momma!
    You can view Jonathan's now-accepted grant proposal for details of performance improvements: http://news.perlfoundation.org/2016/02/grant-proposal-perl-6-performa.html Not all people *say* Perl 6 is slow. Some make vitriolic jokes and draw silly logos—that includes prominent members of a particular community. The ironic titling of...
  • Posted Perl 6 Is Slower Than My Fat Momma! to Zoffix Znet

    I notice several groups of people: folks who are confused about Perl 6's perfomance; folks who gleefully chuckle at Perl 6's performance, reassured the threat to their favourite language XYZ hasn't arrived yet.

    So I'm here to talk abou…

  • Posted Perl 6 Types: Made for Humans to Zoffix Znet

    In my first college programming course, I was taught that Pascal language were there because computers were stupid. While dabb…

  • Posted "Wow, Perl 6!" Talk: Slides, Recording, and Answers to Questions to Zoffix Znet

    Last night I gave a "Wow, Perl 6!" talk at the Toronto Perl Mongers, whom I thank for letting me speak, even after I got lost for 15 minutes in the building the event was hosted at and was subsequently late.

    The talk is an overview of some of the cool features Perl 6 offers. If you didn't …

  • Posted Perl 6: The Next Node.js, Done Right to Zoffix Znet

    If you've been a programmer for more than a couple of years, then you remember when Node.js first appeared. Some folks were raging about how insanely fast their ecosystem was growing, while others confusedly shrugged, wondering why anyone would want to use a language made for scripting browsers…

  • Commented on How to Make a Perl 6 Module (Bit Rot Thursday)
    Must be GitHub....
  • Commented on Perl6 module namespace
    > but trying to find out about them was tricky It's documented in the S22 speculation, I believe: http://design.perl6.org/S22.html#META6.json > use Mail:approved-by('LWALL') That's not at all what I was talking about. The distribution's META file has a tags field that...
  • Commented on Perl6 module namespace
    The error you're making is you're assuming Perl 6 module names function exactly like in Perl 5. In Perl 5, the module names are unique identifiers and, to a large extent, the descriptive, searcheable name of a thing. In Perl...
  • Commented on CPAN Weekly: one module per week, in your inbox
    The sign up is a bit confusing: after I enter my email address on cpan-weekly.org I get redirected to www.listbox.com/subscribe that asks me to enter my address AGAIN, but the confusing part is it also asks for a "List ID...
  • Posted How to Make a Perl 6 Module (Bit Rot Thursday) to Zoffix Znet

    Happy Bit Rot Thursday! This week I'm taking care of fixing minor issues with packaging of my Perl 6 modules, and so, I'll talk about the general process of

    Prelud…

  • Commented on Bit Rot Thursday
    I am myself new to the idea, so maybe I'm not the best person to give specs, but I have two examples for consideration (below). Your "spec" basically should outline how the code should work **from the perspective of the...
  • Commented on FOSDEM 2016
    Thanks for posting the pics! This is all very inspiring news... In other news, I now want a giant plush camel :P...
  • Commented on Rakudo Perl 6 Compiler - 2016.01.1 released
    To add, you can grab the source code at https://github.com/rakudo/rakudo/releases/tag/2016.01.1 The Rakudo Star distribution that includes installers, docs, and a crop of modules will be available soon....
  • Commented on Perl 6: Shortcuts (Part 1)
    Thanks. I've updated this article with your correction and added your shortcut to the list for Part 2....
  • Posted Perl 6: Shortcuts (Part 1) to Zoffix Znet

    Programming is a task where laziness is a virtue. We write modules to avoid repeatedly writing subroutines. We write subroutines to avoid repeatedly writing loops. We write loops to avoid repeatedly writing code... And there's another level of laziness: we use language shortcuts to avoid writing…

  • Commented on 100+ Modules for Adoption! (Bit Rot Thursday)
    Certainly, especially since you're *on* the ::Canadian one :)...
  • Posted Perl 6 .rotor: The King of List Manipulation to Zoffix Znet

    Rotor. The word makes a mechanic think about brakes, an electrical engineer about motors, and a fan of Red Letter Media YouTube channel about poorly executed films. But to a Perl 6 programmer,

  • Posted 100+ Modules for Adoption! (Bit Rot Thursday) to Zoffix Znet

    EDIT: Just a note for PAUSE admins, as some emailed me, any module listed on this post can be given away to anyone who wishes to take it, without any need to ask me first. I do not wish to retain a co-maint either, so please just go ahead and transfer the ownership :) Thanks!

  • Commented on Mock Testing Web Services with Mojo
    > If you've done your job well, your mock should behave how the real service behaves I'm curious, how do you ensure that? In particular, my worry would be that changes happen in the way the live server works and...
  • Posted Bit Rot Thursday to Zoffix Znet

    Part 1: There is a Problem

    I don't think I'd have to look for long for someone who'd agree that writing new code is much more fun that fixing bugs in old one. A cool new idea gets written up, while older code is still lacking tests. A new module gets shipped, while there's still that API…

  • Commented on A pretty stupid idea...
    A pretty stupid idea... to sign up for this? It'd be quite helpful if you specified what *you* get out of it :)...
  • Posted Perl 6 is written in... Perl 6 to Zoffix Znet

    Today, I've done something strange.

    No, there weren't drugs involved, I merely sent a patch for Rakudo for a bug I reported a few weeks back. But the patch is... interesting.

    First, about the "bug." Newest JSON spec lets you have anything as the top level thing. I spotted a few mod…

Subscribe to feed Recent Actions from Zoffix Znet

  • Enkidu commented on Perl6 module namespace

    Wow! Let me just try and process these comments to see if I've learned something.

    I'm not too bothered about it being a decentralized project. I can see the merits in growing the Perl6 namespace organically to find out what works and then doing some retrospective cataloguing to fix problems. The tags give you that extra dimension so that your hierarchy can be shallow and allow easy code migration, but adds a bit of "need-to-know" tricks to get the right module when you'd ideally want to just use HTTP; with the caveat that it will bite you in the ass someday. Perhaps t…

  • john napiorkowski commented on Perl 6 Is Slower Than My Fat Momma!

    I see, maybe if you'd link to that it would help. Still, I'd consider taking the high road and just focus on what is going to make us awesome, but that's me personally.

    FWIW the regex stuff seems pretty fast, at least from my various attempts to hack on DOM::Parser. I just can't figure out all the new regex stuff P6 does :) I wish I could make that work, I'd port my Template::Pure to P6 since its build on that and maybe start to learn the async stuff.

  • Alex Balhatchet commented on A pumpking is born

    Congratulations man! A fantastic choice by whoever makes these decisions, Perl continues on in the hands of those who love it :)

  • Richard Foley commented on A pumpking is born

    Good job, to Ricardo for a tough job well done, and wishing you all the best for a tough job to come! Know that the rest of us (population-of-world-minus-pumpking) appreciate your combined efforts every day, even if we don't say so every day.

  • Pawel bbkr Pabian commented on Perl 6: Comb It!

    Maybe Hash assignment can detect Match object and flatten it to preserve

    my %things = $text =~ m:g/(key)...(value)/;

    idiom? It is too useful to be removed.

Subscribe to feed Responses to Comments from Zoffix Znet

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.