Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2016-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:03 pyrimidine joined #perl6
00:04 grondilu joined #perl6
00:10 grondilu_ joined #perl6
00:20 pyrimidine joined #perl6
00:30 giraffe joined #perl6
00:32 Actualeyes joined #perl6
00:40 cdg joined #perl6
00:44 BenGoldberg joined #perl6
00:53 nowan joined #perl6
01:06 grondilu joined #perl6
01:26 BenGoldberg joined #perl6
01:26 cdg_ joined #perl6
01:38 aborazmeh joined #perl6
01:38 aborazmeh joined #perl6
01:45 dataf3l joined #perl6
01:53 labster joined #perl6
02:25 cdg joined #perl6
02:26 cdg joined #perl6
02:27 cdg joined #perl6
02:36 _Vasyl joined #perl6
02:48 ilbot3 joined #perl6
02:48 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
02:55 kalkin-_ joined #perl6
03:01 Possum joined #perl6
03:04 noganex_ joined #perl6
04:51 cdg joined #perl6
05:07 aborazmeh joined #perl6
05:07 aborazmeh joined #perl6
05:12 skids joined #perl6
05:16 Ben_Goldberg joined #perl6
05:20 BenGoldberg joined #perl6
05:22 bjz_ joined #perl6
05:28 BenGoldberg joined #perl6
05:33 pyrimidine joined #perl6
05:44 Cabanossi joined #perl6
05:46 nebuchadnezzar joined #perl6
06:34 pyrimidine joined #perl6
06:53 darutoko joined #perl6
07:20 domidumont joined #perl6
07:25 domidumont joined #perl6
07:35 pyrimidine joined #perl6
07:37 Tonik joined #perl6
07:40 bjz joined #perl6
07:44 protium joined #perl6
07:48 fSDASDAS joined #perl6
07:50 wamba joined #perl6
07:56 pierre_ joined #perl6
07:57 pierre_ joined #perl6
08:07 samcv anybody awake? need some help with this regex that's running the length of the string https://regex101.com/r/ttVtWo/3 (this is for the syntax highlighter)
08:08 samcv only want to match up to the () at the end of the method, but it just keeps going
08:09 CIAvash joined #perl6
08:12 DANtheBEASTman left #perl6
08:24 CIAvash samcv: maybe ï½¢( \S+? ) # method nameï½£?
08:29 RabidGravy joined #perl6
08:29 domidumont joined #perl6
08:29 RabidGravy morning!
08:29 samcv hmm let me see something. i am using character properties, so not actually \S+ but hold on
08:34 samcv ok yeah i think that's it. i feel silly now, but that was it
08:34 samcv the entire regex is pretty big…
08:35 samcv https://a.uguu.se/t7fxhnqCLFgK_Screenshot_20161218_003452.png
08:36 samcv gonna change the \S to do the properties… methods can have any name that subs can use right?
08:36 pyrimidine joined #perl6
08:45 pyrimidine joined #perl6
08:54 pyrimidine joined #perl6
09:05 samcv wow ok i think i finally got it… this is some of the most frustrating things to syntax highlight hah
09:05 samcv having method calls inside interpolated strings
09:06 samcv now i have to add some tests so this won't even break again
09:19 RabidGravy as a complete aside, I'm thinking that a quite nice Graphviz generator wouldn't be all that hard
09:20 RabidGravy I actually wanted it yesterday for the advent post but assiduously ignored the yak
09:23 pyrimidine joined #perl6
09:23 bjz_ joined #perl6
09:25 samcv as a perl 6 module?
09:29 RabidGravy yeah
09:35 pyrimidine joined #perl6
09:42 pyrimidine joined #perl6
09:44 rindolf joined #perl6
10:00 pyrimidine joined #perl6
10:02 telex joined #perl6
10:06 cibs joined #perl6
10:10 pyrimidine joined #perl6
10:13 rindolf joined #perl6
10:21 * RabidGravy starts the Tinky cookbook which he alluded to in the advent post
10:22 RabidGravy lots of little patterns that I tried while I was writing it
10:28 pyrimidine joined #perl6
10:37 lizmat RabidGravy++  # cool post
10:38 pyrimidine joined #perl6
10:41 Xliff Thought: What's the advantage of class-based state variables over lexical variables isolated to the module where the class is defined?
10:41 andrzejku joined #perl6
10:42 Xliff Oh, nevermind.
10:43 Xliff I just re-read docs and lightbulb went off.
10:46 lizmat .oO( I hope it LED you somewhere )
10:47 pyrimidine joined #perl6
10:53 seatek joined #perl6
10:54 rindolf joined #perl6
10:55 Xliff lizmat: *groan*
10:55 lizmat yeah, a case in punt  :-)
10:55 Xliff lol
10:56 Xliff RabidGravy++: I have to agree with lizzy. Nice post.
10:56 Xliff BTW - I'm in the infancy of converting Math::Units to p6.
10:56 Xliff It
10:56 Xliff is not quite a direct port.
10:56 Xliff I was getting to the conversions part when I realized I have enough to test before working on that bit.
10:58 Xliff Especially since I am not supporting basic math ops between Math::Units objects.
11:01 lukaramu joined #perl6
11:05 pyrimidine joined #perl6
11:05 AlexDaniel joined #perl6
11:10 * jnthn is happy to see people starting to explore using supplies to express business processes in a reactive way; RabidGravy++ :)
11:15 * lizmat finishes proofreading Laurent's book
11:15 pyrimidine joined #perl6
11:22 bjz joined #perl6
11:25 aindilis` joined #perl6
11:26 AlexDaniel hello
11:27 AlexDaniel m: say 2⁻⁴
11:27 camelia rakudo-moar 5ec6b3: OUTPUT«0.0625␤»
11:27 AlexDaniel m: say 2**(-4)
11:27 camelia rakudo-moar 5ec6b3: OUTPUT«0.0625␤»
11:27 AlexDaniel m: say 2²⁻²
11:27 camelia rakudo-moar 5ec6b3: OUTPUT«0.0625␤»
11:27 AlexDaniel ?
11:28 AlexDaniel m: say (2**2)**-2
11:28 camelia rakudo-moar 5ec6b3: OUTPUT«0.0625␤»
11:30 AlexDaniel is it supposed to be this way?
11:32 geekosaur I think that's a known shortcoming of the notation
11:32 geekosaur and not particularly easy to fix
11:33 pyrimidine joined #perl6
11:37 AlexDaniel m: say 2**-999999
11:37 camelia rakudo-moar 5ec6b3: OUTPUT«0␤»
11:37 wamba joined #perl6
11:37 AlexDaniel commit: 2016.11 say 2**-999999
11:37 committable6 AlexDaniel, ¦«2016.11»: Numeric overflow␤  in block <unit> at /tmp/VJkjxjLOQD line 1␤␤Actually thrown at:␤  in block <unit> at /tmp/VJkjxjLOQD line 1␤ «exit code = 1»
11:37 AlexDaniel bisect: old=2016.11 say 2**-999999
11:37 bisectable6 AlexDaniel, Bisecting by exit code (old=2016.11 new=5ec6b32). Old exit code: 1
11:38 bisectable6 AlexDaniel, bisect log: https://gist.github.com/c28a52c2bf6cc73528dd98cc85fa44d5
11:38 bisectable6 AlexDaniel, (2016-12-07) https://github.com/rakudo/rakudo/commit/cf0525408eb68e97b958d8e0908d342eaf095ded
11:39 AlexDaniel so, uh, is it a regression or what?
11:39 AlexDaniel what's the expected behavior?
11:40 kalkin-_ So i setup an addition own zef Ecosystem location kalkin. I forked App::Mi6. How do i properly declare the App::Mi6 package as App::Mi6:auth<kalkin>?
11:40 kalkin-_ Just adding :auth<kalkin> to all elements in "provides" META6.json?
11:40 kalkin-_ s/addition/additional/
11:41 tbrowder hi #perl6
11:41 kalkin-_ or do I also need to add :auth to each unit in forked package?
11:41 AlexDaniel .tell mst so, how is it going?
11:41 yoleaux AlexDaniel: I'll pass your message to mst.
11:41 kalkin-_ Which is the correct/best practice way?
11:41 pyrimidine joined #perl6
11:43 kalkin-_ ugexe: btw it would be nice if zef GitFetch would check %*ENV<GIT_ALLOW_PROTOCOL> for allowed protocols (this allows the usage of git-remote-helpers) and fallback to ( http | ssh) if  no allowed protocol is set
11:43 pyrimidi_ joined #perl6
11:44 kalkin-_ !sum
11:44 kalkin-_ ups
11:45 tbrowder ref travis: is there a way to minimize the rakudo build time in travis? i.e., are there pre-built versions?
11:46 lizmat afk&
11:48 bisectable6 joined #perl6
11:48 evalable6 joined #perl6
11:48 committable6 joined #perl6
11:48 benchable6 joined #perl6
11:48 unicodable6 joined #perl6
11:48 statisfiable6 joined #perl6
11:49 k-man_ joined #perl6
11:54 Vynce joined #perl6
11:54 kalkin-_ ok i figured it out. to use Foo::Bar:auth<kalkin> you have to setup author = kalkin (not _authors_!) in META6.json
11:56 kalkin-_ btw this is not documented in S22!
11:58 geekosaur those are not particularly good references any more :/
11:59 geekosaur they're more historical snapshots at this point
11:59 pyrimidine joined #perl6
12:00 kalkin-_ geekosaur: where should this be documented at all?
12:00 rburkholder joined #perl6
12:03 FROGGS joined #perl6
12:03 bjz joined #perl6
12:03 geekosaur huh. found the current doc but it has the same bug
12:03 geekosaur https://docs.perl6.org/language/modules#Distributing_Modules
12:03 geekosaur ...and it links to S22. sigh
12:04 geekosaur I think you have, one way or another, a docs bug
12:04 kalkin-_ lol again? ☺
12:05 espadrine joined #perl6
12:05 kalkin-_ btw also author might be very confusing, it would be better to call it _owner_
12:05 geekosaur huggable, doc bugs
12:05 huggable geekosaur, nothing found
12:05 geekosaur bah
12:07 geekosaur huggable, doc bugs :is: https://github.com/perl6/doc/issues
12:07 huggable geekosaur, Added doc bugs as https://github.com/perl6/doc/issues
12:08 geekosaur the META6 spec is not finalized so feel free to suggest that in your bug report
12:08 geekosaur (in fact I think this authors -> author is a fairly recent change, which would explain why the docs are out of sync with it)
12:09 kalkin-_ geekosaur: i thought perl6 went author → authors or am I mixing things up?
12:10 * geekosaur does not actually recall...
12:10 kalkin-_ btw will perl6 have an assembly at 33C3?
12:10 geekosaur also I wasn't intending to be awake now but I woke to a coughing fit (bloody Arctic fronts...) so brain not exactly fully booted yet :/
12:11 pyrimidine joined #perl6
12:18 pyrimidine joined #perl6
12:24 kalkin-_ .tell ugexe  it would be nice if zef GitFetch would check %*ENV<GIT_ALLOW_PROTOCOL> for allowed protocols (this allows the usage of git-remote-helpers) and fallback to ( http | ssh) if  no allowed protocol is set
12:24 yoleaux kalkin-_: I'll pass your message to ugexe.
12:38 pyrimidine joined #perl6
12:48 pyrimidine joined #perl6
12:57 pyrimidine joined #perl6
13:16 pyrimidine joined #perl6
13:17 pierre_ joined #perl6
13:21 _28_ria joined #perl6
13:25 SmokeMachine RabidGravy: on the README.md example, is it possible pass arguments to the methods created by the role? For example: $ticket-a.take(:by($user))?
13:25 pyrimidine joined #perl6
13:34 moritz lol I blug: https://perlgeek.de/blog-en/perl-6/2016-book-testing-timestamps.html
13:35 pyrimidine joined #perl6
13:43 pyrimidi_ joined #perl6
13:52 andrzejku joined #perl6
13:55 kalkin-_ DrForr: is there a reason for Readline depending on panda?
13:56 moritz $ perl6 -e '(run "echo", "foo", :out, :merge).out.slurp-rest'
13:56 moritz Aborted (core dumped)
13:57 moritz that's a rakudo 2016.11
13:57 moritz is that known, and possibly fixed later on?
13:57 timotimo hm, i think :merge has been kind of borked for some time?
13:57 moritz :(
13:57 timotimo i think i tried to improve it at some point, but it was really a verschlimmbesserung
13:58 kalkin-_ left #perl6
13:58 kalkin-_ joined #perl6
13:58 kalkin-_ moritz: I can reproduce it in 2016.12
13:58 moritz that kinda inhibits my attempts to write a certain example for my Perl 6 book :(
14:00 AlexDaniel but that's an old issue, isn't it? RT #128594
14:00 synopsebot6 Link:  https://rt.perl.org/rt3//Public/Bug/Display.html?id=128594
14:00 moritz does that make it any better?
14:01 AlexDaniel moritz: here's how we do :merge in whateverables: https://github.com/perl6/whateverable/blob/master/Whateverable.pm6#L100-L102
14:01 timotimo that's not the same as :merge, though ;(
14:01 AlexDaniel timotimo: well, what's different?
14:01 AlexDaniel it's not perfect, but…
14:02 timotimo with :merge the invoked program actually gets just a single underlying file for both fds
14:02 timotimo so when they write to out, then err, then out, then err, you'll definitely get it serialized ... (at least i think so?)
14:03 AlexDaniel eval: say ‘hello’; note ‘world’; say 42; note 60
14:03 evalable6 AlexDaniel, rakudo-moar 5ec6b32: OUTPUT«hello␤world␤42␤60»
14:03 timotimo hm
14:03 moritz I don't know how close it is, but it's close enough for me :-)
14:04 moritz should I patch rakudo to give a better error about a known bug, rather than dying with a memory-related error?
14:04 timotimo we could potentially implement :merge in terms of the code whateverable has for the time being
14:05 AlexDaniel I know only one issue with it
14:05 AlexDaniel which is this: https://gist.github.com/AlexDaniel/44e5cde676dc6fdd340fd76fe04b9c1d
14:06 moritz AlexDaniel: well, it seems not even the simplest use cases of :merge survive
14:07 AlexDaniel if there's a lot of stuff in stdout/stderr, whatever other stuff async stuff you have will just hang…
14:07 AlexDaniel moritz: what do you mean by that?
14:07 timotimo hm. so it basically completely fills up the work queue? but we do have a concurrent queue
14:07 timotimo uh
14:07 timotimo a blocking concurrent queue
14:07 moritz AlexDaniel: https://irclog.perlgeek.de/perl6/2016-12-18#i_13760943
14:08 moritz erm
14:08 AlexDaniel moritz: oh, I was referring to my workaround
14:08 moritz s/survive/bomb/
14:08 gfldex m: say &return
14:08 camelia rakudo-moar 5ec6b3: OUTPUT«sub return (| is raw) { #`(Sub|62122040) ... }␤»
14:08 moritz I know see your confusion :-)
14:08 gfldex m: say &return.WHAT
14:08 camelia rakudo-moar 5ec6b3: OUTPUT«(Sub)␤»
14:08 gfldex one more ENODOC
14:09 AlexDaniel timotimo: I have not submitted a ticket for this yet. Feel free to do it
14:09 timotimo hmm
14:10 timotimo i wonder how best to debug what the cause behind it is
14:10 timotimo like, is the intense amount of output from the child process filling up the queue and tasks to send to the channel get put at the end and starve?
14:13 timotimo worst would be if the queue gets filled up and starts blocking
14:18 pyrimidine joined #perl6
14:21 gfldex m: my &block = { say 'returning from &block'; return }; sub returned-from(&code) { say 'enter returned-from'; code; say 'leave returned-from' }; sub forcing-a-return { returned-from &block }; forcing-a-return;
14:21 camelia rakudo-moar 5ec6b3: OUTPUT«enter returned-from␤returning from &block␤Attempt to return outside of any Routine␤  in block <unit> at <tmp> line 1␤␤»
14:21 gfldex is this a bug?
14:21 gfldex (I'm undecided)
14:22 timotimo blocks don't have the ability to be returned from
14:22 gfldex it does work for .map
14:22 timotimo right, map is a method
14:22 gfldex what is a routine
14:22 gfldex so it's at least LTA
14:22 * timotimo actually reads the snippet
14:23 timotimo oh yeah, it should totally return from returned-from when it invokes the code
14:23 timotimo bisectable6: my &block = { say 'returning from &block'; return }; sub returned-from(&code) { say 'enter returned-from'; code; say 'leave returned-from' }; sub forcing-a-return { returned-from &block }; forcing-a-return;
14:23 bisectable6 timotimo, On both starting points (old=2015.12 new=fb38190) the exit code is 1 and the output is identical as well
14:23 bisectable6 timotimo, Output on both points: enter returned-from␤returning from &block␤Attempt to return outside of any Routine␤  in block <unit> at /tmp/lKPXlf23Nr line 1␤
14:23 timotimo hmm.
14:24 AlexDaniel timotimo: ok, RT #130370
14:24 synopsebot6 Link:  https://rt.perl.org/rt3//Public/Bug/Display.html?id=130370
14:25 gfldex my guess would be that Rakudo takes a shortcut and doesn't install a control exception handler because it didn't spot a return statement.
14:26 timotimo hum. but exception handlers on moarvm are really, really cheap
14:27 AlexDaniel bisect: old=2015.11 my &block = { say 'returning from &block'; return }; sub returned-from(&code) { say 'enter returned-from'; code; say 'leave returned-from' }; sub forcing-a-return { returned-from &block }; forcing-a-return;
14:27 bisectable6 AlexDaniel, Bisecting by exit code (old=2015.11 new=fb38190). Old exit code: 0
14:27 bisectable6 AlexDaniel, bisect log: https://gist.github.com/34a9fd70b4e72ef900095e83c4ce29af
14:27 bisectable6 AlexDaniel, (2015-12-01) https://github.com/rakudo/rakudo/commit/a4ca12afa30be4ce5dfc3602f54a5563d069ffa5
14:27 AlexDaniel not sure if this is relevant
14:28 timotimo huh, interesting
14:29 gfldex i blame jnthn :)
14:29 moritz uhm, does proc.exitcode work?
14:29 gfldex anyway, I will rakudobug and doc the correct behavoir.
14:30 timotimo it's supposed to work, of course you have to wait for the process to exit properly
14:30 gfldex do we have a RT tag for regressions?
14:30 timotimo i've seen [REGRESSION] be used
14:30 gfldex monkey see monkey do
14:31 AlexDaniel moritz: yes, but you have to close stdout if you are reading it
14:31 AlexDaniel oh wait
14:31 AlexDaniel ah yes, right
14:31 timotimo AlexDaniel: could i perhaps get you to figure out the exact number you have to put into the child process to make things b0rk?
14:32 AlexDaniel moritz: see RT #125757
14:32 synopsebot6 Link:  https://rt.perl.org/rt3//Public/Bug/Display.html?id=125757
14:32 AlexDaniel timotimo: exact number of what?
14:32 moritz http://perlpunks.de/paste/show/58569dee.1e4a.27b
14:32 labster joined #perl6
14:32 timotimo AlexDaniel: for ^0x1FFFF  <- this number
14:32 moritz so I thought that .out.slurp-rest necessarily waits for the end of the program
14:33 timotimo ah, slurp-rest also has a .close implicit in its operation
14:33 timotimo so that should be okay
14:33 moritz AlexDaniel: thanks for the link to the bug report
14:33 timotimo may have to also close .err, depending on how you invoked the thing
14:33 moritz in http://perlpunks.de/paste/show/58569dee.1e4a.27b I call .slurp-rest on both .err and .out
14:34 * moritz throws up hands in frustration
14:34 timotimo oh
14:34 timotimo you might be deadlocking there
14:34 moritz no
14:34 moritz it's exiting fine
14:34 timotimo oh, OK!
14:34 moritz it just reports the wrong exit code
14:34 timotimo in what way is it wrong?
14:35 timotimo is it -1?
14:35 moritz it's 0, when it should be 42
14:36 timotimo ah, ok
14:36 timotimo yeah, that's probably wrong
14:36 AlexDaniel moritz: sure, but if you .close both .out and .err, it's fine, right?
14:36 moritz AlexDaniel: but doesn't .slurp-rest do that for me?
14:37 moritz did anybody actually *look* at http://perlpunks.de/paste/show/58569dee.1e4a.27b ?
14:37 AlexDaniel well, for that reason we have a bug report that is still open… :)
14:37 timotimo sorry, i did look at it a bit too late ;(
14:37 AlexDaniel moritz: I looked, it has no .close. There's a bug report saying that it doesn't work without .close, so that's why I asked the question…
14:37 AlexDaniel
14:38 moritz can I get the exit code from Proc::Async somehow?
14:38 moritz is it the result of the promise?
14:38 AlexDaniel sure: https://github.com/perl6/whateverable/blob/master/Whateverable.pm6#L119
14:38 timotimo well, slurp-rest is supposed to close things, too
14:39 gfldex filed as #130371
14:39 synopsebot6 Link:  https://rt.perl.org/rt3//Public/Bug/Display.html?id=130371
14:39 AlexDaniel so it is $promise.result.exitcode
14:39 MasterDuke moritz: it looks like slurp-rest only closes if you explicitly pass :close
14:39 timotimo oh, huh!
14:39 moritz MasterDuke: oh, thanks
14:39 moritz AlexDaniel: does that mean that the .result of the Proc::Async promise is a Proc?
14:40 MasterDuke but ISTR some discussion about that somewhat recently
14:40 Xliff m: $_ = "square meters"; s[ « sq[uare]?\s+ ] = 'sq,'; .say
14:40 camelia rakudo-moar fb3819: OUTPUT«sq,meters␤»
14:40 moritz ah right, the docs for .start say as much
14:40 Xliff m: my $a = -> $_ is copy { s[ « sq[uare]?\s+ ] = 'sq,' }; $_ = "square meters"; $a($_); .say
14:40 camelia rakudo-moar fb3819: OUTPUT«square meters␤»
14:41 dalek doc: 0afdeea | gfldex++ | doc/Language/control.pod6:
14:41 dalek doc: we are talking about sub return, method return is handled in /type/Mu
14:41 dalek doc: review: https://github.com/perl6/doc/commit/0afdeeadc3
14:41 synopsebot6 Link: http://doc.perl6.org/language/control
14:41 Xliff m: my $a = -> $_ is copy { s[ « sq[uare]?\s+ ] = 'sq,' }; $_ = "square meters"; $_ = $a($_); .say
14:41 camelia rakudo-moar fb3819: OUTPUT«「square 」␤»
14:41 Xliff m: my $a = -> $_ is copy { s[ « sq[uare]?\s+ ] = 'sq,' }; $_ = "square meters"; a($_); .say
14:41 camelia rakudo-moar fb3819: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤    a used at line 1␤␤»
14:41 timotimo yeah, forgot the $ before a
14:41 Xliff Why doesn't $_ change.
14:41 MasterDuke ahh, the :close was added recently https://github.com/rakudo/rakudo/commit/4efdd949dfb6279ed4998877f015101f3c653bfb
14:41 Xliff m: my $a = -> $_ is copy { s[ « sq[uare]?\s+ ] = 'sq,' }; $_ = "square meters"; $a($_); .say
14:41 camelia rakudo-moar fb3819: OUTPUT«square meters␤»
14:42 Xliff m: my $a = -> $_ is copy { s[ « sq[uare]?\s+ ] = 'sq,' }; $_ = "square meters"; &( $a ); .say
14:42 camelia rakudo-moar fb3819: OUTPUT«square meters␤»
14:42 AlexDaniel MasterDuke: that's interesting
14:42 Xliff m: $_ = "square meters"; s[ « sq[uare]?\s+ ] = 'sq,'; .say
14:42 camelia rakudo-moar fb3819: OUTPUT«sq,meters␤»
14:43 Xliff ¯\_(ツ)_/¯
14:44 AlexDaniel why would it change though?
14:44 Xliff m: my $a = -> $_ is rw { s[ « sq[uare]?\s+ ] = 'sq,' }; $_ = "square meters"; &( $a ); .say
14:44 camelia rakudo-moar fb3819: OUTPUT«square meters␤»
14:44 AlexDaniel m: my $a = -> $_ is rw { s[ « sq[uare]?\s+ ] = "sq," }; $_ = "square meters"; $a($_); .say
14:44 camelia rakudo-moar fb3819: OUTPUT«sq,meters␤»
14:44 Xliff Ah. I need to change that, then.
14:45 Xliff OK. But here's where it gets weird.
14:45 timotimo with &($a), do you even call $a at all? i don't think so.
14:45 pyrimidine joined #perl6
14:45 moritz you need $a()
14:46 Xliff m: my @a - (-> $_ is rw { s[ « per »        ] = '/'   },
14:46 Xliff -> $_ is rw { s[ « sq[uare]?\s+ ] = 'sq,' }, )
14:46 camelia rakudo-moar fb3819: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Unable to parse expression in parenthesized expression; couldn't find final ')' ␤at <tmp>:1␤------> 3_ is rw { s[ « per »        ] = '/'   },7⏏5<EOL>␤    expecting any of:␤        prefix␤  â€¦Â»
14:46 Xliff m: my @a - (-> $_ is rw { s[ « per »        ] = '/'   },-> $_ is rw { s[ « sq[uare]?\s+ ] = 'sq,' }, );
14:46 camelia rakudo-moar fb3819: OUTPUT«WARNINGS for <tmp>:␤Useless use of "-" in expression "my @a - (-> $_ is rw { s[ « per »        ] = '/'   },-> $_ is rw { s[ « sq[uare]?\\s+ ] = 'sq,' }, )" in sink context (line 1)␤»
14:46 MasterDuke btw, moritz or timotimo, mind taking a look at https://github.com/rakudo/rakudo/pull/960 ?
14:46 mrbrklyn joined #perl6
14:47 Xliff m: my @a = (-> $_ is rw { s[ « per »        ] = '/'   },-> $_ is rw { s[ « sq[uare]?\s+ ] = 'sq,' }, );
14:47 mrbrklyn wow
14:47 camelia rakudo-moar fb3819: ( no output )
14:47 mrbrklyn a whole new culture
14:47 Xliff m: my @a = (-> $_ is rw { s[ « per » ] = '/' },-> $_ is rw { s[ « sq[uare]?\s+ ] = 'sq,' }, );
14:47 camelia rakudo-moar fb3819: ( no output )
14:47 Xliff Huh! camelia doesn't error out, yet when I do this from a script, I get the following:
14:48 Xliff Unrecognized backslash sequence: '\s'
14:49 moritz Xliff: probably a missing or extra quote somwhere?
14:49 AlexDaniel mrbrklyn: you think so? :)
14:49 Xliff Could the « » be getting mistaken for quotes?
14:49 cdg joined #perl6
14:49 Xliff I thought they were word boundary inside subst regexp
14:50 timotimo remove the \s and see if it complains about reaching EOF while searching for stringy stuff
14:53 Xliff No. Now complains about: Missing infix inside hyper
14:53 timotimo oh yikes!
14:53 timotimo ah yeah
14:53 Xliff From this: "-> $_ is rw { s[ \s+squared »   ] = '^2'  },"
14:53 timotimo you forgot a ) there i believe
14:53 timotimo sorry, i mis-looked
14:54 timotimo can you try to get the exact same code into irc that you're using locally?
14:54 moritz Xliff: if the same code in a file fails to parse, it stands to reason it's not exactly the same code
14:54 timotimo or if you're using -e, you're probably getting shell stuff to interfere
14:54 Xliff So my version of rakudo is mistaking «» for quotations inside the s[p] = r form.
14:54 moritz unless you are using a very different rakudo version
14:55 Xliff But I can get it to work in camelia just fine.
14:55 geekosaur note that "" allows shell interpretation, specifically $_
14:55 Xliff Not doing this through -e
14:55 Xliff File and camelia only
14:56 moritz camelia writes its code to a temp file too
14:56 Xliff Huh
14:56 Xliff So why the differing outcomes?
14:56 timotimo well, let's start with: what's your --version?
14:56 moritz presumably because there are difference between IRC and the file
14:56 Xliff I would expect camelia to bail with the same errors.
14:56 timotimo we do have commitable which allows us to get the exact same version you have
14:57 Xliff Just rakodobrewed so 2016.12-8-g5ec6b32fa
14:57 timotimo ah, it's actually camelia who's out of date here
14:57 Xliff \o/
14:57 timotimo um, sorry
14:58 moritz camelia reports its own version as fb38190
14:58 timotimo i just hadn't pulled yet. camelia is up to date as of 41 minutes ago
14:58 Xliff Actually, that is less cheer... more scream
14:58 moritz which is just one commit different than 5ec6b32fa
14:58 Xliff I was getting this last night, so that's just weird.
14:58 timotimo yeah, so, can you share the exact file with us? like via a file sharing platform?
14:58 moritz Xliff: can you please put the exact file you're running into a gist?
14:58 Xliff Well, time for it to go into git, anyways.
14:58 Xliff BRB
14:59 moritz or that, yes
15:00 moritz ok, next weirdness: http://perlpunks.de/paste/show/5856a49c.6e7.323
15:01 moritz it dies on line 9, which is this one: .close for $proc.out, $proc.err;
15:01 moritz reading the src/core/Proc source code, I think it's supposed to only die this when when in sink context
15:01 moritz but this shouldn't put $proc in sink context
15:02 pierre_ joined #perl6
15:02 moritz does .close on .out return the original Proc?
15:02 moritz that would be kinda weird
15:03 timotimo oh, is something getting sinked that's weird? or something?
15:03 timotimo er, yeah
15:03 moritz oh it does, indeed
15:03 timotimo i missed a few lines in the middle
15:03 moritz IO::Pipe.close returns the $.proc
15:04 timotimo that's ... strange
15:04 timotimo it's probably by accident, eh?
15:05 Xliff https://github.com/Xliff/p6-math-units/blob/master/lib/Math/Units/Parser.pm6
15:06 moritz well, that's *a lot* more code than you pasted on IRC :-)
15:06 Xliff rakudo doesn't get past line 9
15:06 moritz now I'm much less surprised there's a difference
15:06 Xliff moritz: Everyone tells me I need to learn to golf!!!!
15:07 Xliff Can't blame me for trying to condense!
15:07 Xliff :P
15:07 moritz Xliff: sure, but then don't tell us you run *the same* code in a file, and getting an error
15:07 Xliff Hrm.
15:08 moritz Xliff: the art of golfing is to reduce while keeping the same error
15:08 geekosaur a golfed example is a minimal complete piece of runnable code that exhibits the same failure mode
15:08 Xliff Error happens at the top of the file. It was.... sameish!
15:08 moritz Unrecognized regex metacharacter - (must be quoted to match literally)
15:08 moritz at /home/moritz/p6/rakudo/Parser.pm6:12
15:08 moritz ------>     -> $_ is copy { s[ « decinano⏏-?   ] = 'dn,' },
15:09 moritz so, it complains about the -
15:09 Xliff Actually that should have already been done.
15:09 timotimo right
15:09 moritz - doesn't match \w, so it must be, as the error message says, quoted (or escaped) to match literally
15:09 Xliff Ah. Uncommitted changes before push.
15:09 Xliff Look now.
15:09 moritz somtimes reading the error message is easier than golfing :-)
15:10 moritz it still contains unquoted -
15:10 Xliff Line 17?
15:11 moritz line 12, as before
15:11 Xliff Not the latest version.
15:11 moritz I'm talking about https://raw.githubusercontent.com/Xliff/p6-math-units/master/lib/Math/Units/Parser.pm6
15:11 moritz as github shows it now
15:11 moritz that still contains unquoted - in regexes
15:11 moritz does it not?
15:11 Xliff Not my version
15:11 Xliff Nor that page.
15:11 Xliff Cache?
15:12 pyrimidine joined #perl6
15:12 moritz I reloaded the browser window
15:12 moritz maybe github does some weird caching
15:12 AlexDaniel eval: my @a = (-> $_ is rw { s[ « per » ] = '/' },-> $_ is rw { s[ « sq[uare]?\s+ ] = 'sq,' }, );
15:12 evalable6 AlexDaniel, rakudo-moar fb38190: OUTPUT«»
15:13 AlexDaniel if camelia is out of date, evalable can help :)
15:13 geekosaur rev showing here is fc840de
15:13 nebuchadnezzar joined #perl6
15:14 geekosaur (and as moritz said, no quotes around the -)
15:14 Xliff :-O
15:14 Xliff I could have sworn I fixed that earlier this morning!!!
15:14 * moritz wonders if Xliff lives in a parallel universe, and only touches our universe through IRC
15:14 andrzeju_ joined #perl6
15:15 Xliff Um. Isn't "\-" the same as '-'?
15:15 AlexDaniel where?
15:15 Xliff -> $_ is rw { s[ « decinano\-   ] = 'dn,' },
15:15 moritz ah, changed now
15:15 Xliff HAH!
15:15 timotimo i see 2077701
15:15 Xliff Parallel THAT!
15:16 moritz now I get
15:16 moritz Quantifier quantifies nothing
15:16 moritz at /home/moritz/p6/rakudo/Parser.pm6.1:8
15:16 moritz ------>     -> $_ is rw { s[ « sq[uare]?+⏏ ] = 'sq,' },
15:16 Xliff Well that's different than what I'm getting.
15:16 AlexDaniel yea, wtf is ?+
15:17 moritz ftr, I did remove a "use" line
15:17 timotimo squareuareuareuare
15:17 moritz so that I could compile that file on its own
15:17 Xliff Looking
15:17 Xliff ACtually, it was supposed to be "square?\s+"
15:17 Xliff Someone told me to remove the "\s" earlier.
15:18 timotimo hehe.
15:18 Xliff :)
15:18 AlexDaniel squar|square ? :o
15:18 Xliff There's a comment right above it with the original.
15:18 thalunil joined #perl6
15:19 AlexDaniel m: say ‘squar’ ~~ /square?\s+/
15:19 camelia rakudo-moar fb3819: OUTPUT«Nil␤»
15:19 AlexDaniel m: say ‘squar  â€™ ~~ /square?\s+/
15:19 camelia rakudo-moar fb3819: OUTPUT«「squar  ï½£â¤Â»
15:19 Xliff m: say "square" ~~ s/sq[uare]?\s+/;
15:19 camelia rakudo-moar fb3819: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Malformed replacement part; couldn't find final /␤at <tmp>:1␤------> 3say "square" ~~ s/sq[uare]?\s+/;7⏏5<EOL>␤    expecting any of:␤        infix stopper␤»
15:19 Xliff m: say "square" ~~ s/sq[uare]?\s+/sq,/;
15:19 camelia rakudo-moar fb3819: OUTPUT«False␤»
15:19 Xliff m: say "square " ~~ s/sq[uare]?\s+/sq,/;
15:19 camelia rakudo-moar fb3819: OUTPUT«Cannot modify an immutable Str␤  in block <unit> at <tmp> line 1␤␤»
15:20 Xliff D'oh
15:20 Xliff m: $a = "square " say $a ~~ s/sq[uare]?\s+/sq,/;
15:20 camelia rakudo-moar fb3819: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Variable '$a' is not declared␤at <tmp>:1␤------> 3<BOL>7⏏5$a = "square " say $a ~~ s/sq[uare]?\s+/␤»
15:20 Xliff m: my $a = "square " say $a ~~ s/sq[uare]?\s+/sq,/;
15:20 camelia rakudo-moar fb3819: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Two terms in a row␤at <tmp>:1␤------> 3my $a = "square "7⏏5 say $a ~~ s/sq[uare]?\s+/sq,/;␤    expecting any of:␤        infix␤        infix stopper␤        postfix␤        statement end…»
15:20 Xliff m: my $a = "square "; say $a ~~ s/sq[uare]?\s+/sq,/;
15:20 camelia rakudo-moar fb3819: OUTPUT«「square 」␤»
15:20 AlexDaniel joined #perl6
15:20 Xliff God I need some beer, now.
15:20 Xliff I woke up at 3am. It's now 10. I think I'm entitled!!!
15:21 AlexDaniel \o/ emacs crashed!!!
15:21 Xliff Not my fault!!!!
15:21 moritz AlexDaniel: fun times!
15:21 moritz AlexDaniel: last week, my thunderbird segfaulted a couple of times
15:21 andrzejku joined #perl6
15:21 moritz vey trust-inspiring when your MUA does that
15:21 Xliff moritz: A segfault a day keeps the blue screen away?
15:21 moritz *very
15:22 timotimo now we can all be glad our mail user agents don't run in kernel space
15:22 Xliff timotimo++ # werd
15:22 moritz yes, but when they segfault, I still can't help but think there's a remote-exploitable vuln in there somewhere
15:22 pierre_ joined #perl6
15:23 timotimo riht
15:23 AlexDaniel I had about 5 workspaces, each had some kind of work going. I am using emacs as a daemon, so everything is just a client
15:23 Xliff Not all segfaults are buffer-[over|under]runs
15:23 AlexDaniel sooo… if it goes down, I have to open all that stuff again! :)
15:23 Xliff :(
15:24 moritz AlexDaniel: you need emacs-systemd :-)
15:24 pyrimidine joined #perl6
15:24 sena_kun joined #perl6
15:24 moritz Xliff: right, but no segfault is a good sign
15:25 Xliff But of course!
15:25 timotimo no segfault means you're already exploited :P
15:25 AlexDaniel moritz: how would that prevent it from crashing? x)
15:25 moritz AlexDaniel: it wouldn't, but it would restart your daemons on startup :-)
15:25 thayne joined #perl6
15:26 Xliff OK. Sooo...
15:26 Xliff Looks like there is something in Math::Units::Defs that is causing the issue.
15:27 sunnavy joined #perl6
15:27 Xliff Removing the "use Math::Units::Defs" from Parser.pm stops those errors.
15:27 Xliff Returns a sensible one.
15:28 Xliff So I will pick at this more. Thanks everyone!!
15:33 RabidGravy SmokeMachine,  maybe that might fit into a category of doing weird stuff with multis that I am working up for the cookbook
15:35 cdg joined #perl6
15:43 pyrimidine joined #perl6
15:46 RabidGravy and on the other hand you can always use a grep on the supply
15:46 RabidGravy which is why supplies are actually the greatest thing known to computer science
15:47 Xliff instantFilter?
15:47 * Xliff decides to take a break.
15:48 Xliff Now adding an "our %var is export;" to a module, makes a dependent module emit this error:
15:48 Xliff Expression needs parens to avoid gobbling block
15:48 Xliff at /home/cbwood/projects/p6-math-units/lib/Math/Units.pm6 (Math::Units):278
15:48 Xliff ------>   }⏏<EOL>
15:48 Xliff Missing block (apparently claimed by expression)
15:48 Xliff at /home/cbwood/projects/p6-math-units/lib/Math/Units.pm6 (Math::Units):278
15:48 Xliff ------>   }⏏<EOL>
15:48 timotimo you usually get that error when you have something that's supposed to be a type, but it isn't found
15:48 timotimo m: if 10 ~~ Bool { say "hi" }
15:48 camelia rakudo-moar fb3819: ( no output )
15:48 timotimo m: if 10 ~~ Boop { say "hi" }
15:48 camelia rakudo-moar fb3819: OUTPUT«5===SORRY!5===␤Function 'Boop' needs parens to avoid gobbling block (or perhaps it's a class that's not declared or available in this scope?)␤at <tmp>:1␤------> 3if 10 ~~ Boop { say "hi" }7⏏5<EOL>␤Missing block (apparently claimed by 'Boo…»
15:49 RabidGravy timotimo++ has faster typing than me
15:49 Xliff Oh damn. Found it. Dangling comma in a for loop.
15:49 timotimo gradual typing
15:49 pyrimidine joined #perl6
15:52 ufobat joined #perl6
15:52 Lucas_One left #perl6
15:55 timotimo oh, i actually put the text in the parens into that error
16:01 RabidGravy If anyone actually has some "how do I do <Foo> using Tinky"  issues to https://github.com/jonathanstowe/Tinky-Cookbook would be appreciated
16:01 timotimo why isn't there a quick link directly to Tinky from there? :)
16:02 RabidGravy other wise I'm just going to haul out the "Enterprise Integration Patterns" book and work through it ;-)
16:02 timotimo i actually have no clue what parts of projects such a workflow system would fit in
16:03 RabidGravy we went to Hieronymous Bosch version of XMas shopping earlier ;-)
16:03 RabidGravy timotimo, that's a different question of course ;-p
16:04 timotimo :)
16:04 timotimo indeed.
16:05 ugjka joined #perl6
16:09 cdg joined #perl6
16:12 cibs joined #perl6
16:14 pierrot joined #perl6
16:15 pyrimidine joined #perl6
16:15 pierre_ joined #perl6
16:25 khw joined #perl6
16:25 pyrimidine joined #perl6
16:33 dj_goku joined #perl6
16:40 Actualeyes left #perl6
16:43 dataf3l joined #perl6
16:44 moritz does anybody agree with me that https://rt.perl.org/Public/Bug/Display.html?id=130371 is not, in fact, a bug?
16:45 moritz it looks like desired behavior to me, since &return should return from an lexically outer Routine
16:45 pyrimidine joined #perl6
16:46 timotimo i don't actually know
16:49 jnthn Yes, current behavior is correct.
16:49 jnthn Return is lexical
16:50 jnthn So, not a bug
16:51 pierre_ joined #perl6
16:52 AlexDaniel m: leave
16:52 camelia rakudo-moar fb3819: OUTPUT«leave not yet implemented. Sorry. ␤  in block <unit> at <tmp> line 1␤␤»
16:52 AlexDaniel :(
16:53 AlexDaniel RT #124960
16:53 synopsebot6 Link:  https://rt.perl.org/rt3//Public/Bug/Display.html?id=124960
16:55 pyrimidine joined #perl6
16:56 raiph joined #perl6
16:57 gfldex m: my &block = { say 'returning from &block'; return }; say (1..3).map: &block;
16:57 camelia rakudo-moar fb3819: OUTPUT«returning from &block␤Attempt to return outside of any Routine␤  in block <unit> at <tmp> line 1␤␤»
16:58 timotimo leave can't be so hard, can it?
16:58 moritz it needs codegen, and codegen is hard for me
16:59 gfldex m: my &block = { say 'returning from &block'; last }; say (1..3).map: &block;
16:59 camelia rakudo-moar fb3819: OUTPUT«returning from &block␤()␤»
16:59 gfldex last works and does the same
17:00 gfldex or does leave fire a control exception?
17:04 pyrimidine joined #perl6
17:06 moritz nope
17:06 moritz last isn't tied to an outer lexical scope
17:07 gfldex m: sub s { my &loop-block = { return 'premature' }; say 'hi'; (1..3).map: &loop-block; say 'oi‽' }; say s
17:07 camelia rakudo-moar fb3819: OUTPUT«hi␤premature␤»
17:07 gfldex m: sub s { my &loop-block = { return 'premature' }; say 'hi'; (1..3).map: &loop-block; }; say s
17:07 camelia rakudo-moar fb3819: OUTPUT«hi␤Attempt to return outside of any Routine␤  in block <unit> at <tmp> line 1␤␤»
17:07 gfldex there is a bug somewhere
17:07 gfldex m: sub s { my &loop-block = { return 'premature' }; say 'hi'; (1..3).map(&loop-block); }; say s
17:07 camelia rakudo-moar fb3819: OUTPUT«hi␤Attempt to return outside of any Routine␤  in block <unit> at <tmp> line 1␤␤»
17:07 gfldex m: sub s { my &loop-block = { return 'premature' }; say 'hi'; (1..3).map(&loop-block); 1 }; say s
17:07 camelia rakudo-moar fb3819: OUTPUT«hi␤premature␤»
17:09 gfldex m: sub s { my &loop-block = { return }; (1..3).map(&loop-block); 1 }; say s
17:09 camelia rakudo-moar fb3819: OUTPUT«Nil␤»
17:09 gfldex m: sub s { my &loop-block = { return }; (1..3).map(&loop-block); }; say s
17:09 camelia rakudo-moar fb3819: OUTPUT«Attempt to return outside of any Routine␤  in block <unit> at <tmp> line 1␤␤»
17:09 gfldex m: sub s { my &loop-block = { return }; (1..3).map(&loop-block); }; s
17:09 camelia rakudo-moar fb3819: OUTPUT«Attempt to return outside of any Routine␤  in block <unit> at <tmp> line 1␤␤»
17:09 moritz gfldex: are you trying to achieve something in particular? if yes, what?
17:09 gfldex i'm trying to golf in the wrong window, sorry
17:10 gfldex i would take pointers how to golf this further, tho
17:10 cdg joined #perl6
17:11 timotimo um
17:11 timotimo you have the return inside the sub s
17:11 timotimo so returning ought to return from s
17:11 timotimo is that what we are expecting?
17:11 gfldex yes
17:11 timotimo OK
17:11 timotimo i'm not concentrating well today
17:11 gfldex i'm very confused that a no-op is required
17:12 timotimo oh
17:12 timotimo you do realize that map is lazy?
17:12 timotimo so the moment &loop-block gets invoked, s isn't on the stack any more
17:13 gfldex m: sub s { my &loop-block = { return }; (1..3).map(&loop-block); }; say s
17:13 camelia rakudo-moar fb3819: OUTPUT«Attempt to return outside of any Routine␤  in block <unit> at <tmp> line 1␤␤»
17:13 timotimo m: sub s { my &loop-block = { return }; (1..3).map(&loop-block).eager; }; say s
17:13 camelia rakudo-moar fb3819: OUTPUT«Nil␤»
17:14 moritz gfldex: in your last example, &s returns a lazy list
17:14 moritz this is then evaluated in sink context
17:14 moritz which makes it eager
17:14 moritz so by the time that the return has run, there's no instance of &s running anymore
17:15 moritz we used to have a more awesome error message for that, something like "you've already returned from &s", dunno where that's gone
17:16 cdg joined #perl6
17:18 gfldex time travel makes things complicated
17:18 moritz indeed
17:19 raiph .tell nine Fwiw, Q on PM about "wxWidgets application in Perl 6" (using IP5): http://www.perlmonks.org/?node_id=1177946
17:19 yoleaux raiph: I'll pass your message to nine.
17:20 domidumont joined #perl6
17:20 dalek doc: a335953 | gfldex++ | doc/Language/control.pod6:
17:20 dalek doc: tell how return relates to outer scopes
17:20 dalek doc: review: https://github.com/perl6/doc/commit/a3359536d9
17:20 synopsebot6 Link: http://doc.perl6.org/language/control
17:20 gfldex i hope to have found a wording that says what I meant
17:22 pierre_ joined #perl6
17:22 skids joined #perl6
17:23 pyrimidine joined #perl6
17:25 timotimo instead of "the outer lexical scope of that block", i'd maybe have it say something like "the routine it's lexically enclosed by"
17:25 timotimo that also covers having blocks inside blocks inside blocks inside routines, etc
17:26 gfldex i would not have understood that but the nestedness should be pointed at
17:27 timotimo OK
17:27 moritz gfldex: I'll try to reword it, and then ask you if that's understandable, OK?
17:28 andrzejku joined #perl6
17:29 gfldex i think i got it
17:29 dalek doc: 4ee29e7 | gfldex++ | doc/Language/control.pod6:
17:29 dalek doc: scope of a block can be nested
17:29 dalek doc: review: https://github.com/perl6/doc/commit/4ee29e7bfb
17:29 synopsebot6 Link: http://doc.perl6.org/language/control
17:29 moritz gfldex: http://perlpunks.de/paste/show/5856c778.1e4a.172
17:31 dalek doc: 57e28ee | gfldex++ | doc/Language/control.pod6:
17:31 synopsebot6 Link: http://doc.perl6.org/language/control
17:31 dalek doc: fix typo
17:31 dalek doc: review: https://github.com/perl6/doc/commit/57e28ee235
17:31 gfldex i like the more wordy form better
17:32 moritz "is tied to the first C<Routine> the outer lexical scope"
17:32 moritz isn't there a preposition missing or something?
17:33 dalek doc: acddece | gfldex++ | doc/Language/control.pod6:
17:33 dalek doc: fix typo
17:33 dalek doc: review: https://github.com/perl6/doc/commit/acddece001
17:33 synopsebot6 Link: http://doc.perl6.org/language/control
17:33 gfldex yes, maybe I should read what I wrote before I commit
17:33 pyrimidine joined #perl6
17:34 gfldex as an excuse I can state that it's nearly 3 hours after nightfall :->
17:34 timotimo so like 7pm?
17:40 lichtkind joined #perl6
17:41 gfldex yes :)
17:47 cdg joined #perl6
17:49 pyrimidi_ joined #perl6
18:23 Xliff I would I define enums with a Num base type?
18:23 Xliff s/^I/How/
18:24 AlexDaniel Xliff: what does it mean?
18:25 Xliff ?
18:25 Xliff I don't understand your question, AlexDaniel
18:26 AlexDaniel alright, well, the answer is probably “you just can't” :)
18:26 lizmat m: enum Foo (A => 0e0, "B", "C"); dd Foo.^enum_values   # AlexDaniel
18:26 camelia rakudo-moar fb3819: OUTPUT«{:A(0e0), :B(1e0), :C(2e0)}␤»
18:26 AlexDaniel :O
18:26 lizmat seems to work ?
18:27 lizmat m: enum Foo (A => "a", "B", "C"); dd Foo.^enum_values   # also works for strings
18:27 camelia rakudo-moar fb3819: OUTPUT«{:A("a"), :B("b"), :C("c")}␤»
18:27 Xliff Wow.
18:27 AlexDaniel m: enum Animal (Cat => 1, Dog => 42e0, Monkey => 69)
18:27 camelia rakudo-moar fb3819: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Type error in enum. Got 'Num' Expected: 'Int'␤at <tmp>:1␤------> 3al (Cat => 1, Dog => 42e0, Monkey => 69)7⏏5<EOL>␤»
18:27 Xliff OK. Gisting.
18:28 lizmat hmmm..  I guess they need to be all of the same type, because the Enum type is a parent ?
18:29 AlexDaniel right, it depends on the first one
18:29 AlexDaniel :O
18:29 AlexDaniel what kind of an enumeration is it if you can create it with Strs /o\
18:30 AlexDaniel m: enum Animal (Cat => NaN, ‘Dog’, ‘Monkey’); .value.say for Animal::.values
18:30 camelia rakudo-moar fb3819: OUTPUT«NaN␤NaN␤NaN␤»
18:30 AlexDaniel /o\
18:33 ugexe tbrowder: you don't have to install zef, so just use it like you would when its not installed (like when you install zef itself) https://github.com/ugexe/Perl6-Distribution--Common--Remote/blob/master/.travis.yml#L33
18:33 yoleaux 12:24Z <kalkin-_> ugexe: it would be nice if zef GitFetch would check %*ENV<GIT_ALLOW_PROTOCOL> for allowed protocols (this allows the usage of git-remote-helpers) and fallback to ( http | ssh) if  no allowed protocol is set
18:34 ugexe kalkin-_: you can set the protocol to use in resources/config.json under the git fetcher as option "scheme"
18:35 Xliff https://gist.github.com/Xliff/bbe5b1d12a6926f815a0b2bb8bfed2c1
18:36 ugexe also use the meta6 field 'auth' to set your auth. The fact 'author' and 'authority' are fallbacks to auth is something that will probably be removed at one point
18:36 Xliff AlexDaniel: aaaieee!
18:37 pmurias joined #perl6
18:37 AlexDaniel Xliff: okay, that makes sense
18:38 tbrowder ugexe: is that the default travis file and we only have to override as necessary?
18:38 AlexDaniel basically you were trying to create an enum with more than one type…
18:38 AlexDaniel and 1000 is an Int, while 1e12 is a Num
18:38 AlexDaniel so that's why it complains, alright
18:39 AlexDaniel Xliff: so why are you using enums for this?
18:39 AlexDaniel don't you just want constants?
18:39 AlexDaniel and why are you using Nums when Rats are probably less surprising?
18:47 samcv Morning Perl 6 o/
18:48 tbrowder ugexe: i'm a dummy here: do you mean that travis is now set up so line 33 is the only thing i need in my "install" section of the travis file?  i've been away a lot--which of my questions are you answering?
18:50 gfldex m: enum Foo (A => 1/2, B, C); dd Foo;
18:50 camelia rakudo-moar fb3819: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared names:␤    B used at line 1␤    C used at line 1␤␤»
18:50 labster joined #perl6
18:50 gfldex m: enum Foo (A => 1/2, "B", "C"); dd Foo::.values;
18:50 camelia rakudo-moar fb3819: OUTPUT«(Foo::B, Foo::A, Foo::C).Seq␤»
18:51 gfldex m: enum Foo (A => 1/2, "B", "C"); say Foo::.values;
18:51 camelia rakudo-moar 7a642f: OUTPUT«(B A C)␤»
18:51 gfldex m: enum Foo (A => 1/2, "B", "C"); put Foo::.values;
18:51 camelia rakudo-moar 7a642f: OUTPUT«B A C␤»
18:51 gfldex m: enum Foo (A => 1/2, "B", "C"); Foo::.values».WHAT.say;
18:51 camelia rakudo-moar 7a642f: OUTPUT«(Seq)␤»
18:52 pierre_ joined #perl6
18:52 gfldex m: enum Foo (A => 1/2, "B", "C"); put A.value;
18:52 camelia rakudo-moar 7a642f: OUTPUT«0.5␤»
18:52 gfldex m: enum Foo (A => 1/2, "B", "C"); put A.value.^name;
18:52 camelia rakudo-moar 7a642f: OUTPUT«Rat␤»
18:53 gfldex Rat seams to work too
18:53 Xliff AlexDaniel: I may end up using Rats, then.
18:54 Xliff Ihave a plan, it's a little difficult to explain.
18:54 AlexDaniel by why enums? Whyyyy :)
18:54 Xliff Constants won't work because I won't know the names ahead of time.
18:54 dalek doc: 9dae3c7 | gfldex++ | doc/Language/typesystem.pod6:
18:54 dalek doc: name value enum key types
18:54 dalek doc: review: https://github.com/perl6/doc/commit/9dae3c76f5
18:54 synopsebot6 Link: http://doc.perl6.org/language/typesystem
18:54 Xliff For orders of magnitude, I can do what I did and can write things like; "k * k" and have it make sense.
18:55 Xliff I guess I could have used constants for orders of magnitude.
18:55 Xliff But my sense of
18:55 AlexDaniel gfldex: but these are not keys?
18:55 Xliff Er... scratch that last bit.
18:55 AlexDaniel m: enum Animal (Cat => 1e-9, ‘Dog’, ‘Monkey’); dd Animal::.keys
18:55 camelia rakudo-moar 7a642f: OUTPUT«("Dog", "Cat", "Monkey").Seq␤»
18:55 Xliff At any rate, it is working now.
18:55 AlexDaniel m: enum Animal (Cat => 1e-9, ‘Dog’, ‘Monkey’); dd Animal::.values
18:55 camelia rakudo-moar 7a642f: OUTPUT«(Animal::Dog, Animal::Cat, Animal::Monkey).Seq␤»
18:55 AlexDaniel m: enum Animal (Cat => 1e-9, ‘Dog’, ‘Monkey’); dd Animal::.values».value
18:55 camelia rakudo-moar 7a642f: OUTPUT«(1.000000001e0, 1e-09, 2.000000001e0)␤»
18:56 gfldex there are actually enum key values
18:57 gfldex I do agree the wording isn't brilliant but enums are not just enumerations like in C
18:59 ufobat joined #perl6
19:00 labster m: :16(*).say for <31 68 b3>;
19:00 camelia rakudo-moar 7a642f: OUTPUT«This call only converts base-16 strings to numbers; value * is of type Whatever, so cannot be converted!␤  in block <unit> at <tmp> line 1␤␤»
19:00 lucasb joined #perl6
19:01 _28_ria joined #perl6
19:03 AlexDaniel m: .parse-base(16).say for <31 68 b3>
19:03 camelia rakudo-moar 7a642f: OUTPUT«49␤104␤179␤»
19:04 AlexDaniel or
19:04 AlexDaniel m: :16($_).say for <31 68 b3>
19:04 camelia rakudo-moar 7a642f: OUTPUT«49␤104␤179␤»
19:04 pyrimidine joined #perl6
19:06 lucasb I noticed this section in NQP code: https://github.com/perl6/nqp/blob/master/src/HLL/Actions.nqp#L117-L120
19:06 lucasb is it correct to say that for every integer parsed, method string_to_int is getting called?
19:07 lucasb I also noticed these tokens: https://github.com/perl6/nqp/blob/master/src/HLL/Grammar.nqp#L94-L104
19:07 lucasb tokens decint and hexint are exact matches
19:08 lucasb the only need I see for string_to_int is to validate the tokens octint and binint
19:08 lucasb but then, the tokens octint and binint could be rewritten using a narrow range of values
19:09 lucasb token octint { [<[ 0 .. 7 ]>+]+ % '_' }    # <--- idk, maybe something like this
19:10 itcharlie_linux joined #perl6
19:11 AlexDaniel lucasb: what about unicode digits?
19:11 lucasb AlexDaniel: ahh, \d matche unicode also, right? :)
19:11 ufobat BTW this bug seems to be fixed: https://rt.perl.org/Public/Bug/Display.html?id=127869 you might want to close it
19:12 labster Right AlexDaniel, but I just don't know why the Whatever do its normal thing.  Maybe something with the way the language is parsed.
19:13 AlexDaniel lucasb: right
19:13 lucasb labster: you wanted ':16(*).say' to create a block?
19:13 AlexDaniel m: say 0o22
19:13 camelia rakudo-moar 7a642f: OUTPUT«18␤»
19:13 labster yup.
19:14 lucasb but... func(*) doens't create blocks :)
19:14 ugexe tbrowder: its the travis file for Distribution::Common::Remote as the url implies
19:14 xinming joined #perl6
19:14 lucasb the boundary is a single expression, I think
19:14 ugexe that travis file clones zef and runs the bin/zef script directly to install the dependencies for distribution::common::remote. no installing zef
19:16 ufobat bisectable6 help
19:16 pyrimidine joined #perl6
19:16 AlexDaniel bisectable6: help
19:16 bisectable6 AlexDaniel, Like this: bisectable6: old=2015.12 new=HEAD exit 1 if (^∞).grep({ last })[5] // 0 == 4 # RT128181
19:16 synopsebot6 Link:  https://rt.perl.org/rt3//Public/Bug/Display.html?id=128181
19:16 ufobat ty!
19:16 ufobat bisectable6: old=2016.01 new=HEAD sub match ($str, $flip) { return False if $flip eq "no"; return $str ~~ rx/foo/;}; for 0..104 { for "no", "yes" -> $flip { if my $match = match("something",$flip) { die "What?!" unless $match } }}
19:17 bisectable6 ufobat, Bisecting by exit code (old=2016.01 new=7a642f8). Old exit code: 1
19:17 bisectable6 ufobat, bisect log: https://gist.github.com/173bedafc09c58458e9224f3483c96ff
19:17 rindolf joined #perl6
19:17 bisectable6 ufobat, (2016-08-19) https://github.com/rakudo/rakudo/commit/25e9fd76e85fabda20e263b6f87e27b0673f26e2
19:17 labster lucasb: riiiiight.  It's not like I've been using this langauge for 6 years.  geez.
19:18 labster Perl 6, where all of the rules (and we do mean "all") are consistent (except where we tell you they're not).
19:18 ufobat is there a way to figure out the change in moarvm that fixed that issue with a bot?
19:19 jdv79 is it possible that Inline::Perl5 doesn't like to hand back big data?
19:19 timotimo ufobat: hopefully we'd get a test to check if that regresses
19:20 AlexDaniel m: say ‘256890’ ~~ / [ (\d) <?{ $0[*-1].Str.uniprop(‘Numeric_Value’) < 8 }> ]+ /
19:20 camelia rakudo-moar 7a642f: OUTPUT«「256」␤ 0 => 「2」␤ 0 => 「5」␤ 0 => 「6」␤»
19:20 AlexDaniel lucasb: you can still parse exactly what you want, I guess
19:20 jdv79 a simple HTTP::Tiny.new.get("https://www.youtube.com") stalls out
19:20 AlexDaniel ufobat: unfortunately no, not yet
19:24 kalkin-_ ugexe: Thanks!
19:24 jdv79 wow, that's pretty crazy
19:24 jdv79 the get call takes a minute and then to say %resp<content> takes another 2 mins
19:25 jdv79 tons of brk and mremap calls
19:25 jdv79 nine: is this a known issue?
19:33 tbrowder ugexe: sorry, i didn't get the context--i'm fiddling with fixing my own module's travis file...
19:34 cooper_ joined #perl6
19:35 jdv79 hmm, its creating a Buf for the content...
19:36 TEttinger joined #perl6
19:41 mst joined #perl6
19:42 pyrimidine joined #perl6
19:43 gfldex Oracle is kindly sending users our way: http://www.theregister.co.uk/2016/12/16/oracle_targets_java_users_non_compliance
19:46 domidumont joined #perl6
19:46 dalek evalbot: 166c04a | moritz++ | stdin:
19:46 dalek evalbot: New stdin
19:46 dalek evalbot:
19:46 dalek evalbot: https://de.wikisource.org/wiki/Die_Br%C3%BCck%E2%80%99_am_Tay
19:46 dalek evalbot: review: https://github.com/perl6/evalbot/commit/166c04aca9
19:46 samcv anybody found using Perl 6 without a Fun™ Pass will be given a stern talking to
19:46 samcv luckily this fun pass is included with Perl 6
19:48 samcv shame on oracle tho
19:50 CIAvash[m] labster: I think that's because you can pass them to functions. look at the example here: https://docs.perl6.org/type/WhateverCode
19:51 toolforger joined #perl6
19:51 labster Is that a Whatever or a WhateverCode?
19:51 CIAvash[m] in the example both are used
19:52 jdv79 oh.  cute.  if a string isn't utf8 it gets copied in a loop to a buf
19:55 labster That passes the Whatever to the function, I don't think it creates a block containing the outer function.
19:56 pyrimidine joined #perl6
19:59 toolforger I'm trying to figure out how to best call into NQPP6QRegex.jar
19:59 CIAvash[m] Yes, I'm saying that's why function(*) doesn't create a block, it passes the Whatever
19:59 Xliff How is Oracle relevant to rakudo?
19:59 Xliff The JS backend?
20:00 toolforger Is org.perl6.nqp.tools.EvalServer a good start for that?
20:00 gfldex it targets jvm
20:00 Xliff Oh, right!
20:00 Xliff :(
20:00 Xliff Really? Their biggest target is Google.
20:00 Xliff Coz... Android.
20:00 Xliff Everything else is icing.
20:01 Xliff Oracle sounds desperate with that.
20:01 AlexDaniel eval: say slurp ~~ /\d/
20:01 evalable6 AlexDaniel, Full output: https://gist.github.com/a8cd82d6128e538b206a1e2ac36144cb
20:01 evalable6 AlexDaniel, rakudo-moar 7a642f8: OUTPUT«(exit code 1) ===SORRY!=== Error while compiling /tmp/GeS3gv4Bp3␤Expected a …»
20:01 AlexDaniel eval: say slurp() ~~ /\d/
20:01 evalable6 AlexDaniel, rakudo-moar 7a642f8: OUTPUT«Nil»
20:01 AlexDaniel eval: say slurp() ~~ /\w/
20:01 evalable6 AlexDaniel, rakudo-moar 7a642f8: OUTPUT«Nil»
20:02 AlexDaniel meh, I should probably add some numbers and letters…
20:05 cdg joined #perl6
20:13 dalek doc: 53fbc15 | samcv++ | doc/Language/regexes.pod6:
20:13 dalek doc: Add some more X< > for the regex section
20:13 dalek doc:
20:13 dalek doc: Mention <|w> can be used instead of \b
20:13 dalek doc: Add mention \b as depreciated so people used to other languages
20:13 synopsebot6 Link: http://doc.perl6.org/language/regexes
20:13 dalek joined #perl6
20:14 AlexDaniel lucasb: perhaps “all” is the shortcut you were looking for
20:14 AlexDaniel committable6: all sub match ($str, $flip) { return False if $flip eq "no"; return $str ~~ rx/foo/;}; for 0..104 { for "no", "yes" -> $flip { if my $match = match("something",$flip) { die "What?!" unless $match } }}
20:15 AlexDaniel there's also 6c if you don't want to see these old results
20:15 committable6 AlexDaniel, https://gist.github.com/118f4f53d2a0e21e9bae9254cb4a77ae
20:20 pyrimidine joined #perl6
20:28 lucasb AlexDaniel: thanks. I'll try those next time
20:32 pyrimidine joined #perl6
20:36 pierre_ joined #perl6
20:40 itcharlie_linux left #perl6
20:41 hankache joined #perl6
20:42 dalek doc: d70547c | samcv++ | doc/Language/regexes.pod6:
20:42 dalek doc: Add some code formatting to the section titles for regex
20:42 dalek doc: review: https://github.com/perl6/doc/commit/d70547cb3e
20:42 synopsebot6 Link: http://doc.perl6.org/language/regexes
20:42 samcv i hope this works: X<Alternation: C<V«||»>|regex,||>
20:45 moritz what's that V«...» for?
20:45 samcv we can't use || inside of it right
20:45 timotimo verbatim, no?
20:45 samcv yeah it's verbatim
20:45 samcv i was trying to make sure it wasn't incorrectly thought to be the seperator
20:45 pyrimidine joined #perl6
20:46 timotimo right, it likely would. i wonder if we have backslashes working in any place there
20:46 samcv i didn't see anything in S26 but i may have missed it
20:46 samcv well backslash isn't anywhere in the document..
20:46 samcv well other than places which have code examples
20:47 timotimo mhm
20:52 toolforger Sounds like it would be a good idea to annotate example code in docs, and have a unit test that runs that example code
20:53 gfldex toolforger: we got that already
20:53 toolforger :-)
20:53 gfldex it's just not automated yet
20:54 RabidGravy that's the groovy thing about the way pod works
20:57 * toolforger knows the "not done yet" situation
20:57 RabidGravy I ought to finish Test::Synopsis
20:58 gfldex toolforger: if you want to help here is how: https://github.com/perl6/doc/blob/master/CONTRIBUTING.md#testing-examples
20:58 toolforger I'm on another voyage right now
20:59 samcv :( https://docs.perl6.org/language/regexes.html#Alternation:_V«||»
20:59 toolforger Trying to make the regex engine available from Java
20:59 samcv oh
20:59 samcv i think i know why
21:00 dalek doc: 6259779 | samcv++ | doc/Language/regexes.pod6:
21:00 synopsebot6 Link: http://doc.perl6.org/language/regexes
21:00 dalek doc: Fix V< > showing up in heading for regex
21:00 dalek doc: review: https://github.com/perl6/doc/commit/6259779d6c
21:00 samcv cause it's already in a code block
21:08 revere joined #perl6
21:09 pyrimidine joined #perl6
21:09 revere joined #perl6
21:18 trnh joined #perl6
21:21 pyrimidine joined #perl6
21:30 cdg joined #perl6
21:34 moritz so, I'm experimenting with killing a Proc::Async
21:35 moritz it works fine when the program I'm running is /bin/sleep
21:35 moritz but, if it's a bash script that runs /bin/sleep, the kill seems to have no effect
21:36 moritz does a non-interactive shell trap signals by default?
21:39 moritz and in my minimal example, a $proc.kill(9) helps
21:39 moritz in the large scenario, not
21:39 toolforger What process did the signal go to - the shell or the sleep?
21:40 pyrimidine joined #perl6
21:40 moritz the shell
21:41 toolforger http://unix.stackexchange.com/questions/146756/forward-sigterm-to-child-in-bash says "Normally, bash will ignore any signals while a child process is executing"
21:42 moritz but a bash can't ignore a SIGKILL
21:42 moritz because it never receives it
21:42 toolforger yup
21:43 toolforger You can probably kill the wait by sending SIGKILL to the /bin/sleep
21:44 toolforger The stackoverflow answer does not say anything about differences between interactive and noninteractive
21:44 toolforger So I suspect you can't kill a sleep by killing its shell even if the shell is interactive
21:44 * toolforger hasn't tested that
21:45 moritz ok, then I won't use bash scripts to test that
21:45 RabidGravy sl
21:46 moritz just /bin/sleep or p6 scripts
21:46 toolforger It might work if the shell uses exec
21:46 toolforger direct call is always better, no "funny" shell behaviour that can interfere with the test I'd say
21:47 RabidGravy I haven't looked at the implementation of sleep but I could imagine that it could do  alarm and select in such a way that it could be weird with other signals
21:51 pyrimidine joined #perl6
21:53 geekosaur it's not very smart about signals. traditionally it was alarm() and pause() and didn;t even check what woke it. modern versions still take the first thing that woke them but produce stderr messages & exit code appropriately
21:55 bjz joined #perl6
21:56 toolforger Seems a bit too varied to be a good probe
21:56 AlexDaniel moritz: if I recall correctly, for that you'd have to kill the whole process tree. In most cases, I guess, killing a process group should work (in perl 5 that can be done by negating a signal), but I see no such thing in perl 6
21:57 AlexDaniel moritz: what if you try SIGHUP instead of SIGKILL?
21:57 espadrine joined #perl6
21:58 AlexDaniel moritz: if I'm not mistaken, sighup worked significantly better for whateverables for exactly this reason
21:58 AlexDaniel (… which is why we're still using it)
22:00 geekosaur fwiw Haskell's process API has an option to place the child in a process group and send signals etc. to that
22:00 geekosaur (with the obligatory Windows support note since Windows has a vaguely similar concept with somewhat different behavior, IIRC)
22:00 pyrimidine joined #perl6
22:02 AlexDaniel “The shell exits by default upon receipt of a SIGHUP. Before exiting, an interactive shell resends the SIGHUP to all jobs, running or stopped”
22:02 AlexDaniel so if you want to stop 「sleep」 which was started from bash, I guess that's the easiest way…
22:03 AlexDaniel perhaps not the most reliable one, but…
22:03 toolforger BTW I just found out that shells ignore SIGTERM if interactive
22:04 toolforger the explanation was that you can do "kill 0" to kill all processes that you own - except processes that ignore it, so the interactive shells surv
22:04 toolforger /s/surv/survives/
22:05 AlexDaniel cool
22:08 bjz joined #perl6
22:09 skids joined #perl6
22:11 toolforger left #perl6
22:15 dalek doc: 92f3c08 | samcv++ | doc/Language/regexes.pod6:
22:15 synopsebot6 Link: http://doc.perl6.org/language/regexes
22:15 dalek doc: Regex: add \b to search, as regex depreciated → <|w>
22:15 dalek doc:
22:15 dalek doc: Will allow users of other languages to look it up by searching
22:15 dalek doc: for this.
22:15 dalek doc: review: https://github.com/perl6/doc/commit/92f3c08f8b
22:18 TEttinger depreciated? lost value as an asset?
22:19 TEttinger (really easy typo)
22:20 pyrimidine joined #perl6
22:24 dataf3l joined #perl6
22:26 dalek doc: 58c17eb | samcv++ | doc/Language/regexes.pod6:
22:26 dalek doc: Give word boundaries their own section
22:26 dalek doc:
22:26 dalek doc: Add \B to the index so people can know to use <!|wb>.
22:26 dalek doc: Change the predefined subrules to use <|wb> because <wb> is not
22:26 synopsebot6 Link: http://doc.perl6.org/language/regexes
22:26 dalek doc: a zero width assertion.
22:26 dalek doc: review: https://github.com/perl6/doc/commit/58c17ebd50
22:26 samcv did i make a typo TEttinger ?
22:27 timotimo just in the commit message i think
22:27 samcv oh
22:27 samcv oh yes i did :)
22:29 dalek doc: fae109f | samcv++ | doc/Language/regexes.pod6:
22:29 dalek doc: Put the two word boundary sections in the proper order
22:29 dalek doc: review: https://github.com/perl6/doc/commit/fae109f6b1
22:29 synopsebot6 Link: http://doc.perl6.org/language/regexes
22:30 pyrimidine joined #perl6
22:34 dalek doc: b5cf588 | samcv++ | doc/Type/Cool.pod6:
22:34 dalek doc: Add some missing semicolons to unimatch section
22:34 dalek doc: review: https://github.com/perl6/doc/commit/b5cf58858e
22:34 synopsebot6 Link: http://doc.perl6.org/type/Cool
22:43 pierre_ joined #perl6
22:46 dalek doc: 4b83bff | coke++ | doc/Language/regexes.pod6:
22:46 dalek doc: Fix typo
22:46 synopsebot6 Link: http://doc.perl6.org/language/regexes
22:46 dalek doc: review: https://github.com/perl6/doc/commit/4b83bff431
22:48 pyrimidine joined #perl6
22:50 pyrimidi_ joined #perl6
22:56 bjz joined #perl6
22:57 SmokeMachine I run a code that is getting segfault sometimes with gdb and a moar compiled with --debug=3 and got this: https://gist.github.com/FCO/bb1bb1c0285fcfa12d8f2d8789beb21f anyone have any idea of whats the problem? for me it looks related to the garbage collector (Im guessing by the function's name gc_mark)
23:03 SmokeMachine Program received signal SIGSEGV, Segmentation fault.
23:03 SmokeMachine 0x00007ffff7912fb7 in gc_mark (tc=0x6027c0, st=<optimized out>, data=<optimized out>, worklist=0x4ab9050) at src/6model/reprs/MVMCallCapture.c:55
23:03 SmokeMachine 55src/6model/reprs/MVMCallCapture.c: No such file or directory.
23:03 SmokeMachine does anyone know what file is this?
23:03 SmokeMachine (or should be?)
23:03 sena_kun SmokeMachine, you probably want to file an issue on MoarVM repo.
23:04 SmokeMachine sena_kun: I'll... but I am trying to reduce my code before it...
23:08 sena_kun SmokeMachine, or bring this up when it will be more noisy here. The answer activity somewhat depends on Europe night time, I suppose.
23:08 SmokeMachine sena_kun: makes sense... thanks!
23:09 pyrimidine joined #perl6
23:09 SmokeMachine sena_kun: is there a moravam channel?
23:10 geekosaur #moarvm
23:10 SmokeMachine sena_kun: I found it!
23:10 SmokeMachine geekosaur: thanks!
23:13 sena_kun it's time to sleep here too... good night, #perl6.
23:22 pyrimidine joined #perl6
23:32 khw joined #perl6
23:33 samcv hmm i wonder how much faster building the docs might be if we used highlights and the atom/github grammar instead of pygmentize… i know github changed because of performance reasons
23:33 samcv https://github.com/atom/highlights
23:43 BenGoldberg joined #perl6
23:47 pyrimidine joined #perl6
23:50 d4l3k_ joined #perl6
23:59 pyrimidine joined #perl6

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

Perl 6 | Reference Documentation | Rakudo