Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6book, 2009-10-15

| Channels | #perl6book index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:14 carlin Not much of a backlog
00:15 * carlin can't decide if that's a good thing or a bad thing
06:23 dalek joined #perl6book
07:08 hugme joined #perl6book
09:26 dalek book: 97b41dc | moritz++ | src/multi-dispatch.pod:
09:26 dalek book: [MMD] headings, narrowness
09:26 dalek book: review: http://github.com/perl6/book/commit/97b41dcdcd005cdc1bcd0228de401c8c24d0c0a2
09:41 masak joined #perl6book
11:04 moritz_ jnthn: btw now the mmd chapter has a bit of substance and might profit from your review/usggestions
11:05 jnthn moritz_: OK, probably won't get chance today, but will look tomorrow. :-)
11:05 moritz_ jnthn: ok, no hurry
11:06 moritz_ jnthn: I hope to write some more today, so tomorrow it might be actually worth it :-)
12:10 jnthn joined #perl6book
12:10 carlin joined #perl6book
12:10 colomon joined #perl6book
12:10 last joined #perl6book
14:10 masak answering the web/db question left for me yesterday: yes, I think it'd be a good idea.
14:11 moritz_ so you volunteer?
14:11 masak in a skewed kind of way, yes.
14:11 masak I'm prepared to help a lot with those chapters, and in getting Web.pm up to shape for them.
14:11 masak but I'm not sure I should be the chief contributor to the chapters.
14:12 moritz_ why not?
14:14 masak I'm not sure I can explain. and I'm not sure I'm right.
14:14 masak hold on, real life colleague wants to talk to me.
14:31 masak ok, I'm back.
14:33 masak I think my ulterior motive is (1) to get more people involved in Web.pm, and (2) to make sure the examples are not biased by my current (half-maniacal, half-fed-up) commitment to Web.pm.
14:34 moritz_ I can understand that
14:38 masak in an organization I'm in, we arrange wonderful get-togethers by collaborating with a local group somewhere. it's nice, because we and the group sort of play off each other, half of a task is much more doable than doing everything by yourself, and since communication keeps flowing, things get done.
14:39 masak I think web/db examples and Web.pm would be in the same situation. I'm prepared to be the Web.pm representative (and do quite a bit to make that side work), if someone is prepared to be the Book representative.
14:40 moritz_ that sounds rather sane
14:42 moritz_ however I'm not (yet?) volunteering to do the Book representative, because I'm absorbed with the multi dispatch chapter right now
14:42 masak that's OK.
14:43 masak in the meantime, I still have some Web.pm grant weeks to do.
14:43 moritz_ how many?
14:43 masak four.
14:43 masak weeks 17, 18, 19 and 20.
14:44 moritz_ and what tasks are left to finished the grant?
14:44 masak let me check.
14:45 jnthn "weeks" ;-)
14:45 * jnthn likes masak++ weeks :-)
14:45 masak wonky Web.pm weeks... :/
14:47 masak the length of those weeks is basically the only tangible 'failure' of the grant project. TPF has assured me that it's no big deal, but it still feels LTA.
14:48 masak moritz_: things that remain: 'three web applications that make use of the Web.pm module', 'a tutorial clearly showing the strengths of the Web.pm framework'.
14:48 masak i.e. quite fun work, really.
14:49 moritz_ well, don't you have one already? (Druid)
14:49 moritz_ what about Tene++'s nopaste thing?
14:49 masak yes.
14:49 masak barring that I want to tidy up both of those, they are actually two of the apps I have in mind.
14:50 masak Druid replaces the blog engine proposed in the grant application.
14:51 masak I'd like the nopaste thing to do syntax coloring. maybe I can convince Tene++ to wire it up to do that. also, it needs to be modernized to use the latest Web.pm tech.
14:58 Tene I can look at that.
14:58 masak \o/
14:58 masak my best bet is on STD.pm
15:08 Tene Can current rakudo use STD.pm?
15:08 moritz_ no.
15:08 masak heavens, no.
15:17 dalek book: 7264634 | moritz++ | src/multi-dispatch.pod:
15:17 dalek book: [MMD] Paper, Scissors, Stone
15:17 dalek book: review: http://github.com/perl6/book/commit/72646347ef6a81dfad08fb910fcb0a6ed74b3b1a
15:28 dalek book: 12e0ec5 | moritz++ | src/multi-dispatch.pod:
15:28 dalek book: [MMD]  actually call multi wins()
15:28 dalek book: review: http://github.com/perl6/book/commit/12e0ec5de58435b6740f0a3e644a89fe65798a48
15:29 masak moritz_++ \o/
15:29 masak hooray for runnable, concrete examples!
15:29 PerlJam indeed, moritz_++
15:30 moritz_ don't praise me until you actually tested it :-)
15:32 PerlJam my rakudo barfs on it,  but that's my rakudo's fault
15:32 PerlJam (perhaps rakudo in general)
15:33 moritz_ yes, I just tested it
15:33 moritz_ and I don't understand why
15:33 moritz_ we have that as a test case even
15:33 PerlJam with anonymous scalars?
15:34 moritz_ don't think so
15:34 * PerlJam bets not
15:34 PerlJam yeah, if I give the scalars names it works fine
15:34 PerlJam if I give *one* of the scalars a name, it works fine
15:34 * masak submits rakudobug
15:35 moritz_ masak: you are being called to du... d'oh, I'm too slow
15:35 masak hah!
15:39 masak here's a minimal example:
15:40 masak rakudo: class Scissors {}; class Paper {}; multi wins(Scissors $, Paper $) {}; multi wins($, $) {}; wins(Scissors, Paper)
15:40 masak ENOBOT
15:41 p6eval joined #perl6book
15:42 masak std: sub foo($a, $a)
15:42 p6eval std 28796: OUTPUT«[31m===[0mSORRY![31m===[0m␤Missing block at /tmp/00Yf79vOpQ line 1 (EOF):␤------> [32msub foo($a, $a)[33m⏏[31m<EOL>[0m␤    expecting any of:␤  block␤  routine_def␤        terminator␤     trait␤    whitespace␤Other potential difficulties:␤  Useless redeclaration of variable
15:42 p6eval ..$a (from line 1)…
15:42 masak std: sub foo($a, $a) {}
15:42 p6eval std 28796: OUTPUT«Potential difficulties:␤  Useless redeclaration of variable $a (from line 1) at /tmp/rKErt4WTuR line 1:␤------> [32msub foo($a, [33m⏏[31m$a) {}[0m␤ok 00:02 105m␤»
15:42 masak so it's a warning, not an error?
15:43 masak then the binder must know what to do when a call to such a routine actually happens.
15:57 dalek book: d610b86 | moritz++ | src/multi-dispatch.pod:
15:57 dalek book: [MMD] reference RT #69798
15:57 dalek book: review: http://github.com/perl6/book/commit/d610b869dbb5458c1f8947c71a84eda8a0f921fe
23:34 FOAD_ joined #perl6book

| Channels | #perl6book index | Today | | Search | Google Search | Plain-Text | summary