»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg camelia perl6: ... | irclog: irc.perl6.org | UTF-8 is our friend!
Set by sorear on 25 June 2013.
skids m: sub change($amt is copy) { my @coins = (25,10,5,1); gather while ($amt) { if $amt >= @coins[0] { $amt -= take @coins[0]; }; if $amt < @coins[0] { @coins.shift; } } }; Bag.new((1..99)».&change.flat).perl.say # explains why I never have dimes at the tollbooth, but not why I always have so many nickels. 03:51
64MAAITRZ rakudo-moar 4a8eb3: OUTPUT«(1=>200,5=>40,10=>80,25=>150).Bag␤»
camelia rakudo-moar 4a8eb3: OUTPUT«(1=>200,5=>40,10=>80,25=>150).Bag␤»
dalek ast: 228e9b3 | (David Warring [email@hidden.address] | S03-operators/numeric-shift.t:
adding fudged test for RT#121909

This is currently breaking date/time calculations on parrot
04:24
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...?id=121909
dwarring r: my int $t = 10; say (2 * $t) + ($t +> 2) 04:29
camelia rakudo-moar 4a8eb3: OUTPUT«22␤»
..rakudo-jvm 4a8eb3: OUTPUT«Rebuild in progress␤»
..rakudo-parrot 4a8eb3: OUTPUT«4␤»
64MAAITRZ rakudo-jvm 4a8eb3: OUTPUT«(timeout)»
..rakudo-moar 4a8eb3: OUTPUT«22␤»
..rakudo-parrot 4a8eb3: OUTPUT«4␤»
dwarring ^^ that's the Temporal bug. Parrot is wrong 04:30
Heather hi 04:39
Woodi morning :) 05:19
hmm, PLPW in Gdansk ? then wp.pl could be asked for some help :) maybe... 05:20
Woodi I saw OrderedHash in backlog, is it going to be specced ? 05:29
lizmat good UGT, #perl6! 06:22
Woodi o/ 06:23
moritz \o 07:02
lizmat preparing for Poznan -> Prague commute 07:32
nwc10 lizmat: has jnthn left the building? 07:36
lizmat no, not yet, as we're travelling together with him and masak 07:39
dalek kudo/nom: bcb3934 | (Elizabeth Mattijsen)++ | docs/ChangeLog:
Mention "use v5" no longer being noop
07:41
lizmat commuting&
Ven o/, #perl6 09:25
sergot_ morning! o/ 09:27
ppabian hi. are photos from PLPW available somewhere? 09:52
FROGGS there are even cpantester results for NativeCall /o\ www.cpantesters.org/distro/N/Native...version=v1 09:52
sergot_ bbkr: yes, here: www.flickr.com/photos/wendyga/sets...316048078/ 09:54
bbkr thanks!
sergot_ no problem :)
Ven are masak's slides somewhere ? or any others, for that matter 10:56
arnsholt FROGGS: Wat? How does that even happen... 11:14
sergot_ Ven: they will be somewhere soon (I hope) 11:15
moritz "This is a computer-generated report for NativeCall-v1 11:16
Ven yay :)
moritz on perl 5.8.9"
well, try Perl 6, no? :-)
nwc10 put "use v6" in the Makefile.PL ? 11:19
there's a correct way to get cpantesters to skip on too-old versions
but I forget it
moritz minimum version in META.mumble, I think 11:22
colomon sees the the PLPW pictures and misses all the p6ers. maybe next year...
BinGOs wiki.cpantesters.org/wiki/CPANAuthorNotes 11:25
tl;dr 'use 6.000;' in your Makefile.PL or whatever
nwc10 BingGOs: botsnack :-) 11:26
gah, I can't type
anyway, I suspect that the BinGOs bot runs on stronger stuff than botsnacks. 11:27
BinGOs currently running on strong tea and nicotine gum
moritz that seems to be the bottom line, yes
nwc10 you're trying to give up smoking? 11:28
BinGOs yes, several years ago. Now I am addicted to the gum.
nwc10 gosh, I missed that. Shows how observant I am 11:29
so what does big pharma now sell to get one off the gum or the E cigs?
there seems to be a(nother) money making opportunity here :-(
Ven nwc10: cigarettes 11:30
BinGOs heroin
huf *sigh* there's a well known cure. just drink a glass of water. 11:35
timotimo blog post will be quite late today 11:41
tadzik Ven: I uploaded mine to feather.perl6.nl/~tjs/talks/plpw14/#/ 12:09
and feather.perl6.nl/~tjs/talks/plpw14/rakudobrew/#/ 12:10
colomon tadzik: rakudobrew slides remind me I was wondering if we should add "spectest" to the rakudobrew commands. 12:18
tadzik maybe :)
timotimo s 12:30
FROGGS arnsholt: it looks like as if recent uploads get smoked, whether they are indexed or not... also metacpan displays this distribution, and needs to be patched 12:35
FROGGS BinGOs: do you favor a way of telling cpantesters that something is Perl 6? I mean, it would be nice to not even get NA reports from Perl 5 12:36
BinGOs are the dists always going to be in a Perl6 subdir of an authors dir? 12:37
FROGGS BinGOs: yes 12:38
(by intention)
BinGOs I can adapt the modules I use for finding uploads to filter those out
BinGOs I don't know what the other crazies^testers use, but I can sort my shit out. 12:39
FROGGS BinGOs: are other smokers also using this toolchain?
ahh, I see
arnsholt FROGGS: How is NativeCall on CPAN, though?
FROGGS arnsholt: we uploaded it :o) 12:40
arnsholt Oh, right
FROGGS it is a proper P6 distribution
FROGGS .tell timotimo there is at least one thing for the p6weekly: the v5 module does not require a patched rakudo anymore, and can be installed using its configure script + make... 12:43
yoleaux FROGGS: I'll pass your message to timotimo.
FROGGS .tell timotimo and I am working hard on making it a pandable module 12:44
yoleaux FROGGS: I'll pass your message to timotimo.
Ven mmh, ruby's usage of last and break is really confusing
FROGGS I hope there is more to come within the next hours... *cough* *jnthn* *cough* :P
Ven: in loops I guess? 12:45
Ven yea
dalek ar: cab8b47 | coke++ | Configure.pl:
Update download URL (github's downloads are gone)
Ven I'm always "which one is c-ish, which one is perl-ish ?"
[Coke] dwarring++ getting to the root of that date bug. 13:08
FROGGS rn: warn 0 14:52
64MAAITRZ rakudo-parrot bcb393: OUTPUT«Warning in block at /tmp/tmpfile:1␤␤»
..rakudo-moar bcb393: OUTPUT«Warning␤»
..rakudo-jvm bcb393: OUTPUT«Rebuild in progress␤»
..niecza v24-109-g48a8de3: OUTPUT«0␤ at /home/p6eval/niecza/lib/CORE.setting line 1389 (warn @ 5) ␤ at /tmp/tmpfile line 1 (mainline @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 4595 (ANON @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 4596 (module-CORE @ 576) …»
camelia rakudo-jvm bcb393: OUTPUT«(timeout)»
..rakudo-parrot bcb393: OUTPUT«Warning in block at /tmp/tmpfile:1␤␤»
..rakudo-moar bcb393: OUTPUT«Warning␤»
..niecza v24-109-g48a8de3: OUTPUT«0␤ at /home/p6eval/niecza/lib/CORE.setting line 1389 (warn @ 5) ␤ at /tmp/tmpfile line 1 (mainline @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 4595 (ANON @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 4596 (module-CORE @ 576) …»
masak hello from .cz! 15:06
FROGGS \o/ 15:07
hello from .de :o)
masak :) 15:09
jnthn Jsem v Prahe \o/ 15:20
FROGGS that is a very nice place to be :o) 15:22
sergot_ o/
lizmat has also arrived 15:30
and has bandwidth (only Edge though) 15:31
FROGGS hi lizmat 15:32
lizmat FROGGS O/
moritz m: role A { method m { ... } }; say A.^can('m'); 15:38
64MAAITRZ rakudo-moar bcb393: OUTPUT«Method 'm' must be implemented by A because it is required by a role␤ in any compose_method_table at src/gen/m-Metamodel.nqp:2342␤ in any apply at src/gen/m-Metamodel.nqp:2352␤ in any compose at src/gen/m-Metamodel.nqp:2497␤ in any make_pun at …»
camelia rakudo-moar bcb393: OUTPUT«Method 'm' must be implemented by A because it is required by a role␤ in any compose_method_table at src/gen/m-Metamodel.nqp:2342␤ in any apply at src/gen/m-Metamodel.nqp:2352␤ in any compose at src/gen/m-Metamodel.nqp:2497␤ in any make_pun at …»
moritz how can I do that check safely? 15:39
moritz m: say 42 15:39
camelia rakudo-moar bcb393: OUTPUT«42␤»
FROGGS m: role A { method m { ... } }; say nqp::can(A, 'm'); 15:40
camelia rakudo-moar bcb393: OUTPUT«Method 'm' must be implemented by A because it is required by a role␤ in any compose_method_table at src/gen/m-Metamodel.nqp:2342␤ in any apply at src/gen/m-Metamodel.nqp:2352␤ in any compose at src/gen/m-Metamodel.nqp:2497␤ in any make_pun at …»
FROGGS by fixing compose_method_table? I dunno :/
moritz well, the problem seems to be that MOP calls pun a class 15:41
and that class doesn't contain the desired method
woolfy Tomorrow start 2 days of Czech Perl Workshop ( act.yapc.eu/czpw2014/schedule?day=2014-05-20 ), sponsored by Perl 6, with many Perl 6 talks by jnthn, lizmat, masak, lichtkind (and maybe others) 16:15
PerlJam "sponsored by Perl 6"? 16:19
woolfy Yep, see the sponsor page. The logo of Camelia is visible. So it must be true. 16:23
by the Perl 6 community...
PerlJam That's still ... strange to me. 16:24
PerlJam I don't think of "Perl 6" or the "Perl 6 community" as an "it" that would sponsor something i guess. 16:24
woolfy PerlJam: don't worry, Perl 6 has sponsors. They mean well. 16:29
PerlJam (all those that would sponsor good things in the name of Perl 6)++ 16:30
:-)
woolfy :-) 16:33
dalek kudo-star-daily: f167345 | coke++ | / (2 files):
one more step to multiple backends.
kudo-star-daily: c92f6b7 | coke++ | log/parrot- (5 files):
today (automated commit)
lizmat dinner and pivo& 16:38
[Coke] if I build rakudo star for moarvm, does it download a copy of moar when I build NQP? 17:14
moritz [Coke]: iirc star bundles moarvm
[Coke] hurm.
FROGGS should be bundled, aye 17:19
but you can replace that with a git clone, and build star-HEAD that way
[Coke] I am cheating; trying to figure out if my cheating is the problem. (moarvm stuff not ending up the star target's manifest) 17:22
[Coke] ugh. now getting ;src/moar.h:20:16: fatal error: uv.h: No such file or directory #include <uv.h> 17:33
(when trying to configure moar-vm latest from the daily star run)
will dig more later.
FROGGS as if 3rdparty stuff is not in the MANIFEST 17:37
moritz [Coke]: libuv is a submodule, so maybe your cheating fails for submodules? 17:40
FROGGS m: say 42 < any < 11 12 13 45 > # that is soo awesome! 18:09
camelia rakudo-moar bcb393: OUTPUT«any(False, False, False, True)␤»
vendethiel FROGGS: the gods of LTM have hit again 18:23
FROGGS vendethiel: LTM? 18:24
why that?
ahh, k
:o)
but not the LTM is expressive here, junctions are 18:25
err, impressive
vendethiel LTM is impressive :P
FROGGS True 18:26
:o)
FROGGS there is a spesh bug in perl6-m t/spec/integration/real-strings.t 18:39
dalek p: d013aff | (Tobias Leich)++ | tools/build/MOAR_REVISION:
bump moar rev for num->str fix
dalek kudo/nom: 277212e | (Tobias Leich)++ | tools/build/NQP_REVISION:
bump nqp/moar rev for num->str fix
18:40
colomon FROGGS++ 18:45
[Coke] moritz: (submodule cheat) oh, duh. thanks.
FROGGS I am just the bumper
colomon sergot_++ too, then 18:46
Kays will Perl 5 be somewhat compatible with Perl 6 similar to C and C++? As in use both Perl 5 and Perl 6 in the same project? 18:53
PerlJam Kays: not exactly 18:55
Kays: there are mechanisms in the works for using Perl 5 code from Perl 6
Kays: but Perl 6 is not a superset of Perl 5 like C++ is of C
Kays I see. Thanks PerlJam 18:58
vendethiel C++ would have been far better off not being compatible with C, tbh ...
Kays vendethiel: why? A lot of things will break.
geekosaur probably, but as it started out as a preprocessor for C (cfront)... 18:59
backlash_jack some might say that C++ is what's broken
vendethiel because C++ just reinvents stuff on top of C stuff, lots of duplication, etc
(and yeah, C++ is not a superset of C because C++ keywords bla bla bla)
(also the () vs (void))
dalek kudo/nom: d7ae021 | (David Warring)++ | src/core/Temporal.pm:
Replace bitshift `+>` with `div` operator

Reads better (imho). Works around RT#121909 which is currently resulting in significant failures in S03-temporal on parrot.
19:40
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...?id=121909
dalek kudo/nom: c179bc3 | (Tobias Leich)++ | src/core/Temporal.pm:
Merge pull request #270 from dwarring/patch-1

Replace bitshift `+>` with `div` operator in ymd-from-daycount
colomon there's a parrot bug with +> ? 20:08
lizmat hmmm... seeing segfault in S05-transliteration/with-closure.t after pull 20:14
dwarring++ for fixing Temporal, but do we have a test for +> that fails ? 20:16
S05-transliteration/trans also segfaults on maor 20:17
integration/advent2009-day09.t also segfaults :-( 20:18
timotimo now i'm at my laptop and can start working on the weekly post
yoleaux 12:43Z <FROGGS> timotimo: there is at least one thing for the p6weekly: the v5 module does not require a patched rakudo anymore, and can be installed using its configure script + make...
lizmat as does integration/real-strings.t :-(((
yoleaux 12:44Z <FROGGS> timotimo: and I am working hard on making it a pandable module
FROGGS lizmat: looks like speshbugs to me 20:19
lizmat will see if MVM_SPESH_DISABLE=1 makes a difference 20:20
FROGGS: indeed, they all seem to be SPESH related as with MVM_SPESH_DISABLE=1 they do *not* segfault 20:28
jnthn: ^^^
dwarring lizmat: There's a fudged test in S03-operators/numeric-shift.t 20:29
nwc10 lizmat: irclog.perlgeek.de/moarvm/2014-05-18#i_8739369
which was why iwas asking if he'd left the building
lizmat ah, I see 20:31
well, we were on the road most of today: Poznan -> Berlin -> Dresden -> Prague
and afaik he's now working on his slides for a presentation on Wed 20:32
nwc10 is that the fastest route?
lizmat yes, the fastest
about 100km more than the direct route
but instead of doing 120km/hour average, you would be lucky to make 80km/hour average 20:33
moritz m: role A { }; say A[]
camelia rakudo-moar 277212: OUTPUT«(A)␤»
moritz m: role A { }; say A[].^name
camelia rakudo-moar 277212: OUTPUT«A␤»
moritz m: role A { }; say A[].HOW
camelia rakudo-moar 277212: OUTPUT«Perl6::Metamodel::CurriedRoleHOW.new()␤»
timotimo sergot_: do you have an idea how long it'll take for the talk recordings to appear on youtube from the #plpw? 20:36
dalek kudo/nom: 328c225 | (Elizabeth Mattijsen)++ | / (2 files):
Add .fmt to (Set|Bag|Mix)(|Hash)
20:45
masak \o/ 20:45
lizmat++
lizmat it'll be more work to add the tests :-)
masak :) 20:50
backlash_jack ok you guys, if you want to get hardware, don't make it impossible to contact you
moritz backlash_jack: have you tried email? 20:51
backlash_jack i'd love to
moritz email in private message 20:52
erm, except that I messed it up :-)
backlash_jack yeah, i did that
moritz :( 20:52
backlash_jack still no response
anyway, good luck ya'll 20:53
FROGGS what is that about?
masak I think it was about... hardware. 20:54
FROGGS I did not even know that we want hardware :o) 20:55
masak 'night, #perl6 20:59
FROGGS gnight masak 21:00
lizmat I think this was about him offering hardware for nwc10 to use for testing ? 21:01
FROGGS ahh, that would at least explain it 21:02
dalek kudo/nom: 09ed71a | (Elizabeth Mattijsen)++ | src/core/Compiler.pm:
Fixes to Compiler class, found while making tests
21:10
ast: 2316a2f | (Elizabeth Mattijsen)++ | S02-types/deprecations.t:
Added more $*VM, $*PERL related deprecation tests
21:11
dalek p: f0ea1c3 | (Tobias Leich)++ | tools/build/MOAR_REVISION:
bump moar rev for to unbreak test that fail under spesh
21:23
kudo/nom: c382c7c | (Tobias Leich)++ | tools/build/NQP_REVISION:
bump nqp/moar rev for to unbreak test that fail under spesh
21:24
FROGGS t/spec/S02-types/deprecations.rakudo.moar ..................... Dubious, test returned 1 (wstat 256, 0x100) 21:31
Failed 6/39 subtests
FROGGS timotimo: btw, loop labels work on all backends for nqp and rakudo, and are now being reviewed 21:32
timotimo: and we have our first dist on CPAN (NativeCall), and we are going to glue panda to CPAN soonish 21:33
jnthn FROGGS: I'll review your labels patch tomorrow, during conf :) 21:36
FROGGS that'd be nice :o)
donaldh PR for my PR: github.com/rakudo/rakudo/pull/269 - Start removing backend specifics in IO.pm 21:43
timotimo FROGGS: thank you for the info :) 22:17
is there something i can link to for the nativecall on cpan thing
lizmat www.cpan.org/modules/by-authors/id/...HAN/Perl6/ ? 22:25
timotimo: ^^^ 22:26
sleep& 22:27
timotimo there's a release planned for 2 days from now and nobody has volunteered yet 22:57
github.com/rakudo/rakudo/commits/n...etting.pod - this document is now ~4 years out of date 22:59
not saying it needs to be fixed asap, just pointing it out
timotimo p6weekly.wordpress.com/2014/05/19/...her-stuff/ - posted. gnite! 23:16
tadzik \o/ 23:17
timotimo++ # nice job 23:21