»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
jnthn Hurrah 00:00
thou tbrowder, llfourn: I've re-merged the Untwine Pod commit and made a new pull request: github.com/rakudo/rakudo/pull/1300
jnthn And just in time :)
thou tbrowder, llfourn: I've verified that spec tests pass (modulo the changes needed to remove the unwanted "" contents). 00:02
I guess it would be cleaner for llfourn to update their branch, so they get credit for the work. But if they're not available I'd like to move it forward if it gets positive reviews. 00:04
jnthn Zoffix++ # highlighting tool to make posts look pretty :) 00:06
tbrowder thou: great! i’ll try it out when i get a chance—still working other pod bugs 00:24
timotimo tbrowder: you may be interested to know that "say" in nqp is actually not only the opcode but also a subroutine built-in to nqp (via its own setting) 01:24
nqp-m: say(&say.HOW.name(&say)) 01:25
camelia BOOTCode
timotimo well, that's not terribly enlightening, because BOOTCode is not what you'd find as the type of subroutines in rakudo land
tbrowder timotimo: yes, i’ve used it bare (also print) but i haven’t seen it documented as a built-in and wasn’t sure it was always safe to use. 01:28
timotimo hah, you're right. there is places where it's not actually safe to use say, i stumbled upon that when i did some frighteningly internalsy hacking on nqp itself at one point 01:29
or maybe what i'm thinking of was the bug with the grammar tracer module? 01:30
adu hi 01:34
tbrowder any hoo, it’s quite the adventure! 01:43
timotimo quite true
tbrowder adu: hi
adu tbrowder: how goes?
adu I recently successfully installed Redox 01:44
tbrowder counting down til christmas, lots of christmas cards to get out
what is Redox?
adu en.wikipedia.org/wiki/Redox_(operating_system) 01:45
Do you think anyone will ever write an OS in Perl6? 01:47
tbrowder probably, just for the challenge if nothing else! 01:52
adu I could see maybe writing it in nqp 01:54
hankache hello #perl6 09:02
perlawhirl Zoffix: (and everyone else) fenced code blocks on github hilight properly if you use 'perl 6' instead of 'perl6'. i guess they never got around to making both work 10:22
.tell Zoffix fenced code blocks on github hilight properly if you use 'perl 6' instead of 'perl6' 10:23
yoleaux perlawhirl: I'll pass your message to Zoffix.
lancew Hi all, just looking for namespace advice for a module I have written. I was thinking of breaking this github.com/lancew/MyJudo/blob/mast...b/Judo.pm6 out of the application and making it a Module and extending it a bit. But had two questions, A) Would it just be "noise" as not sure how many people would ever use it. and B) If (and I do mean if) I submitted it for modules.perl6.org what namespace would you put it in? 11:37
timotimo well, we do have the App:: namespace that's probably for that kind of thing? 11:42
teatime hi lancew, thanks for thinking about contributing the the perl6 ecosystem :) 11:43
lancew The P5 equivalent is metacpan.org/pod/Acme::MetaSyntactic::kodokan I guess (which to be fair I could just use right. :-)
teatime lancew: what is this data / perhaps some English comments? 11:44
timotimo FWIW, even if you have the same name as someone else's module, you can still just :auth<cpan:LANCEW> or :auth<github:lancew> or whatever to get the right one
lancew timotimo, not sure the Judo.pm6 is an "app"? It's a component I use in the app.
lancew goes off to explore the app namespace 11:45
timotimo it can live under App::MyJudo::Judo or something
teatime ah, so App:: is a convenient/welcoming place to claim a private namespace? 11:46
and collisions aren't a big deal
lancew Oh I see. Yeah that makes more sense to me. :-)
st_iron good morning my friends 12:14
moritz \o 12:20
Zoffix . 15:47
yoleaux 10:23Z <perlawhirl> Zoffix: fenced code blocks on github hilight properly if you use 'perl 6' instead of 'perl6'
Zoffix perlawhirl: they don't. They get highlighted as Perl 5 code if you do that. 15:48
perlawhirl: compare the md.md file highlight with p5.pl and p6.p6 highlights: gist.github.com/zoffixznet/2faa177...7d6f1f8294 15:51
It's supposed to be like p6.p6 highlight, but they broke it.
thou \o 15:56
AlexDaniel I've always thought that ```perl6 works just fine 16:09
hm, it no longer does :o 16:10
dmaestro I've been having trouble with a number of corners of Rakudo* 2017.10 :-( 16:12
The last few previous star releases have "just worked" ...
Here's the latest, trying to install on linux. The following test fails (t/02-rakudo/repl.t): 16:14
# uint8 lexical type encountered while building context iterator 16:15
dmaestro not ok 33 - Using native numeric types does not break REPL # TODO RT#127933 16:16
synopsebot RT#127933 [open]: rt.perl.org/Ticket/Display.html?id=127933 [REPL] int# bug
dmaestro Ooops - I see it's TODO and it passed the individual test - thought that was the one that broke 'make test' ?
looking again ... 16:17
Hmm ... transient failure I guess .... 16:19
Ulti has anyone used q:x with the time command? I've tried putting in my command a redirection of stderr to stdout around the time which works on the shell but q:x doesnt appear to capture the output 18:20
gist.github.com/MattOates/af2b0988...b5d56ae649 18:21
Ulti also this is the macOS time which doesn't have the -o option :( 18:24
geekosaur Ulti, beware that bash has a time builtin that overrides the executable... and you need to redirect the *shell's* stderr to capture its output 18:40
geekosaur actually I am not sure which one q:x will run there 18:43
it should be using /bin/sh but that might be a different bash build with different options 18:44
(on os x it almost certainly will be)
timotimo i don't think we have a way to capture the output of something run by the shell but not what the shell outputs 18:45
geekosaur actually I thinkt hat's not it because it worked from a command line apparentlu
although at worst 'exec 2>&1; ...' should handle it 18:46
DrForr o/ 19:15
mspo examples link isn't https 20:02
and why does this page exist with a link on the footer of perl6.org? (under STD.pm - official Perl6 grammar) 20:04
"viv ("vi" to "v", 6 to 5) is a compiler that uses STD as its front-end. STD itself uses viv to build. It is actively developed along with STD. " 20:05
" Note: STD and viv aren't actively developed any more "
Geth perl6.org: aeca866856 | (Moritz Lenz)++ | includes/footer
remove STD link from footer

it is not that relevante anymore
20:06
mspo 'Everything that can't be categorized otherwise fits into the "Whatever" slot, or as the Perl 6 hacker would write it, *.' 20:07
that * should be a link
on perl6.org/whatever/
did someone stard a lang server for perl6 yet?
DrForr What do you mean by 'language server'? 20:08
mspo langserver.org/ 20:09
isn't like a daemon a text editor can talk to to get access to the AST and stuff
vim (new versions), neovim, and vscode can all use it (at least)
DrForr I don't see Perl on the list, either 5 or 6, so I think your answer is 'no'. 20:10
Feel free to implement your own :) 20:11
Geth perl6.org: a6a5a11976 | (Moritz Lenz)++ | source/whatever/index.html
Linkify whatever star
mspo DrForr: it would be good to add to a to-do list 20:12
moritz mspo: to which/whose TODO list?
DrForr There's a "most wanted" file in the ecosystem, feel free to add it :)
mspo idk 20:13
moritz: thanks for taking my website suggestions
mspo github.com/perl6/ecosystem ? 20:17
I could be missing it; I haven't slept in five years :)
speaking of, time for coffee
DrForr I'm probably wrong. I know there's a most_wanted.txt file somewhere there.
Geth perl6.org: 392fea857b | (Moritz Lenz)++ | source/index.html
Use https:// URLs where possible/sensible
20:21
mspo anyway something to look at 20:29
I would say "yes I'd love to work on this" but I won't actually do it 20:30
even though: "yes I'd love to work on this"
mienaikage I've been trying this on 2017.11 but can't get my head around it. Anyone know why 1 smartmatch here is False? glot.io/snippets/ew9eb1idvx
mienaikage :m say .<stuff>.Bag ~~ .<stuff>.Bag given %(stuff => :1A,:2B,:3C,:4D) 20:43
Whoops 20:44
m: say .<stuff>.Bag ~~ .<stuff>.Bag given %(stuff => :1A,:2B,:3C,:4D)
camelia False
moritz m: say .<stuff>.Bag.perl given %(stuff => :1A,:2B,:3C,:4D 20:48
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in contextualizer; couldn't find final ')' (corresponding starter was at line 1)
at <tmp>:1
------> 3ag.perl given %(stuff => :1A,:2B,:3C,:4D7⏏5<EOL>
expecting…
moritz m: say .<stuff>.Bag.perl given %(stuff => :1A,:2B,:3C,:4D)
camelia ("A").Bag 20:48
moritz m: say ("A").Bag ~~ ("A").Bag
camelia True
moritz mienaikage: it's because ~~ sets $_ 20:49
mienaikage Ah 20:50
Now I get it, thanks
moritz mienaikage: so .<stuff>.Bag is like origina_$_.<stuff>.Bag.<stuff>.Bag
mienaikage Time to reread 'Traps to avoid' 20:56