November -- doing stuff in Perl 6 in the months before Christmas. <november-wiki.org> <github.com/viklund/november> <irclog.perlgeek.de/november-wiki> <nopaste.snit.ch>
Set by moderator on 22 November 2008.
masak use.perl.org/~masak/journal/37935 00:21
zarah masak's link is also tinyurl.com/6nmaff
04:07 PerlPilot joined 04:22 PerlJam joined 07:42 viklund joined 14:02 masak joined
masak OH HAI 14:02
zarah hi masak
moritz_ moep 14:03
masak wow, someone actually downloaded November just to look at my new skin :) 14:04
I now have the power to command people's actions THROUGH THE WEB! 14:05
moritz_ you had before. Why did you think that pmichaud works on the lex issues? :-)
masak heh 14:06
I don't say it often enough: pmichaud++
I know it's tought work.
s/tought/though/
moritz_ well, November is incredible helpful for Rakudo, it finds dozens or hundreds of bugs that the test suite didn't catch 14:07
did you mean "tough"? :)
PerlJam test suites aren't the best way to find bugs anywya. 14:08
er, anyway
most bugs are found when N > 1 programmers look at the code and try to figure out what it is doing or should do.
moritz_ PerlJam: no, but extremly convenient for regression testing
PerlJam moritz_: oh, indeed.
and just because ... november++ moritz++ masak++ (all you guys)++ :-) 14:10
(Having a real perl 6 application is quite cool on a number of fronts) 14:11
moritz_ don't forget pmichaud++ and jonathan++ :-)
PerlJam yeah, pmichaud++ and jonathan++ too
masak moritz_: aye, my spelling functionality hasn't booted yet today. :P
karma all you guys 14:12
zarah all you guys has a karma of 1
masak zarah++
viklund mpeters now has commit rights! 16:08
masak viklund++ 16:13
that guy is amazing. I don't know who he is, but apparently he was inspired by my new skin, so he made one himself!
moritz_ cool 16:20
masak immensely so. 16:21
he just got commits rights so he can keep surprising us :) 16:22
moritz_ did somebody write a man-or-boy test in perl 6? 16:26
we should put that in t/spec/integration/
masak moritz_: 'man-or-boy'? 16:36
moritz_ en.wikipedia.org/w/index.php?title=...95453#Perl 16:38
zarah moritz_'s link is also tinyurl.com/6zl5kl
moritz_ (just came on #p5p)
masak _that_ is one confusing piece of code. 16:40
Knuth++ 16:42
moritz_ indeed (to both) 16:43
PerlJam that man-or-boy thing seems like it would be an awesome test for the recently revamped lexicals. 16:55
moritz_ indeed
masak PerlJam: indeed, and an awesome topic for a blog post. 16:56
regardless of the outcome, actually.
moritz_ nopaste.snit.ch/14722 # is that my error, or the next rakudo fuckup? # cross-post from #perl6 17:48
PerlJam &x insteadof &x2 17:50
moritz_ yes, just saw that
doesn't change the error though 17:51
oh, and I need '$k is copy'
masak is 'is copy' implemented? 18:09
moritz_ yes.
masak oh, good. 18:10
carry on then.
moritz_ pugs passes the tests (now as t/spec/integration/boy-or-man.t or so)
masak Pugs++ 18:14
Pugs真是好汉!
(though I really should have rendered that in traditional characters, of course) 18:15
18:31 Tene joined
masak Tene: good day, sir. 18:31
Tene Hi!
zarah hi Tene
masak pats zarah 18:32
@plan all nvm 18:42
zarah masak: nvm/mediawiki-links: 1 h planned, 41 m elapsed
masak: nvm/mediawiki-paragraphs-and-headings: 30 m planned, 1 h 48 m elapsed
masak: nvm/mediawiki-tests: 5 h planned, 2 h 31 m elapsed
masak hey, prove takes an -e argument for which executable to run the tests through. that's better than what we currently do in Makefile 18:48
masak fixes
hm. there's a fail in t/01-cgi.t, after test 9 18:56
can anyone confirm?
moritz_ git-pulls 18:58
masak: make clean throws an error if some files don't exists => bad
masak moritz_: indeed bad.
moritz_ (ie it returns unsuccessfully) 18:59
s/rm/rm -f/ should do
masak oki, will patch. thx.
moritz_ so how do I run tests? 19:00
masak 'make test' should do
moritz_ make: *** No rule to make target `test'. Stop. 19:01
masak ah.
make
_then_ make test
moritz_ now, regen Makefile ;)
ok 9 - Parse param: test=5&params=3&words=first%0Asecond
maximum recursion depth exceeded
masak aye.
then it's not just me
masak debugs
the error occurs in is_deeply 19:02
we should probably remake that entirely, now that lexicals work :P
masak remakes is_deeply entirely
masak finds the old code 19:03
aaah! my eyes, my eyes!
moritz_ lol
masak it's possible to joke about it, now that it's over :P 19:04
ok, so the code is basically good, except there are a lot of evals
(and an unwanted infinite regress)
oh! 19:07
problem isn't really in is_deeply
it's in .perl
or, rather, in the fact that a circular reference is created somewhere 19:08
ok, line 121 in CGI.pm does the pretzel thing 19:14
rakudo: my $a = 5; $a = [ $a, 6 ]; say $a 19:15
p6eval rakudo 33193: OUTPUT[maximum recursion depth exceeded␤current instr.: 'parrot;List;get_string' pc 2808 (src/gen_builtins.pir:1885)␤]
masak HAH!
masak visits #perl6
yay! I can haz test framework! 19:27
20:24 masak joined
masak oops. netsplit. 20:25