🦋 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 available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 8 June 2022.
00:06 reportable6 left 00:08 reportable6 joined 01:06 ProperNoun left 01:30 frost joined 02:30 linkable6 left, evalable6 left 02:31 evalable6 joined 02:32 linkable6 joined 02:43 Sahil joined 02:45 Sahil left 03:45 linkable6 left, evalable6 left 03:47 evalable6 joined 03:48 linkable6 joined 04:48 evalable6 left, linkable6 left 04:49 linkable6 joined 04:51 evalable6 joined 05:51 bisectable6 left, squashable6 left, reportable6 left, statisfiable6 left, sourceable6 left, evalable6 left, coverable6 left, quotable6 left, greppable6 left, nativecallable6 left, releasable6 left, tellable6 left, bloatable6 left, unicodable6 left, committable6 left, notable6 left, benchable6 left, shareable6 left, greppable6 joined 05:52 benchable6 joined, bloatable6 joined, tellable6 joined, bisectable6 joined, nativecallable6 joined, evalable6 joined, statisfiable6 joined, quotable6 joined, notable6 joined, squashable6 joined, committable6 joined 05:53 sourceable6 joined, reportable6 joined, shareable6 joined, releasable6 joined, unicodable6 joined 05:54 coverable6 joined 06:08 reportable6 left, reportable6 joined 06:17 Xliff left 06:57 Sgeo left 07:57 squashable6 left 07:58 squashable6 joined 08:11 dakkar joined 08:14 vrurg left, vrurg_ joined 08:42 deoac left 08:46 sena_kun joined
Nemokosch I think there are a lot of messages waiting for me on IRC... 09:24
09:25 Nemokosch joined
Nemokosch . 09:25
tellable6 2022-08-06T20:20:55Z #raku <vrurg_> Nemokosch: Consider this way: Nil is a polite way of informing about a problem. Fail is "the last call". Throwing is the ultimate.
2022-08-06T20:22:32Z #raku <vrurg> Nemokosch: another thing, a container may have a default value to which it is gets reset when assigned with Nil. From this perspective returning Nil also makes full sense.
2022-08-07T21:02:24Z #raku <Util> Nemokosch: In progress right now on Zoom. Feel free to drop in. www.nntp.perl.org/group/perl.perl6...10612.html
hey Nemokosch, you have a message: gist.github.com/97850e1381f28b871e...4ca4a0f36c
09:25 solitario left, Nemokosch left
Nemokosch Oh right. 09:26
09:28 solitario joined
Anyway, this Raku Study Group is a very likeable concept, with people who seem to have a general interest for computer science. It was interesting to drop by 09:28
09:29 sena_kun left
Of course timezones are something to consider since they are based in the US, West coast 09:30
09:46 sena_kun joined
lizmat do you think it would make sense to do a European one? Let's say once a month ? 09:49
Nemokosch Well it only depends on the amount of "lurkers" who could show up 🙂 09:51
10:46 evalable6 left, linkable6 left, evalable6 joined 10:48 linkable6 joined 11:02 tejr joined 11:51 frost left 12:07 reportable6 left, reportable6 joined 12:34 sena_kun left 12:45 Nemokosch joined, ProperNoun joined 13:05 vrurg_ is now known as vrurg 13:09 sena_kun joined 13:24 djerius joined
Anton Antonov @lizmat Well, once a month seems doable for both USA and Europe. 13:32
13:43 morte_ joined
lizmat And yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/08/08/2022-32-2nd-conf/ 14:13
14:19 Kaipei joined 14:23 Kaiepi left 15:08 Kaipii joined 15:11 Kaipei left 15:44 morte_ left 15:54 vrurg_ joined, vrurg left 16:06 morte_ joined 16:12 morte_` joined
[Coke] tbrowder: the failure in your submittal isn't on you, it's on me. 16:13
Please just re-open it. 16:15
16:16 morte_ left
Altreus zef has told me to install pswebrequest to understand https URLs - what is it? 16:24
lizmat feels like a Microsoft thingy, are you on Windows by any chance? 16:26
Altreus nope
Just grabbed rakudo.org/dl/rakudo/rakudo-moar-2...gcc.tar.gz
recreated my symlink and ran zef 16:27
it is trying to fetch raw.githubusercontent.com/raku/REA...%3E.tar.gz 16:28
hmm I ran rehash and it is doing something else 16:31
maybe it was running the wrong thing
16:33 dakkar left
Geth doc/deprecation-fix: b5fac19c4f | Coke++ | lib/Pod/Convenience.rakumod
Fix for #4089

Properly handle the deprecation notice for earlier rakudos. Original fix ONLY worked on new compilers, died on old ones. This will work on both and avoid the deprecation warning on newer
doc: coke++ created pull request #4101:
Fix for #4089
16:34 linkable6 left 16:37 linkable6 joined
Geth doc/deprecation-fix: e51156901f | Coke++ | doc/Type/Label.pod6
trigger CI testing
tbrowder [Coke]: wilco 16:53
16:58 Nemokosch left 17:02 fingolfin joined
fingolfin m: my @result; 17:03
camelia ( no output )
fingolfin my $var = 0;
say "adding ($var,)...";
$var = 1;
say "adding ($var,)...";
say "Result: ", @result; 17:04
m: my @result; my $var = 0; say "adding ($var,)..."; @result.push(($var,)); $var = 1; say "adding ($var,)..."; @result.push(($var,)); say "Result: ", @result;
camelia adding (0,)...
adding (1,)...
Result: [(1) (1)]
fingolfin Hello! This is how it should work, or is it a bug? 17:05
lizmat that's how it's supposed to work, since you pushed a List with a the variable in it 17:10
m: 'my $a = 42; say $a; my $b = ($a,); $b[0] = 666; say $a
camelia ===SORRY!=== Error while compiling <tmp>
Unable to parse expression in single quotes; couldn't find final "'" (corresponding starter was at line 1)
at <tmp>:1
------> y $a; my $b = ($a,); $b[0] = 666; say $a⏏<EOL>
expecting …
lizmat m: my $a = 42; say $a; my $b = ($a,); $b[0] = 666; say $a
camelia 42
17:11 Kaiepi joined 17:14 Kaipii left
fingolfin Thank you lizmat! Now I use "Array.new($var,)" instead "($var,)" and it's work as I want. 17:15
I understand that the list ($var,) contains a link to $var. But why? Where can I read about this? 17:16
17:18 Kaipei joined
Nemokosch push vs apppend, by the way 17:20
17:21 Kaiepi left
lizmat fingolfin: it's not a link. my $a is a container bound to the lexical pad entry '$a' 17:21
m: my $a; say MY::.keys 17:22
camelia (GLOBALish $a $/ $?PACKAGE $! !UNIT_MARKER ::?PACKAGE $_ EXPORT $=pod $=finish $¢)
lizmat m: my $a = 42; say MY::<$a>
camelia 42
lizmat m: my $a = 42; say $a.VAR.name
Nemokosch I still don't know what a "lexical pad" is but yes, this stuff is very much like a link in the sense that you can access and modify the same data
camelia $a
lizmat but that's it: there's no link, they're bound to the same container 17:23
fingolfin It confuses me a little. But thanks for the help, now I will know about such features! 17:24
17:27 morte_` left 17:28 sena_kun left, morte_ joined
Geth doc: 64a2fcbd66 | Coke++ | lib/Pod/Convenience.rakumod
Fix for #4089

Properly handle the deprecation notice for earlier rakudos. Original fix ONLY worked on new compilers, died on old ones. This will work on both and avoid the deprecation warning on newer
17:54 linkable6 left, linkable6 joined, vrurg_ left, vrurg joined
[Coke] tbrowder: try re-submitting the PR now, the CI tests should be functional again 17:55
lizmat: I completely missed the email thread describing the deprecation notice, did a slightly more verbose fix ^^ 17:56
17:59 sena_kun joined
lizmat [Coke]: sure, no problem :-_ 18:04
:-) rather
[Coke] ... crap, I have an extra ( in there.
(in the comment)
18:07 reportable6 left 18:08 reportable6 joined 18:10 lichtkind joined 18:15 vrurg_ joined, vrurg left 18:34 vrurg joined, vrurg_ left 19:01 Geth left, Geth joined 19:10 fingolfin left 19:30 mexen left
leont lizmat: did you test inode-dev-devtype with relative paths and chdir? I remember running into issues with nqp::stat because it doesn't know about Raku's ideas about per-thread working directories. 19:39
[Coke] I am now also getting the "you may need to configure one of the backends" after a fresh zef install 19:46
19:48 Nemokosch joined
[Coke] You may need to configure one of the following backends, or install its underlying software - [git wget pswebrequest] 19:49
I have git, curl, never got this message previously, haven't done anything other than rakubrew the latest version and reinstall zef for it. 19:50
lizmat leont: "% rak inode t" says nothing found, so there are no tests :-) 19:54
the module currently only tests whether it exported something 19:55
PRs are welcome :-)
20:07 nort joined 20:09 nort left 20:12 nort joined 20:13 nort left 20:20 nort joined 20:33 phogg left 20:37 jgaz joined 20:47 pamplemousse joined 20:49 ajr joined 20:52 pamplemo_ joined 20:53 lizmat_ joined 20:54 jargan joined, unicodable6_ joined, bisectable6_ joined, japhb_ joined 20:55 simcop2387_ joined, m6502 joined, sjn_ joined, squashable6_ joined, greppable6_ joined 20:56 coverable6_ joined, broquaint joined, bloatable6_ joined, benchable6_ joined, a3r0_ joined, jdv_ joined, euandreh_ joined 20:57 sourceable6_ joined, maettu_ joined, KotH_ joined, kjp_ joined, __________ joined, shareable6_ joined 20:58 releasable6_ joined, solitario_ joined, donpdonp|z_ joined 20:59 evalable6_ joined, pamplemo_ left 21:00 mjgardner_ joined, sevvie- joined, gugod_ joined 21:01 mykhal joined 21:02 pamplemousse left, jgaz left, Geth left, _________ left, euandreh left, simcop2387 left, jmcgnh left, japhb left, a3r0 left, Scotteh left, lucs_ left, jast left, sjn left, kjp left, renormalist left, KotH left, maettu left, lizmat left, jdv left, simcop2387_ is now known as simcop2387, Scotteh_ joined, unicodable6 left, bisectable6 left, squashable6 left, greppable6 left, coverable6 left, discord-raku-bot left, lucs joined, discord-raku-bot joined 21:04 jmcgnh_ joined, jmcgnh_ is now known as jmcgnh 21:05 m6502 left 21:06 synthmeat left, lichtkind left, bloatable6 left, benchable6 left, broquain1 left, solitario left, sourceable6 left, mjgardner left, shareable6 left, releasable6 left, gugod left, sevvie left, mykhal_ left, evalable6 left, donpdonp- left, mjgardner_ is now known as mjgardner, pamplemousse joined 21:08 synthmeat joined 21:09 __________ left, _________ joined 21:13 pamplemousse left, pamplemousse joined 21:14 phogg joined 21:21 pamplemousse left 21:31 nort left
jdv_ Getopt::Long handles --no-foo and --nofoo iirc 21:32
lizmat_: ^
21:32 jdv_ is now known as jdv 21:35 pamplemousse joined 21:45 sena_kun left 21:46 pamplemo_ joined, [dpk] joined, perlmaros_ joined 21:47 rba_ joined, dpk left, [dpk] is now known as dpk 21:49 aqua2 joined, zostay_ joined, KotH_ is now known as KotH, Util_ joined 21:51 PotatoGim_ joined 21:52 ed__ joined 21:54 thowe_ joined, ilbelkyr joined 21:55 rba left, perlmaros left, pamplemousse left, amenonsen left, thowe left, aqua1 left, PotatoGim left, zostay left, Util left, ed left, nicole left, rba_ is now known as rba, perlmaros_ is now known as perlmaros, zostay_ is now known as zostay, PotatoGim_ is now known as PotatoGim, lizmat_ is now known as lizmat, amenonsen joined, Geth joined, ed__ is now known as ed 21:56 RakuIRCLogger left, RakuIRCLogger joined
Nemokosch Util: I keep thinking about these permutable multiples and it seems to me that we missed that N %% 9 with the same logic 22:11
because once we deduced N %% 3, 3*N becomes divisible with 9 as well
and for 9, we can still calculate the remainder from the sum of the digits
so this is a further cut at least, even if not a breakthrough...
22:13 morte_ left 22:19 pamplemo_ left 22:30 jargan is now known as jast, pamplemousse joined 22:33 Nemokosch left 22:43 pamplemousse left, pamplemousse joined 23:16 pamplemousse left 23:30 pamplemousse joined 23:33 pamplemousse left 23:34 pamplemousse joined 23:46 pamplemousse left