🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:34 sftp left 00:43 sftp joined 00:44 holli__ left 01:00 wamba left 01:02 ape666 joined 01:24 aborazmeh joined, aborazmeh left, aborazmeh joined 01:25 Chi1thangoo left 01:35 perlbot left 01:36 simcop2387 left 01:37 frost-lab joined 01:46 perlbot joined, simcop2387 joined 01:49 peteretep left, Grinnz left 01:50 zostay left, mithaldu_ left, lucasb left, mithaldu_ joined, Grinnz joined 01:51 zostay joined, lucasb joined 01:52 peteretep joined 01:53 Sgeo left 01:54 Sgeo joined 02:04 sftp left 02:09 zacts joined, sftp joined 02:13 Xliff left 02:16 molaf left 02:22 zacts left 02:29 molaf joined 02:33 Sgeo left 02:34 guifa left 02:37 Sgeo joined 02:44 ape666 left 02:52 lucasb left 02:54 zacts joined 03:03 ape666 joined 03:04 sftp left 03:35 ape666 left, zacts left 03:47 aborazmeh left 03:53 sftp joined 04:43 BenGoldberg left 04:55 zacts joined 05:00 zacts left 05:07 bocaneri joined 05:16 bocaneri left, bocaneri joined 05:27 skids left 05:55 wamba joined 06:04 kst joined 06:25 parabolize left 06:47 maggotbrain joined 07:01 oodani left 07:12 sena_kun joined 07:19 rir left 07:20 rir joined 07:22 sjm_uk joined, Woodi left 07:26 jmerelo joined 07:30 ufobat joined, Woodi joined 07:33 abraxxa left, BenGoldberg joined 07:34 abraxxa joined, Sgeo left, patrickb joined 07:40 eery left, eery joined 08:03 rindolf joined 08:06 BenGoldberg left 08:08 Altai-man joined 08:11 sena_kun left 08:14 holli__ joined 08:23 Xliff joined, aborazmeh joined, aborazmeh left, aborazmeh joined
Xliff \o 08:23
jmerelo Hi, Xliff 08:24
tellable6 2020-10-27T01:45:36Z #raku <melezhik> jmerelo: hi @jmerelo! tell me how it goes with rakudist and if you need any help, thanks
jmerelo .tell melezhik not totally sure what you're talking about...
tellable6 jmerelo, I'll pass your message to melezhik
Altai-man jmerelo, o/ 08:26
jmerelo hey, Altai-man 08:27
Altai-man jmerelo, did you have any luck with building docs after attributes check?
Xliff Does sub MAIN allow you to specify default as given in the signature?
jmerelo Altai-man: not tried, sorry. with a cold, grading stuff for class, and then I had a backlog of other things to do. 08:28
Xliff If not, how would I go about invoking &*GENERATE-USAGE so I can do it myself?
jmerelo Altai-man: I still have to go through Raku::Ecosystem
Altai-man jmerelo, oh. Get well soon and take care! 08:29
Xliff &*GENERATE-USAGE(&MAIN, |&MAIN.signature)?
jmerelo Altai-man: thanks :-) going to be around, anyway.
Altai-man I just sorted some stuff and now will have more time for the docs project. It is like 80% finished or something as for now.
jmerelo Altai-man: that would be great. They're starting to look a bit outdated... 08:30
Xliff Ah! Nevermind. Was overthinking. 08:33
gist.github.com/Xliff/554c0017ecba...3ff173a183 08:37
08:38 pecastro joined
Geth doc: patrickbkr++ created pull request #3680:
Remove out of place AUTHORS section
08:39
patrickb jmerelo: I'm looking at docs.raku.org/programs/03-environment-variables and noticed it's a copy of github.com/rakudo/rakudo/blob/mast...unning.pod with some bits removed. 08:47
I think it makes sense to just link to the original page instead.
I'm unsure of how to inject a link into docs.raku.org/programs.html though. Can you give me a pointer where to look? 08:48
jmerelo patrickb: those pages are automatically generated in Documentable. 08:50
patrickb: and you know I'm not much for removing stuff. There's (almost) always a good reason to keep it, including indexing, for instance. 08:51
patrickb Hm. We could automatically copy the file over from the repo. Might be a bad idea... 08:52
jmerelo patrickb: there are quite a few anchor links there github.com/Raku/doc/blob/master/do...ables.pod6 08:53
patrickb: patching it over might be an option, but then I'd simply keep it updated through issues 08:54
patrickb Ugh. OK, maybe just manually doing it from time to time is the best way forward.
jmerelo patrickb: paradoxically, it looks like the option that needs the least amount of maintenance 08:56
08:57 grep0r joined, grep0r left 08:58 frost-lab left 09:01 dudz joined, dudz left, dudz joined 09:24 domidumont joined
Xliff m: &*GENERATE-USAGE.file.say; &*GENERATE-USAGE.line.say 09:27
camelia Dynamic variable &*GENERATE-USAGE not found
in block <unit> at <tmp> line 1
Xliff m: sub USAGE { &*GENERATE-USAGE.file.say; &*GENERATE-USAGE.line.say }; sub MAIN { }; MAIN() 09:28
camelia ( no output )
09:35 AlexDaniel joined, AlexDaniel left, AlexDaniel joined 09:50 abraxxa left 09:51 abraxxa joined 09:52 Xliff left 09:58 abraxxa left 09:59 aborazmeh left, abraxxa joined
Geth doc: patrickbkr++ created pull request #3681:
Rename and update Programs/03-environment-variables.pod6
10:00
patrickb jmerelo: Do you think it's OK to leave the X<|> markers in the rakudo/rakudo/docs/running.pod version of the file? That would simplify the job of keeping the two files in sync. 10:02
Geth problem-solving: 5c5955978d | (Aleks-Daniel Jakimenko-Aleksejev)++ | .github/CODEOWNERS
Add CODEOWNERS file

Just testing the github feature. More about it here:
  * docs.github.com/en/free-pro-team@l...ode-owners
See this comment to understand why it may be useful: ... (10 more lines)
10:06
Altai-man patrickb, hi. I am now working on a long standing project of converting docs website to a dynamic one. When it is up, redirects will be nice and handy. Until now any structural changes will result in links being broken. 10:08
patrickb Hi. :-)
Ah. So the worry is about external links. So what this basically means is: Just don't rename the file. Right? 10:09
jmerelo patrickb: you mean the original ones? I didn't check out that file. Manual updating is best anyway, different repos, different standards
Altai-man Right-y.
patrickb jmerelo: The two files are now identical except for the extra TITLE and SUBTITLE headers at the top and the extra X<|asdf> markers spread throughout the text. 10:11
10:13 domidumont left
Geth problem-solving: a517aab345 | (Aleks-Daniel Jakimenko-Aleksejev)++ | .github/CODEOWNERS
Comment out invalid CODEOWNERS entries

Otherwise github rejects the whole file.
10:13
jmerelo patrickb: ah, OK. They needn't be... The one in the documentation will probably evolve as issues arise.
patrickb jmerelo: But if errors in the file are fixed or additions are made they should be fixed in both places. Keeping them in sync makes updates easier. Alternatively, should we delete the file in the rakudo repo? 10:15
jmerelo patrickb: not for me to say. And I don't really think they'll be kept in sync for long... I really think updating manually when needed will be easier than maintaining a patching script 10:17
patrickb I don't intend to write a script. 10:18
I'll remove the X<|> thingies.
In the rakudo/rakudo repo version, that is. 10:19
jmerelo patrickb++ 10:24
10:24 rheum101 left 10:49 pecastro left 10:58 BenGoldberg joined
Geth doc: 1dc02c0543 | (Patrick Böker)++ | doc/Programs/03-environment-variables.pod6
Update Programs/03-environment-variables.pod6

This file is a copy of [rakudo/docs/running.pod]<github.com/rakudo/rakudo/blob/mast...ng.pod> but ran out of sync. Merge the two files. Also now include all bits of the rakudo/rakudo version of the file and not only the environment variable paragraph.
Of note this also pulls in the documentation for the new `rakuw.exe` and
  `rakudow.exe` executables.
10:59
doc: 5e90de278a | (Patrick Böker)++ (committed using GitHub Web editor) | doc/Programs/03-environment-variables.pod6
Merge pull request #3681 from patrickbkr/update-running-rakudo

Rename and update Programs/03-environment-variables.pod6
11:00 pecastro joined 11:08 pecastro left 11:09 rindolf left 11:10 Black_Ribbon left 11:21 rindolf joined 11:23 pecastro joined 11:28 pecastro left 11:32 BenGoldberg left 12:08 [Sno] joined 12:09 sena_kun joined 12:11 sno left, Altai-man left
El_Che lo 12:23
cpan-raku New module released to CPAN! Array::Circular (0.0.2) by 03ELIZABETH 12:37
Geth doc: 7acde3f15a | (JJ Merelo)++ | META6.json
Updates deps after new release, closes #3616
12:39
linkable6 DOC#3616 [closed]: github.com/Raku/doc/issues/3616 [build] Fail installation of dependencies with File::Find
jmerelo El_Che: hey 12:48
12:48 zacts joined 12:51 holli__ left
cpan-raku New module released to CPAN! Sub::Memoized (0.0.4) by 03ELIZABETH 12:53
New module released to CPAN! Hash::LRU (0.0.2) by 03ELIZABETH
New module released to CPAN! Hash::Restricted (0.0.6) by 03ELIZABETH
sjn looks with puzzlement at Hash::LRU 12:56
12:59 abraxxa left
lizmat wonders why sjn does that 13:00
13:00 abraxxa joined
jmerelo * me can't think of anything intelligent to say. Off to cook I go. 13:01
sjn lizmat: no worries, it just took me a moment to realize what the module was
13:02 jmerelo left
lizmat yeah, it''s a forgettable Hash :-) 13:02
13:02 wamba left
sjn Nah, I was just thrown off a little by that you didn't mention "Least Recently Used" in the NAME section :) 13:03
13:03 cpan-raku left 13:04 cpan-raku joined, cpan-raku left, cpan-raku joined
sjn There was a moment when I thought "does lizmat use LRU for something else than what I'm used to?", but after reading a little more I found the answer to be "no" :) 13:04
lizmat Ah, good point: fixed that for the next release 13:05
[Coke] .tell altai-man (converting docs site) YAY
tellable6 [Coke], I'll pass your message to Altai-man
[Coke] docs, env var updates... did anyone run make test on that change? 13:06
the file doesn't even pass perl6 -c
lizmat maybe raku -c ? 13:08
sena_kun [Coke], well, we already did 80% of the work, now just need to have enough energy and time for another 80%... 13:09
Geth ¦ doc: coke assigned to patrickbkr Issue doc/Programs/03-environment-variables.pod6 github.com/Raku/doc/issues/3682 13:12
[Coke] patrickb: github.com/Raku/doc/issues/3682
lizmat: good catch, but yes, it's not valid Raku. 13:13
13:13 natrys joined
[Coke] maybe let's not commit something that's 80% and broken, though. :| 13:13
patrickb looks 13:14
[Coke] Will probably pass a few of those just by fixing the POD. 13:15
there's a retest script in the ticket you can use to test just those files (those are the two my git pull happened to catch) 13:16
++patrickb - thanks! 13:17
patrickb Already running that, thanks for preparing. (To be honest, I didn't know there was any test suite for the docs. Will try to run this on larger future doc changes...) 13:18
[Coke] yup. every commit used to be tested with "make test" - I didn't see anything trigger on this commit, so I'm not sure that's still running (if not, needs to be added, or reporting fixed to come here) 13:19
"make xtest" runs other tests that were determined should not be blockers to getting something committed but needed to be tracked. 13:20
if you're committing to the repo, please run TEST_FILES=<files you've not pushed yet> make xtest before pushing.
Geth doc/coke/xtest-doc: 7b47f90e0e | Coke++ | writing-docs/CREATING-NEW-DOCS.md
Add note about testing to writing doc overview
13:24
[Coke] added a note there, will merge it to master at some point.
patrickb What do I do about spelling errors that are actually just technical terms? 13:27
[Coke] xt/pws/*.pws 13:29
You can add them there (lowercased, alphabetized)
one is for words in the prose sections, one is for "words" in code sections (anything indented or =for code) 13:30
there's a test to make sure it stays alphabetized, even.
13:32 |Sno| joined
[Coke] I didn't see any aspell.t failures in my run, wonder if it got further after pod changes or something. 13:34
...oh, yah, it does basically do a pod-to-text run for that test. 13:35
13:35 [Sno] left 13:36 |Sno| left 13:39 vrurg left 13:41 vrurg joined
patrickb Is there a list of allowed values in :lang<something> ? 13:44
13:46 wamba joined
[Coke] no. defaults to assuming Raku, and anything perl6 or raku is tested to make sure it's compilable. 13:49
but you can put in shell, or text if you need. there's no differences, e.g. in how it's formatted on the website. 13:50
(I think)
patrickb OK. So it's fine to use :lang<batch> when the code is actually windows batch stuff
13:50 vrurg left
patrickb What do I do about xt/type-graph.t errors? Seems unrelated to my changes... 13:50
13:52 vrurg joined, abraxxa left
[Coke] wasn't failing before, so maybe it's now that you're pod? 13:52
if 'make test' passes, you're good to push again, anyway 13:53
then we can look at what you have to see if we can figure any new fails out
patrickb That's the errors. Not sure what to make of it: gist.github.com/patrickbkr/aea9931...6f77cc3c63 13:54
13:54 Sgeo joined
[Coke] what version of Raku are you running that test with? 13:56
I'm at 2020.07-54-gd4bac47ff 13:57
patrickb 2020.09
[Coke] but yes, type-graph isn't looking at the file you changed, it's looking at type-graph.txt and Raku
oh, so it's probably been failing for a bit and I just didn't notice. :)
rypervenche m: say (^Inf .grep(*.is-prime))[0]; 13:58
camelia 2
[Coke] I'll update and fix it.
rypervenche m: say (^Inf.grep(*.is-prime))[0];
camelia Nil
rypervenche Why does this not work without a space?
sena_kun rypervenche, Inf.grep is executed first without a space. 13:59
Alternative is `(^Inf).grep` to execute range creation first.
[Coke] m: say (^Inf).grep(*.is-prime)[0] 14:00
camelia 2
14:00 vrurg left
[Coke] it's precedence. 14:00
rypervenche Oh! I had an extra parenthesis. I tried that, but messed up the syntax. Thanks.
[Coke] docs.raku.org/language/operators#O...precedence 14:01
ah. there you go. :)
14:01 vrurg joined
Geth doc: patrickbkr++ created pull request #3683:
Fix test errors in `doc/Programs/03-environment-variables.pod6`
14:09
14:23 BenGoldberg joined
Geth doc: 9c0c4557ee | (Patrick Böker)++ | 3 files
Fix test errors in `doc/Programs/03-environment-variables.pod6`
14:33
doc: cebcc2f516 | (Will Coleda)++ (committed using GitHub Web editor) | 3 files
Merge pull request #3683 from patrickbkr/fix-test-errors

Fix test errors in `doc/Programs/03-environment-variables.pod6`
doc: coke++ created pull request #3684:
Add note about testing to writing doc overview
14:35
doc: 7b47f90e0e | Coke++ | writing-docs/CREATING-NEW-DOCS.md
Add note about testing to writing doc overview
doc: 80217562fd | (Will Coleda)++ (committed using GitHub Web editor) | writing-docs/CREATING-NEW-DOCS.md
Merge pull request #3684 from Raku/coke/xtest-doc

Add note about testing to writing doc overview
14:36 skids joined
Geth doc: f7510bdd3d | Coke++ | type-graph.txt
Track Allomorph type hierarchy changes
14:48
[Coke] ^^ patrickb - that should make 'xtest' clean on your box.
14:48 zacts left 14:51 parabolize joined 14:55 domidumont joined 14:57 BenGoldberg left 15:24 pecastro joined 15:46 abraxxa joined, abraxxa left
xinming Is there a way to specify the .precomp cache dir overlay, so we don't have many cache files under lib/ 15:49
Geth doc: fe2568f5db | Coke++ | writing-docs/CREATING-NEW-DOCS.md
whitespace
15:53
15:57 rsonx joined
xinming Seems, remove the `use lib 'lib';` clause fixed the issue. 15:59
without `use lib 'lib';` We still have cached files created under .precomp/ 16:01
[Coke] guesses that "use lib 'lib'" shouldn't be used even with local dev, but RAKULIB instead. (to avoid issues on installation) 16:02
kawaii I tend to just add .precomp to my .gitignore, and forget about it from then on :) 16:03
fwiw I've never used `use lib 'lib';`, I've always done `raku -I lib/ ...` instead 16:04
xinming It's the habit from perl5, with `raku -Ilib/ xxx.raku` is the same as `use lib 'lib';` in program. 16:06
I just wish that we can have a central place to have all cache files, instead of having them everywhere. 16:07
[Coke]: Thanks, will set the $RAKULIB
16:08 Altai-man joined 16:11 sena_kun left 16:16 mowcat joined 16:19 rsonx left 16:20 holli__ joined 16:25 ufobat left 16:28 rindolf left
Altreus I much prefer to use -I lib, because that is simply a stand-in for installing the module properly 16:34
use lib 'lib' means your module can never come from anywhre *except* lib
whereas the normal way of using modules is to install them so that raku can find them on its own
Which works even if the script is no longer near lib :)
16:36 rindolf joined 16:43 domidumont left 16:46 sno joined 16:55 zacts joined 16:56 holli__ left 16:57 vgrato_ joined, zacts left 17:09 jmerelo joined 17:20 pecastro left 17:48 BenGoldberg joined 17:55 Geth left 17:56 cpan-raku left 18:15 sno left 18:23 BenGoldberg left 18:24 aborazmeh joined, aborazmeh left, aborazmeh joined 18:37 skyl4rk left 18:38 skyl4rk joined 18:39 grumper joined
grumper does moarvm still use UTF8-C8 internally/pervasively? or something else came in its place? 18:40
18:52 jmerelo left
grumper quiet here today - I will look at the online log in case someone answered 18:54
specifically we are musing about utilizing UTF8-C8 in a set of protocols, want to check whether "this was a baaaaad idea" moments cropped up in the 10 years since it was implemented originally 18:55
18:55 grumper left
[Coke] is utf8-c8 used/defined anywhere outside of Moar? 19:23
timotimo not really, especially since it relies on the NFG mechanism for synthetic graphemes 19:28
19:36 pecastro joined 19:42 Black_Ribbon joined 19:50 wamba left 19:59 sftp left 20:00 sftp joined 20:04 Geth joined
Geth Raku-Steering-Council/main: 498ab42e44 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | announcements/20201030.md
Another formatting issue fixed
20:05
20:09 sena_kun joined 20:10 Altai-man left 20:13 sjm_uk left
Geth Raku-Steering-Council: codesections++ created pull request #37:
Minor formatting changes for Markdown
20:13
20:17 holli__ joined 20:24 aborazmeh left 20:30 _jrjsmrtn left
tbrowder h, 20:36
Geth Raku-Steering-Council/main: 4f533eab23 | (Daniel Sockwell)++ | announcements/20201030.md
Minor formatting changes for Markdown
Raku-Steering-Council/main: 07ecbf5854 | (Daniel Sockwell)++ | announcements/20201030.md
Add erroneously removed colon
Raku-Steering-Council/main: 244387b7d2 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | announcements/20201030.md
Merge pull request #37 from codesections-forks/annoucement-formatting

Minor formatting changes for Markdown
tbrowder hi, in doc page for pythonistas, what would be best raku equiv for python hasattr func in raku MOP lingo? 20:37
20:41 Kaiepi left 20:42 Kaiepi joined 20:53 rindolf left 21:03 ChoppedBacon left 21:05 ChoppedBacon joined 21:08 wamba joined 21:14 BenGoldberg joined 21:18 mowcat left 21:33 natrys left
Zero_Dogg Is there any equivalent for 'perldoc' for looking up docs for installed modules? 'raku --doc' doesn't seem to look up installed modules 21:46
tadzik p6doc should work
I hope that's still a thing :) 21:47
21:48 BenGoldberg left
Zero_Dogg Didn't come with rakudo, but I can install it from zef, thanks 21:49
22:15 sena_kun left 22:45 Kaiepi left, Kaiepi joined 23:17 zacts joined 23:19 zacts left, moony left 23:20 moony joined
Zero_Dogg Do any of the various console input libraries provide an interface that's suitable for async use? Ie. I want to prompt the user, but I may also receive data from a different source, that I then want to display to the user, and then resume the prompt afterwards. I can do it by running a thread with 'start', but that will garble up the prompt when using i.e. Readline 23:21
23:25 zacts joined, BenGoldberg joined 23:26 ape666 joined 23:29 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg
Zero_Dogg Right now I'm sort of emulating it, by outputting a newline then the content I wanted to display, and then just printing the prompt. It works, sort of, but any input the user has already entered but hasn't submitted by pressing enter will be stuck on the old prompt, so it gets a tad confusing 23:36
23:51 melezhik joined
melezhik .tell jmerelo: another day you talked about testing some (potentially problematic) Raku modules during Hackaton. I suggest Rakudist as one of the solutions. So I just wonder if you've thought about that ... 23:53
tellable6 melezhik, I'll pass your message to jmerelo
23:56 aborazmeh joined, aborazmeh left, aborazmeh joined 23:59 ape666 left