»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
00:02 pecastro left 00:16 Herby_ left
squashable6 🍕 JJ++ wrote a comment on “TODOs all over”: github.com/perl6/doc/issues/2277#i...-417896247 00:21
geekosaur ...todos TODOs? 00:22
squashable6 🍕 JJ++ wrote a comment on “Accidentally generate '/type/*'”: github.com/perl6/doc/issues/1656#i...-417896344 00:24
🍕 JJ++ wrote a comment on “document regex object in…”: github.com/perl6/doc/issues/1673#i...-417896380 00:25
Geth doc: b7924ecea5 | (Luis F. Uceta)++ | 19 files
Adjust heading links

Adjust links to headings according to latest adaptation of headings from #Links_Of_This_Form to #Links_of_this_form.
refs: github.com/perl6/doc/issues/1838
00:26
squashable6 🍕 JJ++ merged pull request “Adjust heading links”: github.com/perl6/doc/pull/2290
doc: daeaf94e2e | (Luis F. Uceta)++ | doc/Language/5to6-nutshell.pod6
Remove unnecessary underscore
synopsebot Link: doc.perl6.org/language/5to6-nutshell
squashable6 🍕 JJ++ wrote a comment on “Adjust heading links”: github.com/perl6/doc/pull/2290#iss...-417896403
Geth doc: 8e07fda7a0 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 18 files
Merge pull request #2290 from uzluisf/master

Adjust heading links
00:44 rindolf left 00:52 stmuk joined, p6bannerbot sets mode: +v stmuk 00:54 stmuk_ left 00:58 fireworks26 joined 01:03 fireworks26 left 01:04 stmuk_ joined 01:05 p6bannerbot sets mode: +v stmuk_ 01:06 stmuk left 01:17 stmuk joined 01:18 p6bannerbot sets mode: +v stmuk 01:20 stmuk_ left 01:55 jeek joined, p6bannerbot sets mode: +v jeek 02:10 lizmat left 02:12 aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh 02:15 davidebeatrici25 joined 02:18 davidebeatrici25 left 02:19 aindilis` left 02:20 aindilis joined 02:21 p6bannerbot sets mode: +v aindilis 02:22 lorimer5 joined 02:26 Khisanth left 02:27 lorimer5 left 02:39 Khisanth joined, p6bannerbot sets mode: +v Khisanth 02:55 thowe left 04:14 reportable6 left, committable6 left, nativecallable6 left, squashable6 left, undersightable6 left, evalable6 left, notable6 left, quotable6 left, statisfiable6 left, coverable6 left, bloatable6 left, unicodable6 left, shareable6 left, releasable6 left, benchable6 left, bisectable6 left, greppable6 left, notable6 joined, nativecallable6 joined, committable6 joined, coverable6 joined, greppable6 joined, ChanServ sets mode: +v greppable6, bisectable6 joined, ChanServ sets mode: +v bisectable6, bloatable6 joined, quotable6 joined, ChanServ sets mode: +v bloatable6, ChanServ sets mode: +v quotable6, benchable6 joined, unicodable6 joined, evalable6 joined, shareable6 joined, reportable6 joined, ChanServ sets mode: +v reportable6, squashable6 joined, ChanServ sets mode: +v squashable6, releasable6 joined, ChanServ sets mode: +v releasable6, undersightable6 joined, ChanServ sets mode: +v undersightable6, statisfiable6 joined 04:15 p6bannerbot sets mode: +v notable6, p6bannerbot sets mode: +v nativecallable6, p6bannerbot left, p6bannerbot joined, ChanServ sets mode: +o p6bannerbot
buggable New CPAN upload: HTTP-Tinyish-0.1.3.tar.gz by SKAJI modules.perl6.org/dist/HTTP::Tinyish:cpan:SKAJI 04:23
04:46 lichtkind joined 04:47 p6bannerbot sets mode: +v lichtkind 04:59 kaare_ joined 05:00 p6bannerbot sets mode: +v kaare_ 05:02 saki joined 05:03 p6bannerbot sets mode: +v saki 05:04 aborazmeh left 05:05 saki left, saki joined 05:06 p6bannerbot sets mode: +v saki 05:10 saki left 05:12 Sgeo_ joined 05:13 p6bannerbot sets mode: +v Sgeo_ 05:14 lichtkind left, Sgeo left 05:20 saki joined
squashable6 🍕 JJ++ edited issue “TODOs all over”: github.com/perl6/doc/issues/2277 05:20
05:21 p6bannerbot sets mode: +v saki 05:27 saki left
Geth doc: d7a2a42f18 | (JJ Merelo)++ | 3 files
Some reflow and checking for #2277

TODO in operator.pod6 mentioned prefix ||, but I haven't found a definition for that, so I deleted the mention. If that's incorrect, please give more information on where it's defined.
05:30
squashable6 🍕 JJ++ edited issue “TODOs all over”: github.com/perl6/doc/issues/2277
05:32 lichtkind joined 05:33 p6bannerbot sets mode: +v lichtkind 05:35 eliasr left 05:45 lichtkind left 05:58 Thorne joined 06:01 Thorne left 06:10 lichtkind joined 06:11 p6bannerbot sets mode: +v lichtkind 06:20 vrurg left 06:21 khronosschoty10 joined 06:23 lichtkind left 06:27 khronosschoty10 left 06:35 domidumont joined 06:36 p6bannerbot sets mode: +v domidumont
xinming method FALLBACK ($name, |c(Int, Str)) { 06:48
Does |c(Int, Str) means capture?
06:48 lichtkind joined
xinming I mean signature? 06:48
Does |c(Int, Str) mean signature
06:49 p6bannerbot sets mode: +v lichtkind 06:50 lichtkind left 06:51 Sgeo_ left 06:58 rindolf joined, p6bannerbot sets mode: +v rindolf 07:00 Sgeo joined 07:01 p6bannerbot sets mode: +v Sgeo 07:02 lichtkind joined 07:03 lichtkind left, lichtkind joined 07:04 lichtkind left, lichtkind joined, lichtkind left, lichtkind joined 07:05 lichtkind left, lichtkind joined 07:06 lichtkind left, lichtkind joined 07:07 lichtkind left, lichtkind joined, lichtkind left 07:08 lichtkind joined, lichtkind left, lichtkind joined 07:09 lichtkind left, lichtkind joined 07:10 lichtkind left, lichtkind joined, lichtkind left 07:28 quester left 07:36 Actualey` left 07:59 casdr left, casdr joined, p6bannerbot sets mode: +v casdr 08:10 blackberry9900 joined 08:11 p6bannerbot sets mode: +v blackberry9900 08:14 blackberry9900 left
AlexDaniel squashable6: status 08:19
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈3 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/852fb2d4cab6959204...bc2aa3ece2
08:21 domidumont left 08:24 spycrab0 left 08:33 GingerGeek joined, GingerGeek left 09:04 kaare_ left 09:09 rfold joined 09:10 p6bannerbot sets mode: +v rfold 09:52 molaf joined, kaare_ joined, p6bannerbot sets mode: +v molaf 09:53 p6bannerbot sets mode: +v kaare_ 10:12 hammond joined, hammond is now known as Guest49432 10:13 p6bannerbot sets mode: +v Guest49432
Guest49432 ⅼіgһt iѕ not dഠiᥒɡ􏿽xE2􏿽x80􏿽x80Aⅼⅼɑh iѕ dοiᥒg 10:13
faᥒ is􏿽xE2􏿽x80􏿽x81􏿽xE1􏿽xA5􏿽x92ot ԁоіnɡ Allah is ԁoinɡ
businessеss arе not dοіᥒg􏿽xE2􏿽x80􏿽x81􏿽xCE􏿽x91llɑһ iѕ ԁoinɡ
ɑmeriс iѕ ᥒot doinɡ Aⅼlah is ԁoing
amerіϲa іs ᥒot ⅾοⅰnɡ Alⅼaһ􏿽xE2􏿽x80􏿽x80iѕ ԁоing
fⅰre сaᥒ ᥒot b∪rn without the рerⅿissіoᥒ of alⅼah
kᥒife ϲɑn ᥒഠt cut􏿽xE2􏿽x80􏿽x80wⅰtho∪t thе perⅿіѕѕiοᥒ of аlⅼaһ
fiⅼesуsteⅿ ԁoes nⲟt write ᴡithout perⅿіssіⲟᥒ of аllah
ruⅼᥱrs􏿽xE2􏿽x80􏿽x81are nοt􏿽xE2􏿽x80􏿽x80􏿽xE2􏿽x85􏿽xBEoiᥒɡ Allah іs ԁഠіng
ɡഠᴠernments are ᥒοt dοіᥒɡ Aⅼlaһ is doinɡ
ѕleᥱp is not doіᥒg Αⅼⅼah is dοⅰnɡ
huᥒger iѕ􏿽xE2􏿽x80􏿽x80􏿽xE1􏿽xA5􏿽x92ot􏿽xE2􏿽x80􏿽x81􏿽xE2􏿽x85􏿽xBEഠing Alⅼah is ԁoⅰnɡ
fഠoԁ dοᥱѕ not take aᴡay the huᥒgᥱr Aⅼlɑһ tɑkes awaу the hᥙnɡer
ᴡater ԁoeѕ ᥒⲟt takе awау the thіrst Aⅼⅼah takes ɑᴡаy thе tһⅰrst
seᥱⅰᥒg is not doіᥒg Alⅼɑh􏿽xE2􏿽x80􏿽x80iѕ ⅾοing
һearⅰᥒɡ іs ᥒഠt dഠing Αⅼlаh іs doiᥒg
ѕeasoᥒs are nοt dⲟіng Allаһ􏿽xE2􏿽x80􏿽x80􏿽xE2􏿽x85􏿽xB0s dⲟⅰᥒg 10:14
weɑther is ᥒot dοinɡ􏿽xE2􏿽x80􏿽x81Alⅼah iѕ doіng
һuⅿanѕ arᥱ􏿽xE2􏿽x80􏿽x80not dοiᥒɡ Αⅼⅼɑh is doіnɡ
anⅰmаⅼs are not ԁⲟinɡ Ꭺllaһ іs ԁοing
the bеѕt􏿽xE2􏿽x80􏿽x80􏿽xC9􏿽x91mongѕt yоu ɑrе thοѕᥱ who learn ɑᥒԁ tеаch quraᥒ
οne ⅼetter􏿽xE2􏿽x80􏿽x81read from bοഠk of Allah аmountѕ􏿽xE2􏿽x80􏿽x80to􏿽xE2􏿽x80􏿽x80􏿽xE2􏿽xB2􏿽x9Fne ɡⲟod ԁeeԁ ɑnd Αllɑһ multiplies οne gooⅾ ⅾеeԁ teᥒ􏿽xE2􏿽x80􏿽x81tіmeѕ
hеɑrts get rusted аѕ􏿽xE2􏿽x80􏿽x81􏿽xD4􏿽x81oеѕ iron wіth ᴡаter to remοvе ruѕt from􏿽xE2􏿽x80􏿽x80heart recіtatіoᥒ of Quran ɑnd􏿽xE2􏿽x80􏿽x80remᥱmbеrаnce of ԁeɑth
hеart ⅰѕ ⅼіkenеԁ to а mirror
ᴡһеᥒ a реrson сommitѕ one ѕіn a blaϲk dot sustɑіns tһе hеart
tഠ ɑⅽcᥱⲣt Ιѕlаm say􏿽xE2􏿽x80􏿽x80tһɑt i bear ᴡitᥒеѕs tһɑt tһere is ᥒo deitу wοrthỿ οf ᴡorsһⅰp еxсept􏿽xE2􏿽x80􏿽x81􏿽xE1􏿽x8E􏿽xAAlⅼah aᥒⅾ Muhammаd реace be upഠn hіm іs hіѕ sⅼave andmessеnɡer
10:17 Guest49432 left
AlexDaniel mst: so that thing ↑ looked similar to the current spam 10:33
mst: i.e. a bunch of unicode characters instead of ascii letters, some unicode whitespace too
mst: btw they're probably using the list of confusables to mangle the text automatically, see unicode.org/cldr/utility/confusabl...amp;r=None 10:35
so matching these messages can be done in a similar fashion 10:36
squashable6: status 10:38
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/5a9c371bf2bffc2fdc...665bcf4523
10:55 lizmat joined 10:56 p6bannerbot sets mode: +v lizmat, pmurias joined 10:57 p6bannerbot sets mode: +v pmurias 11:14 pmurias left 11:28 saki joined, saki left, erdic left 11:29 erdic joined, p6bannerbot sets mode: +v erdic 11:30 pmurias joined, p6bannerbot sets mode: +v pmurias 11:47 saki joined, saki left 11:53 molaf left 11:55 saki joined, kaare_ left 11:56 p6bannerbot sets mode: +v saki
moritz masak_: twitter.com/juliagalef/status/1036...5788503040 12:00
AlexDaniel squashable6: status 12:14
squashable6 AlexDaniel, Next SQUASHathon in 32 days and ≈21 hours (2018-10-06 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel squashable6: log 2018-09-01
squashable6 AlexDaniel, Log and stats: gist.github.com/e1d92cfb622bd947b7...148d47ec1e
lizmat AlexDaniel++ # sorry wasn't able to participate this time, I wasn't in a good place 12:15
AlexDaniel lizmat: yeah I couldn't participate also, unfortunately 12:16
pmurias timotimo: I looked into the isprime_I stuff and it turns that for bignumbers the MoarVM bignum libraries recommends *smaller* number of miller rabin steps 12:17
timotimo oh?
i suppose it's more costly per run, the bigger the original number is 12:18
is that why?
does the density of prime numbers go down as you make the number bigger perhaps?
pmurias I'm not sure why I'm no mathematician ;) 12:19
mp_prime_rabin_miller_trials returns 4 for big enough numbers
AlexDaniel weekly: 13th squasathon ended (more than a year of squashathons, how cool is that!): github.com/rakudo/rakudo/wiki/Mont...Squash-Day 12:20
notable6 AlexDaniel, Noted!
pmurias timotimo: but the number of trials is supposed to give you 2^-96 propability of being wrong 12:21
12:31 hami joined, p6bannerbot sets mode: +v hami 12:35 hami left 12:40 eliasr joined, p6bannerbot sets mode: +v eliasr 12:41 molaf joined 12:42 p6bannerbot sets mode: +v molaf
pmurias timotimo: maybe getting rid of the number of iteration parameter to isprime_I and letting it pick a good value would make sense? 12:47
timotimo since all of our users currently just pass literal 100 or something like that, we can just ignore the value for now, lol
pmurias rakudo passes 100, the nqp tests pass 1 12:48
timotimo ha
i wonder what it returns if you pass 0
pmurias the MoarVM implementation checks by division against a bunch of smallish primes 12:50
so the nqp tests would pass without any miller rabin iterations
timotimo i see 12:51
12:55 unclechu[m] left 13:03 pmurias left 13:06 pmurias joined, xi- left, p6bannerbot sets mode: +v pmurias 13:10 kambiz20 joined, xi- joined, kambiz20 left 13:11 p6bannerbot sets mode: +v xi- 13:20 kaare_ joined 13:21 p6bannerbot sets mode: +v kaare_, aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh 13:22 p6bannerbot sets mode: +v aborazmeh 13:37 fk__ joined, p6bannerbot sets mode: +v fk__ 13:39 fk_ joined, fk__ left, p6bannerbot sets mode: +v fk_ 13:43 MasterDuke left, pmurias left
AlexDaniel lizmat: if I want top contributors of upcoming squashathons to receive a plush camelia as a prize, what should I do to make it happen? So that's about 12 camelias per year and I guess the shipping I can cover, but what about camelias themselves? 13:48
.tell jmerelo So I wonder, did we run out of squashable tickets in perl6/doc repo? It does feel like the fun stuff is no longer there after so many squashathons. Should we just go with random topic every month? 13:51
dpk: the bot is down 13:52
13:52 Hor|zon joined
dpk hmm, indeed 13:52
13:52 p6bannerbot sets mode: +v Hor|zon
dpk curious, it seems to be crashing on startup for some reason 13:52
13:56 pmurias joined 13:57 p6bannerbot sets mode: +v pmurias 14:01 yoleaux joined, ChanServ sets mode: +v yoleaux
dpk AlexDaniel: fixed 14:01
AlexDaniel .tell jmerelo So I wonder, did we run out of squashable tickets in perl6/doc repo? It does feel like the fun stuff is no longer there after so many squashathons. Should we just go with random topic every month?
yoleaux AlexDaniel: I'll pass your message to jmerelo.
AlexDaniel dpk: thank you!
lizmat AlexDaniel: that's an excellent idea. Just make sure that I get the address of the winners :-) 14:07
14:08 aborazmeh left
AlexDaniel lizmat: unclear, are you saying that we (I or whoever) should simply announce the winner and you will be sending them out? 14:10
that sounds too simple to be true :)
.tell Zoffix what's your predicted date for v6.d release? I wanna synchronize it a bit with my plans for future squashathons 14:13
yoleaux AlexDaniel: I'll pass your message to Zoffix.
AlexDaniel .tell Zoffix I mean, synchronize squashathons with whatever you reply :)
yoleaux AlexDaniel: I'll pass your message to Zoffix.
14:14 zakharyas joined 14:15 p6bannerbot sets mode: +v zakharyas 14:30 aindilis left 14:45 camelia left, S007 left 14:46 S007 joined, p6bannerbot sets mode: +v S007, camelia joined 14:47 p6bannerbot sets mode: +v camelia, jkramer left, jkramer joined 14:48 p6bannerbot sets mode: +v jkramer 14:52 fk_ left 15:03 fk_ joined, p6bannerbot sets mode: +v fk_ 15:11 drudgesentinel left 15:31 Sgeo left 15:32 Sgeo joined, p6bannerbot sets mode: +v Sgeo 15:43 vike1 left 15:46 vike1 joined 15:47 p6bannerbot sets mode: +v vike1 15:50 jjmerelo joined, p6bannerbot sets mode: +v jjmerelo
jjmerelo squashable: status 15:50
squashable6 jjmerelo, Next SQUASHathon in 32 days and ≈18 hours (2018-10-06 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
jjmerelo releasable6: status
releasable6 jjmerelo, Next release will happen when it's ready. 0 blockers. 0 out of 504 commits logged
jjmerelo, Details: gist.github.com/c59e6d4a14b4a236c3...620947d709 15:51
jjmerelo The results of this last hackathon... have not been ideal. Last week of August, plus Labor day weekend. Plus little hype on the net. 15:55
Let's do better next time. 15:56
15:58 ExtraCrispy joined
lizmat AlexDaniel: it's that simple :-) 15:59
15:59 p6bannerbot sets mode: +v ExtraCrispy
AlexDaniel jjmerelo: there's a bot message for “jmerelo” 15:59
jjmerelo: colabti.org/irclogger/irclogger_log...09-02#l310 16:00
lizmat: that's great. Thank you
lizmat++
16:00 poxifide6 joined
jjmerelo AlexDaniel: not really. There's a lot of stuff to do. I don't know if it's fun, but it's got to be done. 16:01
AlexDaniel: sending Camelias would be a good idea, but some ground rules would have to be laid out or they would always be received by the same. 16:03
AlexDaniel maybe? I'm not sure, a winner is a winner :)
we'll figure it out 16:04
jjmerelo AlexDaniel: OK
16:05 poxifide6 left
jjmerelo AlexDaniel: I wouldn't change the rules of the hackathon just because this last one kinda tanked. As I said, dates are not conductive to sitting down and coding. 16:05
AlexDaniel jjmerelo: well, also it was not advertized *at all*
kinda slipped through the cracks, and I totally forgot too 16:06
jjmerelo AlexDaniel: that too. I am spending family holidays in the USA. I have been close to my laptop only early in the morning (like now)
AlexDaniel: so maybe two conclusions: let's hype it more the days before, let's change dates if they are a major holiday (or end of holiday, as it were) 16:07
AlexDaniel jjmerelo: what holiday are we talking about btw?
jjmerelo AlexDaniel: Labor Day. It's a long weekend in the USA 16:08
AlexDaniel 🤷
jjmerelo Labor day is tomorrow, so lots of people are moving around taking advantage of the non-working Monday.
Also in many places, including Spain, back-to-work day is tomorrow. So people are enjoying the last days of holidays, packing, driving, getting depressed because work, all that. 16:10
16:19 fxrh8 joined 16:20 fxrh8 left 16:28 fake_space_whale joined 16:29 p6bannerbot sets mode: +v fake_space_whale 16:30 vike1 left 16:35 vike1 joined 16:36 p6bannerbot sets mode: +v vike1
tbrowder_ some squash winner ideas: prioritize issues, gives weight to successful fixer with a test (have to claim the issue, gets negative weight if not finished by squash end, negative values carry over) 16:45
AlexDaniel let's not overcomplicate things :) 16:46
tbrowder_ well, you have so much automated, you must have more bots hidden away that could do that :D 16:47
jjmerelo: are you being affected by the fires? 16:49
16:49 fk_ left
Geth doc: c624b1cf19 | (JJ Merelo)++ | doc/Language/list.pod6
Reformatting and reflow
16:54
doc: 1b7ce6e2f7 | (JJ Merelo)++ | doc/Language/list.pod6
Adds documentation on using iterators over lists

This solves a TODO in the code, refs #2277
synopsebot Link: doc.perl6.org/language/list
jjmerelo tbrowder_: not really; I'm in Venice, and the only fires are those that lit the joints people are smoking 16:55
tbrowder_: but thanks for asking. We've done only Los Angeles, with a short jaunt to Vegas and Death Valley. Which was hot as hell's bakery, but not literally on fire. 16:56
tbrowder_ ha! good one, glad you’re ok. but watch that second hand smoke!
jjmerelo tbrowder_: I'll do that. :-) Closing now for breakfast. See you! 16:57
tbrowder_ in death valley you have to watch out for pilots trying to fly below sea level.
17:01 jjmerelo left 17:06 sotona joined, p6bannerbot sets mode: +v sotona 17:15 MilkmanDan left 17:16 fk_ joined 17:17 p6bannerbot sets mode: +v fk_ 17:18 MilkmanDan joined, p6bannerbot sets mode: +v MilkmanDan 17:26 DarthGandalf left 17:30 DarthGandalf joined, p6bannerbot sets mode: +v DarthGandalf 17:31 ExtraCrispy left 17:34 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke
timotimo did i just hallucinate that? i think somebody asked me if my FASTA code ran on postrelease-opts? and i said yes? i think i actually ran them on master instead 17:38
AlexDaniel timotimo: you said yes, yes 17:39
timotimo: brrt on #moarvm I think
17:40 DarthGandalf left
timotimo ah, no, i meant what japhb asked me 17:40
i didn't find it because i searched for "japhb", but only in the message text
17:41 DarthGandalf joined, p6bannerbot sets mode: +v DarthGandalf 17:42 fk_ left
AlexDaniel oh whoops, yeah, japhb 17:46
on #moarvm though
AlexDaniel is happy to be half right 17:47
timotimo :)
AlexDaniel
.oO( or half wrong, which one sounds more positive? )
timotimo thanks
it helped
17:48 DarthGandalf left 17:49 spycrab0 joined, p6bannerbot sets mode: +v spycrab0 17:59 DarthGandalf joined, p6bannerbot sets mode: +v DarthGandalf 18:02 lizmat left 18:06 Sgeo_ joined 18:07 p6bannerbot sets mode: +v Sgeo_ 18:08 Sgeo left 18:10 Sgeo__ joined, p6bannerbot sets mode: +v Sgeo__ 18:12 Sgeo_ left 18:32 lizmat joined 18:33 p6bannerbot sets mode: +v lizmat 18:48 domidumont joined 18:49 p6bannerbot sets mode: +v domidumont 18:53 patrickz joined, p6bannerbot sets mode: +v patrickz 18:57 HaraldJoerg joined, p6bannerbot sets mode: +v HaraldJoerg 19:05 domidumont left 19:08 dylanwh left 19:13 HaraldJoerg1 joined 19:14 p6bannerbot sets mode: +v HaraldJoerg1, HaraldJoerg left 19:33 dylanwh joined 19:34 p6bannerbot sets mode: +v dylanwh 19:38 pecastro joined, |oLa| joined, p6bannerbot sets mode: +v pecastro 19:39 p6bannerbot sets mode: +v |oLa| 19:42 |oLa| left
timotimo m: my @aoa = (my int8 @ = (0..1).roll(10)) xx 10; .WHERE.say for @aoa 19:50
camelia 140473474368856
140473474368856
140473474368856
140473474368856
140473474368856
140473474368856
140473474368856
140473474368856
140473474368856
140473474368856
timotimo oh, hah
is that state?
m: my @aoa = (my int8 @x = (0..1).roll(10)) xx 10; .WHERE.say for @aoa 19:51
camelia 140191386219928
140191386219928
140191386219928
140191386219928
140191386219928
140191386219928
140191386219928
140191386219928
140191386219928
140191386219928
timotimo m: my @aoa = (Array[int8].new((0..1).roll(10)) xx 10; .WHERE.say for @aoa
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot use variable @aoa in declaration to initialize itself
at <tmp>:1
------> 3(0..1).roll(10)) xx 10; .WHERE.say for @7⏏5aoa
expecting any of:
term
timotimo um ... huh? 19:52
ah, perhaps a paren problem
m: my @aoa = (Array[int8].new((0..1).roll(10))) xx 10; .WHERE.say for @aoa
camelia Type check failed in assignment to ; expected int8 but got Int (1)
in block <unit> at <tmp> line 1
timotimo m: my @aoa = (Array[int8].new(|(0..1).roll(10))) xx 10; .WHERE.say for @aoa
camelia Type check failed in assignment to ; expected int8 but got Int (1)
in block <unit> at <tmp> line 1
timotimo oh jeez
i guess braces should help 19:54
m: my @aoa = (do { my int8 @x = (0..1).roll(10) }) xx 10; .WHERE.say for @aoa 19:55
camelia 140598156011776
140598156035088
140598156037456
140598156039824
140598156042192
140598156044560
140598156046928
140598156049296
140598156051664
140598156054032
timotimo nice
m: my int8 @foo = 1, 2, 3; my int8 @bar = 9, 9, 9; @foo.splice(0, 3, @bar) 20:05
camelia ( no output )
timotimo m: my int8 @foo = 1, 2, 3; my int8 @bar = 9, 9, 9; my @a = @foo, @bar; @a[0].splice(0, 3, @a[1])
camelia This type (Scalar) does not support elems
in block <unit> at <tmp> line 1
timotimo m: my int8 @foo = 1, 2, 3; my int8 @bar = 9, 9, 9; my @a = @foo, @bar; @a[0].splice(0, 3, @a[1]<>)
camelia ( no output )
timotimo m: my int8 @foo = 1, 2, 3; my int8 @bar = 9, 9, 9; my @a = @foo, @bar; @a[0].splice(0, 3, @a[1]<>); say @a.perl
camelia [array[int8].new(9, 9, 9), array[int8].new(9, 9, 9)]
timotimo interesting, i wonder if this broke in postrelease-opts
or fixed in rakudo 20:06
or maybe my code is sufficiently different from what's in irc 20:10
m: my $h = 5; my $w = 7; my @rows = (do { my int8 @a = (0..1).roll($w + 2) }) xx $h + 2; @rows[0].splice(0, $w + 2, @rows[$h + 1]); 20:13
camelia This type (Scalar) does not support elems
in block <unit> at <tmp> line 1
timotimo so, i wonder what i did wrong there
20:15 cognominal-p6 joined
timotimo m: my $h = 5; my $w = 7; my @rows = (do { my int8 @a = (0..1).roll($w + 2) }) xx $h + 2; @rows[0].splice(0, 5, @rows[1]); 20:15
camelia This type (Scalar) does not support elems
in block <unit> at <tmp> line 1
20:16 p6bannerbot sets mode: +v cognominal-p6
timotimo this something to do with slurpy args in general, i wonder? 20:18
m: my $h = 5; my $w = 7; my @rows = (do { my int8 @a = (0..1).roll($w + 2) }) xx $h + 2; @rows[0].&splice(0, 5, @rows[1]);
camelia This type (Scalar) does not support elems
in block <unit> at <tmp> line 1
timotimo ok at least it's the same with the sub form
20:19 dct joined, p6bannerbot sets mode: +v dct 20:22 zakharyas left 20:23 Herby_ joined 20:24 p6bannerbot sets mode: +v Herby_
Herby_ o/ 20:25
20:33 aindilis joined 20:34 p6bannerbot sets mode: +v aindilis
DrForr o/' 20:47
20:47 HaraldJoerg1 is now known as HaraldJoerg 20:54 eliasr left 21:21 sotona left 21:22 kerframil joined, p6bannerbot sets mode: +v kerframil 21:24 l0de10 joined 21:25 l0de10 left 21:26 patrickz left 21:33 Herby_ left 21:34 fake_space_whale left 21:35 fake_space_whale joined, rfold left, p6bannerbot sets mode: +v fake_space_whale
Xliff Is there a way to get NativeCall to accept a function pointer, where the arguments can be determined at runtime? 21:55
21:55 sotona joined 21:56 p6bannerbot sets mode: +v sotona 21:59 sotona left 22:02 Exodist left
DrForr At runtime? That sounds like a vsprintf-like situation. 22:08
(I don't have an answer, just an analogy to a common C case that might help. 22:09
I'm pretty sure that sprintf() builds its call list through macros and maybe looking at those might help. 22:10
I"m guessing offhand that you'd have to build the arguments and write a helper that pushes them onto the stack. 22:11
timotimo va_list is ... rather fun
22:12 Exodist joined
DrForr for strange values of fun, though it'd be very much worth encapsulating. 22:12
22:12 p6bannerbot sets mode: +v Exodist
timotimo it's hard to encapsulate, as putting the functionality into functions will give you a new stack frame, and they will ever only work on their own stack frames under those circumstances 22:14
DrForr I've only ever written an sprintf-alike once, and that was quite enough for me. I don't remember the details, which is probably a blessing, as I remember reading assembly at one point. 22:18
Xliff No, I think va_list for Perl6 will need to use a C-based helper.
Pass the va part as a CArray to the helper and let it do the work.
Makes trying to do that in a flexible manner rather... not fun. 22:19
No. I was more thinking callbacks, but I was hoping to cheat.
Next question....
Is there any way to use caller() to emulate "protected" methods? I would think so. 22:20
Take the caller, check the package name to insure it is in the right namespace.
timotimo m: sub test { say CALLER::.^methods } 22:21
camelia ( no output )
timotimo m: sub test { say CALLER::.^methods }; test
camelia (new WHICH BIND-KEY EXISTS-KEY Method+{is-nodal}.new Method+{is-nodal}.new BUILDALL lazy-if Method+{is-nodal}.new Method+{is-nodal}.new Method+{is-nodal}.new Capture race Method+{is-nodal}.new of FLATTENABLE_LIST Method+{is-nodal}.new Method+{is-nodal…
Xliff The trick is to know what I can get out of caller() 22:22
timotimo ah, CALLER is a pseudostash of course 22:23
m: sub test { say CALLER::('::?PACKAGE') }; package Lol { our sub loltester { test } }; test; Lol::loltester;
camelia No such symbol 'CALLER::::?PACKAGE'
in sub test at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff Mebbe callframe() would be a better alternative?
timotimo m: sub test { say CALLER::.WHO{'::?PACKAGE'} }; package Lol { our sub loltester { test } }; test; Lol::loltester; 22:24
camelia (Any)
(Any)
timotimo m: sub test { say CALLER::.WHO.keys }; package Lol { our sub loltester { test } }; test; Lol::loltester;
camelia ()
()
timotimo hum.
m: sub test { say CALLER::.WHO{'$?PACKAGE'} }; package Lol { our sub loltester { test } }; test; Lol::loltester;
camelia (Any)
(Any)
timotimo weird 22:25
sub test { .say given CALLER::(Q[$?PACKAGE]) }; test
m: sub test { .say given CALLER::(Q[$?PACKAGE]) }; test
camelia (GLOBAL)
timotimo m: sub test { .say given CALLER::(Q[$?PACKAGE]) }; package Lol { our sub loltester { test } }; test; loltester
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
loltester used at line 1
timotimo m: sub test { .say given CALLER::(Q[$?PACKAGE]) }; package Lol { our sub loltester { test } }; test; Lol::loltester
camelia (GLOBAL)
No such symbol 'CALLER::$?PACKAGE'
in sub test at <tmp> line 1
in sub loltester at <tmp> line 1
in block <unit> at <tmp> line 1
timotimo m: sub test { .say given CALLERS::(Q[$?PACKAGE]) }; package Lol { our sub loltester { test } }; test; Lol::loltester
camelia (GLOBAL)
(Lol)
timotimo there we go 22:26
how do you like this, Xliff?
Xliff Hmmm... 22:27
22:27 sotona joined
Xliff m: sub test { .say given CALLERS::(Q[$?PACKAGE]) }; Class A { method a { test; }; }; package Lol { our sub loltester { test } }; test; Lol::loltester; A.a; 22:27
camelia 5===SORRY!5===
Undeclared names:
A used at line 1
Class used at line 1

Other potential difficulties:
Useless declaration of a has-scoped method in mainline (did you mean 'my method a'?)
at <tmp>:1
------> 3LER…
22:27 vrurg joined, p6bannerbot sets mode: +v sotona
Xliff m: sub test { .say given CALLERS::(Q[$?PACKAGE]) }; class A { method a { test; }; }; package Lol { our sub loltester { test } }; test; Lol::loltester; A.a; 22:28
camelia (GLOBAL)
(Lol)
(A)
Xliff m: sub test { .say given CALLERS::(Q[$?PACKAGE]) }; class A::A { method a { test; }; }; package Lol { our sub loltester { test } }; test; Lol::loltester; A.a;
camelia (GLOBAL)
No such method 'a' for invocant of type 'A'
in block <unit> at <tmp> line 1

(Lol)
Xliff m: sub test { .say given CALLERS::(Q[$?PACKAGE]) }; class A::A { method a { test; }; }; package Lol { our sub loltester { test } }; test; Lol::loltester; A::A.a;
camelia (GLOBAL)
(Lol)
(A)
22:28 p6bannerbot sets mode: +v vrurg
Xliff Hrm. A, not A::A 22:28
timotimo maybe needs .longname or something
Xliff m: sub test { .longname.say given CALLERS::(Q[$?PACKAGE]) }; class A::A { method a { test; }; }; package Lol { our sub loltester { test } }; test; Lol::loltester; A::A.a; 22:29
camelia No such method 'longname' for invocant of type 'GLOBAL'
in sub test at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: sub test { .say given CALLERS::(Q[$?PACKAGE]).longname }; class A::A { method a { test; }; }; package Lol { our sub loltester { test } }; test; Lol::loltester; A::A.a;
camelia No such method 'longname' for invocant of type 'GLOBAL'
in sub test at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: sub test { callers(1).code.longname.say }; package Lol { sub lol { test; } }; Lol::lol.test; 22:30
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
callers used at line 1
Xliff m: sub test { callframe(1).code.longname.say }; package Lol { sub lol { test; } }; Lol::lol.test;
camelia Could not find symbol '&lol'
in block <unit> at <tmp> line 1
Xliff m: sub test { callframe(1).code.longname.say }; package Lol { our sub lol { test; }; }; Lol::lol.test;
camelia No such method 'longname' for invocant of type 'Sub'
in sub test at <tmp> line 1
in sub lol at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: sub test { callframe(1).code.package.say }; package Lol { our sub lol { test; }; }; Lol::lol.test; 22:31
camelia (Lol)
No such method 'test' for invocant of type 'Bool'. Did you mean any of these?
List
Set
gist
list

in block <unit> at <tmp> line 1
Xliff m: sub test { callframe(1).code.^methods.say }; package Lol { our sub lol { test; }; }; Lol::lol.test;
camelia (<anon> yada <anon> multi <anon> <anon> <anon> package <anon> <anon> <anon> <anon> <anon> unwrap <anon> <anon> gist cando soft <anon> <anon> <anon> onlystar candidates leave perl wrap <anon> BUILDALL of pos add_phaser fire_if_phasers has-phasers <anon…
Xliff m: sub test { callframe(1).code.package.say }; package Lol { our sub lol { test; }; }; Lol::lol.test;
camelia (Lol)
No such method 'test' for invocant of type 'Bool'. Did you mean any of these?
List
Set
gist
list

in block <unit> at <tmp> line 1
Xliff m: sub test { .say given CALLERS::(Q[$?CLASS]) }; class A::A { method a { test; }; }; package Lol { our sub loltester { test } }; test; Lol::loltester; A::A.a; 22:33
camelia No such symbol 'CALLERS::$?CLASS'
in sub test at <tmp> line 1
in block <unit> at <tmp> line 1
22:33 dp311 joined
Xliff m: sub test { callframe(1).code.^name.say }; package Lol { our sub lol { test; }; }; Lol::lol.test; 22:35
camelia Sub
No such method 'test' for invocant of type 'Bool'. Did you mean any of these?
List
Set
gist
list

in block <unit> at <tmp> line 1
Xliff m: sub test { callframe(1).code.^name.say }; package Lol { our sub lol { test; }; }; Lol.test;
camelia No such method 'test' for invocant of type 'Lol'
in block <unit> at <tmp> line 1
Xliff m: sub test { callframe(1).code.^name.say }; package Lol { our sub lol { test; }; }; Lol::test;
camelia Could not find symbol '&test'
in block <unit> at <tmp> line 1
Xliff m: our sub test { callframe(1).code.^name.say }; package Lol { our sub lol { test; }; }; Lol::test;
camelia Block
Xliff m: our sub test { callframe(1).code.package }; package Lol { our sub lol { test; }; }; Lol::test; 22:36
camelia No such method 'package' for invocant of type 'Block'
in sub test at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: our sub test { callframe(1).code.name }; package Lol { our sub lol { test; }; }; Lol::test;
camelia ( no output )
Xliff m: our sub test { callframe(1).code.name.say }; package Lol { our sub lol { test; }; }; Lol::test;
camelia <unit>
22:36 dp311 left
Xliff m: our sub test { callframe(0).code.name.say }; package Lol { our sub lol { test; }; }; Lol::test; 22:36
camelia test
22:39 sauvin left 22:41 sauvin joined, p6bannerbot sets mode: +v sauvin
Xliff timotimo: ↓ 22:43
m: our sub test { callframe(1).code.package.^name.say }; package Lol { our sub lol { test; }; }; class A::B { method a { test; }; }; Lol::lol; A::B.a
camelia Lol
A::B
23:01 sotona left
Geth doc: 36e433adad | 陈梓立++ (committed using GitHub Web editor) | doc/Type/Grammar.pod6
Clarify how *%opt parameter works

the most important point is distinguish compile time adverbs and run time ones.
this close #1651
23:01
synopsebot Link: doc.perl6.org/type/Grammar
fake_space_whale when using the ». operator, is there a way of making the parameters be re-evaluated each time? For example if I want to pass a random number 23:02
?
23:12 pmurias left 23:22 reportable6 left, reportable6 joined, ChanServ sets mode: +v reportable6 23:23 p6bannerbot sets mode: +v reportable6 23:27 HaraldJoerg left 23:34 perlguest joined, p6bannerbot sets mode: +v perlguest, perlguest left 23:40 kerframil left 23:42 kerframil joined, p6bannerbot sets mode: +v kerframil 23:44 sotona joined 23:45 p6bannerbot sets mode: +v sotona, rindolf left 23:48 sotona left, DarthGandalf left 23:49 DarthGandalf joined, p6bannerbot sets mode: +v DarthGandalf 23:50 jferrero_ joined 23:51 p6bannerbot sets mode: +v jferrero_ 23:54 jferrero left 23:59 pecastro left, lizmat left, MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke