user-pic

raiph

  • About: I blog about Perl.
  • Commented on Exercise 1. 3s and 5s.
    In your P6 code you have this line of code: unless any(@multiples) $start { That looks like TTIAR (two terms in a row) to me (syntax error)....
  • Commented on A Tiny Code Quiz
    Fwiw, using the current Rakudo/Parrot evaluator on #perl6: my @ar1 = <foo bar>; my @ar2 = <a b c d>; print $(@ar1, @ar2); foo bar a b c d...
  • Commented on YAPC Reflections (2013)
    I find it remarkable that you explicitly mention Moe, p2 and Perlito, and don't mention Rakudo. Rakudo natively implements Parsing Expression Grammars (PEGs). It's Perl 5 slang hooks @INC to allow Perl 5 modules to load. And MoarVM was a...
  • Commented on It will be sensible to use Perl 6 to build real-world apps in ...
    deadline The only three things I'm aware of that involve a predetermined timeframe for particular P6 pieces are: 1. Larry Wall's declaration about a year ago that the project needed to "productize" P6 (easy install, decent doc, debugger, modules, support...
  • Commented on Introducing Sah, another data validation framework
    Fwiw Perl 6 uses a trailing ! for required parameters, ? for optional ones: http://feather.perl6.nl/syn/S06.html#Required_parameters...
  • Commented on YAPC::NA 2013 (Austin, TX June 3-5) Update
    The planning group discussed this with organizers of previous yapcnas. The conclusion is that we'll watch the numbers and may send reminders nearer to the conference date....
  • Commented on It will be sensible to use Perl 6 to build real-world apps in ...
    this post is ... not meant to be negative Heh. Epic fail. :P solving tomorrow's problems Perl 5 (the language and the interpreter) has had known major issues since BMWS (Before Mugs Were Smashed). I'm not aware of any major...
  • Commented on Think Python in Perl 6 Chapter 4: Interface Design
    #perl6 especially. I think the current vibe is due to Audrey's influence even though it's 5 years since she dropped back to lurk/msg/Ofun mode, amplified by the sense of excitement building as 6.0.0 approaches. (For thos reading along, you don't...
  • Commented on Think Python in Perl 6 Chapter 4: Interface Design
    Fwiw, on Mojolicious and Perl 6... From #perl6 a few weeks ago ( http://irclog.perlgeek.de/perl6/2013-02-07#i_6422674 ): japhb: "if/when Rakudo is running on JVM, would you be willing at that point to do the Mojo porting in earnest? If not, what would...
  • Commented on Think Python in Perl 6 Chapter 4: Interface Design
    Hi Brian, Methinks another comment of mine (about passing arbitrary keyword args not already individually specified in a routine's formal parameter list) got sent to spam. I've been enjoying your posts and look forward to them restarting after you've had...
  • Commented on Think Python in Perl 6 Chapter 4: Interface Design
    In Perl 6, it looks like you must specify the arguments that accept keywords ... I am so accustomed to hash-style passing I think a half dozen or more parts of the canonical and complete spec doc for subs are...
  • Commented on YAPC::NA 2013 (Austin, TX June 3-5) Update
    Thanks autarch, that's excellent feedback. Additionally we've had registration enabled for about a month, but purchasing for only a few days, exacerbating that problem. I've added three tasks to our planning system to send reminder emails 2/28, 3/31, and 4/23....
  • Commented on Swampy.pm6
    Thanks. I hope you have time to read the comments I added; they took a while to create and provide what I hope is useful info addressing particular points you raised or queried in your posts. If you do nothing...
  • Posted YAPC::NA 2013 (Austin, TX June 3-5) Update to raiph

    • We've switched on ticket purchasing. Conference tickets are $100, or $80 for early birds (
  • Commented on Swampy.pm6
    I just tried again. I think it sees the links in my comments and decides they need to be approved by you: https://plus.google.com/photos/115289448037897603962/albums/5847878595708182609/5847878599956185890...
  • Commented on (my $title = "Think Python") ~~ s/Python/Perl 6/ && $title.say;
    (A second attempt to get a comment accepted on this blog post. Apologies if it ends up being a duplicate.) If anyone reading along is thinking of installing Rakudo, make sure to install Rakudo Star (aka R*) if you can....
  • Commented on Swampy.pm6
    Hi Brian, Not sure why, but a bunch of my comments on your posts have been held back for moderation. (I think I've added at least one comment to each four of the posts you've done so far in this...
  • Commented on Pumpkin Perl Breakdown
    I liked everything about mst's original Pumpkin post with one small exception -- the specific qualifier Pumpkin. In most ways it's outstandingly good. But it didn't leave me 100% satisfied. I've just seen someone's suggestion of Modern Perl, and I...
  • Commented on Swampy.pm6
    I'm having fun watching you have fun with these blog posts. :) You might want to check out the Turtle class in the Spiral and Zig-zag matrix entries from this search for turtle on Rosetta code. Also, Create and Distribute...
  • Commented on Think Python, But Perl 6 - Chapter 3: Functions
    The REPL has many weaknesses, but there are improvements most months. For example, on Jan 30, timotimo, who did the levenshtein code ("did you mean 'principal'?", which incidentally doesn't yet work in the REPL) said "not [too] terribly long until...
  • Commented on Think Perl6-ish Variables, Expressions, and Statements
    You can indeed much improve your date / time calculations. But rather than get in to that I'm going to recommend that you (and anyone reading along) visit the freenode IRC channel #perl6 and ask there. I'm confident they'd be...
  • Commented on (my $title = "Think Python") ~~ s/Python/Perl 6/ && $title.say;
    > You can also browse a wealth of documentation about Perl 6. not so much on the searching, though And if you use vanilla google, you'll generally get a wealth of info that's out of date or non-technical advocacy or...
  • Commented on Think Perl6-ish Variables, Expressions, and Statements
    Couple more comments. Have you tried the amazing debugger? constant π = 3.14 # can use unicode in variable etc. names...
  • Commented on Think Perl6-ish Variables, Expressions, and Statements
    Using a very recent Rakudo: my $principal = 327.68; my $interest = $principle * $rate; ===SORRY!=== Variable '$principle' is not declared. Did you mean '$principal'? Similar messages appear for misspelled functions and so on. This is timotimo's first code contribution...
Subscribe to feed Recent Actions from raiph

  • Ben Morrow commented on A Tiny Code Quiz

    No, a list in scalar context returns its last element. It has to, that the scalar context propagates down to the arrays, because we expect arrays to interpolate into lists, but in fact that only happens (and only can happen) when the list is in list context.

    I think what we forget here is that an array is not the same as a list; it's an expression which has to be evaluated, and it doesn't return the same thing in scalar context as the equivalent list. The result is exactly the same as this code, which is muc…

  • :m) commented on A Tiny Code Quiz

    ..And why does the comma operator behave like this?

    The Camel Book mentions "This is just like C's comma operator."

    I have not thought about it enough, but the current behaviour does not seem intuitive, and therefore seems to violate the famous principle of least astonishment (for me). Ha! :-)

    But as chris says, it is probably my duty not to be astonished.. ;-)

  • Pradeep Pant commented on A Tiny Code Quiz

    My first guess was 6 which is of course not correct. Have to revisit http://perldoc.perl.org/perlop.html

  • Olivier Mengué (dolmen) commented on Exercise 1. 3s and 5s.

    The code is still mangled :(

  • Mohawk commented on Pumpkin Perl Breakdown

    From http://irclog.perlgeek.de/perl6/2014-09-05#i_9305941 (freenode/#perl6) a few minutes ago (edited to correct spellings):

    20:16 	mohawk 		TimToady: if perl5 were to be re-branded as Camel Perl (subject of course to a conversation with Mr O'Reilly), how would you feel about that?
    20:16 	* TimToady 	thinks it wouldn't make any substantive difference
    20:17 	mohawk 		are you "no strong feelings one way or the other"?
    20:17 	* TimToady 	thinks people …
Subscribe to feed Responses to Comments from raiph

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.