Camelia, the Perl 6 bug

IRC log for #perl6, 2014-12-21

Perl 6 | Reference Documentation | Rakudo | Niecza | Specs

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

All times shown according to UTC.

Time Nick Message
00:53 Mso150_d joined #perl6
00:54 atroxaper joined #perl6
01:04 Mso150 joined #perl6
01:41 TimToady m: subset Foo of (Str|Int);
01:41 camelia rakudo-moar fb9127: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/bivxMS7qfiâ�¤Invalid typenameâ�¤at /tmp/bivxMS7qfi:1â�¤------> [32msubset Foo of [33mâ��[31m(Str|Int);[0mâ�¤    expecting any of:â�¤        statement listâ�¤        prefix or termâ�¤        pref…»
01:41 bjz_ joined #perl6
01:41 TimToady better, but the 'expecting' is still kinda bogus
01:41 [Sno] joined #perl6
01:52 ninjazach joined #perl6
02:09 raydiak tremendously more informative than 'missing semicolon'.  TimToady++
02:10 vendethiel TimToady++!
02:17 rmgk_ joined #perl6
02:18 telex joined #perl6
02:46 atroxaper joined #perl6
03:12 ninjazach joined #perl6
03:17 jack_rabbit joined #perl6
03:51 atroxaper joined #perl6
03:56 noganex joined #perl6
04:22 atroxaper joined #perl6
05:34 raydiak .tell moritz when I look at this non-validating Frankenstein of HTML 4 Transitional, XHTML 1 Strict, multiple p5 modules spitting out html from multiple layers and using shell commands to copy files, I just have to ask...is there any future in sight for pod6ify? :)
05:34 yoleaux raydiak: I'll pass your message to moritz.
05:35 atroxaper joined #perl6
05:55 nige joined #perl6
05:56 raydiak .tell lue weren't you working on pod6ify a while ago?  how is that/where did it leave off?  I'm giving design.perl6.org a makeover in the nearish future like I did for docs, so I'm wondering if we were close enough to consider finishing it before/with the redesign
05:56 yoleaux raydiak: I'll pass your message to lue.
06:08 erkan joined #perl6
06:18 davido___ joined #perl6
06:18 dj_goku joined #perl6
06:36 Mso150 joined #perl6
06:39 atroxaper joined #perl6
07:01 moritz raydiak: only the future we create for it
07:01 yoleaux 05:34Z <raydiak> moritz: when I look at this non-validating Frankenstein of HTML 4 Transitional, XHTML 1 Strict, multiple p5 modules spitting out html from multiple layers and using shell commands to copy files, I just have to ask...is there any future in sight for pod6ify? :)
07:12 erkan joined #perl6
07:12 erkan joined #perl6
07:13 dalek rakudo/nom: 7136001 | TimToady++ | src/Perl6/Grammar.nqp:
07:13 dalek rakudo/nom: highexpect should not survive whitespace at least
07:13 dalek rakudo/nom:
07:13 dalek rakudo/nom: Highwater expectations should be reset as soon as we've committed to a match at
07:13 dalek rakudo/nom: a particular position.  In lieu of proper commit semantics, we'll at least reset
07:13 dalek rakudo/nom: on whitespace for now.
07:13 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/7136001260
07:30 molaf joined #perl6
07:36 bartolin joined #perl6
07:45 kaare_ joined #perl6
08:02 raydiak moritz: guess I was wondering if you knew specifically what kind of state it was in or if anyone had a fork somewhere they were actively working on more recently than April or anything like that
08:03 FROGGS[mobile] joined #perl6
08:04 raydiak moritz: also wondering if your offer of assistance extends to helping me work on that if it's close to being a reality, or if you think I should just not worry about all this right now and work around what we already have in place regardless of cruftyness
08:05 moritz raydiak: I'm mildly interested in improving the generation of the pages, and will help you with that
08:06 moritz raydiak: if you have some specific pain points, I can look into them
08:08 gtodd joined #perl6
08:11 darutoko joined #perl6
08:11 raydiak sounds good, I'll at least look at where the pod6 stuff was at, and figure out if it makes sense to pursue that right now for a job that would otherwise only take me a couple days or so
08:12 raydiak (under optimal conditions, that is)
08:14 raydiak thought about seeing if there was much general interest in it, but I suspect doing that would be less fruitful until after the holidays
08:27 moritz raydiak: iirc lue has/had a branch that converted some synopses to pod6
08:29 raydiak moritz: yeah I remembered and found some of the things he was working on...he had started all the relevant parts, I just haven't tried them to see how much they work yet
08:29 lue The pod6ify branch is so old that, if I get to it soon enough, I'd be re-converting the current POD synopses to Pod6 (and by the way, it'd be nice if the synopses didn't have a computer-generated feel to them in the end)
08:29 yoleaux 05:56Z <raydiak> lue: weren't you working on pod6ify a while ago?  how is that/where did it leave off?  I'm giving design.perl6.org a makeover in the nearish future like I did for docs, so I'm wondering if we were close enough to consider finishing it before/with the redesign
08:30 raydiak lue: but that was a mostly-automated job already, wasn't it?
08:31 lue Nope, whenever I updated I merged in the changes from master, resolving conflicts as they came, and then tidied up any Pod6 errors that resulted.
08:32 moritz lue: what about the tooling to generate HTML?
08:33 raydiak ah, I see, thought you had a conversion script done that handled most of it
08:33 * lue wonders how many deprecation warnings she'd get out of pod_vvi if she tried running it now :P .
08:33 lue Oh hey, guess I should push some commits I made a little while back.
08:35 lue mortiz: https://github.com/lue/synopsis-generator  <-- the Pod6-to-HTML converter
08:35 moritz lue: how well does it work? is it robust?
08:35 lue I don't remember what the times were when I last seriously worked on it (back around April, IIRC!), but a recent run put it at (536.98240537 seconds) for my machine.
08:36 lue I *think* that last time, it was ≈1500s or so.
08:37 moritz not awesome, but workable from a cron job
08:37 raydiak lue: looked like most of your work on pod stuff besides Walker stopped in april...things are sure to be substantially faster w/all the optimization work in the past 8 months, no?
08:37 lue moritz: it works fine, though considering its eventual intended use I'd feel much better if someone made sure there wasn't anything dumb in the code.
08:38 raydiak oh, I'm behind :)
08:38 lue raydiak: yes, I was very pleased to dust off syngen after months and see a much lower runtime :)
08:40 lue The one thing I wouldn't be surprised to see go away in a more polished version of syngen would be the colored output; I don't know what others' opinions are on that.
08:40 raydiak oh and now we have a monster server of awesome...
08:42 moritz raydiak: in fact I was just installing a shared(ish) rakudo on the new server, in the hopes of using it in several website generation scripts
08:42 moritz raydiak: ... and came across the error described in https://github.com/tadzik/rakudobrew/issues/21
08:43 lue My computer's not the best, fwiw. For reference, when I last compiled rakudo, I got 148.970 and 430.632 for stage parse (I'm pretty sure the larger number is JVM). On a better computer that 537s might drop a bit.
08:44 moritz lue: http://perlgeek.de/blog-en/perl-6​/2014-community-server-live.html you can get an account if you want to work on something beefy(ish)
08:45 raydiak oh hrm
08:46 lue I should probably get an account there some time, it'd be nice to see how something like syngen operates where one would expect it to run all the time :) .
08:47 sqirrel joined #perl6
08:56 erkan joined #perl6
08:56 erkan joined #perl6
08:58 raydiak moritz: did you try rm -rf ~/.rakudobrew/moar-2014.12?
08:59 moritz raydiak: I know how to recover from that error, but I want it fixed nonetheless
09:00 raydiak moritz: oh I see...don't think I've run in to that one before
09:02 raydiak moritz: you're working on the www server? any big exciting take-over-the-world-with-another-cms plans or anything? :)
09:04 timotimo o/
09:05 raydiak \o timo
09:06 JimmyZ \o timotimo
09:06 moritz FROGGS_: any reason the advent post isn't published yet?
09:06 JimmyZ timotimo: I profiled add2, and found OSRS isn't happened ..
09:06 JimmyZ *OSR
09:07 moritz seems it was scheduled, but didn't actually went live
09:07 moritz published now
09:08 moritz raydiak: no take-over-the-world plans except with Perl 6 in general :-)
09:08 * raydiak looks at a clock and goes to bed
09:08 moritz good night, sleep of dreaming
09:08 timotimo JimmyZ: that's strange. any clue what could have happened?
09:08 moritz or
09:08 moritz you know, whatever :-)
09:08 JimmyZ timotimo: no yet
09:08 raydiak thanks I'll try :)
09:10 molaf_ joined #perl6
09:12 haroldwu joined #perl6
09:12 atroxaper joined #perl6
09:16 timotimo mhm
09:21 FROGGS_ moritz: but I've scheduled it! O.o
09:22 FROGGS_ weird
09:22 moritz FROGGS_: I've seen it scheduled, yes
09:23 FROGGS_ next time I just publish it manually :o)
09:25 moritz https://github.com/tadzik/rakudobrew/pull/22
09:25 FROGGS[mobile] joined #perl6
09:28 rurban joined #perl6
09:32 spider-mario joined #perl6
09:32 adu joined #perl6
09:33 haroldwu joined #perl6
09:50 Mso150 joined #perl6
09:52 erkan joined #perl6
10:07 bartolin g'day, #perl6
10:08 timotimo hello bartolin
10:09 bartolin I created this PR recently: https://github.com/rakudo/rakudo/pull/339. it would be great if someone finds some time to take a look at it
10:10 moritz bartolin: what does that <![i]> do?
10:10 * bartolin goes reading todays advent post . ## FROGGS++
10:10 moritz bartolin: sounds like it wants <!postfix> instead
10:11 moritz or <!postfixish>, or whatever the rule is called
10:11 moritz special-casing postfix:<i> feels fragile
10:13 bartolin moritz: yes, I had that feeling, too. but in S32/Numeric it's explicitely mentioned that there is no .i method
10:14 erkan joined #perl6
10:15 bartolin moritz: I wonder where could <!postfix> or <!postfixish> go in this context to get the desired result
10:16 moritz bartolin: in the place where <![i]> currently is
10:16 bartolin moritz: ah, you meant <!postfix> instead of <![i]>.
10:16 bartolin moritz: but my goal is to match postfix operaters after dot.
10:17 bartolin (just not postfix:<i> since there is no .i method)
10:17 moritz bartolin: that seems like an odd goal
10:17 moritz bartolin: either all postfixes allow an optional dot, or none
10:17 moritz bartolin: I mean, if there's no .i method, it could still call the i postfix
10:18 moritz bartolin: or maybe the whole idea of using ».++ is wrong, and it should just be »++ (with a good error message for the former)
10:19 ptc_p6 joined #perl6
10:22 bartolin moritz: first I tried without special case for .i but I got a spectest failure somewhere, since in one test file method i was called via $obj.i().
10:22 bartolin but to discard the whole idea of ».++ would have larger implications, I guess
10:25 bartolin ahh it was in S12-class/inheritance-class-methods.t (and unrelated to postfix:<i>)
10:26 moritz bartolin: maybe the compromise would be to only allow non-word-y postfixes
10:26 moritz bartolin: which automatically rules out any methods
10:26 bartolin m: my class D { method i { 42 } }; say D.i();
10:26 camelia rakudo-moar 713600: OUTPUT«42␤»
10:28 bartolin moritz: that sounds good (though I don't know yet, how to achieve it)
10:28 bartolin ^^ that test blowed up without the special case for postfix:<i>
10:29 timotimo moritz: how come you have a git in /etc, but are not using etckeeper?
10:29 moritz bartolin: <!before \w> instead of <![i]>
10:30 moritz timotimo: I don't to track all the files, and I don't want automatic commits
10:30 timotimo OK
10:30 moritz timotimo: though do you think I should?
10:30 bartolin moritz: ahh, just like that, great.
10:30 moritz bartolin: or even just <!alpha>
10:31 atroxaper joined #perl6
10:32 bartolin moritz: thanks a lot! I'll test with those and eventually update the PR
10:33 moritz bartolin: also you could look at how STD.pm6 does it (if at all)
10:33 moritz timotimo: maybe I'll try etckeeper on hack.p6c.org, and compare experiences
10:34 timotimo OK :)
10:34 moritz timotimo: one motivation was also to be able to push the repo somewhere else (github), but I don't want /etc/shadow in there
10:34 timotimo ah, that's definitely a point
10:35 bartolin moritz: I looked at the output of 'viv -e' but actually didn't look in STD.pm6. will do that ...
10:38 mvuets joined #perl6
10:52 rindolf joined #perl6
10:57 erkan joined #perl6
10:57 erkan joined #perl6
11:01 \Grrr joined #perl6
11:10 \Grrr left #perl6
11:10 masak afty, #perl6
11:33 Mso150 joined #perl6
11:50 bjz joined #perl6
11:51 psch joined #perl6
11:52 psch hey #perl6 o/
11:52 hekmek joined #perl6
11:53 masak \o
11:53 psch <!alpha> for methods after unary hyper would break quoted methods, wouldn't it?
11:53 psch o/ masak
11:55 * psch tries to actually wake up first
11:56 psch std: @a>>."!weird_methodß"()
11:56 camelia std 76ccee1: OUTPUT«[31m===[0mSORRY![31m===[0m�Variable @a is not predeclared at /tmp/v4lkHhEqxC line 1:�------> [32m<BOL>[33m�[31m@a>>."!weird_methodß"()[0m�Check failed�FAILED 00:00 137m�»
11:56 psch std: my @a; @a>>."!weird_methodß"()
11:56 camelia std 76ccee1: OUTPUT«ok 00:00 137m␤»
11:57 masak m: sub foo(@L) { say +@L }; foo «A B C D E F G»; say "alive"
11:57 camelia rakudo-moar 713600: OUTPUT«7␤alive␤»
11:57 masak hm.
11:58 * masak upgrades his Rakudo
11:58 psch m: my @a = 1..3; say @a>>."atan"()
11:58 camelia rakudo-moar 713600: OUTPUT«0.785398163397448 1.10714871779409 1.24904577239825␤»
11:59 psch well, that works, it's probably a different case
11:59 masak pro tip: do not write `perl6 Configure.pl` -- it does not work. :P

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

Perl 6 | Reference Documentation | Rakudo | Niecza | Specs