»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend!
Set by sorear on 4 February 2011.
soh_cah_toa_ perl6: caller 01:28
p6eval rakudo 9928ec: OUTPUT«Could not find sub &caller␤ in block <anon> at /tmp/2_4Pub7LWL:1␤ in <anon> at /tmp/2_4Pub7LWL:1␤»
..pugs, niecza v10-40-ga57ed3d: ( no output )
soh_cah_toa_ perl6: say caller
p6eval niecza v10-40-ga57ed3d: OUTPUT«CallFrame.new(...)␤»
..rakudo 9928ec: OUTPUT«Could not find sub &caller␤ in block <anon> at /tmp/QUpLX1y6Jc:1␤ in <anon> at /tmp/QUpLX1y6Jc:1␤»
..pugs: OUTPUT«␤»
soh_cah_toa_ perl6: say caller.package 01:29
p6eval pugs: OUTPUT«*** No such method in class Scalar: "&package"␤ at /tmp/cK3nizSsNa line 1, column 5 - line 2, column 1␤»
..rakudo 9928ec: OUTPUT«Could not find sub &caller␤ in block <anon> at /tmp/kMCAKqiJdn:1␤ in <anon> at /tmp/kMCAKqiJdn:1␤»
..niecza v10-40-ga57ed3d: OUTPUT«␤Unhandled Exception: Unable to resolve method package in class CallFrame␤ at /tmp/uf7F_5wqqf line 1 (MAIN mainline @ 2) ␤ at /home/p6eval/niecza/lib/CORE.setting line 2133 (CORE C1024_ANON @ 2) ␤ at /home/p6eval/niecza/lib/CORE.setting line 2134 (CORE …
soh_cah_toa_ perl6: say caller().package
p6eval pugs: OUTPUT«*** No such method in class Scalar: "&package"␤ at /tmp/LCnYauYaut line 1, column 5 - line 2, column 1␤»
..rakudo 9928ec: OUTPUT«Could not find sub &caller␤ in block <anon> at /tmp/oX5tpMpIHL:1␤ in <anon> at /tmp/oX5tpMpIHL:1␤»
..niecza v10-40-ga57ed3d: OUTPUT«␤Unhandled Exception: Unable to resolve method package in class CallFrame␤ at /tmp/g113biodC6 line 1 (MAIN mainline @ 2) ␤ at /home/p6eval/niecza/lib/CORE.setting line 2133 (CORE C1024_ANON @ 2) ␤ at /home/p6eval/niecza/lib/CORE.setting line 2134 (CORE …
soh_cah_toa_ :(
TimToady perl6: sub foo { say callframe(1).^methods }; foo 01:32
p6eval niecza v10-40-ga57ed3d: OUTPUT«␤Unhandled Exception: Excess arguments to CORE callframe, used 0 of 1 positionals␤ at /home/p6eval/niecza/lib/CORE.setting line 0 (CORE callframe @ 0) ␤ at /tmp/Tx9kIBttfX line 1 (MAIN foo @ 3) ␤ at /tmp/Tx9kIBttfX line 1 (MAIN mainline @ 1) ␤ at /home…
..pugs: OUTPUT«*** No such subroutine: "&callframe"␤ at /tmp/eoMojlcufM line 1, column 15-37␤»
..rakudo 9928ec: OUTPUT«new line file callframe level annotations my eager elems end classify infinite flat hash list pick roll reverse sort values keys kv pairs Array grep first join map min max minmax postcircumfix:<[ ]> at_pos all any one none postcircumfix:<{ }> reduce ACCEPTS WHERE W…
diakopter perl6: class A { method WHAT { say 5 } }; say A.new.WHAT 02:59
p6eval rakudo 9928ec, niecza v10-40-ga57ed3d: OUTPUT«A()␤»
..pugs: OUTPUT«5␤1␤»
JimmyZ nom: say callframe.^methods 03:11
p6eval nom 9928ec: OUTPUT«new line file callframe level annotations my eager elems end classify infinite flat hash list pick roll reverse sort values keys kv pairs Array grep first join map min max minmax postcircumfix:<[ ]> at_pos all any one none postcircumfix:<{ }> reduce ACCEPTS WHERE WHIC…
benabik nom: $_ = 'us1'; $_++; .say
p6eval nom 9928ec: OUTPUT«us2␤»
benabik nom: $_ = 1; .++; .say # does this work? 03:12
p6eval nom 9928ec: OUTPUT«===SORRY!===␤Method 'unshift' not found for invocant of class 'Undef'␤»
benabik Nope!
sorear niecza: $_ = 1; .++; .say; 03:16
p6eval niecza v10-40-ga57ed3d: OUTPUT«2␤»
benabik niecza++
JimmyZ it's a niecza bug, methinks 03:17
benabik JimmyZ: .++ is supposed to work, IIRC 03:24
TimToady as long as $_ is rw, yes
JimmyZ and so .>>.++ ? 03:25
TimToady niecza: $_ = [1,2,3]; .».++; .say 03:26
p6eval niecza v10-40-ga57ed3d: OUTPUT«===SORRY!===␤␤Bogus statement at /tmp/nH5CpHfzGq line 1:␤------> $_ = [1,2,3]; ⏏.».++; .say␤␤Parse failed␤␤»
TimToady niecza: $_ = [1,2,3]; .»++; .say 03:27
p6eval niecza v10-40-ga57ed3d: OUTPUT«===SORRY!===␤␤Bogus statement at /tmp/lNprqxNIrr line 1:␤------> $_ = [1,2,3]; ⏏.»++; .say␤␤Parse failed␤␤»
TimToady niecza: $_ = [1,2,3]; $_»++; .say
p6eval niecza v10-40-ga57ed3d: OUTPUT«2 3 4␤»
TimToady niecza: $_ = [1,2,3]; $_.»++; .say 03:27
p6eval niecza v10-40-ga57ed3d: OUTPUT«2 3 4␤»
TimToady interesting
std: $_ = [1,2,3]; .»++; .say 03:28
p6eval std 20ae3bd: OUTPUT«===SORRY!===␤Bogus statement at /tmp/7d6UtTom71 line 1:␤------> $_ = [1,2,3]; ⏏.»++; .say␤Parse failed␤FAILED 00:01 123m␤»
TimToady hmm, looks like it's my fault
diakopter TimToady: while you're here, why can't 'say' be the name of a label? 03:29
std: say: say 4; goto say 03:30
p6eval std 20ae3bd: OUTPUT«===SORRY!===␤Unsupported use of bare 'say'; in Perl 6 please use .say if you meant $_, or use an explicit invocant or argument at /tmp/NAFqK3S6MN line 1:␤------> say: say⏏ 4; goto say␤Two terms in a row at /tmp/NAFqK3S6MN line 1:␤…
diakopter sorry if you've already answered that
TimToady the p5ism checker assumes you're smart enough not to do that :)
diakopter ah 03:31
sorear diakopter: even without the p5ism check, that would result in "Cannot invoke a Label" or something to that effect because you've hidden CORE::say 03:35
diakopter oooooh 03:36
TimToady I think I have a fix for the goto say part 03:37
sorear I'm going to fix it by removing the big list from STD.pm6 and making it rely on a trait instead 03:38
so it doesn't leak onto say overrides
dalek d: 580b69a | larry++ | STD.pm6:
don't complain about p5isms shadowed by terms
03:40
ecza/serialize: d832c02 | sorear++ | lib/Serialize.cs:
Second draft of serialization code
03:48
TimToady std: say: goto say; 04:25
p6eval std 20ae3bd: OUTPUT«===SORRY!===␤Unsupported use of bare 'say'; in Perl 6 please use .say if you meant $_, or use an explicit invocant or argument at /tmp/8gN05StDF6 line 1:␤------> say: goto say⏏;␤Check failed␤FAILED 00:01 119m␤»
sorear std updates every 2 hours 04:26
evalbot rebuild std
p6eval OK (started asynchronously)
TimToady btw, niecza worked very well for my quiz editor today; only blew up once when I typed a letter where it was expected a number 04:28
that was using my faked up bash-c command, and a monkey-patched .fmt 04:29
std: say: goto say; 04:30
p6eval std 580b69a: OUTPUT«ok 00:01 119m␤»
TimToady std: subset say of Str; say; 04:30
p6eval std 580b69a: OUTPUT«ok 00:01 118m␤» 04:31
sorear TimToady: awesome 04:35
dalek ecza/serialize: b25256f | sorear++ | / (2 files):
Add Serialize.cs to build, fix build errors
04:36
sorear o/ mberends 05:53
mberends o/ sorear. I'm thinking of reading the result of your commits in the Niecza/serialize branch 05:54
sorear mberends: I'd like to talk about 6model/C. What are your goals for te project? 05:58
mberends sorear: ok. 6model/C is purely experimental, so firstly that producing a complete Perl 6 implementation is not a main goal. I would rather see it applying Occam's razor to 6model and seeing what minimalism can deliver. 06:03
sorear a minimalistic C[89]9 NQP? 06:04
mberends yes, that sums it up nicely 06:05
mberends from a bootstrapping perspective, the aim is to have minimal toolchain dependencies, and so far only GCC or MSC are required. I'm willing to work hard to keep it that way. 06:06
It will differ from NQP by not being designed primarily to bootstrap a bigger Perl 6 on top of itself. Instead it will be designed to be a compact Perl 6 subset. If features not essential to Perl 6 bootstrapping can be efficiently added, they will be. For example, NCI/FFI. 06:15
^^ all this subject to it ever working at all :P 06:16
dalek ecza/serialize: 1993029 | sorear++ | lib/ (6 files):
Start implementing serialization for our objects
06:38
sorear sleep 06:39
moritz good morning 06:55
moritz niecza: say so try { die "foo" } 07:11
p6eval niecza v10-40-ga57ed3d: OUTPUT«Bool::False␤»
moritz niecza: say WHAT try { die "foo" } 07:12
p6eval niecza v10-40-ga57ed3d: OUTPUT«Any()␤»
moritz rakudo: say (try { die "foo" }).WHAT 07:28
p6eval rakudo 9928ec: OUTPUT«Exception()␤» 07:29
moritz rakudo: say (try { die "foo" }).so
p6eval rakudo 9928ec: OUTPUT«Bool::True␤»
moritz rakudo: say (try { die "foo" }).defined
p6eval rakudo 9928ec: OUTPUT«Bool::True␤»
ella_ rainning inthe philippines.. dared to chat... 08:03
moritz I'm going to update roast and rakudo to the proper eval() semantics of not catching exctpions 08:40
moritz that's a huge fallout 08:40
moritz and I hope that niecza profits from the roast change, because it's been doing it right for quite some time now :-) 08:41
so far I'm on 42 changed files in roast 08:45
im2ee Hello! :) 08:56
moritz hell im2ee
*hello
sorry :-) 08:57
moritz is stupid 09:02
I've been writing nok try { eval 'string' } all the time
and i haven't realized I can simply use dies_ok { eval 'string' }
mberends moritz: if the number of files was 42, you must have been doing something right ;) 09:04
moritz mberends: now I'm at 51 :( 09:06
mberends ++moritz
moritz how clean is niecza's 'make spectest' usually? 09:13
dalek kudo/nom: 005e43f | moritz++ | / (4 files):
Merge branch 'eval-throws' into nom
09:28
kudo/nom: aa8f193 | moritz++ | t/spectest.data:
stop running S06-operator-overloading/imported-subs.t, its tests all skipped or bogusly passing
ast: 001e798 | moritz++ | / (54 files):
&eval does not catch exceptions.

This has far reaching consequences for roast, and this patch only catches a subset of them. It also removes a few evals that were only there for error catching, and are now useless. Some fudging has also changed.
09:30
ast: 888689e | moritz++ | S06-signature/passing-arrays.t:
small niecza fudging
moritz e 09:31
jkeats eek, hello 09:53
sorry for bothering #perl with perl6 questions 09:54
moritz hell jkeats -- no problem for us :-) 10:04
jkeats so i'm building icu to have a look at rakudo, i think. 10:06
jkeats so what are the things i keep reading about in various perl5 packages about wanting to look like or be compatible with perl6? 10:09
things like moose and perl5i
is there an effort underway to make features from perl6 available or familiar to perl5 users? 10:10
i ask mainly because i am largely unfamiliar and interested.
moritz jkeats: well, Moose started off as an effort to bring the Perl 6 runtime to perl 5 10:25
but it's not quite compatible
ie the efforts diverged a bit
jkeats it seems that way
that, ah, the antlers kind of got in the way :)
it's an interesting way of writing perl 10:26
moritz (will have more time for answering in ~20min) 10:26
Moukeddar Hi guys
jkeats i guess i need to start looking at some perl6 code to have a better idea of what i'm missing.
TiMBuS jkeats, people here are fond of rosettacode examples of perl 6.. 10:32
rosettacode.org/wiki/Category:Perl_6 10:33
the perl5 examples are always just above the 6
jkeats (building rakudo star presently)
ooh, lazy evaluation 10:34
does that mean perl6 gets some haskell?
TiMBuS it gets quite a bit 10:35
jkeats huh, that's neat
well i mean aside from pugs 10:36
jkeats i am not seeing any network examples 10:38
TiMBuS you could always make some :D
TiMBuS but uh, some dude made an irc bot framework: github.com/TiMBuS/Net--IRC 10:40
jkeats huh, i need to look deeper
heh
wait, is that based on the iiiiiinfamous net::irc? 10:41
Moukeddar some dude ? lol
jkeats aw man, my build failed 10:42
Reason: Incompatible library version: libreadline.6.2.dylib requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
thats awful irritating
jkeats oh good grief and the sun is coming up. 10:43
i am going to get some sleep.
TiMBuS: thank you, i will have a look at that.
TiMBuS jkeats, no problem
TiMBuS and if its any consolation, its based on Net::IRC::Pluggable, except less broken 10:44
jkeats heh
jkeats is a hardcore adherent to poe::component::irc
TiMBuS its a good example of how stupidly good perl6 is for event based programming
due to its object dispatch
jkeats but, ginght/gmorning/etc and thanks again
oooh
TiMBuS righto 10:45
jkeats <3 event-based
dalek ast: df16235 | moritz++ | S (6 files):
random rakudo unfudges
10:48
moritz wonders if SVG::Plot was as glacial on b as it feels on nom 13:12
nearly half a minute for executing the example from the synopsis (plotting two curves of 101 points each) 13:13
sorear moritz: there are always warnings, but I like to have it PASS most of the time. It probably doesn't atm because my attention hasn't been focused on master, though. 14:56
good * #perl6
moritz sorear: it was PASS after a tiny fudge from me (I think I had modified that test before= 14:59
s/=/)/
nom: eval '1 1'
p6eval nom aa8f19: OUTPUT«===SORRY!===␤Confused at line 1, near "1 1"␤»
dalek kudo/nom: f6eb61d | Coke++ | t/spectest.data:
run fudged test.
15:22
moritz ah, that test probably passes since Match became Cool 15:23
dalek ast: 8428300 | Coke++ | S03-metaops/cross.t:
Remove incorrect RT reference ...

  ... but I don't know the right reference, sorry.
moritz doesn't know either atm 15:24
[Coke] moritz: niecza's make spectest should be clean, unless someone *cough* changed the spec tests. 15:38
... and now I'm caught up, mostly. Hi! 15:39
moritz [Coke]: that would be me, sorry :/ 15:40
[Coke]: but I believe I fixed all of that today 15:41
[Coke] moritz: ;) 15:42
it should be pretty easy going forward, now that it's mostly clean, I hope.
thanks.
[Coke] nom: say [+]278,448,7,-63 15:47
p6eval nom aa8f19: OUTPUT«670␤»
[Coke] jnthn++ 15:48
(trimming tickets off the /new/ end!)
who runs try.rakudo.org?
flussence I think I currently get the blame for that :) 15:49
[Coke] flussence: do you have a bugqueue?
flussence the github project page has one, maybe I should put a link to it...
[Coke] github url? 15:50
flussence github.com/moritz/try.rakudo.org/issues
benabik flussence: Unless you added it very quickly, it's already there. 15:52
flussence probably already there :)
(I know there's a mention of #perl6 on the page...) 15:53
hm, I have an idea to fix that...
[Coke] rakudo: say 1 ^^ 1 15:55
p6eval rakudo aa8f19: OUTPUT«Nil␤»
[Coke] rakudo: say (1 ^^ 1).WHAT
p6eval rakudo aa8f19: OUTPUT«Nil␤»
benabik rakudo: 0 ^^ ! 15:56
rakudo: 0 ^^ 1
p6eval rakudo aa8f19: OUTPUT«===SORRY!===␤Confused at line 1, near "0 ^^ !"␤»
rakudo aa8f19: ( no output )
benabik rakudo: say 0 ^^ 1
p6eval rakudo aa8f19: OUTPUT«1␤»
benabik Nil is a little odd. I would have expected Bool::False, but Nil is false, IIRC 15:57
[Coke] the ticket says False. It's an update from Failure, though. 15:58
rakudo: my %h=('a'=>1,'b'=>2); my $h_ref=\%h; say $h_ref.{'a'}
p6eval rakudo f6eb61: OUTPUT«exists_keyed_str() not implemented in class 'Mu'␤ in method at_key at src/gen/CORE.setting:3249␤ in method postcircumfix:<{ }> at src/gen/CORE.setting:1011␤ in block <anon> at /tmp/J7FOLR_f3K:1␤ in <anon> at /tmp/J7FOLR_f3K:1␤» 15:59
[Coke] rakudo: say (\my %h)<a>
p6eval rakudo f6eb61: OUTPUT«exists_keyed_str() not implemented in class 'Mu'␤ in method at_key at src/gen/CORE.setting:3249␤ in method postcircumfix:<{ }> at src/gen/CORE.setting:1011␤ in block <anon> at /tmp/5rDn0XQCzx:1␤ in <anon> at /tmp/5rDn0XQCzx:1␤»
flussence uh oh 16:07
moritz: ping - feather3's ran out of inodes
[Coke] rakudo: role A { my $!foo; }; role B { my $!foo; }; class C does A does B; say 'alive'; 16:08
p6eval rakudo f6eb61: OUTPUT«===SORRY!===␤Too late for semicolon form of $*PKGDECL definition at line 1, near "say 'alive"␤»
[Coke] rakudo: role A { my $!foo; }; role B { my $!foo; }; class C does A does B
p6eval rakudo f6eb61: OUTPUT«===SORRY!===␤Unable to parse $*PKGDECL definition at line 1, near ""␤»
[Coke] phenny: ask masak to look at RT#77184 16:10
phenny [Coke]: I'll pass that on when masak is around.
[Coke] rakudo: my @a //= (3); @a.perl.say; 16:11
p6eval rakudo f6eb61: OUTPUT«maximum recursion depth exceeded␤Method 'dispatch:<.?>' not found for invocant of class 'Integer'␤current instr.: 'is-hidden' pc 817656 (src/gen/CORE.setting.pir:224638) (src/gen/CORE.setting:5921)␤»
[Coke] rakudo: my @a ||= (3); @a.perl.say; 16:12
p6eval rakudo f6eb61: OUTPUT«Array.new(3)␤»
[Coke] rakudo: { use v5; } 16:13
p6eval rakudo f6eb61: ( no output )
[Coke] rakudo: say (0 := 1) 16:18
p6eval rakudo f6eb61: OUTPUT«===SORRY!===␤Cannot use bind operator with this LHS at line 1, near " 1)"␤»
[Coke] rakudo: {}[-1]
p6eval rakudo f6eb61: ( no output )
moritz flussence: fixing...
[Coke] rakudo: {}[-1].say
p6eval rakudo f6eb61: OUTPUT«Cannot use negative index -1 on Hash␤ in method postcircumfix:<[ ]> at src/gen/CORE.setting:975␤ in block <anon> at /tmp/vzYkcpC7CX:1␤ in <anon> at /tmp/vzYkcpC7CX:1␤» 16:19
flussence I'm cleaning up bits of my user dir to get some back too
[Coke] rakudo: {}[-1].WHAT.say
p6eval rakudo f6eb61: OUTPUT«Failure()␤»
moritz flussence: not necessary
flussence oh, I see :)
[Coke] ooh. Failure. I gets it.
moritz flussence: lots of files in ~tene/.ccache/
which I'm deleting now
(same story happend on feather2 iirc) 16:20
deleting that takes some time...
[Coke] rakudo: my $x = 'aaa'; print ++$x, ' : '; print -$x, ' : '; say ++$x; 16:22
p6eval rakudo f6eb61: OUTPUT«aab : 0 : aac␤»
[Coke] nom: say [+]273,451,7,-67 16:24
p6eval nom f6eb61: OUTPUT«664␤» 16:24
[Coke] moritz: are you the "writes the needed tests" guy? 16:25
moritz [Coke]: when I have the tuits and motivation, yes 16:26
flussence: 365837 inodes free on feather3 :-)
flussence [Coke]: reload the page on try.rakudo.org, tell me what you think :)
moritz++
[Coke] I smell blog post, enticing people to write perl6 today.
flussence: is this in relation to the bug? I didn't even look at it, I just copied it over like a robot. 16:27
flussence well, I'm gonna go ahead and claim it's fixed 16:28
[Coke] flussence: ah, I see. Yah, works for me in chrome. 16:28
flussence: thanks for helping lower the bug count! 16:29
flussence
.oO( I thought "Chrome 5" looked a bit odd there :)
[Coke] flussence++ #thanks for helping lower the bug count!
flussence some days I make it higher :)
moritz then you get a ++ too, for submitting the bugs in the first place 16:33
dalek ast: dd094a9 | moritz++ | integration/weird-errors.t:
test for RT #76996, and correct and unfudge some tests
17:10
dalek ecza/serialize: eddfcbb | sorear++ | lib/ (4 files):
Remove old freeze/thaw system
17:44
ecza/serialize: ab1ca5d | sorear++ | lib/Kernel.cs:
Remove superceded hints mechanism
ecza/serialize: c6ea422 | sorear++ | lib/ (3 files):
Move sub flags to the correct place
GlitchMr rakudo: :: 18:28
p6eval rakudo f6eb61: OUTPUT«===SORRY!===␤Cannot look up empty name␤»
GlitchMr At least it makes more sense than PHP error... 18:29
sorear nom: class A { if 1 { my $x = 5; method foo() { $x } } }; say A.foo 18:41
p6eval nom f6eb61: OUTPUT«5␤»
Tene moritz: I have no idea why that happens; I haven't used feather in years, and I've never done anything with ccache 19:02
moritz Tene: never mind, it's history 19:04
Tene moritz: just letting you know that I definitely don't care. :)
im2ee Good night! o/ 21:23
szabgab As I was preparing the Perl Weekly I looked at planetsix.perl-foundation.org/ There were no news for 2 weeks now :( 22:09
sorear o/ szabgab 22:35