»ö« 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.
Geth rakudo.org: ba9f762ba5 | (Zoffix Znet)++ | 22 files
Add stubs of all pages / Restyle
01:20
Zoffix I wonder, what'd be involved in making El_Che's packages "official"? 01:33
OTOH, I guess that won't help the fact that Rakudo Star ain't got no deb 01:34
This'd be my ideal download page: i.imgur.com/U7WbtYt.png 01:35
(well, with "other options" link below it)
i.imgur.com/cUnUNbW.png 01:39
JS-detected best option. No wall of text. 01:40
Geth rakudo.org: 46d93f039a | (Zoffix Znet)++ | assets/sass/main.scss
Add helper for writing "Perl 6"

The actual NBSP is 150% the width the regular space on my box and looks gross.
02:19
Geth rakudo.org: e9059b9921 | (Zoffix Znet)++ | 3 files
More nbsp changes
03:17
rakudo.org: 9a4423bd36 | (Zoffix Znet)++ | assets/sass/main.scss
Link/footer style tweaks
rakudo.org: a1df4d4e18 | (Zoffix Znet)++ | 2 files
Add documentation page
03:18
Geth rakudo.org: 90affee141 | (Zoffix Znet)++ | 6 files
Implement platform detection

To offer platform-specific download links.
03:52
Geth perl6.org: eb6ec02745 | (Zoffix Znet)++ | 2 files
Fix navbar alignment
05:00
Geth rakudo.org: 35d31a40b8 | (Zoffix Znet)++ | 2 files
Implement "Reporting Bugs" page
05:51
Geth perl6.org: c4fd88fb98 | (Zoffix Znet)++ (committed using GitHub Web editor) | source/community/index.html
Anchor "Getting Involved" section for links
06:03
perl6.org: da43f15cbd | (Zoffix Znet)++ (committed using GitHub Web editor) | source/community/irc.html
Update info on Geth/dalek
06:07
Meows We need to setup one of those messages that get printed when users join the channel. Something like "Type your question and if anyone's around, they'll answer". We link to webchat ( docs.perl6.org/webchat.html ) from a ton of places, but if you've never used IRC, it's not clear when you can start talking (you get the server's Welcome message first and then nearly-empty channel page opens). 06:35
Geth rakudo.org: a56cd9e64c | (Zoffix Znet)++ | templates/people.html.ep
Implement "People" page
06:43
rakudo.org: 9259ce2dad | (Zoffix Znet)++ | 3 files
Restyle primary button on pages
06:46
rakudo.org: e0f4a3b981 | (Zoffix Znet)++ | 2 files
Consistify titles styles
06:49
Zoffix .tell stmuk_the very bottom of this page rakudo.org/downloads/star/ has org.perl6.rakudo-star.2017.10-x86_64.AppImage file. Is that meant to be there or should it be deleted? 06:55
yoleaux Zoffix: I'll pass your message to stmuk_the.
Zoffix stupid robot
.tell stmuk_ the very bottom of this page rakudo.org/downloads/star/ has org.perl6.rakudo-star.2017.10-x86_64.AppImage file. Is that meant to be there or should it be deleted?
yoleaux Zoffix: I'll pass your message to stmuk_.
Geth rakudo.org: cc1dbf1d76 | (Zoffix Znet)++ | 5 files
Style tweaks on homepage
07:33
stmuk_ Zoffix: why would it not want to be there? 08:30
yoleaux 06:55Z <Zoffix> stmuk_: the very bottom of this page rakudo.org/downloads/star/ has org.perl6.rakudo-star.2017.10-x86_64.AppImage file. Is that meant to be there or should it be deleted?
stmuk_ Zoffix: which reminds me that page shouldn't show preChristmas releases 08:33
stmuk_ originally they had been moved into an "archive" sub-directory 08:34
stmuk_ I guess its probably not worth fixing anyway if you are moving rakudo.org 08:36
maybe just use rakudo.perl6.org/downloads/star/
one download place is easier and less error prone
Zoffix stmuk_: because it has a weird filename that doesn't follow any of the other filenames 09:08
stmuk_ its an appimage 09:09
I was hoping to prompt it more and get feedback but ran out of tuits
^ promote 09:10
you can basically execute perl6 REPL but the whole appimage thing didn't seem to fit well with a programming language using modules and scripts
stmuk_ appimage-type systems seem targeted at bundling simple apps rather than SDK (with p6doc, module use etc) 09:11
stmuk_ anyway the only reason that page exists was as a legacy http version of rakudo.perl6.org/downloads/star/ 09:12
maybe it should just redirect there 09:13
Geth perl6.org: b4f5a5e44f | (Steve Mynott)++ | source/downloads/index.html
big endian errata
09:40
Geth doc: 5955b95c41 | (JJ Merelo)++ | doc/Type/Rational.pod6
Documenting NuT and DeT

Which are actually placeholders more than real "things", but anyway worth a small explanation and example. Closes #176
09:54
synopsebot Link: doc.perl6.org/type/Rational
stmuk_ hmmm you can execute a shell inside a flatpak .. maybe that would work 09:57
nine is wondering who he may meet at the upcoming GPW (and hackathon) 10:19
yoleaux 4 Mar 2018 17:13Z <AlexDaniel> nine: plz github.com/niner/Inline-Perl5/issues/107 :)
lichtkind can someone please me with zef i cant get anything installed due: No such method 'IO' for invocant of type 'Any' 11:08
no matter what i want to install
El_Che please you with zef? :) 11:12
github.com/ugexe/zef/issues/175
If I read it right you may have to bump your rakudo version 11:13
El_Che bbl
lichtkind El_Che, thanks but i pulled from git yesterday but i wondered why i still ahve 2017 version instead of that 11:20
was there branch change?
lichtkind i found it strange even pulled now i get 2017.10 11:20
MasterDuke lichtkind: around then is when rakudo switched from nom to master as the default branch 11:31
lichtkind thanks 11:36
bbkr r: sub foo { return { 1=>2 }, 3 }; my (%h, $s) = foo(); # what happens here? why returned list causes hash to be flattened? 11:51
camelia Odd number of elements found where hash initializer expected:
Found 3 (implicit) elements:
Last element seen: 3
in block <unit> at <tmp> line 1
Odd number of elements found where hash initializer expected:
Found 3 (implicit) elements:
Last element seen: 3
in block <unit> at <tmp> line 1
jnthn bbkr: A hash or array in a list assignment will swallow up everything. Use destructuring instead 12:21
r: sub foo { return { 1=>2 }, 3 }; my (%h, $s) =: foo();
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed initializer
at <tmp>:1
------> 3o { return { 1=>2 }, 3 }; my (%h, $s) =:7⏏5 foo();
expecting any of:
colon pair
5===SORRY!5=== Error while compiling <tmp>
Malformed initializer
at <tmp>:1
------> 3o { return { 1=>2 }, 3 }; my (%h, $s) =:7⏏5 foo();
expecting any of:
colon pair
jnthn r: sub foo { return { 1=>2 }, 3 }; my (%h, $s) := foo(); dd %h; dd $s
camelia Hash % = {"1" => 2}
3
jnthn nine: I'll be at GPW on Thu/Fri and most of the Sat hackathon 12:23
nine jnthn: that....sounds like a good reason to go to Köln even if there's the toolchain summit just 2 weeks after :) 12:27
jnthn is going for a week's vacation after GPW 12:29
Thought my vacation conflicted with GPW, then realized GPW is immediately before it, and so I could tack it on nicely to the start of the trip :) 12:30
jnthn Note it's...not exactly in Köln :) 12:32
Though at least coming from Prague it's on my side of Köln :) 12:33
bartolin plans to go to the GPW, too.
nine Oh boy, that's really not that easy to reach 12:36
jnthn Sure doesn't help that there's a replacement bus service for the train that weekend, depending on which direction you're coming from 12:38
nine Looks like a ~9 hours trip is the best I could get 12:43
bbkr jnthn: thanks for destructuring tip 12:44
jnthn Yeah, feels about right
We're going to break the trip in Berlin for an evening
jnthn Gotta change there anyway, and the Hbf is a short walk from various interesting things to see 12:45
nine m: multi foo() { say "none" }; multi foo(|args) { say "many" }; foo(a => 1) 12:50
camelia Unexpected named argument 'a' passed
in sub foo at <tmp> line 1
in block <unit> at <tmp> line 1
nine jnthn: is this ^^^ to be expected? 12:51
timotimo yes, named parameters don't factor into multi-dispatch 12:52
jnthn Well, multi dispatch doesn't consider named parameters, though anything that requires one will be considered a bit narrower. But |args ain't requiring one
ArrayList<Perl6PsiElement> decls = new ArrayList<>();m: multi foo() { say "none" }; multi foo(:$a!) { say "many" }; foo(a => 1) 12:53
lol wat
m: multi foo() { say "none" }; multi foo(:$a!) { say "many" }; foo(a => 1)
camelia many
jnthn copy paste fail 12:54
nine So I'm gonna lose the huge speedups this gave me :/ github.com/niner/Inline-Perl5/comm...6682b7da8f
jnthn But you're adding methods there, which all have an implcit *%_
nine ...leading to github.com/niner/Inline-Perl5/issues/107 12:55
Zoffix++'s idea to use subs instead of methods runs into the multi dispatch issue then
nine I wonder if I could have the Capture candidate add new multi candidates for precisely the arity + named args given. 13:04
bbkr is there a way to make destructuring work with class attributes without intermediate values? Like so: sub foo { return %{ 1=>2 }, 3 }; class A { has %.h; has $.s; }; my $a = A.new; ($a.h, $a.s) := foo(); 13:33
Geth perl6.org: 6eb038ecd8 | (Steve Mynott)++ | source/downloads/others.html
Import new page doc'ing a list of packaged third party binary and source distributions
perl6.org: 0cf5b33d0a | (Steve Mynott)++ | source/downloads/index.html
link new download others page from main download
perl6.org: 6e924e855b | (Steve Mynott)++ | source/downloads/others.html
typos
stmuk_ odd most free UNIX clones seem to have a rakudo [star] port/package with the noteable exception of FreeBSD 13:46
xi- stmuk: it compiles great on freebsd, there's just no port for it 14:24
xi- but you can just download the tarball and compile it normally 14:24
stmuk yes I do that quite frequently :)
I think perl6.org page generation is "stuck" I'm not seeing changes from 5 hrs ago live 14:25
stmuk moritz: ^^^ 14:49
permission errors visible in www.p6c.org:/home/perl6.org/update.log looks like /home/perl6.org/perl6.org/source/ has some root owned files which should be owned by perl6.org user 15:07
lichtkind MasterDuke++ 15:11
kalkin- hi 15:14
lichtkind cheers kalkin
kalkin- My Testfile consists of multiple subtest each containing the lines: my $result = parse(ANOTHER_FIXTURE); skip-rest "Parsing-failed" unless $result; 15:19
I want to write a macro which I would insert this two lines of code
timotimo why not just loop over your fixtures? 15:20
kalkin- timotimo: after this two lines there're subtest specific tests 15:21
timotimo ah, that changes things
in that case i'd have a list of blocks that get called if the corresponding fixture test succeeded 15:22
my @fulltests = $fixture_one => -> $/ { is $<foo>, "hi", "some test }, $fixture_two => -> $/ { ... };
kalkin- timotimo: nice idea, but how do I inject the result of parse(ANOUTHER_FIXTURE) in to the block? 15:23
timotimo you just $the_block($/) 15:24
kalkin- ahh, ok. will try it, thanks
timotimo or $the_block($arse-result) or whatever you call it
hope it works out :)
mst timotimo: Error: undefined buttock at line 1 15:31
timotimo oh lord 15:33
jdv79 what even is that? 15:39
APic Lord?
jdv79 an undefined buttock 15:40
mst it's what happens when you forget to type smiley $arse-result
jdv79 lords are some english class thing 15:40
jdv79 oh. ok. 15:41
lichtkind cheers FROGGS 15:43
FROGGS hi lichtkind
lichtkind <deep voice> I'm back
FROGGS :D
jdv79 hey FROGGS 15:44
kalkin- timotimo: Worked out flawless, than you
FROGGS o/
stmuk I'd assume lord is an expletive version of YHWH and not either a peer or a singer from NZ 15:45
lichtkind is there a p6 style guide
FROGGS, see you in Gummersbach? 15:46
APic \o
stmuk github.com/perl6/doc/blob/master/STYLEGUIDE.md 15:47
lichtkind thanks stmuk
FROGGS lichtkind: no, I won't be able to be there
lichtkind good so you cant correct me in my talk :)
FROGGS hehe 15:48
right
lichtkind FROGGS, reason im back to prepare a talk on p module writing
FROGGS nice 15:49
lichtkind yes so i polish the only module i ever wrote for p6 15:50
FROGGS, do you do core stuff? 15:51
FROGGS not at the moment
mst FROGGS: hey, I rehomed sdl.perl.org and the git repos, can you check everything's still happy please 15:56
FROGGS mst: looks good to me :o) 16:01
thank you
jdv79 lichtkind: got a draft? 16:08
lichtkind jdv79, no just thinking about 16:10
jdv79 ah, cool 16:13
AlexDaniel lichtkind: fwiw that's not exactly a p6 styleguide 16:49
lichtkind: it's just what we use for docs
lichtkind AlexDaniel, yes I read it 16:50
AlexDaniel lichtkind: so IMO the right answer is that we don't have a styleguide yet, feel free to start one :) Maybe parts of that doc styleguide can be used to start it 16:51
lichtkind: also, you might be interested in this page: docs.perl6.org/language/traps
lichtkind AlexDaniel, that but i have to gain some experience first 16:56
cfa tangentially related to style, 16:57
DrForr: the readme for github.com/drforr/perl6-Perl6-Tidy documents zef installation, but it looks like Perl6::Tidy isn't registered in the ecosyste
+m
(also, good morning all) 16:58
lichtkind :) 16:59
timotimo you can use zef to install stuff locally without the ecosystem, too
cfa yeah, but that's not what's documented 17:00
or at least, if that's the intent it's not clear from the readme
timotimo OK 17:02
cfa filed github.com/drforr/perl6-Perl6-Tidy/issues/5 for DrForr 17:04
El_Che cfa: if you want your issue handled faster by DrForr, you should write on paper, make origami art of it and send that. He will appreciate it :) 17:12
Zoffix So why exactly do we have to maintain two downloads pages now? 17:19
cfa El_Che: hee hee
timotimo for some reason files inside perl6.org/source/ are owned by root 17:22
on www.p6c.org
143719 4.0K drwxr-xr-x 2 root root 4.0K Mar 11 17:19 downloads
timotimo someone did this today? 17:22
moritz Zoffix: we don't; i just wanted one on perl6.org with TLS as long as rakudo.org was HTTP-only 17:23
Zoffix .tell pmichaud timotimo I'm on it
yoleaux Zoffix: I'll pass your message to pmichaud.
Zoffix timotimo: I'm on it
timotimo OK
Zoffix moritz: well, I'm getting mixed messages here. As discussed with pmichaud I was converting rakudo.org to a site we can host on p6c infrastructure, but now I see stmuk added a new page to perl6.org having a duplicate and different page with downloads than the one on rakudo.org 17:24
So what the fuck's going on? I'm not in a mood to participate in dick measuring contests here. 17:25
moritz Zoffix: I'm not aware of what stmuk is doing
Geth perl6.org: d20a3ea6c4 | (Zoffix Znet)++ (committed using GitHub Web editor) | README.md
Bump commit for update
17:26
Zoffix There's abunch of warnings from Mowyw "Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\G((?s:.)*?)((?^:{{ <-- HERE ))/ at /usr/share/perl5/App/Mowyw/Lexer.pm line 119," 17:28
I think that syntax is fatal on newer perls innit?
k, I think build's now unbusted perl6.org/downloads/others.html 17:29
cfa Zoffix: fatal in 5.26, i think 17:30
timotimo Zoffix: should the nxadm packages section also point out that it gives you zef if you want it?
cfa warned in .24?
Zoffix And I'm pretty sure I busted it because I edited the downloads file as root to add the button to El_Che's packages. Someone was asking for them on Facebook and I didn't want to wait for the next site build period. 17:31
Like a few days ago.
timotimo: I'm not the author of that page. Its existence is why I asked why we have two pages now. Second one being rakudo.org/how-to-get-rakudo/ that's still linked to from perl6.org/downloads 17:32
timotimo oh! 17:33
Zoffix Ah, k, the mowyw warnings are already taken care of on latest release. So we're good if it comes to upgrading stuff: metacpan.org/changes/distribution/App-Mowyw#L2 17:34
APic Uh oh. 17:36
Zoffix bbkr: you could use a $!foo attribute, if you don't want the hashy slurpiness that %!foo offers: 17:46
m: sub foo { return {1=>2}, 3 }; class A { has $.h is rw; has $.s is rw; }; my $a = A.new; ($a.h, $a.s) = foo(); dd $a
camelia A $a = A.new(h => ${"1" => 2}, s => 3)
Zoffix bbkr: or write a Proxy method that'd have the %!foo, but proxy it out as a non-slurpy thing:
m: sub foo { return {1=>2}, 3 }; class A { has %.h is rw; has $.s is rw; method h { Proxy.new: :STORE(-> $, %!h {} ), :FETCH{;%!h} }}; my $a = A.new; ($a.h, $a.s) = foo(); dd $a 17:47
camelia A $a = A.new(h => {"1" => 2}, s => 3)
Zoffix But if you can modify neither the class nor the routine, I'd go with just using `with` and assigning each thing individually
m: sub foo { return {1=>2}, 3 }; class A { has %.h; has $.s is rw; }; my $a = A.new; with foo() { $a.h = .head; $a.s = .tail }; dd $a
camelia A $a = A.new(h => {"1" => 2}, s => 3)
Geth rakudo.org: 2e7344a52d | (Zoffix Znet)++ | 3 files
Start carving out the downloads page
18:34
rakudo.org: d713017773 | (Zoffix Znet)++ | 2 files
Add on-hover easter egg to home page

Fade in explanation for what "Rakudo" means after 2s hover on logo.
18:42
mscha m: sub foo(Str @bar = <a b c>) { 1 }; say foo; # How can I give an array parameter a default? 18:44
camelia Type check failed in binding to parameter '@bar'; expected Positional[Str] but got List ($("a", "b", "c"))
in sub foo at <tmp> line 1
in block <unit> at <tmp> line 1
jnthn m: sub foo(Str @bar = Array[Str](<a b c>)) { 1 }; say foo; 18:46
camelia 1
jnthn Just need to keep the types straight
(<a b c> is an untyped list)
mscha Thanks, @jnthn! 18:51
Geth infrastructure-doc: e56ad6a095 | (Zoffix Znet)++ (committed using GitHub Web editor) | hosts/hack.p6c.org.pod
Add AlexDaniel to sudoers list
19:17
infrastructure-doc: 7869d66157 | (Zoffix Znet)++ | hosts/hack.p6c.org.pod
Update hack info

List info for synopsebot6, Geth, and p6lert service.
19:25
infrastructure-doc: b687d76104 | (Zoffix Znet)++ (committed using GitHub Web editor) | hosts/hack.p6c.org.pod
s/markdown/Pod/;
19:26
Geth rakudo.org: 1ca5ba5cac | (Zoffix Znet)++ | templates/people.html.ep
Use named routes for IRC chat
21:29
rakudo.org: bfb9104d63 | (Zoffix Znet)++ | 5 files
Add Windows Star install instructions
21:30
Geth rakudo.org: e8b373c79e | (Zoffix Znet)++ | templates/files-star-windows.html.ep
Tweak titles
21:37
Geth doc: cac1e43f87 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/pod.pod6
add one more space to define the last colmn
22:12
synopsebot Link: doc.perl6.org/language/pod
Geth rakudo.org: 5812650c0e | (Zoffix Znet)++ | 10 files
Assorted tweaks
22:33
doc: 8d4f609c0d | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/pod.pod6
tweak grammar and spelling
synopsebot Link: doc.perl6.org/language/pod
Geth rakudo.org: 4680c88351 | (Zoffix Znet)++ | 4 files
Implement crumbs on deeper pages
23:08
Geth rakudo.org: 3efe1b4b50 | (Zoffix Znet)++ | 5 files
Add macOS install isntructions
23:41
Geth rakudo.org: f709f9808b | (Zoffix Znet)++ | templates/files-star-macos.html.ep
Add older releases link
23:46