Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2014-11-15

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:04 * lizmat just committed https://github.com/rakudo/rakudo/commit/d40fd5da3e7b8c2ef4818cd21d26f7f214eb9734
00:04 lizmat actually, I think the current implementation of last-index is bogus...
00:05 lizmat if the list in infinite, self.elems will fail anyway...
00:05 lizmat *is
00:06 japhb So does anyone actually know what happened to dalek?
00:06 adu joined #perl6
00:07 timotimo i managed to get the not and prefix:<!> code much, much tighter
00:08 timotimo could be a tiny bit better, but i'll take the current improvement
00:22 renormalist joined #perl6
00:23 lizmat japhb: afaik, dalek runs on feather and feather is down?
00:23 japhb Ah!  For some reason I thought dalek was third party, just invited in, like yoleaux.
00:27 lizmat I have no idea, really  :-)
00:28 lizmat moritz probably knows best
00:28 lizmat but asleep
00:28 * lizmat just committed https://github.com/rakudo/rakudo/commit/7dd7292eb07cd0feca40eae85ffcf18280b0a768
00:29 lizmat and with that thought, I'm going to follow moritz' example
00:29 lizmat good noght, #perl6!
00:29 lizmat *night  :-)(
00:33 grondilu left #perl6
00:36 erkan joined #perl6
00:36 erkan joined #perl6
00:38 timotimo gnite liz :)
00:38 lizmat joined #perl6
00:41 bbkr what should I do when I randomly get segfaults or other errors when using Promises on HEAD rakudo-moar? for example: https://gist.github.com/bbkr/28e8fd7c90344f4ae6b7
00:43 timotimo perhaps see if the problem goes away by setting MVM_SPESH_DISABLE or MVM_JIT_DISABLE in your environment
00:43 timotimo so that we can see if jitting/speshing makes things worse or doesn't impact it
00:43 bbkr trying it now..
00:43 rurban joined #perl6
00:43 JimmyZ bbkr: known bug
00:44 JimmyZ https://github.com/moarvm/moarvm/issues # it's here :)
00:45 bbkr MVM_SPESH_DISABLE=1 did not help
00:45 timotimo OK
00:46 timotimo spesh_disable also disables jit
00:46 * JimmyZ thinks it's a GC bug :P
00:48 jnthn JimmyZ: Possible, but previous such issues have often not been that
00:52 jnthn (GC happens when all threads have agreed "it's a safe time", so there's actually quite a lot less to go wrong during that.)
00:52 timotimo yeah
00:53 raiph joined #perl6
00:53 JimmyZ perl6 -e 'loop { start { say "hello" } }' # the easy way to get the bug...
00:53 timotimo oh?
00:53 timotimo we already lock output stuff, don't we?
00:54 timotimo When invoking , Provided outer frame 0x376a560 (MVMStaticFrame protect) does not match expected static frame type 0x3774f30 (MVMStaticFrame start)
00:54 timotimo i get that after a whole lot of hellos
00:54 JimmyZ not sure whether it's the same or not, but similar
00:55 xenoterracide_ joined #perl6
00:55 timotimo i cannot pipe that into wc -l because that doesn't trigger the bug any more ...
00:55 JimmyZ timotimo: you will get different error after some retry
00:55 timotimo No such method 'vow' for invocant of type 'Any'
00:55 timotimo in method start at src/gen/m-CORE.setting:20725
00:55 timotimo in sub start at src/gen/m-CORE.setting:20774
00:56 timotimo after 20 wallclock (35.3 user) seconds
00:56 bbkr I also get jvm bugs when using Promises on the same code - https://gist.github.com/bbkr/4276c813fc518665a457 - maybe clang is to blame?
00:57 timotimo hmmm
00:58 timotimo huh, interesting
00:58 timotimo this time it stopped writing hello
00:59 timotimo but it's using a whole lot of cpu time
00:59 timotimo so ... must be a live lock?
01:00 timotimo saying an increasing number gets me to 15818 and then "no such method vow"
01:00 JimmyZ another cpu cost: loop { say "hello"; } cost ~20% CPU ,but  with perl5 it costs ~1% cpu
01:00 anaeem1 joined #perl6
01:01 bbkr in my case "No such method 'vow'" on 46029th iteration
01:01 bbkr "invalid status -427132408 in GC orchestrate" on 51480th
01:02 bbkr "Abort trap: 6" on 63050th
01:02 timotimo could become a stresstest i suppose
01:03 JimmyZ I meant perl6-m cost ~20PU
01:04 JimmyZ ~20%
01:04 timotimo thought so
01:05 bbkr "my $x = 0; loop { start { sleep 0.01 } }" always gives me SEGV
01:06 bbkr when variable declaration is removed it works fine
01:06 bbkr moar: my $x = 0; loop { start { sleep 0.01 } }
01:07 japhb If you can turn it into a bounded loop and still get the errors, that's definitely a good stress test.
01:07 japhb How long does it run before failing?
01:08 bbkr "loop { start { sleep 0.01 } }" also failed. after 2 minutes on i4770k + 16GB RAM.
01:08 bbkr with variable it fails within few seconds
01:08 japhb bbkr: The fact that the presence of 'my $x = 0;' is a reliable SEGV switch seems like a strong indicator.
01:09 japhb Oh wait, without it its failing too?  Dang.
01:09 bbkr yes, but it takes much longer
01:09 japhb hmmmm
01:10 bbkr ah, that was not true at all also. another try without variable segfaulted within 2 seconds
01:10 bbkr looks like SEGV is ceratin but time is not
01:10 JimmyZ A good random time producer :P
01:11 japhb Sigh
01:11 jnthn If only we had a good random people-capable-of-finding-thread-bugs producer... :P
01:11 jnthn Well, s/finding/fixing/ I guess :P
01:11 japhb At least you can get a reliable SEGV on very short valid code.
01:11 jnthn *nod*
01:12 jnthn Yes, that's an improvement.
01:12 jnthn Now I just need some undisturbed, non-exhausted, time to dig into them.
01:12 japhb I'm hoping that if we get the failure repro code short enough, then there's only so much in the VM that could actually even get touched.  :-)
01:13 * japhb idly wonders if its possible to reproduce the error with a very restricted setting.
01:13 japhb Can you spawn threads in RESTRICTED?
01:14 japhb m: start { say "Hello"; }; sleep 2;
01:14 camelia rakudo-moar d40fd5: OUTPUT«Hello␤»
01:14 timotimo i think the restricted setting is actually the core setting *plus* restriction
01:14 timotimo s
01:14 timotimo so it'd end up bigger, i think
01:14 japhb m: loop { start { sleep 0.01 } }
01:14 camelia rakudo-moar d40fd5: OUTPUT«Memory allocation failed; could not allocate 8824 bytes␤»
01:15 japhb Oh, that old song
01:16 JimmyZ https://gist.github.com/zhuomingliang/135d8926a133ee680470#file-hangs # I had got some bt :P
01:16 JimmyZ two months ago
01:17 bbkr now I got huge stacktrace on debian-wheezy box: https://gist.github.com/bbkr/472fcc7373cd21e7b048
01:19 JimmyZ hangs means there is a resource contention between threads ?
01:19 timotimo possible
01:19 timotimo how do you build thread sanitization?
01:20 JimmyZ don't know, I'm on win32
01:20 japhb Search for ThreadSanitizer aka tsan
01:25 timotimo maybe i have helgrind here already
01:26 araujo joined #perl6
01:30 timotimo helgrind doesn't see problems with the code, it seems
01:31 TimToady you need one of them analyzers that solves the halting problem
01:34 * colomon is reminded that Jen once told her coworkers she was going to use one of those new-fangled teleporters to get to Florida...
01:50 timotimo i'm going to bed, too
01:50 timotimo i accumulated a slight headache somehow
01:50 vendethiel :(
01:50 vendethiel g'night, timotimo
01:57 anaeem1 joined #perl6
02:04 anaeem1 joined #perl6
02:08 anaeem1_ joined #perl6
02:08 xinming joined #perl6
02:19 anaeem1 joined #perl6
02:30 anaeem1 joined #perl6
02:38 regreg joined #perl6
02:46 anaeem1 joined #perl6
03:01 tinyblak joined #perl6
03:02 anaeem1_ joined #perl6
03:03 anaeem1 joined #perl6
03:15 synopsebot joined #perl6
03:18 bjz joined #perl6
03:18 tinyblak_ joined #perl6
03:19 Mouq joined #perl6
04:00 xenoterracide_ joined #perl6
04:03 anaeem1 joined #perl6
04:04 rmgk_ joined #perl6
04:08 raiph joined #perl6
04:24 KCL_ joined #perl6
04:30 Ben_Goldberg joined #perl6
04:37 bjz_ joined #perl6
04:50 bjz joined #perl6
04:59 esaym153 joined #perl6
05:01 dsm joined #perl6
05:02 dsm $ panda install IO::Socket::INET
05:02 dsm resolve stage failed for IO::Socket::INET: Project IO::Socket::INET not found in the ecosystem
05:02 dsm are there any Socket package in Perl 6?
05:03 tony-o it's in core iirc
05:04 dsm what is iirc?
05:04 tony-o if i recall correctly
05:04 tony-o r: IO::Socket::INET.new;
05:04 camelia rakudo-moar 7dd729: OUTPUT«Unhandled exception: Nothing given for new socket to connect or bind to␤   at <unknown>:1  (/home/camelia/rakudo-inst-1/languages/perl6/runtime/CORE.setting.moarvm:throw:4294967295)␤ from src/gen/m-CORE.setting:13764  (/home/camelia/rakudo-inst-1/langu…»
05:04 camelia ..rakudo-parrot 7dd729: OUTPUT«Nothing given for new socket to connect or bind to␤current instr.: 'throw' pc 476005 (src/gen/p-CORE.setting.pir:197349) (gen/parrot/CORE.setting:12131)␤called from Sub 'sink' pc 519057 (src/gen/p-CORE.setting.pir:213085) (gen/parrot/CORE.setting:137…»
05:05 dsm :( Thanks
05:07 tony-o why :(?
05:07 dsm are there any cpan like page about IO::Socket::INET?
05:08 tony-o there may be, none that i know of currently..the source is located here: https://github.com/rakudo/rakudo/blob/nom/src/core/IO/Socket/INET.pm
05:09 dsm thank you :)
05:12 tony-o np[
05:47 adu joined #perl6
06:00 dsm https://github.com/rakudo/rakudo/blob/nom/src/core/Str.pm in this file, state %map is the whole list of currently supported encoding by Rakudo?
06:09 * Mouq would guess it's backend-dependent
06:09 xenoterracide_ joined #perl6
06:11 Mouq r: "abcd".encode("invalid"0
06:11 camelia rakudo-{parrot,moar} 7dd729: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/tmpfileâ�¤Unable to parse expression in argument list; couldn't find final ')' â�¤at /tmp/tmpfile:1â�¤------> [32m"abcd".encode("invalid"[33mâ��[31m0[0mâ�¤    expecting any of:â�¤      â€¦Â»
06:11 Mouq r: "abcd".encode("invalid")
06:11 camelia rakudo-moar 7dd729: OUTPUT«Unknown string encoding: 'invalid'␤  in method encode at src/gen/m-CORE.setting:7116␤  in block <unit> at /tmp/tmpfile:1␤␤»
06:11 camelia ..rakudo-parrot 7dd729: OUTPUT«encoding #-1 not found␤  in method encode at gen/parrot/CORE.setting:7123␤  in block <unit> at /tmp/tmpfile:1␤␤»
06:11 Mouq r: "abcd".encode("windows1252")
06:11 camelia rakudo-moar 7dd729: OUTPUT«Unknown string encoding: 'windows1252'␤  in method encode at src/gen/m-CORE.setting:7116␤  in block <unit> at /tmp/tmpfile:1␤␤»
06:11 camelia ..rakudo-parrot 7dd729: OUTPUT«encoding #-1 not found␤  in method encode at gen/parrot/CORE.setting:7123␤  in block <unit> at /tmp/tmpfile:1␤␤»
06:13 Mouq m: nqp::encode(nqp::unbox_s("abcd"), nqp::unbox_s("windows1252"), nqp::decont(blob8.new))
06:13 camelia rakudo-moar 7dd729: OUTPUT«Unknown string encoding: 'windows1252'␤  in block <unit> at /tmp/v2E5LjQNy2:1␤␤»
06:13 Mouq huh
06:15 Mouq r: "abcd".encode("windows-1252")
06:15 camelia rakudo-parrot 7dd729: OUTPUT«encoding #-1 not found␤  in method encode at gen/parrot/CORE.setting:7123␤  in block <unit> at /tmp/tmpfile:1␤␤»
06:15 camelia ..rakudo-moar 7dd729: OUTPUT«Unknown string encoding: 'windows-1252'␤  in method encode at src/gen/m-CORE.setting:7116␤  in block <unit> at /tmp/tmpfile:1␤␤»
06:16 tony-o Mouq: where is windows-1252
06:17 Mouq It's defined in MoarVM/src/strings/ops.c, it just isn't actually checked for to see if it's a valid encoding around line 1498
06:20 Mouq dsm: This is the best we have for IO::Socket::INET that I know of :( http://perlcabal.org/syn/S32/IO.html#IO%3A%3ASocket%3A%3AINET
06:20 dsm thank you.
06:21 Mouq Although that does inherit from IO::Socket, which has slightly better documentation above it. Still very LTA
06:21 * Mouq can't help with that tonight though
06:21 * Mouq -> bed
06:22 dsm GN
06:55 bjz joined #perl6
07:13 moritz \o
07:14 someanon joined #perl6
07:21 anaeem1 joined #perl6
07:30 anaeem1_ joined #perl6
07:47 sqirrel__ joined #perl6
07:55 KCL joined #perl6
08:00 KCL_ joined #perl6
08:02 kaare_ joined #perl6
08:05 darutoko joined #perl6
08:09 [Sno] joined #perl6
08:12 rurban joined #perl6
08:13 erkan joined #perl6
08:21 kurahaupo joined #perl6
08:32 anaeem1_ joined #perl6
08:35 gfldex joined #perl6
08:37 smls joined #perl6
08:38 smls How come loop control works inside map closures?
08:38 smls m: say (0..9).map: { next if $_ % 2; $_ }  # poor man's grep :P
08:38 camelia rakudo-moar 7dd729: OUTPUT«0 2 4 6 8␤»
08:39 moritz smls: it's by design
08:39 moritz smls: for loops desugar to a map
08:40 smls is it a built-in special case, or is it build on the exception system?
08:41 moritz the latter
08:47 smls m: my @things = 1 , { 2 } , 3; say @things.perl
08:47 camelia rakudo-moar 7dd729: OUTPUT«Array.new(1, -> ($_? is parcel) { #`(Block|72988912) ... }, 3)␤»
08:48 smls http://perlcabal.org/syn/S06.html#line_388 says "If the term bare block occurs in a list, it is considered the final element of that list unless followed immediately by a comma or colon"
08:48 smls does that mean something different?
08:50 molaf_ joined #perl6
08:52 moritz smls: "intervening \h* or "unspace" is allowed"
08:52 moritz m: say so ' ' ~~ /^\h*$/
08:52 camelia rakudo-moar 7dd729: OUTPUT«True␤»
08:52 smls oh, right
08:54 smls In any case I'm sceptical about the special parsing rules for blocks
08:54 smls Also the "semicolon optional after a  }  at the end of the line" rule
08:55 smls In Perl 5 it only applied to block statements like for/if, which are *already* special as far as parsing is concerned
08:56 rindolf joined #perl6
08:56 smls In Perl6 it was extended to all blocks, but I don't feel like that increases overall "consistency" -- more like spreads the inconsistency further... ;)
08:56 smls ...into places where innocent writers/readers of code might not expect it.
08:57 moritz smls: have you ever used Mojolicious in p5?
08:57 smls no
08:58 moritz smls: in the ::Lite version, controllers typically look like    get '/url' => sub { ... };
08:58 moritz smls: and when the sub is 10 or 20 lines long, it is *very* easy to forget that this is an anonymous sub, and must be terminated by }; and not just }
08:59 smls mmh
08:59 moritz smls: and of course p5 gives quite obscure errors when you forget it
08:59 moritz smls: given that experience, I'm very grateful for that rule
08:59 moritz smls: also, I routinely forget to close several-line eval { } blocks with a ;
09:03 smls I don't tend to use eval, but I do like to use anonymous subs a lot in Perl 5. I don't have trouble remembering that they are expressions, in context.
09:04 smls I do agree though, that error messages can get pretty bad in Perl
09:04 smls Especially with thinks like forgetting semicolons or braces, which I used to do when I was new to Perl
09:04 smls *things
09:06 [Sno] joined #perl6
09:07 smls In any case, I think there is something to be said for keeping syntactical special cases & inconsistencies containined in places that are deemed special enough to deserve them :)
09:21 masak good antenoon, #perl6!
09:21 ptc_p6 joined #perl6
09:25 moritz \o masak
09:26 Sam______ joined #perl6
09:26 Sam______ Hi perl mongers
09:27 Sam______ I've been a perl programmer since 1997... i love this language... BUT... currently doing it more on PHP and C... wanted to switch to Golang... but find C is best for efficiencies...
09:27 Sam______ Perl is dying
09:27 xiaomiao so it goes
09:28 Sam______ My proposition is this... we need to make it faster and compiled.
09:28 xiaomiao Gentoo has been dying since 2004, and now it's even used by Google (ChromeOS) and CoreOS
09:28 Sam______ CPAN is a treasure trove. COMPILE and speed it up yo! else... it's like a joke now
09:28 xiaomiao it's apparently just dying faster every year until it takes over everything (like perl? ;) )
09:28 firefish5000 joined #perl6
09:28 lizmat Sam______: rakudo perl6 *is* compiled
09:29 lizmat not yet faster than Perl5, but there are benchmarks in which rakudo perl6 is faster than perl5
09:29 moritz Sam______: your contributions to make perl 5 and/or perl 6 faster are very welcome
09:29 moritz and compiling isn't a magic bullet to making things faster
09:29 lizmat Sam______: speeding up simple Perl5 code is what "use v5" and JIT compiling promises to deliver
09:30 Sam______ fine fine... what about hhvm equivalent for perl then?
09:31 Sam______ hhvm is a game changer. we need something like that
09:31 xiaomiao Sam______: using php as an example is kinda ... no! go away!
09:31 moritz Sam______: then do it
09:31 moritz Sam______: I'll even work full-time on it if you organize the funds
09:32 Sam______ how much is needed? we can raise on kickstarter?
09:33 moritz well, a full time salary
09:33 rurban joined #perl6
09:34 Sam______ i was thinking in the line of perl -> php -> hhvm will be great improvement... kinda strange huh?
09:34 moritz yes, kinda very strange
09:35 moritz afk&
09:35 sqirrel__ joined #perl6
09:37 masak does anyone know of any good resources for canonicalizing undirected multigraphs?
09:38 lizmat not me
09:38 lizmat sightseeing&
09:43 rindolf joined #perl6
09:43 jnthn morning, #perl6
09:45 kaare_ joined #perl6
09:49 rindolf jnthn: morning, sup?
09:49 arnsholt o/
09:49 ghostlines joined #perl6
09:50 Sam______ why doesnt https://github.com/Perl/perl5 have issues section? also... where is perl6 on github? if you guys really want traction and serious contribution, put it on github. this language... has one of the worst way of contributing code i've come across...
09:51 JimmyZ joined #perl6
09:52 tadzik 1) why are you asking about perl 5? 2) Just how not-obvious is https://github.com/perl6? :)
09:53 btyler_ Sam: https://github.com/rakudo/rakudo and https://github.com/perl6 :P
09:53 tadzik (hello, #perl6)
09:53 masak o/
09:53 btyler_ perl5 uses a different model, they use a different bugtracker (which has plenty of activity)
09:55 btyler_ I'd note that there aren't actually many major dynamic languages that use the github issues (cpython, ruby also do not)
09:57 firefish5000 Anyone know of a good way to write testable docs? For instance, a program that test each pod segment (begin to end/cut)  with the code that follows, and then output the documentation in html/pod/otherformat with [pass/fail VERSION(s)] status in the segments header? (could pod do this? =pod test or something?)
10:00 jnthn firefish5000: Well, you can introspect the Pod associated with a given routine with .WHY, so that bit works out.
10:04 telex joined #perl6
10:07 vendethiel (hello, #perl6)
10:08 masak hayo, ven
10:12 vendethiel masak: do you haz any idea when you're gonna blog agan :)?
10:13 masak I keep telling myself to do it, but it doesn't seem to work :/
10:14 masak I've only had stretches of incredibly-busy time and brain-dead-recovering time recently.
10:14 masak this may change in a week or so.
10:14 masak I may get a blog post or two in before that. but no promises.
10:15 masak seems I 9 things queued up to blog about right now. all of them macro-related.
10:15 masak have*
10:18 jnthn So blog...
10:18 * jnthn didn't do a post for ages... :S
10:18 jnthn .oO( I didn't do much useful for ages... )
10:20 masak pfah. what has ages done for you recently?
10:22 * masak .oO( ask not what ages can do for you... )
10:27 spider-mario joined #perl6
10:35 firefish5000 back, (read S26). so <#| MyPod \n Class/method> would associate MyPod to the class/method. But if I wanted to add the pass/fail or in/out-of-date status to the header, I would need a script to call said routine and its .WHY, and modify the header, and output that to the docs directory...
10:37 Krabbe_ joined #perl6
10:42 masak firefish5000: sounds interesting. please share any early results you get about this.
10:42 masak &
10:47 espadrine` joined #perl6
10:55 virtualsue joined #perl6
10:56 firefish5000 lol, while I will happily share my work and results. But don't expect too much of me. (though I would be happy if you guys criticized me as if you did. I could use it)
11:04 ggoebel111111111 joined #perl6
11:29 moritz FROGGS: testers.perl6.org is down :(
11:40 smls m: say ("aaa,bbb,ccc" ~~ /^ (.*?) +% "," $/)[0]».Str.perl
11:40 camelia rakudo-moar 7dd729: OUTPUT«("", "a", "aa", "aaa", "", "b", "bb", "bbb", "", "c", "cc", "ccc")␤»
11:40 smls What's going on there?
11:40 smls How can it match the same letters repeatedly with the same capture group?
11:42 smls When I'm not doing any recursion afaict...
11:44 FROGGS moritz: it is up again
11:45 psch joined #perl6
11:46 psch hi #perl6
11:48 rindolf joined #perl6
11:49 FROGGS hi psch
11:51 psch m: say ("aaa,bbb,ccc" ~~ /^ (.*?) +% ',' $/)[0;$_].perl for 0..3
11:51 camelia rakudo-moar 7dd729: OUTPUT«(Match.new(orig => "aaa,bbb,ccc", from => 0, to => 0, ast => Any, list => ().list, hash => EnumMap.new()),)␤(Match.new(orig => "aaa,bbb,ccc", from => 0, to => 1, ast => Any, list => ().list, hash => EnumMap.new()),)␤(Match.new(orig => "aaa,bbb,ccc", fr…»
11:52 psch $0 consists of another list of matches, of which some don't match the whole string or something?
11:52 psch not sure why they don't, because the pattern is anchored
11:52 psch hey FROGGS
11:53 FROGGS o/
11:53 psch m: say ("aaa,bbb,ccc" ~~ /^ (.*?) +% ',' $/).elems
11:53 camelia rakudo-moar 7dd729: OUTPUT«1␤»
11:53 psch m: say ("aaa,bbb,ccc" ~~ /^ (.*?) +% ',' $/)[0].elems
11:53 camelia rakudo-moar 7dd729: OUTPUT«12␤»
11:54 psch "match the whole string with as little as possible seperated by commas" is how i parse the regex verbally
11:54 FROGGS m: say ("aaa,bbb,ccc" ~~ /^ (.*?) +% ',' $/)[0]
11:54 camelia rakudo-moar 7dd729: OUTPUT«「」␤ 「a」␤ 「aa」␤ 「aaa」␤ 「」␤ 「b」␤ 「bb」␤ 「bbb」␤ 「」␤ 「c」␤ 「cc」␤ 「ccc」␤␤»
11:54 psch m: say ("aaa,bbb,ccc" ~~ /^^ (.*?) +% ',' $$/)[0].elems
11:54 camelia rakudo-moar 7dd729: OUTPUT«12␤»
11:55 psch oh
11:55 psch m: say ("aaa,bbb,ccc" ~~ /^^ (.*?)+ % ',' $$/)[0].elems
11:55 camelia rakudo-moar 7dd729: OUTPUT«12␤»
11:55 FROGGS why does it capture '', 'a' and 'aa' ?
11:55 psch that makes more sense :P
11:55 psch FROGGS: ^^^
11:55 psch the capture group gets repeated
11:55 FROGGS >.<
11:55 psch and it's non-greedy, so it starts empty
11:55 psch m: say ("aaa,bbb,ccc" ~~ /^^ (.*)+ % ',' $$/)[0].elems
11:55 camelia rakudo-moar 7dd729: OUTPUT«1␤»
11:56 psch that gobbles everything
11:56 psch m: say ("aaa,bbb,ccc" ~~ /^^ (<-[,]>*)+ % ',' $$/)[0] # might be what smls wants
11:56 camelia rakudo-moar 7dd729: OUTPUT«「aaa」␤ 「bbb」␤ 「ccc」␤␤»
11:56 BenGoldberg joined #perl6
11:56 smls psch: I know i can write it that way, but why do I have to?
11:57 psch smls: because /(.*?) +% ','/ means /(.*?)+ % ','/
11:57 psch which means "repeated 1 or more empty-or-more groups and seperate them with commas"
11:57 psch m: say ("aaa,bbb,ccc" ~~ /^^ (.+)+? % ',' $$/)[0] # curious
11:57 camelia rakudo-moar 7dd729: OUTPUT«「aaa,bbb,ccc」␤␤»
11:58 psch m: say ("aaa,bbb,ccc" ~~ /^^ (.*?)+? % ',' $$/)[0] # curious
11:58 camelia rakudo-moar 7dd729: OUTPUT«「」␤ 「a」␤ 「aa」␤ 「aaa」␤ 「」␤ 「b」␤ 「bb」␤ 「bbb」␤ 「」␤ 「c」␤ 「cc」␤ 「ccc」␤␤»
11:58 sqirrel__ joined #perl6
11:59 psch smls: the capture is fine matching nothing, it then checks for ',', fails, and matches nothing + 1
11:59 psch it can't match 'a,b' because that's when ',' matches
12:00 psch so it starts from nothing again
12:00 psch m: say ("abc" ~~ /(.*?)/).perl
12:00 camelia rakudo-moar 7dd729: OUTPUT«Match.new(orig => "abc", from => 0, to => 0, ast => Any, list => (Match.new(orig => "abc", from => 0, to => 0, ast => Any, list => ().list, hash => EnumMap.new()),).list, hash => EnumMap.new())␤»
12:00 psch m: say ("abc" ~~ /(.*?)+/)[0].elems
12:00 psch uh
12:00 psch right
12:00 camelia rakudo-moar 7dd729: OUTPUT«Memory allocation failed; could not allocate 228392960 bytes␤»
12:01 smls but «「a」␤ 「aa」␤ 「aaa」» means that the same a is matched multiple times, how is that possible?
12:01 psch yeah basically that, except seperated with commas which keeps it in check somewhat
12:01 psch smls: afaiu, the % ',' restarts from the beginning of the string.  not sure if that's what we want there
12:02 psch m: say ("aa,bb" ~~ /^ [(.*?)+ % ','] $/)[0].elems
12:02 camelia rakudo-moar 7dd729: OUTPUT«6␤»
12:03 jnthn I wonder if it's somehow failing to throw away intermediate captures...
12:04 * psch isn't quite sure where to look...
12:05 smls m: say ("aaa,bbb,ccc" ~~ /^ (.*?) [',' (.*?)]* $/)   # what i thought the % construct desugeres too...
12:05 camelia rakudo-moar 7dd729: OUTPUT«「aaa,bbb,ccc」␤ 0 => 「aaa」␤ 1 => 「」␤ 1 => 「b」␤ 1 => 「bb」␤ 1 => 「bbb」␤ 1 => 「」␤ 1 => 「c」␤ 1 => 「cc」␤ 1 => 「ccc」␤␤»
12:06 * smls can't spell today
12:06 psch interestingly that one has a similar problem, from the looks of it
12:06 smls yeah but only in the second part
12:07 psch nested quantifiers /o\
12:08 smls well it's hard to avoid them when using  %
12:14 smls m: say ("aaa,bbb,ccc" ~~ /^ [(.+?) [',' || $ ]]+ $/)
12:14 camelia rakudo-moar 7dd729: OUTPUT«「aaa,bbb,ccc」␤ 0 => 「a」␤ 0 => 「aa」␤ 0 => 「aaa」␤ 0 => 「b」␤ 0 => 「bb」␤ 0 => 「bbb」␤ 0 => 「c」␤ 0 => 「cc」␤ 0 => 「ccc」␤␤»
12:14 psch i'm not advocating avoiding them, they just seem a bit wonky and complicated to get right from the outside
12:16 smls m: say ("aaa,bbb,ccc" ~~ /^ [(.+?) ',']/)
12:16 camelia rakudo-moar 7dd729: OUTPUT«「aaa,」␤ 0 => 「aaa」␤␤»
12:16 smls m: say ("aaa,bbb,ccc" ~~ /^ [(.+?) ','] ** 1/)
12:16 camelia rakudo-moar 7dd729: OUTPUT«「aaa,」␤ 0 => 「a」␤ 0 => 「aa」␤ 0 => 「aaa」␤␤»
12:17 smls looks like non-greedy quantifiers really don't like being nested inside other quantifiers
12:17 psch m: say ("aaa,bbb,ccc" ~~ /^ [(.+) ','] ** 1/)
12:17 camelia rakudo-moar 7dd729: OUTPUT«「aaa,bbb,」␤ 0 => 「aaa,bbb,ccc」␤ 0 => 「aaa,bbb,cc」␤ 0 => 「aaa,bbb,c」␤ 0 => 「aaa,bbb,」␤ 0 => 「aaa,bbb」␤␤»
12:17 psch that doesn't really look better
12:18 smls m: say ("abcd" ~~ /^ [(.+?)] ** 1 $/ )   # simpler test-case
12:18 camelia rakudo-moar 7dd729: OUTPUT«「abcd」␤ 0 => 「a」␤ 0 => 「ab」␤ 0 => 「abc」␤ 0 => 「abcd」␤␤»
12:19 timotimo m: say ("abc,xyz,hjk" ~~ /^^ (.*?)+ % ',' $$/)[0]>>.Str
12:19 camelia rakudo-moar 7dd729: OUTPUT« a ab abc  x xy xyz  h hj hjk␤»
12:20 * timotimo checks it out in the debugge
12:21 timotimo very strange indeed
12:22 timotimo r: say ("abc,xyz,hjk" ~~ /^^ (.*?)+ % ',' $$/)[0]>>.Str
12:22 camelia rakudo-{parrot,moar} 7dd729: OUTPUT« a ab abc  x xy xyz  h hj hjk␤»
12:22 timotimo well, it's not our code-gen that'd be broken
12:22 jnthn It could be consistently broken :P
12:23 jnthn The porting was done to be semantically faithful, after all...
12:24 timotimo the behavior it shows in the debugger is also strange, but it could just be that the highlighting isn't 100% correct there
12:28 Ugator1 joined #perl6
12:40 sergot gi o/
12:40 sergot hi
12:40 sergot :)
12:42 psch sergot o/
12:42 smls m: say ("abc" ~~ /^ [(.*) abc] ** 1/)   # another simple testcase
12:42 camelia rakudo-moar 7dd729: OUTPUT«「abc」␤ 0 => 「abc」␤ 0 => 「ab」␤ 0 => 「a」␤ 0 => 「」␤␤»
12:43 smls It's as if the capture group contents from failed matches encountered during backtracking, make it into the result...
12:43 timotimo somethin glike that seems to happen, aye
12:44 sergot psch: o/
12:45 smls And in case of non-greedy quantifiers, during "forward-tracking: :P
12:46 * jnthn away for a bit
12:47 Lasse_ joined #perl6
12:54 bjz_ joined #perl6
13:12 sqirrel__ joined #perl6
13:15 khisanth_ joined #perl6
13:30 * psch figured out his breakage with the jvminterop bit from yesterday
13:30 psch turns out the spec between classname and :from<java> is not optional ._.
13:30 psch s/spec/space/
13:30 psch uh
13:30 psch i mean
13:30 psch it's forbidden
13:30 psch words are hard :/
13:32 FROGGS yes
13:32 FROGGS that are two different things
13:32 timotimo oh yes
13:32 timotimo very much so
13:32 timotimo one is specifying what stuff to import after the use
13:32 FROGGS one is a named param and is part of the longname of the module, the other one is about export tags
13:32 timotimo the other specifies what exactly gets used
13:34 psch it does make sense, seeing as :: is for package separation and a single : adjunct to the class changes the class itself
13:35 psch while with space it adverbs the use itself
13:35 psch (at least that's how it makes sense in my head)
13:36 * masak is back
13:37 psch useing is where the interop stops though, nowadays
13:37 raiph joined #perl6
13:37 FROGGS we just need someone who goes deeper into the rabbit hole and who wants to achieve something
13:38 FROGGS I have no motivation (nor use) to do anything with it
13:38 xenoterracide_ joined #perl6
13:38 psch oh, i understand that.  i'd like to achieve something, but i think it'd take rather long and there's probably people smarter than me around who'd be able to do it quicker and possibly cleverer and cleaner
13:39 psch but most of those probably have no interest, which is ok
13:39 psch afaiu the HOW has to reach into the jvm-world to pull things out and compose correctly, from a rather abstract POV
13:40 psch seeing as the bytecode knows what methods exist and how they can be called, but the HOW currently is skeletal at best, which means nothing comes through to P6-land
13:40 psch my MOP-understanding might be lacking as well... :)
13:41 FROGGS rurban: ping # parrot HEAD does not build on windows... and I start panicking because we were meant to update to 6.10.0 next week :/
13:44 ennnio joined #perl6
13:46 raiph rurban: "The user(s) account is temporarily over quota. <ru@x-ray.at>"
13:53 ab5tract joined #perl6
14:03 Mouq joined #perl6
14:13 cognominal joined #perl6
14:13 colomon timotimo: okay, apparently my waiting is not going to see ABC work again, except possibly by accident.  any hints on how to bisect nqp/moar?
14:20 masak m: say { :a(2) :b(3) :c(4) }.perl
14:20 camelia rakudo-moar 7dd729: OUTPUT«{"a" => 2}␤»
14:20 masak o.O
14:21 masak I postulate that this is wrong and that the output hash should have three items.
14:21 masak any second opinion?
14:21 psch masak: i think that's already ticketed somewhere
14:21 psch i remember asking about something similar some time back
14:22 Alula joined #perl6
14:22 masak oki
14:22 masak psch: do you happen to know which RT number?
14:22 psch no, i'm looking though
14:22 colomon std: say { :a(2) :b(3) :c(4) }.perl
14:23 * masak .oO( so incorrect, it makes camelia quit )
14:24 camelia joined #perl6
14:24 colomon if I've built a new nqp, how to I get rakudo to recompile using it?  make doesn't cut it.
14:25 masak probably need to reconfigure too.
14:25 camelia std : OUTPUT«Can't chdir to '/home/camelia/std/snap': No such file or directory at lib/EvalbotExecuter.pm line 166.␤    EvalbotExecuter::_auto_execute(HASH(0x1c009c8), "say { :a(2) :b(3) :c(4) }.perl", GLOB(0x9970280), "/tmp/UmjQRTr4rc", "std") called at lib/EvalbotExecuter.pm line 1…»
14:28 masak m: my @x = 42; my $y = @x.unshift; say $y.perl
14:28 camelia rakudo-moar 7dd729: OUTPUT«[42]␤»
14:28 * masak submits rakudobug
14:29 * masak is sad that this can happen to Rakudo in 2014
14:29 colomon woah
14:29 colomon that's crazy
14:29 masak I thought we had tests and stuff.
14:29 colomon p: my @x = 42; my $y = @x.unshift; say $y.perl
14:29 camelia rakudo-parrot 7dd729: OUTPUT«[42]␤»
14:30 vendethiel m: my @x = 42; my $y = @x.unshift; say $y.perl; say @x.perl
14:30 camelia rakudo-moar 7dd729: OUTPUT«[42]␤Array.new(42)␤»
14:30 woolfy joined #perl6
14:30 masak o.O
14:30 vendethiel masak: you wanted to dig in? I deg deeper
14:30 masak oh wait
14:30 vendethiel (deg?)
14:30 colomon masak: you're thinking shift
14:30 masak yeah.
14:30 vendethiel yes
14:30 colomon that code is right
14:30 vendethiel you unshift nothing
14:30 masak masak--
14:30 vendethiel so you add nothing at the beginning of the array
14:30 masak rightright
14:31 masak false alarm, everybody.
14:31 masak (phew)
14:31 vendethiel \o/
14:31 masak not really sure what to learn from that.
14:31 vendethiel now that'd have been a fun one...
14:31 masak "shift/unshift are not logical names", maybe.
14:31 vendethiel right. but we can't force these to take arguments (arity >= 1) because argument lists flatten
14:32 masak also "command methods are better off not having return values"
14:32 colomon masak: return values let you chain it
14:33 JimmyZ lpush lpop/ rpush rpop :P
14:34 JimmyZ from Redis command ...
14:37 psch masak: can't find a ticket referenced, only irclog that says it's not implemented from late 2013-12
14:37 psch (before i dared come here with a nick that i'd want to keep...)
14:37 colomon okay, here's a problem for the build experts.
14:38 colomon rakudobrew gives us an really easy way to build any given commit of rakudo
14:38 colomon how could we get an easy way to build any particular triple of rakudo commit, nqp commit, and MoarVM commit?
14:40 colomon right now I really struggle with changing MoarVM version, and I've no confidence that I'm actually getting it right.
14:40 colomon and being able to do this is really important for being able to track down weird bugs.
14:41 ab5tract joined #perl6
14:44 * colomon is staring at MoarVM's 05b25a6359c7bcf5ab03357b0d0093f77d28ead6 and thinking it might be the issue with ABC….
14:58 bbkr joined #perl6
15:07 masak psch: care to submit a rakudobug for it?
15:07 masak colomon: I can't immediately come up with a situation where I'd be interested in chaining push/pop/shift/unshift.
15:07 raiph joined #perl6
15:09 masak colomon: more specifically, I don't think of those four that way. I use all of them for their side effect, and pop/shift for their return value.
15:09 masak colomon: that said, someone in p6cc did use the return value of .push, so... to each his own, I guess.
15:12 firefish5000 joined #perl6
15:18 rindolf joined #perl6
15:28 psch masak: RT #123215
15:28 synopsebot Link: https://rt.perl.org/rt3//Public/Bug/Display.html?id=123215
15:28 psch synopsebot \o/
15:29 * psch afk &
15:29 ab5tract is there an easy way to mitigate a "malformed utf" error? HTML::Parser::XML chokes on the .content of a HTTP::UserAgent response .. of the p6 advent calendar
15:29 ab5tract same content passes through .say just fine
15:42 sqirrel__ joined #perl6
15:47 xenoterracide left #perl6
15:48 xenoterracide joined #perl6
15:48 psch joined #perl6
15:49 xenoterracide you know what'd be cool, if .say... could facilitate logging and it was just outputting to a configurable stdout location by default
15:49 xenoterracide left #perl6
15:50 bjz joined #perl6
15:58 colomon m: say $*OUT = $*ERR; say "whatever"
15:58 camelia rakudo-moar 7dd729: OUTPUT«IO::Handle<<STDERR>>(opened, at line 0 / octet 0)␤whatever␤»
15:58 colomon m: $*OUT = $*ERR; say "whatever"
15:58 camelia rakudo-moar 7dd729: OUTPUT«whatever␤»
16:00 colomon .tell xenoterracide $*OUT = filehandle reassigns stdout, for what that's worth.
16:00 yoleaux colomon: I'll pass your message to xenoterracide.
16:00 ugexe ab5tract: do you have a failing test?
16:00 ugexe or can you just give me something to reproduce the error
16:09 ugexe my $text = ~$parser.xmldoc.root.elements[0].elements[0];
16:09 ugexe oops
16:10 Ben_Goldberg joined #perl6
16:17 ab5tract ugexe: i lost the failing case somehow, now i'm getting a different error :/
16:17 ab5tract https://gist.github.com/ab5tract/cbf4867b441ab2ea84d7
16:19 zakharyas joined #perl6
16:32 TimToady assignment to $*OUT probably should not work, but "my $*OUT = $*ERR;" should
16:33 TimToady PROCESS vars are supposed to be readonly, so that different interpreters running in the same process do not interfere with each other
16:34 colomon TimToady: assigning directly to $*OUT definitely worked when I tried it.
16:34 colomon but it still works if you add my, so if that's more correct...
16:39 kurahaupo joined #perl6
16:41 ugexe seems like it 'might' be http::useragent
16:41 ugexe Out of range: attempted to read 947159859 bytes from filehandle
16:44 psch m: say $*PERL = "C#" # that's because slangs aren't easy yet, right?
16:44 camelia rakudo-moar 7dd729: OUTPUT«Cannot modify an immutable Perl␤  in block <unit> at /tmp/VBYZkJMMHO:1␤␤»
16:44 ab5tract ugexe: yes, sometimes i get that issue. other times i get 'Invocant requires type object but got object'
16:44 * psch apologizes for the stupid joke
16:44 ab5tract psch: :)
16:45 ugexe i can get that error by (1 line above the inovant error line) doing say $qnest.perl whatever that means
16:45 ab5tract interesting
16:45 * ab5tract continues poking
16:46 ugexe actually you're right, its changing...
16:47 ab5tract which is weird, the inovant error comes from the html parser, but the filehandle thing definitely would seem to be from http::useragent
16:47 ugexe invocant could be related to whatever http::useragent returns
16:47 * ab5tract holds head, cries "the heisenbugs are after me, after me, after me!"
16:48 pecastro joined #perl6
16:49 mrmccrac joined #perl6
16:50 guru joined #perl6
16:51 ab5tract ugexe: interpolated the string by assigning it, and put a guard to die if not ~~ Str, which it passes
16:52 ugexe hmm can you see what the type is when it fails and its not str?
16:54 ab5tract but it doesn't seem to be a type issue with the string (which $response.content.perl also indicates is only ever a string)
16:56 timotimo i get Malformed termination of UTF-8 string
16:58 ugexe im getting the invocant error without http::useragent
16:58 havenwood joined #perl6
16:59 virtualsue joined #perl6
16:59 ab5tract timotimo: that's the one that i saw first!
16:59 ab5tract haven't seen it in a while
16:59 ab5tract if $cbuffer eq '<' {
17:00 ab5tract how can this line cause an invocant error?
17:00 timotimo can you find out which call exactly it is?
17:00 timotimo it might come from inside the block, if we're unlucky
17:01 timotimo perhaps with --ll-exception you'll get a "better" stack trace?
17:01 ugexe ab5tract: i thought it was this line: while $cbuffer !~~ m{ [ '>' | '/' ] } || $qnest == 1 {
17:01 ab5tract timotimo: i'll give that a try
17:02 ab5tract haven't tested it outside of moar either
17:02 ugexe i dont think it will build on anything else until parrot can install xml::query
17:02 ab5tract ugexe: that line is also affected, and indeed is the initiator
17:02 timotimo %!openisclose = itemized hash called at:
17:02 timotimo src/gen/m-CORE.setting, line 1000
17:02 timotimo also interesting
17:03 ab5tract timotimo: i patched that locally
17:03 ugexe timotimo: i have that fixed in my local repo
17:03 ugexe lol
17:03 timotimo hehe.
17:03 colomon dang things build quickly on my Linux box.
17:03 anaeem1 joined #perl6
17:04 timotimo for some reason we're reaching the Mu.ACCEPTS method candidate
17:05 timotimo and that only accepts Mu:U:
17:05 timotimo oh
17:05 timotimo of course
17:05 timotimo you don't ~~ against a m/../
17:05 timotimo because m/.../ is a match against $_
17:05 timotimo so the proper fix is in HTML::Parser::XML
17:05 firefish5000 joined #perl6
17:06 ab5tract timotimo: https://gist.githubusercontent.com/ab5tract/cbf4867b441ab2ea84d7/raw/ef7bb4014ccdb6d47294366205662dd67306a81b/gistfile2.txt
17:06 timotimo turn the m{ ... } into rx{ ... }
17:06 * ab5tract doing
17:06 timotimo i know
17:06 timotimo i've got the same output locally
17:07 timotimo we could perhaps figure out that no block around the smart match against m{ ... } had set $_ explicitly or implicitly and complain "you probably didn't mean that"
17:07 timotimo m: say (m{ abc }).perl
17:07 camelia rakudo-moar 7dd729: OUTPUT«Cannot call 'match'; none of these signatures match:␤:(Cool:D: Any $target, *%adverbs)␤  in block <unit> at /tmp/R1FY1MzlCu:1␤␤»
17:08 timotimo m: say "foobar" !~~ (m{ abc }).perl
17:08 camelia rakudo-moar 7dd729: OUTPUT«True␤»
17:08 timotimo m: say "foobar" !~~ (m{ abc })
17:08 camelia rakudo-moar 7dd729: OUTPUT«True␤»
17:08 timotimo m: say "foobar" !~~ (m{ 123 })
17:08 camelia rakudo-moar 7dd729: OUTPUT«True␤»
17:08 timotimo m: say $_.perl
17:08 camelia rakudo-moar 7dd729: OUTPUT«Nil␤»
17:08 timotimo m: Nil ~~ rx{ 123 }
17:08 camelia rakudo-moar 7dd729: ( no output )
17:08 timotimo m: say Nil ~~ rx{ 123 }
17:08 camelia rakudo-moar 7dd729: OUTPUT«Nil␤»
17:08 timotimo m: say Nil !~~ rx{ 123 }
17:08 camelia rakudo-moar 7dd729: OUTPUT«True␤»
17:08 timotimo that ought to be the culprit
17:09 ab5tract timotimo: it works :)
17:10 ab5tract except that there's a new bug .. hehe
17:13 timotimo what was that code trying to parse anyway?
17:13 timotimo the code has very few comments ...
17:14 timotimo i can't see a pull request in perl6-html-parser-xml :)
17:16 ab5tract still puzzling at the next bug
17:16 ab5tract while $cbuffer !~~ rx{« [ \s | '>' ] »} {
17:16 ab5tract causing an out of bound indexing error
17:16 ab5tract "substr out of range"
17:17 ugexe those hyperoperators were the regex seperators before
17:18 ugexe rx{ [ \s | '>' ] } id think
17:18 timotimo « and » are word border matchers
17:20 ugexe while $cbuffer !~~ m« [ \s | '>' ] » { <- are they acting as a word border in this case? or as a replacement for the / in m//?
17:20 timotimo no, in that case they are the delimiters
17:20 timotimo m: say q« hello, this is string »
17:20 camelia rakudo-moar 7dd729: OUTPUT« hello, this is string ␤»
17:21 ugexe ab5tract: while $cbuffer !~~ rx{ [ \s | '>' ] } {
17:21 ab5tract i fixed that one.
17:21 ab5tract no i'm back to Malformed UTF :D
17:21 ab5tract *now
17:24 timotimo could be because the chunked encoding happens to hit one of the Perl 6 right in the middle?
17:25 ab5tract i was mistaken, now it's fixed. pull request on its way
17:32 ab5tract but it occurs to me, the better choice would be to use the rss feed of the advent calendar directly with the XML library
17:32 ab5tract and i'm not sure if i've actually fixed it or not, it hasn't succeeded in parsing yet ..
17:33 timotimo clearly HTML::Parser::XML needs a bit more error handling and diagnostic output
17:35 ugexe its working for me
17:35 perltricks joined #perl6
17:36 ugexe trying to write an appropriate test on the utf characters to be sure
17:36 timotimo that's very helpful! thanks
17:37 perltricks hey all. Any idea why this hangs: perl6 -e 'for (lines) { say lines.elems }' example.txt
17:38 perltricks it doesnt hang on an array
17:38 perltricks m: my @n = <1 2 3>;for (@n) { say @n.elems }
17:38 camelia rakudo-moar 7dd729: OUTPUT«3␤3␤3␤»
17:38 timotimo these parens are superstitious
17:39 timotimo what do you expect that to do?
17:39 colomon timotimo: parens are needed, just not those
17:39 timotimo yeah
17:39 colomon better question is why use lines twice?
17:39 timotimo yes
17:39 timotimo "that" wasn't refering to the parens, but to calling lines twice
17:39 perltricks say you want to emulate tail
17:40 colomon perltricks: lines[*-5..*]
17:40 colomon or something like that
17:40 perltricks hoho
17:41 perltricks wow
17:41 perltricks colomon: thanks much nicer
17:41 colomon dunno if it works exactly like that
17:41 perltricks lemme try
17:41 timotimo you may need to (* - 5)
17:42 colomon and does using * twice work right?
17:43 colomon but the basic principle is sound, I promise.
17:43 perltricks it works! perl6 -e 'say lines[*-5..*]' example.txt
17:43 colomon \o/
17:44 colomon perltricks: it's even nicer to do head: lines[^5]
17:45 perltricks stop it, you're blowing my mind
17:45 ab5tract aka another night with perl6 ;)
17:45 perltricks haha
17:46 ugexe ab5tract: i think its tripping up on self closing tags
17:46 ugexe ie <whatever />
17:47 ugexe .elements[1] gets me the title tags on advent calender...
17:47 timotimo using * twice works
17:47 timotimo in fact, it works up to an almost infinite number of times
17:50 colomon timotimo: I knew it worked in general expressions, but I didn't know you could pass something taken N arguments to [ ] and have it work it out correctly.
17:50 colomon *taking
17:51 colomon … actually, that's not what's happening there, is it?
17:51 FROGGS_ joined #perl6
17:51 timotimo [ ] asks the WhateverCode what number of arguments it takes
17:51 colomon m: say (*-5..*).WHAT
17:51 camelia rakudo-moar 7dd729: OUTPUT«(WhateverCode)␤»
17:51 timotimo and then it gives the length of the list $n times
17:51 colomon m: say (*-5..*)(10)
17:52 camelia rakudo-moar 7dd729: OUTPUT«5..Inf␤»
17:52 timotimo oh
17:52 timotimo yeah, you're right
17:53 timotimo also, you would have had to ..^, since you're given the length of the list
17:53 timotimo but by using Inf, you're getting around that problem
17:53 colomon right.
17:53 colomon TimToady++ # or whomever, clever design there.
17:57 KCL_ joined #perl6
18:02 timotimo i wonder what the performance of HTML::Parser::XML is
18:03 timotimo but i don't have a use for it (yet)
18:11 ugexe its slow, but im sure tony-o will work on that now that i mentioned it to him an hour ago :)
18:15 rindolf joined #perl6
18:23 rindolf joined #perl6
18:24 KCL_ joined #perl6
18:24 timotimo mentioned the performance?
18:24 colomon where does panda get its list of installed modules?
18:28 * colomon needs to kill it, because having it try to install every single module every time you rebuild rakudo is no fun
18:28 colomon …. except that time it didn't?
18:28 * colomon is very confused
18:29 rindolf joined #perl6
18:31 timotimo install/lib/somewhere/state.json
18:33 raiph joined #perl6
18:37 colomon tadzik: ping?
18:45 orevdiabl joined #perl6
18:45 rindolf joined #perl6
18:45 [particle] joined #perl6
18:48 colomon tadzik: I expanded rakudobrew to have a new command, triple, which allows you to specify versions of rakudo, nqp, and moar to biuld on.
18:48 BinGOs joined #perl6
18:48 colomon tadzik: the build does happen, but the switch command doesn't seem to work.  :\
18:49 DarthGandalf joined #perl6
18:50 atta_ joined #perl6
18:50 sjn_ joined #perl6
18:50 xinming_ joined #perl6
18:50 Rounin_ joined #perl6
18:51 exodist_ joined #perl6
18:52 stux|RC-only joined #perl6
18:54 mls joined #perl6
18:54 carlin joined #perl6
18:54 mls joined #perl6
18:54 colomon tadzik: ah, I see, rehash assumes there are never more than two components.
18:55 frew joined #perl6
18:55 colomon errr, maybe?
18:55 kshannon joined #perl6
18:55 woolfy joined #perl6
18:56 muraiki joined #perl6
18:56 simcop2387 joined #perl6
18:57 TardisX` joined #perl6
18:58 pecastro_ joined #perl6
18:58 rindolf joined #perl6
18:58 dylanwh_ joined #perl6
18:59 hoelzro_ joined #perl6
18:59 integral_ joined #perl6
18:59 integral_ joined #perl6
18:59 m_athias_ joined #perl6
19:00 Timbus_ joined #perl6
19:00 huf joined #perl6
19:01 Juerd joined #perl6
19:02 clkao_ joined #perl6
19:02 telex joined #perl6
19:03 colomon aha!
19:03 ggherdov joined #perl6
19:03 TimToady oho!
19:03 colomon o/
19:03 geekosaur ehe!
19:03 TimToady uhu
19:04 FROGGS_ ihi
19:04 colomon TimToady: you might know the answer.  If I want to install rakudo's perl6 executable in the usual install/bin place, but use a specified nqp instead of generating it, what is the Configure.pl syntax?
19:05 TimToady --with-nqp I think
19:05 mephinet- joined #perl6
19:05 TimToady but you can read the source :)
19:05 colomon TimToady: I think I tried that once already.  ;)
19:06 colomon I mean, reading the source.
19:06 TimToady obviously the next step is to write the source :P
19:06 colomon :p
19:07 FROGGS_ colomon: it will also use an nqp binary if it is under --prefix
19:07 dj_goku who manages testers.perl6.org?
19:07 FROGGS_ dj_goku: I am
19:08 colomon FROGGS_: my problem is that --prefix seems to change where rakudo installs its binaries.  which is my problem...
19:08 dj_goku FROGGS_: haha nice! so is the site accepting reports?
19:08 FROGGS_ colomon: correct... but I would think you want to install nqp to that place too
19:08 FROGGS_ dj_goku: yes, it is :o)
19:08 colomon afk # bell choir w/ orchestra rehearsal
19:09 FROGGS_ dj_goku: though, you need the 'reporter' branch from panda, and it works only on moar and jvm so far
19:09 dg joined #perl6
19:09 FROGGS_ to actually send reports you can do: PANDA_SUBMIT_TESTREPORTS=1 panda install FooBar
19:09 dj_goku FROGGS_: but the most recent report is this: http://testers.perl6.org/report/recent/2487
19:09 FROGGS_ or: PANDA_SUBMIT_TESTREPORTS=1 panda --exclude=panda smoke
19:09 dj_goku right I downloaded the reporter branch
19:10 FROGGS_ rebootstrap panda, and then you can do what I pasted
19:10 FROGGS_ yes, I had submitted that report
19:11 rindolf joined #perl6
19:11 dj_goku rebootstrap? git pull origin reporter?
19:11 FROGGS_ and then: perl6-m rebootstrap.pl
19:11 FROGGS_ so you reinstall it
19:16 dj_goku FROGGS_: http://paste.scsys.co.uk/441869
19:16 dj_goku looks like reporter is out of sync from master
19:16 FROGGS_ dj_goku: that is quite possible
19:17 FROGGS_ please do:
19:17 FROGGS_ git checkout master; git branch -D reporter; git fetch; git checkout reporter
19:17 FROGGS_ then you just switch to the other branch without merging anything
19:18 ab5tract_ joined #perl6
19:19 darutoko- joined #perl6
19:20 dj_goku yay
19:20 nebuchad` joined #perl6
19:21 FROGGS_ \o/
19:21 dj_goku http://testers.perl6.org/report/recent/2488
19:21 itz joined #perl6
19:21 FROGGS_ a 32bit OSX, nice
19:21 rindolf joined #perl6
19:22 FROGGS_ ohh no, the arch is reported wrong
19:22 yukko left #perl6
19:22 KCL_ joined #perl6
19:22 leedo_ joined #perl6
19:22 FROGGS_ or at least weirdish
19:23 dj_goku FROGGS_: 32bit?!
19:23 geekosaur macs are weirdish when it comes to arch
19:23 FROGGS_ yeah, I know
19:23 peterete1 joined #perl6
19:23 telex joined #perl6
19:23 majuscul1 joined #perl6
19:23 FROGGS_ at least fat libs should be something of the past, right?
19:24 _sri_ joined #perl6
19:24 cognominal joined #perl6
19:24 geekosaur 14A should be 10.10, I think, so it has to be 64 bit
19:24 geekosaur note that `arch` returns i386 though
19:24 sergot joined #perl6
19:25 FROGGS_ yes, that's where my confusion comes from
19:25 yoleaux joined #perl6
19:25 bartolin joined #perl6
19:25 geekosaur apple uses arch weirdly, it distinguishes between ppc and intel, but not 32 vs 64
19:25 nine joined #perl6
19:25 Exodist joined #perl6
19:26 geekosaur and apple goes to great legths to hide 32 vs 64
19:26 ghostlines joined #perl6
19:26 timotimo joined #perl6
19:26 FROGGS_ why?
19:26 geekosaur fiik
19:27 geekosaur os x is also the only OS I'm aware of which ran 64 bit binaries on 32-bit kernels
19:27 FROGGS_ hmmm, interesting
19:27 dj_goku_ joined #perl6
19:27 dj_goku_ joined #perl6
19:27 psch FROGGS_: it does make sense from a "people want a shiny computing appliance" perspective
19:27 psch hiding the distinction between 32 and 64bit
19:30 geekosaur also, fat binaries and libraries/frameworks certainly still exist
19:30 rindolf joined #perl6
19:31 d^_^b joined #perl6
19:32 FROGGS_ m: say $~MAIN
19:32 camelia rakudo-moar 7dd729: OUTPUT«Slang.new(:grammar(Perl6::Grammar), :actions(Perl6::Actions))␤»
19:32 FROGGS_ O.o
19:32 geekosaur largely because of things like wine (64 bit windows won't work on OS X because on conflicts between how OS X and Win64 use registers, IIRC)
19:32 FROGGS_ m: say $~MAIN.^find_method('arglist')
19:32 camelia rakudo-moar 7dd729: OUTPUT«(Mu)␤»
19:32 FROGGS_ m: say $~MAIN.arglist
19:32 camelia rakudo-moar 7dd729: OUTPUT«No such method 'arglist' for invocant of type 'Slang'␤  in block <unit> at /tmp/Tozyp2mi11:1␤␤»
19:32 geekosaur (so wine is built 32-bit and requires fat libraries)
19:32 FROGGS_ m: say $~MAIN.grammar.arglist
19:32 camelia rakudo-moar 7dd729: OUTPUT«Cannot look up attributes in a type object␤  in any !cursor_start at gen/moar/stage2/QRegex.nqp:668␤  in any arglist at /home/camelia/rakudo-inst-1/languages/nqp/lib/Perl6/Grammar.moarvm:1␤  in block <unit> at /tmp/9WNOhrCRQY:1␤␤»
19:34 Hor|zon_ joined #perl6
19:34 dj_goku_ FROGGS_: so would it be bad if I setup a daily task on a few machines to pull in the lastest moar and install all modules?
19:34 dj_goku_ posting the results to testers.perl6.org?
19:35 FROGGS_ dj_goku_: that certainly would be most awesome
19:36 dj_goku_ ubuntu, openbsd and osx.
19:36 FROGGS_ cool!
19:37 ab5tract_ i thought i would go with the rss feed for "easy XML parsing" ... and managing to parse the rss into an XML::Document, but only with 'use of uninitialized value $v of type Any in string context  in method new at lib/XML.pm6:965' occuring
19:37 ab5tract_ and any attempts to actually use the XML::Document hanging indefinitely
19:37 dj_goku_ FROGGS_: well if I get to annoying/taxing the server let me know and I'll back it down.
19:37 ab5tract_ today is not my day :(
19:38 TimToady ab5tract_: welcome to the bleating edge
19:38 FROGGS_ dj_goku_: the server is meant to take many reports... if it can't handle that it is my fault and I will take care of it
19:38 FROGGS_ dj_goku_: I want to generate static pages for example, to reduce the load
19:38 dj_goku_ FROGGS_: cool
19:39 FROGGS_ dj_goku_: but I want to keep it Perl 6 only, just because
19:39 dj_goku_ FROGGS_: well it is a proof of concept
19:39 dj_goku_ or a working example.
19:39 FROGGS_ dj_goku_: something like that, aye :o)
19:39 rindolf joined #perl6
19:40 FROGGS_ I mean, it is not even two weeks old
19:41 dj_goku_ FROGGS_: really?! well good job!
19:41 dj_goku_ I presume I am just POSTing json back to the server?
19:41 FROGGS_ thanks :D
19:41 FROGGS_ correct
19:41 FROGGS_ via http
19:41 dj_goku_ k
19:41 dj_goku_ that is what I thought, but hadn't looked at the code.
19:41 perltricks joined #perl6
19:42 FROGGS_ dj_goku_: you are posting the json blob that is shown in the report as 'informations'
19:42 FROGGS_ no environment vars, nothing that can potentially contain passwords or other sensitive data
19:44 mls_ joined #perl6
19:44 ghostlin_ joined #perl6
19:46 dj_goku_ FROGGS_: cool
19:47 timotimo yeah, API keys are often put into the environment
19:48 timotimo FROGGS_: how do you feel about normalizing $HOME into ~?
19:48 timotimo so that the user name doesn't also show up?
19:49 FROGGS_ hmmm, good idea I think
19:49 moritz except when you try to track down a bug in a build system where a ~ isn't expanded, but should be
19:49 ghostlines joined #perl6
19:50 moritz we've had cases where people called   perl Configure --prefix=~/p6/install   or the likes and wondered why it didn't DWTM
19:51 FROGGS_ well, we can replace it by <HOME>
19:51 FROGGS_ C:\panda\ext\File__Find>perl6 -I lib t\01-file-find.t
19:51 FROGGS_ 1..10
19:51 FROGGS_ t\dir1\another_dir t\dir1\another_dir\empty_file t\dir1\another_dir\file.bar t\dir1\file.bar t\dir1\file.foo t\dir1\foodir t\dir1\foodir\not_a_dir
19:51 FROGGS_ t/dir1/another_dir t/dir1/another_dir/empty_file t/dir1/another_dir/file.bar t/dir1/file.bar t/dir1/file.foo t/dir1/foodir t/dir1/foodir/not_a_dir
19:51 FROGGS_ not ok 1 - just a dir
19:51 FROGGS_ -.-
19:52 ab5tract_ hmm, the issue is happening with other sample input
19:52 ab5tract_ https://gist.github.com/ab5tract/cbf4867b441ab2ea84d7
19:53 ab5tract_ when searching for a tag that has elements present, the script just hangs
19:53 carlin joined #perl6
19:54 ptc_p61 joined #perl6
19:54 rindolf joined #perl6
19:56 anaeem1_ joined #perl6
19:59 perlpilot joined #perl6
19:59 tinita_ joined #perl6
19:59 petercom1and joined #perl6
19:59 Woodi_ joined #perl6
19:59 clkao__ joined #perl6
20:00 Juerd_ joined #perl6
20:00 jnthn_ joined #perl6
20:00 Shozan joined #perl6
20:00 Util_ joined #perl6
20:00 haroldwu_ joined #perl6
20:01 labster joined #perl6
20:05 Bucciarati joined #perl6
20:05 Sir_Ragnarok joined #perl6
20:05 dj_goku_ FROGGS_: thanks for helping fix my issue. :D
20:07 FROGGS_ dj_goku_: the problem with git?
20:07 raydiak joined #perl6
20:07 [Tux] joined #perl6
20:07 yogan joined #perl6
20:07 prammer joined #perl6
20:07 gtodd joined #perl6
20:07 isacloud______ joined #perl6
20:09 Timbus joined #perl6
20:10 Alina-malina joined #perl6
20:10 yakudza joined #perl6
20:10 Alina-malina joined #perl6
20:11 stux|RC-only joined #perl6
20:11 sunnavy joined #perl6
20:11 [Coke]_ joined #perl6
20:11 lue joined #perl6
20:12 erdic joined #perl6
20:13 ka05 joined #perl6
20:13 MilkmanDan joined #perl6
20:16 rjbs joined #perl6
20:17 * psch done for today o/
20:19 FROGGS_ o/
20:21 [Sno] joined #perl6
20:22 arnsholt joined #perl6
20:23 oetiker joined #perl6
20:23 Vlavv joined #perl6
20:26 sqirrel__ joined #perl6
20:32 mephinet joined #perl6
20:35 anaeem1 joined #perl6
20:42 moritz does anybody know what host dalek usually runs on?
20:42 moritz I forgot :(
20:43 moritz (and I ignore joins and leaves, so I don't log the hostname during joins)
20:43 moritz oh, feather3 it seems
20:44 Celelibi joined #perl6
20:45 moritz and it explains why dalek is gone (feather had a reboot recently)
20:46 skarn joined #perl6
20:48 sorear joined #perl6
20:49 dalek joined #perl6
20:50 BenGoldberg joined #perl6
20:50 ugexe ab5tract: fwiw .perl on XML:: objects hangs in many situations for me
20:51 FROGGS_ does it have recursive structures by any chance?
20:51 kurahaupo joined #perl6
20:53 timotimo that would be strange for xml
20:53 ab5tract joined #perl6
20:53 ugexe no
20:56 timotimo "Took a few seconds until I understood it. It treats the \n in C:\nqp as a newline."
20:56 timotimo aaaarrrrggghhh m)
20:59 FROGGS_ :o)
20:59 FROGGS_ I enjoy these kinds of errors
20:59 FROGGS_ they make me smile
21:00 * FROGGS_ .oO( Computer, you are funny )
21:00 anaeem1 joined #perl6
21:01 rurban joined #perl6
21:02 dj_goku_ FROGGS_: yes
21:04 perltricks m: "new hope".subst(/(\w+)/, {$0.uc}).say
21:04 camelia rakudo-moar 7dd729: OUTPUT«NEW hope␤»
21:04 perltricks works. But this doesn't: perl6 -ne '.subst(/(\w+)/, {$0.uc}).say' example.txt
21:04 grondilu joined #perl6
21:05 perltricks any ideas why?
21:05 moritz perltricks: yes
21:06 moritz perltricks: basically, s/// is a special syntactic form, and the compiler can cheat as it wants
21:06 moritz perltricks: but in the .subst form, {$0.uc} is just a regular argument
21:07 moritz perltricks: and it can't easily cheat the $/ into that block argument
21:07 ugexe whats the equiv to p5's s///r anyway
21:08 perltricks moritz: thanks for the info. Can s/// execute code blocks like the /e option in p5?
21:08 FROGGS_ perlpilot: yes, with {}
21:08 moritz or with
21:09 moritz m: $_ = 'new hope'; s[\w+] = $/.uc; .say
21:09 camelia rakudo-moar 7dd729: OUTPUT«NEW hope␤»
21:09 perltricks m: say "new hope" ~~ s/(\w+)/{$0.uc}/
21:09 camelia rakudo-moar 7dd729: OUTPUT«Cannot modify an immutable Str␤  in sub infix:<=> at src/gen/m-CORE.setting:19223␤  in block <unit> at /tmp/BaPfTWg3fj:1␤␤»
21:09 perltricks heh
21:09 FROGGS_ m: say (my $a = "new hope") ~~ s/(\w+)/{$0.uc}/; say $a
21:09 camelia rakudo-moar 7dd729: OUTPUT«True␤NEW hope␤»
21:11 perltricks thanks y'all. I'm trying to uc the first word in every line in a file and print the line
21:11 dalek mu: 201435d | moritz++ | misc/dalek-conf.json:
21:11 dalek mu: Remove some dead projects from dalek-conf.json
21:11 dalek mu: review: https://github.com/perl6/mu/commit/201435d36a
21:12 dalek mu: e6ffa2d | moritz++ | misc/check-dalek-urls.p6:
21:12 dalek mu: Add script to check URLs in dalek-conf.json
21:12 dalek mu: review: https://github.com/perl6/mu/commit/e6ffa2d569
21:13 moritz http://perlpunks.de/paste/show/5467c1d7.161c.330 that's some of the output from the new script
21:13 moritz does anybody know where the 'err code: 0' etc might come from?
21:13 moritz left-over debugging output in one of those modules?
21:13 moritz sergot: ^^
21:14 anaeem1_ joined #perl6
21:18 dalek mu: cae5820 | moritz++ | misc/dalek-conf.json:
21:18 dalek mu: remove more dead URLs
21:18 dalek mu: review: https://github.com/perl6/mu/commit/cae58207e3
21:19 ab5tract joined #perl6
21:22 colomon tadzik: got it
21:24 tadzik gotwhat :)
21:24 tadzik oh, I see :)
21:24 cxreg joined #perl6
21:28 araujo joined #perl6
21:28 araujo joined #perl6
21:33 denis_boyun_ joined #perl6
21:36 leont joined #perl6
21:47 sergot moritz: it is OpenSSL's error
21:47 colomon tadzik: Yeah, my new command for rakudobrew started life broken, but I have fixed it and just used it to track down a serious-to-me bug.
21:48 sergot moritz: https://github.com/sergot/openssl/blob/master/lib/OpenSSL.pm6#L73
21:48 tadzik colomon: oh, that sounds like a useful feature then :)
21:48 tadzik but that's moar-only?
21:49 colomon timotimo, jnthn, hoelzro_: I have just confirmed that MoarVM's 05b25a6359c7bcf5ab03357b0d0093f77d28ead6 commit breaks the ABC module.  I'm not sure why, exactly.  Though the problem definitely involves precompiled modules and part of a namespace disappearing.  (After the commit, it is fine without it.)
21:50 colomon tadzik: sure, I was having a hard time changing the MoarVM / nqp of a Rakudo build on the fly, so I just added a new rakudobrew command that would let me specify exactly which commit I wanted to use for each of them.
21:50 Mouq joined #perl6
21:50 colomon tadzik: please feel free to rename it, I didn't spend a lot of time thinking about it.  ;)
21:51 colomon tadzik: that's how I did it, yes.
21:51 ggoebel111111113 joined #perl6
21:51 colomon tadzik: if anyone cares enough to make it more generally applicable, I'm sure it's a small matter of programming.  ;)
21:54 timotimo colomon: your text reads contradictory. you say that commit breaks the abc module but apparently putting that commit into moarvm makes it work?
21:57 tadzik colomon: is there a pull request?
22:06 colomon timotimo: I think my text is correct.  I know the commit says it fixes part of a namespace disappearing with precompiled modules, but in fact including that commit breaks exactly those things in ABC.
22:09 * colomon may be somewhat incoherent, as he has been pretty sick the last few days.  But he is quite sure ABC works with moar pre-fd55e867bf058b30298cdca47c8ce60d5c16dce0 and fails mysteriously with it.
22:10 colomon tadzik: no pull request for rakudobrew, I have commit priveledges there.  ;)
22:11 mattp_ joined #perl6
22:18 ab5tract joined #perl6
22:19 napoleon joined #perl6
22:25 tadzik okay :)
22:26 telex joined #perl6
22:39 kst joined #perl6
22:41 timotimo that is very weird, colomon ...
22:42 timotimo i don't know what the proper fix would be, as not having that commit would give hoelzro trouble with something else - i think diamond derivation or something?
22:46 raiph joined #perl6
22:48 woolfy1 joined #perl6
22:56 lizmat joined #perl6
23:02 hoelzro_ =(
23:02 hoelzro_ colomon: how does it break ABC?
23:08 colomon joined #perl6
23:08 colomon hoelzro: t/08-transpose.t .. Could not find symbol '&Actions'
23:08 colomon in method <anon> at src/gen/m-CORE.setting:13707
23:08 colomon in any find_method_fallback at src/gen/m-Metamodel.nqp:2725
23:08 colomon in any find_method at src/gen/m-Metamodel.nqp:988
23:09 colomon in sub transpose at t/08-transpose.t:21
23:09 colomon in block <unit> at t/08-transpose.t:41
23:09 colomon where that's ABC::Actions, in a precompiled file.
23:09 colomon weirdly, there are two test files where it does file ABC::Actions, and two where it doesn't.
23:10 colomon either way, it all works if you don't precompile, and it all works if you don't include that commit of yours.
23:17 matthijs joined #perl6
23:18 Guest32794 hi does perl 6 automatically tie arrays/hashes, so that everything remains ordered?
23:18 leont Your question isn't clear to me
23:19 leont "tieing automatically" doesn't make sense in particular
23:19 leont What order do you want?
23:19 leont or expect
23:19 lizmat fwiw, the order of hash keys in indeterminate
23:21 Guest32794 if you have put a list in a hash and then you print the keys/values the original order is gone and changes everytime yu print it
23:22 timotimo not every time, but there is no guarantee when it changes
23:23 lizmat m: my %h = ("a".."z").map( * => $++ ); say %h.perl
23:23 camelia rakudo-moar 7dd729: OUTPUT«("c" => 2, "g" => 6, "y" => 24, "x" => 23, "f" => 5, "b" => 1, "e" => 4, "r" => 17, "k" => 10, "w" => 22, "h" => 7, "m" => 12, "o" => 14, "z" => 25, "i" => 8, "n" => 13, "a" => 0, "p" => 15, "s" => 18, "d" => 3, "l" => 11, "v" => 21, "j" => 9, "q" => 16, "…»
23:23 lizmat m: my %h = ("a".."z").map( * => $++ ); say %h.perl
23:23 camelia rakudo-moar 7dd729: OUTPUT«("l" => 11, "b" => 1, "v" => 21, "z" => 25, "s" => 18, "e" => 4, "j" => 9, "p" => 15, "n" => 13, "c" => 2, "k" => 10, "x" => 23, "q" => 16, "d" => 3, "w" => 22, "y" => 24, "a" => 0, "i" => 8, "r" => 17, "g" => 6, "u" => 20, "h" => 7, "t" => 19, "m" => 12, …»
23:25 * lizmat goes to sleep&
23:25 Guest32794 ok
23:25 grondilu left #perl6
23:25 timotimo if you print it two times in a row, it'll probably give you the same order, but not guaranteed
23:25 timotimo gnite lizmat
23:28 [Sno] joined #perl6
23:28 Guest32794 That module Tie::Autotie in Perl5 keeps everything ordered. i was wondering if this is now default in perl 6
23:32 colomon Guest32794: it is not
23:37 Guest32794 ok chers! bye
23:40 ugexe XML::Query also errors and fails tests when its precompiled and passes when tested on /lib
23:43 ugexe i know its been brought up in here before. anyway its the same error on moar/jvm/parrot fwiw Default constructor for 'Query' only takes named arguments
23:45 * colomon wonders if there is a relatively easy automated way to test modules without precompiling, so we can see how many modules are having these sorts of issues.
23:47 ugexe just run prove on them?
23:47 ugexe or maybe if you just do panda-test without doing panda-build first
23:49 ugexe https://github.com/ugexe/P6TCI/blob/master/.travis.yml#L22-L30
23:49 ugexe you can use something similar to that
23:52 ugexe you could even split the panda-test and prove out by env:

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo