»ö« 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.
00:01 w_richard_w joined 00:02 mcmillhj left 00:03 softmoth left 00:06 lichtkind left, mcmillhj joined, vike left 00:11 mcmillhj left 00:18 mcmillhj joined 00:19 vike joined 00:22 mcmillhj left 00:30 softmoth joined 00:31 softmoth left 00:32 softmoth joined 00:37 comborico1611 left
perlawhirl ugh! trying to undelete a module i had been working on. nothing super-important... more annoying than anything 00:44
I don't suppose there's anything salvagable from a .precomp file?
00:48 mcmillhj joined
timotimo no, source code isn't stored in there :( 00:48
perlawhirl serves me right, and all that jazz 00:52
00:53 mcmillhj left 01:11 kurahaupo_ joined 01:13 kurahaupo left
titsuki bisectable: class A { has $!size; has $!array; submethod BUILD(:$!size) {}; submethod TWEAK { $!size.say; my Int @a[$!size]; $!array := @a; } }; A.new(:size(10)); 01:22
bisectable6 titsuki, Bisecting by exit code (old=2015.12 new=1447f41). Old exit code: 0
titsuki, bisect log: gist.github.com/66565011446b742fef...3381dc6346
titsuki, (2018-02-09) github.com/rakudo/rakudo/commit/1c...e7ac689d4f
01:25 silug left, sacomo left 01:29 zachk left 01:35 mcmillhj joined 01:38 sacomo joined 01:40 kurahaupo joined, mcmillhj left 01:42 kurahaupo_ left 01:47 ilbot3 left 01:50 colomon joined 01:51 tharkun joined 01:52 kurahaupo left, kurahaupo_ joined 01:53 cog_ joined 01:56 kurahaupo joined 01:57 ilbot3 joined, ChanServ sets mode: +v ilbot3 01:58 kurahaupo_ left 02:06 windyhouse left 02:15 ryn1x_ joined 02:17 cog_ left 02:19 ryn1x left 02:26 mcmillhj joined 02:28 pilne left 02:31 mcmillhj left 02:38 mcmillhj joined 02:41 softmoth left 02:42 softmoth joined, mcmillhj left 03:10 mcmillhj joined 03:15 mcmillhj left 03:20 skids left 03:24 mcmillhj joined 03:27 Sgeo left 03:28 mcmillhj left 03:29 Sgeo joined 03:32 _sfiguser left 03:43 llfourn left 03:47 mcmillhj joined 03:52 mcmillhj left 03:56 eliasr left 04:02 llfourn joined 04:04 mcmillhj joined 04:08 mcmillhj left 04:36 mcmillhj joined, softmoth left 04:37 softmoth joined 04:40 mcmillhj left 04:47 curan joined 04:55 mcmillhj joined 04:56 softmoth left 04:57 softmoth joined 05:00 mcmillhj left 05:03 abraxxa left 05:06 softmoth left 05:07 softmoth joined 05:08 softmoth left, softmoth joined 05:11 softmoth left 05:12 softmoth joined 05:13 cog_ joined 05:15 jmerelo joined
jmerelo squashable6: status 05:15
squashable6 jmerelo, ⚠🍕 Next SQUASHathon in ≈4 hours (2018-05-05 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jmerelo Coming!
05:15 pierrot left, zostay left 05:16 ecocode joined, mithaldu_ joined, zostay joined, pierrot joined, softmoth left 05:17 unicodable6 left 05:18 unicodable6 joined, undersightable6 left, committable6 left, quotable6 left, nativecallable6 left, greppable6 left, statisfiable6 left, statisfiable6 joined, greppable6 joined, nativecallable6 joined, quotable6 joined, committable6 joined, undersightable6 joined 05:19 cgfbee left 05:27 troys left 05:30 cgfbee joined 05:31 sauvin joined, mcmillhj joined 05:34 wamba joined 05:36 mcmillhj left 05:37 cog_ left 05:40 sacomo left 05:47 rightfold joined
rightfold m: sub infix:<⟨╯°□°⟩╯>(&f, $x) { -> $y { &f($y, $x) } }; sub cat($x, $y) { $x ~ $y }; say (&cat ⟨╯°□°⟩╯ „hi“)(„dog”) 05:47
camelia doghi
rightfold Flip a function!
05:47 aindilis left 05:49 mcmillhj joined
rightfold Ternary binary infix operators are always fun. 05:49
jmerelo rightfold++ 05:53
05:53 mcmillhj left
rightfold I like how I used the wrong closing quote for the first string. 05:55
titsuki bisectable: my %a; %a = "a" => 1, "b" => 2; for %a.kv -> (:$key, :$value) {} 05:57
bisectable6 titsuki, Bisecting by exit code (old=2015.12 new=1447f41). Old exit code: 0
titsuki, bisect log: gist.github.com/e651f542af66c282ec...3e38465afd
titsuki, (2017-10-09) github.com/rakudo/rakudo/commit/ba...eef3997c32
05:58 domidumont joined
titsuki bisectable: my %a; %a = "a" => 1, "b" => 2; for %a -> (:$key, :$value) {} 05:59
bisectable6 titsuki, On both starting points (old=2015.12 new=1447f41) the exit code is 0 and the output is identical as well
titsuki, Output on both points: «»
06:06 mcmillhj joined
Geth doc: a608afe021 | (JJ Merelo)++ | doc/Language/operators.pod6
Starts moving unicmp to regular operators

Refs #1979; not removed from there yet.
06:08
synopsebot Link: doc.perl6.org/language/operators
06:11 mcmillhj left, domidumont left 06:12 kurahaupo_ joined 06:13 Sgeo_ joined 06:14 kurahaupo left, Sgeo left 06:15 wamba left 06:16 TEttinger left 06:17 TEttinger joined, w_richard_w left 06:18 mcmillhj joined 06:22 dct joined, domidumont joined, mcmillhj left 06:32 kurahaupo joined 06:34 kurahaupo_ left 06:35 kurahaupo_ joined, Sgeo joined 06:36 w_richard_w joined, jmerelo left, Sgeo_ left 06:37 AlexDaniel joined 06:38 kurahaupo left 06:49 wamba joined 06:51 mcmillhj joined 06:54 abraxxa joined 06:55 abraxxa left, mcmillhj left 06:59 kurahaupo joined 07:01 kurahaupo_ left, abraxxa joined, kurahaupo_ joined 07:03 kurahaupo left, abraxxa left 07:04 kurahaupo joined, abraxxa joined 07:05 kurahaupo_ left 07:10 kurahaupo_ joined 07:11 kurahaupo left 07:12 kurahaupo joined 07:13 rindolf joined, mcmillhj joined 07:14 kurahaupo_ left 07:15 robertle joined 07:17 jmerelo joined 07:19 mcmillhj left, domidumont left
squashable6 Webhook for perl6/doc is now active! Non-blocking is better than blocking. 07:27
AlexDaniel squashable6: next
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈2 hours (2018-05-05 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
Geth doc: 5a8f5aa0da | (JJ Merelo)++ | 2 files
Adds squashaton rules closes #1987
07:28
jmerelo squashable6: status 07:29
squashable6 jmerelo, ⚠🍕 Next SQUASHathon in ≈2 hours (2018-05-05 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jmerelo Written a few rules for this (and others) Squashathons github.com/perl6/doc/blob/master/w...SHATONS.md
Geth doc: AlexDaniel self-assigned Convert 1-file docs to epub with TOC github.com/perl6/doc/issues/1981
AlexDaniel self-unassigned Convert 1-file docs to epub with TOC github.com/perl6/doc/issues/1981

Rephrasing rules suggested by @AlexDaniel
AlexDaniel that does work :)
jmerelo Basically: 1. work against issues, 2. always assign issues 3. leave "first good issues" for the last day 07:30
AlexDaniel I wonder if it'll announce assign event twice (once by Geth and once by squashable6)
07:31 mcmillhj joined
jmerelo I have also created this milestone for today github.com/perl6/doc/milestone/1 07:32
AlexDaniel jmerelo: can we tweak 3 to say “Start by resolving one of the “good first issues”, if there are any. Leave other ones till the end of the day (so that others can start with something easy too) 07:33
jmerelo Basically to group the issues we'll be working on. Please add issues you'll be working with there; I'll do it when one is assigned and reflected there.
AlexDaniel: Um, don't know. Maybe I should qualify by saying "If you have already contributed, please leave this for newcomers" 07:34
AlexDaniel: in fact, it would be better for frequent contributors like you and me to tackle those issues that would take a couple of days. Together, if possible.
We can always get to the good first issues after the hackathon. 07:35
AlexDaniel jmerelo: I'm thinking of turning into a call to action instead of a restriction thingy we have now
07:35 mcmillhj left
AlexDaniel it* 07:35
jmerelo AlexDaniel: yep, that's right. 07:36
AlexDaniel so basically like “1. rule 2. rule 3. Go resolve an issue!
jmerelo OK, I'll put your phrase in
07:37 pmurias joined
AlexDaniel jmerelo: I think it's also important not to over-organize. Usually we have a few new contributors but not too many to create any problem :) 07:38
jmerelo AlexDaniel: of course, that's why there are few rules and mainly to avoid conflicts (and subsequent frustration). 07:40
AlexDaniel: I can take care of the milestone, no problem. So far the only way of knowing what's going on is the bot, but having a milestone there and see how we advance towards it gives a sense of accomplishment that can be good for newcomers. 07:41
Geth doc: 6dd7ec14eb | (Aleks-Daniel Jakimenko-Aleksejev)++ | writing-docs/SQUASHATONS.md
Tweak SQUASHATHONS.md a bit

Of course someone wants to dive in! :)
07:42
jmerelo AlexDaniel: I'm not going to enforce the rules, either. But it's just common sense to assign issues, for instance. There's no problem in the regular regime, when it's highly unlikely that two persons are working on the same.
AlexDaniel: but during a hackathon, it can easily happen and it's the best if we can avoid that. 07:43
AlexDaniel ye
07:43 Wenjie1 joined
jmerelo Off to start the hackathon 07:43
AlexDaniel jmerelo: fwiw I'm typically busy on Fridays, so I'll be more active tomorrow 07:44
jmerelo: have fun!
buggable: pizza jmerelo
buggable jmerelo, enjoy this slice of Chicken Mexican Red Wave pizza, my friend! Yummy 🍕
07:48 jmerelo left 07:49 Tison joined 07:50 darutoko joined
Tison squashable6: status 07:51
squashable6 Tison, ⚠🍕 Next SQUASHathon in ≈2 hours (2018-05-05 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
07:53 kurahaupo left 07:55 scimon joined
AlexDaniel actually 07:55
07:57 domidumont joined
AlexDaniel ah no, it's fine 07:59
08:03 mcmillhj joined 08:08 mcmillhj left 08:11 domidumont left, domidumont joined 08:30 jmerelo joined 08:33 cog_ joined 08:34 mcmillhj joined 08:37 Hamlet joined 08:38 mcmillhj left
Hamlet hello from Spain! here to assist in the Perl6 documentation hackathon 08:38
Tison Welcome!
AlexDaniel buggable: pizza Hamlet 08:41
buggable Hamlet, enjoy this slice of Margherita pizza, my friend! Yummy 🍕
08:41 ufobat joined
ufobat what is the correct docker image? 08:42
jmerelo, your docker image is up to date, but i think github.com/perl6/docker isnt 08:43
jmerelo ufobat: yep, updated after 2018.04 08:45
Not sure if also 2018.04.1, I think I didn't have time for that. 08:46
2018.03 and 2018.01 are available too as tags of the same image
ufobat 2018.03 isnt a star release, right?
jmerelo ufobat: no, it's not. 2018.04 should be. 08:47
Hamlet hahaha oh, free Pizza, this chat is the best
08:51 Psicobyte joined
jmerelo o/ Psicobyte 08:52
Psicobyte hi :) 08:53
Hamlet I'm translating the readme to japanese, if anyone wants to join the party... 08:54
hello psicobyte!
jmerelo Hamlet: I'll add it to the issue
Geth doc: JJ self-assigned Translate README.md to languages github.com/perl6/doc/issues/1984
cc5326567e | (Matt Oates)++ (committed using GitHub Web editor) | 2 files

  github.com/perl6/doc/blob/master/w...SHATONS.md is linked in the CONTRIBUTIONS.md file, so I think the file name here is a typo
08:55
08:56 w_richard_w left 08:57 Psicobyte left, cog_ left 09:00 jmerelo left 09:01 Hamlet left
AlexDaniel squashable6: status 09:02
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon is in 57 minutes (2018-05-05 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
09:03 mcmillhj joined
Tison ufobat: for the latest star release, github.com/rakudo/star/issues/112 09:08
09:08 mcmillhj left
ufobat thanks! 09:08
09:17 mcmillhj joined 09:21 mcmillhj left 09:29 mcmillhj joined 09:34 mcmillhj left 09:37 Hamlet joined, Psicobyte joined 09:38 jmerelo joined 09:42 mcmillhj joined, antonio__ joined, elenamerelo joined 09:43 |oLa| left
elenamerelo Hi! I am going to translate the README to spanish ^^ 09:43
Ulti erk didnt realise that was going to be a direct edit and not a PR sorry 09:45
the link is here github.com/perl6/doc/blob/master/C...IBUTING.md
09:46 |oLa| joined, mcmillhj left
jmerelo Ulti: they now match. Thanks! 09:47
antonio__: welcome!
elenamerelo: welcome!
Geth doc: terceranexus6++ created pull request #1988:
Translating to japanese
09:51
09:53 robertle left
jmerelo ^ I have told Hamlet to create the pull request so that we can review it (or someone who knows Japanese). It's not for inmediate merge. 09:54
09:55 mcmillhj joined
El_Che morning/noon/evening 09:56
Hamlet yeah, I only did the first lines, just if you guys want to review it. I'm still on it 09:57
09:58 windyhouse joined 09:59 robertle joined
jmerelo El_Che: hi! 10:01
10:01 mcmillhj left
Hamlet hello there El_Che! 10:05
AlexDaniel squashable6: status 10:11
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 2 days and ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/8b641daaf98d4a51c3...3a714fcab4
🍕 JJ++ milestoned issue “unicmp and coll operator…”: github.com/perl6/doc/issues/1979 10:14
🍕🍕🍕 First contribution by JJ++! ♥
10:15 mcmillhj joined
squashable6 🍕 W4anD0eR96++ wrote a comment on “Difference between //, m//, and rx// in regex”: github.com/perl6/doc/issues/1675#i...-386559225 10:15
🍕🍕🍕 First contribution by W4anD0eR96++! ♥
🍕 W4anD0eR96++ closed issue “Difference between //, m//, and rx// in regex”: github.com/perl6/doc/issues/1675
10:15 dct left 10:18 dct joined 10:20 mcmillhj left
squashable6 🍕 JJ++ opened issue “Use always non-breaking …”: github.com/perl6/doc/issues/1989 10:22
Geth doc: JJ self-assigned Use always non-breaking space when talking about Perl 6 and Pod 6 github.com/perl6/doc/issues/1989
antoniogamiz++ created pull request #1990: Spanish translation
squashable6 🍕 JJ++ self-assigned issue “Use always non-breaking …”: github.com/perl6/doc/issues/1989
🍕 JJ++ labeled issue “Use always non-breaking …”: github.com/perl6/doc/issues/1989
🍕 JJ++ wrote a comment on “Use always non-breaking …”: github.com/perl6/doc/issues/1989#i...-386560785 10:23
🍕 JJ++ milestoned issue “Use always non-breaking …”: github.com/perl6/doc/issues/1989
10:24 amalia___ joined
squashable6 🍕 antoniogamiz++ opened pull request “Spanish translation”: github.com/perl6/doc/pull/1990
🍕🍕🍕 First contribution by antoniogamiz++! ♥
10:28 eliasr joined
squashable6 🍕 JJ++ milestoned issue “Difference between //, m//, and rx// in regex”: github.com/perl6/doc/issues/1675 10:30
🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 10:31
🍕 W4anD0eR96++ wrote a comment on “Is it a platform depende…”: github.com/perl6/doc/issues/1092#i...-386562858 10:33
🍕 JJ++ opened issue “Split "Any" documentatio…”: github.com/perl6/doc/issues/1991 10:36
🍕 JJ++ labeled issue “Split "Any" documentatio…”: github.com/perl6/doc/issues/1991
🍕 JJ++ milestoned issue “Split "Any" documentatio…”: github.com/perl6/doc/issues/1991 10:37
🍕 terceranexus6++ synchronize pull request “Translating to japanese”: github.com/perl6/doc/pull/1988
🍕🍕🍕 First contribution by terceranexus6++! ♥
🍕 JJ++ milestoned issue “Spanish translation”: github.com/perl6/doc/pull/1990
10:38 mcmillhj joined
squashable6 🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 10:40
🍕 JJ++ wrote a comment on “Is it a platform depende…”: github.com/perl6/doc/issues/1092#i...-386564126
🍕 JJ++ milestoned issue “Is it a platform depende…”: github.com/perl6/doc/issues/1092
🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 10:42
El_Che even the pizza is in Spanish colours 10:43
10:43 mcmillhj left, AndroUser joined
Tison m: say 'food' ~~ /< f fo foo food >/; 10:46
camelia 「food」
Tison m: say 'food' ~~ /<f fo foo food>/;
camelia Potential difficulties:
Space is not significant here; please use quotes or :s (:sigspace) modifier (or, to suppress this warning, omit the space, or otherwise change the spacing)
at <tmp>:1
------> 3say 'food' ~~ /<f fo7⏏5 foo …
10:46 AndroUser left
Tison whitespace does matter 10:46
squashable6 🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990
10:47 AndroUser joined
jmerelo El_Che: andalusian in my screen :-) 10:47
10:47 AndroUser left
squashable6 🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 10:47
10:49 AndroUser joined 10:50 AndroUser is now known as algarnati
Geth doc: psicobyte++ created pull request #1992:
Non breaking space inserted in some 'Pod 6' and 'Perl 6'. This fixed …
10:50
squashable6 🍕 psicobyte++ opened pull request “Non breaking space inser…”: github.com/perl6/doc/pull/1992 10:51
🍕🍕🍕 First contribution by psicobyte++! ♥
El_Che jmerelo: Eres el espejo de una Andalucía que sufre pasiones gigantes y calla, pasiones mecidas por los abanicos y por las mantillas sobre las gargantas que tienen temblores de sangre, de nieve,y arañazos rojos hechos por miradas.
(García Lorca :) )
algarnati :)
10:55 algarnati left 10:56 MasterDuke left
squashable6 🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 10:56
10:57 natrys joined 10:59 Hamlet left, Wenjie1 left 11:00 Hamlet joined
squashable6 🍕 JJ++ submitted a review on pull request “Non breaking space inser…”: github.com/perl6/doc/pull/1992#pul...-117565442 11:02
🍕 ElenaMerelo++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 11:03
🍕🍕🍕 First contribution by ElenaMerelo++! ♥
Geth doc: fa7bc3ed09 | allan++ | 6 files
Non breaking space inserted in some 'Pod 6' and 'Perl 6'. This fixed #1923
doc: 00fafacb78 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 6 files
Merge pull request #1992 from psicobyte/master

Non breaking space inserted in some 'Pod 6' and 'Perl 6'. This fixed …
squashable6 🍕 JJ++ merged pull request “Non breaking space inser…”: github.com/perl6/doc/pull/1992
🍕 JJ++ closed issue “Standardize Pod name”: github.com/perl6/doc/issues/1923
squashable6 🍕 ElenaMerelo++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 11:04
🍕 JJ++ reopened issue “Standardize Pod name”: github.com/perl6/doc/issues/1923
🍕 JJ++ wrote a comment on “Standardize Pod name”: github.com/perl6/doc/issues/1923#i...-386568696
🍕 JJ++ closed issue “Use always non-breaking …”: github.com/perl6/doc/issues/1989 11:05
🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 11:06
🍕 JJ++ wrote a comment on “unicmp and coll operator…”: github.com/perl6/doc/issues/1979#i...-386569339 11:08
Geth ¦ doc: JJ self-assigned Definition for Any.collate and Any.cache github.com/perl6/doc/issues/1507
squashable6 🍕 JJ++ self-assigned issue “Definition for Any.collate and Any.cache”: github.com/perl6/doc/issues/1507
🍕 JJ++ milestoned issue “Definition for Any.collate and Any.cache”: github.com/perl6/doc/issues/1507
jmerelo p6: $*COLLATION.set(:quaternary(False), :tertiary(False)); say ('a','A').collate ~~ ('A','a').collate; 11:10
camelia Use of the $*COLLATION dynamic variable is experimental; please 'use experimental :collation'
in block <unit> at <tmp> line 1
jmerelo Huh? unicmp and collate are not experimental, but $*COLLATION is? 11:11
p6: say ('a','A').collate ~~ ('A','a').collate;
camelia False
jmerelo p6: say 'a' coll 'A'; 11:12
camelia Less
squashable6 🍕 ElenaMerelo++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990
🍕🍕🍕 First contribution by AlexDaniel++! ♥ 11:13
jmerelo Right, it still is github.com/rakudo/rakudo/blob/b07e...2017.09.md
11:14 Tison left
AlexDaniel squashable6: status 11:14
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 2 days and ≈0 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/3b9f13152b71e3e66f...647e22a0ea
jmerelo p6: use experimental :collation; $*COLLATION.set(:quaternary(False), :tertiary(False)); say ('a','A').collate ~~ ('A','a').collate;
camelia False
AlexDaniel wow what a good start :)
jmerelo p6: use experimental :collation; $*COLLATION.set(:quaternary(False), :tertiary(False)); say ('a','A').collate == ('A','a').collate; 11:15
camelia True
squashable6 🍕 ElenaMerelo++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 11:19
🍕 terceranexus6++ synchronize pull request “Translating to japanese”: github.com/perl6/doc/pull/1988 11:20
🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 11:21
Geth doc/master: 4 commits pushed by Paula++, (Juan Julián Merelo Guervós)++ 11:24
squashable6 🍕 JJ++ merged pull request “Translating to japanese”: github.com/perl6/doc/pull/1988
11:24 Psicobyte left
squashable6 🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 11:26
Hamlet well I hope in the japanese translation I'm not offending anyone with a typo ahahaha 11:27
squashable6 🍕 JJ++ submitted a review on pull request “Spanish translation”: github.com/perl6/doc/pull/1990#pul...-117570983
🍕 JJ++ wrote a comment on a review for “Spanish translation”: github.com/perl6/doc/pull/1990#dis...r186055216
🍕 ElenaMerelo++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 11:28
🍕 JJ++ submitted a review on pull request “Spanish translation”: github.com/perl6/doc/pull/1990#pul...-117571089
🍕 JJ++ wrote a comment on a review for “Spanish translation”: github.com/perl6/doc/pull/1990#dis...r186055296
🍕 JJ++ submitted a review on pull request “Spanish translation”: github.com/perl6/doc/pull/1990#pul...-117571300 11:29
🍕 JJ++ wrote a comment on a review for “Spanish translation”: github.com/perl6/doc/pull/1990#dis...r186055444
elenamerelo 'been a pleasure! bye ^^ 11:31
11:31 elenamerelo left, mr_ron left 11:32 AlexDaniel left
Geth doc/master: 23 commits pushed by Antonio++, elenamerelo++, (Elena Merelo)++, antoniogamiz++, (Juan Julián Merelo Guervós)++
review: github.com/perl6/doc/compare/b8edc...973990a70c
11:32
squashable6 🍕 JJ++ merged pull request “Spanish translation”: github.com/perl6/doc/pull/1990
jmerelo The Spanish crew is out for a beer (or two). I'll continue this afternoon. Cheers! 11:34
El_Che andalusia++ 11:35
ufobat what libs do i ineed to install on debian (the docker rakudo-star image) in oder do get DBIish mysql support? 11:36
11:36 Hamlet left, antonio__ left
ufobat i've default-libmysqlclient-dev 11:37
nopaste.xyz/?57db2f121dd8fcb9#vmw2...kvNyMMvfU= 11:38
11:39 jmerelo left 11:43 siigl joined, siigl left 11:44 siigl joined, siigl left 11:53 cog_ joined, raynold left 11:57 AlexDaniel joined 12:03 syntaxman left
buggable New CPAN upload: P5__FILE__-0.0.1.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/...0.1.tar.gz 12:06
lizmat bringing __FILE__, __LINE__, __PACKAGE__ and __SUB__ to the Perl 6 world 12:09
(which of course already existed as $?FILE, $?LINE, $?PACKAGE and &?ROUTINE) 12:10
xq __DIR__ is also very useful 12:11
( metacpan.org/pod/Dir::Self )
lizmat No documentation for perl function '__DIR__' found 12:12
xq yeah it's not in core
lizmat ok, *phew* :-)
12:14 Guest43854 joined
El_Che lizmat: I used to like you. Why do you bring python into my perl6? 12:15
;)
lizmat python? that's Perl 5
El_Che lizmat: __init__
lizmat that's not Perl 5 :-)
init? 12:16
*innit rather :-)
El_Che def __init__(self): ... 12:17
it hurts my eyes :)
12:17 cog_ left
lizmat sorry :-) 12:18
sjn lizmat: any support for <DATA> yet? 12:20
(and __DATA__ and __END__) 12:21
lizmat that will be *much* trickier :-(
sjn aw
lizmat well, creating a DATA handle that would return a handle that starts reading at where the __DATA__ or __END__ is in the code, would be not so hard 12:22
sjn wouldn't mind porting his .signature file to Perl 6
lizmat having compilation stop whenever a __DATA__ or __END__ is encountered, is a bit more tricky
unless someone has suggestions for that 12:23
sjn lizmat: not to mention seek(DATA,0,0) # read the source code of yourself 12:24
lizmat that would just fall out of reading the source file until __DATA__
so not an issue... the issue is to have compilation ignore everything after __DATA__ or __END__ 12:25
El_Che lizmat: it would open doors for things like fatpack and the like
lizmat: or even stuck C libs in there 12:26
1ste likely, 2nd not really probably
lizmat unless someone has an idea to have compilation stop at the encounter of a __DATA__ / __END__ as a slang 12:27
I'm stuck :-)
sjn is this something that should happen at moarvm level
?
jnthn No. 12:28
This functionality already exists in Perl 6 as =finish, no?
El_Che that categorical :)
lizmat jnthn: yes
El_Che imagines jnthn smashing the table :)
lizmat but so far my forays into slang land have been less than successful :-(
jnthn El_Che: Well, given MoarVM doesn't know anything much about parsing, it's fairly easy to answer ;) 12:30
lizmat: In theory, the grammar could just override github.com/rakudo/rakudo/blob/mast....nqp#L1019 and copy what's there and add __DATA__ or some such 12:31
lizmat: And the action method shouldn't need any changes
So it's probably an easy slang :)
lizmat ok, I'll have a go at it 12:32
jnthn Which I'll resist writing instead of doing my actual $dayjob work... :P
lizmat jnthn: :-)
12:34 HaraldJoerg joined
ufobat stackoverflow.com/questions/501751...cker-image 12:36
12:36 mcmillhj joined 12:38 ggherdov joined, ggherdov left 12:44 AlexDaniel left, silug joined 12:46 traxex2 left
squashable6 🍕 titsuki++ opened issue “A DBIlish example is out…”: github.com/perl6/doc/issues/1993 12:47
🍕🍕🍕 First contribution by titsuki++! ♥
jkramer I'd like to have an operator like .+ but instead of calling all methods of the given name I want to give several methods and it should only call the first of each :)
squashable6 🍕 titsuki++ edited issue “A DBIlish example is out…”: github.com/perl6/doc/issues/1993
jkramer So I can do 5.*(succ,pred) and get (4,6) for example
Well (6,4) actually
squashable6 🍕 titsuki++ edited issue “A DBIlish example is out…”: github.com/perl6/doc/issues/1993 12:49
🍕 titsuki++ edited issue “A DBIlish example is out…”: github.com/perl6/doc/issues/1993 12:50
12:51 markong joined
titsuki ufobat: if you use debian stretch, this quick-and-dirty solution may solve your issue: github.com/perl6/doc/issues/1993 12:52
Geth doc: 81c2e1e8b3 | (Elizabeth Mattijsen)++ | doc/Language/5to6-perlfunc.pod6
Add CPAN Butterfly Plan references

  - endprotoent, getprotobyname, getprotobynumber, getprotoent, setprotoent
  - __FILE__, __LINE__, __PACKAGE__, __SUB__
synopsebot Link: doc.perl6.org/language/5to6-perlfunc
squashable6 🍕🍕🍕 First contribution by lizmat++! ♥
12:53 abraxxa left
squashable6 🍕 titsuki++ edited issue “A DBIish example is outd…”: github.com/perl6/doc/issues/1993 12:54
ufobat titsuki, i think rakudo-star is based on strech
titsuki, but i've got the libsqlclient.so in my FS 12:55
jkramer m: sub infix:<call-all>(Any $invocant, @methods) returns List { @methods.map({ $invocant."$_"() }).List }; say 5 call-all <succ pred>; 12:56
camelia (6 4)
jkramer Ha!
13:01 athenot joined
titsuki ufobat: it's weired but I'm not so familiar with debian.packaging system... 13:02
El_Che titsuki: I am planning to create images for several distributions 13:03
What's is the recommended line wrapper for the REPL nowadays? Is the order in which perl6 recommend to install one relevant (it mentions readline first, linenoise second) 13:04
?
13:05 Guest43854 left
jkramer Why does this work: 13:07
m: class Foo { has $.x; has $.y; }; my %h = <x y> Z=> (5, 10); Foo.new(|%h).note
camelia Foo.new(x => 5, y => 10)
jkramer And this doesn't:
m: class Foo { has $.x; has $.y; }; Foo.new(|<x y> Z=> (5, 10)).note
camelia Default constructor for 'Foo' only takes named arguments
in block <unit> at <tmp> line 1
jkramer m: class Foo { has $.x; has $.y; }; Foo.new(slip <x y> Z=> (5, 10)).note 13:09
camelia Default constructor for 'Foo' only takes named arguments
in block <unit> at <tmp> line 1
jkramer m: my %h = <x y> Z=> (5, 10); (|%h).perl.note; (slip <x y> Z=> (5, 10)).perl.note 13:10
camelia slip(:y(10), :x(5))
slip(:x(5), :y(10))
jkramer They're both slips of pairs but one gets accepted and the other doesn't
jnthn Precedence. 13:12
Oh, also, perhaps, not realizing that | means something different in an argument list than it does outside of one
squashable6 🍕 titsuki++ edited issue “A DBIish example is outd…”: github.com/perl6/doc/issues/1993 13:13
jnthn did suggest two different operators for that, but TimToady disagreed :)
m: class Foo { has $.x; has $.y; }; Foo.new(|%(<x y> Z=> (5, 10))).note
camelia Foo.new(x => 5, y => 10)
jkramer m: class Foo { has $.x; has $.y; }; Foo.new((<x y> Z=> (5, 10)).Capture) 13:14
camelia Default constructor for 'Foo' only takes named arguments
in block <unit> at <tmp> line 1
jkramer Well ok I'll go with that then, thanks jnthn :)
jnthn Argument flattening is entirely syntactic
There has to be a | on the argument that is being flattened 13:15
It just being a slip or a Capture won't be enough
13:18 curan left, molaf joined 13:24 wamba left
lizmat afk& 13:31
13:31 shinobicl joined
buggable New CPAN upload: P5built-ins-0.0.17.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/....17.tar.gz 13:36
13:44 speedChicken_ left, AlexDaniel joined 13:48 zakharyas joined 13:52 speedChicken joined 13:55 zakharyas left 13:56 scimon left 13:57 scimon joined 14:02 scimon left, scimon joined 14:03 comborico1611 joined, HaraldJoerg1 joined 14:05 HaraldJoerg left
AlexDaniel squashable6: status 14:07
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈21 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/357fc7955edd3a978e...be129195b4
14:08 ggherdov joined, ggherdov left, araraloren joined 14:10 kurahaupo joined
Geth doc: e2804ffc20 | 陈梓立++ (committed using GitHub Web editor) | README.jp.md
Update README.jp.md
14:10
14:11 kurahaupo left 14:12 kurahaupo joined
ryn1x_ Is it expected for a script that runs fine to fail when using "use trace"? If this sounds like a possible bug I can post a question with my minimum test case on stackoverflow. It happens with a function I use that returns a map with object values. 14:22
14:24 mcmillhj left
araraloren you can paste your code somewhere :) 14:26
14:28 skids joined
ryn1x_ gist.github.com/ryn1x/18c2aa19b18b...1766e1cc19 14:31
14:32 mcmillhj joined
moritz ryn1x_: I'd say it's simply a bug in rakudo 14:33
$test comes out as Block with 'use trace;' in effect 14:34
so 'use trace;' likely confuses the block-vs-hash heuristic in the compiler 14:35
ryn1x_: golf'd example: perlpunks.de/paste/show/5aec6fe8.638c.fa 14:36
says Block with "use trace" and "Hash" without it
Geth perl6.org: ccworld1000++ created pull request #110:
Update update.sh
14:37
moritz m: use trace; say {proc => 'a'}.^name;
camelia 2 (<tmp> line 1)
say {proc => 'a'}.^name
Block
moritz golf'd even further :-) 14:38
m: say {proc => 'a'}.^name;
camelia Hash
ryn1x_ interesting
moritz ryn1x_: what to submit it as a bug to github.com/rakudo/rakudo/issues/new ? 14:39
araraloren m: use trace; say :{proc => 'a'}.^name;
camelia 2 (<tmp> line 1)
say :{proc => 'a'}.^name
Block
ryn1x_ moritz: Yeah, I will submit it. Thanks for your help. 14:40
14:40 ggherdov joined, ggherdov left
moritz my pleasure 14:40
14:45 scimon left, scimon joined
Geth perl6.org: ccworld1000++ created pull request #111:
Update fetch-recent-blog-posts.pl
14:46
14:55 mcmillhj left 14:56 khw joined 14:59 mcmillhj joined 15:04 troys joined 15:07 scimon left 15:09 ryn1x_ left 15:10 ryn1x joined, ryn1x left, ryn1x joined, scimon joined 15:11 comborico1611 left, windyhouse left 15:13 cog_ joined 15:15 ryn1x_ joined, ryn1x_ left, ryn1x left 15:16 ryn1x joined, ryn1x left, ryn1x joined 15:17 ryn1x left, ryn1x joined 15:23 jmerelo joined
squashable6 🍕 JJ++ labeled issue “A DBIish example is outd…”: github.com/perl6/doc/issues/1993 15:27
🍕 JJ++ milestoned issue “A DBIish example is outd…”: github.com/perl6/doc/issues/1993
jmerelo squashable6: status
squashable6 jmerelo, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈20 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jmerelo, Log and stats: gist.github.com/99219c02df228b8983...a3233a56c8
15:28 scimon left, scimon joined 15:31 ryn1x left
Geth doc/master: 4 commits pushed by (Will "Coke" Coleda)++ 15:32
squashable6 🍕🍕🍕 First contribution by coke++! ♥
15:33 robertle left 15:36 windyhouse joined 15:38 cog_ left 15:41 comborico1611 joined
Geth doc/master: 4 commits pushed by (JJ Merelo)++ 15:44
15:49 dct left 15:50 jjmerelo joined, jmerelo left, scimon left 15:51 scimon joined
jjmerelo p6: use experimental :collation; $*COLLATION.set(:quaternary(False), :tertiary(False)); say 'a' coll 'A'; 15:59
camelia Same
15:59 domidumont left 16:03 aindilis joined, mcmillhj left
comborico1611 Is error message wrong on this? It INDEX will accept Any parameter, which is what it was given. hastebin.com/ugoticeqab.pl 16:04
*It says INDEX will..
16:05 ryn1x joined
jjmerelo comborico1611: This is the error "Cannot resolve caller index(Str, Str, Any); none of these signatures match:" The problem is the index you call, not the variable index 16:07
16:08 mcmillhj joined
comborico1611 Right. So it says INDEX function is looking for Str, Str, Any, which is what it was given, correct? 16:09
I did $index.WHAT it gave Any.
16:10 ggherdov joined, ggherdov left
jjmerelo comborico1611: it has to be Int 16:10
comborico1611: sorry, it has to have a value. If it does not, it can't be coerced and thus type check fails (which is what the message says) 16:11
comborico1611: Two additional things. First, try and ask this too in StackOverflow. Second, probably you'll find a better solution if you use a regular expression. 16:12
16:12 mcmillhj left
comborico1611 Alright. Thanks! 16:13
16:14 itaipu joined
jjmerelo comborico1611: thanks and... I will also post it in StackOverflow? :-) 16:15
16:16 [Sno] left, stmuk_ joined
comborico1611 Why two posts? 16:17
Geth doc: bb4416437f | (JJ Merelo)++ | 3 files
Shuffles around content for not-any-more experimental

Distributes and rephrases content for `coll`, `collate` and
  `$*COLLATION`, two of which are out of `experimental`. Since both use
the experimental thing, a reference to that, which I don't really like but still, it can be changed when it gets out of experimental. Closes
16:18
16:18 stmuk left
comborico1611 jjmerelo: No, I will post it. Working on it now. 16:19
Geth doc: 2d54d4dfb0 | (JJ Merelo)++ | 3 files
Shuffles around content for not-any-more experimental

Distributes and rephrases content for `coll`, `collate` and
  `$*COLLATION`, two of which are out of `experimental`. Since both use
the experimental thing, a reference to that, which I don't really like but still, it can be changed when it gets out of experimental. Closes #1979
squashable6 🍕 JJ++ closed issue “unicmp and coll operator…”: github.com/perl6/doc/issues/1979
squashable6 🍕 JJ++ edited issue “Translate README.md to languages”: github.com/perl6/doc/issues/1984 16:20
jjmerelo comborico1611++ 16:21
comborico1611 Your welcome.
You're*
16:22 mcmillhj joined
Geth doc: b78198512d | (JJ Merelo)++ | t/02-pod-valid.t
Minor doc and comments explaining new version

I have been checking builds since this was done, and the error reported in #1951 has not appeared again. So it closes #1951. If it appears again, well, we'll have to reopen it.
16:27
squashable6 🍕 JJ++ closed issue “Intermitent problems with some builds”: github.com/perl6/doc/issues/1951
🍕 JJ++ milestoned issue “Intermitent problems with some builds”: github.com/perl6/doc/issues/1951
16:28 ryn1x left
jjmerelo comborico1611: BTW, we're now in the Squashathon... It's until Sunday. You're very welcome to participate :-) 16:28
comborico1611 Thanks for the invitation. I'll check it out! 16:29
jjmerelo (everyone else is invited too :-) ) 16:31
16:31 scimon left 16:32 [Sno] joined 16:33 st_elmo joined
comborico1611 Pasting from emacs to Stack, is a real pain. Really strange behavior. 16:37
16:38 [Sno] left
jjmerelo comborico1611: really? Just copy-paste and then check on the "make code" icon. Or use ``` at the beginning and end. 16:38
16:38 Ven`` joined
comborico1611 jjmerelo: It must be some setting on my Emacs or something. 16:38
jjmerelo comborico1611: emacs is the most wonderful editor in the world. But yes, it has settings. 16:39
comborico1611 Indeed. It's weird. In Stack, I have to hit space 2-3 times before the text pasted shows up in the gray box. 16:41
jjmerelo comborico1611: right, that's because indented text in markdown is interpreted as code. But you can mark the code, press on the {} icon, and SO will do it for you. 16:42
16:42 ggherdov joined, ggherdov left
comborico1611 jjmerelo: I clicked {} and then pasted everything into it. 16:43
Err. I pasted all the code, into it.
jjmerelo: stackoverflow.com/questions/501796...-parameter 16:45
16:46 domidumont joined
Geth doc: 13d0a8de10 | (JJ Merelo)++ | doc/Type/Any.pod6
Changes case in Defined As

And also checks that cache has already been (well) defined in `Any`, so it closes #1507
16:48
synopsebot Link: doc.perl6.org/type/Any
squashable6 🍕 JJ++ closed issue “Definition for Any.collate and Any.cache”: github.com/perl6/doc/issues/1507
16:52 HaraldJoerg1 left 16:56 HaraldJoerg joined 17:02 algarnati joined 17:03 algarnati left 17:06 ryn1x joined 17:11 mcmillhj left 17:13 domidumont left 17:14 domidumont joined 17:17 ryn1x left 17:20 araraloren left 17:21 ryn1x joined, ryn1x left 17:27 wamba joined 17:35 Sgeo left, Sgeo joined
Geth doc: 33fab2f6d5 | (JJ Merelo)++ | doc/Type/IO/Socket/INET.pod6
Adds warning closes #1963
17:36
synopsebot Link: doc.perl6.org/type/IO::Socket::INET
squashable6 🍕 JJ++ closed issue “Example code in IO::Socket::INET crashes”: github.com/perl6/doc/issues/1963
jjmerelo squashable6: status
squashable6 jjmerelo, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈18 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jjmerelo, Log and stats: gist.github.com/d16194e38712932b96...748309190a
17:37 pilne joined 17:38 zoosha joined
Geth doc: JJ self-assigned Add debug code to identify htmlify problems github.com/perl6/doc/issues/1932
JJ self-assigned Improve the inheritance example to something more meaningful (was remove TODO) github.com/perl6/doc/issues/620

Improves a bit the inheritance example. Closes #620
17:41
squashable6 🍕 JJ++ self-assigned issue “Add debug code to identify htmlify problems”: github.com/perl6/doc/issues/1932
🍕 JJ++ milestoned issue “Add debug code to identify htmlify problems”: github.com/perl6/doc/issues/1932
🍕 JJ++ wrote a comment on “Content in “Dynamic vari…”: github.com/perl6/doc/issues/759#is...-386675530 17:43
🍕 JJ++ closed issue “Content in “Dynamic vari…”: github.com/perl6/doc/issues/759
🍕 JJ++ milestoned issue “Content in “Dynamic vari…”: github.com/perl6/doc/issues/759
squashable6 🍕 JJ++ self-assigned issue “Improve the inheritance …”: github.com/perl6/doc/issues/620
🍕 JJ++ milestoned issue “Improve the inheritance …”: github.com/perl6/doc/issues/620 17:45
synopsebot Link: doc.perl6.org/language/classtut
squashable6 🍕 JJ++ closed issue “Improve the inheritance …”: github.com/perl6/doc/issues/620
17:58 amalia___ left 18:02 mcmillhj joined, mcmillhj left
Geth doc: b431353c6b | (JJ Merelo)++ | doc/Language/operators.pod6
Working on hyper operators

Addressing #562, which was actually not a big deal; those operators are already indexed in every of their possible forms. However, I have rephrased a bit some descriptions, and anyway closes #562.
18:03
synopsebot Link: doc.perl6.org/language/operators
squashable6 🍕 JJ++ closed issue “Hyper operators are not searchable”: github.com/perl6/doc/issues/562
🍕 JJ++ milestoned issue “Hyper operators are not searchable”: github.com/perl6/doc/issues/562
🍕 JJ++ labeled issue “Sequence examples no lon…”: github.com/perl6/doc/issues/444 18:04
jjmerelo p6: my @s := Seq.new(<a b c>); CATCH { default { say .^name, ' ', .Str } } 18:06
camelia X::TypeCheck::Binding::Parameter Type check failed in binding to parameter '$iter'; expected Iterator but got List ($("a", "b", "c"))
jjmerelo p6: my @s := <a b c>.Seq; CATCH { default { say .^name, ' ', .Str } } 18:07
camelia X::TypeCheck::Binding Type check failed in binding; expected Positional but got Seq ($(("a", "b", "c").Seq))
18:07 natrys left 18:11 domidumont left 18:13 sjoshi joined
Geth doc: 88a1c85b8a | (JJ Merelo)++ | doc/Language/list.pod6
Fixes examples for Positional binding attempts

And added references to ..., included in a TODO in the list. Still another TODO to go, but that will have to be in another issue. Closes #444
18:15
synopsebot Link: doc.perl6.org/language/list
squashable6 🍕 JJ++ milestoned issue “Sequence examples no lon…”: github.com/perl6/doc/issues/444
🍕 JJ++ closed issue “Sequence examples no lon…”: github.com/perl6/doc/issues/444
18:20 [Sno] joined 18:21 mcmillhj joined
squashable6 🍕 JJ++ opened issue “Revise README.md”: github.com/perl6/doc/issues/1994 18:23
🍕 JJ++ labeled issue “Revise README.md”: github.com/perl6/doc/issues/1994
🍕 JJ++ milestoned issue “Revise README.md”: github.com/perl6/doc/issues/1994
18:24 ryn1x joined 18:25 sauvin left 18:33 cog_ joined 18:37 jjmerelo left 18:38 sjoshi left 18:42 natrys joined 18:46 zachk joined, zachk left, zachk joined, Ven`` left 18:47 molaf left, molaf joined, [Sno] left 18:50 sjoshi joined 18:57 cog_ left
Geth doc: cf8d5a8ae5 | (Will "Coke" Coleda)++ | t/02-pod-valid.t
whitespace
19:00
19:01 apathor left 19:05 darutoko left 19:09 sjoshi left 19:17 Guest43854 joined 19:20 FROGGS joined 19:29 comborico1611 left 19:31 robertle joined 19:34 TEttinger left
buggable New CPAN upload: P5__FILE__-0.0.2.tar.gz by ELIZABETH modules.perl6.org/dist/P5__FILE__:cpan:ELIZABETH 19:36
mcmillhj What would be the correct return signature for a function that doesn't return a value? 19:39
19:41 st_elmo left
lizmat mcmillhj: in Perl 6, *something* is *always* returned 19:41
the closest thing to "void" is returning Nil
m: sub foo(--> Nil) { ... } 19:42
camelia ( no output )
ryn1x was the binary 'perl6-debug' changed to 'perl6-debug-m' at some point? or is the binary installed by rakudo star named differently depending ones os?
lizmat if called in a sink context, that should give the optimizer hints to completely ignore the return value 19:43
mcmillhj lizmat++ thanks
lizmat++ thanks 19:46
lizmat you're welcome
:-)
mcmillhj oops :) didn't mean to paste that again
19:48 windyhouse left
El_Che an explicit --> Nil signature does not makes sense though 19:52
lizmat El_Che: why ? 19:54
El_Che indeed, why
lizmat Nil indicates the absence of a value where there should have been one
El_Che if no return is given, it's a function that isn't expected to return something useful 19:55
if you're expecting something, you can always return Nil
19:55 windyhouse joined
[Coke] m: sub a(--> Nil) {return 42}; say a 19:56
camelia 5===SORRY!5=== Error while compiling <tmp>
No return arguments allowed when return value Nil is already specified in the signature
at <tmp>:1
------> 3sub a(--> Nil) {return 427⏏5}; say a
lizmat El_Che: but that's the whole point of specifying it in the signature, so you don't have the last value leaking out
[Coke] m: sub a(--> Nil) {"hi"}; dd a
camelia WARNINGS for <tmp>:
Useless use of constant string "hi" in sink context (line 1)
Nil
lizmat without having to make sure it is Nil or doing a `return Nil`
El_Che yeah, that's true 19:57
but ugly
lizmat
.oO( so much better than butt ugly )
19:57 TEttinger joined
El_Che on the other hand 19:57
if you aren't expecting a value from a sub/method, you're probably not assinging them to somewhere 19:58
something like that could be catched by the compiler instead of needing syntax
lizmat well, that's basically what the 19:59
warnings was of [Coke] last code
El_Che but it needed the -->Nil 20:01
I am saying if there is no return in the signature, it could catch it as well
an implicit return value
on the other hand, "sub foo() { say "foo" }" would probably die then 20:02
mmm
lizmat absence of a return signature is --> Any 20:05
20:05 athenot left
El_Che yeah, it makes sense 20:06
lizmat El_Che: remember that we also have typechecks on return values
mcmillhj gist.github.com/mcmillhj/494e245bf...083174852b
lizmat m: sub a(--> Int) { "foo" }; a'
camelia 5===SORRY!5=== Error while compiling <tmp>
Two terms in a row
at <tmp>:1
------> 3sub a(--> Int) { "foo" }; a7⏏5'
expecting any of:
infix
infix stopper
statement end
statement modifier
lizmat m: sub a(--> Int) { "foo" }; a
camelia Type check failed for return value; expected Int but got Str ("foo")
in sub a at <tmp> line 1
in block <unit> at <tmp> line 1
mcmillhj ^ I'm confused by this , I get a missing block error .. but there is definitely a block there
El_Che mcmillhj: -> 20:07
typo
-> is for loops, --> for returns
moritz mcmillhj: -> introduces a signature 20:08
lizmat El_Che++ # beat me :-)
mcmillhj gah
thank you
moritz so it wants a block after the signature
mcmillhj I have font ligatures turned on, so it was difficult to see in my editor.
20:09 itaipu left 20:19 Kaiepi left 20:20 Kaiepi joined
mcmillhj if I have a definition like this in a class `has Stack $!in;` do I need to call the .new() method on this attribute? Or is this taken care of for me? 20:27
El_Che mcmillhj: new is for creating an instance of the class 20:28
$!in mean the attribute doesn't get a getter automatically 20:29
timotimo if you don't put anything in there manually, you'll end up with just the Stack type object
mcmillhj right, I am mainly ask where should that initialization occur? does that go in new? Or build?
timotimo i.e. an undefined object
El_Che in contrast to $.in (getter as .in) and $.in is rw (also a setter) 20:30
mcmillhj: on simple code the automatic new is all you need
20:31 ryn1x left
El_Che my $instance = class.new(in => "yes!!"); 20:31
timotimo you can set a default value right then and there, though
mcmillhj $!in is not an attribute that I would expose
timotimo has Stack $.in .= new, that works, right?
m: class Stack { }; class Other { has Stack $.in .= new; }; Other.new.perl.say 20:32
camelia Other.new(in => Stack.new)
mcmillhj timotimo: yes, thank you. That is exactly what I was asking
timotimo: I didn't know if the initialization could occur when I declared the attribute or had to happen in another function
timotimo the code on the RHS of the = gets treated as a piece of code to be run when a default value needs to be generated 20:33
20:34 comborico1611 joined 20:37 windyhouse left
comborico1611 How do you stop execution of a infinite loop? 20:38
El_Che comborico1611: break out of it
20:38 Rawriful joined
comborico1611 With what command? 20:38
El_Che comborico1611: docs.perl6.org/language/control#last
comborico1611 I mean from inside REPL 20:39
El_Che ctrl c will kill the repl 20:40
comborico1611 Thanks!
Need to restart system.
20:40 comborico1611 left
El_Che that was a good ctrl+c 20:40
20:43 comborico1611 joined 20:44 HaraldJoerg1 joined 20:45 [Sno] joined, HaraldJoerg left 20:47 raynold joined 20:48 raynold left 20:49 raynold joined 20:52 Kaypie joined, Kaiepi left 20:53 mcmillhj left 20:57 FROGGS left 21:03 skids left 21:16 comborico1611 left 21:18 mcmillhj joined 21:22 MasterDuke joined 21:30 ktown left 21:32 mcmillhj left 21:35 windyhouse joined 21:39 mcmillhj joined 21:41 natrys left, ignis joined 21:44 mcmillhj left 21:46 mryan joined 21:47 mcmillhj joined, wamba left 21:52 mcmillhj left 21:53 cog_ joined, ufobat left 21:56 shinobicl left 21:57 HaraldJoerg1 left, ignis left 22:00 syntaxman joined
AlexDaniel squashable6: status 22:05
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈13 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/e9be1633e7a2dce351...2089cc6777
22:14 comborico1611 joined 22:17 cog_ left 22:21 mcmillhj joined, Ven`` joined 22:26 mcmillhj left 22:29 skids joined 22:35 mcmillhj joined 22:36 mryan left 22:40 mcmillhj left 22:46 pmurias left, comborico1611 left 22:51 rindolf left 22:53 mcmillhj joined 22:58 mcmillhj left 23:03 Ven`` left, mcmillhj joined 23:08 mcmillhj left 23:13 todd joined
todd any windows programmers here? 23:13
23:16 mcmillhj joined
todd I ask because I created a perl6 program for a customer and created a desktop icon (shortcut) for him to start it. Problem: Windows 7 won't let me pin the shortcut to the task bar, as perl6 is a .bat file. All of Google's suggestions do not work. What did you do to work around the problem? 23:17
Petit_Dejeuner I guess you make a wrapper that just calls system. 23:20
23:20 mcmillhj left
timotimo does anybody know how appveyor artifacts work? 23:20
23:21 Guest43854 left, windyhouse left
todd tried `cmd.exe /C perl6 xxx.pl6` and that did not work. 23:22
I tried running what the batch file ran and that did not work either: C:\rakudo\bin\moar.exe --execname="%~dpf0" --libpath="C:\rakudo\share\nqp\lib" --libpath="C:\rakudo\share\perl6\lib" --libpath="C:\rakudo\share\perl6\runtime" C:\rakudo\share\perl6\runtime\perl6.moarvm C:\NtUtil\RemoveMargin.pl6"
jnthn If the application is installed using `zef` or similar than that generates a batch file that launches the script 23:23
23:23 ktown joined
jnthn github.com/jnthn/p6-app-installermaker-wix may also be of interest 23:25
todd I installed perl6 with the msi from perl6.org
This is a Windows 7 issue for sure, I just worndered if you guys ever tripped across it and what did you do? 23:26
23:32 mcmillhj joined
jnthn todd: Hm, just played with it and got it to work 23:33
It doesn't directly work to pin it, but if after pinning it, then right click on the pinned icon, right click on the top entry, pick properties. The I put in there: %comspec% /k "C:\consulting\MoarVM\install\bin\perl6.bat c:\foo\foo.p6" 23:34
todd It pinned to the task bar??? What version of Winows are you using? 23:35
jnthn Replace that with your Rakudo path and script path, of course, those are just my local ones :)
This is in Win 7
23:36 dalek left 23:37 mcmillhj left
timotimo todd: imgur.com/poOh7mY - no promises, but maybe i can give you a bit of happyness today 23:40
todd that worked! Thank you. now how to tell comspec to exit the cmd windows after it finishes.
El_Che irc, the only place where windows is an esoteric OS for weird people :) 23:43
todd timo: I don't get it. Sorry. That look like Windows I-Can't-Count. If you were trying to scare me, it worked! :-) 23:44
El_Che "install\bin" <-- I wondered where the weird defaults in ./Configure.pl came from :)
todd changed the /k to /c and the window exited. Thank you!
timotimo todd: i figured out that appveyor lets me RDP into a running session, and i'm compiling rakudo at the moment 23:45
this is a windows server 2012 r2
... why is it a 64bit one, i thought i set it to 32bit?
jnthn todd: Add && exit 23:46
El_Che timotimo: do you mind taking some notes? I have that in my todo as well. Adding windows to rakudo-pkg-canary to test rakudo prereleases
jnthn todd: e.g. like %comspec% /k "C:\consulting\MoarVM\install\bin\perl6.bat c:\foo\foo.p6 && exit"
timotimo how do i find out if a given .exe is a 32bit or 64bit program?
El_Che timotimo: run it and look it in the task manager? 23:47
32 bit should be marked
timotimo ah
El_Che there is probably a ways without running it, though 23:48
23:48 mcmillhj joined
timotimo m( m( m( 23:48
it shows only cmd.exe
moar.exe doesn't even show up
ok i found it in the "details" tab 23:49
i've attached a microsoft visual studio to it
that should be able to tell me what's what
todd the turkley let me do it once, the would not allow it after that. :'( 23:51
23:52 mcmillhj left
El_Che jnthn: with your module in mind, is a relocatable rakudo something in the (far away) plans? 23:54
jnthn El_Che: It's one of those things I'm really hoping somebody other than me will figure out how to make happen. :-) 23:56
Though as with many things, if it blocks me at some point with something I'm working on, I'd probably try and do it. :-) 23:57
El_Che jnthn: after you? No sir, your future resignation or retirement not accepted :) 23:58