🦋 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.
tonyo .tell patrickb fez uses http rather than https so that it's a little more accessible to systems with ssl or if you wanted to do pure raku, leaves fewer depdendencies 04:03
did RSC have any conclusions as to who should be the rakudo community module manager? 04:05
when fez groups are ready, i mean 04:06
SmokeMachine codesections: it seems the links for the _ submodules on doc seem to be broken... 12:16
El_Che tonyo: how is MITM worked around? Hashes? Signatures? 12:22
lizmat tonyo: the plan for now is that anybody with write access to raku-community-modules, should be a able to upload to zef 14:32
is that feasible? or would you need a more ad-hoc set up?
Geth ¦ problem-solving: Xliff assigned to codesections Issue A Mechanism for Adding Hooks into CURI for Custom Installation Output github.com/Raku/problem-solving/issues/309 14:41
halcek Hi, a quick question: Is, or could there be there some built-in function in Raku, equivalent to Ruby's times? So that you can set repeating a value by using a keyword (such as times, in 5.times ( print "T" ) , or something like print "T" 5.times, which is grammatically natural for a novice, instead of an operator being the only possibility to 14:57
induce this like: print "T" x 5?
[Coke] (http vs. https) in general, requiring SSL is a minimum these days. I wouldn't be able to use a service at $dayjob that didn't support https 15:01
El_Che I prefer non working hypothetical clients than no TLS 15:05
because if there is no good alternative for encryption, then I won't trust the code I just downloaded 15:06
[Coke] Right. 15:31
(times) - you mention a keyword but your hypothetical example is a method. (in my opinion, the operator x is closer to a keyword) 15:34
in your example, there's nothing tying the result of "5.times" to the "T" - I think you'd end up with a two terms in a row problem there. 15:35
suman my @vals = <2 20 40 30>; 15:55
How to get ranks of the elements of this array as <1 2 4 3>
lizmat suman: I'm not sure I understand the question 16:02
ugexe if they were sorted what index what they be 16:03
suman I was looking to do fractional ranking rosettacode.org/wiki/Ranking_methods#Raku 16:08
But for integers 16:10
So if I have my @vals = <2 30 20 40 30>, I want to get fractional ranks as <1  3.5 2 4 3.5> 16:14
Guest7 I'm interested in writing a password generator in raku on Mac OS. Are random strings created with the standard tools (pick, rand, etc.) on this platform considered cryptographically valid? 16:42
lizmat I'd say: no 16:45
no guarantee whatsoever 16:46
raku.land/?q=crypt # modules to check out Guest7
SmokeMachine if you want to stores it on DB as well, maybe this could help: raku.land/cpan:JSTOWE/RedX::HashedPassword 17:07
tonyo lizmat: there should be an owner for the org on fez, admins can change permissions of other users and members can only upload 17:17
lizmat tonyo: is that an "owner" on the fez system? or do you mean an owner on github ? 17:18
p6steve hi folks - per the raku advent instructions I hereby announce that my Wordpress draft is ready for review and pull request on github.com/Raku/advent done 17:19
can someone remind me of the consensus alternative to travis-ci.com (my credits finally expired) 17:20
lizmat p6steve: Github Actions 17:28
tellable6 lizmat, I'll pass your message to p6steve
tonyo owner on the fez system 17:38
so that they can delegate who has access to uploading modules on behalf of RCM (or if there's only one person who is allowed then they can also be the owner) 17:39
lizmat tonyo: what is the granularity ? 17:40
tonyo the only difference is `members` can only upload modules, `admin`s can add/kick/modify people/roles to/from the group 17:41
Guest7 The 'secrets' module in the standard Python3 dist is said to be valid for generating cryptographically secure strings, unlike the Python2 'random' module. I wonder how the standard raku tools compare to 'secrets'. Anyone? 17:45
lizmat tonyo: I guess you can make me owner for now, and I'll add the other people of the RSC then 17:46
tonyo Guest7: there's crypto rand providers in the ecosystem 17:49
raku.land/github:skinkade/Crypt::Random 17:50
Guest7 Thanks, tonyo. 17:55
p6steve can someone remind me of the consensus alternative to travis-ci.com (my credits finally expired) [sorry to ask again - I think I maybe got ejected and missed the answer] 18:10
tellable6 2021-12-15T17:28:33Z #raku <lizmat> p6steve: Github Actions
p6steve thanks tellable6
tellable6 p6steve, Anytime!
Nemokosch hello 19:29
rt-archive.perl.org/perl6/Ticket/D...?id=122899 I found this
does "is cached" still not work with multis?
lizmat github.com/Raku/old-issue-tracker/issues/3540 is the current state and is still open 19:30
adding "use experimental :cached;" seems to result in working code of the example ? 19:32
lizmat closed github.com/Raku/old-issue-tracker/issues/3540 19:34
Nemokosch m: ```use experimental :cached; 19:35
multi fib(0) { 0 }
multi fib(1) { 1 }
multi fib(Int $n where * >= 0 ) is cached { fib($n - 2) + fib($n - 1) }
say fib(18);
```
it doesn't work
what version are you on? 19:41
for me it legitimately doesn't work
lizmat hmmm... HEAD is what I'm on 19:43
:-)
m: use experimental :cached; multi fib(0 --> 0) { }; multi fib(1 --> 1) { }; multi fib(UInt:D $n) is cached { print "x"; fib($n-2) + fib($n-1) }; say fib(18); say fib(18) 19:46
camelia xxxxxxxxxxxxxxxxx2584
2584
lizmat bisectable6: use experimental :cached; multi fib(0 --> 0) { }; multi fib(1 --> 1) { }; multi fib(UInt:D $n) is cached { print "x"; fib($n-2) + fib($n-1) }; say fib(18); say fib(18) 19:53
bisectable6 lizmat, Will bisect the whole range automagically because no endpoints were provided, hang tight
merryprog <3 bisectable6
bisectable6 lizmat, Output on all releases: gist.github.com/2c72d7b7914ebb4431...53eef9fbde
lizmat, Bisecting by exit code (old=2021.09 new=2021.10). Old exit code: 1
merryprog bisectable6 is seriously one of my favorite chat bots I've ever seen. It's so awesome. 19:54
bisectable6 lizmat, bisect log: gist.github.com/e17e63a5d143870170...db87d8f06a
lizmat, Bisecting by output (old=2016.07.1 new=2016.08.1) because on both starting points the exit code is 1 19:55
lizmat, bisect log: gist.github.com/61b5507d0d80396845...04ff838e61
lizmat, (2016-07-21) github.com/rakudo/rakudo/commit/68...103fff3c2c
lizmat, bisect log: gist.github.com/a702f1c73627949d62...650594e3ad
lizmat, bisect log: gist.github.com/354af059eaea4accb7...3e8ec17de0
lizmat, Output on all releases and bisected commits: gist.github.com/63ab1fdd13e591b026...5968e1a5bb
lizmat afk& 19:59
[Coke] do we have a ticket for "control-c'ing out of the REPL needs a 'stty sane' to fix things' ? 22:53
(2021.10)
japhb [Coke]: Which line editor are you using? Do you see the same problem at Rakudo HEAD? Do you have the same problem with Terminal::LineEditor (zef install it, then set the env var RAKUDO_LINE_EDITOR=LineEditor)? 23:53