🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
00:02 reportable6 left 00:19 patrickb left 00:31 dextercd left 01:03 seednode left 01:04 seednode joined 01:50 Xliff left, Xliff joined 02:03 reportable6 joined 02:20 melezhik joined 02:28 melezhik left
rypervenche I haven't been following the weeklies, so this may have already been mentioned there, but I noticed Raku in a video: www.youtube.com/watch?v=UVUjnzpQKUo 02:56
03:16 frost joined
[Coke] rypervenche++ 04:35
04:42 Scotteh_ joined 04:43 Scotteh left, goblin left, chronon left, gfldex left, a3r0 left 04:48 chronon joined, goblin joined, gfldex joined, a3r0 joined 05:48 bloatable6 left, greppable6 left, statisfiable6 left, notable6 left, nativecallable6 left, bisectable6 left, benchable6 left, evalable6 left, committable6 left, coverable6 left, linkable6 left, committable6 joined 05:49 bisectable6 joined, coverable6 joined 05:50 nativecallable6 joined, greppable6 joined, evalable6 joined 05:51 statisfiable6 joined 05:56 seednode left 06:01 seednode joined 06:02 reportable6 left 06:36 GreaseMonkey left 06:50 linkable6 joined, benchable6 joined 06:51 Xliff left 06:55 lichtkind joined 07:03 reportable6 joined 07:12 Sgeo left 07:17 seednode left, abraxxa joined, seednode joined 07:22 abraxxa left 07:23 abraxxa joined 08:23 quotable6 left, statisfiable6 left, reportable6 left, greppable6 left, linkable6 left, coverable6 left, benchable6 left, shareable6 left, nativecallable6 left, squashable6 left, evalable6 left, sourceable6 left, releasable6 left, unicodable6 left, committable6 left, bisectable6 left, tellable6 left 08:24 squashable6 joined 08:25 greppable6 joined 08:26 bisectable6 joined, coverable6 joined, quotable6 joined, releasable6 joined 08:48 Xliff joined 08:50 abraxxa left 08:58 nebuchadnezzar left 09:06 abraxxa joined 09:12 Manifest0 left, Manifest0 joined 09:15 archenoth left
Nemokosch This video is a shame tbh 09:22
09:23 committable6 joined 09:25 nativecallable6 joined, shareable6 joined
Skarsnik it's not really interesting if you just show a problem solve by just a function call and his opinion is super subjective 09:26
09:26 benchable6 joined, evalable6 joined
Nemokosch Encounpled with claims like "GCD should have a built-in function" 09:28
How many of us have ever used GCD in a program?
moon-child m: say 12 gcd 18 09:31
camelia 6
moon-child what's the problem?
Skarsnik I mean gcd should be in the math lib I guess, but I don't think I will use it one day x)
moon-child why should it be in a math library if it's built-in?
Nemokosch in general 09:33
not about Raku
moon-child oh, I see. Don't most languages have such a function?
Nemokosch languages with stronger emphasis on math usually do 09:34
but I think many mainstream languages actually don't
moon-child weird
Nemokosch but like... not that it actually matters xD 09:35
there will be a lib for it even if it's not built-in
Skarsnik Is there some use of gcd outside doing math stuff? like for some algo? 09:36
moon-child what is 'math stuff'? Is indexing an array math stuff?
Nemokosch good question... probably less than for sine and cosine which _are_ usually built-in
I can only say I haven't come across GCD in real-world problems ever 09:37
for example, I had to implement an ad-hoc topological sort once 😄 09:38
09:51 bloatable6 joined 10:25 cyg07 joined 10:29 cyg07 left 10:48 notable6 joined 11:12 Altai-man joined 11:18 archenoth joined 11:25 statisfiable6 joined 11:26 tellable6 joined, sourceable6 joined 11:49 Altai-man left 12:04 reportable6 joined 12:10 demostanis[m] left, andrea[m]123 left, AlexDaniel left, CIAvash left, happy-dude left 12:28 CIAvash joined 12:35 Kaipi left 12:36 Kaipi joined 12:44 Xliff left 12:50 AlexDaniel joined, andrea[m] joined, demostanis[m] joined, happy-dude joined 12:51 AlexDaniel left 12:52 andrea[m] left 12:56 Scotteh_ is now known as Scotteh 13:05 Altai-man joined 13:24 linkable6 joined 13:32 lichtkind left 13:33 lichtkind joined 13:48 Kaipi left, Kaipi joined 14:01 frost left 14:25 unicodable6 joined 14:55 Manifest0 left 15:13 sm1 joined 15:17 Manifest0 joined 15:26 abraxxa left 16:17 xor joined 16:18 xor left, subzer0d joined 16:19 subzer0d left
[Coke] I am happy they included Raku more than I am about the overall topic of the video, sure. 16:49
16:49 AlexDaniel joined, andrea[m] joined 16:51 linkable6 left 16:53 linkable6 joined
timo that video also has more than enough disclaimers in it :) 16:53
17:07 leah2 left 17:09 leah2 joined
[Coke] It did make me want to be able to use @nums.minmax -> gcd somehow. 17:09
oh, right. 17:10
m: my @nums = < 5 10 100 235 > ; &infix:gcd(|@nums.minmax).say
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
infix:gcd<> used at line 1. Did you mean 'infix:<≤>', 'infix:<×>', 'infix:<and>', 'infix:<∍>', 'infix:<...>'?
17:11
[Coke] m: my @nums = < 5 10 100 235 > ; &infix::gcd(|@nums.minmax).say
camelia (5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 …
[Coke] ... or not. :) 17:12
m: my @nums = < 5 10 100 235 > ; [gcd] @nums.minmax.bounds 17:17
camelia Potential difficulties:
Useless use of [gcd] in sink context
at <tmp>:1
------> 3my @nums = < 5 10 100 235 > ; 7⏏5[gcd] @nums.minmax.bounds
[Coke] m: my @nums = < 5 10 100 235 > ; dd [gcd] @nums.minmax.bounds
camelia 5
[Coke] there we go
(minmax is a range, not a 2 element list!)) 17:19
Reading the docs explain the docs. :|
17:24 Air4x joined, kylese joined, Air4x left 18:02 reportable6 left 18:23 Altai-man left 18:45 Sgeo joined 18:54 melezhik joined 19:14 melezhik left 19:31 melezhik joined 19:35 greaser|q joined 19:36 greaser|q left, greaser|q joined
tib Hello all, the ephemeral miniconf is coming in less than one week now. The Raku side of it has shrinked despite my will but still it could be interesting for you all. It is Thursday 18th November (next Thursday then) and it starts at 3pm Paris time then UTC +1 currently (means morning in us and very late in Asia/Australia). To give an idea it starts at same time TPRCIC was. 19:45
dev.to/thibaultduponchelle/the-eph...infos-1dmb 19:46
Meeting ID: 818 6906 5466
Pass: 42
There are multiple experienced speakers talking about devops/github/ldap/etc… 19:47
Single day, single track, Perl, Raku and fun 19:49
19:54 jess left 19:55 dextercd joined 19:58 A26F64 joined
tbrowder .seen jmerelo 20:14
tellable6 tbrowder, I saw jmerelo 2021-05-19T16:34:05Z in #raku: <jmerelo> Or fight who gets to be Classic Coke
tbrowder anyone know how often docs site gets updated? i had come stuff merged some weeks ago and i don't see it online 20:16
20:16 nebuchadnezzar joined
tbrowder in packages, real-world example of selective module importing 20:17
moritz_ tbrowder: I think jjmerelo occasionally updates it manually
tbrowder i see the code in doc master and i really could use it now :-( 20:18
oh, well, thnx moritz, i really wish we could automate it again. sad to say, but i don't think Documetable was completed sufficiently to be used for the docs. 20:20
*Documentable 20:21
20:35 melezhik56 joined, melezhik56 is now known as melezhik2
moritz_ before this project was started, I did warn that it would make it harder to actually build the docs. That was a risk the decision makers accepted. 20:41
21:05 reportable6 joined 21:08 melezhik2 left 21:15 kylese left 21:18 A26F64 left
[Coke] with recent rakudo I had to hit ^C twice to exit, then I had to run 'stty sane' to get my terminal back 21:27
codesections S///, and /re/ and Str.trans all (can) operate on a regex. Does tr/// only take literal strings? (I'd always thought it took a regex and then was confused when changing something from $_ .= trans to tr/// changed the output 21:31
21:47 TempIRCLogger joined 21:49 lichtkind_ joined, colemanx joined 21:52 lichtkind left, colemanx left 21:58 sm1 left
japhb perks his ears up at [Coke]'s issue 22:07
Which line editor were you using?
And on which OS?
22:17 MasterDuke92 joined
[Coke] mac 22:25
how do I tell which line editor?
It's probably readline, that's what I'd install if they prompted me to pick one
23:05 gabiruh_ is now known as gabiruh
japhb [Coke]: OK, and you're using the standard Terminal app? 23:34
Hmmm, come to think of it I don't thing that gets debug output at all. You can check which ones you have installed by doing a `zef info` on Linenoise, Readline, and Terminal::LineEditor.
23:43 monkey_ joined