brainstorming lists: gist.github.com/203173 paste.lisp.org/display/88288 IRC logs: irclog.perlgeek.de/perl6book/today source: github.com/perl6/book/
Set by moderator on 20 October 2009.
00:54 snarkyboojum joined 01:37 snarkyboojum_ joined 02:57 snarkyboojum joined 06:26 japhb joined 06:33 chromatic joined 07:27 snarkyboojum joined
moritz_ Util: hi, just read the backlog 08:34
Util: not using JSON::Tiny is fine - it just provides two examples, but by no means should explain everything
hugme: add Util to book
hugme hugs Util. Welcome to book!
moritz_ Util: you can now push to main repo, I find that easier than forks 08:35
Util: just a quick note on coding style - you should always use whitespaces around infix operators 08:36
return ( ( $die1==6 && $die2==6 ) ?? 'lucky' !! 'not lucky' );
the problem without whitespaces is that 3<4 is parsed as a subscript like %hash<key> 08:37
Util: I'd also use - instead of _ in underscores 08:43
sub convert-to-kelvin($temperatur, $unit) 08:44
09:19 snarkyboojum joined 11:23 colomon joined 11:34 masak joined 11:50 snarkyboojum joined
masak meeting tonight? 17:16
jnthn when?
masak that's another good question. 17:17
moritz_ good questions. 17:19
I totally forgot
what's our usual meeting time? 18H UTC? or 1830? 17:20
masak checks 17:21
moritz_ since last weekend I only have 1 hour difference to UTC
need to get used to that ;-) 17:22
masak ditto.
18H UTC.
moritz_ wfm
so in 38 minutes
masak moritz_: did you ever announce the book on use.perl.org?
moritz_ masak: no 17:23
masak ok, it was just a suggestion?
moritz_ we (fsvo "we") decided to wait until we have more to buzz about ;-)
masak I happened to see it in the logs from two weeks ago just now.
ok, might be a good idea.
let's write more to buzz about! :)
by the way, I saw people discussing CSV parsing today as if it wasn't a problem requiring a grammar solution. 17:25
that might be the case, if you choose to solve a subset of the CSV format, one without quotes.
as soon as you involve quotes, line-by-line parsing and split on commas goes right out the window. 17:26
moritz_ yes, sure
masak don't know if this is an absolute argument against doing a CSV example with line-by-line and split (because it might encourage a suboptimal solution to a problem better solved in modules), but I think it's at least worth taking into account. 17:28
jnthn Aye, there is that.
We don't have to say it's CVS 17:29
We could instead say we've got a file of numbers or something comma separated, or even tab separated.
moritz_ ok, here is my secret plan:
a table tennis tournament
for each match, the referee writes down a line like
Player1 : Player2 | 3 : 2 17:30
and every player plays against every other
so in the end we want to
1) print a matrix with all the results
2) determine the winner
jnthn That could be a nice idea. 17:31
moritz_ endofsecritplan 17:32
(and I just happen to like table tennis ;-) 17:33
masak does table tennis have a saner scoring system than regular tennis? :) 17:39
moritz_ yes
jnthn Man I hope so.
I never understood tenis scoring.
moritz_ it uses all integers, not just 0, 15, 30, 40
jnthn Actually the only thing I really understood about normal tennis is that if I watch it, I might get to see Anna Kournikova. :-) 17:40
moritz_ and instead of "advantage" and "deuce" you just continue counting 11:10, 11:11 etc.
masak moritz_: so, when do you stop? 17:41
moritz_ masak: if abs($a - $b) >= 2 && ($a max $b) >= 11 17:42
masak suspected that
moritz_ pre-posting my report: 17:44
What I did last week:
* Wrote a Makefile, included the SVG in the PDF output
* Clarified things based on feedback
* wrote a technical TODO list of things we have to fix at some point
* Made the first release. Most feedback was positive or helpful ;-)
* RX: look-around assertions, match objects
* grammars: grammar inheritance
What I plan to do this week:
* write about action methods in the grammar chapter
* maybe add an excursion about better error messages
* Start with the first chapter (see backlog for example idea)
What I'm blocking on 17:45
* tuits, health
masak moritz_: get well soon!
moritz_ masak: thanks. So far just forerunners of a flu, so nothing grave 17:46
masak did last week: helped with release, started on the toolchain which others then perfected. adapted the Makefile to work on Mac OS X.
plan to do this week: try to think of more examples.
blocking on: nothing much.
.eor
jnthn report: 17:47
What I did in the last week:
* Erm, er, I failed
* Well, I was at the Italian Perl workshop...
* ...and did do some nice patches for Rakudo...
* ...so you may forgive me.
What I plan to do this week:
* Write more of the OO chapter
* Try and think up a nice example involving roles
EOR
oh, forgot
Blockers
* Probably none for the coming week - I've nowhere to go, and some non-Perl 6 projects are close to wrapping up
moritz_ masak: now explain what Yuval has got to do with it ;-) # SCNR 17:48
masak moritz_: :)
pmichaud What I did last week: 17:58
* Reviewed the released book, was impressed
* Fixed a couple of typos
* Coded instead of writed.
What I plan to do this week:
* More of the same
* Perhaps write up the cards example as a potential chapter
* Steal the book tools so I can start work on an NQP/PCT book :)
EOR
moritz_ it's meeting time! 18:00
any questions? 18:01
all in all I'm rather pleased
and want to point out that have a fair number of contributors already
masak \\o/ 18:02
jnthn No questions as such. I'm looking for a good example for a roles chapter, or inspiration that may go in to one.
moritz_ I did have a question earlier, but forgot it. Should have written it down :/
jnthn I'd really rather the example came before the text.
masak I've had loose thoughts about doing something with Sets and graphs, which would probably lead to Rakudo getting more Set/Hashset functionality. 18:03
moritz_ masak: things that might go into rakudo are a bad example for the book 18:04
because they might become superfluous, and won't run because the types already exist ;-)
masak no, I meant I plan to patch Rakudo as I write the example. :) 18:05
jnthn I think masak meant giving Rakudo ... right.
moritz_ ah
+1 on having examples first (as jnthn++ pointed out) 18:06
anything else we want/need to discuss? 18:07
seems like not, meeting adjourned 18:08
thanks everybody
jnthn wow, quick!
:-)
masak short++ 18:11
jnthn Indeed. 18:13
btw, if anyone wants to smoke my latest push to Rakudo, that'd be great. 18:34
It was another quite sizable change.
At least, in terms of what it did. 18:35
jnthn -> shop
moritz_ jnthn: smoke already running, and in S05 18:36
18:38 chromatic joined
jnthn moritz_++ # thanks 18:39
really going to shop now
jnthn glances at #perl6, then decides to hide on #perl6book :-) 19:02
moritz_ he 19:04
jnthn: all tests passes, except Unicode.t and IO-Socket-INET.t 19:07
masak same here, but I only had the failure in IO-Socket-INET.t 19:11
moritz_ that's fairly new but consistent
masak it used to show up inconsistently ever since that module was created.
perhaps new Rakudo features have made the problem more stable. :) 19:12
jnthn ;-) 19:13
moritz_: OK, good to know...and unicode.t - I dunno what to do with. :-|
moritz_: Out of curiosity, if you write a test with a unicode'd named parameter and then do --target=pir on it, does the name as it shows up in the code putting the signature together look OK?
moritz_ jnthn: I get "Malformed UTF-8 string" during compilation to PIR :/ 19:16
jnthn moritz_: oh.
moritz_ sub f(:$Ƥ) { say $Ƥ;
}
f :ä<ü>;
that's the code I used for testing
jnthn What, it doesn't even get so far as --target=pir giving output?
moritz_ correct
jnthn oh ouch. 19:17
masak are you discussing #perl6 matters on #perl6book because TimToady and dmq are being offtopic on #perl6? :) 19:18
moritz_ yes ;-)
sorry to the other book writers ;-)
masak I'm just glad I know the new hip place to be as the old place gets taken over by trolls. :P 19:19
jnthn lol
I'm not quite sure trolls is the word. ;-) 19:20
masak me neither. I'll get back to you when I find a better word. 19:21
moritz_ replace trolls by "trolls" ;-) 19:22
jnthn It's all in the air quotes.
moritz_ masak: do you have icu installed? 19:28
masak moritz_: no.
moritz_ that probably makes the difference
masak aye.
jnthn aye, I need to install icu.
btw, I noticed that parsing nested sigs is like, really easy. 19:30
moritz_ it is? cool
jnthn Yeah
Unless there's some blocker I don't see, at this point I'm quite possibly only a few hours of hacking off a first cut. 19:31
I was going to put it off in master and do it in the new grammar bracnh, until I saw how little parsing effort it should take to do them in master anyway. 19:32
And that the real work to do them is elsewhere, in stuff that will stay the same between the two.
Also, in theory, it's like a couple of lines change/addition in the multi-dispatcher to have us able to pick multi-candidates by nested signatures (as constraints). 19:34
<ontopic>We may be able to get a cool example in the book for that!</ontopic> ;-) 19:35
moritz_ YaY
masak \\o/ 19:44
21:39 dalek joined 22:40 lichtkind joined 23:20 p6eval joined 23:27 p6eval joined