Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2013-01-19

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:00 zoomby joined #perl6
00:00 dalek nqp-jvm-prep: 7356c32 | jnthn++ | docs/ROADMAP:
00:00 dalek nqp-jvm-prep: Update ROADMAP.
00:00 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/7356c32489
00:00 timotimo jnthn: am i reading this correctly? bounded serialisation is almost complete?
00:01 jnthn That awkward moment when you complete your weekend project on Friday night...
00:01 timotimo ah, deserialisation is still missing, ok
00:01 timotimo jnthn++
00:01 jnthn timotimo: It's missing a few important pieces.
00:01 timotimo try not to burn yourself out :)
00:01 jnthn timotimo: But it's much more there than not.
00:01 diakopter That awkward moment when weekend projects take all of weekends and weekdays
00:02 jnthn :)
00:02 Ulti yay my windows calls ran.... but didnt do anything
00:02 jnthn Yeah, though I've gotta teach some classes in the next couple of weeks. So my weekdays are gonna be a little more consumed. :)
00:08 jnthn OK, sleep time... 'night o/
00:08 diakopter o/
00:09 timotimo night jnthn!
00:12 zoomby joined #perl6
00:13 benabik joined #perl6
00:54 thou joined #perl6
00:58 djanatyn hello! :)
00:58 djanatyn if I wanted to make a quick change to the perl6 site, what would be the most convenient way to do that? fork and send a pull request?
00:59 diakopter ask for a commit bit
01:00 timotimo i seem to have a commit bit, if noone else is around
01:00 diakopter hm, I don't know whether anyone's around who can do that
01:00 timotimo i'll be here about 30 minutes, then decommute and go to sleep
01:00 diakopter I don't have admin rights on the perl6 org
01:02 timotimo djanatyn: i think pull request is easiest
01:03 huf that site still falls apart on my browser :) a <table> would work though...
01:04 diakopter huf: does more than 0.1% of people use your browser?
01:04 huf of course not
01:04 diakopter oh :P
01:04 diakopter (how was I to know..)
01:04 huf it only happens if you set the minimum font size rather large in firefox
01:05 huf i dont think many people do that
01:07 djanatyn pull request sent
01:07 djanatyn I literally changed one line ^_^:
01:07 djanatyn ^_^;
01:10 timotimo yeah, that seems nice.
01:11 timotimo seems like that's 2 entirely distinct repositories?
01:11 timotimo oh, but it says so right in the description
01:12 dalek perl6.org: b259f0b | (Jonathan Strickland)++ | source/whatever/index.html:
01:12 dalek perl6.org: updated vim-perl link to current repository
01:12 dalek perl6.org: review: https://github.com/perl6/p​erl6.org/commit/b259f0bdcd
01:12 dalek perl6.org: c897bd5 | timo++ | source/whatever/index.html:
01:12 dalek perl6.org: Merge pull request #8 from djanatyn/master
01:12 dalek perl6.org:
01:12 dalek perl6.org: just updated a not-entirely-up-to-date link for vim-perl
01:12 dalek perl6.org: review: https://github.com/perl6/p​erl6.org/commit/c897bd5dc8
01:12 Pleiades` joined #perl6
01:15 benabik joined #perl6
01:27 Pleiades` joined #perl6
01:33 PacoAir joined #perl6
02:00 FROGGS_ joined #perl6
02:05 PacoAir joined #perl6
02:22 PacoAir joined #perl6
02:26 timotimo i wonder where to put tests for this error.
02:26 timotimo hm. typed exceptions are supposed to be standardised, no? so it would actually get into t/spec, isn't that right?
02:27 timotimo it seems a bit much to expect suggestions from all implementations, though, doesn't it?
02:31 vdaghan joined #perl6
02:39 benabik joined #perl6
02:42 timotimo being able to use my inside a statement is SO GOOD
02:46 timotimo i think perl6 should optimistically skip ahead blocks and parallely parse future blocks with multithreading, so that in case of correct parsing, it goes faster and if not, redundant work is just thrown away
02:47 sorear checking whether the correct parse was chosen seems nontrivial
02:47 timotimo i'd only propose it for very simple cases
02:47 timotimo like when you start doing a class {, try to find the next class { in the same level (not nested classes, for instance)
02:48 timotimo CORE.setting is full of this kind of stuff. if it could be sped up to 1 / Ncores minus overhead, that would be so amazingly cool
02:49 timotimo even use a heuristic like "where's the next class with the same amount of whitespace in front?"
02:49 timotimo hm, this seems to gotcha me:
02:50 timotimo nqp: sub yoink() { 10 }; say(my $yoinkresult := yoink()) unless $yoinkresult > 20;
02:50 p6eval nqp: OUTPUT«10␤»
02:50 timotimo or maybe something else does. hmm.
02:58 timotimo nqp: my $distance := 10; $distance := (my $new-distance := 5) if $new-distance < $distance; say($distance);
02:58 p6eval nqp: OUTPUT«5␤»
02:58 timotimo nqp: my $distance := 10; $distance := (my $new-distance := 15) if $new-distance < $distance; say($distance);
02:58 p6eval nqp: OUTPUT«15␤»
02:58 timotimo so the if clause is evaluated before the left part of it
02:58 timotimo is there a nice way to do it differently?
02:59 timotimo i should switch the computation on the right side then.
03:00 Pleiades` joined #perl6
03:04 timotimo that seems to work fine. and it totally looks like a where clause in haskell now :D
03:09 sorear there is "and"
03:09 timotimo https://github.com/timo/rakudo/commit/8​587bf25ed36fb9c4927f7d65420bfb45c78892e - just for reference, this is what i ended up doing for now
03:10 timotimo nqp: my $distance := 10; (my $new-distance := 5) < $distance and $distance := $new-distance; say($distance);
03:10 p6eval nqp: OUTPUT«Confused at line 2, near "(my $new-d"␤current instr.: 'panic' pc 13207 (src/stage2/gen/NQPHLL.pir:4680) (src/stage2/gen/NQPHLL.pm:328)␤»
03:12 timotimo "FancyClass cannot inherit from Juntikon because it is unknown. Did you mean Junction?" i'm enjoying this feature way more than i should :D
03:17 perigrin joined #perl6
03:26 cibs joined #perl6
03:30 swarley lol, that reminds me of a ruby gem. Except that gem often encourages sloppy programming because it doesn't warn you about mistyped methods, it just attempts to correct it for you if it's close enough to an existing one.
03:32 sorear https://metacpan.org/module/Symbol::Approx::Sub
03:34 cibs joined #perl6
03:34 swarley Yeah, like that. Sort of
03:35 swarley https://github.com/AndrewVos/metherd-missing
03:40 orafu joined #perl6
03:50 cibs joined #perl6
03:51 Pleiades` joined #perl6
03:53 timotimo "DESCRIPTION
03:53 timotimo This is _really_ stupid."
03:58 sevin joined #perl6
04:00 jaldhar joined #perl6
04:06 cibs joined #perl6
04:17 jaldhar joined #perl6
04:20 cibs joined #perl6
04:23 benabik joined #perl6
04:24 preflex_ joined #perl6
04:42 cibs joined #perl6
04:53 cibs joined #perl6
04:56 Pleiades` joined #perl6
04:58 fgomez joined #perl6
05:04 cibs joined #perl6
05:08 nuba joined #perl6
05:12 Pleiades` joined #perl6
05:30 SamuraiJack joined #perl6
05:34 cibs joined #perl6
05:46 cibs joined #perl6
05:49 [Coke] masak: suggestion for next year - allow us to emit diagnostics on stderr.
05:51 cibs joined #perl6
05:57 [Coke] $ panda list
05:57 [Coke] ===SORRY!===
05:57 [Coke] No object at index 164
05:57 [Coke] panda is 144 lines long. whee.
05:58 sorear [Coke]: The indexes are not line numbers.
05:58 sorear They're arbitrary numbers that identify objects in separately-compiled modules.
05:58 [Coke] so, it's even less useful than I feared.
05:59 sorear That error message means that you didn't delete and reinstall panda like you're supposed to after changing Rakudo
05:59 skids joined #perl6
05:59 cibs joined #perl6
05:59 [Coke] pointer to docs on that?
05:59 sorear ...that could have been better phrased
06:00 [Coke] I have probably rebuilt rakudo since installing panda. I just did a rebootstrap of panda with the new perl6 and got failures.
06:02 SunilJoshi joined #perl6
06:02 * [Coke] occasionally tires of "early adopter" pains. :(
06:16 MikeFair joined #perl6
06:18 Pleiades` joined #perl6
06:22 diakopter [Coke]: probably?
06:22 diakopter oh
06:22 * diakopter read more context
06:24 araujo joined #perl6
06:24 araujo joined #perl6
06:29 Pleiades` joined #perl6
06:36 * [Coke] hopes it's still Friday somewhere.
06:36 diakopter here
06:37 sevin joined #perl6
06:39 doy left #perl6
06:39 Pleiades` joined #perl6
06:46 vividsnow joined #perl6
06:50 diakopter aha! reproduced it on the first run
06:50 diakopter er, ww
06:51 [particle] joined #perl6
06:54 quester perl6: say "Inf.Int = ", Inf.Int
06:54 p6eval rakudo 98a4a8: OUTPUT«Inf.Int = Cannot coerce Inf to an Int␤  in method gist at src/gen/CORE.setting:10404␤  in sub say at src/gen/CORE.setting:7559␤  in block  at /tmp/UOIxLpZgou:1␤␤»
06:54 p6eval ..niecza v24-18-gaf64300: OUTPUT«Inf.Int = Inf␤»
06:55 quester say "NaN.Int = ", NaN.Int
06:56 quester perl6: say "NaN.Int = ", NaN.Int
06:56 p6eval rakudo 98a4a8: OUTPUT«NaN.Int = 0␤»
06:56 p6eval ..niecza v24-18-gaf64300: OUTPUT«NaN.Int = NaN␤»
06:58 * quester notes rakudo 2012.12 claims NaN.Int = 9223372036854775808
07:03 [Coke] p: say NaN.Int
07:03 p6eval pugs: OUTPUT«-269653970229347386159395778618353710042​69654684134598591014512173659901370825144469906​27159836113040316801708198070900364881846532216​24933739271145959211186566651840137298227914453​32940186914117917962442812750865325722602351369​4322210869665811240855745025766026879447359920…
07:04 diakopter cool
07:04 diakopter good thing it's negative
07:05 sorear n: say NaN.Int
07:05 p6eval niecza v24-18-gaf64300: OUTPUT«NaN␤»
07:05 sorear for a while n and p got the same answer :D
07:05 sorear p: say 2**63
07:05 p6eval pugs: OUTPUT«9223372036854775808␤»
07:06 diakopter rnp: 9**9**9
07:07 p6eval niecza v24-18-gaf64300, pugs: OUTPUT«(timeout)»
07:07 p6eval ..rakudo 98a4a8:  ( no output )
07:07 diakopter rakudo completed it!?
07:08 sorear r: say (9**9**9).chars
07:08 p6eval rakudo 98a4a8: OUTPUT«3␤»
07:08 sorear r: say (9**9**9)
07:08 p6eval rakudo 98a4a8: OUTPUT«Inf␤»
07:09 sorear not far off
07:11 diakopter heh :)
07:30 Pleiades` joined #perl6
07:34 diakopter windows tip: heisenbug far less often reproducible with console debug output - direct output to more so the screen doesn't scroll
07:37 [particle]1 joined #perl6
07:40 quester left #perl6
07:42 sorear diakopter: What kind of console debug output?  Is this a p6 thing or a windows kernel thing?
07:43 Pleiades` joined #perl6
07:43 diakopter oh, just general programming
07:43 diakopter making the screen scroll slows the program considerably
07:50 kaare_ joined #perl6
07:51 erkan joined #perl6
07:51 erkan joined #perl6
08:02 moritz \o
08:18 kaare__ joined #perl6
08:27 sorear o/ moritz
08:54 zostay joined #perl6
09:11 FROGGS_ morning
09:19 sorear o/ FROGGS_
09:28 FROGGS[mobile] joined #perl6
09:42 Psyche^ joined #perl6
09:43 fgomez joined #perl6
10:13 zby_home_ joined #perl6
10:15 xinming joined #perl6
10:22 FROGGS_ timotimo: perl6 -e "class Unt is Ant { }":  OUTPUT«Unt cannot inherit from Ant because it is unknown.␤Did you mean one of these?␤Any␤Int␤int␤Unt␤»
10:23 FROGGS_ timotimo: would it be possible (some day) to skip the symbol an unknown trait is applied on?
10:24 FROGGS_ timotimo: and you maybe quote the symbols in the first sentence, other error messages do this too
10:25 FROGGS_ r: sub a is useless { }
10:25 p6eval rakudo 98a4a8: OUTPUT«[31m===[0mSORRY![31m===[0m�Cannot call 'trait_mod:<is>'; none of these signatures match:�:(Mu:U $child, Mu:U $parent)�:(Attribute:D $attr, :rw(:$rw)!)�:(Attribute:D $attr, :readonly(:$readonly)!)�:(Attribute:D $attr, :box_target(:$box_target)!)�:(Routine:D $r, …
10:28 jnthn ohhai o/
10:29 FROGGS_ morning jnthn
10:29 PacoAir joined #perl6
10:41 denisboyun joined #perl6
10:48 rindolf joined #perl6
10:53 PacoAir joined #perl6
11:05 Su-Shee_ joined #perl6
11:13 nwc10 jnthn++ # overnight awesomness
11:15 denisboyun joined #perl6
11:34 timotimo FROGGS: totally can!
11:38 FROGGS good boy *g*
11:41 spider-mario joined #perl6
11:46 Pleiades` joined #perl6
11:53 FROGGS can somebody please read Note#3 and tell me if it is sane? https://github.com/FROGGS/p6-S11Versioning
11:53 FROGGS https://github.com/FROGGS/p6-S11Versioning#notes
11:55 FROGGS will work more on this these days, since I can stop working on the grammar... that means I will add a feature branch (or fork) to panda
11:56 FROGGS timotimo: where do you live? do we meet at gpw2013?
11:56 * FROGGS hopes that timotimo's WHOIS is misleading about his position on earth
11:57 timotimo that's litteraly spot on on my birthday o_O
11:57 timotimo berlin's a bit far for me, though
11:57 FROGGS hmmm, sad
11:57 masak oh hai, #perl6
11:58 FROGGS hi masak
11:58 jnthn yayitsmasak \o/
12:01 masak funniest p6cc praise so far, from the sent-in-solutions-in-Python guy: "I just wanted to show you your tasks are popular even among people who can't stand Perl6."
12:02 tadzik :)
12:03 arnsholt =D
12:03 arnsholt masak: Have you done a talk about p6cc yet?
12:03 FROGGS we should organize a perl 6 hackaton in near future, but I think I could only come to a place in germany
12:03 masak arnsholt: oh! I haven't. I totally should.
12:04 Ulti perl6: my int32 enum DayOfWeek <<Sunday Monday Tuesday Wednesday Thursday Friday Saturday>>;
12:04 masak arnsholt: need to figure out an "angle" for it, and then I will submit it to YAPC::EU 2013.
12:04 p6eval rakudo 98a4a8: OUTPUT«===SORRY!===␤Method 'parrot_vtable_mappings' not found for invocant of class 'Perl6::Metamodel::NativeHOW'␤»
12:04 p6eval ..niecza v24-18-gaf64300: OUTPUT«[31m===[0mSORRY![31m===[0m��Malformed my at /tmp/u2UqQ8iKP_ line 1:�------> [32mmy[33m�[31m int32 enum DayOfWeek <<Sunday Monday Tu[0m��Parse failed��»
12:04 timotimo masak: "can't stand perl6" - must be due to not having looked at it seriously.
12:04 Ulti perl6: my Num enum DayOfWeek <<Sunday Monday Tuesday Wednesday Thursday Friday Saturday>>;
12:04 p6eval rakudo 98a4a8: OUTPUT«===SORRY!===␤P6opaque only supports type changes where the MRO of the original type is a suffix of the MRO of the new type␤»
12:04 p6eval ..niecza v24-18-gaf64300:  ( no output )
12:04 masak timotimo: surely it doesn't need to be due to that.
12:05 timotimo i'm regularly a python guy and perl6 gives me what python lacks, so ... ;)
12:05 masak timotimo: I've had people look at Perl 6 seriously and recoil in horror.
12:05 masak people are different.
12:05 arnsholt masak: One possible angle could be Perl 6 and how it varies between people, or somesuch
12:06 masak yeah, that's some of the joys of reviewing the solutions.
12:06 masak people are all over the map.
12:07 masak some are an aerodynamic fit to the shape of the language itself. some write 80's procedural code. some write OO code. some write FP code.
12:07 masak yes, there's definitely a talk in there.
12:07 arnsholt And that's one of your stated goals with it as well, no? Getting many people to do the same things to explore the state-space for style?
12:07 masak yeah.
12:08 timotimo so, rakudo has a bit of ANSI coloring available. i'm thinking of writing that backtracking support for the levenshtein, so we get difference highlighting for the suggestions.
12:10 masak did we get a turn-off-ANSI option? if so, might be good to plug this into the same option.
12:10 jnthn timotimo: Make sure the appropriate environment variable for if we should do color or not is set if you do it. I'm not sure it'll be a help or a distraction, though...
12:10 masak right.
12:10 tadzik FROGGS: I don't mind taking a trip to germany :)
12:10 timotimo i was thinking of non-obstrusive highlighting. underlining the parts that were added or changed and before and after removed characters would be fine, i think
12:10 jnthn timotimo: tbh, I'd leave the coloring thing there. But doing it for variable names would be good. Even better is if you can get the "wrong sigil" thing to have a good error...
12:11 jnthn std: my @x; say $x[0]
12:11 MayDaniel joined #perl6
12:11 timotimo yes, that's on my list of things to plug this stuff into. i don't know where to find that, though. haven't looked either.
12:11 p6eval std 7deb9d7: OUTPUT«[31m===[0mSORRY![31m===[0m�Variable $x is not predeclared (did you mean @x?) at /tmp/sX5JHng4Ey line 1:�------> [32mmy @x; say [33m�[31m$x[0][0m�Check failed�FAILED 00:00 44m�»
12:11 timotimo i think sigil changes could be a case like "-"/"_"/"" in the current code: cost less than a regular letter change
12:12 jnthn yeah
12:12 masak <[Coke]> masak: suggestion for next year - allow us to emit diagnostics on stderr.
12:12 masak hrm, yes.
12:12 timotimo is there a short way of writing $char eq any('$@%&|'.comb) in nqp?
12:12 masak a bigger problem is that contestants can't really use &die, because &die also emits a stacktrace and won't shut up about it.
12:13 masak timotimo: indexof?
12:13 masak er, .index?
12:13 jnthn nqp::indexof
12:13 timotimo that sounds decent, but also OMG that's so C ;)
12:13 jnthn heh :)
12:13 timotimo say(nqp::indexof("@", '@$%|')); say(nqp::indexof("A", "@$%|"));
12:13 timotimo nqp: say(nqp::indexof("@", '@$%|')); say(nqp::indexof("A", "@$%|"));
12:13 p6eval nqp: OUTPUT«Error while compiling block : Error while compiling op call: Error while compiling op indexof: No registered operation handler for 'indexof'␤current instr.: '' pc 45675 (src/stage2/QAST.pir:15918) (src/stage2/QAST.nqp:2400)␤»
12:14 jnthn oh, it's just index
12:14 timotimo OK
12:14 * masak guesses it's... what jnthn said
12:14 timotimo nqp: say(nqp::index("@", '@$%|')); say(nqp::index("A", "@$%|"));
12:14 p6eval nqp: OUTPUT«-1␤-1␤»
12:14 masak rhymes better with Perl 6.
12:14 timotimo er, huh?
12:14 masak heh :)
12:14 am0c joined #perl6
12:14 timotimo wrong way around?
12:14 masak other way around.
12:15 timotimo nqp: say(nqp::index('@$%|', '@')); say(nqp::index('@$%|', "A"));
12:15 p6eval nqp: OUTPUT«0␤-1␤»
12:15 masak \o/
12:15 timotimo yes, that'll do nicely
12:21 FROGGS tadzik: cool!
12:22 * arnsholt starts reading up on JNI
12:22 timotimo oooh, nativecall for jakudo? :)
12:23 arnsholt I've started thinking about it, at least
12:23 arnsholt But there's a fair chunk of thinking to go, methinks
12:23 timotimo one day it'll have to happen ;)
12:23 timotimo bbiab
12:37 * nwc10 wonders when the IRC logger will migrate to Perl 6
12:37 nwc10 (naughty me, suggesting things rather than hacking on them)
12:37 arnsholt That'll be a while I think, since it depends on search functionality and such, which is definitely non-trivial
12:38 nwc10 http://moritz.faui2k3.org/en/ilbot suggest that it's in (at least) two parts - an IRC logging bot, and a web frontent
12:39 nwc10 anyway, if someone else wants to fix regcomp.c in Perl 5, I'd have time to hack on it. :-)
12:39 Chillance joined #perl6
12:46 arnsholt The modified UTF-8 encoding used in JNI is kind of clever, really
12:47 arnsholt Oh, except that it encodes surrogate pairs from UTF-16. That's a bit icky
12:48 nwc10 what does it do? Surrogate pairs into UTF-8, and NUL bytes as non-shortest form?
12:48 arnsholt But encoding NULL bytes as 1100 0000 1000 0000 Is neat
12:48 arnsholt Yeah, that's all. It's not a bad way to avoid the horrors of embedded NULLs, really
12:48 jnthn They use the same thing in the Java bytecode itself, iirc.
12:48 nwc10 careful. NUL
12:49 nwc10 but surrogate pairs as 6 bytes of UTF-8 is (to my mind) sick and wrong
12:49 timotimo Non Unicode Letter?
12:49 nwc10 given that UTF-16 starts out with all the "benefits" of UTF-8 *combined* with the "benefits" of UTF-32
12:49 nwc10 and then IIRC adds a "benefit" that neither have
12:50 nwc10 so, if you do UTF-16 encoded as UTF-8, you've just made UTF-8 worse
12:50 arnsholt Yeah, >16-bit characters all of a sudden require 6 bytes
12:50 nwc10 you now have an O(n squared) encoding, not just O(n)
12:50 jnthn The horrible thing is that the String type is really an array of 16-bit things.
12:50 jnthn I dunno if this is true of Java, but in .Net languages you can do a .substr and it works on the array indexes.
12:50 jnthn Meaning that you can cut a surrogate pair in half.
12:50 arnsholt GAH!
12:51 arnsholt That's just horrible
12:51 nwc10 I'm pretty sure that Dan and Jarkko had it right - do it all as fixed width, 7, 8, 16 or 32
12:51 nwc10 which is, as I understand it, what Python 3.3 now does
12:51 arnsholt Dan and Jarkko?
12:51 nwc10 Sugalski
12:51 jnthn Trouble is, most developers never see how broken this is because 16 bits gets you all of the BMP.
12:51 nwc10 Jarkko seems to be out if "it" for long enough to no longer be the top hit
12:52 nwc10 http://en.wikipedia.org/wiki/Jarkko_Hietaniemi
12:52 nwc10 (claims not to be noteworthy)
12:52 arnsholt jnthn: Similar to the UCS-2 curse
12:52 nwc10 jnthn: it's ASCII->UTF-8, all over again?
12:52 nwc10 it's like people don't learn
12:53 nwc10 "whoever doesn't learn from history is doomed to re-implement it" (acme told me that - not sure if he originated that parody)
12:53 nwc10 OK, Python probably isn't doing 7
12:53 timotimo "yeah, having 16 bit per character is bad enough! besides, 16 bits gives us all of the BMP. what else do we need?"
12:53 nwc10 but 7 is crafty. Assuming you're using 2 bits to encode 8/16/32 you have one state left
12:54 nwc10 and 7 lets you say "pure ASCII", which is of course a subset of both UTF-8 and many legacy 8 bit encodings.
12:54 nwc10 "pile of poo". Obviously. As it describes many things rather too well.
12:54 jnthn When I teach advanced C# I demonstrate this wonderful bustage. I don't think I've had a single person come to the class who knew about this problem already. :/
12:56 not_gerd joined #perl6
12:56 not_gerd hello, #perl6
12:56 jnthn Then there was the company whose developers excitedly told me about a coding contest where they were seeing who could write the fastest string reverse in C#. None of the fast solutions handled surrogate pairs, of course...
12:56 jnthn Let alone combining chars!
12:56 jnthn o/ not_gerd
12:56 timotimo jnthn: but they were FAST!
12:57 timotimo you're missing the important part, obviously!!
12:57 timotimo does your algorithm even lift, bro?
12:57 nwc10 Advice from Klortho #11912: Evidently it's important to you to get the wrong answer as quickly as possible.
12:57 jnthn ;)
12:58 * not_gerd thinks UTF-16 should die
12:58 not_gerd it's prevalence is just due to hysterical raisins
12:58 not_gerd keep in mind that UTF-32 is no silver bullet, though: you can still cut grapheme clusters in half
12:59 not_gerd ie even UTF-32 has to be treated as a variable-length coding
12:59 jnthn Yeah. Just a very bulky one. :)
12:59 nwc10 roll on NFG
13:01 vividsnow joined #perl6
13:05 not_gerd is it possible to conditionally 'use' a module, depending on, say, an environment variable?
13:05 * not_gerd doesn't want to recompile just to uncomment #use Grammar::Tracer;
13:06 tadzik require?
13:06 tadzik use is compile time
13:06 nwc10 in perl 5, you would do it with require and import in a BEGIN block
13:08 rindolf joined #perl6
13:09 jnthn The problem is that use Grammar::Tracer influences the contents of %*HOW
13:09 jnthn Menaing that if changes the meta-object used when compiling grammars.
13:10 jnthn It'd be easier to always use it and have it look at an env var to decide whether to dump output or not
13:10 jnthn (Which would mean adding to Grammar::Tracer, but it's probably an easy feature to add)
13:11 * masak enjoys http://jwenet.net/notebook/2005/1036.html
13:11 masak it's like a really angry collection of advice to get you to try harder as a programmer.
13:12 masak #11941 Of course it doesn't work!  That's because you don't know what you are doing!
13:13 masak #11946 Perhaps you have forgotten that this is an engineering discipline, not some sort of black magic.
13:13 masak #11947 You know, this sort of thing is amenable to experimental observation.
13:13 masak *lol*
13:14 arnsholt Yeah, it's a good list
13:14 masak the thing I *do* take away from the "How to ask questions to good way" text is that what you, the questioner, owe the people you're asking is to try to learn about and solve the problem with your current best understanding.
13:14 arnsholt A couple of very good ones about actually reading the compiler errors =D
13:16 masak or, expressed as its antithesis autopun: http://bash.org/?3936
13:16 * masak .oO( every rule about bootstrapping behavior can be reformulated as an antithesis autopun )
13:18 * masak .oO( yo dawg, you know I like X but I can't X because they put an X in the X so I'd need to X before I X )
13:23 arnsholt But my favourite MJD advice is "#11951 Your question has exceeded the system limit for pronouns in a single sentence.  Please dereference and try again." I think
13:26 moritz masak: re http://irclog.perlgeek.de/​perl6/2013-01-19#i_6351971 I believe I did use "die" in my solution(s), and passed the base tests
13:27 moritz if not, it's in my incomplete and not submitted solution
13:27 masak moritz: yeah, that was a neat trick.
13:27 masak will surely get a mention in the reviews :)
13:47 Khisanth joined #perl6
13:54 SamuraiJack_ joined #perl6
14:03 timotimo so, how do i test X::Inheritance::UnknownParent? i don't feel like the suggestions should be mandatory for all implementations, but i still want to test that they work at all.
14:06 [hds] joined #perl6
14:08 not_gerd left #perl6
14:09 [hds] left #perl6
14:18 masak timotimo: maybe make the test conditional on the phrase "did you mean"?
14:32 masak [Coke]: oh! I *did* allow you to emit things on STDERR in all tasks. there are 2>&1 in all the base-test files. so I don't think I understand your request any more.
14:43 SunilJoshi joined #perl6
14:48 masak moritz: another contestant did this in his MAIN method: CATCH { say ~$_; return -1 }
14:48 masak moritz: I'm not sure whether to be delighted or disgusted :)
14:49 masak I think stacktraces in errors are great, but I think we're overusing them and I'm a bit sad there's no way to turn them off.
14:50 masak I know it doesn't count as evidence that we need stacktrace-less errors if I cite the base-tests of a competition that I set up... but we need stacktrace-less errors. :)
14:59 SunilJoshi1 joined #perl6
15:04 vividsnow joined #perl6
15:05 timotimo masak: how do i plan() for that?
15:06 masak timotimo: include the test in the plan(), but skip() it if it doesn't contain the substring.
15:07 SunilJoshi joined #perl6
15:07 timotimo ah, that seems sensible
15:07 masak [Coke]: what kind of word is 'samh'? it's in your wordlist, but I don't find it in online wordlists, and a ddg search doesn't turn up anything useful either. :)
15:08 masak the haikus will be fun to judge. they range all the way from senseless word salads to beautiful sentences...
15:09 masak probably the task with the most "personality" I've ever had in the contest.
15:18 sevin joined #perl6
15:23 wk joined #perl6
15:29 felher Whats the problem with error with backtraces?
15:30 felher *stacktraces
15:31 wk joined #perl6
15:34 masak stacktraces can be informative. but sometimes you (the programmer) know they won't be, and then there's no way to switch them off.
15:44 TimToady stacktraces should be put in a file or log or webpage somewhere, where you can see them if you want them, but don't have to see them if you don't
15:44 TimToady along with any other pertinent cockpit recorders
15:45 TimToady easy enough if you own the current directory, a bit harder if not
15:45 masak next year's p6cc, I think I will do the base-test files in Perl 6, not Perl 5.
15:45 masak TimToady: I'm more concerned about the programmer having total control over what goes on STDERR than where the stacktrace ends up.
15:46 masak TimToady: that is, if the implementation automatically outputs "See <cockpit recorder file> for stacktrace", I'll still be unhappy.
15:47 xinming joined #perl6
15:47 TimToady sure
15:49 flussence An option to send then to an arbitrary file descriptor would be useful (and the same for --profile output...)
15:50 felher I see, thnx :)
15:50 TimToady send it to a pastebot :)
15:50 TimToady along with all the current config parameters
15:55 timotimo so, in order to make undeclared variable names do a suggestion, i'm going to change Grammar::check_variable and build a method like is_lexically_visible that emits suggestions based on levenshtein distance. do i get the value for the $scope argument that wwould be there by using $var.ast and get the parent until i find the first QAST::Block instance?
15:57 SunilJoshi joined #perl6
15:58 am0c joined #perl6
15:58 timotimo huh, i don't see a way to get the parent of a QAST::Node. is that not possible?
15:58 masak I don't think so, no.
15:58 masak if you're in a situation where you want to, chances are you're approaching things wrong.
15:59 stevan_ joined #perl6
16:00 timotimo i wonder if it would be enough to just walk the blocks like i used to for the classes
16:00 timotimo except this time i probably have to check for nqp::isconcrete($thing) to be true. what type do i have to check against? QAST::Var?
16:03 benabik joined #perl6
16:04 * FROGGS .oO( #11922 You don't suppress error messages, you dumbass, you PAY ATTENTION and try to understand them. )
16:04 tadzik unless you're writing Go
16:05 tadzik "fmt is unused! fmt is unused!". I know damnit, I just commented out some debugging code
16:05 tadzik and it's not a warning, it's an error
16:09 stevan_ joined #perl6
16:12 masak tadzik: did you read the blog post (linked to from HN) about this?
16:13 tadzik yeah
16:13 tadzik I'm speaking from experience too
16:13 masak I almost linked to it here. it made me think that there are two layers of error messages that are interesting to get: one is during each compile. the other layer is during checkin/commit.
16:14 tadzik someone on reddit got downvoted to hell, but actually had an interesting solution: 'go run' warns, 'go build' dies
16:14 masak I haven't yet seen a programming language (or surrounding tooling) that distinguishes those two.
16:14 masak tadzik: ooh.
16:14 masak yeah, something like that.
16:15 masak folks, p6cc is now closed.
16:15 masak I've accepted/rejected all solutions I got before the deadline.
16:16 masak I'll make a blog post, but here's some early statistics for all y'all faithful channel readers.
16:16 tadzik yay
16:16 masak 32 people signed up this year.
16:16 masak 8 contestants submitted solutions.
16:17 masak 24 solutions passed base-test and will be part of the review process.
16:17 masak compare previous years' triplets with the same data: (35, 6, 27) for last year; (18, 5, 26) for the first year.
16:18 masak I also got two submissions (by a non-contestant) sent in as Python 3 code. I find this so amusing that I'll probably review them too.
16:19 tadzik :)
16:19 diakopter hee
16:20 tadzik oh, the readability scores... ;)
16:20 masak well, I'll have to be as fair as possible, of course.
16:21 tadzik of course
16:21 masak (don't want to set of an intergalactic war between Perl 6 and Python 3...)
16:21 masak off*
16:21 tadzik yeah
16:22 tadzik I know a fellow pythoner who sometimes mentions himself porting Rakudo to PyPy
16:22 tadzik I think those are just plans tho
16:22 * jnthn is back
16:22 tadzik hi jnthn
16:22 TimToady well, hopefully jnthn++ is writing the Porting Guide while doing his current port :)
16:23 TimToady unless he intends to just up and do them all himownself
16:23 masak I'm sure jnthn has quite enough on his plate than to do more VMs than the JVM. :)
16:24 vividsnow joined #perl6
16:24 masak at least, I mean, at the same time.
16:25 timotimo so, given an entry from one of the @!BLOCKS.symtable, how do i decide if it's a variable? i can't just check for a sigil, because there's sigil-less variables, too. can i nqp::istype($thing, QAST::Var) (or self.find_symbol["QAST", "Var"] perhaps)?
16:25 * masak writes blog post
16:26 FROGGS tadzik: http://de.webfail.com/e3146bceee6
16:26 jnthn timotimo: I was gonna say go by sigil but...yeah, that's not gonna quite work.
16:27 tadzik hahaha
16:27 tadzik I wonder if Żubry are good at rocking horses
16:28 jnthn moritz: Is any mention of LazyScalar dead code?
16:29 masak awww, poor panda :)
16:31 jnthn timotimo: Anything that has a descriptor key in the symbol table hash will be a variable. You could go by that.
16:31 timotimo sounds good to me
16:32 jnthn Not sure how reliable that is but I'd expect "sufficiently". :)
16:32 masak tadzik: I bet Żubry are excellent at slides...
16:33 tadzik I googled 'bison sliding', internet is disappointing me
16:34 timotimo i would have expected at least some people sliding around on bisons.
16:34 * masak .oO( rule 34 )
16:35 jnthn tadzik: http://www.dunriteplayground​s.com/images/theme/bison.jpg
16:35 tadzik oh wow
16:37 aindilis joined #perl6
16:40 rindolf joined #perl6
16:47 timotimo ===SORRY!===
16:47 timotimo Variable '$Foo' is not declared. Did you mean '$foo'?
16:47 jnthn why yes...yes I did!
16:47 jnthn timotimo++
16:47 tadzik niice
16:47 tadzik timotimo++
16:48 timotimo Variable '$foo' is not declared. Did you mean '@foo'?  -  my @foo := 1,2,3; say $foo[2]⏏;
16:48 benabik timotimo++
16:48 timotimo i'm proud of my code :)
16:48 tadzik the second one is like a cherry on top :)
16:50 timotimo also, why do i get expecting any of: postfix  directly after $Foo instead of $foo?
16:50 timotimo that surprises me a bit
16:51 SunilJoshi1 joined #perl6
16:51 jnthn timotimo: I suspect highexpect wants to be a bit smarter about when it triggers.
16:51 rindolf joined #perl6
16:53 timotimo can i call this "not my problem"?
16:53 Nom- joined #perl6
16:53 jnthn timotimo: It's not your problem.
16:54 timotimo thank you :)
16:54 timotimo now to add suggestions to "undeclared routine called"
16:56 rindolf joined #perl6
17:01 rindolf joined #perl6
17:03 b1rkh0ff joined #perl6
17:07 rindolf joined #perl6
17:08 timotimo jnthn: you seem to know all this. how is a routine identified in the symbol table?
17:09 FROGGS leading '&' ?
17:09 jnthn Leading & is reliable.
17:10 timotimo great, thanks :)
17:14 rindolf joined #perl6
17:15 timotimo oh no, i ran into a endless recursion while compiling :(
17:17 arnsholt Whoops =)
17:19 rindolf joined #perl6
17:20 timotimo i refered to an undeclared thing in the message method of the undeclared exception :D
17:23 masak :)
17:24 masak blol, I logged! \o/ http://strangelyconsistent.org/blog/the-perl​-6-coding-contest-2012-edition-is-now-closed
17:24 rindolf joined #perl6
17:26 dayangkun joined #perl6
17:27 timotimo turns out what i really did was put a backtick somewhere and thought it was dirt on my screen
17:28 arnsholt Oooh, the first problem was knights and knaves. That one really made me think of Prolog =D
17:28 rindolf joined #perl6
17:33 FROGGS r: my $a:= 1; say "$a."
17:33 p6eval rakudo 98a4a8: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Unable to parse expression in double quotes; couldn't find final '"'â�¤at /tmp/eNScK1PS7F:1â�¤------> [32mmy $a:= 1; say "$a."[33mâ��[31m<EOL>[0mâ�¤    expecting any of:â�¤        dotty method or postfixâ�¤        double quotesâ�¤Â»â€¦
17:33 FROGGS r: my $a:= 1; say "$a!"
17:33 p6eval rakudo 98a4a8: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Unable to parse expression in double quotes; couldn't find final '"'â�¤at /tmp/RpFM0YYy5J:1â�¤------> [32mmy $a:= 1; say "$a!"[33mâ��[31m<EOL>[0mâ�¤    expecting any of:â�¤        postfixâ�¤        double quotesâ�¤Â»
17:33 masak std: my $a:= 1; say "$a."
17:33 p6eval std 7deb9d7: OUTPUT«ok 00:00 43m␤»
17:33 masak std: my $a:= 1; say "$a!"
17:33 p6eval std 7deb9d7: OUTPUT«ok 00:00 43m␤»
17:33 FROGGS I can imagine that is problems with $a. (method call), but why $a! ?
17:34 masak FROGGS: private method call?
17:34 FROGGS ohh
17:34 FROGGS okay
17:34 masak r: class A { method pub { self!priv }; method !priv { say "OH HAI" } }; A.new.pub
17:34 p6eval rakudo 98a4a8: OUTPUT«OH HAI␤»
17:34 FROGGS r: my $a:= 1; say "$a->"
17:34 p6eval rakudo 98a4a8: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Unsupported use of -> as postfix; in Perl 6 please use either . to call a method, or whitespace to delimit a pointy blockâ�¤at /tmp/eTS2D6QykN:1â�¤------> [32mmy $a:= 1; say "$a->[33mâ��[31m"[0mâ�¤    expecting any of:â�¤        postfixâ�¤Â»â€¦
17:34 masak r: class A { method pub { my $a = self; "$a!priv()" }; method !priv { say "OH HAI" } }; A.new.pub
17:35 p6eval rakudo 98a4a8: OUTPUT«OH HAI␤»
17:35 masak std: my $a:= 1; say "$a->"
17:35 p6eval std 7deb9d7: OUTPUT«[31m===[0mSORRY![31m===[0m�Unsupported use of -> as postfix; in Perl 6 please use either . to call a method, or whitespace to delimit a pointy block at /tmp/iTcYvHjZJl line 1:�------> [32mmy $a:= 1; say "$a->[33m�[31m"[0m�Parse failed�FAILED 00:00 42m�»…
17:35 masak FROGGS: nice find!
17:35 masak both Rakudo and STD are dead wrong here, if you ask me.
17:35 benabik joined #perl6
17:35 FROGGS so "$a!" should die
17:35 masak no.
17:36 masak and neither shoudl "$a->"
17:36 masak should*
17:36 FROGGS it should guess where the code ends?
17:36 masak they should just stop interpolating and treat the "!" or "->" as literal, IMO.
17:36 masak others may disagree, but that seems like the sane behavior to me
17:36 FROGGS ... if nothing follows <[.!]>
17:37 masak well, the rule is "interpolate from the sigil up to the last postcircumfix".
17:37 masak and so if "!" or "->" are last in the string, by definition they can't be part of the interpolation.
17:38 jnthn Trouble is, ."..."() is a valid postcircumfix.
17:38 masak (and the fact that they aren't shouldn't cause an error)
17:38 jnthn It's not failing to parse the outer string, it's failing the parse the quoted method call.
17:38 jnthn *to parse
17:38 TimToady masak: re http://irclog.perlgeek.de/​perl6/2013-01-15#i_6337271 see S02:3711
17:38 TimToady nr: say Q[\]
17:38 p6eval rakudo 98a4a8, niecza v24-18-gaf64300: OUTPUT«\␤»
17:39 TimToady nr: say 「\」
17:39 p6eval rakudo 98a4a8: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Two terms in a rowâ�¤at /tmp/guWhxvibuM:1â�¤------> [32msay [33mâ��[31mï½¢\ï½£[0mâ�¤    expecting any of:â�¤        argument listâ�¤        prefix or termâ�¤        prefix or meta-prefixâ�¤        postfixâ�¤        infix or meta-infixâ�¤        infix sto…
17:39 p6eval ..niecza v24-18-gaf64300: OUTPUT«[31m===[0mSORRY![3​1m===[0mâ�¤â�¤Unsupported use of bare 'say'; in Perl 6 please use .say if you meant $_, or use an explicit invocant or argument at /tmp/HrsgvDZOug line 1:â�¤------> [32msay[33mâ��[31m ï½¢\ï½£[0mâ�¤â�¤Confused at /tmp/HrsgvDZOug line 1:â�¤------> […
17:39 TimToady that's just a NYI
17:39 jnthn .oO( Not so perfect quotes... )
17:40 jnthn hah!
17:40 jnthn [ <!{$*QSIGIL}> || <!before '"' <-["]>*? \s > ] # dwim on "$foo."
17:41 jnthn Oh but...we have that line.
17:41 stevan_ joined #perl6
17:42 FROGGS r: my $a:= 1; say "$a. "
17:42 p6eval rakudo 98a4a8: OUTPUT«1. ␤»
17:42 jnthn r: my $foo = 42; say "$foo."
17:42 stevan__ joined #perl6
17:42 p6eval rakudo 98a4a8: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Unable to parse expression in double quotes; couldn't find final '"'â�¤at /tmp/VbmlrYZ534:1â�¤------> [32mmy $foo = 42; say "$foo."[33mâ��[31m<EOL>[0mâ�¤    expecting any of:â�¤        dotty method or postfixâ�¤        double quotesâ�¤Â»â€¦
17:42 jnthn r: my $foo = 42; say "$foo."
17:42 p6eval rakudo 98a4a8: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Unable to parse expression in double quotes; couldn't find final '"'â�¤at /tmp/LlJsbJBQim:1â�¤------> [32mmy $foo = 42; say "$foo."[33mâ��[31m<EOL>[0mâ�¤    expecting any of:â�¤        dotty method or postfixâ�¤        double quotesâ�¤Â»â€¦
17:42 jnthn r: my $foo = 42; say "$foo." ;
17:42 p6eval rakudo 98a4a8: OUTPUT«42.␤»
17:42 jnthn r: my $foo = 42; eval 'say "$foo."'
17:42 p6eval rakudo 98a4a8: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Unable to parse expression in double quotes; couldn't find final '"'â�¤at eval_0:1â�¤------> [32msay "$foo."[33mâ��[31m<EOL>[0mâ�¤    expecting any of:â�¤        dotty method or postfixâ�¤        double quotesâ�¤Â»
17:43 jnthn r: my $foo = 42; eval 'say "$foo." '
17:43 p6eval rakudo 98a4a8: OUTPUT«42.␤»
17:43 jnthn std: say "$foo."
17:43 p6eval std 7deb9d7: OUTPUT«[31m===[0mSORRY![31m===[0m�Variable $foo is not predeclared at /tmp/pfmnb2hD0P line 1:�------> [32msay "[33m�[31m$foo."[0m�Check failed�FAILED 00:00 42m�»
17:43 jnthn std: my $foo; say "$foo."
17:43 p6eval std 7deb9d7: OUTPUT«ok 00:00 43m␤»
17:43 jnthn OK, so where is STD magically getting something to match \s from?
17:43 jnthn Does p6eval put a newline after stuff sending to STD, but not after stuff sent to Rakudo?
17:43 jnthn *sent
17:44 FROGGS std: my $foo; say "$foo.";
17:44 p6eval std 7deb9d7: OUTPUT«ok 00:00 43m␤»
17:45 * jnthn changes it to [s|$]
17:46 FROGGS will $ match ; too?
17:46 jnthn FROGGS: No, the cclass will though
17:47 stevan_ joined #perl6
17:49 jnthn Yeah, the $ thing works. Will spectest and push :)
17:50 FROGGS I'm testing too right now
17:50 timotimo Undeclared routines: floink used at line 1 Did you mean &yoink?   troink used at line 1 Did you mean &yoink?
17:51 TimToady jnthn: from CursorBase.pmc: $text .= "\n" unless substr($text,-1,1) eq "\n";
17:52 FROGGS timotimo: you have to add lines like "Not again a typo, dumbass?!" eevery five exceptions....
17:52 timotimo should that be &yoink or just yoink?
17:52 timotimo FROGGS: use Profanity;
17:52 timotimo should that be a thing?
17:53 FROGGS with & is okay, it is similar to the msg about traits
17:53 geekosaur does that turn on python emulation? :)
17:53 jnthn TimToady: Oh.
17:54 jnthn TimToady: I'm...not sure if I want to do that. Does other stuff depend on it?
17:55 timotimo "90% of customers who typed Junktion ended up buying Junction instead"
17:57 dalek rakudo/nom: e80cfd6 | jnthn++ | src/Perl6/Grammar.pm:
17:57 dalek rakudo/nom: Fix parsing of 'say "$a!"'.
17:57 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e80cfd6ed2
17:58 FROGGS jnthn: there is a cron that rebuilds rakudo here?
17:59 timotimo i'm pretty sure there is
17:59 moritz for p6eval? yes
17:59 FROGGS when will it be rebuilt?
18:01 moritz 8  * * * *  perl ~/evalbot/build.pl nom    > /dev/null
18:01 FROGGS k, thanks
18:02 nwc10 currently the evalbot responds to what? r, n, and p?
18:02 nwc10 or s too?
18:02 moritz p6eval: help
18:02 p6eval moritz: Usage: <(star|pugs|nqp|b|std|niecza|rakudo|nom|npr|n|r​|perl6|prn|rn|p|rnp|nrp|pnr|rpn|p6|nr)(?^::\s) $perl6_program>
18:03 diakopter nwc10: it also takes urls to gists
18:03 nwc10 oh, std is diffent?
18:03 FROGGS okay, "$a." and "$a!" fixed, "$a->" still throws
18:03 moritz nwc10: since std only parses, it usually doesn't produce the same output as the others, so we don't group it
18:03 jnthn FROGGS: I'll let STD come up with a fix for that one :)
18:03 nwc10 aha.
18:04 FROGGS jnthn: k :o)
18:06 FROGGS std: my $a = 1; say "$a("
18:06 p6eval std 7deb9d7: OUTPUT«[31m===[0mSORRY![31m===[0m�Unable to parse double quotes at /tmp/Imqfm1pAgc line 1:�------> [32mmy $a = 1; say "$a([33m�[31m"[0m�Couldn't find final '"'; gave up at /tmp/Imqfm1pAgc line 1 (EOF):�------> [32mmy $a = 1; say "$a("[33m�[31m<EOL>[0m�Parse fail…
18:07 FROGGS std: my $a = 1; say "$a'"
18:07 p6eval std 7deb9d7: OUTPUT«ok 00:00 43m␤»
18:07 FROGGS std: my $a = 1; say "$a'a"
18:07 p6eval std 7deb9d7: OUTPUT«[31m===[0mSORRY![31m===[0m�Variable $a'a is not predeclared at /tmp/_9PjOltHoF line 1:�------> [32mmy $a = 1; say "[33m�[31m$a'a"[0m�Check failed�FAILED 00:00 42m�»
18:07 FROGGS k
18:10 rindolf joined #perl6
18:11 timotimo http://t.h8.lv/helpful.png
18:12 PacoAir joined #perl6
18:14 moritz timotimo++
18:14 tadzik timotimo: this is awesome
18:15 timotimo thank you :)
18:15 timotimo couldn't have done it without the helpful souls in here, who put up with my relentless nqp-failings :]
18:16 timotimo jnthn++
18:17 PacoAir_ joined #perl6
18:17 timotimo and masak++ and moritz++ for good measure :D
18:23 sizz joined #perl6
18:23 rindolf joined #perl6
18:25 cog joined #perl6
18:33 timotimo with throws_like, how do i write a match for a hash that has a string as a key and a list as a value?
18:34 timotimo routine_suggestion => "Uc" => "&uc" doesn't seem to match.
18:38 FROGGS routine_suggestion => <Uc &uc>
18:39 FROGGS r: say <Uc &uc>
18:39 p6eval rakudo e80cfd: OUTPUT«Uc &uc␤»
18:39 FROGGS r: say <Uc &uc>:WHAT
18:39 p6eval rakudo e80cfd: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤You can't adverb thatâ�¤at /tmp/k3J2WAQWuJ:1â�¤------> [32msay <Uc &uc>:WHAT[33mâ��[31m<EOL>[0mâ�¤    expecting any of:â�¤        pair valueâ�¤Â»
18:39 FROGGS r: say <Uc &uc>.WHAT
18:39 p6eval rakudo e80cfd: OUTPUT«Parcel()␤»
18:40 FROGGS r: say <Uc &uc>.elems
18:40 p6eval rakudo e80cfd: OUTPUT«2␤»
18:40 FROGGS r: say ['Uc', '&uc']
18:40 p6eval rakudo e80cfd: OUTPUT«Uc &uc␤»
18:40 FROGGS r: say ['Uc', '&uc'].elems
18:40 p6eval rakudo e80cfd: OUTPUT«2␤»
18:44 timotimo http://sprunge.us/CaBE - are those acceptable tests? i'm not 100% sure how to best do the skipping. maybe i'll do a test exception and see if "Did you mean" is in there?
18:46 stevan_ joined #perl6
18:46 timotimo http://sprunge.us/FAjQ - perhaps like so?
18:48 * [Coke] yays, as his second and final submission for t1 & t2 are accepted.
18:49 timotimo # Got:      huc &uc
18:49 timotimo # Expected: huc &uc
18:49 timotimo ... yeah, right :(
18:49 timotimo FROGGS: ^^^
18:49 tadzik timotimo: trailing whitespace?
18:50 timotimo doesn't seem so
18:50 timotimo throws_like 'say huc("foo")', X::Undeclared::Symbols, routine_suggestion => <huc &uc>;  # this is the test
18:51 moritz maybe one is a string, the other a list?
18:51 timotimo hm, that may be
18:51 [Coke] masak: I wish to emit things on stderr and have them IGNORED.
18:51 moritz what does $!.routine_suggestion.perl say?
18:52 [Coke] masak: samh is in my /usr/share/dict/words
18:53 timotimo ("huc" => $("\&uc",)).hash
18:57 masak [Coke]: it wasn't in mine.
18:57 [Coke] timotimo++
18:57 masak [Coke]: do you know what 'samh' means?
18:58 timotimo i'll just use a throws_like-less test instead.
18:59 [Coke] masak: nope. I don't see anything obvious on google either. all I did to generate the lexicon was grep for words that were of a certain length and contained only lowercase letters present in my name.
19:00 [Coke] I did no vetting on whether or not they were real words. In fact, I wanted to use a lovely elvish lexicon I had compiled, but ENO ignoremark, so I had to go with english.
19:00 [Coke] which is good, since it was supposed to be english. :)
19:00 FROGGS timotimo: throws_like 'say huc("foo")', X::Undeclared::Symbols, routine_suggestion => huc{ <&uc> };
19:01 FROGGS r: { routine_suggestion => huc{ <&uc> } }.perl.say
19:01 p6eval rakudo e80cfd: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Undeclared routine:â�¤    huc used at line 1â�¤â�¤Â»
19:01 timotimo heh.
19:01 FROGGS ehh
19:01 timotimo did you mean :huc?
19:01 FROGGS r: { routine_suggestion => { huc => <&uc> } }.perl.say
19:01 p6eval rakudo e80cfd: OUTPUT«{"routine_suggestion" => {"huc" => "\&uc"}}␤»
19:02 timotimo hm, ok
19:03 timotimo didn't seem to work:(
19:03 timotimo bbl
19:05 masak [Coke]: it's fine -- I'm just curious what the word might mean.
19:06 masak another autopun, courtesy of jnthn: "Autocorrect makes me sound regarded" :)
19:06 [Coke] masak: scottish association for mental health has the most google points.
19:06 [Coke] masak: that is AWESOME.
19:12 masak ;)
19:12 masak it's curious how there can be so many autopuns, and how each new one can feel fresh, even though one has "learned the trick".
19:17 nuba joined #perl6
19:32 thou joined #perl6
19:34 stevan_ joined #perl6
19:59 timotimo if my pull request gets merged, i'll just push the roast changes, too .. i guess?
19:59 timotimo that's a missing feature, having coordinated pull requests between multiple repositories
20:02 stevan_ joined #perl6
20:02 * timotimo resists the temptation to just press "merge pull request" himself
20:03 timotimo huh, i don't seem to see that button, although i thought i had a commit bit
20:03 FROGGS timotimo: you cant merge your own requests
20:06 timotimo oh. well that makes semantic sense
20:07 dalek nqp-jvm-prep: 5d5f31f | jnthn++ | src/org/perl6/nqp/sixmodel/reprs/P6Opaque.java:
20:07 dalek nqp-jvm-prep: Swallow less error info.
20:07 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/5d5f31f36b
20:07 dalek nqp-jvm-prep: d16fef5 | jnthn++ | src/org/perl6/nqp/runtime/ (2 files):
20:07 dalek nqp-jvm-prep: Fix outer handling bug for methods.
20:07 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/d16fef528f
20:07 thou joined #perl6
20:08 jnthn And here's where I hit the point I need to go refactor a chunk of 6model...
20:08 diakopter o_O
20:09 jnthn Design fail I made in the early days, that I didn't re-make in the JVM port but now need to rectify.
20:10 jnthn (In the on-Parrot version)
20:10 jnthn Unless I want to get desync'd impls...
20:10 timotimo hm. maybe i should push the roast changes immediately?
20:11 jnthn timotimo: Did you spectest your changes?
20:11 timotimo hm. i didn't run the full test suite
20:11 timotimo i should really do that!
20:11 jnthn Please do, then I can merge it.
20:11 jnthn Otherwise I'd want to grab it locally to spectest :)
20:11 diakopter jnthn: are we talking a 3-hour refactor or a 30-hour refactor
20:12 jnthn Closer to the first
20:12 timotimo sure, i'll put it up on perl6/roast
20:12 FROGGS timotimo: if you have more than one core, do: TEST_JOBS=n make spectest
20:12 FROGGS where n is like 4 on a quadcore
20:12 dalek roast: f71c502 | (Timo Paulssen)++ | S32-exceptions/misc.t:
20:12 dalek roast: added a few tests for suggestion exceptions
20:12 dalek roast: review: https://github.com/perl6/roast/commit/f71c502b1a
20:12 timotimo oooh, that's good
20:12 pmurias joined #perl6
20:12 * jnthn has made himself a pst (parallel spectest) thingy that does that :)
20:13 pmurias jnthn: hi
20:13 jnthn pmurias: o/
20:13 pmurias jnthn: how is iterating over a hash/array that changes supposed to work?
20:14 jnthn pmurias: Non-explosively.
20:15 jnthn pmurias: It shouldn't be forbidden, but I don't think the exact consequences are nailed down.
20:15 timotimo already reached S12 without problems. i'm hopeful d)
20:16 pmurias while I can imagine sane semantics for iterating over a array changing size it's harder for hashes
20:17 pmurias if the array grows we keep iterating if it shrinks beyond the current point we stop
20:17 jnthn Yeah, hashes are harder
20:17 * jnthn wonders that Perl 5 does
20:18 jnthn I can't recall the spec ruling on this, so it probably is the catch-all thing.
20:18 nwc10 for perl 5 you're specifically allowed to delete the entry that the iterator is currently sitting on
20:18 nwc10 other than that, I don't think that anything is "defined"
20:19 jnthn http://www.perlmonks.org/?node_id=43646 suggest similar
20:19 nwc10 and I can't remmeber what happens. It seems to be an "implementation detail"
20:19 jnthn *nod*
20:19 pmurias perldocs tells people not to do that
20:19 jnthn nwc10: what about for arrays, ooc?
20:19 pmurias otherwise elements may be skipped or duplicated
20:19 jnthn pmurias: OK. Then that means "implementation specific"
20:19 nwc10 I can't remember.
20:19 nwc10 but it's storing an array index for iterator state.
20:19 timotimo oh, i fail one of my tests. hold on.
20:20 jnthn Hm. If you decrease the size of the array in my JVM port once you start an iteration it's gonna start throwing nulls at you... :)
20:20 thou joined #perl6
20:20 timotimo oh, yes, it's the incorrect throws_like
20:20 jnthn r: my @a = 1..10; for @a { .say; @a.push(1) };
20:20 p6eval rakudo e80cfd: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤»
20:21 jnthn r: my @a = 1..10; for @a { .say; @a.delete(@a.end) };
20:21 p6eval rakudo e80cfd: OUTPUT«1␤2␤3␤4␤5␤Any()␤Any()␤Any()␤Any()␤Any()␤»
20:21 jnthn Heh
20:21 jnthn Well, fine, that's the semantics I've got on the JVM too :)
20:21 pmurias jnthn: for arrays in Perl 5, it's "Don't do that"
20:22 jnthn pmurias: OK, fair enough :)
20:22 diakopter r: my @a = 1..10; for @a { .say; @a.pop };
20:22 p6eval rakudo e80cfd: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤»
20:22 pmurias jnthn: so it's implementation specific?
20:22 diakopter r: my @a = 1..10; for @a { .say; @a.pop() };
20:22 p6eval rakudo e80cfd: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤»
20:22 jnthn pmurias: Unless TimToady++ decides to declare otherwise.
20:23 jnthn We'll just document it the same was as Perl 5.
20:23 timotimo oh, but the tests that are pushed to roast all pass! :D
20:23 jnthn *way
20:23 jnthn e.g. "don't do that"
20:25 geekosaur (that'd be i.e. :p )
20:26 jnthn :P
20:26 timotimo with this stuff i'll get into the rakudo release announcement fersher~!
20:26 timotimo jnthn: did you read? spectest says no tests fail! :D
20:26 jnthn timotimo: OK, great
20:27 timotimo hasn't seen much real-life use, so i don't know if the selection-heuristic is sane to get only good suggestions etc
20:27 FROGGS timotimo: np, I'll collect issues if I hit 'em ;o)
20:27 timotimo thanks a lot :)
20:28 dalek Heuristic branch merge: pushed 27 commits to rakudo/nom by jnthn
20:28 jnthn timotimo++
20:29 jnthn Yeah, I think the best way to get this exercised is merge it and see how folks find it.
20:30 timotimo one more thing i'll have to think about is the heuristic that looks if the routine starts with a capital letter and it gets called "type" instead of "routine", not sure if i should have a suggest_type that only looks for capital-letter-starting things?
20:31 jnthn timotimo: Is that in the mystery stuff?
20:31 nwc10 I'm a bit stuck here - what's the best terse phrase for the oposite of LTA?
20:31 timotimo yes, it is
20:31 timotimo BTA?
20:31 jnthn timotimo: iirc that is using a capital letter heuristic for type vs routine
20:31 nwc10 well, they aren't now "better than awesome" error messages
20:32 timotimo yes, that's what the comment above it said
20:32 nwc10 nearer to awesome?
20:32 timotimo CTA sounds good
20:32 nwc10 yes.
20:32 FROGGS nod
20:32 timotimo "close{,r} to awesome"
20:34 pmurias timotimo: couldn't the capital-letter-starting heuristic prove misleading
20:34 pmurias ?
20:34 timotimo pmurias: it might! it's not my invention ;)
20:34 jnthn pmurias: STD has done it for a good while and it's not been found misleading so far, at least.
20:34 arnsholt timotimo++ # Awesome feature
20:35 GlitchMr This is fun!
20:35 GlitchMr I like it
20:35 pmurias jnthn: ok
20:35 GlitchMr I'm currently compiling Rakudo.
20:35 timotimo the current code would consider changing the capital letter to a non-capital letter as a distance of 0.5 unless i explicitly throw them out
20:35 GlitchMr I rarely do that, but that feature sounds so fun, that I compile it.
20:35 pmurias timotimo: you could just increase the distance for the initial capital ;)
20:36 timotimo r: my $foobar = "yay"; say $FooBar; # is it in here yet?
20:36 p6eval rakudo e80cfd: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Variable $FooBar is not declaredâ�¤at /tmp/oWDJzKWCvS:1â�¤------> [32mmy $foobar = "yay"; say $FooBar[33mâ��[31m; # is it in here yet?[0mâ�¤    expecting any of:â�¤        postfixâ�¤Â»
20:36 GlitchMr No
20:36 timotimo nope, not yet
20:36 GlitchMr /usr/bin/perl6 on feather claims to be before the branch merge.
20:36 timotimo iirc the cronjob runs every 30 minutes?
20:36 jnthn something like
20:37 timotimo so, possibly started 3 minutes ago?
20:38 rindolf Hi all, what's up?
20:39 FROGGS moritz pastest the job desc, it will run 8 past
20:39 GlitchMr rindolf: New fun feature in Rakudo
20:39 FROGGS so in 30mins
20:39 rindolf GlitchMr: which one?
20:39 FROGGS r: my $foo = 42; eval 'say "$foo."'
20:39 p6eval rakudo e80cfd: OUTPUT«42.␤»
20:39 GlitchMr For example, if you'll type "spit" by accident instead of "split", Rakudo will hint you to use "split" instead.
20:40 colomon r: say "hi"
20:40 p6eval rakudo e80cfd: OUTPUT«hi␤»
20:42 GlitchMr Actually, I think I've once implemented something similar in PHP.
20:42 GlitchMr http://dl.dropbox.com/u/63913412/clippy.png
20:42 timotimo wow, that's bloody excellent :)
20:42 GlitchMr That's old, but well - it wasn't supposed to be serious.
20:42 timotimo we were discussing use Profanity; earlier, which would cause nasty messages on errors. maybe it could be something like use Error::Profanity; and use Error::Clippy for an ascii-clippy?
20:43 GlitchMr I never have completed the Clippy error reporting
20:43 GlitchMr I wanted it to be too helpful...
20:44 GlitchMr Like mentioning missing semicolons and stuff.
20:44 GlitchMr And that with pure PHP code (that was difficult, considering you cannot catch fatal errors... or can you...)
20:47 tadzik FROGGS: cute panda revenge: http://i.imgur.com/RFbXe.gif
20:47 dalek roast: e2ce199 | (Tobias Leich)++ | S02-literals/misc-interpolation.t:
20:47 dalek roast: RT116166, test for interpolating "$a."
20:47 dalek roast: review: https://github.com/perl6/roast/commit/e2ce1991bf
20:48 FROGGS tadzik: awwww, soooo cute ;o)
20:49 GlitchMr eval: spit 'ready?'
20:49 tadzik yeah, it's quite hardcore-cute :)
20:49 GlitchMr r: spit 'ready?'
20:49 p6eval rakudo e80cfd: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Undeclared routine:â�¤    spit used at line 1â�¤â�¤Â»
20:50 thou joined #perl6
20:51 timotimo not yet. froggs said "in 30 mins" about 15 minutes ago
20:56 GlitchMr r: spit 'ready?'
20:56 p6eval rakudo e80cfd: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Undeclared routine:â�¤    spit used at line 1â�¤â�¤Â»
20:56 FROGGS the job should start in 12 minutes, and will takes about 5minutes I guess
20:58 vividsnow joined #perl6
21:05 GlitchMr r: spit 'ready?'
21:05 p6eval rakudo e80cfd: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Undeclared routine:â�¤    spit used at line 1â�¤â�¤Â»
21:06 GlitchMr I guess I'm too fast
21:06 FROGGS about seven minutes to go ;o)
21:12 timotimo r: spit "ready? set? go?";
21:12 p6eval rakudo e80cfd: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Undeclared routine:â�¤    spit used at line 1â�¤â�¤Â»
21:12 timotimo almost!
21:12 [Coke] calm down, beavis.
21:13 timotimo it's :13 on my local machine and :09 on the irc machine >_>
21:13 timotimo so i thought it would have already been finished minutes ago
21:14 FROGGS r: spit "ready? set? go?";
21:14 p6eval rakudo 830859: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Undeclared routine:â�¤    spit used at line 1. Did you mean '&split'?â�¤â�¤Â»
21:14 FROGGS \o/
21:14 timotimo \o/
21:15 jnthn r: my @a = 1,2,3; say $a[1]
21:15 p6eval rakudo 830859: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Variable '$a' is not declared. Did you mean '@a'?â�¤at /tmp/8ZCUlaKJwW:1â�¤------> [32mmy @a = 1,2,3; say $a[1][33mâ��[31m<EOL>[0mâ�¤    expecting any of:â�¤        postfixâ�¤        infix or meta-infixâ�¤        infix stopperâ�¤        statement…
21:15 FROGGS r: tolongtomatchanything( 42 )
21:15 p6eval rakudo 830859: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Undeclared routine:â�¤    tolongtomatchanything used at line 1. Did you mean ''?â�¤â�¤Â»
21:15 FROGGS gotcha
21:15 timotimo whoops?
21:15 jnthn oops
21:15 timotimo i thought i checked against empty suggestion list.
21:15 timotimo thanks. i'll add tests
21:15 FROGGS and I thought I have checked exactly that in your pull request
21:16 FROGGS } elsif +@.suggestions == 1 {
21:16 jnthn p6eval++ # allowing collaborative testing of new features
21:16 FROGGS timotimo: must be an empty string...
21:17 timotimo that would surprise me. i'll look into it, though.
21:17 timotimo good catch!
21:17 FROGGS otherwise we would get a warning that @.suggestions[0] ins Any() in string context
21:17 FROGGS s/ins/is/
21:18 dalek nqp: bb97781 | jnthn++ | src/6model/sixmodelobject.h:
21:18 dalek nqp: Add compose to REPR functions table.
21:18 dalek nqp:
21:18 dalek nqp: This will be used to replace all the places we do introspection calls
21:18 dalek nqp: in REPRs, which create nested runloops.
21:18 dalek nqp: review: https://github.com/perl6/nqp/commit/bb97781415
21:18 dalek nqp: 0255f36 | jnthn++ | src/6model/reprs/ (13 files):
21:18 dalek nqp: Stub compose functions for all REPRs.
21:18 dalek nqp: review: https://github.com/perl6/nqp/commit/0255f360d9
21:18 dalek nqp: 53ea244 | jnthn++ | src/ (2 files):
21:18 dalek nqp: Add nqp::composetype(...) op.
21:18 dalek nqp: review: https://github.com/perl6/nqp/commit/53ea244417
21:18 dalek nqp: 4de7046 | jnthn++ | src/stage0/ (9 files):
21:18 dalek nqp: Update bootstrap to get new op.
21:18 dalek nqp: review: https://github.com/perl6/nqp/commit/4de7046e24
21:19 FROGGS jnthn: lately I ran the autounfudge script and recognized that several skipped tests are working in match.t or similar, should I push the changes? (running that script now)
21:19 jnthn FROGGS: Provided they pass for you locally, should be fine.
21:20 timotimo FROGGS: actually, yeah, i did a stupid mistake. i checked for %.routine_suggestions{$name} :exists
21:20 timotimo but it gets added no matter if there's suggestions or not
21:20 timotimo so yeah, empty list in this case.
21:20 timotimo (you looked at the wrong exception)
21:20 FROGGS hehe, okay ;o)
21:20 FROGGS ahh, unknownparent, I see
21:21 FROGGS r: class A is kjhjfklhdkfjhgkshgfkjf { }
21:21 p6eval rakudo 830859: OUTPUT«[31m===[0mSORRY![31m===[0m�'A' cannot inherit from 'kjhjfklhdkfjhgkshgfkjf' because it is unknown.�at /tmp/HhurxkBKN9:1�------> �»
21:21 masak \o/
21:22 FROGGS r: $lkksjdfjhsf=1
21:22 p6eval rakudo 830859: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Variable '$lkksjdfjhsf' is not declaredâ�¤at /tmp/vBVSJSJcA0:1â�¤------> [32m$lkksjdfjhsf[33mâ��[31m=1[0mâ�¤    expecting any of:â�¤        postfixâ�¤Â»
21:22 FROGGS r: my $abc = 1; $bac
21:22 p6eval rakudo 830859: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Variable '$bac' is not declared. Did you mean '$abc'?â�¤at /tmp/PTSB3R58m7:1â�¤------> [32mmy $abc = 1; $bac[33mâ��[31m<EOL>[0mâ�¤    expecting any of:â�¤        postfixâ�¤Â»
21:22 dalek perl6-roast-data: 73519c3 | coke++ | / (3 files):
21:22 dalek perl6-roast-data: today (automated commit)
21:22 dalek perl6-roast-data: review: https://github.com/coke/perl6​-roast-data/commit/73519c36d6
21:22 FROGGS pretty cool
21:25 tadzik jnthn: is that your favourite animal? http://i.imgur.com/IP4pNdu.jpg
21:26 jnthn oooh!
21:26 jnthn That's awesome :)
21:26 pmurias jnthn: do you plan on using vtables in nqp-jvm?
21:27 jnthn pmurias: As in, the Parrot v-table stuff?
21:28 pmurias yes
21:28 jnthn pmurias: No.
21:28 pmurias good :)
21:28 timotimo i made some tests to ensure that it doesn't say "did you mean ''?"
21:29 tadzik oh wow. building nom now segfaults for me :)
21:30 FROGGS do you have local changes?
21:30 jnthn tadzik: congrats!
21:30 dalek roast: dce99e0 | (Timo Paulssen)++ | S32-exceptions/misc.t:
21:30 dalek roast: if no suggestions, then no "did you mean".
21:30 dalek roast: review: https://github.com/perl6/roast/commit/dce99e0967
21:32 timotimo oh, i don't have rakudo commit bits
21:32 tadzik FROGGS: nope
21:32 timotimo http://sprunge.us/ULaA - this fixes the "did you mean ''?" bug for routines
21:33 tadzik https://gist.github.com/4575342 --batkcrace
21:33 tadzik bat race!
21:33 tadzik yes, I've no debugging build
21:34 jnthn timotimo: send a pull request, I can merge it
21:34 pmurias jnthn: Bool in nqp should return an qp int (0 vs 1)?
21:34 jnthn pmurias: Yeah, nqp has no Bool type
21:38 FROGGS tadzik: did you made realclean?
21:38 FROGGS I have no idea whats going on there
21:39 jnthn Me either. It's a really odd place to fail...
21:39 timotimo there it is, jnthn
21:39 tadzik trying -fdx now
21:40 dalek rakudo/nom: 108e37f | (Timo Paulssen)++ | src/core/Exception.pm:
21:40 dalek rakudo/nom: don't ask "did you mean" for 0 suggested routines.
21:40 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/108e37f581
21:40 dalek rakudo/nom: 5a895b4 | (Tobias Leich)++ | src/core/Exception.pm:
21:40 dalek rakudo/nom: Merge pull request #96 from timo/levenshtein
21:40 dalek rakudo/nom:
21:40 dalek rakudo/nom: don't ask "did you mean" for 0 suggested routines.
21:40 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/5a895b4685
21:40 Pleiades` joined #perl6
21:40 stevan_ joined #perl6
21:57 MayDaniel joined #perl6
22:00 PacoAir joined #perl6
22:04 dalek nqp: 9efdd5a | jnthn++ | src/how/NQPClassHOW.pm:
22:04 dalek nqp: Get NQPClassHOW to do REPR composition.
22:04 dalek nqp:
22:04 dalek nqp: Note that P6opaque isn't updated to do anything with this yet.
22:04 dalek nqp: review: https://github.com/perl6/nqp/commit/9efdd5af0e
22:04 dalek nqp: 2a13778 | jnthn++ | src/6model/reprs/P6opaque.c:
22:04 dalek nqp: Teach P6opaque about REPR composition protocol.
22:04 dalek nqp:
22:04 dalek nqp: Old one left in place for now; it'll need Rakudo updates and another
22:04 dalek nqp: trip around the bootstrap to eliminate that.
22:04 dalek nqp: review: https://github.com/perl6/nqp/commit/2a137787cd
22:12 timotimo GlitchMr: a read your perl6 changes posts!
22:13 jnthn ooh, is there a new one? :)
22:14 jnthn GlitchMr++ # I like these
22:14 masak yes, GlitchMr++
22:16 dalek rakudo-js: f1401e7 | (Paweł Murias)++ | / (2 files):
22:16 dalek rakudo-js: steal t/qast_bitops.t, add missing bitops
22:16 dalek rakudo-js: review: https://github.com/pmurias/​rakudo-js/commit/f1401e71f6
22:16 dalek rakudo-js: 70c0813 | (Paweł Murias)++ | t/helper.nqp:
22:16 dalek rakudo-js: Reorder subs.
22:16 dalek rakudo-js: review: https://github.com/pmurias/​rakudo-js/commit/70c0813027
22:16 dalek rakudo-js: 18b65bd | (Paweł Murias)++ | / (2 files):
22:16 dalek rakudo-js: Steal t/qast_aggregate.t
22:16 dalek rakudo-js: review: https://github.com/pmurias/​rakudo-js/commit/18b65bd82b
22:17 dalek nqp-jvm-prep: 92240bc | jnthn++ | / (2 files):
22:17 dalek nqp-jvm-prep: Implement composetype op.
22:17 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/92240bce65
22:18 PacoAir joined #perl6
22:19 PacoAir joined #perl6
22:19 * timotimo closes some LTA bugs now :D
22:20 timotimo r: sub foo(Junktion $a) { say $a };
22:20 p6eval rakudo 5a895b: OUTPUT«[31m===[0mSORRY![31m===[0m�Invalid typename in parameter declaration�at /tmp/qJpe_h5ypT:1�------> [32msub foo(Junktion[33m�[31m $a) { say $a };[0m�»
22:20 timotimo may do that at one point, too.
22:23 shachaf joined #perl6
22:23 mikemol joined #perl6
22:25 geekosaur joined #perl6
22:30 PacoAir_ joined #perl6
22:31 For-Odin joined #perl6
22:32 PacoAir joined #perl6
22:34 timotimo more error message improvements are in the pipeline :)
22:37 masak :)
22:38 PacoAir_ joined #perl6
22:41 masak good night, #perl6
22:46 dalek roast: 95a13d7 | (Timo Paulssen)++ | S32-exceptions/misc.t:
22:46 dalek roast: check for X::Inheritance::SelfInherit.
22:46 dalek roast: review: https://github.com/perl6/roast/commit/95a13d770a
23:01 jnthn sleep, 'night o/
23:02 FROGGS gnight
23:09 rjbs joined #perl6
23:09 rjbs seen TimToady
23:09 aloha TimToady was last seen in #perl6 5 hours 18 mins ago saying "jnthn: from CursorBase.pmc: $text .= "\n" unless substr($text,-1,1) eq "\n";".
23:18 Pleiades` joined #perl6
23:19 timotimo Error while compiling block : Error while compiling block : Error while compiling block apply_trait: Error while compiling op handle: Error while compiling op handle: Error while compiling op call: Error while compiling block : Error while compiling op if: Error while compiling op bind: First child of a 'bind' op must be a QAST::Var  -  i feel like i've accomplished something m)
23:20 timotimo (at least i know what i did wrong)
23:24 sjohnson joined #perl6
23:35 timotimo i made some change that causes the setting to be parsed super-super slow, i fear :(
23:36 arnsholt Did you include any Unicode characters in your code?
23:37 arnsholt That made things go superslow in the past
23:37 timotimo i don't think i did. at the very most by accident
23:37 * timotimo tries origin/nom to verify it's his codes fault
23:39 timotimo that still works
23:41 timotimo it may be due to a # i introduced. #| means something, right? >_<
23:42 timotimo i wonder why those really old pull requests on rakudo/rakudo are not being merged
23:42 timotimo or closed
23:43 timotimo | <longname> <.typed_panic('X::Parameter::InvalidType', typename => $<longname>, suggestions => $*W.suggest_typename($<longname>))>  -  should this theoretically work?
23:48 stevan_ joined #perl6

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

Perl 6 | Reference Documentation | Rakudo