»ö« 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.
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?
timotimo no, source code isn't stored in there :( 00:48
perlawhirl serves me right, and all that jazz 00:52
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
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!
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!
rightfold Ternary binary infix operators are always fun. 05:49
jmerelo rightfold++ 05:53
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
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: «»
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
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)
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
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
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
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 🍕
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
AlexDaniel actually 07:55
AlexDaniel ah no, it's fine 07:59
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 🍕
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
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
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
Tison ufobat: for the latest star release, github.com/rakudo/star/issues/112 09:08
ufobat thanks! 09:08
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
jmerelo Ulti: they now match. Thanks! 09:47
antonio__: welcome!
elenamerelo: welcome!
Geth doc: terceranexus6++ created pull request #1988:
Translating to japanese
09:51
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
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
jmerelo El_Che: hi! 10:01
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++! ♥
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
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
squashable6 🍕 antoniogamiz++ opened pull request “Spanish translation”: github.com/perl6/doc/pull/1990
🍕🍕🍕 First contribution by antoniogamiz++! ♥
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
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
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 …
Tison whitespace does matter 10:46
squashable6 🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990
jmerelo El_Che: andalusian in my screen :-) 10:47
squashable6 🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 10:47
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 :)
squashable6 🍕 antoniogamiz++ synchronize pull request “Spanish translation”: github.com/perl6/doc/pull/1990 10:56
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
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
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
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
ufobat i've default-libmysqlclient-dev 11:37
nopaste.xyz/?57db2f121dd8fcb9#vmw2...kvNyMMvfU= 11:38
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* :-)
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 :)
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: :-)
ufobat stackoverflow.com/questions/501751...cker-image 12:36
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
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++! ♥
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!
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
?
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
lizmat afk& 13:31
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
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
Geth doc: e2804ffc20 | 陈梓立++ (committed using GitHub Web editor) | README.jp.md
Update README.jp.md
14:10
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
araraloren you can paste your code somewhere :) 14:26
ryn1x_ gist.github.com/ryn1x/18c2aa19b18b...1766e1cc19 14:31
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
moritz my pleasure 14:40
Geth perl6.org: ccworld1000++ created pull request #111:
Update fetch-recent-blog-posts.pl
14:46
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
Geth doc/master: 4 commits pushed by (Will "Coke" Coleda)++ 15:32
squashable6 🍕🍕🍕 First contribution by coke++! ♥
Geth doc/master: 4 commits pushed by (JJ Merelo)++ 15:44
jjmerelo p6: use experimental :collation; $*COLLATION.set(:quaternary(False), :tertiary(False)); say 'a' coll 'A'; 15:59
camelia Same
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..
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
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.
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
comborico1611 Alright. Thanks! 16:13
jjmerelo comborico1611: thanks and... I will also post it in StackOverflow? :-) 16:15
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
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*
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
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
comborico1611 Pasting from emacs to Stack, is a real pain. Really strange behavior. 16:37
jjmerelo comborico1611: really? Just copy-paste and then check on the "make code" icon. Or use ``` at the beginning and end. 16:38
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
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
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
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
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
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))
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
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
Geth doc: cf8d5a8ae5 | (Will "Coke" Coleda)++ | t/02-pod-valid.t
whitespace
19:00
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
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
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
[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 )
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
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.
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
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
comborico1611 How do you stop execution of a infinite loop? 20:38
El_Che comborico1611: break out of it
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.
El_Che that was a good ctrl+c 20:40
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
todd any windows programmers here? 23:13
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
timotimo does anybody know how appveyor artifacts work? 23:20
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
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
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
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
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
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