[00:06] *** lucasb left [00:28] *** shan left [00:28] *** patrickb left [00:35] *** oddp left [00:55] *** wamba left [00:57] *** MasterDuke left [01:04] *** pecastro left [01:07] *** mowcat left [01:16] *** xelxebar left [01:18] *** xelxebar joined [01:31] *** tejr left [01:31] *** tejr joined [01:33] raku isn't really a bit-fiddling language (yet), not sure how "good" of a feature it would be honestly for a language like raku? [01:33] a bitarray/matrix module might be a fun thing to take a stab at [01:35] nevermind... nativecall makes it silly easy.... [01:35] bless this language [01:54] *** hythm joined [02:03] m: multi trait_mod:( Variable:D \v, :$what ) { say v.var }; my @a is what; my @b[1] is what; [02:03] hythm, rakudo-moar 620fa7ad9: OUTPUT: «[]␤(Array)␤» [02:09] Can someone explain why .var for the shaped array is a type object (Array) ? [02:09] *** gnufr33dom joined [02:19] *** kvw_5 joined [02:22] *** kvw_5_ left [02:32] *** raku-bridge left [02:33] *** raku-bridge joined [02:33] *** raku-bridge left [02:33] *** raku-bridge joined [03:04] *** shan joined [03:08] *** sortiz left [03:21] *** hythm left [03:22] *** rindolf joined [03:34] *** squashable6 left [03:35] *** squashable6 joined [03:58] *** neshpion left [04:16] *** Possum left [04:27] *** brtastic joined [05:10] vrurg: merged! Thanks! [05:14] *** agentzh joined [05:14] *** agentzh left [05:14] *** agentzh joined [05:16] I'm looking at modifying the raku-mode SMIE rules - is there a complete grammar for raku that's readily available? I could swear I saw one at some point [05:16] (for emacs) [05:16] not a grammar _for_ emacs, but just the language [05:17] ah https://github.com/rakudo/rakudo/blob/master/src/Perl6/Grammar.nqp [05:47] *** parabolize left [05:57] *** pilne left [06:02] *** maggotbrain left [06:03] *** maggotbrain joined [06:13] *** maggotbrain left [06:14] *** maggotbrain joined [06:29] *** RaycatWhoDat left [06:45] *** kaiwulf left [07:06] *** aluaces joined [07:26] *** wamba joined [07:28] *** jmerelo joined [07:28] releasable6: status [07:28] jmerelo, Next release will happen when it's ready. 1 blocker. 22 out of 101 commits logged [07:28] jmerelo, Details: https://gist.github.com/96f1696881922e92fb62215d469d6b59 [07:56] *** brtastic left [08:52] *** patrickb joined [09:10] *** sjm_uk joined [09:10] *** domidumont joined [09:18] o/ [09:20] patrickb: if you have the time can you have a look at these build fails: https://github.com/nxadm/rakudo-pkg/runs/1795106357?check_suite_focus=true and https://github.com/nxadm/rakudo-pkg/runs/1794747938?check_suite_focus=true#step:5:308 [09:21] patrickb: in short: rakud builds fine everywhere except on alpine edge and fedora rawhide [09:21] patrickb: I suspect some binutils bug [09:22] those are strange errors indeed... [09:23] did you try contacting upstream? [09:23] patrickb: all the other dev OSes like debian testing. unstable, experimental and ubunt dev build fine [09:23] patrickb: not yet, trying to figure out where it breaks [09:23] I posted the links on #moarvm [09:32] *** wamba left [09:56] *** Garbanzo left [10:03] patrickb: documented as https://github.com/MoarVM/MoarVM/issues/1424 and https://github.com/MoarVM/MoarVM/issues/1425 [10:05] El_Che++ [10:07] *** oddp joined [10:13] *** Sgeo left [10:21] *** aborazmeh joined [10:27] *** Black_Ribbon left [10:49] El_Che: it's a missing file. Is that compiled only in Alpine? [10:49] jmerelo: the file is there [10:49] jmerelo: it's werid as hell. The same tar compiles fine on other alpine releases [10:50] with the same pkgs [10:50] El_Che: it's literally missing, because it cannot find it. It's difficult to argue with an error message. [10:51] I'll add an ls to the podman cmds so it's clear the file is there [10:52] *** cydf joined [10:52] I habe been bitten by binutils with similar errors [10:52] v [10:52] that a good thing of containers, easy to reproduce :) [10:52] El_Che: you can try and convince me, but it's difficult to convince that command. I'd rather try and find why it's not finding it, and why it happens only there. [10:53] *** aborazmeh left [10:53] jmerelo: you're saying the same as I do :) [10:53] I believe the build scripts think the file is not there [10:53] *** wamba joined [10:54] I looked at the obvious and the binutils in rawhide and fedora 33 are the same version [10:55] El_Che: maybe you could create a workflow that tests https://github.com/MoarVM/libatomic_ops before packaging it? That library has not changed for almost 3 years... [10:57] jmerelo: that's not very different from what I do? The builds of moarvm/nqp/rakudo on fedora 31, 32 and 33 are fine. Do you mean to debug libatomic in isolation? [10:58] *** pecastro joined [10:58] El_Che: That's what I meant, yes. The thing is I'm not sure it's using _that_ version of the library. Looking at Configure.pl, it looks like it's checking for the library and using that one if it's not present. [10:58] El_Che: It's also doing a lot of copying... [10:58] https://github.com/MoarVM/MoarVM/blob/78f4f1d9e9de42bca98d4dfd06980ad4ea2d5d28/Configure.pl#L592-L596 [10:59] I am pretty sure it's not the library itself, but something in the moarvm build process or OS tool chain [10:59] El_Che: that's what I'm saying. [11:00] El_Che: Fedora has a libatomic_ops all by itself https://src.fedoraproject.org/rpms/libatomic_ops It shouldn't need to compile it, I think... [11:00] I can build the lib in isolation to be sure [11:00] but idd [11:00] indeed [11:02] El_Che:it does need headers, anyway [11:04] the fedora fails happens later but is similarily weird [11:04] El_Che: my money would be on debugging Configure.pl. [11:04] El_Che: Also, there's this PR https://github.com/MoarVM/MoarVM/pull/1254 that I created precisely for test-compiling Alpine [11:05] I am working on something to compile and package on all supported distros/versions [11:05] as a refactoring of rakudo-pkg [11:05] with the addition that you can specify commits of all components, next to releases [11:05] El_Che: great [11:06] fork the repo, change a version file if necessary and see the results [11:27] *** |oLa| left [11:27] *** |oLa| joined [11:31] *** aindilis left [11:32] *** |oLa| left [11:45] *** gnufr33dom left [11:46] *** |oLa| joined [11:49] *** sjm_uk left [11:50] *** |oLa| left [12:01] it looks like github actions will kil travis [12:02] agree, although it feels like mostly suicide to me [12:02] Travis made it harder and harder to use for open source [12:03] yeah, I missed that because I had a pro account [12:03] but it became very slow [12:03] yeah, unusably so [12:04] * lizmat spent an hour or so yesterday to remove Travis from all raku-community-modules [12:04] I think I will be able to buid packages for 25 distro/version under the 10 minutes where it tooks hours in travs [12:05] lizmat is a hero [12:06] *** sjm_uk joined [12:29] *** |oLa| joined [12:31] *** jmerelo left [12:32] *** natrys joined [12:34] hi, gang [12:34] tbrowder o/ [12:35] speaking of testing, is there a way to set an env var for the workflow tests? [12:35] lizmat: howdy! \o/ [12:38] i guess you're in a shell so you could just "export METRICS=/usr/share/afm" [12:38] yup [12:39] *** MasterDuke joined [12:40] thnx, off to the races... [12:46] *** Kaeipi left [12:47] *** Kaeipi joined [12:48] *** Some-body_ joined [12:50] *** Kaeipi left [12:50] *** Kaeipi joined [12:51] *** Some-body_ is now known as DarthGandalf [12:51] *** Kaeipi left [12:52] *** Kaeipi joined [12:53] *** Kaeipi left [12:54] *** Kaeipi joined [12:55] *** Kaeipi left [13:06] *** MasterDuke left [13:06] *** MasterDuke joined [13:17] *** sjm_uk left [13:22] *** sjm_uk joined [13:30] *** Some-body_ joined [13:31] *** kaiwulf joined [13:32] *** DarthGandalf left [13:32] *** Some-body_ is now known as DarthGandalf [13:58] *** b2gills left [14:07] *** squashable6 left [14:07] *** squashable6 joined [14:23] *** kaiwulf left [14:23] *** Raycat|Home left [14:39] *** aindilis joined [14:39] *** wamba left [14:53] *** sjm_uk left [15:09] *** domidumont left [15:19] *** parabolize joined [15:21] *** guifa2 joined [15:22] m: my int \foo = 8; [15:22] guifa2, rakudo-moar 620fa7ad9: OUTPUT: «(exit code 1) Type check failed in binding; expected int but got Int (8)␤ in block at /tmp/1gr4VouIPP line 1␤␤» [15:22] m: my int \foo = my int $ = 8; [15:22] guifa2, rakudo-moar 620fa7ad9: OUTPUT: «(exit code 1) Type check failed in binding; expected int but got Int (8)␤ in block at /tmp/hH4mjgo6Rb line 1␤␤» [15:23] Any way to get a sigil-less to work with natives? [16:06] * [Coke] yawns [16:07] *** perigrin joined [16:10] *** gordonfish left [16:10] *** tbrowder left [16:10] *** ChoppedBacon left [16:10] *** lizmat left [16:11] *** lizmat joined [16:11] *** ChoppedBacon joined [16:11] *** gordonfish joined [16:12] *** tbrowder joined [16:26] *** Xliff joined [16:26] *** sjm_uk joined [16:30] *** __jrjsmrtn__ left [16:32] *** __jrjsmrtn__ joined [16:41] *** maggotbrain left [16:42] *** maggotbrain joined [16:48] \o [16:48] Is Str.comb the recommended way for getting the occurrences of a substring in string? [16:49] <[Coke]> or tr check the count, maybe? [16:56] *** maggotbrain left [17:01] i recommend comb [17:03] *** maggotbrain joined [17:04] *** maggotbrain left [17:05] *** maggotbrain joined [17:09] timotimo: [17:09] I was using a regex and using prefix + on them resulting match object. [17:10] there is an anchor for search inside a word also [17:12] Xliff: comb already looks for all non-overlapping occurrences [17:14] moritz: Got it. Glad I asked! :) [17:15] *** MasterDuke left [17:18] *** brtastic joined [17:19] *** MasterDuke joined [17:20] *** maggotbrain left [17:21] *** maggotbrain joined [17:23] *** mowcat joined [17:24] *** maggotbrain left [17:26] *** guifa2 left [17:28] *** monkey__ joined [17:31] *** monkey__ left [17:34] *** Garbanzo joined [17:41] *** shan left [17:43] *** shan joined [17:45] *** maggotbrain joined [17:47] *** tejr left [17:48] *** tejr joined [17:57] *** kent\n left [17:57] *** gfldex joined [18:21] *** brtastic left [18:28] *** Sgeo joined [18:38] i use raku btw [18:39] <[Coke]> anyone using rakubrew on OS X ? (the OS won't let you run it.) [18:39] <[Coke]> ens: glad to hear it! [18:42] <[Coke]> configure.pl completes, make dies immediately with: src/moar.h:31:10: fatal error: 'atomic_ops.h' file not found [18:43] <[Coke]> ww [18:48] *** brtastic joined [18:49] *** gnufr33dom joined [19:02] i am still a newbie but i would like to consider the possibility of doing something with raku and FUSE but i am having trouble finding what to do in order to use fuse things from raku [19:02] perhaps someone has a suggestion? [19:02] *** xelxebar left [19:03] *** xelxebar joined [19:09] *** neshpion joined [19:10] ens: I'm not aware of any FUSE bindings for raku, so you'd likely need use the C API through Nativecall [19:11] https://docs.raku.org/language/nativecall [19:11] is there a CLI repl for raku? alike to `irb` for ruby [19:12] *** wamba joined [19:12] *** lucasb joined [19:14] if you start raku without arguments, you're dropped into the REPL [19:14] ens: What are you trying to do? [19:14] not as fancy as iypthon, but usable [19:14] oh [19:14] i didn't even try [19:14] lol [19:19] *** Black_Ribbon joined [19:26] moritz: thanks for the nativecall suggestion. i will read up on it [19:39] *** wamba left [19:46] *** pnu__ left [19:47] *** pnu__ joined [19:48] *** oddp left [19:55] *** pilne joined [20:01] *** wamba joined [20:12] *** sjm_uk left [20:28] *** natrys left [20:38] *** aborazmeh joined [20:47] *** aborazmeh left [21:09] *** aborazmeh joined [21:27] *** seanrobert joined [21:28] *** seanrobert left [21:34] *** aborazmeh left [21:37] *** aborazmeh joined [21:45] *** MasterDuke left [21:45] *** MasterDuke joined [21:51] *** aborazmeh left [22:08] *** vrurg joined [22:20] *** neshpion left [22:22] *** neshpion joined [22:33] *** brtastic left [22:40] *** rindolf left [23:01] *** Grauwolf joined [23:08] *** Manifest0 left [23:13] *** patrickb left [23:13] *** Kaeipi joined [23:17] *** neshpion left [23:17] *** neshpion joined [23:32] *** kaiwulf joined [23:42] *** lucasb left