»ö« 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.
00:00 telex joined 00:01 telex left 00:02 telex joined, woolfy joined
japhb__ timotimo, Not that I mind more rendering support, but what's the problem with jqplot that you're trying to solve? 00:03
00:04 telex left 00:10 telex joined
Mouq Hey, so if MVM_file_readline_fh has a while (uv_fs_read(…) > 0) { bytes_read++ }, and I end up with bytes_read == 0, isn't that sort of an issue? 00:15
I've been AFK for a while
jnthn Mouq: Uh, yes, that'd mean it'd hang... 00:16
Mouq And then I'm guessing lseek is failing because it's trying to seek when seeking doesn't make sense 00:18
Uhm, yeah 00:24
before that loop there's an errno of 2, after there's an errno of 9
geekosaur hm, 9 is EBADF 00:27
Mouq Oh, it is? 00:28
geekosaur most unixlikes, at least 00:29
Mouq Welp.
geekosaur (and 2 is ENOENT. did something fail to open a file and fail to notice?)
00:36 ajr_ left
Mouq nqp: say(nqp::eof_fh(nqp::getstdin())) 00:37
camelia nqp-jvm: OUTPUT«Method 'type' not found for invocant of class 'NQPMu'␤ in coerce (gen/jvm/stage2/QAST.nqp:4205)␤ in as_jast (gen/jvm/stage2/QAST.nqp:2988)␤ in (gen/jvm/stage2/QAST.nqp:3785)␤ in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:3773)␤ in as_jast (gen/jvm…»
..nqp-parrot: OUTPUT«Error while compiling op eof_fh (source text: "nqp::eof_fh(nqp::getstdin())"): No registered operation handler for 'eof_fh'␤current instr.: '' pc 57020 (gen/parrot/stage2/QAST.pir:21039) (gen/parrot/stage2/QAST.nqp:3629)␤»
..nqp-moarvm: OUTPUT«Error while compiling op eof_fh (source text: "nqp::eof_fh(nqp::getstdin())"): No registered operation handler for 'eof_fh'␤ at gen/moar/stage2/QAST.nqp:4340 (/home/p6eval/rakudo-inst-2/languages/nqp/lib/QAST.moarvm::17)␤ from gen/moar/stage2/QAST.nqp:4339 …»
Mouq nqp: say(nqp::eoffh(nqp::getstdin()))
camelia nqp-moarvm: OUTPUT«(signal SEGV)»
..nqp-jvm, nqp-parrot: OUTPUT«0␤»
Mouq ^^ That's the problem, me thinks 00:38
Well. IDK
But it's certainly not well-boding
00:38 benabik left
[Coke] r: class A { has $.a = 0 }; for ^2 { my $a = .a given A.new; say $a; } # RT 121049 00:40
camelia rakudo-parrot 07c483, rakudo-jvm 07c483, rakudo-moar 07c483: OUTPUT«0␤0␤»
[Coke] raydiak: ^^
nevermind, jnthn++ is too fast. :) 00:41
00:43 benabik joined
[Coke] raydiak: I hear you might have a test: please note it on the ticket when added (or ping me here if not) 00:43
Mouq [Coke]: github.com/perl6/roast/commit/ce54...3f1fdab129 00:44
00:45 Util left
[Coke] Mouq++ raydiak++ 00:45
if you want bug closing powers, ping me. 00:46
00:47 silug joined 00:48 Util joined
Mouq nqp-m -e'nqp::getstdin()' 00:49
getstdin error? No such file or directory
That could be a problem 00:50
[Coke] I think we should close #113666 - testing for memory leaks seems outside the sscope of
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...?id=113666
Mouq Also: [Coke]: Yes please! :D
00:52 jnap left
[Coke] mouq: what's your rt.perl.org id? 00:53
Mouq Mouq
raydiak [Coke]++ thanks for following up :)
[Coke] done. 00:54
mouq: when replying to tickets, make sure p6c is cc'd. (there's a toggle link)
Mouq Woo! [Coke]++
Ok, will do
dalek kudo/nom: fdd210b | benabik++ | Configure.pl:
Be more specific about linking to libmoar on OS X

ld doesn't seem to pay attention to rpath when looking for -lmoar, which made the build fail when installing to an install/ directory instead of something like /usr/local.
Reported by lee__++
00:55
kudo/nom: 25462c7 | jonathan++ | Configure.pl:
Merge pull request #244 from Benabik/nom

Be more specific about linking to libmoar on OS X
Mouq [Coke]: Would you mind checking if I'm in CLA list? I sent an email containing a scanned, signed copy some time ago 00:56
[Coke] Mouq++: I see no "Mouq" in either spreadsheet that is shared with me. 00:57
sorry. :( 00:58
Mouq And Moquin?
geekosaur reads commit message, confirms it; RPATH is not a thing on OS X
it uses a path compiled into the dylib, overrideable by DYLD_LIBRARY_PATH (but this is very dangerous)
Mouq Karen said she passed the email along for me 00:59
[Coke] Mouq: what's your first name?
Mouq Alexander
geekosaur see also install_name_tool
benabik geekosaur: OS X ld at least reports rpath as something that exists. And I think it ended up being needed to make something else world.
*work
[Coke] boom. he's clear, someone give him a commit bit.
him == Mouq
01:00 lizmat joined
Mouq \o/ [Coke]++ # my hero 01:00
geekosaur well, I think it does something, that something just isn't very closely related to what you get on linux
01:00 lizmat left
[Coke] m: sub foo($x? is rw) {}; foo(); say "alive" #RT #79288 01:03
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...l?id=79288
camelia rakudo-moar 07c483: OUTPUT«===SORRY!=== Error while compiling /tmp/Fl0TyVxfL5␤Cannot use 'is rw' on an optional parameter␤at /tmp/Fl0TyVxfL5:1␤------> ␤»
01:04 jnap joined
Mouq Can someone on windows tell me what the debugging output of `nqp-m -e1` is with gist.github.com/Mouq/8551748 01:08
Please
01:14 FOAD left
[Coke] r: class A { ... }; class B is A { }; class A { }; say B.new # RT#81060 01:17
synopsebot Link: rt.perl.org/rt3//Public/Bug/Displa...l?id=81060
camelia rakudo-moar 07c483: OUTPUT«Cannot invoke null object␤ in block at /tmp/tmpfile:1␤␤»
..rakudo-parrot 07c483, rakudo-jvm 07c483: OUTPUT«No such method 'new' for invocant of type 'B'␤ in block at /tmp/tmpfile:1␤␤» 01:18
01:20 FOAD joined
jnthn Mouq: Trying 01:23
C:\consulting\rakudo\nqp>nqp-m -e1 01:25
getstdin error before? No error
getstdin error after? No error
Mouq I get "…? No such file or directory" for both, I'm having trouble hunting down where this error comes from though. It's doesn't occur in or after MVM_file_get_stdstream...
jnthn: Hmm
jnthn: Thank you very much 01:26
jnthn Mouq: np, thanks for looking into this :)
01:27 benabik left
Mouq jnthn: np, it's a good challenge :) i need to understand C better anyway 01:28
TimToady as another datapoint, when I do shell "stty raw -echo min 1 time 1";
01:28 census left
TimToady I get: stty: standard input: Inappropriate ioctl for device 01:28
which seems to indicate that STDIN is getting closed or redirected at some point before the shell is running 01:29
diakopter I don't know if libuv is configured to share stdin 01:30
for children
[Coke] rakudo: say :(Int).perl
camelia rakudo-parrot 07c483, rakudo-jvm 07c483, rakudo-moar 07c483: OUTPUT«:(Int )␤»
TimToady well, that code works under parrot or jvm
diakopter is tempted to try out all the [WEIRD] bug reports in RT against moar 01:31
[Coke] rakudo: say :(Array of Int).perl
camelia rakudo-parrot 07c483, rakudo-jvm 07c483, rakudo-moar 07c483: OUTPUT«:(Array[Int] )␤»
TimToady and under niecza
diakopter but [Coke] may beat me to it
TimToady so if libuv is the problem, it's the odd-man out...
diakopter but it could be a setting in the library call I mean 01:32
Mouq "stty: stdin isn't a terminal"
TimToady wonders whether the "device" in question is /dev/null
but yeah, could be something close-on-exec-ish 01:33
[Coke] anyone know where tests for command line options are? 01:35
diakopter r: say .WHICH
camelia rakudo-parrot 25462c, rakudo-jvm 25462c, rakudo-moar 25462c: OUTPUT«Nil␤»
diakopter r: say .WHICH.WHICH
camelia rakudo-parrot 25462c, rakudo-jvm 25462c, rakudo-moar 25462c: OUTPUT«ObjAt|Nil␤»
[Coke] bah, found it.
diakopter r: say .WHICH.WHICH.WHICH
camelia rakudo-parrot 25462c, rakudo-jvm 25462c, rakudo-moar 25462c: OUTPUT«ObjAt|ObjAt|Nil␤»
diakopter O_O
[Coke] r: say .WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH.WHICH 01:37
camelia rakudo-parrot 25462c, rakudo-jvm 25462c, rakudo-moar 25462c: OUTPUT«ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt|ObjAt…»
TimToady adding a </dev/tty in the shell command successfully works aroung the bug, but then getc only seems to read every other character I type 01:40
diakopter o_O 01:47
TimToady using .read works instead, so I have a working quiz editor under moar, using those workarounds
diakopter so type each character twice..
TimToady but I'd still consder them bugs
dalek kudo/nom: 2e05b3c | coke++ | t/spectest.data:
run these tests (100% or pre-fudged)
01:49
[Coke] ^ free tests. 01:50
TimToady (will still use the niecza version until moar achieves performance parity though...)
jnthn [Coke]++
[Coke] r: tc('what the').say 01:51
camelia rakudo-parrot 25462c, rakudo-jvm 25462c, rakudo-moar 25462c: OUTPUT«What the␤»
[Coke] is tc deprecated? (trying to figure out why we're not running that one.)
diakopter r: tc('what the what').say
camelia rakudo-parrot 25462c, rakudo-jvm 25462c, rakudo-moar 25462c: OUTPUT«What the what␤»
[Coke] guesses it is not deprecated and re-enables the test. 01:52
TimToady looks like it works right
tc only titlecases the first char
since titlecase makes no sense on embedded letters generally 01:53
jnthn Time for sleep...'night o/
Mouq r: 'what the what'.words>>.tc.join(' ').say
TimToady r: tc('WHAT THE').say
camelia rakudo-parrot 25462c, rakudo-jvm 25462c, rakudo-moar 25462c: OUTPUT«What The What␤»
rakudo-parrot 25462c, rakudo-jvm 25462c, rakudo-moar 25462c: OUTPUT«WHAT THE␤»
Mouq 'night jnthn \o
TimToady r: 'what the what'.wordcase 01:54
camelia ( no output )
TimToady r: 'what the what'.wordcase.say
camelia rakudo-parrot 25462c, rakudo-jvm 25462c, rakudo-moar 25462c: OUTPUT«What The What␤»
dalek kudo/nom: 7f9bba2 | coke++ | t/spectest.data:
run these now-fudged tests
01:56
ast: cbac866 | coke++ | S32-str/tc.t:
refudge for rakudo
[Coke] S05-modifier/perl5_6.t is passing a lot of tests. 01:57
some fudging would get rakudo bout 100 more tests. 01:58
[Coke] heads out.
diakopter [Coke]++ 01:59
02:00 logie joined 02:02 benabik joined 02:03 araujo joined, araujo left 02:11 berekuk left 02:13 berekuk joined 02:17 prevost joined 02:18 berekuk left 02:22 berekuk joined 02:35 berekuk left 02:36 berekuk joined 02:37 cognominal joined
raydiak awesome job, moarvm folks: it already runs Pray almost half as fast as jvm 02:40
timotimo: ^ you asked me to try it out 02:41
02:43 berekuk left 02:44 berekuk joined 02:47 daniel-s_ left
diakopter raydiak: half as fast or twice as fast? 02:53
oh, jvm :) 02:54
IC
02:54 berekuk left, pdcawley left 02:55 pdcawley joined
raydiak diakopter: I'm guessing 2 or more times faster than parrot, if that sounds better :) though I haven't actually tried parrot in months 02:58
03:05 felher joined, berekuk joined
felher o/ folks :) 03:06
03:07 FOAD left 03:10 berekuk left
Mouq r: (class :: {}).foo 03:13
camelia rakudo-parrot 7f9bba, rakudo-jvm 7f9bba: OUTPUT«No such method 'foo' for invocant of type '<anon>'␤ in block at /tmp/tmpfile:1␤␤»
..rakudo-moar 7f9bba: OUTPUT«Cannot find method 'foo'␤ in block at /tmp/tmpfile:1␤␤»
Mouq o/ felher
03:14 berekuk joined 03:19 FOAD joined, berekuk left
TimToady oh dear, "Unexpected named parameter 'r' passed" trying to compile RESTRICTED.setting 03:19
03:21 skids joined 03:23 berekuk joined
diakopter a little too restricted? 03:23
03:23 wooden left 03:27 dayangkun left
TimToady forgot git pull in nom, so maybe just out of sync with latest things down below... 03:29
03:33 berekuk left 03:34 berekuk joined
TimToady that's better 03:35
03:38 xenoterracide left, berekuk left
japhb r: my @primes := 2, 3, 5, -> $p { ($p+2, $p+4 ... &is-prime)[*-1] } ... *; sub is-prime($n) { $n %% none @primes ...^ * > sqrt $n }; .say for @primes[^5]; 03:39
camelia rakudo-jvm 7f9bba: OUTPUT«Cannot do aggregate operation on a type object␤ in method reify at gen/jvm/CORE.setting:7239␤ in method gimme at gen/jvm/CORE.setting:7649␤ in method exists_pos at gen/jvm/CORE.setting:7637␤ in method at_pos at gen/jvm/CORE.setting:7611␤ in m…»
..rakudo-parrot 7f9bba, rakudo-moar 7f9bba: OUTPUT«2␤3␤5␤7␤11␤»
03:39 dayangkun joined
japhb Note r-j's weird fail there ^^ 03:39
raydiak ah! you found one of the things that's been plaguing me for days!
japhb raydiak: Was that to me? 03:40
raydiak japhb: ya. I get it when I crank the threads up past 2 or 3
in Pray, I mean
japhb is trying to remember the one-liner version of the primes sieve.
A Haskell adherent challenged me on that one.
Mouq japhb: "... &is-prime" doesn't make sense 03:41
TimToady sure it does
Mouq Ohhhh!
bluhg
japhb raydiak: Yuck. Wonder what's wrong there. 03:42
Mouq japhb: Sorry, forgot how '...' works
japhb No worries!
I forget, is @primes supposed to be usable withing the @primes definition directly? (Can you recurse within a binding definition, in other words?) 03:43
Yup, works, yay! 03:46
TimToady one would like that to work at least with a constant definition; the problem with := is it rebinds at run-time, so isn't really quite definitional 03:47
03:47 berekuk joined
TimToady is not really going to be happy until we can do rosettacode.org/wiki/Hamming_numbers as a single definition 03:48
diakopter how declarative 03:49
03:51 berekuk left
benabik Most prime sieves aren't a sieve: www.cs.hmc.edu/~oneill/papers/Sieve-JFP.pdf 03:52
TimToady we'll need a lazy list merge operator first, as well as proper self-recursive definition of lists
03:53 berekuk joined
TimToady at least we've got the squish operator now 03:54
Mouq diakopter: Is there any way to do the equivalent of Obj.HOW.name(Obj) in the MoarVM source? 03:56
that you know of?
diakopter yeah but I'm curious why you ask :) 03:57
Mouq I've been scouring the 6model directory hoping for some kind of hint
r: 1.foo
camelia rakudo-moar 7f9bba: OUTPUT«Cannot find method 'foo'␤ in block at /tmp/tmpfile:1␤␤»
..rakudo-parrot 7f9bba, rakudo-jvm 7f9bba: OUTPUT«No such method 'foo' for invocant of type 'Int'␤ in block at /tmp/tmpfile:1␤␤»
diakopter oh
Mouq If you output the correct error message there, Rakudo captures it and outputs a typed error 03:58
diakopter oh yea :)
heh
03:59 jnap left
Mouq It's src/6model/6model:44 if you want to do it 03:59
*6model.c 04:00
04:09 berekuk left
diakopter C:\Users\mwilson\src\rakudo>C:\Perl64\bin\perl.exe Configure.pl "--prefix=..\install" "--backends=moar" "--gen-nqp=master" "--gen-moar=master" "--make-install" 04:10
Already on 'master'
:)
bash.exe: warning: could not find /tmp, please create!
nqp builds unbelievably fast now 04:11
04:18 berekuk joined
diakopter TimToady: I got that same error 04:21
TimToady the pull fixed it 04:22
diakopter so it did. 04:24
I thought I'd pulled
TimToady: I guess the generic way to do that would be an inline macro definition of some sort 04:25
04:26 berekuk left
TimToady constant @hamming = squish @hamming.map(* * 2) M @hamming.map(* * 3) M @hamming.map(* * 5) 04:27
assuming an M infix that is a lazy list merge
diakopter O_O 04:28
x_x
04:29 jnap joined
TimToady M is not the problem, the recursive referentiality is the problem 04:30
04:30 berekuk joined
diakopter how is it a problem 04:30
TimToady something gets too concretized in there, and ends up referring to an array that can't tell it's being extended on the fly 04:31
Mouq TimToady: How does @hamming know its first value?
diakopter oh, it's a problem in implementation, not language design?
TimToady Mouq: oops, forgot that part :) 04:32
constant @hamming = 1, squish @hamming.map(* * 2) M @hamming.map(* * 3) M @hamming.map(* * 5)
diakopter 519312780448388736089589843750000000000000000000000000000000000000000000000000000000 04:33
Mouq TimToady: Ah, cool :)
04:34 jnap left 04:35 prevost left 04:38 berekuk left 04:43 BenGoldberg left 04:45 BenGoldberg joined 04:53 BenGoldberg left, jeffreykegler left
diakopter Mouq: what is it supposed to catch for the missing method on 1 04:57
04:59 xenoterracide joined
diakopter r-p: 1.foo 04:59
camelia rakudo-parrot 7f9bba: OUTPUT«No such method 'foo' for invocant of type 'Int'␤ in block at /tmp/ds8kNp2RRY:1␤␤»
04:59 berekuk joined
diakopter r: .foo 05:00
o_O
camelia rakudo-jvm 7f9bba: OUTPUT«(timeout)»
( no output )
diakopter triple fail
n: .foo
camelia niecza v24-109-g48a8de3: OUTPUT«Unhandled exception: Unable to resolve method foo in type Any␤ at /tmp/QkmJ8oTpTy 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) ␤…»
Mouq Rakudo just tests to see if the error is ~~ /No such method '(.?)' for invocant of type '(.*?)'/ and replaces it with an X::Method::NotFound
diakopter oh 05:01
.tell
yoleaux Relay a telegram to someone
diakopter yoleaux: wb
.tell jnthn r: .foo # triple fail
yoleaux diakopter: I'll pass your message to jnthn.
diakopter std: .bleh 05:02
camelia std 09dda5b: OUTPUT«ok 00:01 121m␤»
diakopter well.
Mouq diakopter: I though Nil.method is Nil? 05:03
diakopter hrm
r: say .foo
camelia rakudo-parrot 7f9bba, rakudo-jvm 7f9bba, rakudo-moar 7f9bba: OUTPUT«Nil␤»
diakopter well, r-jvm shouldn't timeout 05:04
05:04 berekuk left
diakopter C:\Users\mwilson\src\rakudo>perl6-m -e "1.foo" 05:04
No such method 'foo' for invocant of type '' in block at -e:1
hrm
closer
05:06 berekuk joined 05:09 SamuraiJack joined 05:11 berekuk left 05:20 bjz left 05:25 [Sno] left, bjz joined 05:30 jnap joined 05:34 berekuk joined 05:35 jnap left 05:40 berekuk left 05:43 berekuk joined 05:47 berekuk left 05:52 berekuk joined 05:56 berekuk left 05:58 xenoterracide left 06:00 berekuk joined 06:03 FROGGS left 06:05 berekuk left 06:12 berekuk joined 06:18 berekuk left, FROGGS joined 06:23 kaleem joined 06:24 [Sno] joined 06:31 jnap joined 06:33 rindolf joined 06:35 jnap left 06:47 berekuk joined 06:51 FROGGS left, darutoko joined 06:55 berekuk left 06:58 berekuk joined 07:03 berekuk left 07:05 dmol joined 07:06 berekuk joined 07:12 berekuk left 07:14 FROGGS joined 07:15 berekuk joined 07:20 berekuk left 07:23 sqirrel joined 07:32 jnap joined 07:36 jnap left 07:42 FROGGS left
timotimo Mouq++ # commit bit, bug closing power 07:47
raydiak++ # testing pray under moarvm
07:50 sqirrel left
timotimo i kind of wish there was a "git localclone" that takes remotes with it, too 08:03
moritz rsync :-) 08:05
08:06 zakharyas joined
timotimo :\ 08:06
i guess 08:07
08:09 FROGGS joined 08:23 bjz left 08:24 bjz joined 08:25 rindolf left 08:27 PZt left 08:32 drin_m joined, jnap joined 08:37 jnap left
dalek p: 330ef77 | (Timo Paulssen)++ | src/vm/moar/QAST/QASTOperationsMAST.nqp:
introduce nqp::hintfor on moarvm
08:38
p: f557441 | (Timo Paulssen)++ | src/vm/moar/stage0/ (11 files):
update stage0 to get hintfor (for real this time)
p: ce0b730 | (Timo Paulssen)++ | src/vm/moar/QAST/QASTCompilerMAST.nqp:
hintfor for attribute vars at compile-time.
timotimo hm, actually, i need to change that to emit MAST code directly rather than new nqp code 08:42
otherwise i'll generate var lookups for bindattr/getattr and then getattr/bindattr operations for var lookups 'round and 'round 08:43
actually, no, this already is mast code
cool :)
FROGGS umm 08:51
can't believe it:
Stage parse : 59.177
Stage mast : 26.432
I thought I was seeing messed up output when I built all three at once, but the timings I pasted are from a single run, so no doubt 08:52
moritz woah 08:53
nwc10 maybe there is a stray blackhole near the clock, slowing time 08:54
08:55 sqirrel joined
moritz the pocket black box! 08:55
timotimo \o/
jnthn said the try_get_slot path is kinda hot 08:57
arnsholt Am I a bad person for looking forward to the naysayers' reactions to these numbers? ^_^
timotimo so when i'm finished with this work here, it may be a bit better :)
arnsholt: "that's what you get when you use a VM that's actually made for your language" 08:58
FROGGS arnsholt: no, I am proud of these numbers, and I will smile happily at everybody who says that it still sucks :o)
timotimo note we're still quite slow when compared to other things
arnsholt timotimo: Well, that's not much of a defense for those who said that this was never going to work =D 08:59
08:59 bjz left
moritz moar and jvm finished stage parse in 42.5 and 57.6s on my machine 08:59
08:59 bjz joined
moritz ($work desktop, that is) 08:59
timotimo i'm looking forward to our first moarvm compiled with -O3 09:00
FROGGS I'd like to read chromatic's mind now... I hope there is a glimpse of a thought in there that says: oO( It might even be not that bad... )
arnsholt timotimo: Oh, what -O level is Moar using ATM?
timotimo 1 09:01
-O2 breaks casting our pointers around like crazy
FROGGS timotimo: and I am looking forward of jnthn saying "ohh, I fix something there...", and then it drops compile time by another 20%
err, jnthn++
timotimo yeah, that'll happen quite often i think :P
FROGGS yes, and that makes me very happy
arnsholt timotimo: Oh, higher levels break?
timotimo yes, they do
i tried finding out what optimization exactly breaks it 09:02
i couldn't pinpoint a single one and didn't have the patience to bisect through the space of all combinations :)
dalek p: 2ad8755 | Mouq++ | src/QRegex/P6Regex/Grammar.nqp:
Fix Null Regex detection
09:03 obra left 09:05 obra joined
timotimo Mouq: oh, that fixes the weird "unrecognized metachar" errors? :D 09:06
dalek ast: 6846f8a | Mouq++ | S32-exceptions/misc.t:
Unfudge NullRegex tests
09:07
Mouq Yup :) 09:08
timotimo awesome! :) Mouq++
tomorrow's release is really going to be splendid
moritz note that those tests will still fail until somebody bumps NQP_REVISION 09:09
Mouq Mouq-- it was my fault in the first place
moritz: oop 09:10
timotimo jnthn: did the inlinability stuff get fixed by the "mapped ops need inline info setting too" commit or is there still stuff missing?
moritz Mouq: 's OK, by current development trends it'll happen in a few hours anyway
nwc10 so bump NQP_REVISION before anyone forgets?
moritz flexes his commit bit 09:11
Mouq May I try my new, magical commit powers?
moritz Mouq: oh, you have a rakudo commit bit too? 09:12
Mouq: then go for it
timotimo with my hintfor changes: Stage parse : 49.798 Stage mast : 22.443
Mouq Aww. Nope, [Coke] gave the clear, but no one actually gave it to me '< 09:13
nwc10 do you have the numbers for the same machine before it?
(in scrollback?)
moritz stage mast is nearly 4s faster? that's way cool
timotimo nwc10: no. will create them now.
moritz oh wait, I compared timotimo's timing with FROGGS's previous timings
timotimo also, hintfor stuff for bindattr is still NYI :)
that'll be my third timing 09:14
dalek kudo/nom: 37d445c | moritz++ | tools/build/NQP_REVISION:
bump NQP_REVISION to get Null regex fixes by Mouq++
moritz is anybody interested in a nopaste of m-spectest results?
nwc10 is more interested in which tests perl6-m fails, but perl6-p or perl6-j pass 09:15
FROGGS moritz: no, I can have one within six minutes :o)
nwc10 and really curious if there is stuff that perl6-m manages that neither of the other two do yet
hoelzro morning #perl6 09:16
FROGGS nwc10: something like this but with individual tests listed? github.com/rakudo-p5/v5/blob/master/STATUS.md
moin hoelzro
nwc10: maybe we should create csv files by synopsis 09:17
nwc10 FROGGS: yes, I guess so. So it would have "skip" split into several columns, such as "skipped on all", "skipped on Moar and Parrot, but passes on JVM" 09:18
FROGGS and we could, like STATUS.md does, list the different results in case they don't match
diakopter timotimo++ FROGGS++ nwc10++ jnthn++
nwc10 yes, or that way :-)
FROGGS I imagined that the backends would be the columns
diakopter hoelzro++ moritz++ too :)
nwc10 FROGGS: yes, I think that that works
FROGGS and collapse rows that all pass 09:19
nwc10 yes. :-)
FROGGS damn, now I want to do it :(
nwc10 oh sorry
what are you *supposed* to be doing?
FROGGS $work
nwc10 I'm sort of cheating. I'm waiting for a benchmark to run (or break the server)
moritz nwc10: in yesterday's backlog there's fun with protos and gather/take that only moar gets right 09:20
nwc10 I saw that. I don't even really understand what that syntax is about.
ie, how that gets to produce 1 to 10
bloggage needed? :-)
moritz it's not very hard :-) 09:22
diakopter nwc10: I empathasize and comiserate: I've never gotten it either.
moritz a set of multi subs is called by first calling its proto, and the proto re-dispatches to the appropriate multi candidate
it does that with the magic {*} term 09:23
nwc10 Ah.
moritz so that example is a gather/take, just with the gather in the proto
(and since gather/take is dynamically scoped, that's fine)
09:24 LLamaRider joined
timotimo Stage parse : 50.108 / Stage mast : 22.890 09:24
not that big, but measurable
now for bindattr
Mouq Technically should be possible with grammars too (proto token category { 'prelim' [ {*} ]+ 'or something' }) 09:25
Pretty sure we just parse it as proto [rule|token|regex] <name> '{'['*'|'...']'}' currently though :p 09:27
IIRC
moritz no, as a closure returning Whatever 09:28
timotimo hm. how do i build the proper QAST for setting the return value of a node to a specific input node? 09:30
i guess i could use Stmts for that
Mouq r: grammar G {proto token category { 'prelim' [ {*} ]+ 'or something' }}
camelia rakudo-parrot 7f9bba, rakudo-jvm 7f9bba, rakudo-moar 7f9bba: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Proto regex body must be {*} (or <*> or <...>, which are deprecated)␤at /tmp/tmpfile:1␤------> ory { 'prelim' [ {*} ]+ 'or something' }[3…»
diakopter timotimo: I'm curious about the optimization level; on windows msvc it sure seems all the way turned up 09:31
timotimo hm.
well, on linux we can't do that :)
huh. introducing a local for every bindattr seems very costly 09:32
diakopter right, I'm curious why
[why you can't on linux]
Mouq {*} is considered a regex metachar though, looks like
timotimo Mouq: i think the syntax you want is <...> 09:33
09:33 dakkar joined, jnap joined
timotimo r: grammar G {proto token category { 'prelim' [ <...> ]+ 'or something' }; token category:sym<foo> { <sym> } }; say G.parse("prelimfoofoofooor something") 09:34
camelia rakudo-parrot 7f9bba, rakudo-jvm 7f9bba, rakudo-moar 7f9bba: OUTPUT«===SORRY!===␤Unrecognized regex metacharacter < (must be quoted to match literally)␤at /tmp/tmpfile:1␤------> {proto token category { 'prelim' [ <...⏏> ]+ 'or something' }; …»
timotimo ... er ...
moritz no, {*} is right
timotimo diakopter: please advise for QAST? :\
diakopter what about it
timotimo i want to build a QAST piece that returns a child node
FROGGS I believe it expects <...> or * as the only thing in the body
timotimo without evaluating it twice
diakopter explain more? 09:35
timotimo but creating locals is much costlier than what the qastcomp does if it has a :returnarg
diakopter can you show me that one?
(I'm not sure what you're tryign to do)
Mouq FROGGS: That's what I was trying to say when I was talking about how we parse it
timotimo surely can. should i implement it in terms of a bind to a local first? 09:36
diakopter sure
09:37 denis_boyun joined 09:38 jnap left
timotimo let me try if it compiles at all 09:40
diakopter it's ok; I just want to see the intent
timotimo gist.github.com/timo/1805bb7bbbc6c2aa5140
misses at least :decl('var') for the local vars 09:41
could probably wrap it all into a nqp::locallifetime to get it optimized better, but our mast qastcomp doesn't use that at all so far
diakopter wat is locallifetime 09:42
09:42 denis_boyun left 09:43 denis_boyun joined
timotimo i *think* it's supposed to set a boundary for new locals 09:43
any local declared within is only valid inside the locallifetime's tree
diakopter hm oh 09:44
timotimo the else branch is pretty busted, though %)
what the hell was i thinking
diakopter stayed up all night? :) 09:45
timotimo nah
diakopter for one thing, $want needs to be op-compile-time, not op-sub-construct time 09:47
09:47 denisboyun joined, denis_boyun left
diakopter er 09:48
*shakes head at self*
timotimo :) 09:49
i have some syntax error here :\ 09:50
i'll update the gist
there you go
Unable to parse expression in blockoid; couldn't find final '}' at line 3216, near "$qastcomp." 09:51
that lise points at what is line 31 in the updated gist
line*
09:51 kivutar joined
timotimo ah, got it 09:51
missing comma before the last QAST::Var
now i've got P6opaque: representation mismatch when storing value to attribute; i didn't set the want anywhere ... but where would i put it? 09:53
diakopter what is in $op[3]
timotimo the value to set
(and to return)
diakopter why does it needs its own var 09:54
timotimo because i need to return it
diakopter (it's already a local register when you get it)
timotimo it is?
isn't it whatever tree it may be?
diakopter oh
timotimo as in: if i don't stash it in a var, wouldn't i evaluate stuff twice?
diakopter yah
09:55 PZt joined
diakopter sry, didn't write 3000 of these lines in a while 09:55
timotimo :)
maybe there's a method in the $qastcomp i can use to get a local register handle i could play around with?
diakopter well as_mast does that 09:56
timotimo hm. can i put the result of as_mast back into the qast tree?
diakopter that's the usual way to do it
timotimo cool
that'd be a solution thet
then
diakopter er
wait wait
wait wait wait 09:57
are you sure you need to be generating qast?
timotimo i'd prefer to be generating qast 09:58
diakopter why
timotimo because it's simpler (to me)
diakopter o_O
it should be avoided in the to_mast stage
timotimo … what
you must be confused
diakopter qast should ideally be generated only in the parse stage 09:59
timotimo there's other ops here that do QAST stuff, too
diakopter only in exceptional cases
that can't be done directly to mast
I'm not confused about this :) 10:00
you can still use the parametric closure thing you're doing
let me try to write one 10:01
timotimo well, bindattr is sufficiently hot to be done "properly" :\
diakopter yeah
tell me what its params are in $op[]
wait, it already has impls
timotimo bindattr takes the object to bind on, the class the attribute belongs to, the name of the attribute and the value to bind 10:02
it's supposed to decont the class and return the value
10:02 sqirrel left
timotimo take a look at my updated gist, please 10:02
it now fails with Error while compiling op bindattr (source text: "nqp::bindattr($obj, MAST::InstructionList, '@!instructions', @instructions)"): Cannot find method 'node' 10:03
but other than that i think it ought to be somewhat correct
timotimo takes a quick break
10:03 pecastro joined
diakopter writes an updated gist 10:03
10:07 kivutar left
diakopter I don't see how these are different from the current op implementations 10:08
I thought you wanted to use the hinted versions
10:11 kivutar joined
diakopter continues working on it 10:12
jnthn morning o/ 10:18
yoleaux 05:01Z <diakopter> jnthn: r: .foo # triple fail
diakopter timotimo: ping
jnthn: nm on the triple fail; it's just jvm that looped 10:19
10:19 pecastro left
jnthn I think getting nqp::getattr and nqp::bindattr optimized is mostly gonna be cargo-culting the code from QAST::Var attribute compilation... 10:20
diakopter jnthn: how do I use nqp::hintfor at compile time to get the type of a MAST::InstructionList
[or get it from the qast before it becomes mast?] 10:21
jnthn diakopter: You...can't. But you don't need to.
Yeah
10:21 pecastro joined
diakopter how to do that 10:21
nwc10 good UGT, jnthn
jnthn Same as the code in attribute compilation
diakopter oh
jnthn if nqp::istype($op[1], QAST::WVal) or so
10:22 kivutar left 10:25 djanatyn left, djanatyn joined, rindolf joined 10:27 daniel-s_ joined 10:31 kivutar joined 10:32 kivutar left
jnthn Mouq: Commit bit granted 10:33
10:34 jnap joined
Mouq thank you jnthn++ \o/ 10:34
jnthn bbi10 10:38
10:38 jnap left 10:41 mtk left 10:42 fhelmberger joined
diakopter jnthn: how does this look gist.github.com/diakopter/b2522f054f633fc4cc0a 10:49
timotimo: ^
er hang on
fixing
fixed 10:50
forgot the name arg in both branches
10:50 mtk joined 10:51 pippo joined
pippo o/ #perl6 10:51
diakopter argh.
fixing another thing
Mouq o/ pippo 10:52
pippo I have one question. if I pipe a file to perl6 like cat FILE | perl6 -e ' ???? ~~ /.*/'
What do I have to put instead of the ??? 10:53
diakopter gist updated.
pippo What do I have to put instead of the ???? to do a regex on each line of the FILE? 10:54
diakopter gah, fixing something else
Ayiko pippo: lines
diakopter gist updated again 10:55
gist updated again 10:56
FROGGS p: say so lines ~~ /.*/ # pippo: camelia here has a default stdin for testing stuff like that 10:59
camelia rakudo-parrot 37d445: OUTPUT«False␤»
FROGGS uhh
p: say lines
camelia rakudo-parrot 37d445: OUTPUT«Stille Nacht! Heilige Nacht! Alles schläft; einsam wacht Nur das traute heilige Paar. Holder Knab im lockigem Haar, Schlafe in himmlischer Ruh! Schlafe in himmlischer Ruh! Stille Nacht! Heilige Nacht! Gottes Sohn! O wie lacht Lieb´ aus deinem göttlic…»
FROGGS p: say so lines
camelia rakudo-parrot 37d445: OUTPUT«True␤»
tadzik such lines. So True
FROGGS p: say lines() ~~ /.*/
camelia rakudo-parrot 37d445: OUTPUT«「Stille Nacht! Heilige Nacht!」␤␤»
FROGGS p: say so lines() ~~ /.*/
camelia rakudo-parrot 37d445: OUTPUT«True␤»
tadzik much christmas
FROGGS okay, I passed the regex to the sub first
diakopter frog in a blender
tadzik wæt‽ 11:00
diakopter STEGOSAURUS
tadzik STOMP
pippo Thank you all!!! Have a very nice day! 11:01
11:01 pippo left
diakopter fixed some more things; working on it still. 11:04
timotimo: i'm on it
jnthn diakopter: Where's latest? 11:05
diakopter gist updated just now 11:07
11:08 pippo joined
pippo p: say lines; 11:08
camelia rakudo-parrot 37d445: OUTPUT«Stille Nacht! Heilige Nacht! Alles schläft; einsam wacht Nur das traute heilige Paar. Holder Knab im lockigem Haar, Schlafe in himmlischer Ruh! Schlafe in himmlischer Ruh! Stille Nacht! Heilige Nacht! Gottes Sohn! O wie lacht Lieb´ aus deinem göttlic…»
pippo m: say lines;
camelia rakudo-moar 37d445: OUTPUT«(signal SEGV)»
pippo Moar does not work. 11:09
j: say lines;
camelia rakudo-jvm 37d445: OUTPUT«␤»
Mouq pippo: Moar is iffy with STDIN as of yet
pippo OK understood. Thank you.
jnthn That comes out with "Failed to seek in filehandle: 9" on Windows... 11:10
diakopter pippo: it's very very new :)
Mouq Opening normal files on Rakudo Moar has worked fine for me thus far
pippo Yes new. And I like it very much :-))
Mouq: yes also for me. But I cannot pout it on pipe chain. 11:11
Mouq: yes also for me. But I cannot pout it on pipe chain. To do one liners...
Mouq pippo: I feel you pain :)
*your 11:12
pippo o/ #perl6
11:12 pippo left
Mouq \o pippo 11:12
r: say qw[<h3> </h3>].join: "Section header" 11:19
camelia rakudo-parrot 37d445, rakudo-jvm 37d445, rakudo-moar 37d445: OUTPUT«<h3>Section header</h3>␤»
11:20 slavik left 11:24 slavik joined 11:32 LLamaRider left 11:35 jnap joined
dalek p: f2ac686 | diakopter++ | src/vm/moar/QAST/QASTOperationsMAST.nqp:
timotimo++ # bindattr hinted inspiration # jnthn++ # fixing all the things

oh btw, still broken.
11:38
11:39 jnap left
Mouq r: END { say q:to[WUT]; }␤ </␤ WUT 11:42
camelia rakudo-parrot 37d445, rakudo-jvm 37d445, rakudo-moar 37d445: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Regex not terminated␤at /tmp/tmpfile:3␤------> WUT⏏<EOL>␤ expecting any of:␤ postfix␤ statement e…»
moritz std: END { say q:to[WUT]; }␤ </␤ WUT
camelia std 09dda5b: OUTPUT«ok 00:01 125m␤»
moritz current nqp-m build dies with This representation (P6num) does not support attribute storage 11:55
jnthn yeah, diakopter pushed a non-working patch... 11:56
I think I've got a fix locally, hang on a moment...
moritz *grumble* that's what branches are for
jnthn yes, that's what I said 11:57
diakopter sry, my battery was at 1% 11:59
home now
er, 0%
dalek p: ce95c7e | jnthn++ | / (2 files):
Fix attribute access optimization.
12:01
diakopter o_O
jnthn If you don't push things in the order you compile 'em, then you may mess up temporaries.
diakopter oh yeah......... gee 12:02
jnthn That gives me a win on CORE.setting compilation, but I guess doing getattr this way will get one too :)
diakopter want me to? 12:03
or timotimo?
jnthn Or me? :)
I don't mind who does it :)
diakopter i'll do it unless timotimo wants it in teh next -2 seconds
Mouq FROGGS: re: irclog.perlgeek.de/perl6/2014-01-22#i_8155398 I put together a simple prototype that pulls the data in [Coke]++'s perl6-roast-data together into an ugly HTML file gist.github.com/Mouq/8557617 12:06
FROGGS Mouq: ohh, nice 12:07
I will try it in a minute (or two)
Mouq mouq.github.io/feast 12:10
^^ the resulting, very basic page is there 12:11
jnthn Mouq++ 12:12
timotimo jnthn: i already did it 12:13
tadzik wow :)
timotimo just didn't push it yet
moritz Mouq++
tadzik Mouq++
timotimo compiling the combined code now
jnthn timotimo: Wait, I think diakopter was doing it too? :)
Mouq 'tanks. I'm going to school, o/ #perl6 12:14
jnthn o/ Mouq
timotimo diakopter: don't do it! nooooooooooo!
moritz moar hackers on the same piece of code!
jnthn I think I got that enum regression that I did fixed
dalek p: c915a72 | diakopter++ | src/vm/moar/QAST/QASTOperationsMAST.nqp:
tooooooo late
12:15
12:15 kaleem left
timotimo :( 12:15
my code is much shorter
oh well.
diakopter no it wasn't :P
moritz diakopter: it would be nice to have better commit messages in nqp 12:16
diakopter uhm, stage mast was 22s
jnthn And now? 12:17
diakopter is now 22
yesterday was 40 something
tadzik oh
diakopter <- nap
FROGGS it was about 80s the day before 12:18
it was equal to stage parse, which is about 56s now on my box
12:18 Mouq left
timotimo Stage parse : 49.380 / Stage mast : 22.543 12:19
10:24 < timotimo> Stage parse : 50.108 / Stage mast : 22.890
so a barely measurable win
oh well.
at least try_get_slot won't be a hot path any more 12:20
12:22 lizmat joined 12:23 kaleem joined, Mouq joined
Mouq o/ #perl6 12:23
my school just canceled
long time no see
tadzik haha
dalek kudo/nom: 5bfffc6 | jnthn++ | src/core/Enumeration.pm:
Fix Enum($val) coercion regression.
12:24
tadzik lucky you :)
jnthn Mouq: Wow...snow?
12:25 amkrankr1leuen is now known as amkrankruleuen, amkrankruleuen left, amkrankruleuen joined
Mouq Yeah, I'm in rural Pennsylvania where we get enough snow to be dangerous but not enough to have enough plowers for when it does, like Vermont etc 12:26
12:27 LLamaRider joined
Mouq So, a couple inches that weren't well prepared for == no school :p 12:27
timotimo jnthn: should i re-run the moarvm benchmarks with the new changes? did we get native inlinability working?
jnthn timotimo: It works but... 12:28
timotimo expects dalek to report a commit in the next few seconds 12:29
12:30 prevost joined
jnthn ...it inlines a return type check, which it should toss. 12:30
timotimo oh
jnthn On all backends, mind
timotimo ah well. could be worse.
jnthn So I'm gonna fix that also.
timotimo but sure, do that :)
are getattr and bindattr inlinable, btw?
jnthn timotimo: Your getattr may not have had much impact on CORE.setting, but you did make a new Moar spectest time record on my box. 12:31
Yes, they are.
timotimo it should get that set on it, then
timotimo does it
jnthn timotimo: wait!
Don't sent :inlinable on things
The default is inlinable in Moar
And JVM
You have to opt *out*
timotimo ah, ok!
jnthn I did it opt-in on Parrot in the first place 12:32
It still is that way.
But I realized...opting in is the common case.
timotimo how much better is the new spectest time record, ooc?
jnthn So I made it opt out instead.
5 seconds
timotimo that's not that bad :)
jnthn Down to 316s for make spectest here.
timotimo how many concurrent jobs and how many cores?
jnthn 4 physical, 8 virtual, --jobs=6
timotimo not bad!
okay, i'll let you get back to coding :) 12:33
colomon woah
jnthn To put it into perspective, earlier on in the month spectest on this machine with that number of jobs was 1662s. 12:34
timotimo i'll look into trim_string now 12:35
Mouq Oh, btw: the page I linked to was generated with Rakudo Moar ^_^ didn't run into any rakudo-bugs, either, just Mouq-bugs. MoarVM++ Rakudo++
timotimo \o/
what page was that?
Mouq This: mouq.github.io/feast
timotimo oh, that's cool
12:35 jnap joined
moritz <tr><td>S01-perl-5-integration/basic.t</td><td></td><td> 20 skipped: <unknown><br/></td><td> 20 skipped: <unknown><br/></td><td> 20 skipped: <unknown><br/></td></tr> 12:37
needs a bit HTML escaping
Mouq Oi, yeah, hadn't even considered that 12:38
moritz Mouq: if you add some nice few class="..." attributes, we could add some JS that can collapse columns (like if you want to only compare two rakudos)
12:38 smls joined
moritz also, No candidates for dispatch to &infix:<==> # three html meta characters in one operator name :-) 12:39
12:40 jnap left
smls r: say q[a\b\\c\'d]; 12:42
camelia rakudo-parrot 37d445, rakudo-jvm 37d445, rakudo-moar 37d445: OUTPUT«a\b\c\'d␤»
smls ^^ I realize this matches Perl 5's behavior, but is it really sensible to keep it?
moritz r: say Q[a\b\\c\'d]
camelia rakudo-parrot 37d445, rakudo-jvm 37d445, rakudo-moar 37d445: OUTPUT«a\b\\c\'d␤»
smls ah
moritz smls: it's sensible to have it as an option :-)
Mouq smls: perlcabal.org/syn/S02.html#Q_forms 12:43
smls r: .say for Qw['' \' \\] 12:51
camelia rakudo-parrot 37d445, rakudo-jvm 37d445, rakudo-moar 37d445: OUTPUT«''␤\'␤\\␤»
smls nice.
my $x = rx/./; say +$x.DUMP.lines; # .DUMP sure is verbose... 13:02
r: my $x = rx/./; say +$x.DUMP.lines; # .DUMP sure is verbose...
camelia rakudo-moar 37d445: OUTPUT«(signal SEGV)use of uninitialized value of type Any in string context␤use of uninitialized value of type Any in string context␤use of uninitialized value of type Any in string context␤»
..rakudo-jvm 37d445: OUTPUT«java.lang.RuntimeException: java.lang.StackOverflowError␤␤Error while creating backtrace: Cannot unbox a type object␤ in block at gen/jvm/CORE.setting:10596␤ in block at gen/jvm/CORE.setting:7368␤ in method reify at gen/jvm/CORE.setting:7319…»
..rakudo-parrot 37d445: OUTPUT«85␤»
timotimo heh.
smls did I do something wrong to make rakudo-moar/jvm complain like that? 13:04
13:06 djanatyn left, djanatyn joined
moritz maybe a .DUMP bug 13:06
13:07 FROGGS left
Mouq r: say +1.Dump.lines 13:07
camelia rakudo-moar 37d445: OUTPUT«Cannot find method 'Dump'␤ in block at /tmp/tmpfile:1␤␤»
..rakudo-parrot 37d445, rakudo-jvm 37d445: OUTPUT«No such method 'Dump' for invocant of type 'Int'␤ in block at /tmp/tmpfile:1␤␤»
Mouq r: say +1.DUMP.lines #blug
camelia rakudo-parrot 37d445, rakudo-jvm 37d445, rakudo-moar 37d445: OUTPUT«1␤» 13:08
Mouq \o/ :P
timotimo i think "blug" is #perl6 slang for "to have blogged"
so you better have a blogpost about that ready :)) 13:09
Mouq timotimo: Erm... ! :)
timotimo: Maybe ...like... a couple weeks or months or so, just gotta polish it up a bit 13:10
dalek rl6-bench: 236bd02 | (Timo Paulssen)++ | bench:
replace another Hash.delete with :delete adverb
13:11
rl6-bench: 08add84 | (Timo Paulssen)++ | comp (2 files):
introduce rakudo-moar
timotimo :D
jnthn \o/ 13:15
13:16 FROGGS joined
Mouq r: say 'rakudo.moar'.wordcase 13:16
camelia rakudo-parrot 37d445, rakudo-jvm 37d445, rakudo-moar 37d445: OUTPUT«Rakudo.Moar␤»
13:17 SamuraiJack left 13:20 sctt joined 13:23 benabik left 13:24 atroxaper joined 13:27 xinming joined 13:28 pdcawley left, pdcawley joined 13:29 skids left
FROGGS r: say "a" ~~ /<:Any>/ 13:33
camelia rakudo-parrot 37d445: OUTPUT«Unicode property 'Any' not found␤ in regex at /tmp/tmpfile:1␤ in method ACCEPTS at gen/parrot/CORE.setting:12497␤ in method ACCEPTS at gen/parrot/CORE.setting:778␤ in block at /tmp/tmpfile:1␤␤»
..rakudo-jvm 37d445: OUTPUT«java.util.regex.PatternSyntaxException: Unknown character property name {Any} near index 6␤\p{Any}␤ ^␤␤Error while creating backtrace: Cannot unbox a type object␤ in block at gen/jvm/CORE.setting:10596␤ in block at gen/jvm/CORE.setting:…»
..rakudo-moar 37d445: OUTPUT«「a」␤␤»
FROGGS r: say "a" ~~ /<test=:Any>/
camelia rakudo-parrot 37d445: OUTPUT«Unicode property 'Any' not found␤ in regex at /tmp/tmpfile:1␤ in method ACCEPTS at gen/parrot/CORE.setting:12497␤ in method ACCEPTS at gen/parrot/CORE.setting:778␤ in block at /tmp/tmpfile:1␤␤»
..rakudo-jvm 37d445: OUTPUT«java.util.regex.PatternSyntaxException: Unknown character property name {Any} near index 6␤\p{Any}␤ ^␤␤Error while creating backtrace: Cannot unbox a type object␤ in block at gen/jvm/CORE.setting:10596␤ in block at gen/jvm/CORE.setting:…»
..rakudo-moar 37d445: OUTPUT«「a」␤␤»
moritz m: "a" ~~ /<test=:Any>/ and say $/.keys 13:34
camelia rakudo-moar 37d445: OUTPUT«␤»
FROGGS I was hoping it would work automagically
r: say "a" ~~ /<:!Blk<ASCII>>/ # I am looking forward to implement that 13:35
camelia rakudo-parrot 37d445, rakudo-jvm 37d445, rakudo-moar 37d445: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Unable to parse expression in metachar:sym<assert>; couldn't find final '>' ␤at /tmp/tmpfile:1␤------> say "a" ~~ /<:!Blk⏏<ASC…»
FROGGS n: say "a" ~~ /<:!Blk<ASCII>>/ # I am looking forward to implement that
camelia niecza v24-109-g48a8de3: OUTPUT«===SORRY!===␤␤Extra argument not allowed; pair already has False argument at /tmp/QA5VZ4egC8 line 1:␤------> say "a" ~~ /<:!Blk⏏<ASCII>>/ # I am looking forward to impl␤␤Parse failed␤␤»
FROGGS ohh
n: say "a" ~~ /<:Blk<ASCII>>/ # I am looking forward to implement that
camelia niecza v24-109-g48a8de3: OUTPUT«「a」␤␤»
FROGGS r: say "a" ~~ /<:Blk<ASCII>>/ # I am looking forward to implement that
camelia rakudo-parrot 37d445, rakudo-jvm 37d445, rakudo-moar 37d445: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Unable to parse expression in metachar:sym<assert>; couldn't find final '>' ␤at /tmp/tmpfile:1␤------> say "a" ~~ /<:Blk⏏<ASCI…»
FROGGS std: say "a" ~~ /<:Blk<ASCII>>/ # I am looking forward to implement that 13:36
camelia std 09dda5b: OUTPUT«ok 00:01 126m␤»
FROGGS should not be too hard
13:36 jnap joined 13:39 djanatyn left 13:41 djanatyn joined, Somarys joined, jnap left
timotimo japhb: a friend of mine has some crazy rendering artifacts on jqplot 13:42
13:42 Somarys left
timotimo i.imgur.com/zgjddMc.png 13:43
13:43 kbaker joined 13:46 ajr joined, Somarys joined, ajr is now known as Guest50238
Somarys Hola 13:46
moritz hi Somarys 13:47
timotimo hey there 13:49
13:51 Somarys left 14:01 kaare__ left
FROGGS std: /<test=[A..Z]>/ 14:02
camelia std 09dda5b: OUTPUT«ok 00:01 123m␤»
FROGGS n: say "A" ~~ /<test=[A..Z]>/
camelia niecza v24-109-g48a8de3: OUTPUT«「A」␤ test => 「A」␤␤»
FROGGS ool
cool*
14:03 Guest50238 is now known as ajr_
colomon p: say "A" ~~ /<test=[A..Z]>/ 14:04
camelia rakudo-parrot 5bfffc: OUTPUT«「A」␤␤»
colomon p: say ("A" ~~ /<test=[A..Z]>/).perl 14:05
camelia rakudo-parrot 5bfffc: OUTPUT«Match.new(orig => "A", from => 0, to => 1, ast => Any, list => ().list, hash => EnumMap.new())␤»
colomon ah
FROGGS - QAST::Regex(:rxtype(concat)) <test=[A..Z]>
- QAST::Regex(:rxtype(charrange) :subtype(capture) :name(test)) <test=[A..Z]>
it is meant to capture...
14:06 daniel-s_ left
timotimo i hope i didn't break that? 14:07
try it with --target=ast
instead of --target=optimize?
FROGGS timotimo: just an additional concat is stripped when optimized 14:08
timotimo phew. 14:09
FROGGS :o)
14:14 Somarys joined
Somarys hablan espa􏿽xF1ol􏿽xBF􏿽xBF􏿽xBF??? 14:14
tadzik me no comprende espagnol 14:17
timotimo una cerveca por favor
tadzik and so my polite vocabulary ends 14:18
timotimo mine too :(
tadzik (☞゚ヮ゚)☞
here, have some Summer Steel Toes: tomash.soup.io/post/391683822/Glanda-y 14:19
Somarys o.O 14:21
timotimo wow 14:22
FROGGS O.o 14:23
Somarys :)
huf wow, those look _terribly_ tacky 14:24
jnthn Let's all wear them to YAPC::EU! :P 14:26
...not. :)
tadzik YAY! ...awww
jnthn tadzik: Well, maybe...
:)
huf that and kilts, yes.
tadzik haha
huf it'd go well with the black utility kilts (or what are those called)
tadzik let's give it as a present to mst
grondilu rn: for 1, 2 ... -1 { last }; say "alive" 14:27
14:27 jnap joined
camelia rakudo-parrot 5bfffc, rakudo-jvm 5bfffc: OUTPUT«(timeout)» 14:27
..niecza v24-109-g48a8de3: OUTPUT«alive␤»
grondilu niecza is right here, isn't it? 14:28
moritz aye
grondilu k 14:29
14:31 rindolf left
timotimo yeah, for shouldn't slurp up the whole list all at once 14:31
jnthn Not sure if it's going for whole list or just hugely chunking...
(when it shoudln't be)
arnsholt huf: Utilikilt, if memory serves =)
14:33 kaleem left 14:34 Somarys left
FROGGS I would wear a kilt on the YAPC::EU 14:35
dalek kudo-star-daily: 5b43f2a | coke++ | log/ (5 files):
today (automated commit)
14:36
timotimo now the only warnings that remain are three warnings in modules/panda/t/common.t 14:37
tadzik: ^ ?
tadzik oh?
I'll check at home
timotimo github.com/coke/rakudo-star-daily/...s.log#L139
timotimo heads out 14:40
14:41 rindolf joined, btyler joined
dalek albot: 14b977c | Mouq++ | evalbot.pl:
Add rakudo-moar to rn: and nr:
14:41
FROGGS cool 14:42
moritz evalbot control pull 14:44
camelia (success)
grondilu nr: say "Hi, I'm running on {$*VM<name>.fc}."
camelia rakudo-parrot 5bfffc, rakudo-jvm 5bfffc: OUTPUT«No such method 'fc' for invocant of type 'Str'␤ in block at /tmp/tmpfile:1␤␤» 14:45
..niecza v24-109-g48a8de3: OUTPUT«Unhandled exception: Unable to resolve method fc in type Any␤ at /tmp/tmpfile line 1 (mainline @ 5) ␤ at /home/p6eval/niecza/lib/CORE.setting line 4595 (ANON @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 4596 (module-CORE @ 576) ␤ at…»
moritz evalbot control restart
14:45 camelia left
grondilu nr: say "Hi, I'm running on {$*VM<name>}." 14:45
14:45 camelia joined
grondilu :/ 14:45
bah, nevermind
moritz nr: say "Hi, I'm running on {$*VM<name>}." 14:46
14:46 ChanServ sets mode: +v camelia
camelia niecza v24-109-g48a8de3: OUTPUT«Use of uninitialized value in string context␤ at /home/p6eval/niecza/lib/CORE.setting line 1389 (warn @ 5) ␤ at /home/p6eval/niecza/lib/CORE.setting line 269 (Mu.Str @ 15) ␤ at <unknown> line 0 (ExitRunloop @ 0) ␤ at /tmp/tmpfile line 1 (m…» 14:46
..rakudo-moar 5bfffc: OUTPUT«Hi, I'm running on moar.␤»
..rakudo-jvm 5bfffc: OUTPUT«Hi, I'm running on jvm.␤»
..rakudo-parrot 5bfffc: OUTPUT«Hi, I'm running on parrot.␤»
grondilu wonders why calling $*VM is so slow 14:47
14:47 benabik joined
grondilu s/call/fetch/ 14:48
moritz is it?
the first execution of a newly started camelia is nearly always very slow, no matter what you do 14:49
I have no idea why
nwc10 nr: say "Hi, I'm running on {$*VM<name>}."
camelia niecza v24-109-g48a8de3: OUTPUT«Use of uninitialized value in string context␤ at /home/p6eval/niecza/lib/CORE.setting line 1389 (warn @ 5) ␤ at /home/p6eval/niecza/lib/CORE.setting line 269 (Mu.Str @ 15) ␤ at <unknown> line 0 (ExitRunloop @ 0) ␤ at /tmp/tmpfile line 1 (m…»
..rakudo-moar 5bfffc: OUTPUT«Hi, I'm running on moar.␤»
..rakudo-jvm 5bfffc: OUTPUT«Hi, I'm running on jvm.␤»
..rakudo-parrot 5bfffc: OUTPUT«Hi, I'm running on parrot.␤»
nwc10 I didn't look the first time - was that faster?
grondilu 'say $*VM' took 24 seconds on rakudo* on my machine 14:50
nwc10 P: say "Hi, I'm running on {$*VM<name>}."
camelia pugs: OUTPUT«Hi, I'm running on .␤»
moritz it's a big-ish hash that's being .perl()ed
grondilu 9.5 seconds on r-m, though. 14:51
jnthn What on earth are we doing in .perl... :)
moritz take 1.4s with r-m here, and 2.9s in r-p (both including startup time)
jnthn: iterating, joining strings, escaping stuff...
14:52 bluescreen10 joined
colomon is wishing he could easily do /.* (d+)$/ in C++ right now.... 14:52
colomon also just typed "my" to define a variable in C++. 14:53
grondilu that would not be C++ anymore. 14:57
dalek kudo/nom: 37ca9f1 | jnthn++ | src/vm/moar/Perl6/Ops.nqp:
Improve p6decontrv code-gen for native returns.
14:58
kudo/nom: 1eaa897 | jnthn++ | src/core/Backtrace.pm:
Fix backtraces not to rely on bust code-gen.
kudo/nom: d780360 | jnthn++ | src/ (2 files):
Generate much simpler code for int/num/str unbox.
jnthn Think that may have fixed a test too... 14:59
colomon grondilu: it's always remarkable to me how much easier it is to write tests in p6 than in C++. 15:01
huh, the XML module started failing its prereqs over night?!? 15:04
15:04 pdcawley left
colomon oh, "Failed cloning git repository 'git://github.com/supernovus/exemel.git' 15:05
"
15:05 pdcawley joined
colomon guessing that was just transitory? 15:05
moritz probably 15:06
15:06 shlomocomputer joined, thou joined 15:07 skids joined
shlomocomputer niecza: say 5 15:07
camelia niecza v24-109-g48a8de3: OUTPUT«5␤»
15:09 xenoterracide joined
moritz m: sub circumfix:<<` `>>(*@args) { @args.join('-') } 15:10
camelia ( no output )
moritz m: sub circumfix:<<` `>>(*@args) { @args.join('-') }; say `3, 4, "f"`
camelia rakudo-moar 5bfffc: OUTPUT«===SORRY!===␤Cannot find method 'flat'␤»
moritz ... on which invocant?
and why not?
colomon p: sub circumfix:<<` `>>(*@args) { @args.join('-') }; say `3, 4, "f"` 15:11
camelia rakudo-parrot 5bfffc: OUTPUT«3-4-f␤»
colomon sweet.
15:11 bluescreen100 joined
moritz it dies in the optimizer 15:12
src/Perl6/Optimizer.nqp:665
15:12 FROGGS[mobile] joined
moritz for @($op) { 15:12
# Can't cope with flattening or named.
if $_.flat || $_.named ne '' {
return [];
}
the .flat there dies 15:13
that's method analyze_args_for_ct_call
15:13 bluescreen10 left
moritz and the test is from S06-operator-overloading/sub.t 15:14
jnthn oh, that's the test we fail there? 15:15
moritz yes
and with --optimize=off, it dies with 15:16
Error while compiling op call (source text: "say `3, 4, \"f\"`"): Unknown QAST node type NQPMu
so it seems it somehow places an NQPMu into the argument list
timotimo jnthn: i'll kick off a benchmark run if that's okay with you 15:17
should i run jvm and parrot as well?
jnthn timotimo: Make sure you grab HEAD of moar/nqp/rakudo
timotimo: I'm still working on natives things but it should be a bit better already 15:18
FROGGS[mobile] I have scripts for pull_all and make_all that are very useful these days 15:19
I bet in a few weeks perl6-m is installed before we see stage parse of perl6-p 15:20
15:21 gcole left
timotimo jnthn: will the other backends see significant changes, too? 15:23
and will the other backends have seen differences since the last time i benchmarked them?
jnthn timotimo: lemme see.. 15:24
timotimo: Only improvements intentionally made for natives are all directly Moar related
timotimo great, i don't have to spend 3 hours benchmarking then :)
15:25 jnap1 joined, sctt left, jnap left
colomon timotimo: the benchmarking is automatic, right? 15:26
timotimo yeah, mostly
jnthn timotimo: Here, a simple native loop went from nearly six seconds to under 1.5
But the code is still kinda shit.
timotimo any changes needed for the release guide of rakudo to account for moar?
probably only for nhqp
nqp*
jnthn Yeah, we need to cut a Moar release... 15:27
timotimo since things are still rapidly changing, i suppose we should cut it ALAP
do we put moarvm release tarballs up on the rakudo.org site, too? 15:28
moritz we could
create another subdirectory under ~rakudo/public_html/downloads/
jnthn Could do that 15:29
We could also maybe get them on a MoarVM.org or so
timotimo jnthn: how long approximately until the code is no longer kinda shit? :) 15:30
benabik Is there a .vm TLD? moar.vm?
jnthn benabik: hehe
moritz $ whois moar.vm
No whois server is known for this kind of object.
timotimo aaw 15:31
moritz looks like "no"
timotimo moar.no?
jnthn seems not
btyler there's .mr, though
jnthn Well, I already have moarvm.org and morvm.com
*moarvm.com
benabik Oh, well, that's simpler.
nwc10 but not .net .biz .info and all the other land grabs?
moritz jnthn: do you need hosting?
jnthn moritz: No, the same thing that runs jnthn.net is well underutilized... 15:32
moritz also, github has that 'releases' feature that we could try out
15:32 slavik left
nwc10 does that give you download stats? 15:32
15:32 treehug88 joined
nwc10 I'm curious about the relative popularity of JVM star and the other 2 15:33
jnthn moritz: ooh, true
JimmyZ Will moarvm.com be hiring? 15:37
timotimo :D
tadzik moarvirtualmachi.ne 15:38
15:38 pdcawley left
timotimo japhb: it would be cool if we could come up with a per-subcomponent-versioning thing for perl6-bench 15:43
for when we didn't bump NQP_REVISION and MOAR_REVISION etc etc
15:45 grondilu left
dalek p: debdc92 | benabik++ | src/QRegex/P6Regex/Actions.nqp:
Avoid duplicate comparison in \C action

It only builds the enumcharlist node if we're building a \C so we don't need to check for \C again before setting negate.
15:52
15:55 Mouq left 15:59 Psyche^ joined
timotimo benabik: we need Common Subexpression Elimination :P 16:00
FROGGS ahh, benabik++
benabik timotimo: Go right ahead an implement that. :-P
dalek p: fd0ae90 | jnthn++ | src/vm/moar/QAST/QAST (2 files):
Convey QAST::Stmt/QAST::Stmts wanted type.

Can lead to much better code generation in some cases.
timotimo benabik: i'll get back to you about that some time ... :P 16:01
diakopter you're a common subexpression 16:02
benabik FROGGS: I was going to bother you about that one, but then realized it was in a repo where I had a commit bit. :-D
FROGGS :o)
jnthn timotimo: fd0ae90 helps a good bit with natives 16:03
16:03 Psyche^_ left
timotimo i'm already building it :) 16:04
FROGGS perl6-m -e 'say "abcöäüdef" ~~ /<umlauts=[äöü]>+/' # 「öäü」 umlauts => 「ö」 umlauts => 「ä」 umlauts => 「ü」
I love it :o) 16:05
masak good evening, #perl6 16:06
jnthn o/ masak
timotimo o/ masak
a/ mosok
FROGGS o/ masak
-.-
masak timatima: ;)
FROGGS ö/ mäsäk 16:07
masak \ö/
FROGGS \m/
which is cool in two ways 16:08
»ö« ← still like to have this one for #moarvm's topic
err »m« 16:09
timotimo what kind of animal is that?
masak a millipede.
timotimo :D
FROGGS dunno, just some kind of mamal perhaps
err
masak .oO( read the fine mammal ) 16:10
FROGGS +1 to millipede
timotimo :D
jnthn Now do a unicode chimera :P
FROGGS jnthn: is that your imagination of moar?
jnthn FROGGS: Well, a bunch of us back at YAPC::EU kinda liked the idea of that as the Moar animal...I can't remember why, maybe we just drunk beer, went to see a building with chimeras on and were like "oh, moar animal" :) 16:11
FROGGS *g* 16:12
damn, I fudged up S05/properties-general.t for parrot >.< 16:17
16:18 daxim left
FROGGS twice 16:18
colomon read that as "unicorn chimera"
FROGGS me too initially :o) 16:19
but that might be due to my activities these days
colomon oh? 16:21
16:21 [Sno] left
FROGGS colomon: I was/am working on the unicode implementation on moar 16:21
16:21 ajr_ left
colomon FROGGS++ 16:21
FROGGS ohh noes, that error was extra stupid of me >.< 16:22
wait until you see *g* 16:23
dalek ast: 330aca7 | (Tobias Leich)++ | S05-mass/properties-general.t:
escape exploding sequence in skip()
16:24
smls d 16:25
16:25 atroxaper left 16:26 spider-mario joined
FROGGS uff, S32-io/IO-Socket-INET.t times out on my box 16:28
16:33 sqirrel joined 16:34 treehug8_ joined 16:35 kbaker left
japhb Anyone else having trouble getting irclogs? I can see the top level channel list, but not the perl6 channel or .../perl6/today (both give blank white screens) 16:37
16:37 treehug88 left
xfix r: say [~] pick *,^10 16:37
r: print pick *,^10
camelia rakudo-moar d78036: OUTPUT«4785193026␤»
..rakudo-jvm d78036: OUTPUT«9056243871␤»
..rakudo-parrot d78036: OUTPUT«3749126805␤»
rakudo-moar d78036: OUTPUT«4785193026»
..rakudo-parrot d78036: OUTPUT«5602738941»
..rakudo-jvm d78036: OUTPUT«4812930765»
FROGGS there is not a single test for /<foo=[bar]>/ or /<foo=:Letter>/ 16:38
smls japhb: works for me 16:40
dalek p: 952fc3c | (Tobias Leich)++ | src/ (6 files):
enable captures in assertions

Like: /<foo=[bar]>/ or /<foo=:Letter>/
xfix Ayiko, nice to see someone other than me golfing Perl 6 :-).
timotimo now i won't have a chance at all :( 16:41
FROGGS japhb: must be the server side request limit... just wait a few minutes
japhb smls: Yeah, just managed to get it again. Could have been a fail on my end too. 16:42
16:42 bjz left 16:45 bjz joined, kbaker joined
FROGGS $tune_up = rx/ ("don't") (ray) (me) (for) (solar tea), ("d'oh!") <--- lol 16:48
std: / @<from>=[(\S+) \s+]* / 16:49
camelia std 09dda5b: OUTPUT«ok 00:01 125m␤»
FROGGS p: / @<from>=[(\S+) \s+]* / 16:50
camelia rakudo-parrot d78036: OUTPUT«===SORRY!===␤Could not find sub cuid_1_1390409407.18793␤»
FROGGS O.o
masak: do we have that one?
r: / @<from>=[(\S+) \s+]* /
camelia rakudo-jvm d78036: OUTPUT«===SORRY!===␤setcodeobj can only be used with a CodeRef␤»
..rakudo-moar d78036: OUTPUT«===SORRY!===␤Error while compiling op bind: QAST::Block with cuid cuid_1_1390409442.79879 has not appeared␤»
..rakudo-parrot d78036: OUTPUT«===SORRY!===␤Could not find sub cuid_1_1390409440.27707␤»
16:51 sqirrel left, fhelmberger left
timotimo hmm. what's the least-effort webserver to get to ~/public_html? 16:52
either apache or cherokee
16:52 rindolf left
FROGGS I just know about apache 16:52
timotimo: you can also: sudo cpan Dancer 16:53
timotimo that's not for the kind of stuff i want, though
16:53 prevost left 16:55 kbaker left
_sri perl -Mojo -E 'push @{app->static->paths}, "/home/timotimo/public_html"; a->start' daemon 16:55
16:56 smls left
moritz _sri: do you have a hilight on Dancer? :-) 16:56
_sri nope, i read the backlogs of #perl6 and #moarvm to motivate myself every now and then ;) 16:57
timotimo wow. 16:59
17:01 benabik left
masak FROGGS: don't recognize it. feel free to commit. 17:01
er. submit. whatever.
FROGGS I will
masak .oO( too little Perl 6, too much Git teaching ) 17:02
timotimo wakelift.wakelift.de/~timo/bench/al...kends.html 17:04
very, very good. 17:06
jnthn: i'm impressed
diakopter masak: spread the git gitness gitly
17:06 kbaker joined, SamuraiJack joined
dalek ecs: 18c668f | (Tobias Leich)++ | S05-regex.pod:
spec capture aliases of cclasses and unicode props
17:07
arnsholt timotimo: That link doesn't work for me
masak diakopter: so git. such distributed. wow.
timotimo arnsholt: get with the future. perl6, baby :) 17:08
alternatively, sixxs has a 4to6 thingie, doesn't it?
17:08 treehug8_ left
jnthn timotimo: Looking 17:08
masak timotimo: link doesn't work for me either.
jnthn timotimo: Doesn't work
timotimo huh?
17:09 shlomocomputer left
timotimo nc6 2a02:8071:2909:7b00:5604:a6ff:fe93:d1a6 80 17:09
arnsholt Oooooh
timotimo a webserver should answer there
17:09 treehug88 joined
arnsholt It's only available onver IPv6 17:09
timotimo that's true, yes
jnthn not to me then
grrr 17:10
17:10 Alula|WORK joined
masak me either. 17:10
timotimo bleh. luddites :P
17:10 LLamaRider left
FROGGS timotimo: you are alone with your ipv6 then :o) 17:10
timotimo whatever. moar is now sometimes faster than jvm
moritz nope, worked fine here
timotimo from the beginning to the end
FROGGS cool
timotimo it is also the only backend that can do more than 2 steps of forest fire before the timeout kills it
for the concat related tests it still bombs, though 17:11
17:15 treehug88 left, kbaker left 17:17 treehug88 joined
tadzik timotimo: fine, fine, I'll set up this sixxs daemon thingy... 17:18
timotimo: what are the first graphs for? Things/second? 17:21
17:21 rindolf joined
timotimo yes, it's "the higher up the better" every time 17:24
tadzik I see
17:25 Ayiko left 17:26 jnap1 left
tadzik yay, faster forest fire! :D 17:26
and _seriously_ faster. Is that the RC version, or nativified?
17:27 SamuraiJack left
timotimo dunno. 17:27
tadzik yay 2! I managed to finally unsubscribe from all the ACM mailing lists that GSoC added me to 17:28
masak tadzik: wow. I didn't know that was possible. 17:30
17:31 pecastro left
tadzik masak: I asked them on customer support yesterday. I got an email today that they removed me from 5 MLs that I wasn't able to remove myself from 17:32
so it must've been at least a dozen of them in the beginning
wow, moar building got fast :) 17:34
dalek kudo/nom: 334033e | (Tobias Leich)++ | tools/build/NQP_REVISION:
pull in fix for captures of assertions
masak "got fast"? wasn't it always fast?
tadzik it now got faster :) 17:35
17:35 zby_home_ joined 17:38 jnap joined 17:39 takadonet joined
takadonet hey all 17:40
masak takadonet! \o/
takadonet masak: how are you good sir?
masak takadonet: thank you, my kind fellow human, I am very fine.
takadonet: how's with you? 17:41
takadonet masak: great but tired
dalek ast: 59e90f5 | (Tobias Leich)++ | S05-metasyntax/angle-brackets.t:
add tests for captures in assertions
17:42
tadzik could someone with RC permissions update forestfire with gist.github.com/tadzik/8563439 ? It makes it runnable and simplier
takadonet question.... I been stalking the irc chat thru the perl 6 log and saw some great performance gains in the last few days Moar. However, after getting a fresh copy of rakudo, still very slow
tadzik and a tiny bit faster :)
17:43 [Sno] joined
masak takadonet: I know what you mean by 'great but tired'. sums up my week too :) 17:46
&
timotimo takadonet: yeah, it's still not blazing fast, but it's gotten much faster just by dropping in moarvm instead of parrot
FROGGS "just" 17:49
:o)
timotimo jnthn: can you give me relative timings of spectests for all three backends? 17:51
i'll attend Karlsruhe.pm in a few minutes and would like to give numbers :) 17:52
i may not have proper 'net access there
timings and memory usage if you have
or anybody else. FROGGS?
jnthn timotimo: Don't have numbers for that right now, sorry 17:53
timotimo fair enough
timotimo heads out
hungry :)
jnthn o/
takadonet timotimo: well i think my installation has an issue since it takes 18m to run the spectest 17:54
17:54 dakkar left 17:55 molaf joined
jnthn takadonet: How many you doing in parallel? 17:55
jnthn is with --jobs=6
takadonet same
based on top, looks like only one moar is running which is strange 17:56
jnthn What hardware does it have to parallelize those over, though?
[Coke] timotimo: I can add timings to the daily runs.
jnthn [Coke]: That would be nice
[Coke] (those are always done single threaded to avoid hogging the machine and to keep the logs sane.)
17:57 SamuraiJack joined
takadonet jnthn: same hardware as you 17:57
4 cores , 8 virtual
FROGGS timotimo: hold on
17:57 shlomocomputer joined
jnthn Hm. Dunno why the difference, then. 17:57
takadonet hmmm 17:58
jnthn: you used any special flag when building rakaudo/moar? 17:59
FROGGS timotimo: though, spectesting jvm and parrot will take a while
jnthn takadonet: No; I may be a few commits ahead of what's in NQP_REVISION/MOAR_REVISION...
takadonet: But not much.
18:00 psch joined
jnthn takadonet: Other than that, I just build with defaults. 18:00
psch hi #perl6
[Coke] real, user, sys or all? config+build+specs, or config+build, specs ?
FROGGS hi psch
takadonet hey psch 18:01
18:06 zakharyas left
TimToady r: say "Hi, I'm running on $*VM<name>."; # don't need the braces 18:29
camelia rakudo-moar d78036: OUTPUT«Hi, I'm running on moar.␤»
..rakudo-jvm d78036: OUTPUT«Hi, I'm running on jvm.␤»
..rakudo-parrot d78036: OUTPUT«Hi, I'm running on parrot.␤»
FROGGS timotimo: m and p, (j following) 18:35
18:36 shlomocomputer left
FROGGS 1310.40user 57.57system 6:05.11elapsed 374%CPU (0avgtext+0avgdata 280496maxresident)k 18:36
8inputs+10240outputs (0major+30966297minor)pagefaults 0swaps
2667.64user 170.96system 14:23.64elapsed 328%CPU (0avgtext+0avgdata 772528maxresident)k
48inputs+10368outputs (0major+91366029minor)pagefaults 0swaps
nwc10 so Moar taking half the time and maxing out at about one third of the memory of Parrot 18:37
Moar is less.
psch discovered that he messed up his rakudo fork and now made a horrible mess 18:39
i should have branched before commit changes that will make for a PR..!
18:40 jnap left 18:41 Mouq joined
dalek p: aee2876 | jnthn++ | src/vm/moar/QAST/QASTCompilerMAST.nqp:
Clean up and optimize want handling.

Avoids a couple of hash lookups, repeated num to string coercions, and so forth.
18:42
18:45 Mouq left
jnthn shop, cooking & 18:48
18:48 SamuraiJack left
FROGGS psch: I suggest you always create feature branches 18:50
18:52 xenoterracide left 18:53 xenoterracide joined
psch FROGGS: sound advice :) 18:54
ill brb
FROGGS :o)
18:54 Pleiades` left 18:55 psch left 18:58 jeffreykegler joined, Pleiades` joined 19:03 psch joined
FROGGS timotimo: j: 6183.61user 52.36system 27:43.77elapsed 374%CPU (0avgtext+0avgdata 2466304maxresident)k 19:03
1856inputs+23264outputs (1major+19251144minor)pagefaults 0swaps
19:07 rindolf left, rindolf joined 19:20 rindolf left 19:21 telex left
dalek p: fad3fb1 | (Tobias Leich)++ | tools/build/MOAR_REVISION:
get moar's copy() fixes
19:22
19:22 telex joined, Mouq joined
dalek kudo/nom: 3c998b9 | (Tobias Leich)++ | src/Perl6/Actions.nqp:
make subcaptures in assertions which have aliases

This was forgotten in related commit.
19:23
kudo/nom: 7cdddcd | (Tobias Leich)++ | tools/build/NQP_REVISION:
get moar's copy() fixes
19:24
19:24 shlomocomputer joined
FROGGS everybody should delete files like non-existent-copy-mtgt and non-existent-copy-stgt in his rakudo dir if he/she spectested moar in the past 19:25
19:27 Rotwang joined, shlomocomputer left 19:28 Mouq left 19:29 Mouq joined 19:33 jeffreykegler left, gcole joined
dalek p: 2727eaa | (Tobias Leich)++ | tools/build/MOAR_REVISION:
bump nqp rev for substr fixes
19:38
kudo/nom: 19ba6a0 | (Tobias Leich)++ | tools/build/NQP_REVISION:
bump nqp rev for substr fixes
19:39
19:40 jnap joined
masak slightly OT, but probably fairly easily on-topic-able: does anyone have any resource detailing Perl 5's "programmable keywords"? I can't find any. 19:42
apparently they've been in since 5.14
19:43 molaf left, ajr joined, ajr is now known as Guest81813 19:44 Guest81813 is now known as ajr_ 19:45 jnap left
moritz nothing about int perl5140delta 19:55
masak: I'd try #p5p
tadzik I thought that's Pluggable Keywords 19:56
19:57 berekuk joined 19:58 takadonet left
masak moritz: I've since learned (on #perl on this server) that it's 'pluggable keywords' 19:58
moritz is that the API for doing what you needed Devel::Declare for?
masak yeah, think so.
and apparently metacpan.org/pod/Function::Parameters is a prime example of using it.
(I'm trying to build a case for my Perl 5 class to upgrade to >5.8) 19:59
TimToady 6 > 5 :) 20:00
masak TimToady: you are such a troll :P
moritz masak: say, state vars, better Unicode support, ...
masak TimToady: but if it makes you feel better, our course does have Perl 6 slides ;)
moritz: ooh, state vars.
moritz masak: but more importantly, regexes don't use the C stack anymore
masak ooh xx 2 20:01
hashing doesn't have that exploit anymore.
moritz masak: in perl 5.8, you can crash nearly any perl program by passing sufficiently long strings to it
masak I remember.
that actually is a compelling reason. 20:02
moritz (which is the main reason for Mojolicious dropping 5.8, iirc)
masak because the average string people pass to regexes is likely to become longer over time.
20:03 berekuk left
TimToady blames our genes 20:04
PerlJam thought it was physics.
diakopter my genes have a tear
PerlJam diakopter: are they sad? ;)
diakopter er, a rip.
masak .oO( did they split in two nearly-identical parts? that's how genes usually look! ) :P 20:05
TimToady but not a Big Rip
skids tries to make a helix with his knees. 20:06
TimToady performs a Mersenne Twistor
diakopter they partially recombined anyway 20:07
TimToady the Big Zip
diakopter faded is more recessive
TimToady: I think you mean rfolded :) 20:08
TimToady it's the Big Cross operator that amplifies our gene strings
masak for some reason I'm thinking you are talking about star constellations. 20:09
diakopter Little zipper is usually made of nylon
TimToady wants to make a pun on panspermia, but decides not to 20:10
dalek kudo/nom: c5ca990 | (Tobias Leich)++ | tools/build/Makefile-Moar.in:
delete files that were created by wrong copy() impl

Even copy() is fixed, these files make spectests fail. So we remove them. This line, though it does not hurt, should be removed in a few months.
diakopter homespunspermutations
PerlJam diakopter++ 20:11
diakopter TimToady seeded that one
er, sod anyway 20:12
TimToady better quit while you're behind....er...
nice weather today... 20:14
skids grumbles. Has to freeze at gas pump after work. 20:15
20:15 darutoko left
diakopter so jacket, such whinedy 20:15
TimToady FROGGS++ for actually doing something
FROGGS we're going to build a U+2603 this weekend :o)
\o/
TimToady now, build a U+2604 and you'll have more ice to work with 20:16
FROGGS *g*
nah, not with $kids
diakopter iceborg cube? 20:17
FROGGS std: /<:gc<Letter>>/ # I think I am going to implement that now 20:18
camelia std 09dda5b: OUTPUT«ok 00:01 123m␤»
masak FROGGS: I read that as 'nah, not with skids'. was thinking "wah, what's skids doing at FROGG's house?" :P
PerlJam masak: funny, I had a similar reading/thought at first 20:19
skids funny, I didn't. :-)
FROGGS hehe
masak :D
TimToady usually they make movies about dismantling a U+2604, not putting one together
diakopter r: say 'a' ~~ /<:General_Category:Letter>/ 20:20
camelia rakudo-jvm 334033: OUTPUT«java.util.regex.PatternSyntaxException: Unknown character property name {General_Category} near index 19␤\p{General_Category}␤ ^␤␤Error while creating backtrace: No such method 'Int' for invocant of type 'Any'␤ in block at gen/…»
..rakudo-parrot 334033, rakudo-moar 334033: OUTPUT«「a」␤␤»
TimToady pictures this really big Space Snowman, with a tail
lue p: say "abc" ~~ ☃<alpha>+☄
camelia rakudo-parrot 334033: OUTPUT«===SORRY!=== Error while compiling /tmp/Eh8vNbaBKy␤Two terms in a row␤at /tmp/Eh8vNbaBKy:1␤------> say "abc" ~~ ⏏☃<alpha>+☄␤ expecting any of:␤ postfix␤ infix stopper␤ infix…»
FROGGS btw, rakudo's p-install takes 5m51.272s, while m-install takes 2m6.315s
what the...
diakopter <:General_Category:Letter> 20:21
FROGGS r: say 'aA' ~~ /<:gc:Lu>/
moritz including building stuff?
camelia rakudo-jvm 334033: OUTPUT«java.util.regex.PatternSyntaxException: Unknown character property name {gc} near index 5␤\p{gc}␤ ^␤␤Error while creating backtrace: No such method 'Int' for invocant of type 'Any'␤ in block at gen/jvm/CORE.setting:10596␤ in block at gen…»
..rakudo-parrot 334033, rakudo-moar 334033: OUTPUT«「A」␤␤»
FROGGS std: say 'aA' ~~ /<:gc:Lu>/
camelia std 09dda5b: OUTPUT«===SORRY!===␤Unable to parse metachar at /tmp/ESHna7OeZH line 1:␤------> say 'aA' ~~ /⏏<:gc:Lu>/␤Couldn't find final '>'; gave up at /tmp/ESHna7OeZH line 1:␤------> say 'aA' ~~ /<:gc⏏:Lu>/␤ …»
FROGGS ha!
moritz: after a make clean
TimToady that's not legal syntax
FROGGS that is what I thought too
diakopter use libertine;
FROGGS how does that even work?
lue Isn't it <:gc<Lu>> or something?
FROGGS lue: yes 20:22
diakopter cackles
20:22 kbaker joined
TimToady crows 20:22
FROGGS because <:gc> is kinda <:gc<True>>
diakopter r: say 'aA' ~~ /<:Lu>/
camelia rakudo-parrot 334033, rakudo-jvm 334033, rakudo-moar 334033: OUTPUT«「A」␤␤»
FROGGS quacks
diakopter it works because of that
FROGGS r: say 'aA' ~~ /<:mumble:Lu>/
camelia rakudo-jvm 334033: OUTPUT«java.util.regex.PatternSyntaxException: Unknown character property name {mumble} near index 9␤\p{mumble}␤ ^␤␤Error while creating backtrace: No such method 'Int' for invocant of type 'Any'␤ in block at gen/jvm/CORE.setting:10596␤ in b…» 20:23
..rakudo-moar 334033: OUTPUT«「A」␤␤»
..rakudo-parrot 334033: OUTPUT«Unicode property 'mumble' not found␤ in regex at /tmp/tmpfile:1␤ in method ACCEPTS at gen/parrot/CORE.setting:12497␤ in method ACCEPTS at gen/parrot/CORE.setting:778␤ in block at /tmp/tmpfile:1␤␤»
FROGGS r: say 'aA' ~~ /<:Ll:Lu>/
camelia rakudo-parrot 334033, rakudo-jvm 334033, rakudo-moar 334033: OUTPUT«「a」␤␤»
FROGGS ohh
diakopter seems union
such union
FROGGS r: say 'aA' ~~ /<:Ll:Lu>+/
camelia rakudo-parrot 334033, rakudo-jvm 334033, rakudo-moar 334033: OUTPUT«「aA」␤␤»
FROGGS r: say 'aA' ~~ /<:[Ll,Lu]>+/
camelia rakudo-parrot 334033, rakudo-jvm 334033, rakudo-moar 334033: OUTPUT«===SORRY!===␤Unrecognized regex metacharacter < (must be quoted to match literally)␤at /tmp/tmpfile:1␤------> say 'aA' ~~ /<⏏:[Ll,Lu]>+/␤Unrecognized regex metacharacte…»
lue
.oO( say $_ if $_ ~~ /<:Age(6.0..*)>/ for ^0x11_0000».chr )
20:24
FROGGS that is not supposed to be legal I guess
TimToady r: say 'aA' ~~ /<:Ll+:Lu>+/ 20:25
camelia rakudo-parrot 334033, rakudo-jvm 334033, rakudo-moar 334033: OUTPUT«「aA」␤␤»
TimToady r: say 'aA' ~~ /<:Ll-:Lu>+/
camelia rakudo-parrot 334033, rakudo-jvm 334033, rakudo-moar 334033: OUTPUT«「a」␤␤»
TimToady r: say 'aA' ~~ /<:L-:Ll>+/
camelia rakudo-parrot 334033, rakudo-jvm 334033, rakudo-moar 334033: OUTPUT«「A」␤␤»
FROGGS that might be even acceptable
lue I think <:A:B> should be implicit <:A + :B>, unless that's wildly inconsistent with other things that go in <> 20:26
TimToady std: say 'aA' ~~ /<:L-:Ll>+/
camelia std 09dda5b: OUTPUT«ok 00:01 125m␤»
TimToady hates juxtaposition operators
especially if they don't mean a sequence
TimToady hates that the mathematicians stole juxtaposition to mean multiplication 20:27
though one can see the linguistic underpinnings of it 20:28
FROGGS ohh, that is even a word O.o
TimToady "three fours"
masak TimToady: it's not all set in stone though. 20:29
TimToady so <:A:B> is right out, as far as I'm concerned
masak TimToady: regexes use juxtaposition to mean concatenation.
TimToady "sequence"
FROGGS "yeah"
masak which is more of an 'add' than a 'multiply' in that context.
TimToady regexes don't concatenate 20:30
masak right, right, pattern sequencing.
PerlJam masak: I thought regexes use juxtaposition to mean ... juxtaposition
masak PerlJam: hard to argue with that.
TimToady anyway, the null operator has a decent use in regexes, but you'll note it's much harder to detect errors that a TTIAR parser candetec 20:31
can detect, even, speaking of TTIAR 20:32
diakopter bird food 20:33
TimToady still hung up on those seeds, eh?
diakopter worms, I though
t
TimToady if I go to the store and ask for birdfood, they don't hand me worms 20:34
PerlJam That probably depends on the store.
(and the bird)
TimToady you have to ask for bait over there
anyway, most birds are not robins 20:35
PerlJam
.oO( What are most birds? )
diakopter STEGOSAURUS 20:36
TimToady
.oO( resting )
diakopter PerlJam: non-round robins
TimToady obviously they don't eat roundworms
diakopter so, square tweeuits
squee. 20:37
*bullseye* the heart of the ringworm
ahahaha 20:38
TimToady looks askance
diakopter that's not a faq, then 20:39
[OT] what's the line between loose association and complete nonsense 20:40
answer: complete nonsense? what's that?
TimToady comletes his nonsense for the day 20:41
masak diakopter: category theory :P 20:44
TimToady *comp 20:47
20:48 grep0r left
Mouq r: my $a = $*IN.open; $a.lines[4]; $a.ins.say; my $b = $*IN.open; for $b.lines { $b.ins.say } # :(( 20:49
camelia rakudo-moar 19ba6a: OUTPUT«(signal SEGV)»
..rakudo-jvm 19ba6a: OUTPUT«0␤»
..rakudo-parrot 19ba6a: OUTPUT«5␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤»
diakopter oopsie 20:50
Mouq rakudo-parrot's the only one it works for with $*IN, but for a generalized filehandle, it still does what I don't mean
what I expect and hope for is «5␤1␤2␤3␤…» 20:51
r: my $a = $*IN.open; $a.lines[4]; $a.ins.say; my $b = $*IN.open; $b.lines.map: { $b.ins.say } 20:52
camelia rakudo-moar 19ba6a: OUTPUT«(signal SEGV)»
..rakudo-jvm 19ba6a: OUTPUT«0␤»
..rakudo-parrot 19ba6a: OUTPUT«5␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤»
Mouq Hrm
colomon are you supposed to be able to open $*IN? I thought it started open
diakopter r: my $a = $*IN.open; $a.lines[4]; $a.ins.say; my $b = $*IN.open; for $b.lines { $b.say } # :((
camelia rakudo-parrot 19ba6a: OUTPUT«5␤IO PMC FileHandle is not in mode 2␤ in method print at gen/parrot/CORE.setting:13235␤ in method print at gen/parrot/CORE.setting:13233␤ in method say at gen/parrot/CORE.setting:13247␤ in method say at gen/parrot/CORE.setting:1036␤ in b…»
..rakudo-moar 19ba6a: OUTPUT«(signal SEGV)»
..rakudo-jvm 19ba6a: OUTPUT«0␤»
Mouq r: my $a = $*IN; $a.lines[4]; $a.ins.say; my $b = $*IN; $b.lines.map: { $b.ins.say }
camelia rakudo-moar 19ba6a: OUTPUT«(signal SEGV)»
..rakudo-jvm 19ba6a: OUTPUT«0␤»
..rakudo-parrot 19ba6a: OUTPUT«5␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤20␤»
colomon rL say $*IN.lines()[4]
r: say $*IN.lines()[4] 20:53
camelia rakudo-jvm 19ba6a: OUTPUT«Nil␤»
..rakudo-moar 19ba6a: OUTPUT«(signal SEGV)»
..rakudo-parrot 19ba6a: OUTPUT«Schlafe in himmlischer Ruh!␤»
Mouq colomon: I guess .open.open doesn't make a difference?
moritz oops, I guess it's time to get rid of the christmas carol as $*IN 20:54
colomon I've no idea what could be going on there.
dalek albot: b0e08cf | moritz++ | stdin:
no-Christmas stdin
20:56
moritz evalbot control pull
camelia (success)
20:57 grep0r joined
lizmat p: say $*IN.lines()[4] 20:57
camelia rakudo-parrot 19ba6a: OUTPUT«␤»
TimToady maybe we should go with the Mongolian national anthem now
Mouq r: say $*IN.lines()[^4]
camelia rakudo-parrot 19ba6a: OUTPUT«There were three men came out of the West Their fortunes for to try And these three men made a solemn vow John Barleycorn must die␤»
..rakudo-moar 19ba6a: OUTPUT«(signal SEGV)»
..rakudo-jvm 19ba6a: OUTPUT«␤»
lizmat p: say $*IN.lines
camelia rakudo-parrot 19ba6a: OUTPUT«There were three men came out of the West Their fortunes for to try And these three men made a solemn vow John Barleycorn must die They've ploughed, they've sewn, they've harrowed him in Threw clouds upon his head And these three men made a solemn vow J…»
TimToady not very unicodey... 20:58
20:59 jnap joined
colomon Woah, was just listening to a Scottish version of John Barleycorn earlier this week,. 21:01
moritz it's all Unicode characters
FROGGS .oO( even John )
21:02 dayangkun left
TimToady no, it's only some of the Unicode characters 21:02
Mouq r: my $b = $*IN; for {$b.lines[(state$)++]}...* { $b.ins.say } # almost, but hangs
sergot Hope you heard about what happend to blogs.perl.org and you've changed your passwords. perlhacks.com/2014/01/blogs-perl-org/
camelia rakudo-jvm 19ba6a: OUTPUT«(timeout)»
..rakudo-moar 19ba6a: OUTPUT«(signal SEGV)»
..rakudo-parrot 19ba6a: OUTPUT«(timeout)1␤3␤6␤10␤15␤21␤28␤36␤45␤»
colomon this album: www.springthyme.co.uk/ah04/ 21:03
TimToady: if you have an input that involves ALL of the Unicode characters...
Mouq Whoa, RP, what are you doing?
Oh, wait, it even work locally :L
*doesn't
21:05 zby_home_ left 21:06 denisboyun left
moritz colomon: an input with all Unicode characters would be too long for the evalbot :-) 21:08
21:10 denisboyun joined
Mouq gist.github.com/Mouq/8557617 and mouq.github.io/feast.html updated (still horrible and ugly) 21:17
diakopter moritz: not if you generated and eval'd it 21:18
PerlJam Mouq++ nice
masak sergot: not sure it's possible to change password yet. 21:21
sergot: (can't sign into the site)
PerlJam Mouq: it would be nice if there were links to the failing tests as well. And the trifecta would be to also link to the source that contains the item being tested. 21:22
btyler masak: the password change is for anywhere else you might be using that password, since the database dump includes username/email + the password hash (which was only hashed with crypt, I think, not b/scrypt)
they've disabled logins on blogs.perl.org for the time being. I suspect they'll have everyone go through the password reset process before logging in again 21:23
Mouq PerlJam: That would be very nice :) 21:25
PerlJam: I suppose because of TODO messages, it shouldn't be too hard to do, actually… maybe… 21:27
21:29 root2 joined
Mouq It also doesn't look at fails yet, because those details aren't output in [Coke]++'s logs 21:30
21:30 root2 left 21:31 jeffreykegler joined 21:33 root2 joined, root2 left, stevan_ left 21:36 jeffreykegler left
Mouq hoelzro++ # bitbucket.org/birkenfeld/pygments-...equest/277 21:47
21:50 spider-mario left 21:55 denisboyun left 21:58 kaare__ joined 22:03 skids left
[Coke] sergot: can't change passwords until "signin" works again. 22:05
Mouq: nifty; fyi, headers don't line up with data. 22:06
mouq: failures are listed at the bottom of the file. 22:07
e.g. github.com/coke/perl6-roast-data/b....out#L2221
mouq++, glad to see someone doing something with that data. :) 22:08
jnthn masak: When are you planning to cut the release tomorrow? 22:11
22:11 kbaker left 22:12 Alula|WORK is now known as Alula
masak jnthn: on the train on the way home from @city[0] 22:12
or, failing that, after I get home around 23:00. 22:13
[Coke] masouq?
jnthn I like trains!
Mouq [Coke]: Oh! forgot about that! Thank you, [Coke]
FWIW, I've been doing all the work here: github.com/Mouq/perl6-roast-data 22:14
dalek rl6-roast-data: c5e61a0 | coke++ | / (6 files):
today (automated commit)
22:15
[Coke] um. 22:16
timotimo wat
[Coke] someone broke the jvm, I think.
m: say "moar now at {100*28637/28279}% of java" 22:17
camelia rakudo-moar c5ca99: OUTPUT«moar now at 101.265957% of java␤»
Mouq jvm and parrot boeth got massive new fails…
[Coke] +S05-mass/properties-general.rakudo.jvm aborted 602 test(s) 22:18
22:18 ajr_ left, bakedb left
timotimo oh 22:18
[Coke] looks like it was FROGGS++ this time, not me. :) 22:19
FROGGS but I already fixed it ó.ò
it was a stupid (but funny) mistake 22:20
22:20 bakedb joined, Rotwang left
[Coke] so tomorrow's run will catch it, then. 22:20
jnthn Oh, massive new fails from a sinlge massive file, though...
[Coke] enjoy your moment in the sun, moar.
jnthn :P 22:21
FROGGS ohh, that won't be the last day for moar being the one :o)
jnthn Oh, that reminds me...I should apply that Solaris patch
22:23 dmol left 22:27 pecastro joined 22:30 treehug88 left
timotimo is there a way to tell a list or hash to error out instead of autovivifying elements? 22:32
Mouq is default({die})? :P
timotimo oooh 22:33
no, i don't think that will work
Mouq No, neither do i :)
r: my @a is default({die}); say 'alive' 22:34
camelia rakudo-parrot c5ca99, rakudo-jvm c5ca99, rakudo-moar c5ca99: OUTPUT«alive␤»
timotimo i think it'll just replace the die before trying to sink it
Mouq r: my @a is default({die}); @a[2]; say 'alive'
camelia rakudo-parrot c5ca99, rakudo-jvm c5ca99, rakudo-moar c5ca99: OUTPUT«alive␤»
22:34 stevan_ joined
timotimo yeah, i feared as much 22:34
Mouq r: my @a is default({die}); @a[2](); say 'alive'
camelia rakudo-parrot c5ca99, rakudo-jvm c5ca99, rakudo-moar c5ca99: OUTPUT«␤ in block at /tmp/tmpfile:1␤␤»
Mouq That's still awesome though 22:35
timotimo enh, more or less
22:35 pecastro left
timotimo d'oh 22:35
i have the solution
r: my Int @a; @a[5][6] = 7
camelia rakudo-parrot c5ca99: OUTPUT«Type check failed in assignment to '@a'; expected 'Int' but got 'Array'␤ in sub infix:<=> at gen/parrot/CORE.setting:16285␤ in block at gen/parrot/CORE.setting:1692␤ in block at /tmp/tmpfile:1␤␤»
..rakudo-moar c5ca99: OUTPUT«Type check failed in assignment␤ in sub infix:<=> at src/gen/m-CORE.setting:16016␤ in block at src/gen/m-CORE.setting:1688␤ in block at /tmp/tmpfile:1␤␤»
..rakudo-jvm c5ca99: OUTPUT«Type check failed in assignment to '@a'; expected 'Int' but got 'Array'␤ in sub infix:<=> at gen/jvm/CORE.setting:16019␤ in block at gen/jvm/CORE.setting:1688␤ in block at /tmp/tmpfile:1␤␤»
Mouq jnthn: with latest MoarVM: 22:43
$ perl6 -e'say $*IN.get'
(newline)
timotimo that should have been super obvious immediately
Mouq $ echo 'abcd' | perl6 -e'say $*IN.get'
[1] 53890 done echo 'abcd' | 53891 segmentation fault perl6 -e'say $*IN.get'
jnthn Mouq: Yeah. "works on Windows"... 22:44
Mouq jnthn: Yup, just letting you know :) jnthn++
22:46 bluescreen100 left 22:53 Alula left 22:56 Alula joined
Mouq jnthn++ $*IN.{get,lines} working 23:00
jnthn Mouq: Well...not for FROGGS :) 23:01
Mouq: His .lines hangs
Mouq And he's putting ^D after his input and everything? Or is that not how .lines is supposed to work? 23:02
Mouq joins #moarvm
timotimo what do i do next? :\ 23:12
FROGGS RT? 23:25
23:26 ivanshmakov left
timotimo hmm :\ 23:28
23:28 benabik joined
timotimo commutes home 23:34
23:38 skids joined 23:51 fhelmberger joined, mtk left 23:52 stevan_ left 23:53 BenGoldberg joined 23:57 fhelmberger left
BenGoldberg Is the 000000 here a niecza bug? 23:57
p6: pi.fmt('%.20f').say
camelia niecza v24-109-g48a8de3: OUTPUT«3.14159265358979000000␤»
..rakudo-parrot c5ca99: OUTPUT«3.01.4159265358979e+19␤»
..rakudo-moar c5ca99: OUTPUT«3.09223372036854775808␤»
..rakudo-jvm c5ca99: OUTPUT«3..4159265358979318E19␤»