Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2013-12-18

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:01 rurban1 joined #perl6
00:09 dalek nqp: 9a7f358 | jnthn++ | src/ (3 files):
00:09 dalek nqp: A couple of SC write barrier related tweaks.
00:09 dalek nqp: review: https://github.com/perl6/nqp/commit/9a7f358bc8
00:09 dalek nqp: f1c2da5 | jnthn++ | src/vm/moar/stage0/ (11 files):
00:09 dalek nqp: Update MoarVM stage0.
00:09 dalek nqp: review: https://github.com/perl6/nqp/commit/f1c2da56c9
00:12 dalek rakudo/moar-support: e3f6f22 | jnthn++ | src/Perl6/Metamodel/BOOTSTRAP.nqp:
00:12 dalek rakudo/moar-support: Implement object -> native parameter binding.
00:12 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/e3f6f2285b
00:17 dalek rakudo-star-daily: bc0118d | coke++ | log/ (5 files):
00:17 dalek rakudo-star-daily: today (automated commit)
00:17 dalek rakudo-star-daily: review: https://github.com/coke/rakudo-star-daily/commit/bc0118d23a
00:17 dalek perl6-roast-data: 1286d0a | coke++ | / (5 files):
00:17 dalek perl6-roast-data: today (automated commit)
00:17 dalek perl6-roast-data: review: https://github.com/coke/perl6-roast-data/commit/1286d0ab90
00:17 dalek perl6-roast-data: 52ef05a | coke++ | / (3 files):
00:17 dalek perl6-roast-data: today (automated commit)
00:17 dalek perl6-roast-data: review: https://github.com/coke/perl6-roast-data/commit/52ef05aa45
00:36 dalek rakudo/moar-support: 9462664 | jnthn++ | src/core/terms.pm:
00:36 dalek rakudo/moar-support: Enable a little of the @INC handling.
00:36 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/9462664de1
00:49 rurban1 joined #perl6
00:56 lue moritz: just ooc, as I'm preparing to start writing the P6-based syn generation code, do we really need an index of C formatting codes? :)
00:58 Piers joined #perl6
01:08 dalek rakudo/moar-support: ecde72d | jnthn++ | src/Perl6/Metamodel/BOOTSTRAP.nqp:
01:08 dalek rakudo/moar-support: Implement sub-signature binding.
01:08 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/ecde72dfc3
01:12 rurban1 joined #perl6
01:25 thou joined #perl6
01:28 adu joined #perl6
01:31 jnthn sleep; will fix more tomorrow :)
01:33 raiph joined #perl6
01:34 lue ♞ jnthn o/
01:40 adu hi all
01:44 rollietikes joined #perl6
01:46 lue hi adu o/ as you can see, it's the quiet hours of the channel at the moment :)
01:46 adu :)
01:51 japhb preflex: tell lizmat re: http://irclog.perlgeek.de/perl6/2013-12-17#i_8013218 there are unfortunately strong use cases for at least the options: 1) current behavior, options parsing stops at first non-option, 2) options anywhere are equivalent, order doesn't matter, or 3) exact order matters, options are effectively positional.  Huffmanizing or otherwise syntactically relieving those cases is an interesting exercise.
01:51 preflex Consider it noted.
01:53 japhb preflex: tell lizmat I've considered a hook of some sort to swap the parser provided by MAIN_HELPER right now, so people could write modules that change that option parsing behavior, but it's not clear to me how to do it without forcing people to *completely* replicate the sometimes fiddly logic (and support val() in the future transparently).
01:53 preflex Consider it noted.
01:59 jnap joined #perl6
02:08 drizzle joined #perl6
02:29 dalek rakudo/moar-support: bba075d | moritz++ | t (2 files):
02:29 dalek rakudo/moar-support: Fix testing running, [Coke]++
02:29 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/bba075dc0f
02:33 dalek rakudo/moar-support: 2fb5e54 | moritz++ | tools/build/Makefile-Moar.in:
02:33 dalek rakudo/moar-support: supply missing m-runner-default target (untested)
02:33 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/2fb5e54790
02:47 thou joined #perl6
02:49 btyler joined #perl6
02:59 jnap joined #perl6
03:00 btyler joined #perl6
03:29 kaleem joined #perl6
04:00 jnap joined #perl6
04:10 colomon joined #perl6
04:22 ivan`` joined #perl6
04:49 adu joined #perl6
05:00 preflex_ joined #perl6
05:01 jnap joined #perl6
05:27 * TimToady regreets the world from Seattle
05:44 SamuraiJack joined #perl6
05:44 lue TimToady: that sentence is dangerously close to "regrets the world from Seattle" :)
05:45 TimToady most of the world from Seattle is regrettable :)
05:45 TimToady but then much of Seattle is also regrettable, so it all balances out...
05:46 TimToady at least it's a fairly clean city, being washed continually as it is
05:46 lue .oO("the world from Seattle" has two interpretations too: "the world as seen from the POV of Seattle" and "the part of the world contributed by Seattle".)
05:47 TimToady As long as we're clear that Seattle's Best Coffee is not necessarily Seattle's best coffee...
05:48 TimToady I've always found it hilarious that all these northern climes claim to have the best coffee, when none of it comes from there
05:49 lue I've always wondered why Hawai'i's the only state can grow coffee. Don't we have thingys that can emulate favorable climates for the stupid plants?
05:50 lue TimToady: Perhaps it's the coffee grinders that make the coffee? :)
05:51 TimToady just like organ grinders make organs?
05:52 lue .oO(Organ beans only grow in places with high divinity, and are helped with the addition of holy water to their environment.)
05:52 TimToady is that why organic beans are more expensive?
05:56 lue Heh, I just got the idea to see if rakudo optimized s/A/A/ and the like (replace occurrence of something with itself). I think the answer's no.
05:57 lue r: my $a = "☃"; for ^1000 { $a ~~ s/\☃/☄/; $a = "☃" }; say now - BEGIN now;
05:57 camelia rakudo-jvm 413650: OUTPUT«3.23␤»
05:57 camelia ..rakudo-parrot 413650: OUTPUT«4.1138715␤»
05:57 lue r: my $a = "☃"; for ^1000 { $a ~~ s/\☃/☃/; $a = "☃" }; say now - BEGIN now;
05:57 camelia rakudo-jvm 413650: OUTPUT«2.984␤»
05:57 camelia ..rakudo-parrot 413650: OUTPUT«4.07494964␤»
05:58 TimToady perl5 is at least smart enough to know when it's replacing something of the same length, and doesn't do any copying
05:59 TimToady but then, p5 strings are considered mutable
06:01 lue I realize that optimization gets really difficult the second you move beyond literal chars. I imagine s:g/<alpha>**6/search/ in a many-KiB text file would appreciate that sort of thing though.
06:02 jnap joined #perl6
06:04 REPLeffect joined #perl6
06:05 TimToady it's probably not worth optimizing s/A/A/ since nobody in their right mind writes that
06:08 lue TimToady: I wonder if that sort of literals optimization wouldn't be useful for tr/// though.
06:24 [Sno] joined #perl6
06:53 kaleem joined #perl6
06:59 dayangkun joined #perl6
07:02 darutoko joined #perl6
07:02 jnap joined #perl6
07:30 FROGGS joined #perl6
07:45 Khisanth joined #perl6
07:52 denisboyun joined #perl6
07:57 sqirrel joined #perl6
08:03 jnap joined #perl6
08:05 zakharyas joined #perl6
08:27 rindolf joined #perl6
08:34 djanatyn joined #perl6
08:34 Tene joined #perl6
09:04 jnap joined #perl6
09:12 flussence joined #perl6
09:12 Maddingu1 joined #perl6
09:12 segomos_ joined #perl6
09:12 integral joined #perl6
09:12 Juerd joined #perl6
09:12 lumimies joined #perl6
09:12 baest joined #perl6
09:12 felher joined #perl6
09:12 rafl joined #perl6
09:12 denysonique joined #perl6
09:12 _sri joined #perl6
09:12 TimToady joined #perl6
09:13 bonsaikitten joined #perl6
09:18 timotimo so, what do i hack on during my train ride today? jvm boot interop perhaps?
09:19 moritz +1
09:21 flussence joined #perl6
09:21 Maddingue joined #perl6
09:21 segomos_ joined #perl6
09:21 integral joined #perl6
09:21 Juerd joined #perl6
09:21 lumimies joined #perl6
09:21 baest joined #perl6
09:21 rafl joined #perl6
09:21 denysonique joined #perl6
09:21 _sri joined #perl6
09:21 TimToady joined #perl6
09:33 denis_boyun joined #perl6
09:43 jnthn morning o/
09:43 timotimo morning jnthn!
09:44 timotimo moritz: i'm hoping for the magical properties of trains that seem to make everybody properly finish whatever they start when they're on one
09:45 pecastro joined #perl6
09:45 jnthn timotimo: I think the Trans-Sib may have this magical property, 'cus you get 7 days to properly finish :P
09:45 timotimo :D
09:47 dakkar joined #perl6
10:05 jnap joined #perl6
10:06 xinming_ joined #perl6
10:11 xinming joined #perl6
10:16 dalek nqp: 4165a18 | jnthn++ | src/vm/moar/QAST/QASTOperationsMAST.nqp:
10:16 dalek nqp: Fix CONTROL handler compilation on Moar.
10:16 dalek nqp: review: https://github.com/perl6/nqp/commit/4165a18f11
10:16 xinming joined #perl6
10:22 fhelmberger joined #perl6
10:30 tgt joined #perl6
10:40 sqirrel joined #perl6
10:55 FROGGS joined #perl6
10:58 logie joined #perl6
11:05 jnap joined #perl6
11:15 felher joined #perl6
11:16 rindolf joined #perl6
11:40 FROGGS joined #perl6
11:44 xinming joined #perl6
12:00 ChristianS joined #perl6
12:01 Alina-malina joined #perl6
12:04 * timotimo waves from a train
12:05 jnthn .oO( Surfing teachers train from a wave... )
12:05 timotimo they also sometimes wave from a wave
12:06 diakopter and train from a train
12:06 jnap joined #perl6
12:07 woolfy joined #perl6
12:08 atroxaper joined #perl6
12:08 xinming joined #perl6
12:10 Alina-malina joined #perl6
12:11 SamuraiJack joined #perl6
12:16 Alina-malina joined #perl6
12:18 xinming joined #perl6
12:18 timotimo ... i have connectivity in this tunnel?! O_o
12:20 mtk joined #perl6
12:22 * FROGGS is in a tunnel too
12:26 torbjorn joined #perl6
12:31 dalek rakudo/moar-support: cc3eb74 | (Tobias Leich)++ | tools/build/ (3 files):
12:31 dalek rakudo/moar-support: rename moar runner generator
12:31 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/cc3eb74dee
12:39 dalek rakudo/moar-support: 64874c1 | (Tobias Leich)++ | tools/build/Makefile-Moar.in:
12:39 dalek rakudo/moar-support: add rule m-runner-default-install
12:39 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/64874c1e44
12:41 tgt joined #perl6
12:43 PZt joined #perl6
12:44 tgt joined #perl6
12:48 telex joined #perl6
12:57 dalek rakudo/moar-support: 1e44676 | jnthn++ | src/vm/moar/ops/ (2 files):
12:57 dalek rakudo/moar-support: Catch up with Moar API change.
12:57 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/1e44676d88
12:57 dalek rakudo/moar-support: 01a9052 | jnthn++ | src/vm/moar/ops/perl6_ops.c:
12:57 dalek rakudo/moar-support: Fix an apparent thinko.
12:57 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/01a9052a72
12:57 dalek rakudo/moar-support: 982e740 | jnthn++ | src/ (4 files):
12:57 dalek rakudo/moar-support: Implement p6decontrv.
12:57 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/982e740158
12:57 dalek rakudo/moar-support: 0115300 | jnthn++ | src/vm/moar/Perl6/Ops.nqp:
12:57 dalek rakudo/moar-support: Fix p6store code-gen thinko.
12:57 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/01153005a1
12:57 lizmat joined #perl6
13:00 FROGGS joined #perl6
13:06 timotimo i'm so glad i don't have to rebuild all of rakudo when i change the BootJavaInterop code ...
13:07 jnap joined #perl6
13:08 FROGGS yeah
13:09 timotimo that doesn't mean i can get it to run properly, though :P
13:09 FROGGS *g*
13:11 dalek rakudo/moar-support: b0962df | (Tobias Leich)++ | tools/build/Makefile-Moar.in:
13:11 dalek rakudo/moar-support: fix perl6-m runner
13:11 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/b0962df6d3
13:23 timotimo mhhh net connection is getting pretty flaky now :\
13:23 timotimo and i'm not nearing the fix any
13:32 dalek rakudo/moar-support: df347e3 | (Tobias Leich)++ | t/harness:
13:32 dalek rakudo/moar-support: prepare for running fudged tests
13:32 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/df347e3fc1
13:37 kaare_ joined #perl6
13:37 timotimo not sure what's going on; i get a NoSuchElement exception from calling peek, which calls the poll method on the channel object (in channel.t)
13:44 timotimo ~
13:48 felher joined #perl6
13:49 xinming joined #perl6
13:49 timotimo do i have to box aninteger into an Integer in jvm bytecode? :\
13:51 timotimo maybe there's a candidate for a native integer
13:52 ChristianS left #perl6
13:53 timotimo yup
13:56 timotimo wait ... could this be a legit failure i'm seeing?
13:56 timotimo NoSuchElementException raised when a LinkedBlockingQueue is empty and you poll from it?
13:57 timotimo nah, it's supposed to return null
13:59 jnap joined #perl6
14:02 timotimo weird, though, it says "going to call element", but that's not what i'm trying to call? i'm trying to call poll?!
14:04 timotimo ooooh crud! :D
14:04 timotimo what a dumb mistake ;)
14:04 timotimo i'm trying to identify the methods by desc, but the desc doesn't contain the method name, just the signature
14:05 jnthn away for a bit &
14:07 timotimo Cannot receive a message on a closed channel in throw (gen/jvm/CORE.setting)
14:09 * moritz runs m-test for the first in rakudo
14:14 ajr joined #perl6
14:17 timotimo strange. it calls new, add, add, poll, take and then says "cannot receive a message on a closed channel" ... ?!
14:17 timotimo the poll is from tkhe peek to check if closed is true
14:19 kbaker joined #perl6
14:22 timotimo oh well. i got at least one step closer to the working dispatcher generator
14:22 timotimo and now i have lots of debug code to boot!
14:28 kaleem joined #perl6
14:41 bluescreen10 joined #perl6
14:49 dalek rakudo/moar-support: 08811f8 | moritz++ | tools/build/Makefile-Moar.in:
14:49 dalek rakudo/moar-support: HARNESS_WITH_FUDGE always needs --moar
14:49 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/08811f8efe
14:54 btyler joined #perl6
14:58 logie joined #perl6
15:02 rurban1 joined #perl6
15:06 thou joined #perl6
15:13 bluescreen100 joined #perl6
15:14 * PerlJam wonders when "smashing cup" day was ...
15:14 kaare__ joined #perl6
15:15 PerlJam Ah, Jul 18
15:19 sjn heh... someone should make some "smashing cups" as perl6 giveaways/swag
15:19 diakopter mugs
15:20 sjn "What a smashing mug you have there"
15:20 moritz .u BEER MUG
15:20 moritz enounicodebot
15:20 eternaleye joined #perl6
15:20 moritz exists, as U+1F37A
15:21 skids joined #perl6
15:22 bluescreen__ joined #perl6
15:26 ayu_cew joined #perl6
15:27 Alina-malina joined #perl6
15:28 sqirrel joined #perl6
15:28 atroxaper joined #perl6
15:29 tadzik more useful than FRONT FACING BABY CHICK
15:33 * jnthn back
15:58 Psyche^ joined #perl6
16:00 japhb .oO( "Back where we started, here we go round again" )
16:04 diakopter jnthn: you mean you're a back facing baby chick?
16:04 jnthn diakopter: That's me :P
16:06 japhb MAIN parser replacement syntax idea: If you want to override the parsing for MAIN multis, add an explicit proto MAIN with a trait on it, like so: 'proto MAIN(|) is options-parsed(&subcommand) {*}', where &subcommand is a (possibly imported) options parser routine.
16:06 japhb This proto MAIN trait is noticed by MAIN_HELPER and used instead of its default.
16:07 japhb Thoughts?  (Aside from bikeshedding the trait name, which I expect a fair amount of.  :-)
16:07 diakopter option-sparsed
16:07 hummeleB1 joined #perl6
16:08 japhb Basically, does this have the right amount of syntactic weight for what it does, and is the override in the right place?
16:09 japhb My concern about the latter is for building things like busybox, where it may need to emulate lots of different options parsing styles depending on the name it was called with.  Though perhaps that's as good a reason as any to collect all that parsing crazy in one place.
16:18 Alina-malina joined #perl6
16:21 [Sno] joined #perl6
16:23 tgt joined #perl6
16:24 fhelmberger_ joined #perl6
16:30 japhb The options-parsed trait could also take a general object or class (as opposed to just a Callable), in which case it could call .parse-options(...) on it.
16:38 kaleem joined #perl6
16:45 gfldex joined #perl6
16:46 kaleem joined #perl6
17:01 cognominal joined #perl6
17:06 eternaleye joined #perl6
17:07 denis_boyun__ joined #perl6
17:22 FROGGS joined #perl6
17:23 dalek rakudo/moar-support: 94fd14b | (Tobias Leich)++ | t/fudgeandrun:
17:23 dalek rakudo/moar-support: prepare for running fudged tests
17:23 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/94fd14b1a9
17:32 timotimo Stage parse      : 4812.141  /  Stage jast       : 6309.581
17:32 timotimo oh my!
17:34 tadzik wow wow
17:34 tadzik is that microseconds? :)
17:36 jnthn o.O
17:39 SamuraiJack joined #perl6
17:44 timotimo that happens when you suspend during those stages :P
17:50 xinming joined #perl6
17:53 diakopter timotimo: run it again except change the clock back during
17:55 adu joined #perl6
17:55 timotimo :D
17:56 diakopter "STOP IT. Time traveling disturbs the AST generation process."
17:56 lue hello world o/
17:56 timotimo hellue
17:56 timotimo so, my jvm dispatcher codegen is better now
17:56 timotimo but it still runs into trouble :\
17:57 thou joined #perl6
18:05 jeffreykegler joined #perl6
18:12 _sri joined #perl6
18:12 rafl joined #perl6
18:12 flussence joined #perl6
18:12 Maddingue joined #perl6
18:12 segomos_ joined #perl6
18:12 integral joined #perl6
18:12 Juerd joined #perl6
18:12 lumimies joined #perl6
18:12 baest joined #perl6
18:12 denysonique joined #perl6
18:12 TimToady joined #perl6
18:14 timotimo wat.
18:14 timotimo i poll an int in the peek method, then i receive a CHANNEL_CLOSE in the receive method?!?
18:15 timotimo ah, of course
18:15 timotimo wow, i'm an idiot, aren't i
18:17 diakopter I DIDN'T SAY IT
18:17 timotimo i re-wrote a .'method/peek/.../' to be .poll instead
18:17 timotimo that's clever
18:31 dwarring joined #perl6
18:37 ajr joined #perl6
18:40 sjn hey, grats to woolfy and lizmat for the white camel award! :)
18:40 sjn http://blogs.perl.org/users/brian_d_foy/2013/12/the-2013-white-camels.html
18:43 dmol joined #perl6
18:44 V_S_C joined #perl6
18:48 dalek nqp/jvm_interop_dispatchers2: efc6d06 | (Timo Paulssen)++ | src/vm/jvm/runtime/org/perl6/nqp/runtime/BootJavaInterop.java:
18:48 dalek nqp/jvm_interop_dispatchers2: first working version of the arity-based dispatcher in java-land.
18:48 dalek nqp/jvm_interop_dispatchers2: review: https://github.com/perl6/nqp/commit/efc6d06fec
18:48 dalek nqp/jvm_interop_dispatchers2: 9db2ddb | (Timo Paulssen)++ | src/vm/jvm/runtime/org/perl6/nqp/runtime/BootJavaInterop.java:
18:48 dalek nqp/jvm_interop_dispatchers2: try to make this work. fails spectests.
18:48 dalek nqp/jvm_interop_dispatchers2: review: https://github.com/perl6/nqp/commit/9db2ddba99
18:48 dalek nqp/jvm_interop_dispatchers2: 2aecd58 | (Timo Paulssen)++ | src/vm/jvm/runtime/org/perl6/nqp/runtime/BootJavaInterop.java:
18:48 dalek nqp/jvm_interop_dispatchers2: fix thinko in the hash storing methods
18:48 dalek nqp/jvm_interop_dispatchers2:
18:48 dalek nqp/jvm_interop_dispatchers2: the desc in this part doesn't contain the actual method name.
18:48 dalek nqp/jvm_interop_dispatchers2: oops!
18:48 dalek nqp/jvm_interop_dispatchers2: review: https://github.com/perl6/nqp/commit/2aecd58ed0
18:49 dalek rakudo/jvm_interop_dispatchers: 68faa9d | (Timo Paulssen)++ | src/vm/jvm/core/ (2 files):
18:49 dalek rakudo/jvm_interop_dispatchers: use prettier names for java interop methods
18:49 dalek rakudo/jvm_interop_dispatchers: review: https://github.com/rakudo/rakudo/commit/68faa9da55
18:51 timotimo i'm running spectests now
18:51 timotimo (although it would be enough to just run S17-concurrency, i guess)
18:51 timotimo it'll probably fail again due to "no subtests run" >_<
18:55 timotimo jnthn: out of curiosity, and not because i want to implement it tomorrow already, what ops do i use to inspect the given arguments for their types?
18:56 timotimo and would i limit myself to checking Integer/String/Double/arrays of same?
18:56 timotimo well, for a start probably.
18:56 diakopter timotimo: istype ?
18:56 timotimo hm, yes, that kinda makes sense
18:57 timotimo i wonder how i get to the types that i have to pass to istype to check for the proper builtins
18:58 rurban1 joined #perl6
19:00 dalek nqp/jvm_interop_dispatchers2: ba639c6 | (Timo Paulssen)++ | src/vm/jvm/runtime/org/perl6/nqp/runtime/BootJavaInterop.java:
19:00 dalek nqp/jvm_interop_dispatchers2: remove lots of debug output.
19:00 dalek nqp/jvm_interop_dispatchers2: review: https://github.com/perl6/nqp/commit/ba639c6b65
19:05 timotimo hm, the tap test seems to hang
19:06 timotimo same for the Thread test, is that known?
19:11 jnthn Not to me...I guess see the last daily run.
19:12 sqirrel joined #perl6
19:16 jnthn timotimo: Type wise, there's a couple of cases: "primitive" types (int/double, etc) where we'd want to look for the relevant Perl 6 type being passed (Int, Num, ...)
19:16 jnthn timotimo: Then there's Java object types which are boxed up
19:16 jnthn timotimo: And for those you want to unbox them and use the instanceof JVM ops or something like that I guess.
19:23 pecastro joined #perl6
19:24 timotimo unbox them with SMOToJavaObject?
19:25 jnthn Something like that
19:25 jnthn Or I thin there's a javaWrap/unwrap or so...
19:25 timotimo mhm
19:26 timotimo ah yes, unboxClass
19:26 timotimo that'll be a crapton of work i fear
19:40 timotimo something got wrong with the winner syntax
19:42 moritz woolfy++ lizmat
19:42 timotimo https://github.com/perl6/roast/blob/master/S17-concurrency/winner.t#L30 - this line is certainly wrong
19:42 moritz woolfy++ lizmat++ # congratulations to the white camel award!
19:43 timotimo i *think* to make it correct, i'd just have to change the ) to a }, remove the , from the line before?
19:43 moritz also congratulations to the other two winners, whom I don't know yet
19:46 moritz http://perladvent.org/2013/2013-12-18.html that sounds nice
19:47 arnsholt Congrats, indeed. I was amused by ballot-stuffing to *not* get a prize =)
19:48 timotimo j: my $test; winner $test { more * => { say "test" }; done * => { say "test2" } }
19:48 camelia rakudo-jvm 413650: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/cm1SupKUILâ�¤Missing blockâ�¤at /tmp/cm1SupKUIL:1â�¤------> [32m winner $test { more * => { say "test" }[33mâ��[31m; done * => { say "test2" } }[0mâ�¤    expecting any of:â�¤        postfixâ�¤   …»
19:49 timotimo oh of course
19:49 timotimo j: my $test; winner $test { more * -> { say "test" }; done * -> { say "test2" } }
19:49 camelia rakudo-jvm 413650: OUTPUT«Got a Any, but expected a Channel or Promise.␤  in block  at gen/jvm/CORE.setting:18028␤  in block  at gen/jvm/CORE.setting:7303␤  in block  at gen/jvm/CORE.setting:7167␤  in method gimme at gen/jvm/CORE.setting:7585␤  in sub WINNER at gen/jvm/COR…»
19:49 timotimo great
19:53 lue moritz: Interesting module. I just wish we had a slurp_utf8 method in Perl 6, that sounds like the best thing ever!
19:53 masak http://blog.plover.com/prog/Moonpig.html is full of interesting stuff.
19:54 masak mjd++
19:54 masak I especially enjoyed the "main points" of date-and-time handling.
19:54 masak they deeply remind me of the "main points" of strings-vs-bufs
19:55 arnsholt Yeah, I liked the Moonpig presentation
19:55 arnsholt Or, reading it that is
19:56 masak me too.
19:56 masak but the post goes more into detail than the talk notes.
19:57 arnsholt Oooh, long post. Not sure how I missed that one
19:57 timotimo i didn't follow the changes, what's the new syntax for Publish.for(1..4)?
19:57 timotimo Supply.for(1..5)?
19:58 timotimo j: Supply.for(1..5);
19:58 camelia rakudo-jvm 413650: ( no output )
20:00 timotimo r: (do "hello").WHAT.say
20:00 camelia rakudo-parrot 413650, rakudo-jvm 413650: OUTPUT«(Str)␤»
20:02 moritz lue: perl 6's slurp sub and method assume UTF-8 by default
20:02 lue :) I know, I was slyly pointing out that Perl 6 comes with the functionality already included.
20:02 timotimo there we go. much better.
20:02 dalek roast: 8842267 | (Timo Paulssen)++ | S17-concurrency/winner.t:
20:02 dalek roast: bring winner.t up to latest spec and unfudge
20:02 dalek roast: review: https://github.com/perl6/roast/commit/88422675f6
20:03 rindolf joined #perl6
20:03 * lue should refrain from going smiley-less on sarcastic comments in the future.
20:04 TimToady \o/ first time evar! completed make with all 3 backends
20:04 lue \o/
20:04 TimToady quick, someone add in the JS backend
20:04 masak \o/
20:04 * lue still has to get through Test.pm on MVM
20:05 * masak .oO( Model... VievModel? )
20:05 masak View*
20:05 TimToady no, I think MVM makes movies
20:06 lue 1995, right?
20:06 TimToady Metro Voldwyn Meyer or some such
20:06 masak Metro Voldemort Meyer
20:06 lue Metropolis Voltage Meter
20:07 TimToady Mountain View Megatherium
20:07 lue Is it just me, or do the L<> references to the spec in roast/ vary a bit too much in their format for comfort? I'm not in the mood to write a very detailed grammar for them right now :P
20:08 timotimo i'd like to merge the jvm_interop_dispatchers branches into master and nom respectively. thoughts?
20:08 * TimToady knows a pretty good language for writing grammars...
20:09 colomon TimToady: is it…. C++?
20:09 TimToady did I hear a buzzing in the air?
20:09 lue Well, I know XML is good for everything, so...
20:11 lue or am I supposed to interpret the /fragment> portion as though it were a in a «» (complete with shell-quoting semantics)? That feels like what's happening here.
20:15 moritz TIL about "Astroid Lindgren": https://en.wikipedia.org/wiki/Astrid_Lindgren#.22Asteroid_Lindgren.22
20:15 cognominal joined #perl6
20:17 lue At some point the grammar will probably match L<S\d\d/[stuff]/[stuff]>, with me feeding each of those "stuff"s into eval("«" ~ $stuff ~ "»")  :)
20:19 timotimo moritz: suggestions for going ahead with the jvm interop branch? it runs all the spectests for concurrency, which is apparently the only place we use the jvm boot interop.
20:20 timotimo even after replacing all the long methods with short methods
20:20 jnthn timotimo: Did you put this stuff in the Rakudo subclass of the core interop stuff?
20:20 jnthn Or in the NQP one?
20:20 timotimo ah, good point
20:20 timotimo it's still in the NQP one.
20:20 timotimo you said you didn't want that
20:20 jnthn Well, it's going to become an issue I think when we get to the type based dispatch.
20:21 jnthn 'cus then we may well want to be able to talk about Rakudo types as part of the decision making.
20:21 timotimo mhm
20:21 ssutch joined #perl6
20:21 timotimo i'm not sure how to properly tear the code in nqp apart so that rakudo can properly replace the stuff
20:23 timotimo short of putting a method in there that does nothing in nqp and then implement it in rakudo
20:23 jnthn Could do that.
20:23 jnthn GenerateDispatchers(...); which does nothing by default
20:23 timotimo well, i guess i should
20:24 jnthn Well, it's now or later :)
20:24 timotimo can the analysis logic stay in nqp-land or should it move over to rakudo, too?
20:24 jnthn What's it doing?
20:24 jnthn Looking for the duplicates?
20:24 jnthn So long as it won't need anything Rakudo specific in it, I guess it's OK in NQP...
20:25 timotimo hold on, i'll analyze what i wrote in my ... well not drunken, but ... :P
20:27 timotimo in createAdaptorMethod I sort all the methods into buckets for their arities
20:27 timotimo that's not type-based, that's only for arities
20:28 cognominal joined #perl6
20:28 timotimo but on rakudo it'll also need a bit of analysis to stash away the types, if we inspect them at that point
20:30 timotimo i *think* the inspection could happen at a later point, too
20:31 timotimo jnthn: should i dream up some extra tests for the bootinterop?
20:33 jnthn timotimo: Yeah, tests would be great.
20:33 jnthn In t/jvm/ or so
20:34 timotimo *sigh*
20:34 timotimo can you suggest classes to bootinterop so that i have a good approach?
20:35 araujo joined #perl6
20:35 timotimo a good thing to approach*
20:35 colomon joined #perl6
20:37 jnthn StringBuilder has some methods that vary only in arity, I think
20:37 jnthn Yeah, looking at docs...indexOf
20:37 jnthn Also substring
20:37 timotimo thanks, that's a good start i hope
20:40 eternaleye joined #perl6
20:41 itz_ hmm I don't seem to be able to build nqp-m anymore .. is that my fault or just how things are?
20:43 moritz itz_: it needs an up-to-date MoarVM, probably newer than the configure script requires/checks
20:44 moritz I've built it successfully today, though I'm not sure if it was with the very latest versions
20:45 skids joined #perl6
20:45 itz_ ok ty I'll try again
20:45 itz_ This is MoarVM version 2013.10-233-g67d0815
20:48 moritz that's the newest, yes
20:49 masak the slots for 23rd and 24th are still unclaimed.
20:50 moritz if somebody has a good for what to write, I'll take the 23rd
20:50 timotimo masak: i thought about maybe claiming a slot, but i couldn't think of a good topic yet
20:50 timotimo moritz: if you can say something interesting about it, maybe an article about what exactly in rakudo is slow, why it isn't fast yet and what needs to happen for things to get fast?
20:51 moritz timotimo: I'm not sure I'm the right person to talk about that
20:51 cooper joined #perl6
20:51 cooper joined #perl6
20:51 * moritz still kinda hopes that raydiak++ will write about his ray tracer
20:52 timotimo oh yes :)
20:52 raydiak good chance that'll still happen :)
20:52 timotimo jnthn: should it be 00-jvm or 03-jvm? or just jvm?
20:55 eternaleye joined #perl6
20:56 timotimo http://questhub.io/realm/perl/quest/529decea9f567aa311000030 - feel free to give me thumbs up to ease my pain :P
20:57 spider-mario joined #perl6
20:57 eternaleye joined #perl6
20:59 jnthn timotimo: Just jvm works for me, I think...
20:59 masak timotimo: you'll get a thumbs-up from me here on channel -- I'm too lazy/busy to log in...
20:59 timotimo sure
21:01 timotimo j: my Mu $iop := nqp::jvmbootinterop(); my \StringBuilder := $iop.typeForName('java.util.StringBuilder'); my $foo := StringBuilder.new();
21:01 camelia rakudo-jvm 413650: OUTPUT«java.lang.ClassNotFoundException: java/util/StringBuilder␤  in block  at /tmp/G2YSSVPuso:1␤  in any eval at gen/jvm/stage2/NQPHLL.nqp:1086␤  in any evalfiles at gen/jvm/stage2/NQPHLL.nqp:1292␤  in any command_eval at gen/jvm/stage2/NQPHLL.nqp:1196…»
21:01 timotimo j: my Mu $iop := nqp::jvmbootinterop(); my \StringBuilder := $iop.typeForName('java.lang.StringBuilder'); my $foo := StringBuilder.new();
21:01 camelia rakudo-jvm 413650: OUTPUT«No such method 'new' for invocant of type 'BOOTJavaObject'␤  in block  at /tmp/b4fvlX9Wiy:1␤  in any eval at gen/jvm/stage2/NQPHLL.nqp:1086␤  in any evalfiles at gen/jvm/stage2/NQPHLL.nqp:1292␤  in any command_eval at gen/jvm/stage2/NQPHLL.nqp:1196…»
21:01 timotimo mhm mhm
21:01 timotimo ah, that would be because there's multiple arities
21:01 timotimo i don't think i do constructors properly yet
21:03 timotimo or look at them at all
21:04 itz_ hmm I can only build nqp-m with 2 directories nqp and MoarVM at the same level .. not the structure moar-support defaults to
21:05 timotimo my local structure has ~/perl6 with nqp/, MoarVM/, rakudo/ and install/  -  which is the --prefix for the three before that
21:05 timotimo also parrot/
21:06 timotimo i like that much better than on my desktop where i have ~/build/rakudo/ with nqp/, nqp/parrot/ and nqp/moarvm/
21:09 Fatalnix left #perl6
21:09 dmol joined #perl6
21:16 dayangkun joined #perl6
21:22 lue Huh. I could swear there was a Str.slurp method...
21:23 TimToady why would a Str know how to do IO?
21:23 TimToady you can do slurp(Str) though
21:23 lue there's slurp(Str), so I guess I was expecting a Str.slurp
21:23 TimToady or Str.IO.slurp
21:23 btyler joined #perl6
21:25 lue Since it's originally an IO::Path, I'll just do IO::Path.IO.slurp
21:30 japhb_ Anyone have any thoughts on my 'proto MAIN(|) is options-parsed(PARSER) {*}' idea?
21:34 sqirrel joined #perl6
21:35 PerlJam japhb_: just "interesting" and a generally positive feeling about it.  :)
21:36 japhb_ Well, that's good at least.
21:37 PerlJam I know I've been annoyed at the current behavior and having a relatively easy way to switch it out would've been nice.
21:37 japhb_ I keep expecting someone (TimToady?) to come back with a "That's a horrible idea, because *good reasons*."
21:37 japhb_ Yeah.
21:38 japhb_ Some of the common parser variants are probably small enough (or similar enough, so that the differences can be factored out), that I might just include ~3 variants in core.
21:39 lue japhb_: not sure how I feel about a trait. Perhaps just a ARGPARSE sub? MAIN already magically calls a USAGE sub upon malformed args, so why not magically call another sub?
21:40 rurban1 joined #perl6
21:40 skids also, should it be a sub, or a grammar?
21:40 japhb_ lue: Definitely a possibility; it fits the rest of the MAIN design.  Makes it harder to write a single module that provides multiple parser variants, though.
21:41 lue japhb_: same could be said for a module that would like to provide multiple USAGE message templates :)
21:41 japhb_ skids, I was going to go with DWIM: Callable, Grammar, or object/class.
21:42 japhb_ lue: Yes, I completely agree.  I'm not convinced the current design WRT USAGE, etc. is sufficiently general, but it does have the huffmanization down for doing small utilities.
21:43 lue All I know is that using a trait here feels wrong to me, and that's likely because of how USAGE happens.
21:44 PerlJam Hmm.   MAIN magically calls USAGE ... does that mean that the replacement arg-parser will be "required" to do the same?  (or, switching out the arg parser with arbitrary code seems to work against some of the magic)
21:44 japhb_ skids, One small issue is that a grammar expects a single block of text.  On some platforms, the args are indeed a huge block of text.  On others the args come in as an array of blobs, and on still others they are strings of same native variety.
21:44 skids If it would be possible in the body of MAIN with comparibly many charaters, why do it?
21:45 lue PerlJam: that's what I was thinking about. Presumably there are situations where malformed args are supposed to do everything except print a message, so perhaps USAGE could lose some of its magic there.
21:45 PerlJam lue: oddly, having another auto-magic sub feels wrong to me and I don't have a strong opinion about using a trait.
21:46 lue The whole idea of a main sub, looking at C for a moment, that requires the sub to accept certain arguments and return certain values tends to make for weird design choices.
21:46 lue Moral: MAIN subs are really weird.
21:46 japhb_ PerlJam, I think it is relatively common that people will want to replace &USAGE, and a large (but not total) overlap with those that would want to replace the parser.
21:47 lue I think weird magical behavior for the MAIN sub is justified, because MAIN itself is a bit odd.
21:48 japhb_ MAIN has quite a bit of magic, it's true.
21:48 japhb_ And yes, it does feel at least partially justified.
21:49 japhb_ Because MAIN serves as an interface to a special input that nothing else directly touches.
21:49 PerlJam If the arg-parser were just a grammar, then the USAGE magic could stay easy enough (and maybe be improved)--when the grammar fails, that's what trigger's the USAGE call (possibly with a parse fragment to aid in better usage messages)
21:49 japhb_ "In unix, everything is a stream of bytes ... except the command line arguments."
21:49 lue But yeah, how to make USAGE and ARGPARSE relate is interesting. Even if ARGPARSE is implemented as a trait, there *will* be people who want to disable the use of USAGE in their argparsers.
21:50 japhb_ lue: That feels like a mini-protocol.  Returning Failure from ARGPARSE should send you to USAGE.
21:50 japhb_ But remember that USAGE is also triggered by --help
21:51 lue For the record, I can see the argparse-as-trait argument favorable, seeing as the idea the USAGE is highly specialized, where ARGPARSE is highly generalized, therefore traits work better as a way to share parsers.
21:52 lue (meanwhile USAGE so rarely is shared in such a way)
21:53 japhb_ I think right now we're doing a poor job with USAGE (and I say that as one of the primary implementors of the current version of it).
21:54 skids japhb_: good point.  I guess before thinking on this problem having a good survey of what MAIN is actually handed from the OS across various platforms would be helpful.
21:54 lue japhb_: --help only triggers USAGE by way of normal "adverb not defined" rules. If you define a :$help, you need to be explicit.
21:54 lue (with a USAGE if $help line)
21:54 japhb_ lue: Not so.  Look at the implementation
21:55 japhb_ (re: poor job with USAGE)  Basically, for MAIN signatures of moderate complexity or non-trivial number, it becomes a hard to read wall of text mess.
21:56 skids e.g. platforms exist where the argv contains strings with nulls in the middle, or not, or might?
21:56 timotimo now i wish for duck typing in java
21:56 japhb_ I want the default to be much smarter about formatting and documentation (and have a better default parser, which affects where options can be displayed in the usage info), so that this becomes much more readable.
21:56 timotimo all the methods i need from Method are also in Constructor
21:56 lue japhb_: you talking about the $n<help> at the end of Main.pm?
21:56 timotimo but i don't think i have a common superclass i can use
21:57 japhb_ lue: yes.  Though I admit I haven't checked whether that code is still *reachable* since last I worked on it.
21:57 timotimo oh, but i can try casting. that'd be good enough
21:57 lue while we're on the subject of MAIN, I'm not entirely convinced that P6's named/positional arguments system maps exactly to commandline args.
21:58 lue (for example, I'm pretty sure I can't define a -? option)
21:58 japhb_ lue: I think you *can* define -?, but I forget the exact syntax, and it's probably not pretty.  :-/
21:59 japhb_ But I think when you have 'positional options', it gets rather fuzzy.
21:59 japhb_ Think about implementing the imagemagick command line.
21:59 lue :h($help) is how you get short and long form, right?
21:59 japhb_ Yeah.
22:00 lue so how do you generate *just* the short form? :$x would get me --x, when I'd prefer -x
22:00 dalek nqp: b22f11f | jnthn++ | src/vm/moar/QAST/QASTOperationsMAST.nqp:
22:00 dalek nqp: Fix a bunch of wrong constants.
22:00 dalek nqp: review: https://github.com/perl6/nqp/commit/b22f11f4b9
22:00 japhb_ lue: You can always have the short form if the name has only 1 character
22:01 lue come to think of it, an ARGPARSE function would have to be forced to return a Signature(?) matching sub MAIN's. Just like how C's main is forced to return an integer :)
22:01 japhb_ The usage generator is strict about - versus --, though I think in fact the current parser is more lax, and will accept either - or -- for any length option anme
22:02 * lue quickly tests short form stacking...
22:03 lue nope.
22:03 japhb_ lue: I don't think so. process-cmd-args() inside MAIN_HELPER just returns the positional and named arguments, and lets the outer code try to match against MAIN candidates.
22:03 japhb_ lue: Nope, no short form grouping.
22:03 japhb_ That might even be spec, come to think of it.
22:04 lue japhb_: *that* would explain why your proposal idea is written with a proto sub :)
22:04 japhb_ "that"?
22:04 lue <japhb_> lue: I don't think so. process-cmd-args() inside MAIN_HELPER just returns the positional and named arguments, and lets the outer code try to match against MAIN candidates
22:04 masak 'night, #perl6
22:04 lue ♞ masak o/
22:05 japhb_ Wow, masak was here and didn't paint the bikeshed?  Awww ....
22:05 japhb_ o/ masak
22:05 lue japhb_: basically, you reminded me that multi sub MAIN was a thing right there :)
22:05 japhb_ heh
22:06 lue r: proto sub foo(|) { say "A" }; multi sub foo(Str $a) { say $a }; multi sub foo(Int $b) { say $b * 2 }; foo("bar"); foo(12);
22:06 camelia rakudo-parrot 413650, rakudo-jvm 413650: OUTPUT«A␤A␤»
22:06 japhb_ lue: Yeah, that dispatcher never dispatches.  ;-)
22:06 BenGoldberg joined #perl6
22:06 japhb_ r: proto sub foo(|) { say "A"; * }; multi sub foo(Str $a) { say $a }; multi sub foo(Int $b) { say $b * 2 }; foo("bar"); foo(12);
22:06 camelia rakudo-parrot 413650, rakudo-jvm 413650: OUTPUT«A␤A␤»
22:07 japhb_ Ah, maybe it detects onlystar
22:07 jnthn japhb_: {*}
22:07 lue japhb_: I was thinking for a moment that proto sub MAIN(|) is ARGPARSE {*} could be replaced with proto sub MAIN(|) { ARGPARSE; nextsame} or something :)
22:07 lue r: proto sub foo(|) { say "A"; {*} }; multi sub foo(Str $a) { say $a }; multi sub foo(Int $b) { say $b * 2 }; foo("bar"); foo(12);
22:07 camelia rakudo-parrot 413650, rakudo-jvm 413650: OUTPUT«A␤bar␤A␤24␤»
22:08 japhb_ Oh, is {*} a token and not a block containing Whatever?
22:08 skids lue: that's what I meant by "done inside of MAIN"
22:08 lue japhb_: that `say "A"` place is where ARGPARSE stuff could go, perhaps? :) [likely not]
22:09 japhb_ lue: Hmmm, I'm not sure how it would communicate that the arguments are already parsed (or are going to be manually parsed), so that MAIN_HELPER can detect this.
22:10 dalek rakudo/moar-support: 0df06cf | jnthn++ | src/vm/moar/ops/perl6_ops.c:
22:10 dalek rakudo/moar-support: A little extra validation.
22:10 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/0df06cf234
22:10 dalek rakudo/moar-support: c5ecb99 | jnthn++ | src/core/GatherIter.pm:
22:10 dalek rakudo/moar-support: A cheating, eager gather/take.
22:10 dalek rakudo/moar-support:
22:10 dalek rakudo/moar-support: Gets us by for the basic things for now, until MoarVM has continuation
22:10 dalek rakudo/moar-support: support implemented.
22:10 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/c5ecb99a23
22:11 lue japhb_: yeah, not the best place to intercept input :/ . At least I know how to have common operations carried out in a multi sub now :D
22:12 xenoterracide joined #perl6
22:12 dalek rakudo/moar-support: 632da41 | jnthn++ | src/vm/moar/ops/perl6_ops.c:
22:12 dalek rakudo/moar-support: Fix p6var op.
22:12 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/632da4123f
22:12 dalek rakudo/moar-support: c5008b2 | jnthn++ | src/vm/moar/ops/perl6_ops.c:
22:12 dalek rakudo/moar-support: Harden p6decontrv.
22:12 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/c5008b2dea
22:12 skids Maybe proto sub MAIN exists as a default unless you specify it, and if you do, you have to call MAIN_HELPER manually...
22:12 Ben_Goldberg joined #perl6
22:13 lue .oO( proto sub MAIN(Int argc, Array[Uni] argv) {*} )
22:13 FROGGS uhh
22:13 * FROGGS pulls
22:14 lue 💡 I wonder if one could write a post on that proto { prestuff; {*}; poststuff } trick...
22:15 japhb_ A nice idea, that.  :-)
22:16 * lue idly wonders if &uniname should be called &uname ...
22:17 lue japhb_: In general, though, I don't think I would mind a reworking of the MAIN setup.
22:18 japhb_ Yeah, it feels like time.
22:19 lue What's the thing that lets you see the raw arguments, again?
22:20 PerlJam lue: you mean like  sub foo(|args) { } ?
22:20 lue no, I was thinking of @*ARGS
22:24 FROGGS jnthn++ # t/spec/S16-io/say.t ........................................... ok
22:25 jnthn FROGGS: Um...but we don't have Test.pm loading working yet.
22:25 jnthn FROGGS: Does that test file not use it?
22:25 lue japhb_: I keep on thinking that an ARGPARSE mechansim needs syntax that clearly illustrates its injective nature, i.e.  <outside world> <custom ARGPARSE> <MAIN>
22:25 FROGGS jnthn: it doesn't use it, right
22:26 FROGGS jnthn: it just say()'s the tap :o)
22:27 jnthn FROGGS: Hm, so how many tests is it? :)
22:27 FROGGS jnthn: that is the only one that passes... 8 single tests
22:28 jnthn heh, 8 :)
22:28 lue If you tilt your head (y'know, to read jnthn's smiley properly), that's ∞ tests!
22:29 jnthn r: say 8 / 28238
22:29 camelia rakudo-parrot 413650, rakudo-jvm 413650: OUTPUT«0.000283␤»
22:29 jnthn 0.03% ;)
22:29 jnthn That's infinitely better than 0.00%
22:29 colomon joined #perl6
22:30 FROGGS I that the time when it goes into nom? :o)
22:31 lue jnthn: I just tried to do 'panda install Rakudo::Debugger', and got 'sh: nqp: command not found' as the first line.
22:31 FROGGS ohh
22:31 FROGGS it should run nqp-somthing instead
22:31 japhb_ Way back when I think I wrote a sanity test for Rakudo that just spit out the TAP.  Did that go away at some point?
22:32 jnthn japhb_: I think all of t/01-sanity does.
22:32 lue FROGGS, jnthn: then there's a stat failure and "Unable to open filehandle from path 'perl6-debug.pbc': No such file or directory(2)", so it seems to require nqp-p, at least for now?
22:32 jnthn japhb_: Except one of them.
22:32 FROGGS lue: yeah, looks like
22:32 jnthn FROGGS, lue: If somebody does the appropriate build love, it works on JVM too, fwiw.
22:32 FROGGS dunno how we make these kind of modules multi backend aware
22:33 lue I could just set up a symlink to nqp-p for now :P
22:33 japhb_ lue, "illustrating the injective nature" is a large part of why I thought decorating the proto worked well -- because normally the proto would be hidden, but with this you show "I'm about to override how dispatch to MAIN happens"
22:33 japhb_ jnthn, Ah, right, because the last sanity test would see if it could get Test.pm to work, but all of the previous sanity tests (the ones I wrote, anyway), were just trying to see if enough functionality existed that Test.pm could *possibly* run.
22:34 dalek rakudo-star-daily: f9bd147 | coke++ | log/ (5 files):
22:34 dalek rakudo-star-daily: today (automated commit)
22:34 dalek rakudo-star-daily: review: https://github.com/coke/rakudo-star-daily/commit/f9bd1479ba
22:34 lue japhb_: true. The trait on its own doesn't illustrate that, meanwhile the proto on its own can/does. I'm not sure of the net effect of those two together :)
22:34 jnthn japhb_: Right. And I'm at this point passing all but the final one on Moar :)
22:34 japhb_ Back when I first wrote them, there was a big gap between the last sanity test I completed, and Test.pm.  But ISTR others filled in the functional gap there with more test files.
22:34 [Coke] oooh, good news.
22:35 japhb_ jnthn, AWESOME!  \o/
22:35 * lue cheated with an 'nqp' symlink for now :) .
22:35 * lue &
22:36 dalek rakudo/moar-support: 7c7dc29 | jnthn++ | src/Perl6/Metamodel/BOOTSTRAP.nqp:
22:36 dalek rakudo/moar-support: Attributive parameter binding.
22:36 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/7c7dc297ef
22:36 dalek rakudo/moar-support: ff6397c | jnthn++ | src/core/terms.pm:
22:36 dalek rakudo/moar-support: Support $*CWD on Rakudo on Moar.
22:36 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/ff6397c58e
22:36 [Coke] from the daily run that hasn't been pushed:
22:37 [Coke] "total",         8, 26551,     0,     0, 26559, 28250
22:37 [Coke] and it looks like jnthn++'s been busy since then. :)
22:37 jnthn [Coke]: Yeah, but all the busy is "get Test.pm to run" :)
22:38 [Coke] and, and looks like the 8 was already mentioned. well, it'll be "official" soon. :)
22:38 sftp joined #perl6
22:40 [Coke] can't push until jvm finishes. slow, slow, jvm.
22:40 [Coke] I have 2 weeks of time to do some (amongst other things) sixperl, before 2014. yay.
22:42 timotimo \o/
22:43 colomon joined #perl6
22:44 dalek rakudo/moar-support: 90fec0a | jnthn++ | src/core/terms.pm:
22:44 dalek rakudo/moar-support: Uncomment the remaining @*INC support bits.
22:44 dalek rakudo/moar-support:
22:44 dalek rakudo/moar-support: All that it depends on is now fixed. With this, we now mostly pass
22:44 dalek rakudo/moar-support: 99-test-basic.t (around 5 failing test cases).
22:44 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/90fec0aea2
22:52 japhb_ I am quite excited about that last commit message.
22:53 japhb_ jnthn++ and (moarvm team)++
22:54 bluescreen100 joined #perl6
22:54 lue [Coke]: what is sixperl, again?
22:54 timotimo what, it works?!
22:56 dalek nqp/jvm_interop_dispatchers2: e81dec4 | (Timo Paulssen)++ | src/vm/jvm/runtime/org/perl6/nqp/runtime/BootJavaInterop.java:
22:56 dalek nqp/jvm_interop_dispatchers2: allow us to dispatch arity-based constructors
22:56 dalek nqp/jvm_interop_dispatchers2: review: https://github.com/perl6/nqp/commit/e81dec422c
22:56 jnthn It seems we can now attempt spectest runs. Naturally a lot fails. More problemaitc, various things hang.
22:57 jnthn Presumably as a product of gather not being properly lazy yet.
22:57 timotimo likely, yeah
22:57 timotimo just make it abort after 50 items or something :P
22:58 jnthn Yes, I'm actually seriously considering that :)
22:58 jnthn There are some positives amongst the massive fail, mind...
22:58 jnthn Failed 108/108 subtests
22:58 jnthn t\spec\S03-operators\basic-types.t ............................ ok
22:58 jnthn oops, that wasn't the lines I meant to copy :)
22:58 jnthn ah well, some things do pass :)
22:59 timotimo that's pretty darn cool :)
23:00 FROGGS wow, it is passing a lot of tests it seems
23:01 jnthn Can be curious to see what passes...
23:01 jnthn t\spec\S05-grammar\protoregex.rakudo.moar ..................... ok
23:01 jnthn :)
23:01 japhb_ .oO( Today, the daily run shows infinite growth in tests passing for rakudo-moarvm, but tomorrow it will merely be thousands of percent growth.  Clearly jnthn is slacking off! )
23:02 jnthn :P
23:02 FROGGS gnight!
23:02 timotimo i'm going to bed, too
23:02 japhb_ o/ FROGGS and timotimo
23:02 timotimo having made constructors arity-dispatch as well, i've surpassed my daily goal \o/
23:03 jnthn timotimo++
23:03 jnthn That's awesome.
23:03 japhb_ indeed
23:05 lue A minor nitpick, I notice that nqp-m installs a <prefix>/languages directory? I'd prefer something like <prefix>/share/MoarVM/languages, for when the <prefix> is /usr/local :)
23:13 jnthn lue: I suspect there'll be various things that'll want improving with regard to install stuff.
23:14 lue :) Not too big a deal, I just dislike when programs add directories to /usr or /usr/local for no clear can't-put-it-in-one-of-the-existing-dirs reason.
23:15 jnthn Oh my...I think we may have been having slower spectest runs on JVM for no good reason...
23:16 jnthn On Parrot, we pre-compile Test.pm and put Test.pir in lib
23:16 jnthn So we find it when running spectest
23:16 jnthn For JVM we put it in blib, don't, and thus re-compile Test.pm for every test case.
23:16 japhb_ Oh, shazbot.
23:17 lue Come to think of it, <prefix>/languages might fit better as <prefix>/lib/MoarVM/...
23:17 jnthn Discovered 'cus I coudln't believe MoarVM was a bit tardy with spectest, then figured it wasn't either...
23:28 dalek rakudo/moar-support: 2873438 | jnthn++ | src/core/GatherIter.pm:
23:28 dalek rakudo/moar-support: Try to avoid hangs due to gather not being lazy.
23:28 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/28734380d5
23:28 dalek rakudo/moar-support: 61c62b1 | jnthn++ | tools/build/Makefile-Moar.in:
23:28 dalek rakudo/moar-support: Ensure pre-compiled Test.pm is in the right place.
23:28 dalek rakudo/moar-support: review: https://github.com/rakudo/rakudo/commit/61c62b19bd
23:29 xenoterracide joined #perl6

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

Perl 6 | Reference Documentation | Rakudo