Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6book, 2010-04-28

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

All times shown according to UTC.

Time Nick Message
00:11 eternaleye joined #perl6book
00:44 dalek book: a8ccc78 | chromatic++ | src/subs-n-sigs.pod:
00:44 dalek book: Edited half of this section, mostly for clarity and style.  This could use some
00:44 dalek book: more index tags, and we need to make an editorial decision about the use of the
00:44 dalek book: word parameter versus argument.
00:45 dalek book: review: http://github.com/perl6/book/commit/a8ccc789874eac56c108f41f1551547655c0fc08
01:45 PerlJam FWIW, I tend to use "parameter" rather than "argument".
01:46 PerlJam sub foo ($a,$b,$c) { ... }  # this subroutine has 3 parameters.
01:46 PerlJam The C<foo> subroutine is parameterized by 3 scalar values
01:48 PerlJam Also, there's a common usage of "parameter" to mean the slot, and "argument" to mean that which is put in the the slot
01:48 PerlJam sub foo ($a) { ... };  foo(7);   # $a is the parameter, 7 is the argument.
03:56 p6eval joined #perl6book
05:21 japhb joined #perl6book
06:27 moritz_ PerlJam: that's the terminology I try to use too
07:37 eternaleye joined #perl6book
07:37 hugme joined #perl6book
10:24 dalek book: 0db6713 | moritz++ | src/subs-n-sigs.pod:
10:24 dalek book: [subs] try to be more consistent wrt argument vs. parameter; also define "parameter"
10:24 dalek book: review: http://github.com/perl6/book/commit/0db67136a23885e615e37372888e7b9f8e4a177b
10:25 moritz_ there are a few places where I'm not quite sure about the distinction... further review welcome
10:43 masak joined #perl6book
12:34 moritz_ masak: I'd appreciate it if you could proof-read my last book commit
12:35 masak will do.
13:56 sahadev joined #perl6book
14:22 masak looks good.
14:23 moritz_ thanks
14:28 dalek book: db22164 | masak++ | src/subs-n-sigs.pod:
14:28 dalek book: [subs-n-sigs] fixed grammaro
14:28 dalek book: review: http://github.com/perl6/book/commit/db22164a931c8c19532a20572f53ec19cc81961a
14:39 sahadev hello. i forked the "book" project and made a few changes in the first couple of chapters. i am not familiar with "git way" yet. what's the best/right way to submit these to the main repo?
14:39 sahadev my fork is at http://github.com/prakashk/book
14:43 masak thank you. I'll have a look
14:43 moritz_ sahadev: I'm a bit confused by http://github.com/prakashk/book/commit/a600a5fe3709f16a99d1c5f911fa422662634454 - it reverts a change I needed to make the format actually run with current rakudo
14:44 moritz_ rakudo: printf '%- 3s', 'ab'
14:44 p6eval rakudo 6a502f: OUTPUT«ab »
14:44 moritz_ rakudo: printf '%-3s', 'ab'
14:44 p6eval rakudo 6a502f: OUTPUT«ab »
14:45 moritz_ -        say "$n has won { %games{$n} } games and { %sets{$n} } sets";
14:45 moritz_ 62
14:45 moritz_ +        say "$n has won %games{$n} games and %sets{$n} sets";
14:45 moritz_ there's no need for the blocks, though we haven't explained that yet I fear
14:47 moritz_ sahadev: other parts of your corrections look very good though
14:47 sahadev masak: are you talking about these lines specifically?
14:47 sahadev - the value on the right is a bare identifier, it is taken to be a string. So one                                                                                                              67                                                                                               +the key on the left is an identifier, it is taken to be a string. So one
14:49 masak uh. sahadev, maybe you meant moritz_.
14:49 sahadev oops, sorry.
14:49 sahadev i should read first before responding :)
14:51 sahadev moritz_: i just updated my rakudo tree today and tested the change and it works. btw, it wasn't exactly reverting to the previous version. it has a small change (the $ sigil is now inside the braces.
14:51 sahadev )
14:52 sahadev however, feel free to reject any changes, if they are not appropriate.
14:52 moritz_ ok
14:52 moritz_ sahadev++ # lots of work
14:53 moritz_ I don't know if I'll get around to a detailed review today, but I'll definitively do it this week - unless masak++ beats me to it
14:53 sahadev thanks. i have been trying to get into Perl6 somehow. thought following the book is the easiest way (for me)
14:56 masak sahadev: that's very good to hear.
15:00 sahadev about the use of beramono font in the latex version. i found the size of verbatim strings within paragraphs (\texttt) to be much bigger than the other surrounding text (which is rendered using the default computer modern fonts i believe). i have a version of the file using "bera", which uses bera family for everything (mono, sans and serif).
15:00 sahadev that looks better to me.
15:02 moritz_ sahadev: I think the fix shouldn't go into an external tex package, but into the latex template in bin/book-to-latex
15:02 sahadev moritz_: yes. i changed the script, not the latex template.
15:02 moritz_ ah, great
15:02 moritz_ +1 to that change
15:02 sahadev here's my change, if you are interested.
15:02 sahadev -\usepackage[T1]{fontenc}
15:02 sahadev -\usepackage{textcomp}
15:02 sahadev -\usepackage[scaled]{beramono}
15:02 sahadev +\usepackage{bera}
15:03 sahadev i didn't commit it yet, since this one is a "subjective" change.
15:03 sahadev wasn't sure, if it was that important.
15:04 moritz_ I kinda still hope that Onix Neon Press takes layout into their hands
15:04 moritz_ but until they do, layout improvements are welcome too
15:04 moritz_ the main reason for beramono was because computer modern mono doesn't support bold font
15:06 sahadev ok.
15:07 moritz_ anyway, I like it
15:07 moritz_ pushed
15:07 sahadev excellent.
15:10 dalek book: 95acbd0 | moritz++ | bin/book-to-latex:
15:10 dalek book: [latex] use the font "bera" consistently. Patch by sahadev++
15:10 dalek book: review: http://github.com/perl6/book/commit/95acbd01877af41bb865f2e5855b1b8c61161a13
15:52 dalek joined #perl6book
18:29 hicx174 joined #perl6book
21:50 hicx174 joined #perl6book
22:12 p6eval joined #perl6book
22:24 sahadev left #perl6book
22:30 dalek left #perl6book
22:30 dalek joined #perl6book
22:55 dalek book: 228f280 | duff++ | src/subs-n-sigs.pod:
22:55 dalek book: [subs] some clarifications and minor text changes
22:55 dalek book: review: http://github.com/perl6/book/commit/228f280eb4284b59f40503404666edfa2d337e1d
23:00 dalek book: a706369 | chromatic++ | src/subs-n-sigs.pod:
23:00 dalek book: Finished editing what's in this section.  Added a couple of examples.
23:00 dalek book: review: http://github.com/perl6/book/commit/a706369d110b8df1cadc210ec99f34a014b2233e
23:01 dalek book: 7c843c4 | chromatic++ | src/subs-n-sigs.pod:
23:01 dalek book: Merged branch 'master' of git@github.com:perl6/book.
23:01 dalek book: review: http://github.com/perl6/book/commit/7c843c418aa05fa3baec95a5e2fa70c4655293ab

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