Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6book, 2010-04-23

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

All times shown according to UTC.

Time Nick Message
01:08 sorear joined #perl6book
02:03 sorear joined #perl6book
08:25 eternaleye joined #perl6book
09:50 hicx174 joined #perl6book
09:56 smash_ joined #perl6book
09:57 smash_ hello
09:57 moritz_ hi
09:57 smash_ i was reading chapter 5 in the book
09:58 smash_ and there's this example that it's working quite well for me
09:58 smash_ (i'm using master trunk)
09:58 moritz_ which one is chapter 5? regexes?
09:58 smash_ the one in the Constrains subsection
09:59 * sorear ponders porting Pod::PseudoPod::LaTeX to POD6
10:00 masak joined #perl6book
10:00 smash_ moritz_: http://gist.github.com/376404
10:02 moritz_ smash_: what's your problem? that it says 2 instead 1?
10:03 smash_ correct
10:03 smash_ innocently i was expecting 1, but i could be wrong
10:04 moritz_ well, it's not really wrong, but it points to a possible rakudo regression
10:05 smash_ it's more a philosofical thing i guess
10:06 smash_ why he is checking the constrain when there's a "better" match
10:06 moritz_ huh?
10:06 moritz_ he isn't
10:06 moritz_ that's why you get a 0 in the first place
10:06 smash_ ah,, true.. sorry, my bad
10:06 smash_ then i will expect it to say 1 yes
10:08 moritz_ it was down to 1 at some point
10:08 moritz_ the multi dispatcher checked the constraint
10:08 moritz_ and then told the binder not to re-check
10:08 smash_ ok, i saw your message in #perl6 for jnthn
10:08 moritz_ but the spec doesn't say anywhere that the minimum number of checks has to performed
10:09 smash_ hmm, then i guess that should be indicated in that section of the book
10:09 moritz_ aye
10:10 smash_ otherwise people might get confused, it's ver easy to expect that the constrains will only run once
10:10 smash_ ok, i'll add something there poiting that issue
10:10 smash_ using that exact example
10:10 moritz_ not necessary, I'll add an explanation right now (or after lunch)
10:11 smash_ i can add it and you can review it, it's fine with me :)
10:13 smash_ or you can add it if you prefer
10:13 smash_ either way is fine by fine
10:14 smash_ s/fine by fine/fine by me/
10:14 moritz_ pushed.
10:15 dalek book: bfe7d2a | moritz++ | src/multi-dispatch.pod:
10:15 dalek book: [mmd] clarify number of executions of a where-block, smash++
10:15 dalek book: review: http://github.com/perl6/book/commit/bfe7d2a18472b0d4456a64271deb6aa409dba1b0
10:17 smash_ moritz_++
11:38 smash_ pod2latex conversion missing the '=begin/=end screen' ?
11:42 * smash_ afk, lunch
11:44 moritz_ smash_: might well be :(
12:02 sundar joined #perl6book
12:26 dalek book: 6fabc2f | masak++ | src/preface.pod:
12:26 dalek book: [preface] fixed grammaro
12:26 dalek book: review: http://github.com/perl6/book/commit/6fabc2f95126bbc1b99e286ae71555d63587aa34
12:32 dalek book: b41705f | masak++ | src/preface.pod:
12:32 dalek book: [preface] slight rephrasings
12:32 dalek book: review: http://github.com/perl6/book/commit/b41705f8653e9fdba4239ea0482dd9490c73d088
12:44 dalek book: 23285cb | masak++ | src/preface.pod:
12:44 dalek book: [preface] various further small file
12:44 dalek book: - one full stop should be a semicolon
12:44 dalek book: - removed trailing slash in http://perl.org/
12:44 dalek book: - 'the compiler' sounds strange after explaining that there are several
12:44 dalek book:   Perl 6 implementations. changed to 'Perl 6 compilers'
12:44 dalek book: review: http://github.com/perl6/book/commit/23285cb5aab2f42b042fc767fbeab5f3fb8ee516
12:51 * smash_ is back
13:02 cognominal joined #perl6book
13:09 moritz_ PerlJam, masak: if you haven't done already, please sign the book contract and send it back to chromatic++
13:09 * masak did that ages ago :)
13:10 moritz_ masak++
13:25 dalek book: e325b80 | masak++ | src/basics.pod:
13:25 dalek book: [basics] rw review
13:25 dalek book: Lots of minor improvements throughout.
13:25 dalek book: review: http://github.com/perl6/book/commit/e325b80914a4d6938d37911382c0b6b9f76037af
14:30 smash_ where can i send a patch for perl6/book ?
14:30 moritz_ smash_: uhm, commit it directly
14:31 moritz_ smash_: or is it something you'd like to discuss first?
14:31 smash_ although it's some simple stuff i'm not sure i feel confortable just push'ing it
14:31 masak please do feel comfortable. :)
14:32 moritz_ smash_: we'll have a close look and discuss and/or revert the parts that are not OK - that's normal development strategy here
14:32 moritz_ "better to ask for forgiveness than permission"
14:33 * smash_ nods.
14:40 * smash_ push'ed, let me know it you don't agree with anything and i will gladly revert it
14:40 dalek book: da67c46 | smash++ | src/ (4 files):
14:40 dalek book: Several small fixes.
14:40 dalek book: review: http://github.com/perl6/book/commit/da67c46683bcfa1c3490af345bfa5e122d8a12f0
14:41 moritz_ smash_++
14:42 moritz_ there's one thing I don't like, and one that I'm not sure - the rest is great
14:42 moritz_ -    say $counter;
14:42 moritz_ +    say $counter;       # says B<2>
14:42 moritz_ the output is implementation specific
14:42 moritz_ and can actually differ from version to version
14:43 moritz_ so that should be made clear from the comment
14:43 smash_ yeap, i agree on that one.. something should mention there that that output is implementation specific
14:44 moritz_ second thing is: before you commit markup fixes, please check if they acctually improve parsing
14:45 moritz_ Pod::PseudoPod has some weird charactersitics
14:46 moritz_ in particular I've been wondering about
14:46 smash_ i tested every markup change
14:46 moritz_ smash_++
14:46 moritz_ in particular I wondered about the closing of the N<...>
14:47 smash_ unless the module behaves diferently across different environments
14:48 moritz_ don't think it does
14:48 smash_ nice
14:48 moritz_ actually it's fine here... I just thought I'd fixed that one a while back, and it was a very counter-intuitive fix
14:48 moritz_ but I mis-remembed
14:48 moritz_ *remembered
14:52 dalek book: 24ca22d | moritz++ | src/multi-dispatch.pod:
14:52 dalek book: [mmd] now that we have Real, there is no need for separate Num and Int candidates
14:52 dalek book: review: http://github.com/perl6/book/commit/24ca22d8d3b6cdf223a781433edceaf2a75d80ff
15:14 smash_ moritz_: (regarding you first comment) http://gist.github.com/376638
15:16 moritz_ smash_: I like it... feel free to revert the commit I just pushed, because they collide
15:16 moritz_ smash_: but I like yours better
15:16 dalek book: c8aefbb | moritz++ | src/operators.pod:
15:16 dalek book: [ops] working code, screen output
15:16 dalek book: review: http://github.com/perl6/book/commit/c8aefbb02a0e11237522e4bc9f75c9a869ce0fcf
15:16 dalek book: 39769b6 | moritz++ | src/multi-dispatch.pod:
15:16 dalek book: [mmd] number of type checks is implementation dependent
15:16 dalek book: review: http://github.com/perl6/book/commit/39769b6d6c9096ce13529b0a378d8a35f3a002b2
15:19 smash_ ok, let me do that
15:26 smash_ moritz_: push'ed, see what you think of it now, and if it still needs more tweaks
15:27 * moritz_ pulls
15:28 moritz_ smash_++ # nice
15:28 dalek book: 62090c3 | smash++ | src/multi-dispatch.pod:
15:28 dalek book: [mmd] subtype checks blocks number of executed times is implementation specific
15:28 dalek book: review: http://github.com/perl6/book/commit/62090c3f607737a64dfdfc4435e311aba404220b
15:38 smash_ moritz_: anything more from the previous patch ?
15:38 smash_ (i mean the original one)
15:39 moritz_ I'm fine with the current state of affairs
15:40 smash_ ok, good
15:40 smash_ and thks
15:40 moritz_ thank you for the contributions
16:57 dalek book: 470ed50 | masak++ | src/operators.pod:
16:57 dalek book: [operators] rw review
16:57 dalek book: review: http://github.com/perl6/book/commit/470ed501fc044bdf604d6d405d5c974272c37a5a
17:38 japhb joined #perl6book

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